| 00:00.08 | cp15 | When I unload the touchscreen module and reload it, it works again. But the battery code does nothing unusual |
| 00:00.12 | cp15 | Ah, I will check |
| 00:00.29 | lkcl | okay. then what i would suggest that you consider doing is simply this: |
| 00:00.40 | lkcl | after every battery read, re-run the reset sequence (!) |
| 00:00.54 | lkcl | including the delays etc. |
| 00:00.58 | cp15 | No, SPI is not the problem, the driver only uses tsc2200_write and tsc2200_read |
| 00:01.41 | lkcl | i understand - but is the number of times that tsc2200_write is called _equal_ to the number of times that tsc220_read is called? they _must_ match. |
| 00:01.44 | cp15 | There might be a lot of battery reads. There is a ipaq_sleep process which looks into /proc/apm every 2 seconds and so triggers a battery read |
| 00:02.36 | lkcl | that's a bit many - but it's a first approximation. if it works, you can always come back and work out what bits are actually needed. |
| 00:02.55 | cp15 | I assume this is already handled in tsc2200_write: |
| 00:03.01 | cp15 | <PROTECTED> |
| 00:03.01 | cp15 | <PROTECTED> |
| 00:03.01 | cp15 | <PROTECTED> |
| 00:03.01 | cp15 | <PROTECTED> |
| 00:03.02 | lkcl | my guess is that the battery sequence read is setting some bits that are not then being ... |
| 00:03.12 | cp15 | Quite possible |
| 00:03.13 | lkcl | oh. yeh. duh. sorry :) |
| 00:03.47 | lkcl | ... put back. the "setup" sequence was... awful, and took a lot of reverse-engineering to get right (about 10 weeks) |
| 00:04.12 | cp15 | Since the battery measurement is too coarse anyway, I think we have to stick to the second A/D converter |
| 00:04.39 | cp15 | It seems to be integrated into the dpram asic... And its setup is a bit complicated |
| 00:04.54 | lkcl | there's 2 ways to measure the battery? :) |
| 00:05.07 | cp15 | You really tried 10 weeks? I would have given up earlier |
| 00:05.40 | cp15 | It seems so. Don't know what HTC thought when they designed it |
| 00:06.01 | lkcl | well, i _did_ give up - when i started on the sound driver. my head had already been done in by the tsc2200 (and by bloody TI) and i couldn't cope with the audio driver as well so stopped... |
| 00:06.22 | lkcl | which is why i'm so delighted to hear that you're on the case for the blueangel. |
| 00:06.23 | lkcl | oh. |
| 00:06.24 | lkcl | btw. |
| 00:06.53 | lkcl | did you ever get GPRS working? are they still using that awful, stupid MS-patented communications protocol with ctrl-b and ctrl-v? |
| 00:07.05 | cp15 | Audio wasn't easy... It still does work only with the help of haret. There seems to be a hidden setup somewhere |
| 00:07.12 | cp15 | Yes, GPRS works |
| 00:07.15 | lkcl | eek. |
| 00:07.17 | lkcl | _excellent_ |
| 00:07.23 | cp15 | Yes, ctrl-b and ctrl-v is necessary |
| 00:07.41 | cp15 | But the setup for gprs is quite special |
| 00:08.22 | cp15 | You have the serial line to communicate with the at interpreter and if you start a data connection, you have to receive/send the data via a dual ported ram |
| 00:08.39 | lkcl | yes. i managed to work out the startup sequence of the GSM radio rom, then was able to play with sending some silly sequences and actually get the ctrl-b and ctrl-v stuff going. ... huhn? :) |
| 00:08.46 | lkcl | eek! |
| 00:09.11 | lkcl | mad, completely mad. |
| 00:09.31 | lkcl | okay - so where's all the code? |
| 00:09.51 | cp15 | Nice on one hand, since you don't have to worry about escaping out of the data stream and the at interpreter remains as it is, but bad on the other hand, you have to deal with 2 uarts |
| 00:09.57 | cp15 | in the xanadux cvs |
| 00:10.13 | lkcl | under what directory? |
| 00:10.39 | lkcl | or should i say, under what cvs tag? |
| 00:10.49 | lkcl | browse time... |
| 00:10.51 | cp15 | linux-2.6 |
| 00:11.04 | cp15 | K2-6-12-hh2-xda0-ba0 |
| 00:11.04 | lkcl | linux-2.6-xda, yes? |
| 00:11.11 | lkcl | aw, gawd :) |
| 00:11.46 | lkcl | i was wondering why cvs update didn't cut it :) |
| 00:12.22 | lkcl | okay. i _really_ have to go get some sleep. nice talking to you, cp15. lamikr. |
| 00:12.42 | lamikr | it was nice to meet you lkcl |
| 00:12.47 | lkcl | la! |
| 00:13.15 | cp15 | I will now go to bed also. It is already past 1 here |
| 00:13.27 | cp15 | Good night and hope to see you again |
| 00:13.32 | lamikr | 2.25 am here. So good night |
| 00:14.16 | cp15 | lamikr: I hope I am able to test your patch tomorrow (actually today) and will then commit the result into cvs |
| 00:15.37 | cp15 | Good night |
| 06:41.37 | *** join/#htc-blueangel dave (n=dave@lsn-boi-catv-c122-p224.vtx.ch) |
| 07:22.56 | *** join/#htc-blueangel JuNuKN (n=JuNuKN@K83dc.k.pppool.de) |
| 08:26.22 | *** join/#htc-blueangel rob_w-cgi (n=txuser@dd1010.kasserver.com) |
| 08:26.22 | *** mode/#htc-blueangel [+o rob_w-cgi] by ChanServ |
| 08:27.01 | rob_w-cgi | mahlzeit |
| 11:26.54 | *** join/#htc-blueangel _cronos_ (n=cronos@ron34-1-82-224-149-102.fbx.proxad.net) |
| 11:37.01 | *** join/#htc-blueangel lkcl (n=lkcl@bb-87-82-26-80.ukonline.co.uk) |
| 11:37.56 | lkcl | hello again |
| 11:38.27 | lkcl | i ordered an o2 xda IIs and it's free because my tariff is so stupidly high |
| 11:39.19 | lkcl | muhahahahah *cackle* |
| 16:33.56 | *** join/#htc-blueangel cp15 (i=bcajcd@p549A3A56.dip0.t-ipconnect.de) |
| 16:33.56 | *** mode/#htc-blueangel [+o cp15] by ChanServ |
| 16:34.10 | cp15 | Good morning |
| 16:39.42 | rob_w-cgi | hey |
| 16:46.32 | cp15 | Hi rob |
| 16:56.41 | cp15 | Got to go |
| 16:56.42 | cp15 | bbl |
| 17:27.36 | *** join/#htc-blueangel oho_ (n=oho@81-179-102-250.dsl.pipex.com) |
| 18:50.27 | *** join/#htc-blueangel iclem (n=iclem@iclem.net) |
| 18:57.08 | *** join/#htc-blueangel JuNuKN (n=JuNuKN@Kb2c0.k.pppool.de) |
| 18:57.32 | JuNuKN | ~seen llange |
| 18:57.40 | apt | llange <n=llange@lange.nom.fr> was last seen on IRC in channel #htc-blueangel, 7d 20h 8m 42s ago, saying: 'no probs. =)'. |
| 18:58.51 | JuNuKN | ~seen iclem |
| 18:58.53 | apt | iclem <n=chatzill@iclem.net> was last seen on IRC in channel #htc-blueangel, 1d 18h 21m ago, saying: '~seen llange'. |
| 19:05.38 | *** join/#htc-blueangel rob_w (n=bob@p85.212.134.83.tisdip.tiscali.de) |
| 19:05.39 | *** mode/#htc-blueangel [+o rob_w] by ChanServ |
| 19:13.05 | *** join/#htc-blueangel _cronos_ (n=cronos@ron34-1-82-224-149-102.fbx.proxad.net) |
| 20:20.04 | *** join/#htc-blueangel ben017f (n=ben@219-88-85-171.jetstream.xtra.co.nz) |
| 20:20.47 | ben017f | hi all, just seen the page on handhelds.org... WOW!! :D |
| 20:35.37 | *** join/#htc-blueangel rob_w (n=bob@p85.212.134.83.tisdip.tiscali.de) |
| 20:35.37 | *** mode/#htc-blueangel [+o rob_w] by ChanServ |
| 20:36.42 | rob_w | ~seen cp15 |
| 20:36.53 | apt | cp15 <i=bcajcd@p549A3A56.dip0.t-ipconnect.de> was last seen on IRC in channel #htc-blueangel, 3h 40m 11s ago, saying: 'bbl'. |
| 20:59.54 | *** join/#htc-blueangel iclem (n=iclem@iclem.net) |
| 22:46.04 | *** join/#htc-blueangel _cronos_ (n=cronos@ron34-1-82-224-149-102.fbx.proxad.net) |
| 22:57.55 | *** join/#htc-blueangel cp15 (i=csiijx@p549A3A56.dip0.t-ipconnect.de) |
| 22:57.55 | *** mode/#htc-blueangel [+o cp15] by ChanServ |
| 22:58.10 | cp15 | re |
| 22:58.21 | lamikr | hi cp15 |
| 22:59.52 | cp15 | Hi lamikr |
| 23:00.04 | cp15 | Not yet ;-) |
| 23:00.44 | lamikr | Ok :-) |
| 23:30.51 | cp15 | Ok, time to go to bed |
| 23:30.53 | cp15 | Good night |