#milkymist IRC log for Sunday, 2011-04-17

CIA-48milkymist: Sebastien Bourdeauducq master * rd2f4d51 / .gitignore : gitignore file - http://bit.ly/hgZWiu10:37
xiangfulekernel: Hi is this the correct file for add more keymap: http://pastebin.com/yhpgW60e  mtk/lib/keymap.c11:49
lekernelnow you also need API calls to change the keymap at runtime11:56
xiangfulekernel: yes.11:59
xiangfuone question. I fond the '`' and '-' not working in german layout.12:00
xiangfuI mean when I press those two key. no keycode output. (I add one line output all keycode)12:01
xiangfuwhen I press   '`'    '-'    in german layout, us layout, nothing output.12:01
lekernelok... maybe there's a missing entry in the keymap somewhere12:06
lekernel'-' definitely works on my keyboard. '`' not thoroughly tested12:06
lekerneljust add entries so it works on your keyboard...12:07
wolfspraullekernel: do you think 1500 mA is enough for m1?12:23
lekernelon 5V? no12:24
lekernelthis wouldn't allow high current USB gadgets to be connected12:24
lekernel2A is better12:24
wolfspraulah I see. you basically have 2*500mA over USB host already, right?12:24
wolfspraulactually then even 2A may not be enough :-)12:25
wolfspraulbut anyway, I got it.12:25
lekernelin some extreme cases, maybe not. but I believe it is enough for all reasonable cases.12:25
xiangfulekernel: one small thing. do you think we should change the osc port from 7777 --> 4444, I found 4444 and 7777 are both common, but I found 4444 is more then 7777. (in my android device, all of those three app the default port is 4444)13:33
lekernelhmm I don't know13:33
lekernelwe can make it configurable too13:34
xiangfulekernel: yes. also the osc 'address' that will be great.13:35
xiangfulekernel: if we don't have plan on osc. I would like change it to 4444. (just for common fit all other apps :)13:37
rohisnt there a iana assigned port?13:38
xiangfuwe may have a lot of work on osc, like forward osc message to DMX etc, we can full control the whole m1 by using osc (by an iPAD or Android-pad :)13:39
xiangfuroh: seems no document on that. :(13:39
rohit seems the iana people dont really have a clue how ip works (my assumption by reading the ml)13:45
rohatleast not that one can get ports assigned for free, when asking properly13:45
rohand that its stupid not to have a proper port... i can only find reports that there isnt one, that there should be one, but not that somebody did the work. instead there was a discussion how and if to use mdns (for autodiscovery) and which code to take for it13:46
CIA-48flickernoise: Xiangfu Liu master * r70b7807 / src/osc.c : osc: change default port to 4444 - http://bit.ly/dEmNPG13:50
xiangfuhow about we keep all issues under "https://github.com/milkymist/flickernoise/issues" ?13:55
xiangfujust report one issue: https://github.com/milkymist/flickernoise/issues/1  for people take a look of github issue14:01
lekernelyeah we can use that14:07
lekernelbut the problem is that issue doesn't necessarily comes from flickernoise, for example14:07
xiangfuwe should keep all issues to one place :), in ben nanonote. we just create an empty project for keep bugs14:10
xiangfusince the normal users will think the m1 is the hardware, Flickernoise is the software.14:10
lekernelcan do the same on github14:11
xiangfucreate an empty project for issue?14:11
xiangfuyes. issues-m1 is better :)14:13
lekernelyou should have access... can you move your ethernet issue?14:14
lekernelbtw I think it has little to do with the minimac core14:14
xiangfumoving now.14:15
kristianpaulhmm 10base-T i think you will need MDIO so tell tranceiver do 10base-T, but is just a guess..14:33
wolfspraulxiangfu: did ethernet work with that router before?14:37
xiangfuworks fine before.14:37
wolfspraulmaybe if you have some time and if your build system works well, you can find the commit that caused the regression?14:38
wolfspraulnot sure how much has happened everywhere and whether this is worth it.14:39
kristianpaulcurios, because at i cant nenver get the mm1 ethernet to link at 10Mpbs14:39
wolfspraulbut typically if something worked before one would hope it's relatively easy to track down why it stopped working...14:39
kristianpaul(commit that caused the regression?) well, i'm aware minimac is a new core14:39
lekernelxiangfu: are you sure you're not simply running into the intermittent PHY reset bug?14:40
lekernelthe MAC should not interfere with the LEDs on the ethernet connector ...14:40
kristianpaulalso the rtems driver changed.. but i dont remenber it did initialization or something related before..14:41
xiangfuhmm... I test on three device. I don't know much about ethernet. but at least the 'red' light should be on when I connect m1 and hubs.14:42
kristianpaulxiangfu: can you show us some debug messages from your router/swich?14:42
lekernelthe only significant thing that changed is that the PHY reset line is asserted longer (and deasserted by software instead of being connected to the system reset)14:42
xiangfukristianpaul: the boot log from m1?14:42
kristianpaulxiangfu: try another cable? :-)14:42
lekernelI tried to do that to help solve the reset bug, but it didn't work14:42
kristianpaulxiangfu: no, log from your router os14:43
lekernelotoh we now know that the reset bug is only because of the PHY: pulsing it in software when ethernet is broken fixes it14:43
xiangfukristianpaul: tried two cables14:43
xiangfukristianpaul: we are luch one of then have serial output :), I will try that14:44
kristianpauloh, i tought the router ran openwrt or something.. but np just asking in case was easy for you14:46
kristianpaulin anycase will be nice to know why the negotiation fail..14:46
rohlekernel: some phy are always weird14:49
xiangfu(I install the openwrt in it, but for ddns. I change it back to origin image, but after you tell me the freeDNS, maybe it's the time to flash openwrt again :)14:49
rohive seen drivers resetting them twice by default on linux14:50
kristianpaulxiangfu: can you use ethtool on your laptop and force 10 base T mode, and compare if got same behaveior with the router/switch ?14:50
xiangfulekernel: any things is when after reflash. after 'pld reconfigure' then press #2 for poweron the m1. the ethernet in m1 will not working.14:51
kristianpaulknow bug ;-)14:51
xiangfu(even direct connect to my laptop), I have to unplug replug again for make the ethernet work.14:51
rohso expect some 'bugs' which need not-so-nice workarounds. but yes.. when there i no autonegot. from the mm1 side.. its up to the logic in the switch to guess and nail it correctly14:51
kristianpaulxiangfu: (freedns) why?. no... well a crontab with wget where just enought in openwrt as well :-)14:52
xiangfukristianpaul: before freedns I using the buildin DDNS in openwrt. yes. since we have freedns. we can using the 'wget'14:53
kristianpaulxiangfu: yup14:53
xiangfukristianpaul: do you think the NIC in laptop support 10 base-T, I thought it's only support 100M/1G, it's not phy, it's software ?14:54
xiangfus/any things/another thing/14:55
kristianpaulxiangfu: ah, well, you need check specs first14:55
xiangfus/DDNS in openwrt/DDNS in my router/14:55
kristianpaullekernel: had you measure power compsuption of mm1 running a patch?15:11
CIA-48mtk: Xiangfu Liu master * r3e1b594 / Makefile : Makefile: add uninstall-milkymist - http://bit.ly/hB3C6j15:54
CIA-48mtk: Xiangfu Liu master * rba42bfd / .gitignore : add .gitignore - http://bit.ly/dTYybA15:54
CIA-48mtk: Xiangfu Liu master * rb4999fe / (include/mtklib.h lib/keymap.c):15:54
CIA-48mtk: add keyboard us layout15:54
CIA-48mtk: add mtk_config_set_keyboard_layout - http://bit.ly/fznvB215:54
kristianpaulxiangfu: make -C compile-rtems git-clone isnt working yet isnt?15:56
xiangfukristianpaul: update your local git. it have merged to compile-flickernoise15:58
kristianpaulm1s or scripts?15:59
kristianpaulboth arelady updated16:00
kristianpaulin any case i was blindy following steps at http://milkymist.org/wiki/index.php?title=Flickernoise_build_instructions#Automatic_build16:01
kristianpaul(http://dangerousprototypes.com/docs/CPLD:_Complex_programmable_logic_devices) not that bad and is CC-BY-SA16:01
kristianpaulxiangfu: http://paste.debian.net/114326/16:04
xiangfukristianpaul: I will test and update the wiki. then will let you know16:24
kristianpaulthanks :-)16:26
CIA-48mtk: Xiangfu Liu master * r23f61a4 / Makefile : makefile: remove -r in rm option - http://bit.ly/ekiwT516:49
CIA-48flickernoise: Xiangfu Liu master * r4a592ae / (src/main.c src/sysconfig.c src/sysconfig.h src/sysettings.c): notify MTK about the changed keyboard layout - http://bit.ly/fod0ek16:49
CIA-48flickernoise: Xiangfu Liu master * ref61a83 / (.gitignore src/Makefile): small cleanup .gitignore and makefile - http://bit.ly/ehqdLg16:56
--- Mon Apr 18 201100:00

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