03:19.32 | *** join/#openezx pixel____ (~root@p5B0E1F58.dip0.t-ipconnect.de) |
04:18.28 | *** join/#openezx kundancool (~kundancoo@14.195.78.97) |
04:19.25 | kundancool | can anyone tell me why I get this error when I login to openezx irc |
04:19.30 | kundancool | "kundancool is not a registered nickname." |
06:24.55 | *** join/#openezx kundancool (~kundancoo@117.200.85.240) |
06:25.17 | kundancool | can anyone tell me |
06:25.20 | kundancool | git clone git://git.openezx.org/openezx.git |
06:25.31 | kundancool | how much size does this will take |
06:26.47 | kundancool | can I resume it If I had stopped in middle ? |
07:24.05 | *** join/#openezx florian (~fuchs@Maemo/community/contributor/florian) |
08:08.30 | *** join/#openezx ao2 (~ao2@2001:1418:117::1) |
08:16.54 | *** join/#openezx florian (~fuchs@Maemo/community/contributor/florian) |
09:51.11 | *** join/#openezx toi (~peter@d54C2AA76.access.telenet.be) |
10:30.07 | *** join/#openezx bluelightning (~paul@pdpc/supporter/professional/bluelightning) |
10:30.53 | bluelightning | morning all |
10:54.18 | ao2 | hi bluelightning |
10:55.09 | bluelightning | hi ao2 |
10:55.37 | bluelightning | btw I installed tslib's ts_test on the a780, it tells me it doesn't understand the protocol of the touchscreen device |
10:55.46 | bluelightning | so that might explain why it's not working in opie |
10:56.13 | bluelightning | I'm not sure what would have caused that, though I assume there is either a driver bug or the protocol has changed recently |
10:56.31 | ao2 | I recall I tested it with tslib once and it worked, taking a look later |
10:56.43 | bluelightning | ok, just a heads up |
10:57.31 | ao2 | bluelightning, what tslib version? SO we can compare our results |
10:57.54 | bluelightning | ao2: one sec |
11:01.13 | bluelightning | ao2: the version I have installed is 1.0-r28.6.9 |
11:20.07 | *** join/#openezx ao2 (~ao2@2001:1418:117::1) |
11:23.54 | bluelightning | ao2: you got my msg about the version? |
11:24.44 | ao2 | bluelightning, yes, thanks |
11:24.57 | bluelightning | ok cool |
11:25.03 | bluelightning | I've just been playing with the backlight level control, it's just in a different location now than it used to be, so Opie needs to be updated |
11:25.31 | bluelightning | I did notice that bl_power seems to expect to be 0 to be powered and 1 to be off, is that right? |
11:26.00 | bluelightning | hmm, seems to be according to one google result |
11:26.11 | ao2 | bluelightning, I don't remember |
11:26.23 | ao2 | about TS, I get this one indeed: # TSLIB_TSDEVICE=/dev/input/event2 ts_print |
11:26.23 | ao2 | selected device is not a touchscreen I understand |
11:26.40 | bluelightning | yep, that's exactly what I get |
11:26.45 | ao2 | with tslib 1.0-r28.6.6 |
11:26.54 | ao2 | booting an older kernel now to compare the result |
11:34.22 | ao2 | with 2.6.34 ts works indeed, I need to fix that |
11:36.03 | bluelightning | ok... just tested, LEDs work and so does the buzzer :) |
11:37.05 | bluelightning | ao2: that would be cool, thanks |
11:40.53 | ao2 | bluelightning, it could be that tslib does not know the new version reported by the input layer: |
11:40.55 | ao2 | --- pcap-touchscreen-2.6.34.log Sat Apr 9 13:37:03 2011 |
11:40.55 | ao2 | +++ pcap-touchscreen-2.6.38.log Sat Apr 9 13:38:47 2011 |
11:40.55 | ao2 | @@ -1,4 +1,4 @@ |
11:40.55 | ao2 | -Input driver version is 1.0.0 |
11:40.55 | ao2 | +Input driver version is 1.0.1 |
11:41.28 | ao2 | so it might not be a driver bug after all, I am looking if there is a new tslib version available |
11:41.34 | bluelightning | ok |
11:50.42 | ao2 | bluelightning, going to lunch now, but I am compiling tslib from git and will try that later |
11:50.53 | bluelightning | ao2: ok thanks |
12:31.22 | *** join/#openezx CoreDuo (coreduo@2001:470:b163::15) |
13:06.19 | ao2 | bluelightning, tslib from git works on 2.6.38. But I just tested in on a1200 as a780 is charging now |
13:06.46 | bluelightning | ao2: ok great, thanks for that |
13:24.07 | bluelightning | ao2: confirmed, opie now has working ts :) |
13:24.35 | ao2 | cool |
13:31.15 | *** join/#openezx kundancool (~kundancoo@182.156.147.235) |
13:37.56 | kundancool | is there any JTAG flasher which provides a UI for flashing and other testing... on Linux ? |
13:38.23 | *** join/#openezx florian (~fuchs@Maemo/community/contributor/florian) |
14:11.31 | *** join/#openezx angelox_123 (~angelo@201-13-207-247.dial-up.telesp.net.br) |
14:51.47 | bluelightning | just booted on e6 as well |
14:52.09 | bluelightning | the ts is a bit messed up there, it's hard to tap on anything |
14:52.36 | bluelightning | although it might help if I fixed the 18bpp issue so the screen wasn't also messed up :) |
14:54.50 | bluelightning | the e6 has /sys/class/power_supply/main-battery which is good |
14:55.42 | bluelightning | but no LEDs, except for the buzzer which works |
14:58.35 | ao2 | bluelightning, I do not own an E6. About ts, is it a calibration issue? |
14:59.19 | bluelightning | ao2: might be, it went through the opie calibration OK but afterwards it seems not to be 100% |
14:59.38 | ao2 | about LEDS, I do not know how leds are wired on E6, if you provide some info I might be eble to add support for them as well |
15:00.15 | bluelightning | ao2: hmm ok, what would I need to do? poke random gpios? or might that be dangerous? |
15:00.23 | ao2 | bluelightning, could you retry calibration with tslib utils? |
15:00.32 | bluelightning | ao2: could try that yep |
15:02.52 | ao2 | bluelightning, about leds looking at the original firmware could be enough, see if there is any mention of "funlight" in the kernel binary. Maybe E6 uses the same led controlled than a910, or maybe it uses pcap leds. |
15:03.02 | ao2 | s/controlled/controller/ |
15:06.25 | ao2 | to see if it uses pcap leds (PCAP is the PMIC name, I guess you know that already) you can even use the pcap_dump kernel module to look at registers when leds are on or off |
15:07.03 | ao2 | I can give you further instructions if you are willing to spend time on that |
15:07.36 | bluelightning | ok, tried ts_calibrate, it seems to make things even worse than with the values set by the opie calibrator... so I guess something is wrong there |
15:07.54 | ao2 | bluelightning, you can even play with kernel code and try to add led support yourself copying from a910 or a780 |
15:08.07 | bluelightning | ao2: ok, will give pcap_dump a go |
15:08.55 | ao2 | you'll use pcap_dum connecting via telnet to the original firmware |
15:09.46 | ao2 | if you tell me the kernel version string shown up on telnet connection I can compile the module for you (an old toolchain is needed for that) |
15:10.46 | ao2 | the easiest way would be to look at the 2.4 code of E6, actually, but I don't have it |
15:11.52 | ao2 | and about touchscreen, without the device it is not that easy to figure out what's wrong |
15:12.09 | ao2 | maybe /proc/interrupts provides some hint |
15:12.21 | ao2 | or evtest on the input device node |
15:20.08 | bluelightning | ran evtest, as I had noticed with ts_test it seems to be generating events after the stylus is removed from the screen |
15:21.07 | bluelightning | <PROTECTED> |
15:26.13 | *** join/#openezx kundancool (~kundancoo@49.201.153.208) |
15:28.34 | kundancool | ao2: can you now add the 0f argument to moto-boot-usb ? |
15:29.39 | ao2 | kundancool, ok, I'll do that right now before I forget about it |
15:29.49 | kundancool | thanks |
15:30.06 | kundancool | and is it possible to have a reboot command ? |
15:30.21 | kundancool | as it has off to poweroff |
15:31.25 | ao2 | you can upload gen-blob again, wouldn't that be like a reboot? |
15:31.41 | ao2 | or maybe I am missing what you mean |
15:33.07 | ao2 | kundancool, adding a '-f' switch would take long because moto-boot-usb is not using getopt(), I'll go for the explicit confirmation on input |
15:33.22 | ao2 | how does that sound to you? |
15:33.44 | kundancool | well let the input be case sensitive |
15:33.53 | kundancool | may be like |
15:34.12 | kundancool | do you want to proceed [y/n] ? |
15:34.23 | kundancool | y means continue else exit |
15:34.37 | kundancool | but still -f would be better |
15:35.19 | kundancool | as -f will avoid the question of asking that to do or not.. |
15:40.55 | ao2 | I can sell my lazy solution saying that flashing the bootloader should not be allowed in a non-interactive way for security reasons... |
15:41.27 | kundancool | :0 |
15:41.29 | kundancool | :) |
16:04.50 | *** join/#openezx toi (~peter@d54C2AA76.access.telenet.be) |
16:25.05 | CIA-18 | OpenEZX: 03Antonio Ospite <ospite@studenti.unina.it> 07master * r83f3cf85ed 10moto-boot-usb/src/moto-boot-usb.c: |
16:25.05 | CIA-18 | OpenEZX: moto-boot-usb.c: add a confirmation prompt when flashing at addr 0 |
16:25.05 | CIA-18 | OpenEZX: Some user happened to flash the bootloader by accident using |
16:25.05 | CIA-18 | OpenEZX: moto-boot-usb in a script, add some more protection with an interactive |
16:25.05 | CIA-18 | OpenEZX: prompt which asks for explicit confirmation when flashing at address 0. |
16:25.05 | CIA-18 | OpenEZX: Signed-off-by: Antonio Ospite <ospite@studenti.unina.it> |
16:25.36 | ao2 | kundancool, ^ |
16:26.41 | ao2 | to have that you should compile moto-boot-usb yourself for now |
16:26.54 | kundancool | ok thanks |
16:30.45 | kundancool | can you tell me how to update the source on my PC ? |
16:31.17 | kundancool | of moto-boot-usb |
16:31.19 | CIA-18 | OpenEZX: 03Antonio Ospite <ospite@studenti.unina.it> 07master * r5bc1f47aa9 10moto-boot-usb/src/moto-boot-usb.c: |
16:31.19 | CIA-18 | OpenEZX: moto-boot-usb.c: Comment out USECS_SLEEP again |
16:31.19 | CIA-18 | OpenEZX: This is not needed by most users, it slipped in from the previous |
16:31.19 | CIA-18 | OpenEZX: commit. |
16:31.19 | CIA-18 | OpenEZX: Signed-off-by: Antonio Ospite <ospite@studenti.unina.it> |
16:31.41 | ao2 | kundancool: git clone git://gitopenezx.org/moto-boot-usb.git |
16:32.13 | ao2 | sorry, git clone git://git.openezx.org/moto-boot-usb.git |
16:34.52 | kundancool | what is the size of " git clone git://git.openezx.org/openezx.git " ? |
16:42.28 | bluelightning | kundancool: about 434M |
16:42.49 | bluelightning | that's the kernel source though |
16:43.19 | kundancool | but when I tried it to download after about 250MB it showed only about 17% |
16:43.46 | kundancool | so I cancelled and all the downloaded files where gone |
16:44.09 | kundancool | my 250Mb bandwith data wasted |
16:45.00 | kundancool | bluelightning: thanks for the information :) |
16:45.14 | kundancool | is it possible to resume download ? |
16:45.49 | ao2 | kundancool, AFAIK git is "all or nothing" it downloads packed objects and only after download it is able to recreate the source tree |
16:46.54 | ao2 | if you already have a clone of the linux kernel repository maybe you can reuse that tho |
16:47.41 | kundancool | I have Linux ketnel source that I downloaded from www.kernel.or |
16:47.51 | kundancool | sorry, www.kernel.org |
16:48.17 | ao2 | the tarballs do not contain the .git directory, and that is what is needed |
16:49.08 | bluelightning | hmm, trying to get telnet on my e6 but connection refused; seems I may need linloader? if so unfortunately the link on the wiki is dead and I can't seem to find it in the motorolafans forums |
16:49.41 | kundancool | bluelightning: may I help you |
16:51.07 | kundancool | bluelightning: what you need ? |
16:51.44 | bluelightning | kundancool: well, if I need linloader to get telnet access into the original OS, then I would like a copy of linloader :) |
16:53.29 | kundancool | uploading... |
16:56.27 | kundancool | well only linloader is not enough to get telnet access to phone |
16:56.59 | kundancool | why don't you flash to any monsterpack which have these functions inbuild so that testing stuffs could be easier |
16:58.06 | bluelightning | kundancool: I guess because I didn't know about it :) |
16:58.43 | kundancool | well if you want to use a modded fw I can suggest you one :) |
17:01.07 | bluelightning | kundancool: sure; anything that gets me access to the phone would be good so I can give ao2 some hardware info |
17:01.44 | kundancool | well what hardware info do you need ? |
17:01.58 | ao2 | bluelightning, you can also prawl into the motorola kernel source code and find the info there |
17:02.32 | ao2 | I guess E6 source code should be on opensource.motorola.com somewhere |
17:02.32 | bluelightning | kundancool: at the moment, led control info |
17:03.01 | bluelightning | ao2: I had a look, they still only have the userspace utility source, nothing for the kernel |
17:03.12 | kundancool | I can help you entering telnet session |
17:03.27 | kundancool | I don't know about led control info |
17:03.32 | bluelightning | although did I read correctly in that they accidentally released kernel source for another model with e6 support in it |
17:03.35 | bluelightning | ? |
17:03.54 | ao2 | bluelightning, ah now that you mention that |
17:04.06 | ao2 | what's the code name for E6? macau maybe? |
17:04.10 | bluelightning | ao2: yep |
17:04.31 | ao2 | let me take a look at the A1200 source code I have here |
17:05.39 | kundancool | bluelightning: take a look at this |
17:05.42 | kundancool | http://www.motorolafans.com/forums/e6-firmware/30695-firmware-r535h10_g_11-87-22p-by-kundan.html |
17:05.52 | kundancool | may be you will like to have this on your phone |
17:05.56 | kundancool | :) |
17:05.58 | ao2 | arch/arm/def-configs/ezx-macau:CONFIG_MACAU_LED=y |
17:07.54 | ao2 | #if defined(CONFIG_MACAU_LED) || defined(CONFIG_PENGLAI_LED) |
17:07.54 | ao2 | <PROTECTED> |
17:07.54 | ao2 | #endif |
17:09.16 | kundancool | ao2: have you read the documents that have many information about macau E6 ? |
17:09.42 | ao2 | kundancool, this is the kernel code motorola released |
17:09.47 | ao2 | /* Actually Macau uses EL instead of LED. |
17:09.48 | ao2 | <PROTECTED> |
17:09.48 | ao2 | <PROTECTED> |
17:13.11 | bluelightning | interesting |
17:13.44 | bluelightning | so does the motorola source contain all the info necessary? |
17:16.16 | *** join/#openezx kundancool (~kundancoo@117.200.83.21) |
17:16.17 | ao2 | bluelightning, I cannot say it is 100% matching the distributed binary, but it is fairly complete even if messy sometimes |
17:16.52 | ao2 | ah you were asking only about the leds? I thought it was a more general question. |
17:17.58 | ao2 | AUX4 can be controlled by leds-regulator, it is used for a910 keypad led too |
17:18.44 | bluelightning | ao2: well, for the general case it's also interesting as well; after all there will probably be other fixes needed I'm guessing |
17:18.58 | ao2 | maybe GPIO89 is used to provide more power? I am not sure about that |
17:28.37 | kundancool | ao2: you know from starting I was not at all feared to flash my phone on Linux but really since my E6 got dead I almost lost my 90% confidence |
17:29.12 | kundancool | and I am really feared to test the new compiled moto-boot-usb |
17:41.56 | *** join/#openezx varunb (~varun@122.162.52.153) |
18:21.16 | *** join/#openezx pr0d1gy (~pr0d1gy@122.177.2.153) |
18:36.29 | *** join/#openezx Marex (vasum7am@u-sl.ms.mff.cuni.cz) |
18:38.06 | kundancool | Good Night everyone :) |
18:38.25 | *** part/#openezx kundancool (~kundancoo@117.200.83.21) |
19:28.54 | *** join/#openezx pr0d1gy (pr0d1gy@122.163.112.186) |
19:37.43 | *** join/#openezx pr0d1gy (pr0d1gy@122.163.68.83) |
20:53.03 | ao2 | bluelightning, what leds are there on E6? |
20:54.08 | ao2 | could you try a patch like this one? http://pastebin.com/ngARM5ET |
21:31.46 | bluelightning | I think there's only one "led" illuminating the buttons at the bottom |
21:32.00 | bluelightning | ao2: ok can test that sure |
21:32.16 | bluelightning | had somewhat of a breakthrough with opie on the fb... though I'm not sure what to make of it |
21:32.55 | bluelightning | got the 18bpp patch applying but the screen was still garbled; I wasn't sure what to do but on a whim I tried playing around with fbset |
21:33.19 | bluelightning | turns out fbset -depth 24 + the patch produces a nice working display |
21:34.08 | bluelightning | although frankly I need to test without the patch just to ensure it's actually doing something |
21:43.38 | *** join/#openezx florian (~fuchs@Maemo/community/contributor/florian) |
21:55.04 | ao2 | the fb should act as a 32bpp (or 24bpp) display even if it has 18bpp color _depth_ |
21:55.48 | ao2 | that's how we get it working in X at least |
21:57.01 | ao2 | bluelightning, if the patch is not enough you should be able to play with gpio89 using gpio-tools to understand if both vaux4 regulator and gpio89 are needed |
21:57.14 | ao2 | I mean the leds patch :) |
22:49.10 | *** join/#openezx penghb (~penghb@202.108.130.138) |
23:46.52 | *** join/#openezx WyrM (~WyrM@unaffiliated/wyrm) |