#qi-hardware IRC log for Monday, 2011-05-02

mirkokyak: pong00:31
wpwraknow that's what i call cheating in style ;-) http://tinyvga.com/avr-isa-vga00:40
kristianpauli agree with wpwrak00:52
qi-bot[commit] Werner Almesberger: tstimc.c (tstimg): frame rate calculation didn't include the vsync pulse http://qi-hw.com/p/ben-blinkenlights/606dd6302:36
qi-bot[commit] Werner Almesberger: ubb-vga.c (mode_db): added 1024x768, 53 Hz mode (56 MHz pixel clock) http://qi-hw.com/p/ben-blinkenlights/aa2fc7102:36
qi-bot[commit] Werner Almesberger: ubb-vga: express mode data in more common units and remove hard-coded constants http://qi-hw.com/p/ben-blinkenlights/4b59dbf02:36
qi-bot[commit] Werner Almesberger: ubb-vga: test image now shows detailed horizontal and vertical timing http://qi-hw.com/p/ben-blinkenlights/9412c9d02:36
qi-bot[commit] Werner Almesberger: ubb-vga.c (mode_db): cleanup and added approximations of standard modes http://qi-hw.com/p/ben-blinkenlights/b184fbb02:36
qi-bot[commit] Werner Almesberger: ubb-vga.c (list_modes, usage, main): new option -l to list available modes http://qi-hw.com/p/ben-blinkenlights/4450a3002:36
qi-bot[commit] Werner Almesberger: tstimg.c (tstimg): adjust size and position of parameters according to yres http://qi-hw.com/p/ben-blinkenlights/319d8a002:36
qi-bot[commit] Werner Almesberger: ubb-vga/README: added to do list http://qi-hw.com/p/ben-blinkenlights/893884c02:37
wpwrakGRR. WAIT is a privileged instruction :-( why oh why ...02:56
Guest60820anyone on?05:01
gzananHello everyone05:26
kyakmirko: qt4 builds very fine now, thanks :)06:46
kyaklarsc: do you know why GPM940B0 (LCD and backlight driver) has not made it into openwrt trunk?07:49
larsckyak: https://dev.openwrt.org/browser/trunk/target/linux/xburst/patches-2.6.37/100-lcm.patch08:36
kyaklarsc: thanks :)08:44
larscili8960 is the controller inside the GPM940B008:59
rohis that the one on the NN?09:00
kyaklarsc: i'm trying to refrsh kernel config, enabling battery and backlight support (they don't seem to be present in openwrt trunk kernel config)09:02
kyaki'm not sure if there is a special reason why they were not enabled, or maybe they just were not present at that time?..09:02
larsckyak: they should be enabled09:04
larscif they are not thats a bug09:04
kyakfor example, ili8960 was not enabled because SPI support was switched off.. And then battery wasn't enabled because of some other dependency09:05
larschm, i see09:05
kyaki'm now fighting with make kernel_menuconfig :)09:06
larscbut there is CONFIG_SPI=y09:06
larscas well09:06
kyakCONFIG_SPI=y is in target/linux/xburst/qi_lb60/config-2.6.37.. make kernel_menuconfig puts it into target/linux/xburst/config-2.6.3709:08
kyakmaybe i'll just start from scratch..09:08
xMffthat is expected09:08
xMffbetter do it by hand09:08
kyakif i do it by hand, then following kernel_menuconfig would overwrite these changes..09:10
kyakor is it ok?09:10
xMffI mean do not use kernel_menuconfig09:10
kyakoh ok09:10
xMffit has no way to know how symbols should be distributed09:10
xMffso it just stuffs them into the target config09:10
xMffxou could use the diff to fill up the subtarget config though09:11
larscbut it should only modify the last config which is the board config and not the target config in this case09:11
xMfflarsc: I suppose it is bugged then, but that'd only shift the problem, generic symbols would end up in the wrong config, too09:12
larscso far i've moved those symbols by hand to the target config09:13
larsckyak: btw. my plan was to add the 2.6.39 patch today or tomorrow09:17
kyaklarsc: that's great!09:18
qi-bot[commit] Werner Almesberger: physmem.c: improved correctness and efficiency of alignment http://qi-hw.com/p/ben-blinkenlights/0dbf29e09:24
qi-bot[commit] Werner Almesberger: ubb-vga: make lines end in black (and not in overscan) http://qi-hw.com/p/ben-blinkenlights/3ea6b9809:24
qi-bot[commit] Werner Almesberger: ubb-vga: send a line's last DMA transfer also if only partially filled http://qi-hw.com/p/ben-blinkenlights/a3cea3509:24
qi-bot[commit] Werner Almesberger: ubb-vga: use a free-running counter instead of resetting it for each line http://qi-hw.com/p/ben-blinkenlights/6d8c8dd09:24
kyaklarsc: there is some strange dependency chain, that leads to disabling of CONFIG_BATTERY_JZ474009:25
kyaki'm now wondering how i even managed to enable it via kernel_menuconfig :)09:26
larscCONFIG_BATTERY_JZ4740 should only depend on CONFIG_MFD_JZ4740_ADC09:26
larscwell and CONFIG_POWER_SUPPLY09:26
kyakand MFD_JZ4740_ADC is "n"09:27
kyakand it doesn't appear in "Multifunction device drivers"09:27
kyakthough it only depends on MFD_SUPPORT [=y] && MACH_JZ474009:28
larscit does here09:29
larscwith current openwrt trunk09:29
kyakmaybe it's because MFD_CORE depends in I2C, which is "n"09:29
larscMFD_CORE should not depend on anything09:31
mthlarsc: did you see the "detect memory enabled by boot loader" patch? https://github.com/mthuurne/opendingux-kernel/commit/8893e953e685864855f6fc612808315787fbcf3a09:32
larscmth. I guess it should be fine. Feel free to add a "Acked-by: Lars-Peter Clausen <lars@metafoo.de>" when you send it upstream09:35
kyaklarsc: i'm trying with the current openwrt trunk, the CONFIG_BATTERY_JZ4740 is not set -\09:36
larsckyak: right. but it is selectable09:36
kyaklarsc: i don't see it in "Device Drivers" -> "Power supply class support"09:38
larscyou need to select MFD_JZ4740_ADC first09:40
kyakit's not available, too09:40
mthlarsc: shall I send it to Ralf Baechle plus mailinglists?09:41
larscralf + mipslinux + lkml09:41
larscand me09:41
kyaklarsc: could you put your .config somewhere?09:47
larsckyak: http://pastebin.com/aub7c3RG09:48
qi-bot[commit] Werner Almesberger: ubb-vga: housekeeping http://qi-hw.com/p/ben-blinkenlights/368615310:17
kyaklarsc: ok, maybe it was obvious for you from the beginning, but https://dev.openwrt.org/browser/trunk/target/linux/xburst/config-2.6.37#L21 (# CONFIG_BATTERY_JZ4740 is not set), this is what was causing problems10:19
kyaklarsc: maybe you could fix it on openwrt side?10:20
LunohoDlarsc: JFYI, i've found something on hanvon homepage, that seems to be an implementation of their touchscreen communication protocol: http://www.hanvon.com/en/downloads/components/sketch_hanvon.rar14:56
larschm, interesting15:13
DocScrutinizerlarsc: you're a kernel hacker, no?23:39
qi-bot[commit] Werner Almesberger: ubb-vga/README: moved old content away and added new compatibility test results http://qi-hw.com/p/ben-blinkenlights/77adf4323:50
qi-bot[commit] Werner Almesberger: ubb-vga/README: added results for Samsung LN32R71B TV http://qi-hw.com/p/ben-blinkenlights/887012a23:50
--- Tue May 3 201100:00

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