IRC log for #htc-linux on 20100118

00:08.51*** join/#htc-linux ChazCT (n=chazct@216-164-205-85.c3-0.tlg-ubr2.atw-tlg.pa.cable.rcn.com)
00:10.41*** join/#htc-linux MSM1 (n=michael@222-155-71-177.jetstream.xtra.co.nz)
00:13.21mcwow. i evidently haven't done enough kernel work
00:13.46mci'm reading through the code for the battery reading, and i have no friggin idea what's going on
00:13.49mchaha
00:13.56tmzthmm
00:14.01tmztthat's hard stuff
00:14.52makkonenI get that feeling when I read through the code for anything. I guess that's the upside. I don't know what's really hard and what's not, so I go at it all with the same sort of optimism.
00:15.12mcyeah, that's what i do
00:15.22mcif i see something not working right, i just read the code and see
00:17.18mci see a bunch of math relating to the current, voltage, temperature, and a fourth variable i don't see documented
00:17.34makkonenwhat code are you looking at?
00:18.16mcbattery.c
00:18.27mcfrom the linuxtogo git copy of the kernel
00:18.51mcit's arch/arm/mach-msm/battery/battery.c
00:19.02mchtc_get_batt_info is the function i'm reading
00:19.16makkonenit seems to calculate (very poorly) off of voltage - correction factor for charging rate (i.e. voltage goes up if it's charging) + correction factor for discharge rate (voltage goes down if there's a high draw? I don't remember the physics of batteries)
00:19.46makkonenhmm. all I've looked at closely is htc_battery_smem.c from gitorious. don't know if it's similar.
00:19.53mcit's also doing a fudge factor based on temperature
00:20.13sse2cr2: oops sorry, wasn't here. yeah 16 bytes after a 512 bytes page, as far as I can tell, page size is always 32 times the oob
00:20.15makkonenit's all fudge.
00:20.29mcyeah, it seems it's 90% guess work
00:23.13makkonenwhat device are you working on?
00:23.20mcA KAISER
00:23.25mcoops, sorry about the caps
00:26.40*** join/#htc-linux marcin_ (n=marcin@chello089077185059.chello.pl)
00:29.20makkonenmc: what's the fourth variable?
00:30.04tmztask cr2 when he gets back if he gets back
00:30.40makkonentmzt: does your rhodium display anything for battery status?
00:30.52mci haven't a clue, i'm still figuring out where it's actually reading the data from
00:30.59mci found a driver with some i2c calls too
00:32.02tmztmakkonen: I only boot occasionally right now
00:32.07tmztand not usually android
00:32.32makkonenok
00:32.42mcwhat's making me somewhat confused, is i know i've seen when booted messages stating the battery's current is around 2100mAh
00:32.56mcwhich is really odd seeing as the battery's label says it's only a 1350mAh capacity
00:33.11makkonenI was just wondering, since it's got the same 32bit battery status fields as the cdma devices, if it was as irredeemably effed as they were.
00:33.28ToAsTcfhtmzt: so yay were getting logs!!!! http://pastebin.com/d6a33cd39
00:33.40tmztwho is?
00:33.57makkonenmc: current would be mA, not mAh, no?
00:33.58ToAsTcfhthe heroc kernel joe is working on
00:34.21tmztcurrent isn't mAh it's mA
00:34.29tmztcool
00:34.32tmzthow far?
00:34.35mcwell that explains that confusion
00:34.36ToAsTcfhits gsm hero turned cdma heroc :D
00:35.16mci do know, by reading this driver, that it seems it won't be able to measure status right until the battery is seen fully charged while linux is booted
00:35.17makkonenmc: and, furthermore, I don't think there's any way you'd be pulling over 2A. A) the battery would last 30 minutes. B) you'd burn yourself.
00:35.17ToAsTcfhoh were still early init
00:35.43mcit uses a last seen sort of thing to find the capacity
00:36.24ToAsTcfhtmzt: sorry i forgot no links lol
00:36.48tmztyeah
00:36.53*** join/#htc-linux Dinde (i=kayser@sur-internet.net)
00:37.15ToAsTcfhwhy cant u get links again?
00:38.18tmztI used to highlight them with stylus but now that scrolls
00:38.40ToAsTcfhahh ur on the phone
00:39.09tmztyes
00:39.30ToAsTcfhi havent found a good irc client for android. they have a few but i cant get any of them to work
00:40.13ToAsTcfhbut yeah were now at failing smd issues
00:41.27tmztthat's normal
00:41.35ToAsTcfh[    4.657135] msm_pm_wait_state(80, 0, 0, 0) failed 10d29
00:41.35ToAsTcfh[    4.657135] msm_sleep(): msm_pm_wait_state failed, 10d29
00:41.35ToAsTcfh[    4.657135] _smem_find(93): not allocated.
00:41.35ToAsTcfh[    4.776977] synaptics_ts_work_func: bad read 0 0 ff ff ff ff ff ff ff ff ff ff ff ff ff, ret 2
00:41.35ToAsTcfh[    4.779449] _smem_find(93): not allocated.
00:41.38tmztadd something to dump smsm table
00:42.01tmztyou can't expect pm to work yet
00:42.03tmztdisable it
00:42.11tmztincluding apps sleep
00:42.19ToAsTcfhpm?
00:42.29tmztalso i2c for synaptics might be different address
00:42.33tmztor it's cypress
00:42.38tmztpower management
00:42.44ToAsTcfhoh yeah
00:43.12tmztjust disable drivers until they work
00:43.26tmztyou can run i2ctools from userspace
00:43.34ToAsTcfhyeah smd for the hero looks alot like  the diam/raph stuff. almost word for word
00:44.11tmzttry raph800 stuff
00:44.16ToAsTcfhit looks like the winmo stuff but tightened up
00:44.20tmztbut dump smsm first
00:44.36ToAsTcfhhow to dump it
00:45.29tmztfor loop?
00:45.44ToAsTcfhyeah we get a boot loop
00:45.53tmzthuh
00:46.06tmztno, iterate through the table and dump the entires
00:46.14tmztor check the log and grep them out
00:46.51ToAsTcfh/proc/last_kmsg
00:46.59ToAsTcfhis what are log is
00:47.08tmztcool
00:47.14tmzthow did you do that?
00:47.23ToAsTcfhmajrep
00:47.33ToAsTcfhdid it
00:47.49ToAsTcfhi guess it just happened after he played all night
00:48.05tmztare you missing smd devicees?
00:48.42ToAsTcfh4.330200] _smem_find(93): not allocated.
00:48.51tmztright
00:49.01tmztwhy are you using smem_find?
00:49.03*** join/#htc-linux alphaone|gone (n=alphaone@2001:638:602:af01:0:0:0:1)
00:49.08tmztalso, try the raph800 version
00:49.13tmztit's for 7501a
00:49.54ToAsTcfhgit://git.linuxtogo.org/home/groups/mobile-linux/kernel.git?
00:50.15tmztno
00:50.22tmztgitorious.org now
00:50.22ToAsTcfhuhg
00:50.29tmztsearch for qualcomm
00:50.48tmztsee what changes were made for smsm and smem
00:50.56tmztimport those to your kernel
00:51.03ToAsTcfhyeah he put the heroc kernel up there
00:51.25tmztsource?
00:51.28tmzton ltg?
00:53.28ToAsTcfhyeah the converted source. search for heroc. its the only thing that will come up lol
00:54.11ToAsTcfhhe was saying that hard-coded fifo buffer offsets may be an issue with using stuff from the daim/raph
00:54.57ToAsTcfhours are actually stored in the heap toc
00:55.22ToAsTcfhidk but ill look into the raph800
00:56.09ToAsTcfhwait he put the heroc up on github sorry
00:59.11tmztwhere is it?
00:59.31tmztwhy hard coded?
00:59.44tmztoh, the raph800 stuff is hard coded, I see
00:59.47tmztyeah I forgot
00:59.56tmztadd full smem dump driver to dbgfs
01:00.08tmztand you can find the relevant structs in there
01:02.50*** join/#htc-linux ALoGeNo (n=alogeno@unaffiliated/alogeno)
01:05.26*** join/#htc-linux ALoGeNo (n=alogeno@unaffiliated/alogeno)
01:10.19ToAsTcfhtmzt: still cant find smem dump. whats it calledor haw to enable?
01:10.46tmztyou have to write it
01:10.56tmztno different than last_kmesg I think
01:11.34*** join/#htc-linux Traveler0 (n=traveler@cpe-066-057-232-249.nc.res.rr.com)
01:11.57ToAsTcfhohhhh. u didnt know i suck at c. i hope its already been done
01:13.56tmztjust change the address :)
01:18.30*** join/#htc-linux randomblame (n=kevin@c-71-59-184-96.hsd1.wa.comcast.net)
01:19.27*** join/#htc-linux surge (i=surge@pool-98-118-154-21.bflony.fios.verizon.net)
01:21.02*** join/#htc-linux theknigh (n=cfnzin@89.180.2.154)
01:33.34*** join/#htc-linux kupo (i=kupo@pinky.ratman.org)
01:33.49ToAsTcfhtmzt: i hope tios is what is for raph800 git://gitorious.org/linux-on-qualcomm-s-msm/linux-msm.git
01:34.02ToAsTcfhim pull ng it now
01:34.27tmztyes
01:37.08ToAsTcfhsweet. yeah i cant find the last_kmesg deal even with grep. so ill just look at the raph800 stuff till i can find it
01:37.50ToAsTcfhthis repository is massive!!!
01:44.09*** join/#htc-linux swc|666 (n=infidel2@unaffiliated/swc666/x-4934821)
01:44.21tmztit's not in there
01:44.25tmztit's in heroc
01:44.44ToAsTcfhi know thats what im greping
01:44.45tmztdo you have htc-msm-2.6.27 from linux-msm checked out?
01:44.50tmztgit grep
01:48.50*** join/#htc-linux m3dlg (n=m3dlg@bb-87-81-252-83.ukonline.co.uk)
01:51.21*** join/#htc-linux MSM (n=michael@222-155-66-94.jetstream.xtra.co.nz)
01:54.17*** join/#htc-linux theknigh (n=cfnzin@89.180.2.154)
01:54.17*** join/#htc-linux marcin_ (n=marcin@chello089077185059.chello.pl)
01:54.17*** join/#htc-linux Tinyboom_ (n=nahh@ti0121a340-dhcp0200.bb.online.no)
01:54.17*** join/#htc-linux Sti_0239 (n=Where_is@155.214-244-81.adsl-dyn.isp.belgacom.be)
01:54.17*** join/#htc-linux rashire (n=ed1112wa@pool-98-114-205-192.phlapa.fios.verizon.net)
01:54.18*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
01:54.18*** join/#htc-linux MethoS- (n=clemens@134.102.106.250)
01:54.18*** join/#htc-linux mrmoku|away (n=mrmoku@ppp-188-174-7-126.dynamic.mnet-online.de)
01:54.18*** join/#htc-linux kam187 (n=kam187@81-179-8-102.dsl.pipex.com)
01:54.18*** join/#htc-linux Kevin2 (n=Kevin2@207-172-165-101.s101.tnt1.nywnj.ny.dialup.rcn.com)
01:54.18*** join/#htc-linux DJWillis (n=djwillis@82-46-19-72.cable.ubr02.bath.blueyonder.co.uk)
01:54.18*** join/#htc-linux mpurcell (n=mpurcell@sholes.info)
02:00.45*** join/#htc-linux x29a_ (n=x29a@unaffiliated/x29a)
02:03.03*** join/#htc-linux CyberScript32_ (n=cfnzin@89.180.2.154)
02:18.39*** join/#htc-linux babijoee (n=joee@110.33.178.90)
02:44.59*** join/#htc-linux ToAsTcfh (n=toast@110-43.200-68.tampabay.res.rr.com)
02:52.58ToAsTcfhdamb i miss typed my email when adding my nick now im fuct on some channels
03:15.32*** join/#htc-linux CoKe_Lappy (n=imcokema@pool-96-240-154-30.hrbgpa.fios.verizon.net)
03:35.43*** join/#htc-linux jeremychang (n=jeremych@61-30-10-70.static.tfn.net.tw)
04:08.55*** join/#htc-linux NexVision (n=a@c-76-109-33-88.hsd1.fl.comcast.net)
04:09.15*** join/#htc-linux Psychonerd (n=Casey@67.143.1.240)
05:10.02*** join/#htc-linux tehtrk_home (n=quassel@adsl-68-91-145-91.dsl.wacotx.swbell.net)
05:17.48*** join/#htc-linux droid001 (n=g1@p4FDC939A.dip.t-dialin.net)
05:56.37*** join/#htc-linux goxboxlive (n=jrs@mail2.hjellnesconsult.no)
06:25.21*** join/#htc-linux marcydarcy (i=4d18075f@gateway/web/freenode/x-lywefcuuwbcascti)
06:33.19maejreptmzt: it boots!
06:33.41maejrepdoesn't do much after that.  but it boots, and initializes the panel, and registers my nav/keypad presses
06:33.57maejrepfinds all the mtd partitions, but doesn't seem to be mounting them
06:34.13maejrepakm and microp i2c drivers are still throwing errors
06:34.22maejrephttp://xda.privatepaste.com/209bb8c85e
07:06.51*** join/#htc-linux jumoit (n=samuel@121.77.87.145)
07:22.56*** join/#htc-linux toer (i=tore@179.81-166-86.customer.lyse.net)
07:29.27*** join/#htc-linux toi (n=toi@d54C2A96D.access.telenet.be)
07:46.54*** join/#htc-linux recKon (n=kvirc@124.82.62.121)
07:57.40*** join/#htc-linux kiozen (n=oeichler@p549215DE.dip0.t-ipconnect.de)
08:11.49*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
08:14.59*** join/#htc-linux itchy8me (n=itchy8me@ip80-116-211-87.adsl2.static.versatel.nl)
08:45.26*** join/#htc-linux leobaillard (n=leobaill@leobaillard.org)
08:47.27*** join/#htc-linux jeremychang (n=jeremych@61-30-10-70.static.tfn.net.tw)
09:00.13*** join/#htc-linux kvaster_ (n=kvaster@93.84.112.80)
09:17.51*** join/#htc-linux MrPippy (n=pip@adsl-75-37-167-3.dsl.sndg02.sbcglobal.net)
09:18.37*** join/#htc-linux Markinus (n=markus@gtng-4db043bb.pool.mediaWays.net)
09:24.13*** join/#htc-linux rayman18 (n=opera@residL-102-227.uc3m.es)
09:44.27*** join/#htc-linux apt_ (i=ibot@rikers.org)
09:44.27*** topic/#htc-linux is Welcome to htc-linux | Project homepage and wiki http://htc-linux.org | Livelogs: http://irclog.netripper.com/?chan=htc-linux | Logs: http://apt.rikers.org/%23htc-linux | htc-linux is not android
09:49.56*** join/#htc-linux zz_rosseaux (i=znc@129-167-19-84.nbiserv.com)
09:51.26*** join/#htc-linux kvaster (n=kvaster@93.84.112.80)
10:16.03*** join/#htc-linux slight (n=23hdci27@217.130.58.175)
10:16.35slighthi. is there any way to set up a kernel syslog type arrangement to the sd card on eclair?
10:17.00slightphone keeps hanging, i think when a certain app brings it out of sleep, but hard to tell which
10:20.12*** join/#htc-linux MarcLandis (n=drettsch@port-92-195-10-37.dynamic.qsc.de)
10:37.49*** join/#htc-linux nrirclog600 (n=nrirclog@netripper.com)
10:38.06*** join/#htc-linux alphaone|gone (n=alphaone@2001:638:602:af01:0:0:0:1)
10:44.05*** join/#htc-linux apt (i=ibot@rikers.org)
10:44.05*** topic/#htc-linux is Welcome to htc-linux | Project homepage and wiki http://htc-linux.org | Livelogs: http://irclog.netripper.com/?chan=htc-linux | Logs: http://apt.rikers.org/%23htc-linux | htc-linux is not android
10:44.06*** join/#htc-linux alphaone|gone (n=alphaone@2001:638:602:af01:0:0:0:1)
10:44.28*** join/#htc-linux droid001 (n=g1@p4FDC939A.dip.t-dialin.net)
10:48.53*** join/#htc-linux apt (i=ibot@rikers.org)
10:48.53*** topic/#htc-linux is Welcome to htc-linux | Project homepage and wiki http://htc-linux.org | Livelogs: http://irclog.netripper.com/?chan=htc-linux | Logs: http://apt.rikers.org/%23htc-linux | htc-linux is not android
10:49.47*** join/#htc-linux alphaone|gone (n=alphaone@2001:638:602:af01:0:0:0:1)
10:54.18*** join/#htc-linux apt (i=ibot@rikers.org)
10:54.18*** topic/#htc-linux is Welcome to htc-linux | Project homepage and wiki http://htc-linux.org | Livelogs: http://irclog.netripper.com/?chan=htc-linux | Logs: http://apt.rikers.org/%23htc-linux | htc-linux is not android
11:41.59*** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl)
11:55.12*** part/#htc-linux jumoit (n=samuel@121.77.87.145)
12:01.05*** join/#htc-linux Untouchab1e (n=Untoucha@82.147.51.146)
12:19.43*** join/#htc-linux Billyonthemounta (n=Miranda@stiitcsc412.epfl.ch)
12:19.43*** join/#htc-linux tsamolotoff (i=tsamolot@188.162.62.141)
12:19.49tsamolotoffhi there
12:20.40tsamolotoffi'm a happy owner of a snapdragon-enabled device.. So guys, who can hint me at the right ramaddr for qsd8x50?
12:24.23*** join/#htc-linux sxe (n=quassel@ip-62-143-102-161.unitymediagroup.de)
12:24.25*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
12:30.39*** join/#htc-linux tsamolotoff (i=tsamolot@188.162.62.141)
12:30.50tsamolotoffanyone here?
12:33.53slightit's been pretty quiet for a while
12:34.03tsamolotoffso, what's about qsd8x50?
12:34.10slightno idea sorry
12:34.27tsamolotoff:(
12:34.39slighti was here for help too, not a kernel dev :)
12:34.44tsamolotoffmaybe google nexus kernel branch can help me
12:35.36*** join/#htc-linux GNUtoo (n=GNUtoo@host82-133-dynamic.54-79-r.retail.telecomitalia.it)
12:35.58tsamolotofftried to compile codeaurora's qsd branch myself with 2009-q3 toolchain from codesourcery, it didn't want to compile if vfp/neon were enabled...
12:36.34*** join/#htc-linux dacm_work (n=dan@host86-177-183-160.range86-177.btcentralplus.com)
12:38.27dacm_workHi guys.
12:38.44dacm_workAnyone got linux on and HD2 or a Touch Pro 2 yet?
12:41.15tsamolotoffand what's the problems with TP2? It's based on the same chip as TP
12:55.30*** join/#htc-linux zycho (n=zycho@f054218011.adsl.alicedsl.de)
13:08.34*** join/#htc-linux stefand1 (n=stefan@uu194-7-153-125.unknown.uunet.be)
13:10.55*** join/#htc-linux Untouchab1e (n=Untoucha@82.147.51.146)
13:17.10*** join/#htc-linux gnutoo_ (n=GNUtoo@host82-133-dynamic.54-79-r.retail.telecomitalia.it)
13:21.21*** join/#htc-linux toi (n=toi@d54C2A96D.access.telenet.be)
13:23.44*** part/#htc-linux Untouchab1e (n=Untoucha@82.147.51.146)
13:27.24tsamolotoffis there some way to calculate ram addr myself?
13:46.03slightmaybe there's some info about your device on the wiki?
13:46.05slighthttp://www.htc-linux.org/wiki/index.php?title=Main_Page
13:46.38slightmight be worth checking the xda devs wiki too
13:46.54slighthttp://wiki.xda-developers.com/
13:47.10slightmostly htc but i think there are some other devices on there too
13:47.44slightmostly winmo information but there are linux/android pages on there too
13:50.53*** join/#htc-linux x29a (n=x29a@unaffiliated/x29a)
14:02.57*** join/#htc-linux babijoee (n=joee@110.33.178.90)
14:35.01*** join/#htc-linux zycho (n=zycho@f049099031.adsl.alicedsl.de)
14:37.08*** join/#htc-linux surge (n=surge@sw.attotech.com)
14:40.15*** join/#htc-linux alphaone|gone (n=alphaone@2001:638:602:af01:0:0:0:1)
14:44.24tsamolotoffI've read some on XDA... and it seems that all the things are WiP
14:44.35tsamolotoffso we need to wait another year or so
14:49.55*** join/#htc-linux kholk`AFK (n=kholk@unaffiliated/kholk)
14:50.46kholkhi all :D
15:02.00*** part/#htc-linux kam187 (n=kam187@81-179-8-102.dsl.pipex.com)
15:09.50*** join/#htc-linux ToAsTcfh (n=toast@110-43.200-68.tampabay.res.rr.com)
15:17.20*** join/#htc-linux recKon (n=kvirc@60.51.90.14)
15:25.57*** join/#htc-linux mitmancz (n=mitmancz@host-77-236-204-43.blue4.cz)
15:28.27*** join/#htc-linux leviathan (n=quassel@c-82-192-226-27.customer.ggaweb.ch)
15:28.45YellowGTO|Nixhttp://fatpita.net/?i=4549
15:37.59*** join/#htc-linux emwe (n=michael@86.56.50.180)
15:44.21*** join/#htc-linux Boydell (n=Boydell@69.49.58.28)
15:48.44*** join/#htc-linux sdt555 (n=titus@70.113.113.232)
15:53.41*** join/#htc-linux doyser[1] (n=ircap@137.Red-88-17-109.dynamicIP.rima-tde.net)
15:53.45doyser[1]hi all
15:54.05doyser[1]anyone can or have information or skill in hylafax?
15:54.16*** part/#htc-linux sdt555 (n=titus@70.113.113.232)
16:05.04*** join/#htc-linux pH5 (n=ph5@e178210121.adsl.alicedsl.de)
16:05.13*** join/#htc-linux pH5_ (n=ph5@e178210121.adsl.alicedsl.de)
16:07.25*** join/#htc-linux the_sys0p (n=the_sys0@cpe-76-93-251-206.bak.res.rr.com)
16:11.25doyser[1]anyone can or have information or skill in hylafax?
16:13.02*** join/#htc-linux klinux2 (n=root@41.140.8.197)
16:18.58*** part/#htc-linux klinux2 (n=root@41.140.8.197)
16:28.17*** join/#htc-linux surgex (n=surge@sw.attotech.com)
16:29.00*** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring)
16:31.16*** join/#htc-linux surge (n=surge@sw.attotech.com)
16:36.19*** join/#htc-linux the_sys0p (n=the_sys0@cpe-76-93-251-206.bak.res.rr.com)
16:44.11*** join/#htc-linux MarcLandis (n=drettsch@port-92-195-10-37.dynamic.qsc.de)
16:56.17*** join/#htc-linux cyberdesigner (n=cyberdes@port-92-206-51-67.dynamic.qsc.de)
17:02.49*** join/#htc-linux the_sys0p (n=the_sys0@cpe-76-93-251-206.bak.res.rr.com)
17:10.41*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87ccb4.pool.mediaWays.net)
17:21.40*** join/#htc-linux cyberdesigner (n=cyberdes@port-92-206-51-67.dynamic.qsc.de)
17:22.28*** join/#htc-linux leobaillard (n=leobaill@leobaillard.org)
17:26.24*** join/#htc-linux mitmancz (n=mitmancz@host-77-236-194-235.blue4.cz)
17:27.25*** join/#htc-linux NexVision (n=a@c-76-109-33-88.hsd1.fl.comcast.net)
17:29.11*** join/#htc-linux surge (n=surge@sw.attotech.com)
17:49.06*** join/#htc-linux the_sys0p (n=the_sys0@cpe-76-93-251-206.bak.res.rr.com)
17:50.00*** join/#htc-linux Boydell (n=Boydell@69.49.58.28)
17:50.17*** join/#htc-linux kvaster (n=kvaster@live.bn.by)
17:51.59*** join/#htc-linux babijoee (n=joee@110.33.178.90)
17:56.49*** join/#htc-linux Camden (n=Camden@166.135.139.61)
17:57.17CamdenGood morning, folks
17:57.27BoydellMornin
17:57.29AstainHellbringmorning Camden
17:57.51leobaillardevening ;)
17:58.03CamdenNice job on the 1-16 build. Fast, nice. Thanks.
17:58.12BoydellYah, I guess I should be saying afternoon now lol
17:58.41CamdenBtw chatting on it lol. Decent IRC client for droid=AndChat
17:59.50CamdenHaving a phone w/ irc seems so futuristic to me.
17:59.54phh[13:26:36] <tsamolotoff> i'm a happy owner of a snapdragon-enabled device.. So guys, who can hint me at the right ramaddr for qsd8x50? <----- just read the source code
18:00.20phhI mean mahimahi's source code
18:05.29*** join/#htc-linux mickey|office (n=Mickey@dialbs-092-079-168-007.static.arcor-ip.net)
18:07.01phhMarkinus: for GPS, try something else, try using android's libgps
18:11.25Markinusif I enable the gps it'S crashing after 2 oder 3 seconds.  ..
18:12.02MarkinusI think libgps doesn't help there  .. or?
18:12.41phhcrashing ?
18:12.43phhARM9 ?
18:13.01Markinusyes .. .
18:13.09phhoh ok
18:13.19phhbah that's the logs cr2 want :p
18:13.32*** join/#htc-linux c2d (n=Mike@port-92-200-124-245.dynamic.qsc.de)
18:13.36Markinusin the most cases is frizing without any crash output.  .
18:13.49phhonce the ARM9 reset (he is not crashing actually -_-') problem is fixed, gps should be easy
18:13.52phhMarkinus: ramconsole ? :p
18:14.06Markinusthere no too . . .
18:14.14Markinusstrange. .
18:16.13Markinusdid you know the exactly version of AMSS an Dia oder Raph? Is this exactly 5200 ?? It seems that people have problem the the last automatic build . .. AMSS detection . .
18:16.23Markinusor
18:16.38phh52.25 I think
18:17.03phhand I have 52.26
18:17.15phh52.26a
18:17.18phh(sim unlock)
18:17.46phhMarkinus: you'd better do comparative instead of == (ie if amss>5200 && amss < 5300)
18:18.56Markinusyes, I thing so, too
18:19.03Markinusto many cases
18:21.55phhif we had HTC's doc we could do something more precise ... but well... we don't :p
18:23.45Markinusyes . . .:-( I change this,  but a bit closer, a range of  20 is okay too. . . in other case we have a problem with e.g. 6125 and 5150
18:23.48Markinus6150
18:24.03phh6150 are android devices no ?
18:24.48babijoeehi guys
18:25.11phhMarkinus: many people seems to complain about power management on topa/rhod, just to be sure, it's just that they are doing some stupid stuff, like for raph/diam/blac ?
18:25.17phhhi babijoee
18:25.41phhwell you might have problems with wifi on donut
18:26.31*** join/#htc-linux rayman18 (n=opera@residL-102-227.uc3m.es)
18:26.32phhtime to eat
18:31.49CamdenTurning wifi off in the initial setup wizard froze my phone, on the 1-16 build.
18:33.47CamdenBut once the wizard was done, I was able to shut it off normally.
18:35.03Markinusphh: heard this is working very well. I forgot to exit android last night and let my mobile run. After 10h a had ca. 15% accu less, I think this is good! The once problem is the resume of the screen, it needs ca. 5, I don't know how I can do it faster . .
18:37.00CamdenMarkinus: what is ca. 5?
18:37.10*** part/#htc-linux rayman18 (n=opera@residL-102-227.uc3m.es)
18:39.05tmztabout (circa)
18:39.25phhMarkinus: don't ever trust our battery indicator.
18:39.28phhwell
18:39.35phhjust for tendency
18:40.13tmztphh: reset? we can do that now?
18:40.26phhtmzt: arm9 reset ?
18:40.30CamdenThanks tmzt
18:40.54phhtmzt: for gps to work, we need to survive an ARM9 reset
18:41.08*** join/#htc-linux kvaster (n=kvaster@live.bn.by)
18:41.45phhtmzt: and everything I could test survives, only dex doesn't
18:42.38MarkinusCamden: 5 seconds
18:43.01phhoh
18:43.07phh5seconds not 5% battery.
18:43.19Markinusno
18:43.27phhsame problem here
18:44.10Markinusahh, ok . . ..
18:44.22phhbabijoee: btw, 230 pages in less than a month for your android thread. It's even worst than diamond android thread :p
18:45.43tmztit must be possible if ce does it
18:46.22phhtmzt: ce does ~ 3seconds, we aren't that far
18:46.34phhimho we just need to parallelize backlight on and panel on
18:47.45tmztoh, so we have to resume in less than 3 seconds?
18:47.57tmztor make them late_resume
18:48.18tmzthave you done anything else with 2.6.32? this should bbe better there
18:56.55chamonixhey guys
18:57.22CamdenWhat's kickin, ninja?
18:58.01phhI definitely need a notebook (litteraly). I know there was something I wanted to say to chamonix but I forgot what :(
18:59.00chamonix:)
18:59.33slighthey :) is there any way to set up a syslog for kernel messages on android?
18:59.34chamonixphh: I just finished installing hspl and the custom rom for booting xdandroid.... I just had to convice my wife to install SP2
18:59.43chamonixdmesg
18:59.45phh:)
18:59.45slightgetting lockups in sleep
18:59.51*** join/#htc-linux ShadowPhoenix (n=gah@c-98-227-74-29.hsd1.il.comcast.net)
18:59.52slightyeah no good once it's locked up ;)
18:59.58phhslight: which board ?
18:59.59phh~ramconsole
19:00.00aptit has been said that ramconsole is pwf dm 0x8e0000 0x20000
19:00.02phh~ramconsole-diag
19:00.03slightraph100
19:00.03phh~ramconsole-diam
19:00.04aptrumour has it, ramconsole-diam is pwf dm 0x00800000 0x00100000
19:00.07phhslight: ok first one then :p
19:00.29slightsorry, what do i do with that? :)
19:00.48phhslight: create a new folder, put haret.exe in it
19:01.16phhcreate a default.txt file  which contains pwf dm 0x8e0000 0x20000
19:01.28phhthen start haret
19:01.29*** join/#htc-linux daedric (n=daedric@205.56.54.77.rev.vodafone.pt)
19:01.33phhit will create a dm file
19:01.36slightas a separate line, not a boot param?
19:01.47phh*create* a default.txt file
19:01.52slightyeah
19:01.58chamonixphh: to whom shall I talk when it comes to merge some code into android, rebuild it all and pack it to system.sqsh ? I've a valid patch for the SMS problem.... it was rejected by google for whatever reason, the same author merged it into a custom donut
19:01.59*** join/#htc-linux pershoot (n=pershoot@cpe-72-227-138-97.nyc.res.rr.com)
19:02.05pershoothey all
19:02.15phhchamonix: ARGH
19:02.16slightoh
19:02.28slightsorry, default.txt / startup.txt confusion :)
19:02.35chamonixseems noone cares about signs > 7bit
19:02.50stinebd7 bits should be enough for anybody
19:02.55chamonixrofl
19:03.06chamonixslaps stinebd with a éöÀê
19:03.07slightthanks phh
19:03.12phhchamonix: I assume it's a java part ?
19:03.15chamonixsure
19:03.24chamonixsmsservice among aother
19:03.24phhso we have to rebuild everything.
19:03.25phhhave fun.
19:03.32phhsorry
19:03.34phhs/we/you
19:03.43pershootive built htc msm 2.6.32 for HTC dream (g1) from leviathan-incoming, but needed to disable CONFIG_USB_FUNCTION_ETHER in order for it to build successfully. is there a patch available to amend this for dream hardware?
19:03.46chamonixthe build ran the other day but ended with some overflow
19:04.03phhchamonix: you have java 1.5 ?
19:04.13chamonixyes, I installed it besides 1.6
19:04.19phhok
19:04.22phhyou'll have to tell me how :p
19:04.25chamonixbtw how can some1 still use an unsupported version of java?
19:04.31phh:p
19:04.55chamonixeasy.... just install, and export a specific JAVA_HOME
19:05.04daedricJust like someone uses windows...
19:05.06chamonixadd bin to PATH, ur set
19:05.07phhiirc i haven't found it at all :p
19:05.19chamonixlol
19:05.23phhchamonix: anyway, want to have fun with nand ?
19:05.27chamonixtell me when u get at it
19:05.41chamonixphh: y do u think I hspl-ed ? :P
19:05.53phhthat ? :p
19:06.04*** join/#htc-linux GregLem (n=greg@lal69-5-88-171-98-250.fbx.proxad.net)
19:06.24chamonixlol
19:06.31phhchamonix: I have to understand some things before though about partitioning
19:07.00chamonixas long as I'm not the one who has to explain it to you I think we are safe :)
19:07.26phhchamonix: anyway, in /lib/modules you should have some mtdblabla.ko modules
19:07.27phhload them
19:08.12chamonixI read something from babijoee in the forum about certain RAPHs having a different memory capacity..... what's about that and how do I find out?
19:08.24phhdd if=/dev/block/mtdblock0 of=/sdcard/dump-nand bs=8192
19:08.28phhdu -sh /sdcar/dump-nand
19:09.28CamdenSo, I know this gets asked everyday, but I remember it being talked about here on Friday, but don't recall the details: how far are we from nand flashing android to our devices?
19:09.30phhand you'll have a backup of your nand (just not the AMSS part) too :p
19:09.31chamonixI'm afraid I don't have those, I only have lzo*, ramz*, wlan, tiwlan and xvmalloc
19:09.44phhchamonix: download latest zImage + modules at glemsom's
19:09.52phhwell not latest.
19:10.05chamonixawwwww, I run the one I compiled yesterday, it won't copy "official" modules will it?
19:10.24phhah no.
19:10.40phhwell if your tree isn't marked as dirty, glemsom's modules should work
19:10.57chamonixlet me get back to the latest stable I have
19:12.56chamonixbooting
19:14.07phhoh it's not mtdblock0 to use, but mtdchar
19:14.45phhand it's in /dev/mtd/mtd0ro
19:14.55chamonixI must say that lightnhb2 is really cool
19:15.07phh*2* ?
19:15.09phhargh.
19:15.17phhyou need the 3
19:15.57phhbabijoee: do you know where it is ?
19:16.19chamonixphh: so that would be : dd if=/dev/mtd/mtd0ro/mtdchar of=/sdcard/dump-nand bs=8192
19:16.28phhna
19:16.31phh/dev/mtd/mtd0ro
19:17.02chamonixk
19:17.43chamonixwell I picked lightnhb from the first page of the tread, is it an outdated one
19:17.55chamonixbrb, dinner
19:18.33phhthis one prevent us from using the nand properly
19:18.46phhwell the worst thing that may happen is that you'll have to reflash, so we can still try
19:18.48ShadowPhoenixQuick question, is there a big difference from diamond to touch pro1?
19:19.29phhTP has more memory (ram and nand)
19:19.30Markinusphh: changes are commited. Sould now work with the next build . .
19:19.34phhdifferent screen panel
19:19.42phhMarkinus: ok
19:19.56phhShadowPhoenix: apart from that it's the usual published differences
19:20.11ShadowPhoenixphh: is it worth it? I am really on the edge of getting one of them and coding with it
19:20.14phh(keyboard, flash, SD and such)
19:20.41phhShadowPhoenix: currently not, but it might be useful quite soon
19:21.16ShadowPhoenixphh: are there any propriatary chips in there that we can't use?
19:21.39*** join/#htc-linux kvaster_ (n=kvaster@live.bn.by)
19:21.46phhthe whole msm chip is propriatary :p
19:22.32ShadowPhoenixphh: can we still use it to make calls though :)? I worked before and got burned badly by an unmarked audio chip\
19:22.47phhyes we can
19:23.10phhafaik, everything has an open driver, but 3D, and GPS
19:23.27phhand video decompression
19:23.50ShadowPhoenixphh: how is video decompression done?
19:23.59phhcurrently it's just not :p
19:24.12phhbut there is a DSP we can access
19:24.27ShadowPhoenixat least it's not that crappy SGX :-)
19:24.33phhI'd guess android drivers might work, but I have some userland problems.
19:25.09*** join/#htc-linux toi (n=toi@d54C2A96D.access.telenet.be)
19:25.27ShadowPhoenixphh: do we have specs for the dsp? also what do you mean by 3D?
19:25.42phhwe have no spec at all.
19:25.50phhand with 3D I mean.... well 3D ...
19:25.59phhhardware OpenGL ES implementation
19:26.10ShadowPhoenixis there a chip that does it?
19:26.19phhbah the MSM chip
19:26.23phhthe MSM chip does everything.
19:26.33phhbut wifi/BT/FM
19:28.11ShadowPhoenixhmm
19:29.27phhchamonix: once you've done the nand dump, add mtdparts=msm_nand:0x10000000@0x10000000(boot) to your cmdline, and try reading the mtd/mtd0ro device again (don't overwrite the previous file.), it should be 256MB while the one before should be 512MB
19:29.45phhif so, we might start doing some fun with nand.
19:30.06ShadowPhoenixphh: doesn't the android has the same chip? (msm7201a)
19:30.15phhyes they have
19:31.01CamdenIs it just me or does the browser not play animated gifs?
19:31.05phhShadowPhoenix: I know what you're going to say. but we have a different modem software (there are two processors on the msm chipset, the "application" and the "modem" one), so we have to rewrite many things
19:31.22ShadowPhoenixah okay
19:31.26slightit it possible to create a dm.txt with haret in the sdcard root? i've got that mini winmo rom that boots straight from haret in root
19:31.50phhslight: add the pwf line just before the boot command
19:32.13slightah ok, thanks
19:32.16phhslight: I think you should also get the previously booted kernel's messages in /proc/last_kmsg
19:32.28phhtheorically.
19:32.32slightgreat ta
19:32.39phhbut this time it doesn't work -_-'
19:32.59phhstinebd: btw, anything new about no_hz ?
19:33.46stinebdphh: instability when booted with usb plugged in (ie usb debugging), no instability when booted without usb plugged (and still no problems when charging as such)
19:34.14stinebdby instability i mean system freezes
19:34.20phhha.
19:34.26stinebdusually happens within 10 minutes
19:34.42stinebdadb shell dies presumably during idle sleep
19:35.02phhthis should be settable. somewhere.
19:35.19stinebdit comes back a few times after waking the screen up, but dies again, then never comes back up and the system freezes shortly after that
19:36.39*** join/#htc-linux emwe (n=michael@86.56.50.180)
19:36.50stinebdstill no clock issues to speak of
19:37.49phhanyway, if we can't get rid of vsyncs, this is quite useless.
19:39.03stinebdwell then you better get rid of vsync
19:39.09stinebd;)
19:39.16phhlol
19:39.37stinebdit does save some power in reality
19:39.43phhreally ?
19:39.48Markinuscould maybe someone with a dia or rhod test the new build on glemsom? Is this booting again?
19:39.50stinebdnot noticeable though
19:40.01stinebdit saves power when the phone wakes up from deep sleep to check mail or something
19:40.07stinebdand the screen doesn't actually turn on
19:40.13stinebd:)
19:40.27phhreally ?
19:40.50stinebdsure, that's why adb shell dies when the screen turns off and it goes in idle sleep
19:41.05stinebdi doubt it's a measurable amount
19:41.25ShadowPhoenixHas anyone tried overclocking the chip?
19:41.26phhI think it might be useful for stuff like ebook reading if we get rid of vsync though
19:41.42phhShadowPhoenix: no but I can tell you how to do that
19:41.46stinebdit would
19:41.53stinebdand for anything else that doesn't tax the cpu
19:41.55*** join/#htc-linux fish1209 (n=fish1209@unaffiliated/fish0912)
19:42.07phhstinebd: I can't see anything but that which fits this :;op
19:42.26stinebdogling home screen widgets
19:42.33phhogling ?
19:42.40stinebdlooking at
19:42.44stinebdwhile drooling
19:42.51phhmmmm
19:44.20stinebdoh god 16% battery
19:44.27stinebdwhere's my usb cable
19:44.31phh:)
19:44.36phhstinebd: announced by android ?
19:44.44stinebdyeah
19:44.49stinebd22 now
19:44.51stinebdwooo
19:44.51phh:)à
19:50.01stinebdthings are much more responsive for me now that handcent sms is gone
19:50.13phhreally ?
19:50.13phhm
19:50.47stinebdthat thing was very unfriendly apparently
19:50.48*** join/#htc-linux onen|openBmap (n=quassel@vbo91-1-89-87-201-85.dsl.club-internet.fr)
19:50.59phhI'll have to try.
19:51.28chamonixre
19:52.26stinebdby more responsive, i mean it's back to normal raph-eclair responsiveness. an improvement from painful headache responsiveness
19:52.34phhraph-eclair ?
19:52.39*** join/#htc-linux cr2 (n=cr2@ip-109-85-203-178.web.vodafone.de)
19:52.43phhhi cr2
19:52.52stinebdmy phone+android combo
19:53.14cr2phh: why is your amss is not 5225 ?
19:53.35phhcr2: olinex's desimlocker
19:53.46phhhum not sure it's olinex's
19:53.55cr2what is your full version ?
19:54.12*** join/#htc-linux ICEMANno1 (n=ICEMANno@ip-109-90-220-39.unitymediagroup.de)
19:54.14phh[    0.268280] AMSS version: 52.26a.25.09H
19:54.26ICEMANno1hi guys
19:54.27ICEMANno1Markinus, hows sound progressing?
19:54.30cr2it is 5225
19:54.41phhcr2: not with just an atoi
19:54.42ICEMANno1anything I can support you guys with?
19:54.49phhICEMANno1: TP2 maybe ?
19:54.54cr2awk -F. '{print $1,$3}'
19:55.09ICEMANno1sry, only topaz
19:55.09phhcr2: oh. ok
19:55.26phhcr2: I thaught it was $1$2
19:55.28phhtoo logical I guess.
19:55.48cr2$1*100+$3
19:56.07cr2$1*100+$3%100 :)
19:57.10chamonixdd runs
19:57.24phhchamonix: wait a bit :p
19:57.29cr2($1%100)*100+$3%100  is even better. if $1 and $3 isnum
19:57.38Markinus<ICEMANno1: I tested much but rhis doesn'T work :-(
19:57.47ICEMANno1tooo bad :(
19:57.50*** join/#htc-linux sse2 (n=sse2@41.104.68.153)
19:58.06ICEMANno1sounds like you guys are working on GPS atm, right
19:58.10chamonixI've no choice do i? :P what about this newer version of the fastboot ROM.... have I missed sumthin or is it just hidden?
19:58.38phhchamonix: just hidden
19:58.40phhread logs :p
19:59.16cr2phh: the gps init is finished with smsm_callback_reg(1,9,(*)func())
19:59.39cr2phh: the func() is some more of less dummy function
20:00.22cr2i've looked for other smsm_cb_reg invocations, and found only one: (1,1,func1)
20:00.36cr2it is smd_cb_reg
20:00.50cr2so, what may be 9 ?
20:01.06cr2related to smsm
20:02.59phhcan someone check if http://husson.hd.free.fr/libhtcgeneric-ril.so crash?
20:03.26phhcr2: smsm callback ?
20:03.41chamonix-rwxrwxrwx    1 0        0       536870912 Jan 12 13:07 dump-nand
20:03.46cr2phh: yes
20:03.57AstainHellbringhey cr2 how goes it?
20:03.59phhchamonix: 512MB ROM then
20:04.02cr2Markinus: why do you register the PDAPI CB twice ?
20:04.24cr2AstainHellbring: want a nexus
20:04.46AstainHellbringdo I want a nexus or you want a nexus?
20:04.53phhhe want.
20:04.56phhs
20:04.58AstainHellbringic
20:06.22*** join/#htc-linux kri5 (n=kri5@cowdy.vlmc.org)
20:07.08Boydellwho doesn't want a nexus? they dont offer them here in canada though :(
20:07.40cr2phh: the get_position is =b on 6125 ?
20:07.50cr2Boydell: buy it over the border
20:08.07phhcr2: yup
20:08.10AstainHellbringBoydell send me $ I'll buy and ship to you
20:08.21BoydellI could, but, I'm not sure if it will work on the telus network
20:08.23cr2phh: a+1. ok
20:08.34phhuh ? why a+1 ?
20:08.43cr2Boydell: if it will not, send it to me :)
20:08.44Boydelleven if they have the HSPA+ network now...(sim card too, finally)
20:08.45phhit's c-1 if you refer to 5200
20:08.51cr2phh: err
20:08.56cr2yes
20:09.25AstainHellbringBoydell whats the freqs for telus network>
20:09.29Boydelllol, well, I'm on my third raph800, and my warrenty is up, so if it breaks again, a nexus one may be in order :)
20:09.45Boydellumm
20:09.54Boydellone sec, I'm not 100% sure
20:09.59cr2phh: he gets a reply to get_position. =1
20:10.07cr2then comes crash
20:10.46BoydellAstainHellbring: you work for google or something?
20:11.05phhcr2: maybe ARM0 expects for a specific answer we don't give him ?
20:11.10phhARM9*
20:11.46Boydelltelus calls their new network 3G+ actually
20:12.02chamonixdumping 2nd time
20:12.14phhchamonix: with cmdline ?
20:12.19chamonixyes
20:12.43cr2phh: nothing in the wince rpc logs
20:12.58cr2phh: it may be some smd "answer"
20:13.05phhcr2: logs = dmesg, or RPC log ?
20:13.08Markinuscr2: why twice? In the gps file this is one time ?!? Sorry, but where you see that?
20:13.08phhs/log/memory
20:13.18BoydellAstainHellbring: Runs on 1900/850 MHz frequency bands and uses standard 3GPP SIM cards is what i get from the telus website
20:13.34cr2phh: so the get_position response is failure
20:14.03cr2don't know what it means. maybe just the fix unavailable. still it's strange
20:14.15AstainHellbringBoydell I am on ATT yah those freqs wont work for nexus
20:14.16AstainHellbringsorry
20:14.28cr2i would extect the call succeed, but the missing fix information in the cb message
20:15.07BoydellAstainHellbring: Yah see I wasn't sure. Thanks.
20:15.13AstainHellbringwelcome
20:15.16cr2Markinus: sorrry. it's 5d, not 5b
20:15.21AstainHellbringBoydell heard anything on hd2 release date for telus?
20:15.46Boydellnope, telus always releases things super late
20:16.18AstainHellbringlame
20:16.32cr2phh: rpc fifo smem dump
20:16.42Markinuscr2: nop ;-)
20:16.50phhcr2: uh, wince sends nothing back to the rpc callback ?
20:17.07cr2phh: it sends error
20:17.14BoydellI know, they JUST got the Hero, but I dont really think its specs are all that great, which is why im sticking by porting it to my TP
20:17.21cr2phh: and then the messages to CB
20:17.25c2dMarkinus: new kernel on glemsom boots again on rhod
20:17.26phhcr2: but maybe it's not formated the same way as we do ?
20:17.39phhcr2: are we sure that arm9 is resetted by get_position in wince ?
20:17.59Markinusc2d: ahh, thx! Very good! ;-)
20:17.59cr2phh: noot sure, neet to check the wince dmesg
20:18.18cr2the rhod kernel needs a lot of fixes.
20:18.36cr2Markinus: you have at least 2 strange gpio entries in *topaz.h
20:19.03cr2NetRipper: ping
20:19.08AstainHellbringyah Boydell good call the nice thing for you atleast is that any ATT phone and any rogers phone will work for you as well
20:19.40*** join/#htc-linux surge (n=surge@sw.attotech.com)
20:20.03Markinuscr2: which do you mean?
20:20.07BoydellReally? Didn't really know that, but meh, guess if I want to switch to a SIM phone I have to check the frequencies the phone uses...
20:20.46AstainHellbringyah Boydell ATT and rogers are all on 3g at 850/1900 which is same as their  stuff
20:20.49c2dany idea why screen is red after wakeup on rhod?
20:21.07phhc2d: wrong mtype
20:21.10ICEMANno1better than pink
20:21.23c2d:D
20:22.04cr2#define TOPA100_USB_AC_PWR              1
20:22.19cr2#define TOPA100_BAT_IRQ                 28
20:22.46chamonixit froze..... maybe SD full, retesting with more free space
20:23.35cr2phh: so arm9 did not crash, but responded with an error to the get_position call
20:23.46cr2and only then crashed.
20:23.52phhok
20:24.13cr2probably we didn't setup something else, or are not supposed to send this call at this moment
20:24.21Markinuscr2: ohh, yes .. . strange . .. hmmm
20:24.33phhcr2: even android doesn't know when to send this call ? :p
20:24.35cr2phh: i think that some other calls are commented out ?
20:24.42Markinushow is this comming in . . . hmmm, I will test it and change
20:25.06cr2phh: android uses different amss. and pdsm_client_init(1) and not pdsm_client_init(2)
20:25.13Markinuscr2: thx!
20:25.13phhright.
20:26.04cr2phh: fixed the mclk already ?
20:26.09phhcr2: which mclk ?
20:26.15cr2phh: cam
20:26.17phhyes
20:26.26phhit didn't change anything to trout's settings
20:26.48cr2?
20:27.08phhthe 1c5 and 185 (or something like that.) settings I had before
20:27.14phhthey make the same result as 1c4/5
20:27.22cr2it's only the alt
20:27.28cr2i mean the clocks
20:27.37phhit should work
20:27.59cr2does the cam work ?
20:28.36phhit seems not
20:28.43phhbut no error, so might be android fault
20:28.54phhand I don't know how to play with v4l either
20:29.06cr2ok
20:29.52*** join/#htc-linux Billyonthemounta (n=Miranda@stiitcsc412.epfl.ch)
20:30.09phhI don't even know if v4l driver is supposed to work actually
20:31.09cr2phh: have you changed the hard reset function ?
20:31.48cr2Markinus: will you add the panel detection code for topa ?
20:32.10phhsee http://gitorious.org/linux-on-qualcomm-s-msm/linux-msm/commit/69cc611a9bec67b47abdf92eee2548a071976546
20:32.20phh(yes I know, it's dirty, no need to tell me.)
20:32.31*** join/#htc-linux yoyey (n=yoann@78.242.110.43)
20:35.06cr2printk("DEX IRQ=%x\n", readl(MSM_SHARED_RAM_BASE+0xfc138));
20:35.16cr2i think it was 128 ?
20:35.33phhI didn't commit it sorry
20:36.29phhfor set_clock, I write md reg, and then
20:36.31phh<PROTECTED>
20:36.31phh<PROTECTED>
20:36.31phh<PROTECTED>
20:36.57phhI don't remember where I got this 0x7e00 though.
20:37.03cr2we need to revisit the clk and vreg api
20:37.11*** join/#htc-linux MrPippy (n=pip@adsl-75-37-167-3.dsl.sndg02.sbcglobal.net)
20:37.17cr2they enable  the clock, and then set the frequency ?
20:38.52phhI don't see any clock enabling oO
20:39.28cr2enabled at init
20:39.45cr2i think they mean a different thing than we.
20:41.40*** join/#htc-linux mickey|sofa (n=M@e180153072.adsl.alicedsl.de)
20:41.41*** join/#htc-linux camden (n=camden@ancnat2.apto.aptalaska.net)
20:41.59camdendoes anybody know of a sms program for android that does not do threaded sms?
20:42.05Markinuscr2: No, I startet with this, how can I dump the values behind 0x39 and 0x3a? WIth which function?
20:42.45camdenI get tons of alerts from work as text messages, and each alert comes from a new 'number' (1010100432, 1010100433, etc)
20:43.08chamonixphh: 256.0M  dump-nand2
20:43.15phhchamonix: alright
20:43.30phhchamonix: is there a mkfs.yaffs2 command ?
20:43.33camdenso rather than look at each alert as a conversation I'd like a flat list of my texts.
20:43.53phhcr2: there is nothing important in the upper 256MB of the nand btw ?
20:44.25chamonixphh: no I don't have that
20:44.30cr2phh: imei and some hw ids probably
20:44.49cr2Markinus: just read the gpio value.
20:45.03cr2Markinus: if it's 1 or 0
20:45.13Markinusboth 0
20:45.26cr200 - auo
20:45.37phhcr2: uh ? imei in nand ?
20:45.42phhin the *end* of the nand ?
20:45.43cr201 hitachi
20:45.47Markinusahhh
20:45.53cr210 toppoly
20:45.58cr211 debug
20:46.05cr2there is also a weird case
20:46.26cr2read_mddi(4) & 0xffff = 0x48
20:47.05cr2then it's toppoly+epson. but i doubt that it happens in real life
20:47.42cr2phh: in te first 36MB
20:47.52phhcr2: so the upper 256MB is fine ?
20:48.06phhsafe i mean
20:48.28cr2yes. you are free to rewrite the wince things
20:48.35chamonixwtf is overwriting my resolv.conf?
20:48.46phhchamonix: resolv.conf. in android ?
20:48.51Markinuscr2: I made some code in the Panelfile for backlight controll ( i2c ) is this working with all panels?
20:48.52phhchamonix: anyway, write it in /init.etc
20:48.54phhnot /etc
20:48.55chamonixlol, no on my desktop :)
20:49.15Markinuscr2: or only with my?
20:49.23Markinus(auo)
20:49.26phhchamonix: beloved networkmanager ? :p
20:49.54chamonixwell, it's supposed to be shut forever but I have some gnome part still running :-/
20:50.10cr2Markinus: with all. but all we have seen are auo
20:50.42Markinusok
20:50.46cr2Markinus: bkl on rhod is more complex, so you need to create separate files for rhod
20:50.55phhchamonix: you'll have to cross-compile some mtd tools and/or yaffs2 tools
20:51.10cr2Markinus: also for gpios, panel, wifi , bt
20:51.35phhchamonix: if you don't know how to do that I can
20:51.42chamonixchmod -w /etc/resolv.conf, we'll see how the whatever daemon likes that :)
20:52.01cr2phh: i'll try to dump the cam clock values, and tvout clock values.
20:52.25phhchamonix: but now you can try doing whatever you want on /dev/mtd/*, it should be safe :)
20:52.33chamonixphh: well I never compiled anything else than kernels with the xcompiler but I'll try to get along
20:52.48MarkinusI cases already some code between them, like BT . . the Topaz BT vreg disabled the the screen on Rhod. . .
20:52.51phhchamonix: after every reboot, check in /proc/mtd the size, it should be 0x100000 (and some 0 after that), if it's 0x2000 warning you have the whole nand access. don't use it.
20:53.46phhchamonix: hum first thing, do dd if=/dev/zero of=/dev/mtd/mtd0 bs=8192 count=1k, reboot to wince and see if it breaks anything
20:53.49phhthen reboot back to linux
20:53.58phhand dump first 8MB of mtd0 to see if it's) 0
20:54.39Markinuscr2: I have no ideas more for sound, I don't know what I could test as next . .so I do now the other thinks . .
20:55.13cr2Markinus: ok
20:55.18chamonixphh: I don't have much wince anymore with lightnhb2 do i?
20:55.30phhchamonix: not much, but it can still break
20:56.04chamonixok so with break anything you basically mean boot, click around and if it doesn't hang/reboot it's fine?
20:56.13phhyes
20:56.27chamonixkk, I like that kind of functional testing
20:56.32stinebdheh
20:56.36phhchamonix: if wince crashes, you can flash it back, start the phone with volume down key
20:56.50stinebdit's sometimes hard to tell if it's linux's fault or wince's ;)
20:57.11chamonixk, I found lightnhb3 so I'll do that anyway, at latests before going to sleep
20:57.34phhchamonix: ok, with lightnhb3 you won't have any risk of wince crash with writing there
20:57.43phhchamonix: but really, at every time you write, double check you have correct mtd
20:58.04phhif it's the full nand and that you write on it, don't reboot, but write back your previous nand-dump
20:58.07phhbut don't write on it.
20:58.08chamonixI have a basic question tho
20:58.41chamonixwhat is the purpose of all that? I mean when would I feel the need to do that writing except if it's for testing
20:58.53phhchamonix: "flashing" android
20:59.17chamonixsee that I understand :)
21:00.47camdenI would totally flash android in it's current state.
21:00.55*** join/#htc-linux ulaas (n=ulaas@88.253.19.100)
21:01.00Markinuscr2: we have this arrors on topaz too, there are comming after start . .do you have a Idea what this could be? rpcrouter or rpctask . .http://pastebin.com/m50a6a1e3
21:01.02camdenI've used less useful windows roms.
21:01.32Markinusrpcrouter and rpctask  do this errors . .
21:02.03Markinuscr2: a rpccall what is waiting, and nothing is comming maybe???
21:03.27cr2Markinus: arm9 is probably unhappy about the reinit, and takes some time
21:03.37cr2to respond
21:05.00*** join/#htc-linux surge (n=surge@sw.attotech.com)
21:05.08Markinuscr2: hmm, can we correct this? This is comming often . .
21:05.32Markinusor can we ignore this?
21:05.51chamonixphh: ok I did dd if=/dev/zero of=/dev/mtd/mtd0 bs=8192 count=1k, rebooted and the menu was still there and reactive, now I'm booting back to android
21:06.01cr2Markinus: we need some better research how to reinit rpc
21:06.47cr2phh: can we send softreset to arm9 at boot ?
21:07.01phhsounds like a good idea
21:07.17phhand copying vogue's init code got dex startup working
21:07.36cr2the current rpc init is a bit strange
21:08.02cr2vogue has amss4xxx ?
21:08.24cr2do we have some smem dump from vogue/kaiser et al. ?
21:09.05phhdon't know
21:09.07chamonix<phh> and dump first 8MB of mtd0 to see if it's) 0 <-- that would be dd if=/dev/mtd0 of=/sdcard/dump-nand8Mb bs=8192 count=8M right?
21:09.14cr2Markinus: btw, how do you pick the wifi nvram data ?
21:09.21phhchamonix: count=1k
21:09.27phhchamonix: total bytes = bs*count
21:09.46chamonixk
21:10.09Markinusdo you meen the calibration file?
21:10.15Markinuslike wiki . .
21:11.45phhcr2: same for everyone :D
21:11.51Markinusthe sequence is 3 times there, it was the second or third .. I'm not sure ..
21:11.56cr2ok. do you have the  gsensor cal data ?
21:12.15cr2Markinus: 2 times. and they are identical
21:13.00Markinusmy hex editor found it 3 times! one different and 2 almost identical :-)
21:13.15cr2ok, it's some saved copy
21:13.23Markinuscr2: no, I no looked for this till now . .
21:13.30cr2don't know what do they save
21:14.19Markinuscr2: where can I find it? is this in the wiki too? gsensor cal data?
21:17.03cr2Markinus: it's at the end of CONFIG 0x400 block
21:17.55Markinusphh: for the gsensor, there is a test suite or? some software that you posted here bevor some days. .  is this closed source or do you have sources for this?
21:18.03Markinuscr2: ok, I will on it. .
21:18.14phhI don't remember which one i gave you
21:19.07phhbut I have some.
21:20.21Markinuscan you give me some of them? So a can take a look on it as next . .
21:20.38chamonixphh: ok the 8M dmp is 0x00 all over
21:21.20phhchamonix: cool
21:22.10phhchamonix: now, rebuild  the kernel with yaffs2, mtdchar and mtdblock, cross-build mkfs.yaffs2
21:22.12phhand have fun :p
21:22.42chamonixlol
21:22.58cr2and cross the fingers
21:23.05phhcr2: why ?
21:23.10phhany reason it doesn't work with yaffs2 ?
21:23.26cr2:)
21:23.33phhit won't work*
21:24.01chamonixerr, I guess it will take me the whole week to fulfill that requirement -> now, rebuild  the kernel with yaffs2, mtdchar and mtdblock, cross-build mkfs.yaffs2 :-D
21:24.13phhchamonix: why ?
21:24.34cr2phh: can you access the htc-linux wiki ?
21:24.45chamonixbecause I understand the words but still have to understand the semantics of that phrase :P
21:24.46phhcr2: yes why ?
21:24.58cr2i can't
21:25.01phhchamonix: ok I'll do it.
21:25.05phhcr2: read or write ?
21:25.16chamonixhey, I didn't say I give uo did i?
21:25.26chamonixs/uo/up/
21:25.50leviathanpershoot: leviathan-incoming is thought for using it with GNU Linux
21:26.05cr2phh: both
21:26.06phhchamonix: I'll build the kernel and mkfs.yaffs2 :p
21:26.10phhcr2: read works fine here
21:26.10leviathanpershoot: use usb ethernet gadget
21:26.18cr2weird
21:26.28chamonixlol
21:27.06chamonixphh: I you give me a few hints and let me ask n00b questions I can give it a try... I may be old but still am able to learn :P
21:28.37*** join/#htc-linux MethoS- (n=clemens@134.102.106.250)
21:28.39camdenthat's the spirit
21:29.04phhchamonix: http://husson.hd.free.fr/msm-nand-config
21:30.41chamonixty :)
21:31.19cr2no cam 0001fff7 fff8005f
21:31.32cr2cam 0001fff7 fff86b59
21:32.03cr2vga cam 0001fff7 fff86b59
21:32.45cr2it was vfe
21:32.50cr2now mdc
21:32.55cr2no cam 00000001
21:33.08cr2cam 00000a01
21:33.33cr2phh: |0xa00 and &~0xa00
21:35.23phhhum I have a02 instead of a01
21:38.50cr2phh: where are the tv regs ? i don't see wiki page
21:39.15phhtv clock ?
21:39.39cr2tv_enc_clk
21:39.47phhMSM7500_Core.h ? :p
21:39.59cr2ok
21:40.02*** join/#htc-linux Squarc1 (n=Squarc@82-217-32-29.cable.quicknet.nl)
21:41.14*** join/#htc-linux MrPippy_ (n=pip@adsl-75-37-167-3.dsl.sndg02.sbcglobal.net)
21:41.36cr2tv_md_reg;                                      // offset 0xC8
21:42.04cr2with 00e1f7ff f8e00044
21:42.32cr2hm. always the same
21:43.01cr2MD is M ~N for clocks
21:44.03cr2hm. too much
21:44.04cr24 is pll0
21:45.55phhchamonix: no nandwrite tool ?
21:45.56phhor nand* ?
21:47.48cr2was off
21:47.51cr2a86000c8 | 00e1f7ff f8e01b44
21:48.03cr2strange, but better :)
21:48.56phhchamonix: http://husson.hd.free.fr/mtd-utils.tar.bz2
21:49.30phhchamonix: hum no there is nothing interesting in it actually.
21:49.46cr2awk '{print 245760000*0xe1/0x800}'
21:49.49cr227000000
21:49.50cr2phh: cool
21:50.05phhchamonix: try running flash_erase on the mtd, and then mount the mtd as yaffs
21:50.09phhyaffs2*
21:50.17phhcr2: 27MHz clock ?
21:50.23cr2standard 27MHz tv clock. what i have expected.
21:51.03cr2phh: you can add a new line for md/ns
21:51.16cr2phh: do you set the usb clock too ?
21:51.24phhI tried
21:51.26phhbut it didn't seem to work
21:51.44phhchamonix:
21:51.46cr2i think i-'ve calculated it once.
21:51.46phhflash_unlock /dev/mtdN
21:51.46phhflash_eraseall /dev/mtdN
21:51.46phhmount -t FSTYPE /dev/mtdblockN /mnt
21:51.51chamonixphh: not so fast, I'm still struggling with make[1]: *** No rule to make target :)
21:51.56cr2phh: which location ?
21:52.18phhchamonix: arf.
21:52.26cr2<PROTECTED>
21:52.42phhhum I don't remember
21:52.59cr2phh: a86002bc | 000500df 00e40b49
21:53.03phh0xe8/0x2bc+4/idx=25 I think
21:53.33cr2usb_md_reg;                     // offset 0xE4
21:53.45phhcr2: remember, our offsets are on ns_reg
21:53.59cr2a86000e4 | 000100fb 00fc1b59
21:54.03phhthe h in usbh is for highspeed or host you think ?
21:54.04cr2it's for dumping
21:54.18cr2host/otg
21:54.21phhok
21:54.35phhso idx=25 + offset=e8 should be enough ?
21:54.36cr2i think we must get 64 and 48MHz
21:54.47cr2idx25 is for host ?
21:54.55phhfor slave
21:54.56cr2host pclk ?
21:55.04phhI don't know if 25 is host or slave actually
21:55.08cr2pclk is not clk
21:55.23phhbut msm_hsusb driver refers to pclk & clk
21:56.13cr2<PROTECTED>
21:56.15*** join/#htc-linux surge (n=surge@sw.attotech.com)
21:56.40cr2so it belongs to usbh
21:56.48cr2clock
21:57.03cr2wince enables both as you see
21:57.18cr2what does ehci-msm do ?
21:57.31*** part/#htc-linux c2d (n=Mike@port-92-200-124-245.dynamic.qsc.de)
21:57.55phhpclk, or clk and pclk
21:58.11phhusb_hs_clk/usb_hs_pclk
21:58.16*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
21:58.30cr2hmm
21:58.33phhit depends if it's an "integrated phy" or a "usb phy serial pmic"
22:02.59*** join/#htc-linux emwe (n=michael@86.56.50.180)
22:03.33NetRippercr2, pong
22:05.51chamonixphh: for whatever reason I had to rename the file, compiling now
22:05.57phh"the" file ?
22:06.09chamonixthe config
22:06.24phhrename it ?!?
22:06.28phhbut you just... use it... no ?
22:06.45phhI mean copy it to .config
22:06.49chamonixwell that's what I thought too but make didn't want that
22:07.28chamonixso I renamed the file and changed to make ARCH=arm newfile
22:07.50phhuh ?
22:08.05chamonixexactly
22:08.43chamonixdidn't find the target msm-nand-config
22:08.56phh?!?
22:09.01phhjust copy the config file to .config
22:09.03phhand run make as usual
22:09.20Markinusphh: could you give me a gsensor test software? I would test it the next days . .
22:09.59chamonixlol, I always use make ARCH=arm ....  to create the config to make sure my chanhes in Kconfig are consistent
22:10.05chamonixchanges*

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.