irclog2html for #htc-blueangel on 20051207

00:00.08cp15When I unload the touchscreen module and reload it, it works again. But the battery code does nothing unusual
00:00.12cp15Ah, I will check
00:00.29lkclokay.  then what i would suggest that you consider doing is simply this:
00:00.40lkclafter every battery read, re-run the reset sequence (!)
00:00.54lkclincluding the delays etc.
00:00.58cp15No, SPI is not the problem, the driver only uses tsc2200_write and tsc2200_read
00:01.41lkcli 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.44cp15There 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.36lkclthat'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.55cp15I assume this is already handled in tsc2200_write:
00:03.01cp15<PROTECTED>
00:03.01cp15<PROTECTED>
00:03.01cp15<PROTECTED>
00:03.01cp15<PROTECTED>
00:03.02lkclmy guess is that the battery sequence read is setting some bits that are not then being ...
00:03.12cp15Quite possible
00:03.13lkcloh.  yeh.  duh.  sorry :)
00:03.47lkcl... put back.  the "setup" sequence was... awful, and took a lot of reverse-engineering to get right (about 10 weeks)
00:04.12cp15Since the battery measurement is too coarse anyway, I think we have to stick to the second A/D converter
00:04.39cp15It seems to be integrated into the dpram asic... And its setup is a bit complicated
00:04.54lkclthere's 2 ways to measure the battery? :)
00:05.07cp15You really tried 10 weeks? I would have given up earlier
00:05.40cp15It seems so. Don't know what HTC thought when they designed it
00:06.01lkclwell, 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.22lkclwhich is why i'm so delighted to hear that you're on the case for the blueangel.
00:06.23lkcloh.
00:06.24lkclbtw.
00:06.53lkcldid you ever get GPRS working?  are they still using that awful, stupid MS-patented communications protocol with ctrl-b and ctrl-v?
00:07.05cp15Audio wasn't easy... It still does work only with the help of haret. There seems to be a hidden setup somewhere
00:07.12cp15Yes, GPRS works
00:07.15lkcleek.
00:07.17lkcl_excellent_
00:07.23cp15Yes, ctrl-b and ctrl-v is necessary
00:07.41cp15But the setup for gprs is quite special
00:08.22cp15You 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.39lkclyes.  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.46lkcleek!
00:09.11lkclmad, completely mad.
00:09.31lkclokay - so where's all the code?
00:09.51cp15Nice 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.57cp15in the xanadux cvs
00:10.13lkclunder what directory?
00:10.39lkclor should i say, under what cvs tag?
00:10.49lkclbrowse time...
00:10.51cp15linux-2.6
00:11.04cp15K2-6-12-hh2-xda0-ba0
00:11.04lkcllinux-2.6-xda, yes?
00:11.11lkclaw, gawd :)
00:11.46lkcli was wondering why cvs update didn't cut it :)
00:12.22lkclokay.  i _really_ have to go get some sleep.  nice talking to you, cp15.  lamikr.
00:12.42lamikrit was nice to meet you lkcl
00:12.47lkclla!
00:13.15cp15I will now go to bed also. It is already past 1 here
00:13.27cp15Good night and hope to see you again
00:13.32lamikr2.25 am here. So good night
00:14.16cp15lamikr: I hope I am able to test your patch tomorrow (actually today) and will then commit the result into cvs
00:15.37cp15Good 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.01rob_w-cgimahlzeit
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.56lkclhello again
11:38.27lkcli ordered an o2 xda IIs and it's free because my tariff is so stupidly high
11:39.19lkclmuhahahahah *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.10cp15Good morning
16:39.42rob_w-cgihey
16:46.32cp15Hi rob
16:56.41cp15Got to go
16:56.42cp15bbl
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.32JuNuKN~seen llange
18:57.40aptllange <n=llange@lange.nom.fr> was last seen on IRC in channel #htc-blueangel, 7d 20h 8m 42s ago, saying: 'no probs. =)'.
18:58.51JuNuKN~seen iclem
18:58.53apticlem <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.47ben017fhi 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.42rob_w~seen cp15
20:36.53aptcp15 <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.10cp15re
22:58.21lamikrhi cp15
22:59.52cp15Hi lamikr
23:00.04cp15Not yet ;-)
23:00.44lamikrOk :-)
23:30.51cp15Ok, time to go to bed
23:30.53cp15Good night

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.