2010-11-13 02:35 xiangfu: hey there 2010-11-13 02:35 I'm just testing the new image a little. I noticed that when I launch StarDict for the first time after flashing, it hangs for a long time, maybe > 60 seconds. 2010-11-13 02:35 then it finally comes up 2010-11-13 02:35 after this first time, even after reboots, startup time is much better 2010-11-13 02:35 wolfspraul: yes. it's try to index the dictionary. 2010-11-13 02:35 so is it saving something into the rootfs? 2010-11-13 02:36 can we include a prebuilt index in the image? 2010-11-13 02:36 wolfspraul: yes. one .idx file 2010-11-13 02:36 we should find a way to prebuild this index and include it in the image (package) 2010-11-13 02:37 wolfspraul: yes. seems we just need copy the rootfs index to the package file. 2010-11-13 02:38 wolfspraul: I will working on that. 2010-11-13 02:40 ah OK, great 2010-11-13 02:46 [commit] kyak: ben-cyrillic: add the required LC_ALL env variable http://qi-hw.com/p/openwrt-packages/5de66bd 2010-11-13 02:48 xiangfu: when I launch NanoMap, I cannot return to gmenu2x (it will hang after exiting NanoMap) 2010-11-13 02:48 do you have this too? 2010-11-13 02:49 same here. 2010-11-13 02:49 KDLC @C:C ) 2010-11-13 02:49 same here :) 2010-11-13 02:50 in fact, this will happen to every Qt app 2010-11-13 02:50 (tryed with a Qt "hello world") 2010-11-13 02:51 kyak: it's uClibc 9.0.30 problem. make QT not exit correct. 2010-11-13 02:51 xiangfu: i'd say, it's the problem of Qt.. because it appeared after som qt update 2010-11-13 02:52 though you are right, it's working fine with newer uClibc 2010-11-13 02:52 so maybe it's both uClibc and Qt problem :) 2010-11-13 02:55 what are the default uclibc and qt versions in the backfire release? is our image using those? 2010-11-13 02:55 uclibc is coming from base system, while qt is from feeds 2010-11-13 02:55 that's why qt got updated while uclibc basically remained the same 2010-11-13 02:56 now we have shiny new qt from latest feeds and uclibc 0.9.30.1 from backfire 2010-11-13 02:57 well stability trumps (broken) features 2010-11-13 02:59 I was wondering how the versions of the OpenWrt releases and the feeds are kept in sync anyway 2010-11-13 02:59 how does this work? 2010-11-13 03:00 for example, at the time of backfire release, qt was 4.6.2 (http://downloads.openwrt.org/backfire/10.03/xburst/packages/) 2010-11-13 03:00 right now it's 4.7.0 in feeds 2010-11-13 03:01 wolfspraul: i'm not sure.. perhaps it's just the latest version of feeds at the time of release, and then feeds continue going forward 2010-11-13 03:01 he 2010-11-13 03:01 so no sync at all? 2010-11-13 03:02 how can we 'pin' Qt to 4.6.2 (assuming that will fix the NanoMap bug) 2010-11-13 03:02 i've been always seening 'feeds' and 'base system' as pretty different parts.. but i could be wrong 2010-11-13 03:03 one should just be able to get the base system without feeds.. and feeds mechanism would just provide additional packages, if the user wishes so 2010-11-13 03:04 wolfspraul: it's hard. 2010-11-13 03:04 so it seems that this strategy may lead to discrepancy between "old" base system and "new" feeds 2010-11-13 03:05 if we back QT to 4.6.2. then we back all the package in svn://svn.openwrt.org/openwrt/packages to old version. 2010-11-13 03:05 wolfspraul: there is one method. add QT 4.6.2 to openwrt-package.git. disable the upstream QT. enable openwrt-xburst.git one. 2010-11-13 03:06 otherwiser, we can try and fix uClibc 2010-11-13 03:06 s/openwrt-xbursg.git/openwrt-package.git/ 2010-11-13 03:06 xiangfu: I don't understand what you mean with "all pacakges in ... to old version" 2010-11-13 03:07 first I try to understand how the feeds and openwrt releases stay in sync, if at all 2010-11-13 03:07 I think I remember seeing svn version numbers together with the feed urls somewhere 2010-11-13 03:08 we haven't been able to make an image where gtk/sdl and qt all work since June :-) 2010-11-13 03:09 with 'all work' I only mean that a simple app can be started and exit without a hang 2010-11-13 03:09 can't go much lower than that :-) 2010-11-13 03:09 so if older versions help, let's do that first to have a stable image, then we can try with newer versions again, but at least we have a stable base 2010-11-13 03:10 here is the feeds configure file: 2010-11-13 03:10 http://projects.qi-hardware.com/index.php/p/openwrt-xburst/source/tree/master/data/qi_lb60/conf/feeds.conf 2010-11-13 03:10 here is the release package svn versions :http://downloads.qi-hardware.com/software/images/NanoNote/Ben/testing/2010-11-07/VERSIONS 2010-11-13 03:12 wolfspraul: btw, sdl works just fine 2010-11-13 03:12 QT is included by "packages" , now the svn version is 23909. 2010-11-13 03:12 for example we back the "pakcage" to 21808. then all the packages in "package" will all goto old version. 2010-11-13 03:12 kyak: yes, sdl works now :-) that's good 2010-11-13 03:13 xiangfu: OK, what do you propose for the NanoMap bug? 2010-11-13 03:13 wolfspraul: I would like use setup one old version in openwrt-package.git. 2010-11-13 03:17 are there any problems with gtk and uClibc 0.9.30.1? 2010-11-13 03:18 i remember stardict won't start when uClibc is 0.9.30.1 2010-11-13 03:18 kyak: stardict works fine 2010-11-13 03:19 means that only Qt has problems, right? 2010-11-13 03:21 kyak: but when you startup "stardict" in terminal. it's will not exit. it's a directfb bug. 2010-11-13 03:21 or a stardict bug. 2010-11-13 03:22 xiangfu:  i see 2010-11-13 03:22 when stardict exit. there is no stardict thread anymore. but the screen just don't go back to terminal 2010-11-13 03:26 first goal: an image where all apps that have an icon in gmenu2x after booting can at least be started and exited :-) 2010-11-13 03:26 how about that? 2010-11-13 03:26 I haven't seen that in many months... 2010-11-13 03:26 I wouldn't know how to lower this more, unless we simply remove those apps. 2010-11-13 03:32 all apps? we need work on gmenu2x for make the gmenu2x can start a terminal apps. 2010-11-13 03:33 for now the gmenu2x can not start a terminal apps. like "joe" "mutt" 2010-11-13 03:36 most of package in openwrt is terminal apps, 2010-11-13 03:40 to start a terminal app, gmenu2x should exit, start this app, and then respawn again 2010-11-13 03:41 i think it's the same way it works now for dgclock 2010-11-13 03:41 xiangfu: why can't it start them? 2010-11-13 03:42 I have "read" as a menu item (idea from zear) to show the console and to allow the screen to go into power saving 2010-11-13 03:42 mth: I don't know the detail . I have add the icon of "joe" "lynx" "alsamixer" ... to gmenu2x. none of them started correct 2010-11-13 03:42 is this with the latest version of gmenu2x? (from projects.qi-hardware.com git) 2010-11-13 03:43 mth: yes. 2010-11-13 03:43 mth: you should share your gmenu icon 2010-11-13 03:44 the menu item 2010-11-13 03:44 /boot/local/gmenu2x/sections/applications # cat read 2010-11-13 03:45 title=read 2010-11-13 03:45 exec=/boot/read 2010-11-13 03:45 the menu entry is only those two lines 2010-11-13 03:45 kyak: mth http://downloads.qi-hardware.com/people/xiangfu/gmenu2x.icon.tar 2010-11-13 03:45 what does "wrapper" mean? 2010-11-13 03:45 exec=/usr/bin/dgclock 2010-11-13 03:45 wrapper=true 2010-11-13 03:46 like this 2010-11-13 03:47 xiangfu: maybe you need to remove that "wrapper" thing from terminal apps 2010-11-13 03:47 like mth suggests 2010-11-13 03:47 let me test 2010-11-13 03:47 I don't know what the wrapper option does, but I don't have it here and here it works 2010-11-13 03:48 mth: do you know how to make "folders" in gmenu? to organize apps 2010-11-13 03:49 this is how gmenu2x handles "wrapper" internally: 2010-11-13 03:49 if (wrapper) command += "; sync & cd "+cmdclean(gmenu2x->getExePath())+"; exec ./gmenu2x"; 2010-11-13 03:50 I have no idea why those extra steps would ever be necessary 2010-11-13 03:51 maybe to save memory by not running gmenu2x while the app is running 2010-11-13 03:51 gmenu2x is closed 2010-11-13 03:51 with the wrapper it reopens 2010-11-13 03:51 that's all 2010-11-13 03:52 the more i use gmenu2x (though i don't use it much), the more i want X and a decent window manager 2010-11-13 03:54 since gtk and qt work, can't you like.. create a gtk/qt wm for the time being? 2010-11-13 03:54 (you being general, not saying you have to do it) 2010-11-13 03:59 kyak: gmenu2x is not running anyway when it starts something 2010-11-13 04:00 at least on Dingux, it relies on init to respawn the menu when the started app exits 2010-11-13 04:00 afaik the same approach is used on the NanoNote 2010-11-13 04:00 mth: can you test in your nanonote. http://pastebin.ca/1989851. it's not working here. 2010-11-13 04:01 xiangfu: I only have a Dingoo though, not a NanoNote 2010-11-13 04:01 mth: yeah, i got it 2010-11-13 04:01 I do have alsamixer though, so I can test it 2010-11-13 04:03 xiangfu: it works fine here 2010-11-13 04:04 I see the ncurses interface, can change volumes and leave with the button that's mapped to Esc 2010-11-13 04:04 mth: ok. it's not woking in Nanonote. 2010-11-13 04:05 ah, I don't have the very latest version of gmenu2x installed 2010-11-13 04:05 I'll retest with the latest 2010-11-13 04:06 mth: ok. there I can check the Dingoo rootfs ? 2010-11-13 04:06 i think Ben his it's own version of gmenu2x anyway 2010-11-13 04:11 xiangfu: the one I'm using is slightly modified, but it's based on the rootfs built by booboo using buildroot 2010-11-13 04:11 http://code.google.com/p/dingoo-linux/downloads/list 2010-11-13 04:11 kyak: yes, but we're using the qi-hardware branch/fork as well 2010-11-13 04:28 xiangfu: I had some problems with the "input.conf" in git not matching the Dingoo's keys, but now the latest version of gmenu2x is running 2010-11-13 04:29 and it starts your alsamixer config without problems 2010-11-13 04:29 mth: thanks. 2010-11-13 04:29 for now I have no idea why it's not working in nanonote. :( 2010-11-13 04:30 what happens on the nanonote then? 2010-11-13 04:33 mth: the system goto terminal. and there is 'alsamixer' thread running,  but the terminal display nothing. 2010-11-13 04:34 xiangfu: what if you started gmenu2x directly from terminal? would it display alsamixer? 2010-11-13 04:34 mth: the gmenu2x is autostart in nanonote. 2010-11-13 04:34 currently gmenu2x is not attached to any terminal, in runs in backgroudn via start-stop-daemon 2010-11-13 04:34 kyak: yes. when direct start from terminal . all works fine. 2010-11-13 04:35 i see.. 2010-11-13 04:35 kyak: do you know how to make it attach to one terminal?? 2010-11-13 04:35 xiangfu: if you go to the /proc subdir corresponding to the pid of alsamixer, is there anything useful in the 'fd' directory there? 2010-11-13 04:35 [commit] Ayla: Added the input.conf file for the Dingoo A320/A330. http://qi-hw.com/p/gmenu2x/e3dffeb 2010-11-13 04:35 [commit] Ayla: Merge branch 'master' of projects.qi-hardware.com:gmenu2x http://qi-hw.com/p/gmenu2x/aebd031 2010-11-13 04:35 mth: wait I need restart my NanoNOte. 2010-11-13 04:36 0, 1 and 2 are /dev/tty1 here 2010-11-13 04:36 start-stop-daemon maybe redirects output to /dev/null or to log file 2010-11-13 04:37 xiangfu: either start it without start-stop-daemon (thus creating additional unnecessary sh process - remember we discussed?) or rework the way gmenu2x executes apps... 2010-11-13 04:37 I'm starting gmenu2x from inittab 2010-11-13 04:37 mth: http://pastebin.ca/1989890. here is the 'fd' 2010-11-13 04:38 xiangfu: stdout (1) and stderr (2) redirected to /dev/null, that would explain why you don't see anything 2010-11-13 04:38 mth: yes. it's /dev/null 2010-11-13 04:45 mth:  very thanks. 2010-11-13 04:45 you're welcome 2010-11-13 04:45 kyak: yes. now I am also try to start gmenu2x in inittab. 2010-11-13 04:50 mth: kyak very thanks. now the terminal apps works fine in nanonote. 2010-11-13 04:50 I will commit the change. :) 2010-11-13 04:52 mth: in Nanonote I must  export SDL_NOMOUSE=1 for make sure the gmenu2x correct start. 2010-11-13 04:53 mth: is that ok I add this line to gmenu2x.sh 2010-11-13 04:53 in gmenu2x.git 2010-11-13 04:54 that's needed for Dingoo as well, I wonder why it's not in the script already 2010-11-13 04:54 please add it 2010-11-13 04:58 [commit] Xiangfu Liu: add export SDL_NOMOUSE=1 to script file http://qi-hw.com/p/gmenu2x/aac04da 2010-11-13 05:19 xiangfu: you add it to inittab. I personally don't use it much and will replace with sh anyway 2010-11-13 05:19 *you can add it 2010-11-13 06:49 [commit] Xiangfu Liu: add ks7010 firmware http://qi-hw.com/p/openwrt-xburst/2e9ef26 2010-11-13 06:49 [commit] Xiangfu Liu: add gmenu2x to inittab, remove init.d/start http://qi-hw.com/p/openwrt-xburst/fce1850 2010-11-13 06:49 [commit] Xiangfu Liu: add a lot of apps entry in gmenu2x http://qi-hw.com/p/openwrt-xburst/ad70ede 2010-11-13 06:54 [commit] kyak: lynx: enable SSL and UTF-8 support http://qi-hw.com/p/openwrt-packages/47d1009 2010-11-13 07:52 it seems to me that keyboard layout switching can be done in DirectFB level with dfbinput. Alternatively, qt-embedded has kmap2qmap utility and QWSKEYBOARD env 2010-11-13 07:53 and it seems that gtk doesn't have anything for that, so perhaps dfbinput is the right thing to try.. 2010-11-13 07:58 so few information about that.. people are mainly trying to fight with i18n input/output in console or X11 2010-11-13 07:58 nobody cares about qt or gtk running in fbdev :) 2010-11-13 08:17 kyak: +1 2010-11-13 08:17 everyone seems to prefer the X11 bloatware... 2010-11-13 08:18 and usermode applications that talk directly to I/O devices 2010-11-13 08:25 try google android maybe... 2010-11-13 08:25 btw, why didn't google use X11? :D 2010-11-13 08:29 lekernel_: well, google android does not use any application for linux, no just x11. .. it just uses linux kernel if I read correctly.. no shells, no initscrips, no linux fhs 2010-11-13 08:29 lekernel_: it is like android is not a linux distro, just uses the kernel 2010-11-13 08:30 maybe them hate GNU and dont want to be called gnu/linux :) 2010-11-13 08:55 [commit] Xiangfu Liu: [uboot-xburst] remove debug code http://qi-hw.com/p/openwrt-xburst/ce4de75 2010-11-13 09:37 Dictionary+Wikpedia+Music http://en.qi-hardware.com/wiki/File:NN_stickers_drafts.png :D 2010-11-13 09:38 and the first one 2010-11-13 09:40 lekernel_: you may enjoy reading this one: http://lwn.net/SubscriberLink/413335/2c202976e5743e89/ 2010-11-13 09:42 Wayland?.. 2010-11-13 09:42 kristianpaul: yet another X without X, eh ? ;-) 2010-11-13 09:43 xD 2010-11-13 09:43 indeed 2010-11-13 09:44 kristianpaul: in fact, all these things remind me of the heydays of ATM. back then, they all recognized TCP as the "killer application of IPv4". so they tried to come up with alternatives. TCP without IP, TCP without TCP, and so on. it all led to nothing. 2010-11-13 09:44 he 2010-11-13 09:45 excuses just excuses 2010-11-13 09:45 kristianpaul: the arguments were of course complexity (both intrinsic and due to unnecessary features), efficiency, and so on. much like what X11 is getting accused of. 2010-11-13 09:45 yeah, nothing except google android, iOS and Mac OS X, all incenditally featuring a better and faster user experience than bloatware based on x-windows 2010-11-13 09:47 and more technically I think no one would argue that the fact that X talks directly to I/O devices instead of the kernel is a bad thing 2010-11-13 09:47 lekernel_: but they all live in parallel universes. you may as well list the text console :) i think can all agree that the text console works very well in its specific domain. 2010-11-13 09:47 mac os x, a parallel universe? 2010-11-13 09:47 lekernel_: if you and bleeding edge performance, you often need to cut out the man in the middle :) 2010-11-13 09:48 X is crap, period! 2010-11-13 09:49 let's talk about this again in ten years ;-) 2010-11-13 09:51 in that thread, a few good points are being made about legacy features that indeed don't make much sense anymore. of course, their main impact would be code size and porting effort, not so much real-life performance. 2010-11-13 09:52 isn't X all about those features? 2010-11-13 09:52 on top of crappy implementations... 2010-11-13 09:53 anectodally, which just crashed again on my machine this morning... 2010-11-13 09:53 lekernel_: is not mac os x propietary? 2010-11-13 09:53 sure it is, but at least it doesn't suck technically 2010-11-13 09:54 seems it takes a big software company to make bold technical decisions like Unix without X 2010-11-13 09:55 or, more exactly, successfully implement them :) 2010-11-13 09:57 how you could know what the "successfull" really is if this is not open? 2010-11-13 10:15 lekernel_: are you aware of a libre sofware or language for generating timing diagrams? 2010-11-13 10:15 maybe latex? 2010-11-13 10:15 well i could do the module in verilog and the view it on gtkwave but the idea is not simulte every time i need a timing graph 2010-11-13 10:16 gnuplot ? 2010-11-13 10:17 dont know, but make sense 2010-11-13 10:17 i'm not fan of gnuplot 2010-11-13 10:18 i'll read a bit more about it 2010-11-13 10:18 data files for gnuplot are very very simple.   \n \n ... 2010-11-13 10:18 want a new line ? ... \n\n \n... 2010-11-13 10:19 don't have x coordinates but a constant "clock" ? just omit the x coordinate 2010-11-13 10:20 wpwrak: ah gnuplot is what you use for the usrp signaling visualization isnt? 2010-11-13 10:21 gnuplot is what i use for probably 99% of all graphing tasks :) 2010-11-13 10:21 well i'll follow you then 2010-11-13 11:00 foudn it http://www.gnuplotting.org/defining-piecewise-functions/ 2010-11-13 11:04 kristianpaul: it's probably way too complex to express your graph algorithmically. better to make a file with the coordinates and plot the file 2010-11-13 11:07 ok 2010-11-13 11:07 script > file > plot 2010-11-13 11:16 yup 2010-11-13 13:52 wejp, wpwrak: ah, this talks about batteries, MCUs, regulators... http://www.silabs.com/Marcom%20Documents/Resources/LowPowerSolutions.pdf 2010-11-13 13:59 kristianpaul: I use matplotlib for Python to create graphs: http://matplotlib.sourceforge.net/ 2010-11-13 14:09 wpwrak: Do you think I could program this with free tools? http://www.silabs.com/products/mcu/lowpower/Pages/C8051F92x-93x.aspx 2010-11-13 15:04 viric: to a very large extent, yes. sdcc doesn't seem to support the C8051F9xx yet, but it supports 8051 in general many other C8051Fxxx MCUs. 2010-11-13 15:05 (maybe 9xx support is already there, too. didn't search very hard) 2010-11-13 15:07 C2 looks the same, so you can probably use my stuff from f32xbase 2010-11-13 15:07 note that there's no USB in these chips. 2010-11-13 15:15 Hello, has anyone where gotten the Ben NanoNote working with the micro-sdio wifi card (SDW-823)? 2010-11-13 15:32 wpwrak: what about uploading the compiled code? easy? 2010-11-13 15:33 wpwrak: a 3v3 serial port would do? 2010-11-13 15:33 I'll check later the documentation 2010-11-13 15:33 I only wondered, if they document how to program it, or instead they only say "click this on Our Program" 2010-11-13 15:33 viric: i'd use a ben for the upload :) 2010-11-13 15:34 with one of these cables: http://downloads.qi-hardware.com/people/werner/f32x/c2ben-run1.jpg 2010-11-13 15:35 the programming interface isn't completely documented. but you can find the information ... :) 2010-11-13 15:39 I can find it? :) 2010-11-13 15:39 this is a good hint for the missing bits: http://coding.derkeiler.com/Archive/General/comp.arch.embedded/2004-06/1134.html 2010-11-13 15:39 I better start taking notes 2010-11-13 15:39 I thought I could even use their temperature sensor! 2010-11-13 15:40 or just use f32xbase/f32x - it supports some of the functionality of C2, namely flash read/write and boundary scan :) 2010-11-13 15:40 didn't bother with breakpoints and the like, though 2010-11-13 15:40 normal 2010-11-13 15:55 waves 2010-11-13 16:00 hello 2010-11-13 16:37 [commit] kyak: updated gmenu2x to latest git. http://qi-hw.com/p/openwrt-packages/afd6822 2010-11-13 16:52 [commit] Werner Almesberger: The eda-tools welcome the arrival of fpd2pdf http://qi-hw.com/p/eda-tools/4ae9a09 2010-11-13 16:52 [commit] Werner Almesberger: scripts/fpd2pdf (usage): don't call the input files .pdf - they're .fpd ! http://qi-hw.com/p/ben-wpan/bb54864 2010-11-13 16:52 [commit] Werner Almesberger: scripts/fpd2pdf: moved over to eda-tools http://qi-hw.com/p/ben-wpan/6f8665e 2010-11-13 20:14 wolfspraul: Just telling you the debuging process is done now http://en.qi-hardware.com/wiki/GPS_Free_Stack#Debugging. and now i'm working on the implementation of gps data using SIE board, why not Ben? 2010-11-13 20:15 well seems its hardware is not capable of getting data as faster as i spected (8mhz) and so far just 2mhz acording some tests made by wpwrak 2010-11-13 20:16 anyway i'll dedicate later some time in the university lab  in order to do my benchmark, so SIE will be really usefull after all :) 2010-11-13 20:23 i'm not sayinng i'm kicking out ben from my way, but for now SIE will help to develop then later optimize and fit gps stuff on the the nanonote 2010-11-13 20:49 kristianpaul: sure, wpwrak already mentioned it to me 2010-11-13 20:49 of course, this is the right approach 2010-11-13 20:50 first we need to get it to work and learn, then we see what is the cheapest tech we can find to implement it 2010-11-13 20:51 nice pictures! 2010-11-13 22:22 wolfspraul: hi.. I have uploaded : 2010-11-13 22:23 - a free of patents repository built from OE 2010-11-13 22:24 - 4 rootfs images : 2 bootstrap (one for NAND and another for SD) and 2 full jlime beta4 (one for nand and another for SD). 2010-11-13 22:25 wolfspraul: all this stuff is free of problematic packages. The repo is sane, so any package there is okey to install. Also, I removed from the full jlime beta4 image the packages with patented technologis. I replaced that stuff with a theora player. 2010-11-13 22:25 wolfspraul: maybe I should upload some screenshot and write a wiki page about?