| vano | Has anyone ever manager to use a USB mouse with the nanonote? | 00:37 |
|---|---|---|
| vano | ? | 00:37 |
| kristianpaul | not yet i remenber | 00:37 |
| vano | another thing& any fix for the hwclock not working ? Result: "select() to /dev/rtc0 to wait for clock tick timed out" | 00:40 |
| kristianpaul | ah, mouse i tought you meant nanononote as HID ! | 00:51 |
| kristianpaul | vano: you cant use nanonote with a usb mouse, the usb port is not host type | 00:52 |
| vano | yep. | 00:53 |
| wpwrak | you could of course try implementing a usb host via bit-banging ... | 00:53 |
| wpwrak | zrafa: how's that project going ? ;-) | 00:53 |
| vano | serial mouse? :P | 00:54 |
| wpwrak | vano: that would be even easier :) | 00:54 |
| kristianpaul | ah bit-bang nanonote most used feature yes :-) | 00:54 |
| vano | was thinking that | 00:54 |
| vano | Where can I find a boot image which doesn't have the fb screen (so I can see the console errors?) | 01:00 |
| mth | vano: there were some proposed patches on the mailinglist for that issue | 01:23 |
| mth | I don't really understand though why the error occurs on the NanoNote and not on the Dingoo | 01:24 |
| mth | (the RTC issue) | 01:24 |
| vano | yeah saw it there... | 01:24 |
| vano | any good links on compiling the kernel? | 01:25 |
| mth | get qi-kernel jz-3.2 branch from git | 01:27 |
| mth | make ARCH=mips qi_lb60_defconfig | 01:27 |
| mth | make ARCH=mips <image-type> | 01:27 |
| mth | not sure what the image type is that the NanoNote needs | 01:28 |
| mth | for Dingoo, it's vmlinuz.bin, but afaik the NN boot loader wants a different type | 01:28 |
| qi-bot | [commit] Werner Almesberger: postscript.c (ps_for_all_pkg): "pages" was never initialized (master) http://qi-hw.com/p/fped/5130707 | 02:18 |
| qi-bot | [commit] Werner Almesberger: purge unused measurement instances (master) http://qi-hw.com/p/fped/43928db | 02:18 |
| roh | wpwrak: tried dxf2gcode yet? | 02:42 |
| roh | wpwrak: its on google projects... make sure to try the tkinter version from 2010 | 02:42 |
| roh | dxf2gcode-read-only/tags/2010-05-04-b02_tkinter253/ | 02:42 |
| roh | that one makes working gcode for me at least | 02:43 |
| wpwrak | looks interesting, thanks ! trying ... | 03:00 |
| wpwrak | hmm, can it also visualize the toolpath ? | 03:15 |
| wpwrak | all i get are outlines but not the areas themselves | 03:17 |
| wpwrak | e.g., for this sort of piece: http://downloads.qi-hardware.com/people/werner/tmp/t2.ps | 03:21 |
| wpwrak | keep or remove the hatched area | 03:22 |
| wpwrak | the outlines are a good start. but that's something i already have :) | 03:22 |
| qi-bot | [commit] Xiangfu: use kanoi repo. include the api changed (master) http://qi-hw.com/p/openwrt-packages/0a035ec | 06:51 |
| qi-bot | [commit] Xiangfu: remove other u-boot include SDK and toolchain (master) http://qi-hw.com/p/openwrt-packages/0f72773 | 06:51 |
| qi-bot | [commit] Xiangfu: nanonote-files: compile script file: collect all failed package in minial build (master) http://qi-hw.com/p/openwrt-packages/97b9b84 | 06:51 |
| roh | wpwrak: ah. i see what you mean. not something like the 'profile' but something like the 'pocket' in heeks, right? | 06:56 |
| wpwrak | yup | 06:56 |
| roh | check out the opencamlib stuff heeks uses, maybe thats something for you | 06:56 |
| roh | http://opencamlib.googlecode.com/ | 06:57 |
| wpwrak | i think i'm already halfway there :) NIH rules ! | 06:57 |
| roh | ah. its on github now | 06:57 |
| roh | well.. what i worry about on the current state of free cad and cam are the 'un-completeness' and buggy-isms | 06:58 |
| roh | would be good to have some of the features for '2.5d cam' which we have as half-way decent libs now in some working tool | 06:59 |
| roh | something between heekscam and dxf2gcode | 06:59 |
| roh | currently we are at a point where using commercial stuff like cambam on win32 solves problems more easy than my quite big opensource tool collection | 07:00 |
| wpwrak | phew. the top-level latest commits sound scary. " I got the Windows build to work again", "all the ocode scripts are deprecated", ... | 07:01 |
| roh | yeah, one can choose code from good coders or code from people who have a clue about milling | 07:02 |
| wpwrak | i think one problem is that it | 07:02 |
| roh | i havent seen something combined | 07:02 |
| wpwrak | 's hard to combine user-friendly and efficient | 07:02 |
| wpwrak | e.g., user-friendly often means some GUI that kinda guides you | 07:02 |
| roh | true. | 07:02 |
| wpwrak | efficient means scripting of all the parameters involved | 07:02 |
| roh | e.g. on heeks the ui was crappy due to mad multiplatform madness | 07:03 |
| roh | meant choosing wxwindows which made all platforms unbearable due to missing default dialogs and keybindings | 07:03 |
| roh | or tkinter | 07:04 |
| wpwrak | yeah, better to code for proper unix only | 07:05 |
| wpwrak | who cares about windows anyway ? | 07:05 |
| roh | ack. also if it works there properly, porting to others is easy. gtk on win32 and osx is available native now afaik. | 07:06 |
| wpwrak | (scripting) e.g., here's the script i used for the labsw front panel: http://projects.qi-hardware.com/index.php/p/wernermisc/source/tree/master/labsw/mech/doit | 07:06 |
| roh | and yes, win32 and osx are really neccessary.. you would wonder how many 'users' there are, who still could give good advice | 07:06 |
| roh | have you seen the script heeks generates? | 07:07 |
| wpwrak | it does: 1) setting of the machine coordinate system. 2) positioning in a array (in case we want multiple parts from the same workpiece). 3) translation from 2D to 2.5D (that task has two different depths, one for engraving, the other for cutting). 4) at the end, conversion to RML | 07:08 |
| roh | all the toolpath is first converted to a python script with the individual function calls and comments, which is then executed to generate the gcode which is then parsed back and displayed into the gl-view with your model | 07:08 |
| wpwrak | i just use gnuplot as my interchange format :) | 07:09 |
| roh | and one can render out into different gcode dialects and formats | 07:09 |
| wpwrak | overengineering ;-) | 07:09 |
| roh | gnuplot isnt mighty enough i think | 07:09 |
| wpwrak | well, if you want arcs and such, then things get messy | 07:10 |
| roh | atleast not for complex 2.5d stuff (making surfaces by zigzag or waterlining) | 07:10 |
| wpwrak | i just turn everything into polygons | 07:10 |
| roh | dxf is nice for 2d stuff and easy to read and write (using dxflib, which seems to be the industry standard) | 07:10 |
| roh | wpwrak: doesnt work in reality (i need arcs for example) | 07:11 |
| roh | also the machine natively does arcs in the end | 07:11 |
| wpwrak | yeah, i convert arcs to polygons | 07:11 |
| roh | thats too simplified for what we need in reality... e.g. i currently work on milling pcb dummies for a customer | 07:12 |
| wpwrak | not super-efficient but it doesn't see to create any bottlenecks | 07:12 |
| wpwrak | well, in the end the mill does polygons too :) | 07:12 |
| wpwrak | it's just a question of the resolution | 07:12 |
| roh | i get dxf from the customer, remove the unneeded markings, and layers, and get lines and arcs as well as circle elements in the end | 07:12 |
| roh | that i need to preprocess to emc gcode in my case (iso gcode that means) and mill | 07:13 |
| roh | there is a gcode for the resolution, you know? | 07:13 |
| wpwrak | there's a gcode for pretty much everything :) | 07:14 |
| roh | because its also affecting the breaking and accelerating behaviour in curves and on corners. if you set it lower than the default (0.001mm) the machine gets _really_ slow since it wants to be really exact on positioning | 07:14 |
| roh | gcode for tool offsets are nice. basically you only need to tell it if it should be on line, left or right of it, and what tool, and it does the rest for you. no nasty math. somebody else made sure it does work and debugged it. | 07:16 |
| wpwrak | well, it's not all that bad ... | 07:16 |
| wpwrak | http://projects.qi-hardware.com/index.php/p/cae-tools/source/tree/master/cameo/path.c function path_offset (and the stuff it calls) | 07:17 |
| wpwrak | also does dog bones if asked nicely | 07:17 |
| roh | i actually like it, since its a grown up intermediate for the problem, which is still flexible enough, while so simple that one can parse/modify/write it by hand. | 07:18 |
| roh | where does rml come from? does anything besides roland mills/plotters use it? | 07:21 |
| wpwrak | is some bastardized HPGL | 07:22 |
| roh | just asking since the mit fablab cam.py is also supporting it | 07:22 |
| wpwrak | and no, i don't know of anything else using it | 07:22 |
| roh | ehehe. well.. thus it really makes sense to have pluggable output renderers | 07:22 |
| wpwrak | i think the mdx-15/20 are reasonably popular | 07:22 |
| wpwrak | i wonder why people don't make mills that understand gcode directly. the whole external machine control integration (via PC) is messy. | 07:24 |
| roh | wpwrak: hm? you need a strong cpu anyhow for the ui | 07:24 |
| roh | actually i havent seen a better ui that axis from emc2 | 07:25 |
| wpwrak | what kind of heavy lifting does the ui of emc2 do ? | 07:25 |
| roh | even has a gl-preview which commercial products are not havinh | 07:25 |
| roh | wpwrak: it does all the realtime-controlling | 07:25 |
| wpwrak | the UI ?? | 07:25 |
| roh | axis is only the ui (well.. one of the possible ones) | 07:25 |
| roh | the core is realtime since the control loop runs over it (motion planning etc). the mills are completely stupid. they do nothing intelligent. | 07:26 |
| wpwrak | what i mean is just gcode -> machine control. no fancy gui at that point | 07:26 |
| roh | doesnt help anybody | 07:26 |
| roh | without that ui i couldnt use the machine more than a really sucky to use 30 year old machine with a floppy for file input. people hate that. thats why they use mach3 or axis | 07:27 |
| roh | you need to home to your workpiece, you want to see if its moving over your clamps properly etc. | 07:27 |
| roh | it helps a lot seeing what it wants to do and where it wants to move BEFORE it actually does it. | 07:28 |
| wpwrak | http://projects.qi-hardware.com/index.php/p/cae-tools/source/tree/master/cngt/ | 07:28 |
| wpwrak | hmm, how can you till if it will bump into your clamps before it starts moving ? do you scan the clamps and model them ? | 07:29 |
| roh | also you need to understand that besides our 'childs toy mills' which only have a spindle, and 3 stepper motors and 3 homing switches, there are actually proper big machines. | 07:29 |
| wpwrak | cngt reads the model and then positions to selected points there (heavily 2.5D, of course. so it's the corners of the projection and the pen up / z = 0 positions) | 07:30 |
| roh | e.g. emc can be used to controll stuff which has dc motors and encoders on their axis (servos), or even hydraulic servos and more axes, rotating heads, complex toolchangers etc. | 07:30 |
| wpwrak | oh sure. but ... wouldn't it be nice of those low-cost china mills had their own controller that understands something like gcode ? | 07:31 |
| roh | people even used it to build robot controls by using a different motion planning code and different control interface. you do not always need to use gcode as input (one can also move it manually) | 07:31 |
| roh | no. you cannot even home properly without ui | 07:32 |
| wpwrak | add a pair of encoders :) | 07:32 |
| roh | because you wouldnt know what way around your part is facing etc. thats why milling engineers are quite well paid. | 07:32 |
| roh | the point is that it makes it more difficult by not having a proper computer there. also its 'no cost' compared to the mill | 07:33 |
| wpwrak | you're talking about fancy mills again | 07:33 |
| wpwrak | i mean the low-cost china stuff | 07:33 |
| roh | complete computers with enough power are 5 years old. even for fancy mills | 07:33 |
| roh | we HAVE a low cost china mill. | 07:33 |
| wpwrak | sigh. you know what i mean :) | 07:34 |
| roh | and it came with mach3. a parport is better and cheaper than anything else which can do controlling | 07:34 |
| roh | just mach3 sucked for us. so we used emc2, and its great. | 07:34 |
| roh | one of the few things in opensource cad/cam which is 'featurecomplete' from my pov. | 07:35 |
| wpwrak | is the parport assignment standardized ? or did you first have to reverse-engineer it ? | 07:35 |
| roh | also havent run into any real bugs or problems which werent my fault (not reading the documentation) | 07:35 |
| roh | its a parport, not much to document besides the pinout. we reversed it from mach3 configs and some cheap measurements (e.g. learning the chargepump-freq) | 07:36 |
| roh | the chargepump is a pin you wiggle constantly. if you stop the hardware disables all motors immediately. its like a software-dead-man-switch | 07:37 |
| wpwrak | sounds like a very reasonable safety precaution :) | 07:37 |
| roh | _yes_ for sure. especially if your motors are strong enough to not only cost you a finger but even worse | 07:38 |
| roh | the steppers do 2 digit newtonmeters and the spindle has 800W and gearheads | 07:39 |
| qi-bot | [commit] Xiangfu: nanonote: config.full_system, update uboot-envtools add CONFIG_PACKAGE_uboot-envtools_setenv_symlink (master) http://qi-hw.com/p/openwrt-packages/797ea0f | 07:39 |
| wpwrak | if i was your enemy, i wouldn't accept any invitation to the lab ;-) | 07:40 |
| roh | *veg* | 07:40 |
| roh | you know my definition of if something is a powertool or not? | 07:41 |
| roh | if it can cost you a finger, its a tool, if you can loose a limb, its a powertool | 07:41 |
| wpwrak | if it can casually paint the wall with you, then you begin to get interested ... :) | 07:44 |
| roh | maybe i can 'mix a pot of red paint' with the mill.. should leave nice red splatter around the room | 07:44 |
| roh | 'that was the last customer who was too nosy' | 07:45 |
| roh | wpwrak: you know http://www.hotrodscustomstuff.com/OLD_SITE/HUMOR/LABOR RATES.gif ? | 07:50 |
| roh | and http://yamato.hyte.de/tmp/lab_rules.png | 07:51 |
| roh | important for every lab/workshop | 07:51 |
| wpwrak | hehe :) | 07:55 |
| roh | hm. i think i'll test http://gcam.js.cx/index.php/Main_Page tomorrow | 08:01 |
| vano | what would be the best sources.list for a debian squeeze sid on the nanonote? Anything should go in there apart from the stock sources.list that comes with the debian rootfs? | 08:51 |
| Ayla | I think the default one is fine | 08:52 |
| vano | I guest /binary-mipsel/Packages.gz 404 Not Found and similar messages | 08:56 |
| vano | also I cannot find things like fbterm with apt-get search fbterm... | 08:56 |
| vano | I think something might be off here | 08:56 |
| pabs3 | vano: which mirror are you using? | 08:59 |
| pabs3 | (pastebin your sources.list) | 08:59 |
| vano | http://pastebin.com/CABRq54t | 09:01 |
| pabs3 | looks like ftp.es doesn't have mipsel on it, you will want to choose a different mirror | 09:03 |
| lindi- | incomplete mirrors :( | 09:04 |
| pabs3 | check the mirror list for Spanish mirrors with mipsel on them: http://www.debian.org/mirror/list | 09:04 |
| pabs3 | lindi-: in this case, partially incomplete. they have the Contents files for mipsel, but no useful stuff like .debs/Packages :) | 09:05 |
| vano | k will check thanks! | 09:07 |
| Ayla | what the hell is fbterm? | 09:11 |
| pabs3 | http://packages.debian.org/sid/fbterm | 09:12 |
| Ayla | well, I did guess it was a terminal for the framebuffer | 09:13 |
| Ayla | but I don't get the point of that thing, | 09:13 |
| Ayla | the kernel already provide framebuffer consoles | 09:13 |
| viric | Ayla: it allows using TTF fonts | 09:15 |
| viric | Ayla: at the size you want. | 09:15 |
| viric | Ayla: I use it to get proper utf-8 support | 09:16 |
| Ayla | ah, ok | 09:16 |
| whitequark | farnell is impressive | 09:35 |
| whitequark | delivered from Britain to Russian in 24 (twenty four) hours | 09:36 |
| whitequark | for 20 EUR | 09:36 |
| whitequark | Ayla: have you managed to successfully play any music on NN? | 09:51 |
| whitequark | it fails to play 44.1k OGG file for me | 09:51 |
| viric | whitequark: did you ask a raspberrypi? | 09:52 |
| whitequark | viric: huh? | 09:52 |
| viric | (farnell was a distributor of it :) | 09:53 |
| whitequark | ah, no. a friend of mine ordered some components | 09:53 |
| whitequark | raspberry pi is broadcom | 09:53 |
| viric | whitequark: I can play any ogg in the nanonote | 09:53 |
| viric | what happens to your ogg? | 09:53 |
| whitequark | broadcom is nonfree enough for me to hate it, even through I'm not a fanatic like Stallman; it just doesn't work good with the closed drivers | 09:53 |
| whitequark | the playback is interrupted each several hundred ms and the cpu usage is topping to 100% | 09:54 |
| viric | whitequark: that can come from using a floating-point based player | 09:54 |
| viric | are you using int-based decoding? | 09:54 |
| whitequark | erm, I just typed "play file.ogg" | 09:54 |
| viric | 'play'? what is play? | 09:54 |
| whitequark | sox | 09:54 |
| viric | sox can play something other than wavs? I Didn't know | 09:55 |
| viric | I use mplayer. | 09:55 |
| whitequark | sox can play practically anything | 09:55 |
| whitequark | at least more than any other player around here | 09:55 |
| viric | so.. I'd bet sox tries to use floating point deocding | 09:55 |
| whitequark | yeah, mplayer works | 09:55 |
| viric | it's a matter of using the 'tremor' lib vs the 'libvorbis' lib. | 09:56 |
| viric | int vs fp | 09:56 |
| whitequark | huh, the sound is somewhat good both with headphones and the integrated speaker | 09:57 |
| whitequark | *with both | 09:57 |
| whitequark | does mpd work? | 09:58 |
| viric | I only have mplayer | 10:00 |
| Ayla | whitequark: I don't have a nanonote | 10:29 |
| Ayla | but 44.1k OGG should work just fine | 10:30 |
| Ayla | about the problem you're having, I had a similar behaviour when running a system installed on NAND | 10:31 |
| Ayla | and never when running from SD | 10:32 |
| viric | Ayla: do you know if there is a way I can have sysrq working on panic? | 10:42 |
| viric | so, on panic, leave some minimal code working... | 10:42 |
| viric | Ayla: solved your alarm clock? | 10:43 |
| Ayla | about sysrq, I don't know | 10:44 |
| Ayla | about my RTC alarm... not yet | 10:44 |
| whitequark | viric: what's your problem? | 11:14 |
| larsc | Ayla: patch you kernel to log the application which changes the alarmtimer ;) | 11:14 |
| viric | whitequark: I like 'sysrq-B' :) | 11:15 |
| viric | larsc: How would you debug a latency problem between two userspace programs? | 11:17 |
| viric | larsc: I'm looking at enabling ftrace and getting scheduler statistics with perf | 11:17 |
| larsc | viric: depends on the problem i guess | 11:18 |
| viric | larsc: I have 'qemu' and 'smbd' communicating through a unix socket. 5% of cpu usage in the host... | 11:18 |
| viric | larsc: 95% idle (not waiting) | 11:18 |
| viric | 'strace' shows there is syscall activity... it's not somehting blocking for long (as name resolution could be, for example) | 11:19 |
| larsc | and you'd expect higher throughput? | 11:20 |
| viric | yes. | 11:21 |
| viric | a lot higher. | 11:21 |
| larsc | hm | 11:21 |
| larsc | have you tried iotop? | 11:23 |
| whitequark | viric: just pass a parameter | 11:26 |
| whitequark | something like reboot_on_panic=5 (not the real name) | 11:26 |
| viric | larsc: iotop will tell hd only , not? | 11:26 |
| viric | whitequark: hm ok. And launch kdb? | 11:26 |
| viric | whitequark: don't worry much... I can live without that :) I just wondered if it was possible | 11:27 |
| derRichard | viric: why do you think it's an latency problem? sounds more like one of the 2^10 io-related bugs in qemu... | 11:27 |
| viric | derRichard: could be! I tried kvm 0.15.1, kvm 1.0.0, ... | 11:28 |
| larsc | viric: so it is all mem-to-mem? | 11:28 |
| viric | larsc: it's a unix socket | 11:28 |
| derRichard | viric: so, it's qemu-kvm? and _not_ qemu? | 11:28 |
| viric | derRichard: right. | 11:28 |
| viric | derRichard: I checked, and kvm works much faster when there is not that samba activity... when it goes to the samba activity, qemu and qemu-kvm perform equally 'fast' | 11:29 |
| larsc | viric: yes, but you don't send random data, do you? I mean the data has to come from somewhere | 11:29 |
| viric | larsc: ah yes, but 'top' would show the cpu is in waiting state, not idle state | 11:29 |
| viric | (I have iotop running) | 11:29 |
| derRichard | is the feature you are using supported? qemu-kvm offers lots of features which are kinda broken. (that's why you shalt not call it without a wrapper like libvirt) | 11:30 |
| viric | larsc: 0% all in iotop... only super minimal transfers | 11:30 |
| larsc | hm | 11:30 |
| viric | I wanted to check latencytop, but I see their site is down. uch.- | 11:31 |
| viric | ouch. | 11:31 |
| whitequark | viric: if you want to launch kdb on panic, it's easier | 11:41 |
| whitequark | should be a matter of inserting one function into platform panic handler | 11:41 |
| whitequark | through you may need some UART magic if IRQ handling would be dead at that moment | 11:42 |
| whitequark | I've used kdb on jz47xx, through | 11:42 |
| steve|m | if someone is interested in SDR: http://sdr.osmocom.org/trac/wiki/rtl-sdr | 11:43 |
| derRichard | larsc: btw: so, there is no intent from your or qi-hardware's side to make dma work with ben's usb device controller, right? http://projects.qi-hardware.com/index.php/p/ben-nanonote/issues/59/ | 11:44 |
| viric | whitequark: clear | 11:46 |
| larsc | derRichard: i guess not | 11:58 |
| derRichard | very sad | 11:59 |
| derRichard | do you have an idea why it's broken? ingenic claims that dma works... (at least in their bsp) | 11:59 |
| larsc | no, sorry | 12:01 |
| viric | derRichard: I even did not know of that issue. Sad, yes. | 12:09 |
| derRichard | viric: my dream is to use ben as external encrypted harddisk. e.g. put a luks-encrypted fs on an mmc, plug it into ben. then plug ben via usb to your pc. enter the passwort on ben and you see a harddisk on your pc :) | 12:11 |
| viric | ah clear | 12:12 |
| derRichard | but without udc dma this is not possible | 12:14 |
| viric | I thought the ben could only do usb1.1, and that's why it was slow | 12:14 |
| derRichard | yep | 12:14 |
| derRichard | usb on ben is slow because dma for usb seems broken (it's disabled by default) | 12:15 |
| viric | make the dma work :) | 12:15 |
| derRichard | i've spent already two days with hacking the driver | 12:15 |
| wolfspraul | derRichard: that's sounds like a great idea but afaik you are the pioneer then | 12:22 |
| wolfspraul | there may be issues in the chip that require workarounds, or make it entirely impossible. hard to say. | 12:23 |
| derRichard | wolfspraul: yeah, maybe. the soc is able to use dma and the driver too. but on ben it does not work (i see corrupted usb packets). maybe it's only a pinmux issue. who knows... | 12:26 |
| wolfspraul | I can tell you honestly that the Ben NanoNote is most likely my last Ingenic-based device. All future devices from me will be Milkymist SoC based :-) | 12:27 |
| wolfspraul | I'll keep the discussions with Ingenic open, but I think I moved on. | 12:28 |
| wolfspraul | of course that still means we want to make the Ben kernel well maintainable, fix bugs or even improve something as you try to do :-) | 12:28 |
| wolfspraul | I could torture Ingenic a little by going back asking about 4720 related bugs :-) | 12:29 |
| whitequark | no MIPS abomination anymore. definitely a good thing. | 12:29 |
| wolfspraul | oh there will be 100 times more bugs and issues in Milkymist SoC for sure | 12:30 |
| derRichard | i'm currently working a lot with mpc5125 socs from freescale | 12:31 |
| wolfspraul | but I feel better about it, especially when tracking down bugs and strange behavior | 12:31 |
| wolfspraul | derRichard: nice. and what's your experience? | 12:31 |
| derRichard | their bsp are horrible. but the device itself is nice. | 12:31 |
| derRichard | fortunately a lot is already mainline | 12:32 |
| wolfspraul | derRichard: are you following Milkymist SoC a little? | 12:32 |
| wolfspraul | it'll be a long path, but eventually should be really cool | 12:32 |
| derRichard | not really | 12:32 |
| wolfspraul | yes maybe too exotic right now :-) | 12:33 |
| wolfspraul | what kind of device do you build with the mpc5125 ? | 12:33 |
| whitequark | wolfspraul: bugs are fine. MIPS is broken by design | 12:41 |
| whitequark | well, you could expect brokenness from a design which was developed at an university as a teaching example or something | 12:42 |
| whitequark | I'm all for LM32. | 12:42 |
| wolfspraul | well, let's use it more and more then we know :-) | 12:44 |
| viric | what is a bsp? | 12:48 |
| derRichard | board support package | 12:48 |
| derRichard | IOW the driver to make the hardware work | 12:48 |
| viric | ah ok | 12:48 |
| wolfspraul | industry lingo for a tarball (or even zip) with a kernel tree to 'make a board work' | 12:49 |
| viric | :) | 12:49 |
| wolfspraul | often with large amounts of code in never-upstreamable quality | 12:49 |
| derRichard | yeah. and most bsps are really crappy. | 12:49 |
| wolfspraul | often with lots of bugs | 12:49 |
| wolfspraul | often mostly meant so managers can put their engineers under pressure to make things work "but we got the software for it, didn't we?" | 12:50 |
| derRichard | full with hardcoded addresses, #if 0, //TODO and stuff :D | 12:50 |
| wolfspraul | to be fair to the other side, the time and resource pressure is so intense that better qualities bsps are just impossible, imho | 12:50 |
| wolfspraul | that would only be possible if the industry changes their innovation and tech-race cycles upside down | 12:51 |
| wolfspraul | which is what crazy ideas like Qi are for, but you cannot do that at an existing company that has to meet quarterly targets, or else... | 12:51 |
| viric | clear | 13:11 |
| viric | in such companies, products are even not meant to last long | 13:12 |
| viric | no point in making something that works 100% or that can be fixed easily | 13:12 |
| derRichard | nono. they don't care about software (and linux) it's up to the customer | 13:12 |
| derRichard | either use the bsp or make your own... | 13:13 |
| viric | the most priced engineer is the one that can do mediocre products faster | 13:13 |
| wolfspraul | well I think it's not that easy | 13:14 |
| viric | :) | 13:14 |
| wolfspraul | a business cannot take responsibility for everything and everybody, that is simply asking too much | 13:14 |
| wolfspraul | if they can keep their employees paychecks coming and treat their people well, that's a lot! | 13:15 |
| viric | yes | 13:15 |
| wolfspraul | the industry dynamics are such that high quality bsps are nearly impossible to achieve imho | 13:15 |
| wolfspraul | it's just a starting point | 13:15 |
| derRichard | yep | 13:15 |
| derRichard | a high quality bsp means patches ready for mainline | 13:17 |
| viric | and there use to be volunteers that will improve that bsp :) | 13:22 |
| derRichard | this is a lot of work | 13:23 |
| wolfspraul | that's very difficult because of the stream of things, I like the Linaro model | 13:23 |
| derRichard | basically it's my $DAYJOB | 13:23 |
| whitequark | wolfspraul: what does Linaro do? | 13:59 |
| whitequark | hm. they have Ubuntu font on the homepage. | 14:00 |
| derRichard | wolfspraul: http://www.linaro.org/about/ | 14:01 |
| derRichard | ups, i meant whitequark | 14:01 |
| kristianpaul | steve|m: i do :) | 14:14 |
| kristianpaul | steve|m: tought will be could connect it to a ben nanonote .. | 14:28 |
| Action: kristianpaul looks at zrafa for the bit-bang usb host implementation | 14:28 | |
| steve|m | kristianpaul: that'll be hard, given that you need some 'serious' throughput ;) | 14:30 |
| kristianpaul | ;-) | 14:30 |
| kristianpaul | see, now he will not look at it again ! :) | 14:31 |
| kristianpaul | perhaps one of those MR11U.. plus a nanonote, then a portable and over eng sdr solution :-/ | 14:34 |
| zrafa | wpwrak: usb project? | 15:26 |
| zrafa | wpwrak: if so then no well. I need a big hand to start as I asked several months ago | 15:27 |
| zrafa | wpwrak: after somebody can help me with to get 0-1 and 1-0 via mmc maybe I will be albe to continue with software side | 15:27 |
| zrafa | wpwrak: I can not do that | 15:28 |
| zrafa | wpwrak: sorry, no enough knowledge and hw knowledge to test (like how to use the scope, or how to get a good scope, etc). | 15:28 |
| wpwrak | zrafa: hmm. maybe write a bit of code that bit-bangs the UBB ? then you can watch it with the scope | 15:30 |
| wpwrak | zrafa: you can find code that does such things in ben-blinkenlights | 15:30 |
| zrafa | wpwrak: no enough hw knowledge should be here at qi chat children games | 15:30 |
| zrafa | wpwrak: you already said me that around 20 times :) | 15:30 |
| wpwrak | it's simple ;-) | 15:31 |
| zrafa | wpwrak: I can not do that :) and I do not how nothing with scope | 15:31 |
| wpwrak | fine. use a voltmeter :) | 15:31 |
| zrafa | wpwrak: yes.. I nkow it is simple here at qi hw chat :) | 15:31 |
| zrafa | wpwrak: that is why maybe I am not here a lot of time :P | 15:31 |
| zrafa | wpwrak: I learnt to turn on/off scope. That is something at leas | 15:32 |
| zrafa | t | 15:32 |
| wpwrak | here is some code that does what you need: http://projects.qi-hardware.com/index.php/p/ben-blinkenlights/source/tree/master/bbl/bbl.c | 15:32 |
| zrafa | wpwrak: I modified that code several times | 15:32 |
| zrafa | wpwrak: and I saw something via ubb with scope | 15:32 |
| wpwrak | good ! :) | 15:32 |
| zrafa | wpwrak: but I do not know what is next | 15:32 |
| wpwrak | do you see a stable signal ? | 15:32 |
| zrafa | because I do not know how to use the scope | 15:32 |
| wpwrak | yes. so you'd use this simple program to play with the scope. until you're more confident with it | 15:33 |
| zrafa | I can do the easy part (via direct I/O ubb without mmc command)= | 15:33 |
| zrafa | and I have seen the 1010101 at scope | 15:33 |
| zrafa | but I can not do the same with mmc command | 15:33 |
| zrafa | the program is not the problem | 15:33 |
| wpwrak | okay, that's a start. so you already do know how to use the scope :) | 15:34 |
| zrafa | I feel like a blind without to know what to touch on scope | 15:34 |
| zrafa | because I ddid not get the same with mmc command | 15:34 |
| wpwrak | is the 0101 pattern stable on the scope ? or does it jump around ? i.e., is your trigger set properly ? (at least the edge at the trigger point should never move. the others may) | 15:34 |
| qi-bot | [commit] Werner Almesberger: cameo: an attempt at area fill (WIP) (master) http://qi-hw.com/p/cae-tools/2530a11 | 16:19 |
| qi-bot | [commit] Werner Almesberger: cameo/test/: test scenario for area fill (master) http://qi-hw.com/p/cae-tools/8c4dfc5 | 16:19 |
| qi-bot | [commit] Werner Almesberger: b2: BOOM rewrite (WIP) (master) http://qi-hw.com/p/eda-tools/aa2fe3e | 16:24 |
| whitequark | wow, bitbanging usb host | 16:56 |
| whitequark | given that there is even no working USB 2.0 FOSS softcore... | 16:56 |
| wpwrak | V-USB doesn't count ? | 16:59 |
| Ayla | whitequark: where? | 17:03 |
| Action: Ayla reads the log | 17:03 | |
| whitequark | wpwrak: V-USB isn't USB host | 17:08 |
| whitequark | ... and we're already talked about it like half a year ago :) | 17:08 |
| zrafa | wpwrak: the 0101 is stable, but I have seen it just with direct I/O in bbl.c If I try a mmc command I never gets nothing. | 17:37 |
| zrafa | wpwrak: well, no nothing. Something is there. But I have not able to stop the command at some moment to have the required 0101 pattern | 17:37 |
| zrafa | wpwrak: and Ihave tried to stop it (the clock for example) | 17:38 |
| zrafa | wpwrak: what I can not do is to manage the scope to see something from my mmc commands signals | 17:38 |
| zrafa | wpwrak: so I am stuck at the same situation like one year ago at your place when you gaveme some ubb to play :P | 17:39 |
| zrafa | wpwrak: sorry for the ignorance about the topic. Simply I gave you the real situation because you asked | 17:41 |
| zrafa | :) | 17:41 |
| qi-bot | The build has FAILED: http://fidelio.qi-hardware.com/~xiangfu/building/Nanonote/Ben/openwrt-xburst.minimal-20120317-1814 | 17:41 |
| wpwrak | zrafa: hmm yes, one problem with your scope is that it's not a storage scope. so you only see the signal flash by briefly | 18:26 |
| wpwrak | zrafa: of course, for a contemporary of Neuquensaurus it's still a pretty impressive device ... | 18:27 |
| kristianpaul | after rtl-sdr we need a cheap device for the DAC part too :) | 19:29 |
| whitequark | DocScrutinizer: can you explain how MIMO works? | 22:17 |
| whitequark | I thought it just used twice the bandwidth, but Wikipedia states that it "enhances spectral efficiency by spreading same transmit power over the antennas to achieve an array gain" | 22:18 |
| DocScrutinizer | what's MIMO? | 22:19 |
| DocScrutinizer | antenna technology? | 22:19 |
| whitequark | yeah | 22:19 |
| whitequark | I remember you're working on LTE modules and so you may know | 22:20 |
| DocScrutinizer | it's simple: you use different antennae to create paths with different properties between receiver and transmitter | 22:20 |
| whitequark | hm, what properties? | 22:20 |
| DocScrutinizer | properties like frequency response etc | 22:21 |
| whitequark | ok. I have a router which claims to be 3x3 MIMO. it has three identical antennas placed with a spacing of ~5cm between each other | 22:22 |
| DocScrutinizer | or you could think of it like the multiple antennae forming an active directional antenna with multiple more or less independents paths between the 2 stations | 22:22 |
| DocScrutinizer | with an antenna array you can simulate a directional antenna - planar sat antenna is working that way | 22:23 |
| DocScrutinizer | in RADAR such arrays are used instead of rotatinf dishes | 22:23 |
| whitequark | interesting | 22:24 |
| DocScrutinizer | you basically have a signal processor of some kind from TX output to each antenna element | 22:24 |
| DocScrutinizer | when all processors are just "wires" you get a directional antenna array that faces right ahead of the plane | 22:25 |
| whitequark | so, does my router split its whole TX power in three parts and deliver these parts to the antennae in such a way so they effectively direct a "beam" towards a STA? | 22:25 |
| DocScrutinizer | when you delay each antenna element some degrees phase from the one left of it, you get a direction to the right | 22:26 |
| whitequark | but how does it determine the location of STA? by measuring some properties of the received signal? | 22:26 |
| DocScrutinizer | whitequark: yes, just not only one beam, but ideally more | 22:26 |
| whitequark | how could one make more? splitting antennae in groups? | 22:27 |
| whitequark | *by splitting | 22:27 |
| DocScrutinizer | I guess it analyzes the RX signal to find paths the "waves" used to reach it | 22:27 |
| DocScrutinizer | with 3 elements I guess you can use 2 paths | 22:28 |
| DocScrutinizer | though, not sure about that | 22:28 |
| DocScrutinizer | nah, probably it's not limited in any way on number of paths, just the separation gets better and better between them with more elements | 22:28 |
| whitequark | hm. I have some cards that are "normal" (i.e. one antenna and tx/rx), and some other ones which are presumably 2x2 MIMO | 22:29 |
| DocScrutinizer | yep, some LTE classes specify 2*2 MIMO as mandatory to achieve the bandwidth | 22:29 |
| whitequark | yes, bandwidth increases substantially when I use the MIMO cards. at least I think it increases because I took some measurements and they were better with MIMO ones | 22:30 |
| whitequark | may very well be e.g. poor RF frontend on the non-MIMO card or some weird incompatibility or whatever | 22:30 |
| DocScrutinizer | it's the expected effect of MIMO | 22:31 |
| DocScrutinizer | you're adding info to the media channel | 22:31 |
| whitequark | oh. this is the part I don't understand. how could I add more info by using more antennas if I transmit my data over the same chunk of spectrum? | 22:32 |
| DocScrutinizer | I've never completely wrapped my head around it, but it's kinda like old 56k POTS modems used that adaptive phase to analyze the landline properties, then agreed on a set of symbols and thus transmitted more than what you originally thought was possible bandwidth with 4800Hz signal | 22:33 |
| DocScrutinizer | the symbol/signal arriving at RX is different for TX using antenna element A than wehn TX uses element B | 22:34 |
| DocScrutinizer | RX distinguishes them with the different signals on its own antenna array, though it's always same freq | 22:35 |
| whitequark | I think that 56k modems just checked if the line can actually handle bandwidth they required and if yes, used the different modulation parameters | 22:35 |
| whitequark | but here, medium is the same, isn't it? | 22:35 |
| DocScrutinizer | think about somebody shouting info words to you. He may shout "zero" and "one" and you hear the difference. He also may shout "zero" in your direction and also shout "zero" in a direction that reaches you via some echo. You still can distinguish two distinct info bits though he only shouted "zero, zero, zero, zero" | 22:38 |
| DocScrutinizer | as you hear the difference between him shouting in your direction and him shouting direction echoing wall | 22:39 |
| DocScrutinizer | I'm not sure I'm that good in making up analogies and examples. Hope you were able to follow | 22:39 |
| whitequark | hm | 22:42 |
| whitequark | so MIMO requires support from both the AP and STA (in case of the WiFi) | 22:44 |
| DocScrutinizer | not necessarily, as the different pathes have different properties, which help distinguishing the direction the shouter shouted, even when you listen with a mono microphone | 22:45 |
| DocScrutinizer | but of course MIMO setup on both ends help a lot | 22:45 |
| DocScrutinizer | in some weird way you can even reverse the whole setup and TX uses only one antenna but signals that match the path properties | 22:46 |
| whitequark | so, do you just randomly place antennas in the space (well, because the placement of router itself is random) and hope that you could distinguish between these signals because they happen to travel different paths? | 22:46 |
| DocScrutinizer | while RX uses MIMO to distinguish the paths used | 22:47 |
| DocScrutinizer | yes, basically that's what's happening | 22:47 |
| whitequark | it's weird that this actually works works | 22:48 |
| DocScrutinizer | yeah, DSP is a fun topic | 22:49 |
| DocScrutinizer | s/D// | 22:49 |
| infobot | DocScrutinizer meant: yeah, SP is a fun topic | 22:49 |
| DocScrutinizer | frequently beyond my mind | 22:50 |
| DocScrutinizer | I can understand the theory, but practice is all obscure to me | 22:50 |
| DocScrutinizer | practice as in "algo used to do MIMO" | 22:51 |
| DocScrutinizer | I'm probably too less of a mathematician for that | 22:51 |
| DocScrutinizer | I always need to be able to figure things, juggling with 7-dimensional stuff etc is beyond my mind | 22:52 |
| DocScrutinizer | the dudes developing those algos are pure theoretics, they don't figure what their formulae mean in RL, they just solve them, implement them and it magically works | 22:54 |
| whitequark | seven dimensions?! O_o | 22:54 |
| whitequark | as per the formulaes and RL, yes, I have the same feeling. it's pure magic | 22:55 |
| DocScrutinizer | for example they might just run thru all possible symbols (= antenna element DSP settings * TX signal codings) and see what they can distinguish on other end, then agree on that set | 22:56 |
| DocScrutinizer | or they send some white noise, consider that as a mix of all possible symbols at same time, and on RX side see how they can dissect it into a proper symbol set | 22:57 |
| DocScrutinizer | then agree on that set with TX side | 22:58 |
| DocScrutinizer | honestly I have no real clue | 22:58 |
| whitequark | sigh. thanks anyway | 23:00 |
| DocScrutinizer | http://en.wikipedia.org/wiki/Mimo#Principle | 23:10 |
| DocScrutinizer | after all my simplified examples above you actually might guess what all the terms in this wiki article mean | 23:16 |
| DocScrutinizer | esp in http://en.wikipedia.org/wiki/Mimo#Functions_of_MIMO | 23:16 |
| DocScrutinizer | LOL @ http://en.wikipedia.org/wiki/Mimo#Mathematical_description | 23:19 |
| DocScrutinizer | however that's exactly how this stuff is developed and put into silicon | 23:20 |
| wpwrak | (math) kinda obvious, eh ? (-:C | 23:20 |
| whitequark | (math) *emergency brain shutdown* | 23:26 |
| wpwrak | whitequark: you're russian. you're supposed to solve such equations in your head :) | 23:33 |
| roh | DocScrutinizer: actually i wonder why they do not just write 'poor mans phased array' | 23:49 |
| roh | would be much easier to understand | 23:50 |
| DocScrutinizer | indeed | 23:50 |
| roh | well.. its something in between. not really phased array, but more to the diversity direction | 23:52 |
| roh | bbl -> off to the lab | 23:54 |
| --- Mon Mar 19 2012 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!