#qi-hardware IRC log for Thursday, 2010-07-08

jluis|away /nick jluis04:41
qi-commitsBas Wijnen: make booting from sd work http://qi-hw.com/p/iris/19f1d1206:45
qi-commitsLars-Peter Clausen: jz4740: clock: Fix error codes returned when no clock is found http://qi-hw.com/p/qi-kernel/1ae58e910:08
qi-commitsLars-Peter Clausen: jz4740: PWM: Fix error codes returned when no pwm device is found http://qi-hw.com/p/qi-kernel/3416c2510:08
qi-commitsLars-Peter Clausen: USB: ohci-jz4740: Fix error codes returned when resources are missing http://qi-hw.com/p/qi-kernel/afd309510:08
qi-commitsLars-Peter Clausen: MTD: NAND: jz4740: Fix error codes returned when resources are missing http://qi-hw.com/p/qi-kernel/1f194a110:08
qi-commitsLars-Peter Clausen: RTC: jz4740-rtc: Fix error codes returned when resources are missing http://qi-hw.com/p/qi-kernel/aa9139f10:08
qi-commitsLars-Peter Clausen: fbdev: jz4740: Fix error codes returned when resources are missing http://qi-hw.com/p/qi-kernel/56aefa910:08
qi-commitsLars-Peter Clausen: MMC: JZ4740: Fix error codes returned when resources are missing http://qi-hw.com/p/qi-kernel/65808a210:08
nebajothY HALO THAR10:34
killiFinally got some time to try out my NN, and i am starting to understand how things work but i have two questions: 1: i have downloaded a dingux game, a sokoban clone. But when i start the game everything seem to work, sound arrow keys and esc, but when i try to press enter to begin the game it doesnt respond. Is there any way i can alter keybindings or something else i can do to make enter work? 2: Qt, i read about it in the blog a while ago, but the blog12:11
zearkilli, enter corresponds to dingoo's "start" button12:19
zearlet me paste you the whole dingoo to nanonote keymappings12:19
zearkilli, http://pastebin.com/tqkr5PQG12:20
zearand you can't change the keymappings without recompiling an app12:20
zearbecause there's no emulation layer, it's just the fact that dingoo is binary compatible with the nanonote12:21
zearand that dingoo keys happen to be mapped to ctrl, alt, shift, enter, etc, and we're lucky enough to also have that keys on the nn12:21
killizear: thanks for the reply, its just so strange that everything works except the enter button which starts the game12:23
zearkilli, and you're sure that this game has "enter" to start?12:24
zearmaybe it starts with dingoo's A or X12:24
killii thougt i tried all but i give it another go:)12:25
zearmaybe it's just right arrow or something12:25
zearif that's joyrider's sokoban, i think you can remap the buttons in the menu12:26
killiit was just called sokoban(dingux), but it started with the fn key! Thanks man:)12:29
zearyeah, fn is actually alt or shift12:30
zearor something like that12:30
killiah i see:)12:32
kyaki compiled (as i believe) uClibc with locale support. Now the kernel is panicing during boot. How i can debug? There is no useful information in kernel output13:25
kyakso i'm stuck.13:26
Ornotermesanyone know how to fix the colors in the nanonote console?18:20
tuxbrainhi channel!18:49
Ornotermeshi tuxbrain18:50
tuxbrainOrnotermes: I have another electronic question for you :P18:51
Ornotermestuxbrain: ok, shoot18:52
tuxbrainhow to transform a 0-5V PWM signal in a -12,+12 V signal18:52
Ornotermestuxbrain: use a max232 or similar chip18:53
Ornotermesits designed for rs232 level conversion but i thin it would do18:54
tuxbrainit can provide a -12 to +12 voltage range?18:56
Ornotermestuxbrain: maybe, im not sure, what you need it for?18:58
tuxbrainI need somthing similiar to what L293D provides but I don't find a way to deal with the negative voltage18:59
tuxbrainI want to provide to a servo that controls his position by voltage from -12 to +12 with a the PWM signal from an arduino board19:00
kristianpaulhello tuxbrain20:26
tuxbrainhi kristianpaul :)20:26
kristianpaulaloha ;)20:26
tuxbrainyour in hawai lucky (put here some strong and ugly words)?20:27
kristianpauloh no me in colombia :)20:35
kristianpauljust raining too much this night20:35
kristianpaultuxbrain: what gps are you planning to plug to Ben?20:35
kristianpauli'm curios20:36
ezdagorAnyone know how to make a kernel .BIN image?20:36
ezdagordd if= so= ?20:36
ezdagordd if= of= ?20:36
kristianpaulezdagor: http://jlime.com/downloads/releases/muffinman/documentation/kernel-nn.txt20:36
tuxbrainthis one http://www.tuxbrain.org/downloads/nanonote/gps/RXM-GPS-SR_Data_Guide-1.pdf20:38
kristianpaulsmallone :)20:39
tuxbrainyou can also see pictures in the same url directory20:39
tuxbrainyes it also can fit inside the bnn with the embedd antena out20:39
kristianpauloh ephel20:40
tuxbrainyep :) and the new toy for it (motorized lens) arrives tomorrow :) :) :)20:42
tuxbrainmy wife sure will left me :P20:42
tuxbrainwell luckily my daughter will keep me far enough of this candies time enough to make her not so angry20:43
kristianpaulis it working now?20:46
tuxbrainnow you gonna killme .. not tested yet20:48
tuxbrainI will follow your steps, my first shot will be Jlime20:48
kristianpaullet document a bit on qi wiki too20:48
kristianpauli still having no luck gpsd is not detecting gps (i no why but need recompile gpsd first and rafa will travel :/)20:49
tuxbrainwhat was the problem?20:49
kristianpauland alsoit just works one way i have the RX pin from gps not wired20:49
kristianpaulgpsd is suposed to be smart20:50
kristianpaulso i guess what gps is wired20:50
kristianpaulthat take time20:50
kristianpaulsometime tooo much20:50
kristianpauli just drop some devices from the binaries and then i got better respones time20:50
kristianpauli did on my computer20:50
kristianpauland worked fne20:50
kristianpaulbut Oe/Jlime is new world to me and i relay on good rafa work for all this sofware stuff20:51
kristianpaulnext step is create a custom compilation of gpsd20:51
kristianpauland resolve the problem with RX (gps stop sending data when i wire both tx and rx)20:52
kristianpaulso fat just works with the TX wired20:52
kristianpauldont knw why :/20:52
kristianpauli made some tests yday and is not short or power issues20:52
kristianpauli'll dig more today20:52
kristianpaulbut man tangogps run so cool in jlime :D20:53
kristianpaulalso flcikering is gone20:53
kristianpauli love this distro :)20:53
tuxbrainI can really understand you :) I have felt in love whit it at first sight on my hp jornada, so now with bnn is twice the joy :)20:56
tuxbrainI will report any success failure on gps In short I promise20:57
kristianpaulplease i need feedback20:57
tuxbraintime to some sleep20:57
kristianpaulnice sleep for yoy20:57
qi-commitsXiangfu Liu: [new package][hnb] hierarchical notebook. by Jirka http://qi-hw.com/p/openwrt-packages/f5fb35821:46
xdpiratewhat filesystem is used on the openwrt nand?22:13
xdpirateIN openwrt ON the NAND, rather22:13
xdpiratelarsc, thanks22:24
xdpiratebtw has there been a port of the man page viewer to the nanonote yet?22:26
larscbusybox probably has one22:28
kristianpaulca any one remenber me the url for binary stuff for openwtrt-xbusrt22:41
kristianpaulxiangfu: just commented ttySo line in /etc/inittan now picocom is okay  http://paste.debian.net/80048/22:59
kristianpaulnow my problem is ... :/ the TX port23:00
kristianpauli wire GPS TX to Ben TX, and i can read data, well gpsd can and picocom, cat etc...23:01
kristianpaulif i wire GPS RX to Ben TX, the data transmision from Ben stops23:02
kristianpaulit happens in Jlime, and last qi openqrt image23:02
kristianpaulit happens in two nanonotes23:02
kristianpaulwithout RX i cant send commands to GPS :/23:02
kristianpaulbut !23:02
kristianpaulif i made a simple loop RX <-> TX in the Ben nanonote, and run picocom it works23:03
kristianpauli mean it got echo by ttyS023:03
kristianpaulwhat is wrong?..23:03
kristianpaulspeed? (gps is expected to work at 57600)23:04
kristianpaulmy gps?23:04
kristianpaulshortcircuit) noise?23:04
kristianpauli'm lost on this one..23:04
kristianpaulbut of course gps works nice when i hook up to my computer23:07
kristianpaulis TP5 wired to something else?23:08
xiangfukristianpaul: seems the TX and RX can not work at same time.23:08
kristianpaulwhat can i do xiangfu ?23:08
kristianpaulsoftware trick in kernel to manage it?23:08
xiangfukristianpaul: hmm..23:09
kristianpaulgps is just to close and now this23:10
xiangfukristianpaul: is there any error message in [dmesg] ?23:12
kristianpaulnope xiangfu23:13
kristianpaulmaybe is realted with uboot?23:14
kristianpaulnow i need compare my test with tuxbrain_away ;)23:15
kristianpaulbut i can confirm gps works23:15
kristianpauli also tought was a power issue a got a extenela 3.3v but same..23:16
xiangfukristianpaul: try  to press [S] when boot. and test again.23:16
kristianpaulwait me23:17
xiangfukristianpaul: then press [S]. the u-boot try to init uart gpio again.23:18
kristianpauldoing now23:18
kristianpaulbut now?23:18
kristianpauli saw "hit any key yo stop autoboot"23:18
kristianpauland then some  random characters23:19
kristianpaulnow is doping somethin i saw <INTERRUPT>23:19
kristianpauland random characters display on screen..23:19
kristianpaulxiangfu: ?23:20
xiangfukristianpaul: yes. if the serial [which under battery] is not connect to PC. there will be random characters.23:20
kristianpaulso i myst boot wich the serial [which under battery] and thenall be fine?23:21
kristianpaulthen i can unplg that serial and use my TP4/5 and gps, right?23:21
kristianpaulxiangfu: ^23:21
xiangfukristianpaul: yes23:21
kristianpauli need my buspirate wait me23:21
kristianpaul57600 8,N 1 right?23:22
xiangfukristianpaul: I should disable the bootdelay when press [S]23:22
xiangfuyes 57600 8 N 123:22
kristianpaulhow long is that delay23:27
xiangfu3 secs23:27
kristianpaul*** Warning - bad CRC or NAND, using default enviroment23:27
kristianpaulstill there23:27
xiangfukristianpaul: ok. I create another u-boot. reflash this one:23:31
kristianpaulwhat's new on that?23:32
xiangfuremove the bootdelay when press[s].23:33
kristianpaullets see how that helps23:33
xiangfuwhen nand read. do ecc check.. and fix mmc bug.23:34
ezdagorQuestion... when compiling the kernel... how do I "include" the kernel modules?23:41
ezdagorDo I do a "make modules_install" and zip them all up, or what?23:42
ezdagorI guess I answered my own question..23:44
xiangfukristianpaul: is that work?23:45
kristianpaulwait wait a min i just finish wiring buspirate23:46
xiangfuezdagor: when compile kernel . the modules also compiled. just not install.23:46
xiangfukristianpaul: sure.23:46
ezdagorxiangfu: Nod.23:46
xiangfuezdagor: if you select [M] in menuconfig23:46
ezdagorYeah. But, to install them...23:47
kristianpaulyeah now i got booting on uart from battery23:47
ezdagorI'm thinking about storing the kernel source code on a micro SD card, symbolically linking it to /usr/src/linux and then doing a "make modules_install"23:47
ezdagorAfter compiling the kernel, I mean..23:49
kristianpauli mean got booting process show by uart23:49
xiangfuezdagor: you try to compile kernel in NanoNote ?23:56
ezdagorI'm going to try.23:57
ezdagorI have a second partition on the SD card, ~512MB for swap.23:57
ezdagorHopefully that will be enough.23:57
--- Fri Jul 9 201000:00

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