| *** freezer has quit IRC | 00:05 |
| *** M1DLGpc__ has joined #openinkpot | 00:28 |
| *** M1DLGpc_ has quit IRC | 00:34 |
| *** dottedmag has quit IRC | 01:05 |
| *** franzrogar has quit IRC | 03:09 |
| *** franzrogar has joined #openinkpot | 03:16 |
| *** pcfe has quit IRC | 03:42 |
| *** pcfe_gone has joined #openinkpot | 03:43 |
| *** pcfe_gone is now known as pcfe | 03:49 |
| *** avn has joined #openinkpot | 04:13 |
| *** avn_ has quit IRC | 04:15 |
| *** M1DLGpc has joined #openinkpot | 04:49 |
| *** M1DLGpc__ has quit IRC | 04:55 |
| *** avn_ has joined #openinkpot | 05:05 |
| *** avn has quit IRC | 05:07 |
| *** ejka_ has joined #openinkpot | 05:22 |
| *** ejka has quit IRC | 05:22 |
| *** avn has joined #openinkpot | 05:25 |
| *** avn_ has quit IRC | 05:27 |
| *** dottedmag has joined #openinkpot | 06:02 |
| *** M1DLGpc_ has joined #openinkpot | 07:35 |
| *** M1DLGpc has quit IRC | 07:41 |
| *** jekhor_ has joined #openinkpot | 08:50 |
| *** freezer has joined #openinkpot | 10:07 |
| *** avn_ has joined #openinkpot | 11:05 |
| *** avn has quit IRC | 11:07 |
| *** avn has joined #openinkpot | 11:25 |
| *** avn_ has quit IRC | 11:27 |
| *** avn_ has joined #openinkpot | 13:49 |
| *** avn has quit IRC | 13:51 |
| *** Wr1ght has joined #openinkpot | 13:55 |
| *** dottedmag has quit IRC | 13:55 |
| *** dottedmag has joined #openinkpot | 13:55 |
| jekhor_ | lars, ping? | 13:59 |
| *** dottedmag has quit IRC | 13:59 |
| jekhor_ | Are you going to push your changes today? | 13:59 |
| lars | jekhor_: yes | 14:03 |
| jekhor_ | when? I want to continue work with it approx. one hour later. | 14:05 |
| lars | soon ;) I'm mostly done. | 14:06 |
| jekhor_ | ok :) | 14:07 |
| *** LunohoD_ has joined #openinkpot | 14:16 |
| *** LunohoD has quit IRC | 14:23 |
| *** LunohoD_ is now known as LunohoD | 14:23 |
| lars | jekhor_: done | 14:24 |
| lars | jekhor_: sound doesn't work yet. it probably doesn't even compile. I'm going to fix that later. | 14:25 |
| jekhor_ | ok. Did you add GPIO settings for sleep mode from old kernel? | 14:26 |
| lars | hm? | 14:26 |
| lars | you mean this: http://git.openinkpot.org/linux-2.6.git/tree/arch/mips/jz4740/board-n516.c#n67 ? | 14:27 |
| jekhor_ | yes | 14:27 |
| *** dottedmag has joined #openinkpot | 14:29 |
| lars | nope. each driver is supposed to put it's pins into sleep mode. and pins not used at all should be configured by uboot and then not be touched anymore. | 14:29 |
| dottedmag | lars: btw, what is proper parallel display support? | 14:30 |
| lars | dottedmag: the metronome chips is attached through parallel interface to the jz4740's lcd controller. currently it was relying on u-boot setting some registers. now it does itself. | 14:32 |
| dottedmag | ah | 14:32 |
| dottedmag | I thought it was something fancy like avoiding blocking userspace while kernel updates screen. | 14:33 |
| jekhor_ | lars, ok, It is right way, if all drivers already can do this. (GPIO sleep) | 14:33 |
| *** dottedmag has quit IRC | 14:34 |
| *** dottedmag has joined #openinkpot | 14:37 |
| lars | is ~/public_git available on the git web frontend? | 16:00 |
| dottedmag | users.git.openinkpot.org | 16:01 |
| lars | thanks | 16:02 |
| dottedmag | meh. Evas Textblock is broken. | 16:03 |
| dottedmag | It does not handle stuff like underlines properly. | 16:04 |
| dottedmag | LunohoD: did we patch Evas (or maybe Ecore_Evas) so it is b/w only? | 16:05 |
| dottedmag | LunohoD: I just tried to set different colors on Textblock and all I got is various shades of gray. | 16:05 |
| dottedmag | (on desktop) | 16:05 |
| lars | jekhor_: are you ok with the top four changes in http://users.git.openinkpot.org/~lars/linux-2.6/log/?h=oi-2.6.32 ? | 16:19 |
| LunohoD | dottedmag: madeye shows colored images on my desktop | 16:21 |
| dottedmag | LunohoD: okay, going to look further. | 16:22 |
| jekhor_ | lars, no, I was merged lpc & usb power drivers because lpc driver need to receive USB connect/disconnect events. | 16:23 |
| jekhor_ | n516-usb is not used now | 16:23 |
| lars | jekhor_: yes. thats why i removed it | 16:23 |
| lars | the lpc is going to receive usb connect/disconnect events through the external_power_changed callback. | 16:24 |
| jekhor_ | hmm... ok, good. | 16:26 |
| jekhor_ | We will need to change name of power supply in hotplug scripts but it is easy. | 16:30 |
| * dottedmag is pretty sick of hand-made hotplug handlers | 16:31 |
| LunohoD | jekhor_: have you checked if #737 exists in chinese fw? | 16:32 |
| lars | jekhor_: the power_supply still goes by the same name | 16:34 |
| jekhor_ | pdata->name? OK. | 16:36 |
| lars | ye | 16:36 |
| lars | s | 16:36 |
| jekhor_ | dottedmag, no yet | 16:36 |
| dottedmag | jekhor_: Not yet tired? I am! :) | 16:37 |
| LunohoD | ;) | 16:37 |
| lars | btw. i tried to flash the original firmware but it gives me an uimage checksum error. | 16:37 |
| LunohoD | when you run nprog? | 16:39 |
| lars | when i boot the device. | 16:39 |
| LunohoD | hm | 16:39 |
| LunohoD | recently i've flashed two devices with WISEreader%20N516_German_2.2.7.2.0.rar | 16:40 |
| LunohoD | but i was using http://openinkpot.org/pub/contrib/n516-usbboot/azbooka-usbboot-new.tar.gz | 16:40 |
| LunohoD | qi usbboot doesn't work for me | 16:40 |
| lars | i tried both | 16:41 |
| lars | same result | 16:41 |
| LunohoD | Error - can't read bulk data from Ingenic device:0 | 16:41 |
| lars | if i flash my kernel after i flashed uImage-upgrade. uboot boots it just fine | 16:42 |
| lars | if i flash my uboot after flashing uImage-upgrade, I get the same uImage checksum error | 16:42 |
| lars | on the other hand i have a bad block in the uImage section, so it might be the cause | 16:44 |
| jekhor_ | lars, did you write image with -e option for nprog? | 16:49 |
| lars | jekhor_: yes | 17:08 |
| lars | and i also tried with stripping the oob data from the image and -n | 17:09 |
| jekhor_ | :( | 17:09 |
| *** M1DLGpc has joined #openinkpot | 17:11 |
| dottedmag | LunohoD: looks like our freetype2 contains copy of zlib. Hehe. | 17:14 |
| *** M1DLGpc_ has quit IRC | 17:17 |
| jekhor_ | dottedmag, checked. Chinese firmware always consumes 4.3-4.4 mA | 17:30 |
| dottedmag | jekhor_: gasp. How long does it work in sleep mode? :) | 17:33 |
| dottedmag | LunohoD: we've got a lot of obscure font formats enabled in freetype2, btw. Maybe it's a good idea to compile them out and save some memory (freetype is 400k) | 17:34 |
| jekhor_ | I don't know | 17:34 |
| *** franzrogar has quit IRC | 17:34 |
| LunohoD | jekhor_: there is no sleep mode in chinese fw? | 17:34 |
| *** franzrogar has joined #openinkpot | 17:34 |
| jekhor_ | LunohoD, no, there is sleep mode in chinese fw. | 17:35 |
| jekhor_ | it consumes 4.4 mA in sleep mode | 17:36 |
| LunohoD | got it | 17:36 |
| jekhor_ | ? | 17:37 |
| LunohoD | lars: how much mA do you get after first lpc wakeup? | 17:37 |
| lars | 5.0x | 17:37 |
| dottedmag | jekhor_: == understand | 17:37 |
| jekhor_ | dottedmag, :) | 17:37 |
| lars | well, actually it's after first lpc 15min wakeup | 17:37 |
| dottedmag | LunohoD: I will hijack freetype2 from you if you agree. | 17:38 |
| LunohoD | dottedmag: ok | 17:38 |
| lars | if i wake the device up by pressing a button, whichs is handeld through the lpc aswell, it's still 3ma | 17:38 |
| LunohoD | lars: so, is there any chance to fix that | 17:38 |
| LunohoD | ? | 17:38 |
| lars | LunohoD: use the rtc to wakeup the device just before the lpc would do it ;) | 17:38 |
| dottedmag | hah. | 17:39 |
| jekhor_ | lars, try to wait 15-20 minutes with USB connected and then disconnect it | 17:39 |
| LunohoD | cannot we restart lpc and bring it into the same state as it was right after the boot? | 17:40 |
| jekhor_ | LPC sends wakeup events always, ever with USB connected. | 17:40 |
| jekhor_ | LunohoD, no. | 17:40 |
| jekhor_ | hmm... but... | 17:40 |
| lars | i already tried setting it to "normal mode", didn't help | 17:41 |
| LunohoD | have we tried to ask hanvon engineers? | 17:41 |
| jekhor_ | LunohoD, no | 17:41 |
| lars | jekhor_: do you have logic analyser which you could attach to the i2c bus to see if there is anything special going on? | 17:42 |
| jekhor_ | lars, only digital oscilloscope | 17:42 |
| jekhor_ | lars, btw, can you check your display's waveforms name if your device is disassembled? This is one letter and two digits in parentheses at lebel on screen flexible board. | 17:46 |
| jekhor_ | I want to know if hanvon uses one display type for all devices. | 17:47 |
| lars | jekhor_: http://metafoo.de/n516/p2180007.jpg | 17:49 |
| jekhor_ | B5 | 17:49 |
| jekhor_ | B52 | 17:49 |
| jekhor_ | hmm... | 17:50 |
| jekhor_ | i think that now is time to write few questions to hanvon's people. | 17:52 |
| LunohoD | ;) | 17:52 |
| LunohoD | jekhor_: CC to our ML, please | 17:52 |
| jekhor_ | yes | 17:53 |
| jekhor_ | LunohoD, azbooka-discussion? | 18:04 |
| LunohoD | yes | 18:05 |
| lars | jekhor_: what is the 'if (dev->power.status != DPM_ON)' check in the lpc irq handler for? | 18:16 |
| jekhor_ | block for don't read key events if we are going to sleep | 18:17 |
| jekhor_ | no | 18:18 |
| jekhor_ | if we don't waked up yet, AFAIR | 18:18 |
| lars | is it ever going to be true? | 18:19 |
| jekhor_ | seems it is don't handle irq if we are sleeping or resuming. | 18:21 |
| jekhor_ | because LPC generates square wave instead simple high level INT request signal, driver will handle request after resuming. I cannot remember description of bug which was caused by lpc driver, but it there was. | 18:23 |
| dottedmag | jekhor_: was it related to first keypress being "eaten" if device was in sleep mode? | 18:24 |
| jekhor_ | key presses sometimes handled after next keypress only, AFAIR | 18:24 |
| dottedmag | Right. | 18:24 |
| jekhor_ | dottedmag, if key was pressed immediately before going to sleep --- yes | 18:24 |
| dottedmag | lars: the bug was as following: user presses the key right when device is going to sleep. This keypress in registered and device happily sleeps. | 18:25 |
| dottedmag | lars: when another key is pressed, device wakes up and handles two keypresses. | 18:25 |
| dottedmag | So the idea is to stop accepting keypresses from LPC as soon as possible to make sure keypress-during-suspend will resume device immediately. | 18:26 |
| lars | ok | 18:26 |
| dottedmag | Not sure checking for power status is a best idea, so if you have cleaner solution, go ahead and fix it. | 18:26 |
| lars | i marked the lpc irq as wakeup irq. and in theory the system should abort suspend if such an irq is detected during suspend | 18:30 |
| jekhor_ | lars, yes, but handler can be called before suspend but after start of suspending | 18:32 |
| jekhor_ | lars, i think that commit de6d66df8ea1fc914d99c45b6b90ed675275547a should be fix this problem ever without if (dev->power.status != DPM_ON) in irq handler | 18:33 |
| lars | jekhor_: which tree? | 18:34 |
| jekhor_ | oi-2.6.32 | 18:34 |
| lars | ah, ok found it | 18:34 |
| jekhor_ | if() was first attempt to fix it. | 18:35 |
| jekhor_ | lars, As I understood, UDC still works without DMA only? | 19:22 |
| lars | jekhor_: i didn't touch it. so probably yes | 19:27 |
| freezer | is there anyone hacking the kindle2? | 19:32 |
| jekhor_ | no | 19:32 |
| freezer | sad | 19:33 |
| freezer | such a cool device ;> | 19:33 |
| *** freezer has quit IRC | 19:41 |
| *** freezer has joined #openinkpot | 19:41 |
| *** dottedmag has quit IRC | 20:14 |
| *** M1DLGpc_ has joined #openinkpot | 20:20 |
| *** M1DLGpc has quit IRC | 20:26 |
| *** dottedmag has joined #openinkpot | 20:28 |
| *** dottedma1 has joined #openinkpot | 20:33 |
| *** dottedmag has quit IRC | 20:34 |
| *** avn has joined #openinkpot | 20:47 |
| *** avn_ has quit IRC | 20:49 |
| *** dottedma1 has quit IRC | 20:55 |
| *** dottedmag has joined #openinkpot | 21:00 |
| *** M1DLGpc__ has joined #openinkpot | 21:10 |
| dottedmag | Any further ideas for GSoC and any suggestions for http://openinkpot.org/wiki/GSoC/2010/Participation ? | 21:14 |
| CIA-4 | dottedmag wiki * 4 /: GSoC/2010/Participation has been changed: syntax (http://openinkpot.org/wiki/GSoC/2010/Participation?action=diff&version=4) | 21:14 |
| CIA-4 | dottedmag wiki * 5 /: GSoC/2010/Participation has been changed: mentors: porters (http://openinkpot.org/wiki/GSoC/2010/Participation?action=diff&version=5) | 21:15 |
| *** M1DLGpc_ has quit IRC | 21:16 |
| *** M1DLGpc has joined #openinkpot | 21:17 |
| *** M1DLGpc__ has quit IRC | 21:24 |
| *** avn_ has joined #openinkpot | 21:24 |
| *** avn has quit IRC | 21:26 |
| CIA-4 | avn tickets/misc * #825 /: Created [new feature]: (Implement ellipsis in the middle of textblock) in post-0.2 snapshot (http://openinkpot.org/ticket/825) | 21:59 |
| CIA-4 | avn tickets/pkg/efl * #825 /: changed component (http://openinkpot.org/ticket/825#comment:1) | 22:11 |
| *** freezer has quit IRC | 22:25 |
| *** jekhor_ has quit IRC | 22:39 |
| *** dottedmag has quit IRC | 23:28 |
| *** xiangfu has joined #openinkpot | 23:37 |
| lars | sound support is commited | 23:37 |
| jenner | yay | 23:50 |