#milkymist IRC log for Friday, 2011-12-09

xiangfuwolfspraul, about those DMX device I bought.02:31
xiangfuwolfspraul, for now what we can improve is add more patches that support dmx. for now there is only one.02:31
xiangfunext will be support more dmx output variables. now only 8. maybe all the 512 dmx out that will be better.02:32
xiangfudmx input variables. 8 is enough I think. I don't know why we needs more dmx input. since I don't have much experience in DMX.02:34
xiangfumore output definitely good for m102:34
xiangfuthe next thing is when the dmx cables arrive. I take 1 or 2 videos. and send email to Naihanli.02:35
xiangfuthe DMX patch is different because it highly depends on what DMX device you connect to m1.02:36
wolfspraulwe should make this work well in the media wall02:36
wolfspraulthat is, when you think you are ready, prepare a few ideas/demos, and go to jj and demo her, see what she likes or doesn't like02:37
wolfspraulthen you can optimize right there02:37
xiangfuyes. I can create one or two DMX patches for the media wall02:37
wolfspraulit needs to work in a robust way too, so you don't always have to travel along with the media wall02:37
wolfspraulso it must be possible to wire it all up including the existing controller without disrupting anything02:37
wolfspraulnow that m1 always boots at least the dmx passthrough must always work, I guess02:38
wolfspraullittle details that make it work in the actual media wall...02:38
xiangfuin fact, by default. m1 block all dmx message. it act like 'take controller form any DMX controller'02:39
xiangfuthat a little thing I can improve. :)02:39
wolfspraulsounds good02:41
wolfspraulit should always be fun to hookup m1 to something, so the first impression should not be "ooops, now it broke something"02:41
wolfspraulso the default for both dmx and midi, in my opinion, would be to just route from in to out, if that is possible02:42
wolfspraulthat's just my stupid 'first thought' of course :-)02:42
wpwrakhmm, rejon doesn't seem to be very curious about his answers ...03:50
wolfspraulwhat answers?03:55
wpwrakto his mail03:56
xiangfuwpwrak, Hi06:47
xiangfuhow to add text to video ? what tools you use?06:48
xiangfufinished one video about M1 and dmx fixtures. :)06:49
wolfspraulxiangfu: check the dirtpan video here http://en.qi-hardware.com/wiki/Copyleft_Hardware_News_2011-06-01#NanoNote06:59
wolfspraulhe used melt http://www.mltframework.org/07:00
wolfsprauland some scripts http://projects.qi-hardware.com/index.php/p/wernermisc/source/tree/master/mlt/wpan-ipv407:00
xiangfuI found openshot is easy for me. GUI. :)07:08
cladamwxiangfu, about the lastest release and snapshot. No rush now. just let me know after you built them. tks !07:29
xiangfucladamw, oh.07:30
xiangfuif no rush. I will finish it tonight. try to make it simple.07:30
xiangfucladamw, for now. it have to reflash snapshot first. then flash the release image. even after those two reflash. we still missing the data partitions.07:31
xiangfuI want one command. then done. :D07:33
cladamwxiangfu, yes. i found that data partitions missed. so take your time. just let me know once you have that newest one. :-)07:33
xiangfucladamw, maybe I will update --rc3 option. :)07:35
cladamwxiangfu, alright. I think that I can modify my own 'reflash' for log records. But please keep using two '00 XX' mac address arguments, so I can still have them to reflash.07:37
xiangfucladamw, ok.07:37
GitHub92[flickernoise] xiangfu pushed 1 new commit to master: http://git.io/1Uljsg08:36
GitHub92[flickernoise/master] DMX: enable chain mode by default - Xiangfu Liu08:36
xiangfuwpwrak, the 2itfs usb code not working with my Rapoo 1800, only keyboard working.08:41
lekernel_xiangfu: chain mode by default is when you have a controller _and_ lights, which is more rare imo08:49
xiangfulekernel_, yes. but if there is a controller. that will break user feel m1 break something.08:51
xiangfulekernel_, http://en.qi-hardware.com/mmlogs/latest.log.html#t02:4108:51
xiangfuI also agree with Wolfgang. :)08:51
xiangfulekernel_, how to test bios? flash it to m1?08:57
xiangfuthe auto-on make debug easy. no needs to press middle button now. :D09:00
cladamw( Web Update ) Will feature of "Web Update" include standby stream in the future ? If yes, it will help production a lot when every m1 has been packed already then I don't need to open upper case to reflash.09:17
xiangfucladamw, if the 'standby' broken. you have to open the case. :)  because you can't boot to flickernoise or rescue any more09:22
cladamwxiangfu, yes i know. from http://milkymist.org/wiki/index.php?title=Flashing_the_Milkymist_One#Web_update_.28recommended.29 i can see its purpose.09:24
cladamwi would like to know if there's good way even if later our m1 rc3 stocks stay too longer time then one day we still need to ship them out. Then suddenly let me do every piece to 'upgrade' or even 'reflash' all images. I still don't like it. even the work "opening it -> reflash it -> closing it -> packing it again" doesn't spend too much time. :-)09:27
cladamwha ~ but seems in the short term it won't be happened. :)09:28
xiangfuMilkymist One & DMX fixtures.09:29
xiangfuScopeuk-AFK, ^^09:29
cladamwxiangfu, bravo ! the video !09:32
wpwrakxiangfu: looks great !09:57
wpwrakthe M1 could use a bit of illumination, though. it almost disappears in the middle of all the lovely lights. my videos have the same problem09:58
lekernel_no, web update doesn't reflash the standby10:04
xiangfuwpwrak, (illumination) oh. yes.10:05
wpwrakxiangfu: (combo device) maybe it would help if you could do an  lsusb -v -d xxxx:xxxx  on that device. and maybe dump the report descriptors: http://lists.en.qi-hardware.com/pipermail/discussion/2011-November/009206.html10:07
xiangfuwpwrak, http://pastebin.com/AkXnxzU4  I compile the latest bios. flash it by m1nor. when it boot. it give those message. but keyboard works fine.10:07
xiangfuwpwrak, http://downloads.qi-hardware.com/people/xiangfu/m1/keyboard/lsusb.rapoo.1800.txt10:08
xiangfuwpwrak, ok. wait. I missed this email.10:09
wpwrak(messages) hmm, strange. that doesn't look as if anything should work. is the device on port A and there's something else on port B ?10:09
xiangfuthe device is on port B. nothing on port A.10:10
xiangfunow I switch to port A. rebooting.10:11
wpwraklsusb -v looks good10:11
xiangfusame error.10:11
wpwrakstrange. if it says it's disabling the device, nothing should work10:11
wpwrakcan you still type in the BIOS after is says it's disabling ?10:12
xiangfuin the BIOS not working. but works in flickernoise.10:13
wpwrakaha ! then your BIOS and RTEMS are mismatched10:14
wpwrakand maybe the bitstream too10:15
wpwrakmaybe you can try this set: http://downloads.qi-hardware.com/people/werner/tmp/adv7181c/10:16
xiangfureflashing soc10:18
wpwrakhmm, seems that your mouse sends an extra byte10:22
xiangfuI flashed your images. mouse not working.10:23
xiangfuwpwrak, how can you find there are extra byte in usbhid-dump.txt?10:23
wpwrakthe  Usage (AC Pan),  section10:23
wpwrakah, and the report ID. 6 bytes.10:25
wpwrakmaybe yuo can try this, as the beginning of softusb-input/main.c:process_mouse (before the first length check): buf++; len--;10:26
wpwrakthen ... make -C softusb-input10:28
wpwrakmake -C software/libhal10:28
wpwrakmake -C software/bios10:29
wpwrakthen flash the bios. next, in rtems,10:29
wpwrakcd build; cp ../../milkymist/software/libhal/softusb-input.h ../c/src/lib/libbsp/lm32/shared/milkymist_usbinput/softusb-input.h && make -j 5 && make install10:29
xiangfuthe makefile have commit by lekernel_ :)10:29
wpwrakand finally  cd flickernoise/src; make bin/flickernoise.fbi && m1nor bin/flickernoise.fbi10:30
wpwrakah yes. maybe it's a little easier now. haven't tested them yet :)10:30
xiangfuI tested today. 'make bios' works fine. :D10:31
wpwrakbut the (messy) rtems and flickernoise build should still be the same10:31
xiangfucompiling rtems10:31
wpwrakmaybe we should move the softusb firmware loading from rtems into flickernoise at some point in time. maybe just have a "loader" function in rtems. that would avoid these strange detours with the copying of headers10:35
wpwrakrejon: don't feel like forwarding ? not interested in what us technical folk think about those problems, and potential solutions ? :)10:36
xiangfuwpwrak, I dump another mouse. which is working in m1. there is no AC Pan in that mouse.10:37
xiangfuwhat is Usage (AC Pan)?10:37
xiangfuwhere I can find the report ID is 6 bytes. thanks werner. (learning ...)10:37
lekernel_wpwrak: what's that rejon mail?10:43
wpwrakthe report id is just one byte. it's at the beginning of the report. no idea what the AC pan is - first time i see that :)10:44
wpwraklekernel_: he had some usability issues with his slideshow10:44
wpwraknot entirely unexpected of course, given that image support isn't really designed for that :)10:45
wpwrakxiangfu: this is where the HID protocol is defined: http://www.usb.org/developers/devclass_docs/HID1_11.pdf10:49
xiangfuwpwrak, finished compile bios. rtems/flickernoise.10:51
xiangfuwpwrak, with (buf++; len--;) keyboard and mouse works fine now.10:52
wpwrakvictory !! :)10:52
wpwraka clean solution will be a bit harder to make, though. at the moment, we don't even try to parse those report descriptors10:52
xiangfuwhy we do 'buf++; len--; ' ?10:55
wpwrakto skip the report ID10:55
wpwrakwe don't need it because we get all the information we want already from the endpoint number10:55
xiangfuwpwrak, thanks.11:02
xiangfureading the PDF.11:03
xiangfuwpwrak, my full-speed mouse working now. :)11:10
wpwrakoh, also with the report hack ? interesting11:11
xiangfuwait. I reflash my m1 back to 'current' release and test again.11:13
xiangfuwpwrak, yes. ''buf++; len--; '' make my full speed mouse working.11:17
GitHub59[migen] sbourdeauducq pushed 2 new commits to master: https://github.com/milkymist/migen/compare/5c7131d...4d1a96012:16
GitHub59[migen/master] fhdl: replication support - Sebastien Bourdeauducq12:16
GitHub59[migen/master] wishbone: decoder + shared bus interconnect - Sebastien Bourdeauducq12:16
wpwraklet's see how many mailboxes this overflows :)18:25
ThihiGonna try the review unit for the first time soonish.19:44
ThihiWhen I'm finished wiith other things.19:44
kristianpaulyou enjoy this isnt it? :)21:22
wpwrakthe mail-bombing of lurkers ? ;-)21:22
wpwrakactually, 4/7 got held up because it was too large for the list's limit. but lekernel already gave it safe passage :)21:23
wpwrakexpect more of the same, though. now things are pretty much where i want them. so can start with the real changes.21:24
wpwraklekernel: ah, and there are a lot more non-ansi prototypes in flickernoise.git. they're at places i didn't touch yet, but i guess it would make sense if i fix them too ?21:25
kristianpaullekernel: can you tell us a bit more about  compiler-pfpu interface, how the code gets there, how the data gets in and how the data gets back out21:42
kristianpaul(taking wpwrak words :))21:42
wpwrakcontext is that kristianpaul wants to use the pfpu for non-graphical tasks. i haven't looked at how pfpu and the rest of the graphics system communicate. i suppose per-frame equations send most of their output to the cpu and it gets handled there. but then, that's just a guess.21:44
wpwrak(and it doesn't matter for me at the moment. my interest is elsewhere :)21:45
kristianpaulThanks for the intro, indeed, for example i wonder (snippet) how i could use the atan pfpu instruction on my aplications21:46
wpwrakis there an atan ?21:47
wpwraknyet. no atan. phew. you had me worried for a jiffie :)21:47
kristianpauloops no, moment no argh, was nap fault :)21:48
kristianpauldoing some rtfm seems compilation is required on runtime21:55
--- Sat Dec 10 201100:00

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!