IRC log for #htc-linux on 20100219

00:00.18MrPippyfwiw, the only android-based 7600 phone (htc desirec) is treated as a 7501A in the kernel code
00:00.22cr2_good night
00:08.38MrPippyweird the amss detection isn't working on rhod400, even though when i booted 95civic's kernel it printed the version string correctly
00:10.54makkonendo we know where 95civic's kernel comes from?
00:11.09MrPippyi think our code, its just old
00:11.36makkonenso his patches aren't available anywhere?
00:12.10MrPippyi'm not sure he had any patches, at least for the kernel
00:12.15makkonenoh
00:13.56tmztmakkonen: gito
00:14.02tmztit seems to be upstream
00:14.06tmztbut he has his own config
00:16.25MrPippyi just booted our current kernel, and it works pretty well
00:16.46MrPippytouchscreen cal worked perfectly, keyboard is mostly working, screen rotation is good
00:17.00makkonenis the cdma issue down to the RIL or the kernel?
00:17.11tmztit's got to be ril
00:17.18tmztanybody try force yet?
00:17.46makkonenpeople on ppcgeeks are talking about 95civic working on writing his own RIL... but I don't trust those people to know what's actually going on.
00:18.24*** join/#htc-linux lilsnoop (~AndChat@wsip-24-234-156-82.lv.lv.cox.net)
00:18.32lilsnoopHello all
00:20.28stinebdhttp://maduin.southcape.org/~xdandroid/rootfs-build/ < now with rather unsexy frontend
00:24.15lilsnoopAnyone running the raph110 in here?
00:25.17MrPippystinebd: nice job, looks great
00:27.57IceBonehttp://thismight.be/offensive/uploads/2010/02/18/image/288083_%5Bthis%20might%20be%20colbert%5Dcold%20cuts.jpg
00:29.40MrPippyhah nice didn't know he had gone to vancouver with the team
00:31.04*** join/#htc-linux mickeyl (~mickey@openmoko/coreteam/mickey)
00:31.30*** join/#htc-linux toastcfh (~toastcfh@99-205-192-161.pools.spcsdns.net)
00:36.55*** join/#htc-linux DarkMasterHalo (~sam@modemcable187.118-80-70.mc.videotron.ca)
00:40.23*** part/#htc-linux DarkMasterHalo (~sam@modemcable187.118-80-70.mc.videotron.ca)
00:45.10MrPippytmzt: does amss detection work on rhod500? i had to change it to work on 400
00:45.18*** join/#htc-linux karafa (~karafa@ool-45735dce.dyn.optonline.net)
00:47.06*** join/#htc-linux irlolcopter (~irlolcopt@host81-152-193-147.range81-152.btcentralplus.com)
00:50.47*** join/#htc-linux DarkMasterHalo (~sam@modemcable187.118-80-70.mc.videotron.ca)
00:55.04*** join/#htc-linux Paul_Ishenin (~paul@21.23.65.80.ip.orionnet.ru)
00:56.01*** join/#htc-linux MethoS- (~clemens@134.102.106.250)
01:02.07*** join/#htc-linux Zeman4323 (~Zeman4323@c-71-239-97-164.hsd1.il.comcast.net)
01:08.59*** join/#htc-linux Zoolooc_ (~fredsibar@p549560C0.dip.t-dialin.net)
01:14.58noisyzenclear
01:14.59noisyzendoh.
01:15.02noisyzenmissed the / :)
01:15.09*** join/#htc-linux mcdull (~blackston@n11648167249.netvigator.com)
01:15.39mcdullhi
01:15.57noisyzenhi
01:16.06mcdullguess it is late nite in Europe.
01:17.32*** join/#htc-linux jumoit (~samuel@121.77.87.145)
01:20.55noisyzenYeah. It's almost 8:30 in the eastern US
01:21.57mcdulldoesnt seems to miss alot in my 5 hour sleep.
01:22.11noisyzenhehehe
01:23.25*** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring)
01:32.40*** join/#htc-linux jamenlang1 (~jamenlang@68.170.60.12)
01:37.09mcdullquestion again, is machine_is_htcrhodium() return 1 with blackstone?
01:43.53MrPippyno, that would be really weird
01:47.08mcdullis this __machine_arch_type determined by the number we edited in startup.txt (2030 for blackstone) ?
01:48.00MrPippyyeah
01:48.13Paul_IsheninCaptnoord pointed me to the russian forum topic with few interesting chipset documents. but there is not 7201a chipset
01:48.19Paul_Ishenindoes anybody has that one too?
01:48.50mcdulllet me check if my blac100 can boot as raph.
01:50.13MrPippythose are all the docs we have, along with the MSM7500 header files left in some of the htc kernel source
01:50.58*** join/#htc-linux M1DLGpc_ (~M1DLGpc@bb-87-81-252-83.ukonline.co.uk)
01:51.12Paul_Ishenindo you know how is the difference between 7201a and 7200a is big?
01:51.39mcdullnot big at all.. 7201a is a trim version of 7200a.
01:52.53Paul_Isheninso the docs are useful
01:53.59mcdullok.. blac100 with raph mtype. dont even show the dmesg message. Guess the lcd initialing goes wrong.
01:55.15mcdullwhat tools I can use to do a global search of a certain string in the project folder?
01:55.19mcdullin ubuntu.
01:56.27makkonengrep -r "string" *
01:57.06makkonenwon't give you much help for the binary files, but it's good for text.
01:58.22mcdullany gui tools for doing this? I would like to make batch replacement as well.
02:03.24noisyzenmcdull: http://searchmonkey.embeddediq.com/download looks like it might work as far as a gui grep for ubuntu
02:03.33mcdullthx
02:03.42noisyzenif you want to do a batch replacement, you can always use perl -p -i -e too
02:04.24mcdull10am here.. stock market started.. and.. down 1.7%, great.
02:04.39noisyzenmcdull: perl -p -i -e 's/oldvalue/newvalue/g' *
02:05.18mcdullperl is something that I can never read..
02:05.33mcdullbut it is super powerful.
02:05.35noisyzenhehehe
02:05.40noisyzenperl is what i do everyday
02:05.43noisyzeni used to hate it.
02:05.56makkonenI know no perl, but I love it.
02:06.25makkonenit's so... fluid. when I need to do something with it, I teach myself what I need, do it in some weird way, and then forget it.
02:06.37noisyzenhehehe
02:06.42mcdullperl is a good match with database. I used to force myself to learn it.. but failed. I am not a *nix guy anyway.
02:06.49noisyzenahh
02:07.49noisyzeni started coding w/ ruby then had to learn perl. so, perl became the #1 for me.
02:08.54stinebdgrunts and crawls back to his C cave
02:09.24noisyzenha, i was talking to some people the other day about wanting to learn C and they freaked me out :)
02:12.33mcdullI didnt learn C before as well.. therefore I cant really read the kernel code.
02:15.24noisyzenwhat do you write?
02:17.36mcdullI am not an IT person, I write..... reports..
02:17.41mcdull>.<
02:18.32noisyzenah okay. so what kind of reports?
02:19.29mcdullha.. useless report for my organization, not financial.
02:19.38noisyzenah nice
02:19.42mcdulland compile some simple statistical reports.
02:19.52mcdullin a messy database.
02:20.45noisyzenwhat kind of database?
02:20.47mcdullthe searchmoney seems nice.. and it has windows port. Good.
02:21.13mcdulloracle, but I am not able to touch anything in it. I can just link it with odbc.
02:21.36noisyzenah gotcha
02:21.42mcdulland I was so disappointed with the database design.
02:21.54noisyzenyeah db design is tricky
02:22.07mcdullthat db design was lazy
02:22.11noisyzenhehehehe
02:22.50mcdullnot using a datetime field for date.. and not using a numeric field for numbers.
02:22.58noisyzenoh good times.
02:23.35noisyzeni like database design.
02:23.52mcdulland I need to transform all of them on client side with hopeless VBA.
02:24.23noisyzenha
02:24.49mcdulland super slow performance. ha..
02:25.42noisyzeni mostly use mysql and perl
02:26.23mcdullthat's a much better combination.  I seems now using a spoon to farm.
02:26.52noisyzenhaha nice description
02:27.43mcdullI am in fact a general grade officer, not supposed to touch the IT domain.  And those from IT refused to help.. or .. they just cant help.
02:28.31noisyzengotcha
02:29.31mcdullback to the topic.  noisyzen, which device you are using (sorry if this has been asked before)
02:30.35noisyzenI'm using HTC Pure (TOPA210)
02:30.38noisyzen(AT&T)
02:31.46noisyzenhow about you?
02:32.21mcdullmeans diamond2, right?
02:32.36noisyzeni think so
02:32.37noisyzentopaz
02:32.39mcdullmine blac100 (Blackstone , touch HD)
02:33.00mcdulldid you ever have any 3D enabled before? (after 8.2.2010 build)
02:33.27noisyzenya know, i haven't run android in like a week.
02:33.44noisyzeni stopped right around the time all the 3d stuff started taking off.
02:35.24noisyzeni switched to 1.6 and then the location stuff on google went all crazy (kept thinking i was 800 miles away but it worked in eclair) and never ended up putting eclair back on.
02:37.37mcdullwell.. upcoming devices are all 2.0 up and 3d part would be the major development path.  so no point to revert to 1.6 considered that 2.0 works better actually.
02:38.32mcdulldo you know if searchmoney do search multilines and special characters ? like \n ?
02:38.40noisyzenhmm. no, i haven't used it.
02:38.44noisyzenjust saw it.
02:38.51noisyzenhmm
02:38.57noisyzenif there's a regular expression mode..
02:39.40noisyzenthis looks good: http://searchmonkey.embeddediq.com/user-guide says there's a regular expression mode
02:40.09mcdullyes, there are .. but it didnt explain the details of regular expression mode.  Is it a common standard?
02:42.12noisyzenhmm
02:43.07noisyzenit looks like if you enable advanced user you get a regular expression builder in the advanced search tab
02:44.02noisyzenthat might help
02:44.09noisyzen\n would be the line ending
02:58.52karafaI'm wondering, how does the use of GPU effect battery life? does having the 3d enabled for drawing the UI conserve any battery or use more perhaps?
03:01.45noisyzeng'nite
03:01.54*** join/#htc-linux tids2k (~tids2k@d122-111-82-112.riv7.nsw.optusnet.com.au)
03:02.07tids2kcr2 pong ?
03:02.44tids2knetripper ping ??
03:21.50tids2kanyone awake ?
03:26.40MrPippyhi
03:26.47makkonenhe left.
03:32.53tmzttids: hey
03:58.03*** join/#htc-linux BHSPitMonkey (~stephen@unaffiliated/bhspitmonkey)
04:07.36*** join/#htc-linux tehtrk (~tehtrk@rrcs-24-173-220-30.sw.biz.rr.com)
04:14.24*** join/#htc-linux DaveWM (dave@h-96-13-19-59.ip.alltel.net)
04:25.09*** join/#htc-linux Unholy (~IceChat7@24.227.27.77)
04:32.02*** join/#htc-linux chamonix (chamonix@unaffiliated/chamonix)
04:59.14*** join/#htc-linux mcdull (~blackston@n11648167249.netvigator.com)
05:06.09*** join/#htc-linux bzo (~chatzilla@adsl-75-35-5-163.dsl.pltn13.sbcglobal.net)
05:17.45*** join/#htc-linux randomblame (~k@c-71-59-184-96.hsd1.wa.comcast.net)
05:20.22randomblameI've come to the conclusion, dual booting on a fake raid with ubuntu is freaking impossible
05:22.48randomblamelooks like theres a little bit of work getting done on leviathan
06:01.33*** join/#htc-linux mcdull (~blackston@n11648167249.netvigator.com)
06:02.41mcdullis the new rootfs build usable ?
06:03.01Paul_Isheninwhere is it?
06:03.25mcdullhttp://maduin.southcape.org/~xdandroid/rootfs-build/
06:03.30mcdullanother autobuild.
06:03.49Paul_IsheninI asked about it yesteday :)
06:04.46mcdullin fact it seems not having major change.
06:05.06mcdullafaik, it is up to date, but not sure if it is ready for end user.
06:06.36Paul_Isheninno big changes since the last release
06:07.17mcdullwell. at least it fixes some /sdcard and $card variable. That's I need to fix every time a release coming out.
06:07.38Paul_Isheninand bad sql command
06:07.49Paul_Isheninwhile it must be completely removed
06:07.51mcdullIn my earlier trial, I have everything in android folder in order not to mixed up with winmo file.
06:08.24mcdullwell.. I have no view on the sql command, it doesn't really affect user, just one more cpu cycle (or few more).
06:08.53Paul_Isheninit must affect user because it sets that APN as a default
06:09.27mcdulldon't think so, I have set my default and after that everything was just fine.
06:09.38mcdullyou mean for the first run?
06:09.48Paul_Isheninno, I meant for every
06:09.59Paul_Isheninbut indeed, maybe android itself skips the second default
06:10.26mcdullwell. I don't have that problem, I got the error message as well, but it remembers my own APN which is the only one.
06:13.34*** join/#htc-linux kvaster (~kvaster@live.bn.by)
06:24.20mcdullany hardware expert here? I have a corrupted bios on my old Socket A (Abit AN7)
06:24.28makkonenOh, I didn't realize it might be causing a problem by setting the Android APN.
06:24.49mcdulland I dont want to spend more penny to fix it.
06:25.07mcdullcan I reflash (hot plug) it with another mother board
06:25.25mcdull? Not the same board.
06:25.51*** join/#htc-linux luklew (~luklewluk@207.west.gre.pl)
06:26.43*** join/#htc-linux pigeon (~pigeon@eth5284.nsw.adsl.internode.on.net)
06:33.46*** join/#htc-linux irlolcopter (~irlolcopt@host81-152-193-147.range81-152.btcentralplus.com)
06:48.44*** join/#htc-linux toastcfh (~toastcfh@108.109.217.114)
06:51.39*** join/#htc-linux kiozen (~oeichler@rgnb-5d87df27.pool.mediaWays.net)
07:09.52*** join/#htc-linux makkonen1 (~makkonen@cpe-66-69-229-9.austin.res.rr.com)
07:12.33*** join/#htc-linux avengerpenguin_ (~sean@5e051025.bb.sky.com)
07:12.39*** join/#htc-linux makkonen2 (~makkonen@cpe-66-69-229-9.austin.res.rr.com)
07:13.40makkonennew versions of virtualbox are a hassle.
07:18.22*** join/#htc-linux zachy (~george@ip-85-160-54-121.eurotel.cz)
07:20.55*** join/#htc-linux GregLem (~greg@lal69-5-88-171-98-250.fbx.proxad.net)
07:21.03avengerpenguin_anyone got the time to give me a very quick explanation of intrid and what it does
07:23.16mcdullhttp://en.wikipedia.org/wiki/Initrd
07:23.38*** join/#htc-linux fleixius_ (~fleixius@c-68-55-69-186.hsd1.md.comcast.net)
07:27.53*** part/#htc-linux zachy (~george@ip-85-160-54-121.eurotel.cz)
07:29.29*** join/#htc-linux zachy (~george@ip-85-160-54-121.eurotel.cz)
07:30.52*** join/#htc-linux toastcfh (~toastcfh@130-38.200-68.tampabay.res.rr.com)
07:32.08mcdull3D on diam100 is still not working after phh's fix.
07:33.40Paul_Isheninyes
07:34.27mcdulldunno what happened..
07:34.27randomblameis there a way to access a windows mobile phone through ubuntu as a mass storage device/
07:34.38mcdullsure.. why not?
07:34.47mcdullthis is a default function.
07:35.18randomblamevbox crashes when I try to mount that device
07:35.35mcdullthat it would be the vbox problem.
07:35.48randomblameI cant copy a .img through windows without corruption
07:35.53mcdullI remember vbox has to install the usb controller first... right?
07:36.10randomblameyeah
07:36.39randomblameit sees it under devices, when I click it to give the guest os access it freezes
07:36.48randomblamesays it's busy
07:37.00makkonenI've never been able to get usb sharing with vbox working.
07:37.32randomblameI tried to install natively but my fake raid isn't supported and it deleted my windows partition bah
07:38.34mcdullI have given up vbox and back to vmware.  I cant boot my ubuntu usb flash with vbox.
07:38.38randomblamecan vmware access the image vbox is using, so I don't have to set it up again?
07:39.11mcdullthere are online guide for conversion.. but ... not a easy task.
07:39.32mcdullwhat about df the entire disk?
07:40.23randomblamevbox wouldn't let me use a partition like I wanted made me use an image
07:44.25*** join/#htc-linux BabelO (~fcr@2a01:e35:2ee1:c1c0:21e:8cff:fe2d:7d3f)
07:44.26*** join/#htc-linux BabelO (~fcr@unaffiliated/babelo)
07:49.28*** join/#htc-linux toastcfh (~toastcfh@130-38.200-68.tampabay.res.rr.com)
07:51.21mcdullwilson !!.. are you there?
07:51.43mcdullcast away..
07:52.37mcdullanyone using Eclair build from scanny?
07:59.13Paul_Isheninwhat is build from scanny?
08:04.22mcdullhttp://forum.xda-developers.com/showthread.php?t=624808
08:04.31mcdullI tried it, very smooth ..
08:04.56mcdullshould work across device.. not sure if 3D part is properly implemented, yet.
08:05.09mcdullthe rootfs is definitely different.
08:06.47makkonenugh, rootfs. hopefully soon there'll just be one.
08:12.36mcdullthat one supports installation to partition.. which some members claimed faster.
08:12.48makkonenugh, partitions.
08:13.01mcdullI should try with my 4gb card as well.
08:13.20makkonenI built a bunch of install to partition commands to my rootfs. and it was the same speed, but way more likely to be corrupted by crashes.
08:14.18mcdullyes. I remembered... so the journalizing not working ah........
08:14.44makkonenis it even using ext3?
08:14.51makkonen...I feel like I've had this conversation before.
08:14.51mcdullyes..
08:14.57mcdullyes we do..
08:15.19mcdullit is using ext3 partition.. but not sure if journalizing is implemented.
08:15.26makkonenI think I was using ext2 partitions. Not sure if the journaling support for ext3 is built or not.
08:15.46mcdullbut I dont think it is easier to corrupt.
08:15.59makkonenit was a very unscientific test.
08:16.03mcdullat least we shall have a read / write root?
08:16.19makkonenbut I had a data.img that worked fine for 3 weeks, and I moved it to partition and it was unbootable in 2 days.
08:16.20mcdulland read / write  "/system"?
08:16.28makkonenyeah. that's the upside.
08:16.41makkonenalso, the sdcard being mountable via usb mass storage. in theory.
08:16.43mcdulland ......... higher chance to get /sdcard mount as a usb storage
08:16.49mcdullyup.
08:17.20mcdullso worth to try.. and from vogue forum, they uses partition for a long time and very few complaining corruption.
08:17.29mcdullI didn't read any actually.
08:18.22mcdullthere are some mod that we cannot apply becoz of the sqsh.
08:19.40*** join/#htc-linux mickey|office (~Mickey@dialbs-092-079-168-007.static.arcor-ip.net)
08:19.47mcdullanyway, I dont have time to read its rootfs yet.. I was too eager to have 3d on my blac100..
08:20.03mcdulland feel like very dizzy now.
08:25.54Paul_Isheninhehe, just built the kernel and runing it :)
08:27.58phhrhod's home \o/
08:29.06*** join/#htc-linux randomblame (~k@c-71-59-184-96.hsd1.wa.comcast.net)
08:29.22phhand I got markinus' stupid red blinking led.
08:29.52mcdullgood new..
08:29.58mcdullnews
08:30.15phh(even if it's single.)
08:30.22phhnow I have to find a sim unlocked.
08:30.26randomblame:D I figured out the usb issues, you have to disable ehci in vbox and it works.
08:31.07phh"don't ever trust users"
08:31.10phh"not even devs."
08:31.40phhOlipro: awake ?
08:32.25*** join/#htc-linux leobaillard (~leobailla@leobaillard.org)
08:33.09mcdullrandomblame,  USB 1.1 ?
08:33.15randomblamelol yes
08:33.26randomblamebetter slow than no
08:33.37mcdulltoo bad to be true..
08:33.47Paul_Isheninphh, changing pmem_setting.pmem_gpu0_size=0x800000; back to 0x700000 fixes 3D on my diamond
08:34.15randomblamecourse I can't seem to get synce working, but I have access to my printer so I know it works
08:34.26makkonenThis is amazing. 8.5 hours and still not dead.
08:34.27phhPaul_Ishenin: I know.
08:34.27mcdullmay be I should try 4MB in WVGA device.
08:34.42Paul_Isheninwhy not to fix it then ;) ?
08:34.52phhPaul_Ishenin: I want to fix WVGA :p
08:34.56Paul_IsheninI mean this is the only one change required
08:35.11Paul_Isheninyour other changes in pm.c are ok
08:35.36mcdullPaul_Ishenin, 7MB is the fix for diam only. and you can always revert to and older build for it..
08:35.52Paul_IsheninI would better have my own build
08:35.58mcdulldoesn't have much much other change .
08:36.45mcdullok.. may be its the time to try very small gpu0.
08:37.09Paul_Isheninphh, if pmem is so sensible for gpu then probably it also can cause camera to not work
08:37.23phhPaul_Ishenin: I don't think so
08:37.29phhbut I didn't think so for 3D either
08:37.37phh(and 3D is no longer pmem, even if it's in pmem.c, but who cares ?)
08:39.28mcdullfrom the logcat.. it will allocate whatever free ram in gets, in SMI / EBI / (REG ?? )
08:40.09Paul_Isheninphh, currently you set 8Mb for camera. how you've got that value?
08:40.34mcdull1MB or 8 MB?
08:40.40phhPaul_Ishenin: nowhere :p
08:40.42phhmcdull: I updated it
08:40.48phhmcdull: no free ram.
08:41.06Paul_Isheninnowhere is a bad source of knowledge
08:41.30mcdullI would say better not assigning any memory to cam
08:41.41makkonenbut bad knowledge is a good starting place to get good knowledge.
08:41.42Paul_Isheninwhy?
08:41.49makkonennods sagely.
08:42.16Paul_Isheninok, what do you usually look to get the right value?
08:42.20Paul_Isheninto some wince dll?
08:42.36phhPaul_Ishenin: I have no "usual" thing for that
08:42.46Paul_Ishenindo you know what dll relates to camera on wince?
08:42.59phhthe "global" (aka 2D) pmem, has been totally imaginated by me
08:43.02Paul_IsheninI believe haret is a usual too
08:43.05Paul_Ishenintool*
08:43.27phhwhen I did that pmem change, no android msm7k device had that much memory, that was a pain in the ass to fix it.
08:44.31Paul_Isheninpaing in the ass is not fun :)
08:45.00phhfor donut, it was static... I mean in the userland it was hard setted to 8MB
08:45.07phhI had to rebuild part of android to be able to use it on WVGA ...
08:45.37Paul_Ishenin8Mb - you are still about the camera?
08:46.51phhna, pmem
08:46.53phhjust pmem
08:46.59phhno it's setted to 16MB
08:47.05phhor even more for 256MB devices
08:47.08phhs/no/now/
08:47.14Paul_Isheninok
08:47.36Paul_Isheninwhat happen in I just increase camera mem to 16Mb?
08:47.44mcdullar.. when I set gpu0 to 4MB... it still boots as normal... as if no change.
08:47.57mcdullPaul_Ishenin, I guess the same. haha
08:48.56Paul_IsheninI don't think so
08:49.20phhmcdull: with 7MB you got out of memory error, remember ? :p
08:49.43mcdullI am not sure if the out of memory is related to gpu0
08:49.59mcdulllet me check the log again now.. is it in dmesg or logcat?
08:50.50phhlogcat
08:51.13mcdullok.. and I remembered I have to start 3D app as well
08:52.35*** join/#htc-linux fleixius (~fleixius@unaffiliated/fleixius)
08:54.47Paul_Isheninis it normal to have every boot a new fsck....rec?
08:54.54makkonenyes
08:55.49Paul_Isheninmaybe it is possible to disable file check?
08:56.08makkonenmaybe. I think it'd be in the initrd.gz
08:56.14*** join/#htc-linux mcdull_ (~blackston@n11648167249.netvigator.com)
08:57.08mcdull_which pastebin works?
08:57.13mcdull_I cant submit here.. loading forever.
08:58.45mcdull_hi.. anyone see me?
08:58.50Paul_Isheninyes
08:58.51makkonenwe see you
08:58.58mcdull_why my name changed?
09:00.55makkonenlogged you in again because you got disconnected, and your old nickname was already logged in, so it added something to differentiate.
09:01.01makkonenI assume that's why, at least.
09:01.25makkonenyour old nickname is disconnected, so just /nick mcdull to switch back
09:01.35mcdull_but I didnt reg this with NickServ.
09:02.03makkonenmaybe they turned off registration for this channel.
09:02.06mcdullphh, I didn't get memory error this time, but I got something interesting.
09:02.09mcdullgralloc ( 1209): width        = 480 mm (25.400000 dpi)
09:02.09mcdullgralloc ( 1209): height       = 640 mm (31.750000 dpi)
09:02.09mcdullgralloc ( 1209): refresh rate = 60.00 Hz
09:02.29mcdullwhere it is 640 but not 800.
09:04.28mcdullI cant pastebin my complete logcat.. anyone can help?
09:04.47mcdullwhich pastebin site works better.?
09:05.39makkonenno idea. they all work well for me. I use pastebin.com with pastebinit and it's very painless.
09:06.32mcdullhttp://pastebin.me/f8713fa64b6179308e53bf256943b0dc
09:06.48mcdullgot one working... The fifth one I try.
09:07.32phhmcdull: *mm*
09:07.34phhit's not in pixel :p
09:08.44mcdullok.. but I didnt got any memory error this time.
09:08.50mcdullwith 4MB gpu0
09:08.50phhah.
09:08.54phhawesome.
09:08.57phhso what ?
09:09.54*** join/#htc-linux kvaster (~kvaster@93.84.112.80)
09:09.55*** join/#htc-linux kiozen (~oeichler@p54921D4B.dip0.t-ipconnect.de)
09:10.31phhtime to reboot to windows to unlock rhod.
09:12.13Paul_Ishenin16Mb does not help camera to work :)
09:12.29mcdull>gralloc ( 1209): allocating GPU size=770048, offset=0
09:12.45mcdulldoes it seems to allocate 8MB to GPU0 ?
09:12.53mcdullwhere I set 4MB only.
09:13.37mcdullguess I should try 0MB.
09:14.25MrPippyphh: got your rhod?
09:14.57makkonenMrPippy: are you switching over to a rhod400, or did you just have one to play with?
09:16.21mcdullMrPippy, yes, he got it.
09:16.25MrPippyits mine, but i'm not sure i want to use it as a phone or not
09:16.40MrPippykind of a brick compared to the diamond
09:17.22makkonenyeah, s'true, the diamond is very lithe. the raph... is not.
09:17.48MrPippybut....that screen! and it seems faster than my diamond at everything...winmo 6.1 is more usable than i've ever seen before, and android seems fast too
09:18.00makkonenthat's what I keep hearing.
09:18.20makkonenand the big screen is really compelling. and the 3.5mm headphone jack. what I'm saying is... I wanna trade up.
09:18.42*** join/#htc-linux lutzik (~none@ool-182f91f1.dyn.optonline.net)
09:19.32MrPippyyeah, headphone jack and the SD slot (coming from a diamond) are big
09:19.45MrPippyin the year 2010 i shouldn't have to applaud those features in a smartphone, but...htc
09:19.51makkonenheh. yeah.
09:21.37mcdullguess if I can boot after disabling gpu0 ?
09:22.16MrPippyi'm making good progress on the wifi driver, built the module, found the firmware in wince, pulling the nvram now
09:23.01mcdullMrPippy, how is it different from the current one? is it device specific?
09:23.28MrPippyrhod and leo both use broadcom 4325 for wifi
09:23.52mcdullok.. It wont boot.. finally.
09:23.53makkonenmrpippy: what's the status of the rhod400? does cdma data work with force_cdma?
09:24.12MrPippyoh yeah...still haven't tried that
09:25.02MrPippyand there's no sound at all
09:25.32makkonenbleh. windows 7 is upsetting. my network connections fail, and then I run the 'diagnose' function, and they start working. it's like the computer wants me to think it's doing more to help me than it used to.
09:26.18mcdullwindows is always upsetting.
09:26.23makkonentrue
09:26.37mcdullif it works good .. I wont be here. (in the irc)
09:27.55makkonenmrpippy: sound works if you dial a call in winmo first? that old dance?
09:28.40MrPippyi'm not sure, sound out/in isn't working, so maybe i have to play a song and start a call and then boot?
09:29.43*** join/#htc-linux k (~k@c-71-59-184-96.hsd1.wa.comcast.net)
09:29.44makkonenno idea; just reading the thread on ppcgeeks (mostly useless), and they mention dialing a call first for... something. I don't know if it's earpiece sound or what.
09:30.21phh[10:19:45] <MrPippy> kind of a brick compared to the diamond <---- "kind of" ?
09:30.25phhit *is* a brick compared to diamond.
09:30.42phhoh right, cdma diamond are said to be bigger than gsm ones, that's maybe why you say only "kind of"
09:30.49makkonenyou people. all spoiled by your svelte phones. This is a POCKET COMPUTER. embrace it.
09:30.50mcdullhey.. I have a black "stone" here.
09:31.04phhheadphone jack ?
09:31.05MrPippyyeah we have different diamonds, mine is thicker than yours (so we get 1340 mAh!)
09:31.09phhwhere did you see that ?
09:31.38phh(btw, windows desktop has taken more than 10minutes to figure out which driver to use for activesync for my rhod.)
09:31.51mcdullit search online..
09:32.01phhmcdull: no ..
09:32.07phhit specifically said it was on hard drive -_-'
09:32.17MrPippyyeah cdma rhod has 3.5mm jack, and it does gsm
09:32.31phh-_-'
09:32.34makkonen...after 5 years of htc phones, when one finally comes out with a headphone jack, I know.
09:32.42phhmakkonen: first one is blackstone :p
09:32.43makkonenphh: see, don't you wish they'd gotten you a cdma/gsm one now?
09:32.43randomblamehmm with usb plugged in my kernel hangs at msm_gpio_set_function(6c, 0)
09:32.59mcdullphh, yes, I bought it becoz of this.
09:33.04phhmakkonen: not sdame prize.
09:33.26makkonenphh: I know. I knew. I envied the blackstone. but I live in the usa.
09:33.28phhturbo HW ?!?
09:34.19phhwhat the hell does that mean ? I've already seen that in codeaurora's kernel but ...
09:34.19MrPippyhehe maybe, how does it feel to you?
09:34.31MrPippyfaster memory bus i think
09:34.34phhI haven't been able to play with it yet, I'm still unlocking it :p
09:34.43phhyes iirc it's 200MHz memory
09:34.49phhI'll have to benchmark that
09:34.57phh200MHz EBI VS SMI
09:35.05MrPippyinstead of 166?
09:35.09phhyes
09:35.23phhseriously, reefermattness is crazy.
09:35.31phhI putted the nexus' splashscreen
09:35.34phhfor windows' boot
09:35.37phhs/I/he/
09:38.21*** join/#htc-linux Vito89 (~quassel@94.142.234.1)
09:38.41phhtime to reboot rto a *real* os.
09:39.06mcdullumm.. 1MB gpu0 still boots.. and I can play game from it.
09:39.28mcdulldo you think the driver will self allocating memory by itself?
09:39.50*** join/#htc-linux lilsnoop (~lilsnoop@ip68-229-4-180.lv.lv.cox.net)
09:39.51mcdull1MB shouldnt be enough for a 800x480 device.
09:39.51makkonenholy crap, phone, just die already. 9.5 hours and the battery won't give out. I want to reboot, but I also want to see how long it'll go.
09:40.29mcdullbetter save your battery.. it will over discharge.
09:40.58makkonen...good point.
09:47.27Paul_Isheninshit. why I compared my diamond with hero while it is more comparable to dream
09:48.08mcdullPaul_Ishenin, ha.. both are not comparable.
09:48.41Paul_Ishenindream is based on the same 7201a chip as diamond
09:51.28mcdullyes. but a lot of devices using 7201a has huge difference.
09:51.55phhmcdull: game.. you mean 3D game ?
09:52.14mcdullno...
09:52.21mcdull2 d only..
09:52.26mcdullalthough I dream of it.
09:52.27phhmcdull: so you can set gpu0 to 0
09:52.30phhit will still work.
09:52.36mcdullI tried.. but it doesnt
09:52.39mcdullno boot.
09:52.47Woutphh, I take it the rhodium has arrived?
09:52.54phhWout: yes.
09:52.58mcdullget heat up when entering gui and crashed.
09:53.03Woutgreat news :)
09:53.14phhmcdull: uh ?
09:53.33mcdullphh, 0MB no boot  / 1MB boot normal
09:54.52phhwho is the fucking idiot who created this lame leyboard layout.
09:54.55phhseriously.
09:55.26Woutwhat's so lame about it?
09:56.06phhthe ROM reefermattness put, hasn't the same layout as ATT keyboard -_-'
09:56.21phhand anyway, who have ever seen a qwerty keyboard, without the digits at the upper line ?
09:56.45mcdullit happens.. may be in nokia ?
09:56.47Woutthats weird, I got the EU one, keyboard is great
09:57.04MrPippyoh yeah the att one had a weirdo kb layout too
09:57.13MrPippyi thought you were complaining that it wasn't azerty or something ;-P
09:57.13Woutphh, you got this one? http://images.htcpedia.com/news/81/ff/c75cf3c66bb970dd4e9c79c5ffac.jpg
09:57.15phhMrPippy: *it's* an att :p
09:57.26phhWout: yes
09:57.37makkonenthe fuze keyboard is a disaster. so glad they didn't go with that for anything I have.
09:57.37Wout:/ seems pretty illogical indeed
09:58.06makkonenoh. tilt2 is the same way. ugh.
09:58.19makkonenwtg at&t. just got to be difficult.
09:58.26MrPippyyeah that is such a dumb layout, top row isn't anything close to a normal qwerty layout
09:59.54phhMrPippy: it's not even close to my azerty desktop layout.
10:07.24MrPippyjust tried force_cdma=1, doesn't work any better but i think it at least knows its cdma
10:07.49MrPippycom.android.phone crashed twice, nullpointerexceptions at com.android.internal.telephony.cdma.CDMAPhone.isDataConnectivityPossible(CDMAPhone.java:490) and com.android.internal.telephony.cdma.CDMAPhone.getServiceState(CDMAPhone.java:264)
10:07.55Paul_Isheninphh, is board-htcdiamond.c  actually used?
10:08.18*** join/#htc-linux mcdull (~blackston@n11648167249.netvigator.com)
10:09.03phhPaul_Ishenin: lol ?
10:09.04phhsure it is
10:09.20phhMrPippy: what about htc_hw.force_cdma=1 ?
10:09.21Paul_Isheninhow?
10:09.34phhPaul_Ishenin: with the MTPE
10:09.35phhMTYPE*
10:09.41Paul_Isheninahh :)
10:09.43Paul_Isheninthanks
10:10.12phhsee the MACHINE_START stuff
10:10.15phhat the end of the file
10:16.03Paul_Isheninwhy diamond source file has raphael_bla consts?
10:16.33makkonenI was thinking of trying my hand at making the battery status use a moving average algorithm... that might help a bit, right?
10:16.40phhbecause they are the same as raphael
10:16.53phhit's more clear that way imho (and I'm not the only one to think so, since it has been decided before me.)
10:17.06phhmakkonen: not really
10:17.17makkonenno?
10:17.27phhmakkonen: on my diamond, when my battery is at lower than 40%, on android it's *always* at 5%
10:17.40phhthe only thing we can do, is a real battery calculation
10:17.51phhas suggested by captnoord, with integral of i*dt.
10:18.02MrPippyi think htc_hw.force_cdma=1 was more successful, no crashes from com.android.phone
10:18.11phhMrPippy: but no data ?
10:18.14MrPippymy phone isn't activated though, so i can't test anything really
10:18.20makkonenhmm. mine just gets jumpy as hell below 40%. doesn't just drop to 5. but I've got a more robust (if not necessarily more correct) table of values.
10:18.20phhtsss
10:18.42phhmakkonen: IMHO the major problem is the value of internal resistance used
10:18.52makkonenphh: do we know where to access the correct values?
10:19.01makkonenit seems like we're missing a piece.
10:19.13makkonenthe values in smem are uncorrected, I gather, and also incomplete.
10:19.40phhI fear that's all we've got .... you have to do all calibrations (the 0 of the current meter for example.) by hand
10:19.58MrPippythe rest is all in battery.dll, i know a very small amount about whats going on in there
10:20.36MrPippyi know how to go from batt_id to the mAh of the battery (basically if its std or extended battery), and i think i have the formula to correct the current
10:21.54phhMrPippy: then that's all we need.
10:22.03phhthe mAh of the battery isn't even needed
10:23.35Paul_Isheninis there a way to output to adb log a string?
10:23.45phhwhat do you mean ?
10:24.02Paul_IsheninI need to output a debug string
10:24.13Paul_Isheninso I see that some function is called
10:24.36phhfrom where ?
10:24.41Paul_Isheninfrom the kernel
10:24.54Paul_Isheninand "adb logcat" will show me that string
10:24.55phhna you can't, but can't you do a printk and then adb shell dmesg ?
10:25.12Paul_IsheninI can
10:25.27Paul_Isheninprintk("string") ?
10:25.39phhyup
10:25.44phhsame syntax as printf
10:29.24*** join/#htc-linux GeertJohan (~Squarc@82-217-32-29.cable.quicknet.nl)
10:32.40Paul_Isheninshould I call a make clean?
10:32.54phhlol why ?
10:32.54Paul_Isheninor usually it builds fine without clean?
10:33.05Paul_Isheninwho knows that gcc?
10:33.26Paul_IsheninI'm fpc devel I know that compiler can work unreliable
10:33.41phhhopefully it's make's job.
10:33.49phhand it just compares dates
10:34.01phhno seriously,  unless you do really really weird stuff, make clean isn't neede
10:34.02phhd
10:34.38Paul_Isheninok, thanks
10:34.39phhcurrently i've never needed any make clean in the kernel tree
10:35.21phhI've just one question left....
10:35.30phhHTC, their stylus..
10:35.34phhthey are joke, no ?
10:35.52phhI mean, they are more little than the screen itself...
10:36.17Paul_Isheninwho need a stilus with android?
10:36.27phhthat's not the question :p
10:37.23MrPippythe rhod stylus is bad, i miss the magnetic one
10:37.25phhmy first touchscreen phone, a really cheap one (60€.... 3 years ago, GSM and wifi !)
10:37.31phhit was a telescopic stylus
10:37.40Paul_Isheninphh, most of kernels has 16Mb for camera
10:37.55phhPaul_Ishenin: how can I do that on diam ? :p
10:38.05Paul_Isheninand most have the same gpio. although I'm not sure what is gpio
10:38.09Paul_Ishenindiam = dream
10:38.14phh?!?
10:38.17Paul_Isheninthey did that somehow, no?
10:38.22phhdream has 128MiB EBI ?!?
10:38.29Paul_Isheninno idea
10:38.33phhit has 256
10:38.45phhthe only android device that has only 128 AFAIK is samsung galaxy
10:38.51phh(this device is such a joke.)
10:39.39Paul_Isheninok. I'm not really know much here, but I believe I will fix camera for my diamond
10:39.47phhno clue
10:39.49phhI have to try
10:40.52*** join/#htc-linux droid001 (~g1@p4FDCB310.dip.t-dialin.net)
10:43.36makkonenphh: is this patch for keyboard LEDs just too ugly to allow? http://pastebin.com/d71d50e99
10:43.50makkonenI just want to stop thinking about keyboard LEDs. I don't even care about them. they don't work right on anything anyway.
10:45.10Paul_Isheninphh, how can I create an own branch with git?
10:45.14phhmakkonen: it's fine
10:45.17Paul_Isheninfor diamond camera
10:45.22phhPaul_Ishenin: git branch <name of the branch> iirc
10:45.27phhPaul_Ishenin: can't you just use the camera branch ? :p
10:46.16Paul_Isheninno idea
10:46.16Paul_IsheninI can commit to the camera branch?
10:46.18phhyes, just not push
10:46.23Paul_Isheninok
10:46.36phhandroid looks really awesome on rhod.
10:46.49makkonenphh: cool. then I have no outstanding changes in my tree. yay, time to trash it.
10:47.11phhmakkonen: hehe
10:47.12makkonenphh: ooh. 800x480 is an actually supported resolution, too. that'll probably make things work nicer.
10:49.19phhoh, backlight diming doesn't work at all
10:49.40Woutphh: the rhod really works well with android, such a good combo. On what device were you testing before?
10:49.50phhWout: gsm diamond
10:50.10Woutk, nice upgrade then :D
10:50.51phhso I just need sound working and backlight diming.
10:51.01phhshould be easy.... or not.
10:52.33phhoh right, I forgot the worst part of rhodium
10:52.48phhwhy did they put that reset button there ?
10:53.22phhoh I know
10:53.22phhit was supposed to be an android phone :p
10:53.30makkonenwhat'd they do?
10:53.48phhthe reset button is almost not accessible
10:54.00phhit means the phone was meant for a stable os
10:54.03phhso not wimo :p
10:55.29Woutreally does seem like it :)
10:55.49Woutand to have an actual full appstore compared to the shitty windows marketplace is a blessing
10:56.00phhandroid seems awesome on this screen
10:56.04phhwince seems awful.
10:56.31Woutthe newest sense 2.5 build isn't that bad though, loads better than the stock winmo experience
10:56.47Woutbut android just kicks winmo's butt in so many ways
10:56.59*** join/#htc-linux mcdull (~mcdull@203.210.8.180)
11:01.53phhargh
11:01.56phhit's kidding me
11:02.03phhit's not an i2c :'(
11:03.36*** join/#htc-linux mickey|office (~Mickey@dialbs-092-079-168-007.static.arcor-ip.net)
11:04.44Paul_Isheninmy dmesg has no my camera string
11:05.30phhPaul_Ishenin: git diff ?
11:05.50Paul_Isheninif I register a camera device in the devices[] array it will be somehow registered?
11:06.03phhif the corresponding driver exists
11:06.18Paul_Isheninah
11:07.54Paul_Isheninphh, http://pastebin.com/d3b5828c5
11:08.26phhwhy do you want a "my camera" string ?
11:08.36phhand why do you rewrite this function ?
11:08.39phhI've already done it
11:08.49Paul_Isheninin the camera branch?
11:08.52phhyes
11:09.04Paul_IsheninI did not touch that branch yet
11:09.18phh-_-'
11:09.29phhuse it, almost everything has already been done in it
11:09.43Paul_IsheninI will do
11:09.57phhjust not the pmem update, don't know if it will be enough
11:09.59Paul_Isheninhow to revert my chockout and switch?
11:10.27Paul_IsheninI'm using svn only for development
11:10.32Paul_Isheninand git the first time
11:12.01phhgit checkout -b camera origin/htc-2.6.27-camera
11:24.54*** join/#htc-linux GeertJohan (~Squarc@82-217-32-29.cable.quicknet.nl)
11:29.24*** join/#htc-linux Markinus (~Miranda@gtng-4db04e3e.pool.mediaWays.net)
11:30.02phhhi MarcLandis
11:30.04phhgrrrrr
11:30.05phhhi Markinus
11:30.10Markinusphh: Hi
11:30.11phhMarkinus: I got your red blinking led.
11:30.15phh(and my rhod.)
11:30.17Markinusahh :)
11:30.29phhbut it was locked so I couldn't trace it -_-'
11:30.33Markinusphh: you have you rhod? Cool . .
11:30.42Markinusphh: hmmm
11:30.56phhI guess we can live with that though.
11:30.59phhwithout
11:31.10Markinusphh: what so oyu mean with locked, you cannot trace i2c?
11:31.16Markinusphh: yes :)
11:31.29phhMarkinus: sim locked, with annoying "only call emergency" stuff
11:31.33Markinusphh: sound is a other think . . .
11:31.49phhMarkinus: have you tried tracing i2c when starting to listen something ?
11:31.50Markinusphh: this locked .. ahh
11:31.52phhand tried headset ?
11:32.11phhMarkinus: now it's no longer locked, but now the battery is charged :p
11:32.22phh(even if windows doesn't think so yet.)
11:32.34phh(stupid battery calibration stuff)
11:32.41Markinusphh: Yes, nothingm I this it is difficould to configure h2w for headset without sound . .
11:32.54phhMarkinus: you don't need h2w for headset sound
11:32.59phhjust to do the correct snd_set_device
11:33.27Markinusphh: ahh, ok. I thought this is needed for routing . .
11:33.38Markinusphh: but I tested this, niothing . .
11:33.39phhthis is needed to know when to route
11:33.43phhand get button
11:33.44phhthat's all
11:33.52MarkinusI played with all snd_ outputs
11:34.10Markinusphh: ahh, ok
11:34.26Markinusphh: the only sound what works is BT
11:34.35phhyes but A2DP ?
11:34.38phhso software sound
11:34.42Markinusyes
11:34.57MarkinusI think it's from userspace
11:35.16Markinusdirectly from android
11:35.31phhWM crashed \o/
11:35.32phhbah.
11:35.38Markinusohh
11:36.51Markinusphh: I think we prepared much for sound. There is a small think what we didn'T see . .
11:37.01phhMarkinus: try dumping i2c :p
11:37.04Markinusmaybe this ADIE stuff
11:37.28MarkinusI did this too, the only thing what changed is ADIE
11:37.55phhah.
11:38.09phhwell, for rhod I know there will be i2c stuff to do :(
11:39.16Markinusyes? Ohh .. hmm, but this is 6125 too . .
11:39.34phhyou don't have an audience chip :p
11:39.58MarkinusIf you try this, I disambled the audmng for 6125 in the amss_para
11:40.03Markinusdisabled
11:40.37phhah
11:40.45phhMarkinus: do you have backlight diming ?
11:41.05phhI mean to switch from lowest brightness to highest and such
11:41.09Markinusphh: if I enable this the device is crashing on call . .so I had to deactivate
11:41.18Markinusphh: this is working, yes
11:41.19phhnot automatic one
11:41.28Markinusyou mean e.g. from Android settings?
11:41.31phhyes
11:41.36Markinusworks
11:41.39phhpff
11:41.43phhrhod specific stuff
11:41.54phhbut easy one.
11:42.15Markinusphh: This is a other panel as in Topaz
11:42.26phhnot panel stuff, microp stuff
11:42.37Markinusahh, yes, right . .
11:43.01phhmakkonen: It seems I can't apply your patch... can you put it somewhere which doesn't break the format of the file ?
11:43.36phh#define MICROP_I2C_RCMD_SPI_BL_STATUS                   0x24
11:43.40phh048.109 7bd4ef40: e5863000(str)         # b2300000 =000001cc
11:43.40phh048.109 7bd4ef54: e5863000(str)         # b2300000 =00000024
11:43.40phh048.109 7bd4ef74: e5863000(str)         # b2300000 =00000207
11:43.42phhOK
11:44.04makkonenphh: yeah. I wasn't sure it would work... it's being made on my tree, not yours.
11:44.11phhmakkonen: not the problem
11:44.13phhthe problem is pastebin
11:44.19makkonenah
11:45.24makkonenI'm in the middle of totally messing up my git repo in a (failed) effort to learn things... let me finish all my crazy rebasing and I'll push it.
11:47.35Markinusphh: on topaz cc,22,220
11:47.51phhmakkonen: ok :)
11:48.00phhMarkinus: 220 or 20 ?
11:48.11Markinus20
11:48.17phhthe |0x200 means it's the last byte of the message
11:48.17phhok
11:48.22phhlike all devices then
11:48.25phhall but mine :p
11:49.42Markinusphh: yes, I know .. and the |0x100 the first . .
11:49.42phh004.204 7bd4ef40: e5863000(str)         # b2300000 =000001cc
11:49.42phh004.204 7bd4ef54: e5863000(str)         # b2300000 =00000022
11:49.43phh004.204 7bd4ef74: e5863000(str)         # b2300000 =00000200
11:49.46phhthis thing is kidding me -_-'
11:52.39Markinusphh: I tested the automatic backlight, but there are much things to change from N1. E.g. the N1 has a GPIO for the LS. But I work on it...
11:52.52phhMarkinus: automatic backlight works for diamond
11:52.55phhsee the dbgfs entry I added
11:53.07phhlight sensor works too
11:54.30Markinusphh: Is on Topaz a bit different . . I look for the differences . .
11:54.50phhautomatic backlight seems to be the same on rhodium according to dumps, but it doesn't work
11:55.03phhah
11:55.05phhnot the same syntax
11:55.09phhbut same command id
11:55.15phhthanks HTC, i thaught you made that clean
11:55.15phhpfff
11:55.49Markinusphh: on me auto bl enable:
11:55.50Markinus007.888 7af883f4: e5863000(str)         # b2300000 =000001cc
11:55.50Markinus007.888 7af88424: e5863000(str)         # b2300000 =00000023
11:55.50Markinus007.888 7af884a8: e5863000(str)         # b2300000 =00000001
11:55.50Markinus007.888 7af884a8: e5863000(str)         # b2300000 =00000201
11:55.59phhLOL
11:56.11phh065.498 7bd4ef40: e5863000(str)         # b2300000 =000001cc
11:56.12phh065.498 7bd4ef54: e5863000(str)         # b2300000 =00000023
11:56.12phh065.498 7bd4ef74: e5863000(str)         # b2300000 =00000201
11:56.13phhthat's for me
11:56.19phhand for diamond, it's) like yours, but change the first 01 to 02
11:56.36Markinushmmm, urgh ..
11:56.47Markinusdisable:
11:56.48Markinus005.486 7af8906c: e5863000(str)         # b2300000 =000001cc
11:56.48Markinus005.486 7af88424: e5863000(str)         # b2300000 =00000023
11:56.48Markinus005.486 7af884a8: e5863000(str)         # b2300000 =00000000
11:56.48Markinus005.486 7af884a8: e5863000(str)         # b2300000 =00000200
11:56.55phh-_-'
11:58.52*** join/#htc-linux Captnoord (~Captnoord@dc5147a47b.adsl.wanadoo.nl)
11:59.21Markinusphh: whitch MASS IRQ is rhod using, 22 or 23?
11:59.30MarkinusI don'T have any i2c communcation on sound
11:59.33phhmass irq ?
11:59.39MarkinusAMSS
11:59.41Markinussry :)
11:59.42phhah
11:59.46MarkinusADSP
11:59.55phh23
12:00.01Markinuslike topaz
12:00.08Markinusdifferent as the other devices . .
12:00.12phhand I do have i2c communication when sound is turned on
12:00.14phhreally ?
12:00.14phhdamn
12:00.37Markinusbut I changed this in the code . .
12:00.45phhmaybe not everywhere ?
12:02.02phhMWAHAHA
12:02.08phhthey are really kidding me.
12:02.18Markinuscr2 mean only in one place
12:02.52phh<PROTECTED>
12:02.55Markinusphh: adsp.c
12:03.07phh045.971 7bd4ef40: e5863000(str)         # b2300000 =000001cc
12:03.07phh045.971 7bd4ef54: e5863000(str)         # b2300000 =00000022
12:03.07phh045.971 7bd4ef74: e5863000(str)         # b2300000 =00000280
12:03.10phhautomatic backlight off
12:03.16phh042.448 7bd4ef40: e5863000(str)         # b2300000 =000001cc
12:03.16phh042.448 7bd4ef54: e5863000(str)         # b2300000 =00000022
12:03.17phh042.448 7bd4ef74: e5863000(str)         # b2300000 =00000281
12:03.20phhautomatic backlight on
12:03.26Captnoordhehe
12:03.27Captnoorddude
12:03.32Captnoordit doesn't have to be complicated
12:03.32phhnot the same as dumped before -_-'
12:03.33Captnoord:P
12:03.47Markinuswhy did HTC change this in every device . . . . . arg
12:03.50Captnoordwhat was the dump before
12:03.54Markinushmmm
12:03.57phhCaptnoord: 0x23
12:03.59phhlike all devices
12:04.02phhbut different syntax
12:04.19Captnoord22 & 23 = 1
12:04.28Captnoord280 & 281 = 1
12:04.32phhCaptnoord: 22/23 are command ids.
12:04.35Captnoordk
12:04.39phhand it's a xor
12:04.39Captnoordhtc loves doing that
12:04.41phhnot a & :p
12:04.48Captnoordtrue
12:05.02phhwait wait wait
12:05.15phhautomatic backlight is done through the lcd_brightness function
12:05.23Markinusphh: In this moment I get my leao :)
12:05.24phhmanual backlight level though read spi status
12:05.29MarkinusLeo
12:05.32phhthey want to kill me
12:05.37phhMarkinus: really ?
12:05.37phhpfff
12:05.46Captnoordphh hehe stop laughing
12:08.35randomblameis there anything in the defconfig that would make msm_fb more likely to work
12:08.42randomblamedisabling blitting etc?
12:09.53Markinusmhy did they change the connector to micro usb . .. .
12:10.15randomblamemarkinus: is it as beautiful in real life as it is in pictures?
12:10.40Markinusrandomblame: ohh, yes :)
12:12.00randomblame:D
12:12.10makkonenis there an argument to give to 'make modules_install' to put them somewhere I choose?
12:12.48makkonenphh: attempt #2: http://gitorious.org/~makkonen/linux-on-qualcomm-s-msm/linux-msm-cdma/commit/2bf947ea6411a462427b1ada9090c58040be173b.patch
12:14.10*** join/#htc-linux stinebd (~bryan@gentoo/developer/battousai)
12:14.25*** join/#htc-linux friehmaen (freeman@xers.de)
12:14.30*** join/#htc-linux thinko2 (~jdoe6alph@smaug.rackdragon.com)
12:15.14*** join/#htc-linux rosseaux (znc@2001:1b60:1010:1:217:31ff:fe92:fcc8)
12:15.16randomblameI think msm_fb is actually hanging the device bah what could cause that? Interrupt problem specific to mdb?
12:19.29makkonenwhy did ramconsole get removed for !diamond devices?
12:20.28phhmakkonen: try for 3D.
12:20.31phhbut still not working
12:20.33phhso I'll revert it
12:20.44makkonenah
12:21.43phhmakkonen: I pushed your change
12:25.21phherr not pushed.
12:25.37phhnow it is
12:26.20makkonenthanks
12:27.18*** join/#htc-linux GeekLad (~GeekLad@adsl-178-230-51.jax.bellsouth.net)
12:27.40*** join/#htc-linux Paul_Ishenin (Miranda@PPPoE.214-188.IP.rastrnet.ru)
12:27.46makkonenMornin', GeekLad.
12:27.50*** join/#htc-linux mcdull (~mcdull@203.210.9.167)
12:30.09randomblameon entering userspace htc_fb_console hands off to msm_fb right?
12:30.26phhtheorically.
12:30.30phhbut I never got the switch working :p
12:30.36phhthat's why I told you to try without it
12:30.49randomblameI've tried it without it
12:30.50*** join/#htc-linux Hellie (soulreaper@wield.the.scythe.of.the.soulreaper.net)
12:30.55randomblamemsm_fb seems to hang the device
12:31.13phhwhat says ramconsole ?
12:31.33randomblamehaven't gotten it to work
12:31.39phhah.
12:31.45phhI think that's the first thing you should do then
12:32.13Markinusphh: The autobacklight is working now
12:32.26Paul_Isheninphh, can you merge the head into camera to have pmem more uptodate there?
12:32.29phhMarkinus: how ?
12:32.35phhPaul_Ishenin: no :p
12:32.38randomblameflashlight code shows that with only msm_fb enabled it hangs before mmu is enabled
12:32.44Markinuschanged the diamond code ..
12:32.59phhMarkinus: to buffer[1]=val;buffer[2]=val ?
12:33.03Markinusyes
12:33.09phhok
12:33.46phhARGH
12:33.53phhI didn't boot correct zImage
12:34.01makkonenI hate when I do that.
12:34.23phhI wondered why none of the changes I made were working.
12:34.33makkonenhaving to reboot winmo again... and then having to reboot android again...
12:36.32phhseriously, android on rhodium looks really perfect.
12:36.53makkonenseriously, shutup, you're making me jealous.
12:37.12phhwhen I see the changes from VGA to WVGA, I think I don't even want to see how it looks like on native android devices (aka HVGA)
12:37.17Paul_Isheninphh, what is wrong with the merge?
12:37.23phhPaul_Ishenin: lazyness ?
12:37.37Paul_Isheninah, I see. I thought this works another way in git
12:37.52phhwell, it's mostly because I don't know how it works with git.
12:38.09phhoh there is something I can try
12:38.16Paul_Isheninah, so we have the same problems
12:39.36Captnoordphh can you test something for me.... just a hunge...
12:39.38Captnoord{ .clk_id = IMEM_CLK, .idx = 3, .offset = 0x84, .ns_only = 0xa80, .name="IMEM_CLK", },
12:39.39Captnoordchange
12:39.40Captnoordto
12:39.49Captnoord{ .clk_id = IMEM_CLK, .idx = 3, .offset = 0x84, .ns_only = 0x4a80, .name="IMEM_CLK", },
12:39.59Captnoord0x4000 - CLK_SEL
12:40.05phhuh ?
12:40.23Captnoordfor both grp
12:40.26Captnoordand imem
12:40.34Captnoordhmmm I have to check idx 3
12:40.36phhPaul_Ishenin: updated
12:40.38phhI think
12:40.46Captnoordfor imem handling
12:41.03phhPaul_Ishenin: ah no.
12:41.05phhpff don't know
12:41.20phhCaptnoord: clk sel ? mmm
12:41.58phhwhat's the ?!?
12:42.01Paul_Isheninyou've merged something but what you've merged I'm not sure :)
12:42.07phhI've lost my microp changes, somewhere.
12:42.09makkonenRevert "Revert "Revert "...
12:42.25makkonenmy tree often looks like that
12:42.25phhmakkonen: pcchh :p
12:42.50phhseriously, what i've done ?
12:42.57phhmy patch is ... nowhere
12:43.10phhbah let's redo it then
12:43.25Captnoordbashes his head against the wall.....
12:43.32phhCaptnoord: why ?
12:43.39Captnoord#define IMEM_CLK12
12:43.45Captnoordthats what we have been doing
12:43.47Captnoordall the time
12:43.49Captnoordonly that
12:43.54phhCaptnoord: yes and ?
12:43.56Captnoordbut it consists of 2 parts
12:43.57Captnoordimem
12:43.58Captnoordand grp
12:44.01Captnoordgrp i s8
12:44.02phh?
12:44.04Captnoordis 8
12:44.07phhyes and ?
12:44.12Captnoordand I need to check what is done there
12:44.16phhboth are handled
12:44.20Captnoordtrue
12:44.25Captnoordbut I didn't reverse them
12:44.29phhah ok
12:44.34CaptnoordI didn't look
12:44.39phhso I might slap you
12:47.35*** join/#htc-linux GNUtoo (~GNUtoo@host49-13-dynamic.54-79-r.retail.telecomitalia.it)
12:48.47Markinusphh: I cannot read the lightsensor values (0), do you know a winmo app whitch is using the lightsensor directly?
12:48.59phh0no
12:49.02phh-0
12:49.21phhMarkinus: just try nexus' one's way
12:49.37makkonenLumos?
12:49.50makkonenI don't know if it uses it directly.
12:50.01IceBoneDamn, the Desire will be 519 euro?
12:50.28IceBoneWhat justifies such a price jump?
12:51.03makkonenIsn't it... an N1 with SenseUI?
12:51.17phhmakkonen: yes
12:51.22phhand no optical jogball iirc
12:51.47IceBoneYeah, N1 has a trackball, Desire has the optical thingy.
12:52.16IceBoneBut it's not worth 170 euro...
12:53.01phhIceBone: sense ui is
12:53.42phhyes I know that nexus already has it. but still.
12:54.07Paul_Isheninphh, you've broke the camera branch
12:54.11phhPaul_Ishenin: cool
12:54.17Paul_Isheninit can't compile
12:54.45Paul_Isheninok
12:55.03Paul_Isheninis board-htc-diamond.c is the only modified file there?
12:55.05phhwhat's the ?!?
12:55.10phhhaha
12:55.13phhI think I know what happened
12:55.28phhI forgot to commit the merge :p
12:56.14*** join/#htc-linux sxe (~quassel@ip-62-143-102-161.unitymediagroup.de)
12:56.34phhGRRR
12:56.36phhgood kernel
12:56.38phhbut it still doesn't work
12:58.04IceBoneIf I bought the N1 via someone in the US and had it shipped here, it'd be hell of a lot cheaper.
12:58.21IceBoneAnd it would work, 3G and all.
12:58.22phhah right you said euros.
12:58.32IceBone519 euro vs 500 usd.
12:58.38Captnoordlol
12:58.46Captnoordmy vdump made the phone lock
12:58.47Captnoord:P
12:58.49makkonenboth of those numbers sound really ridiculous to me.
12:58.50IceBoneOr 519 euro vs 350 euro.
12:59.27phhmakkonen: bwah, it's only 2 times the actual price of the hardware
12:59.55makkonenthat actually makes it sound more reasonable
13:00.05IceBoneHow functional is Sense on the N1?
13:00.13IceBone100%?
13:00.25phhIceBone: i guess so
13:00.43IceBoneShould be identical hardware, right?
13:00.56phhyup
13:01.00*** join/#htc-linux maejrep[w] (~madCoder@68.64.144.211)
13:01.39IceBoneHow did babijoee get his N1? From USA?
13:03.09mcdullwhich 1 do you find better? htc for google
13:04.09phhbaaaahh
13:04.12phhaccelerometer doesn't work :(
13:04.23phhmcdull: what changes ? :p
13:04.57Markinusphh: a other one as Topaz?
13:05.13phhMarkinus: just an old sensors.default.so I think
13:05.17phhor wrong perms
13:05.19Markinusahh, ok
13:05.39phhyes it has been detected by the driver
13:06.00mcdullsorry, i was asking the comments for the phone from htc and google. wrong word from voice input.
13:06.06MarkinusI did the changes for both . .
13:06.12mcdulli may get a n1
13:06.21phhMarkinus: yes but the android build I use doesn't have updated sensors :p
13:06.46Markinusyes, I understanded you :)
13:07.00phhstrings /system/lib/hw/sensors.default.so |grep bma
13:07.00phhbma150
13:07.00phh/dev/bma150
13:07.01phhyup.
13:07.05*** join/#htc-linux mcdull (~mcdull@203.210.9.167)
13:07.31Markinusphh: How did you enable the auto backlight in Dia?
13:07.38Markinusit's default off
13:07.48phhin android you mean ?
13:07.50MarkinusI did is with echo
13:07.58phhyes, there is only echo currently :p
13:07.59Markinusis there a other way?
13:08.03Markinusok
13:08.10phhI asked chamonix to do something about that
13:08.13phhI'm still waiting :p
13:08.17Markinus:)
13:09.14*** part/#htc-linux MarcLandis (~drettsch@quassel/contributor/marclandis)
13:09.20*** join/#htc-linux MarcLandis (~drettsch@quassel/contributor/marclandis)
13:10.36phhMarkinus: do you also feel that android is way cleaner, smoother, well more beautiful than wince on these devices ?
13:11.28Markinusphh: yes, on our displays it lokks great and is very smooth.
13:11.33Markinuslooks
13:12.04Markinusbut winmo on leo is the first time on a WInMo device VERY fast
13:12.30phhi'm not speaking about the speed, just the apparency
13:12.34phhwell, android is really fast too.
13:12.34Markinusbut on android me didn'T need the power
13:12.52Markinusphh: yes . . . this is much better too
13:13.19phhwell, maybe not better, wimo isn't as slow as the first diam rom I had
13:13.22phhit's even usable I'd say :p
13:15.19Markinusphh: Yes with the XDA changes this is usable :)
13:15.25phh:p
13:15.33phhI can't wait to have 3D working on this device
13:15.58phh(well, I guess I shouldn't expect too much from it)
13:16.00Markinusphh: yes . .. this would be great
13:17.01phhMarkinus: back to sound, have you tried software sound using device=1 for snd_set_device ?
13:17.56randomblameawesome ram console is working
13:18.12phhrandomblame: was it that hard ? :p
13:19.23phhD/Sensors ( 2199): sensors activate couldn't open /sys/class/i2c-adapter/i2c-0/0-0066/enable
13:19.25phhthere is something wrong here.
13:19.49Markinusphh: Yes, I tested under angstorm all devices
13:20.03*** join/#htc-linux rob_w (~bob@p549BBD9B.dip.t-dialin.net)
13:20.04phhoh you putted bma150 device in i2c?
13:20.06phhbah why not
13:20.21Markinusphh: I had always the sams, there are no evennts comming form the AMSS
13:20.30Markinusno, irqs, nothiung
13:20.40phhah.
13:21.02*** join/#htc-linux luklew (~luklewluk@207.west.gre.pl)
13:21.05randomblamephh: not hard, just not as shiny a prize as other functionality
13:21.15phhrandomblame: true
13:21.16randomblamephh: super freaking usefull tho
13:21.22phhtrue too :p
13:21.39Markinuswe can comminicate over RPC, send all thinks to the DSP, and the DSP has to work, but he do nothing .. . .
13:21.57phhouch.
13:22.17phhhave you tried using 6150 files ?
13:22.33Markinusphh: yes, I dumped the whole RPC calls, cr2 looked over this and says it's okey
13:22.41Markinusphh: no, 6125
13:22.54phhMarkinus: I know
13:22.54Markinus(6120 files)
13:22.58phhbut we have files for 6150
13:23.02phh(which is an android device)
13:23.08MarkinusI didn't test it
13:23.13Markinusahh, ok
13:24.14phh# cat /dev/input/event3
13:24.15phhweird.
13:24.17phhI just get nothing
13:26.57*** join/#htc-linux Vito89 (~quassel@94.142.234.1)
13:27.17phhMarkinus: any clue about that ?
13:27.17Markinuspgg: gesensor? Myybe we have to use the other way to read out the sensor values . . this microp verion dependend stuff
13:27.27phhyeah right.
13:27.58Captnoordhmmm
13:27.59phhhum not the problem
13:28.01Captnoordevil^2
13:28.08phharf maybe it is
13:28.16phhMarkinus: with wrong microp commands, you got error or just nothing ?
13:28.26Markinusphh: nothing
13:28.32phhah
13:28.33CaptnoordOFF
13:28.34CaptnoordHaRET(17)# pdump 0xA8600000+0x10c 4
13:28.34Captnoorda860010c | 036a0c73                            | s.j.
13:28.34CaptnoordON
13:28.34CaptnoordHaRET(18)# pdump 0xA8600000+0x10c 4
13:28.34Captnoorda860010c | 03620c73                            | s.b.
13:28.34phhmight be that then
13:28.39Markinusyes
13:29.57*** join/#htc-linux Wr4i7h (~abc@89.180.90.110)
13:30.00Captnoordwas 0x100 not arm11 stuff
13:30.06Captnoord#define A11S_CLK_CNTL_ADDR(MSM_CSR_BASE + 0x100)
13:30.06Captnoord#define A11S_CLK_SEL_ADDR(MSM_CSR_BASE + 0x104)
13:30.16Captnoordnah wrong base
13:31.01Captnoordcan't find any references of it
13:31.06Captnoordand the doc's call them plltest
13:31.07Captnoordstuff
13:31.11phhA86blabla is clock ?
13:31.27Captnoordis clock_base
13:31.28Captnoordyes
13:31.38phh<PROTECTED>
13:31.38CaptnoordI just did a major dump
13:31.40Captnoordof
13:31.42Captnoordon off
13:31.44Captnoordhmmmmm
13:31.46Captnoordcool
13:31.52phhif you say so :p
13:31.56Captnoordyea....
13:32.03Captnoordbecause the clock needs to be halted when not used
13:32.43Captnoordloool
13:32.44Captnoordyup
13:32.50Captnoordits imem and grp clock halt
13:33.02*** join/#htc-linux mcdull (~mcdull@203.210.9.167)
13:33.14Captnoorda = 0b1100
13:33.20Captnoord1 means clock is halted
13:33.25Captnoord2 = 0010
13:33.27phhanyway it's just state
13:33.32phhit's a read only register
13:33.35Captnoordk
13:33.39Captnoordslaps himself
13:33.41phhI guess.
13:33.48Captnoordand need to look somewhere else then
13:33.56Captnoordyup
13:33.58Captnoordread only
13:34.22phhnext idea :p
13:34.34Captnoordnah the register can be used when enabling
13:34.38Captnoordto check if they are active
13:34.45Captnoordif they are not active after you've enabled them
13:34.51Captnoordsomething's wrong
13:37.28Captnoordphh have you tried the  0x4a80
13:37.34phhCaptnoord: not yet
13:37.38Captnoordk
13:37.40phhI'm busy with the rhod right now :p
13:37.44Captnoordhehe
13:37.45Captnoordrelax
13:37.49Captnoordjust wanted to know
13:38.00phhand when I say busy
13:38.08phhI mean playing solitaire on it, until it's fully charged
13:38.19Captnoordhahahahahahahaha
13:40.08Captnoordnah its the only difference in the big dump
13:40.15Captnoordthe 0x4a80 thingy
13:40.21Captnoordand the status stuff
13:40.34phhah 0x4000 is in the dump ?
13:40.39phhok then
13:42.31phhI guess I can find a spare usb cable to try that
13:43.15*** join/#htc-linux god206 (~infidel20@unaffiliated/swc666/x-4934821)
13:47.12Paul_Isheninphh, you thought to commit the merge, no?
13:47.25phhPaul_Ishenin: yes but I can't get it to work -_-'
13:47.41randomblamewoah with htc_fb only during boot it didn't actually hang from the console handover
13:47.48randomblame[    0.770996] console handover: boot [htc_fb-1] -> real [tty0]
13:47.48randomblame[    0.817138] ram_console: found existing buffer, size 4271, start 4271
13:47.48randomblame[    0.817260] ram_console: failed to allocate buffer
13:47.52Paul_IsheninI though it must be few commands with git
13:48.05*** join/#htc-linux x_coRe_x (~core@79-126-39-66.dynamic.mts-nn.ru)
13:48.22phhPaul_Ishenin: yes, I just don't know them.
13:49.40phhpff, one phone has "Storage Card", the other one "Mounted Volume"
13:49.45phhthat's going to be easy for my poor little brain
13:51.28*** join/#htc-linux GlemSom (~gsommer@194.192.93.101)
13:52.23phhCaptnoord: at least, I can see it doesn't kill 3D.
13:52.29phhnow trying without 3D inited by wince
13:55.27phhCaptnoord: and it's
13:55.30phha total fail, again.
13:55.47phhoops
13:55.51phhI did 0x400 not 0x4000
13:58.49phhwince's battery calibration is totally lost ...
13:59.28phhCaptnoord: nah, the same with correct values :/
13:59.34*** join/#htc-linux Untouchab1e (~Untouchab@158.112.84.11)
14:01.03randomblamewith fb_msm enabled only it says the same thing, it can't allocate the buffer
14:01.18randomblamebut at least it's not hanging the device like I thought
14:03.28phhCaptnoord: any other idea maybe ?
14:06.48Captnoordyou set it
14:06.49Captnoord0x4a80
14:06.56Captnoordnot 0x4000
14:06.59phh<PROTECTED>
14:06.59phh<PROTECTED>
14:06.59phh<PROTECTED>
14:06.59phh<PROTECTED>
14:07.10Captnoordk
14:07.28CaptnoordI want my laptop back
14:07.32Captnoordhmmmmm
14:08.44Captnoordphh can you dump MSM_CLK_CTL_BASE to the console...
14:08.55Captnoordor
14:08.57Captnoordeven set it to
14:08.59Captnoord0x2219fe2f
14:09.17Captnoordafter you've set those value's
14:09.23phhyou tried binary diffing with/without 3D for the whole area ?
14:09.27Captnoordyup
14:09.29CaptnoordI did
14:10.01Captnoord[14:40] <Captnoord> nah its the only difference in the big dump
14:10.01Captnoord[14:40] <Captnoord> the 0x4a80 thingy
14:10.01Captnoord[14:40] <Captnoord> and the status stuff
14:10.08phhah.
14:13.31CaptnoordI simply think that the clocks don't get enabled
14:13.33Captnoordor something
14:20.53phhomfg
14:20.54phhrhod's loudspeaker
14:20.55phhis loud.
14:21.40*** join/#htc-linux Vito89 (~quassel@94.142.234.1)
14:21.46Captnoordhehe thats a good thing
14:21.47Captnoord:P
14:23.06phhI'll need good care when using this in classroom :p
14:23.32Captnoordshould update the docs
14:26.07phhyou want to do a clean room doc ?
14:26.11phhbetter than qualcomm's doc ? :p
14:26.33Captnoordhehe
14:28.37Paul_Isheninphh while you in camera branch do "git merge htc-msm-2.6.27"
14:28.57Paul_Isheninif there are conflicts run "git mergetool"
14:29.23phhok will go
14:30.03phhdo*
14:30.44Captnoordcheers....
14:30.51Captnoordlaptop is now in TNT hands
14:30.52Captnoord:D
14:30.56phh:)
14:31.04Captnoordway better than asus hands
14:31.43Captnoordhmm cool
14:32.01Captnoordsomething's strange
14:32.11Captnoordthe msm7500 stuff
14:32.17Captnoordtypedef struct _tagGLBL_CLK_ENA
14:32.19Captnoordthe last one
14:32.21Captnoordis it 29
14:32.33Captnoord0x10000000 29 GLBL_ROOT_ENA
14:32.38Captnoordbut
14:32.41Captnoordlogs tell me
14:32.49Captnoordits
14:32.50Captnoord2219fe2f
14:32.57Captnoord10000000
14:33.02Captnoordmeaning
14:33.12Captnoord20000000 is GLBL_ROOT_ENA
14:33.17Captnoord30
14:33.18Captnoordnot 29
14:34.24Captnoordor
14:34.27Captnoorddo I think wrong
14:34.38Captnoordyup
14:34.39CaptnoordI am
14:34.42Captnoordslaps himself
14:34.48CaptnoordI am wrong again
14:35.02Captnoordstory of my life... I should tripple check everything I do
14:35.13phh:p
14:35.35phhit's kidding me.
14:35.42Captnoordwhat?
14:35.48phhI'm watching at TV through wifi
14:35.51*** join/#htc-linux RandomPPCGeek (~gponick@164.55.254.106)
14:35.51phhand it's not even warming
14:35.56Captnoordcool
14:35.58Captnoordwhat have you done
14:35.59Captnoord:P
14:36.06phhnothing -_-'
14:36.10Captnoordlolz
14:36.20phhwell it's warm, but that's all
14:36.25phhdoing so on my diam and well... it's burning :p
14:36.33Captnoordhehe
14:36.41Captnoordmaybe they redesigned the heat disposal
14:36.48phhI guess there new wifi chip might be really good
14:37.02phhthat's also possible yes :p
14:37.41Markinusphh: Do you have your TV-Out cable for Rhod?
14:37.52phhno :'(
14:38.02RandomPPCGeekwow
14:38.04RandomPPCGeekyou guys are awesome.
14:38.12phhRandomPPCGeek: ?
14:38.16Markinusphh: this a very good feauture, I missing this on the other devices . .:(
14:38.43RandomPPCGeekyou found an android device with the same wifi chipset
14:38.50RandomPPCGeekwhich means porting should be somewhat easier now, right?
14:38.59phhRandomPPCGeek: "now" ?
14:39.04phhwe have this driver for weeks now
14:39.36phhbut no dev with a rhod until today :p
14:39.57phhthe loudspeaker is too loud even at minimum value -_-'
14:40.05phhhopefully coreplayer has software lower volume
14:51.11RandomPPCGeekoh
14:51.13RandomPPCGeekrofl
14:51.21RandomPPCGeeki didn't raelize that
14:51.28RandomPPCGeeki'm sorta new around here
14:53.13Captnoordhow old are ya?
14:55.40Paul_Isheninphh, there are merge conflicts in clock-wince,c
14:56.02Paul_Isheninin pc_clk_set_flags
14:59.53*** join/#htc-linux lucx (~luc@89-115-128-35.cl.ipv4ilink.net)
15:01.42*** join/#htc-linux balans (~Gebruiker@212-123-149-239.ip.telfort.nl)
15:02.57Markinusphh: I think we could enable the Auto Backlight by default, it's better for battery, what du you think?
15:11.43RandomPPCGeekme? 24
15:12.03Captnoordk
15:12.52*** join/#htc-linux pH5 (~ph5@e178203042.adsl.alicedsl.de)
15:13.37RandomPPCGeekwhy?
15:13.47RandomPPCGeekthat's a pretty random question
15:14.37randomblamethe last messages I see with ram console are: [   25.739135] hsusb: reset controller [   25.845611] usb: notify offline
15:14.38Captnoordjust wonderingh
15:14.51randomblameis that as far as ram console goes or was I not making it to userland like I thought
15:17.52Captnoordphh writel(readl(MSM_CLK_CTL_BASE+0x58) |0x400,     MSM_CLK_CTL_BASE+0x58);
15:17.53Captnoordadd
15:17.54RandomPPCGeekheh - if it helps clear my name - i write C# software for 8 hours a day :-p
15:18.02CaptnoordGP_ROOT_ENA
15:18.11Captnoordits enabled in my dump
15:21.49randomblamei'm not even close
15:27.58*** join/#htc-linux MethoS- (~clemens@134.102.106.250)
15:32.12*** join/#htc-linux mickey|office (~Mickey@dialbs-092-079-168-007.static.arcor-ip.net)
15:39.08*** join/#htc-linux jamenlang (~jamenlang@209-193-77-154.mammothnetworks.com)
15:41.04jamenlangthanks for the caps lock lights!
15:41.40jamenlangif only caps lock worked :p
15:41.44*** join/#htc-linux luklew (~luklewluk@207.west.gre.pl)
15:43.50*** join/#htc-linux babijoee (~babijoee4@d110-33-170-123.sun801.vic.optusnet.com.au)
15:46.14randomblameoh shit I forgot to sleep
15:46.23randomblametoo late now
15:54.23phh[16:06:06] <Markinus> phh: I think we could enable the Auto Backlight by default, it's better for battery, what du you think? <------ I prefer giving user choice :p
15:55.46*** join/#htc-linux GlemSom (~glemsom@0x5da34bca.cpe.ge-1-1-0-1105.sdnqu1.customer.tele.dk)
15:57.49*** join/#htc-linux LTxda (~anon@unaffiliated/ltxda)
15:59.03phhMarkinus: haha
15:59.05phhit's not blinking red
15:59.08phhit's blinking orange :p
16:14.31*** join/#htc-linux bahathir (~bahathir@118.101.17.212)
16:15.07*** part/#htc-linux bahathir (~bahathir@118.101.17.212)
16:18.09*** join/#htc-linux kiozen (~oeichler@rgnb-5d87df27.pool.mediaWays.net)
16:18.21*** join/#htc-linux Vito89 (~quassel@gw.loccal.net)
16:18.28*** join/#htc-linux GregLem (~greg@lal69-5-88-171-98-250.fbx.proxad.net)
16:22.00*** join/#htc-linux luklew (~luklewluk@207.west.gre.pl)
16:23.30*** join/#htc-linux emwe (~michael@86.56.50.180)
16:25.37emwehiho
16:25.58Paul_Isheninphh, I resolved conflicts
16:26.04Paul_Isheninhow to commit the change?
16:30.23Markinusphh: yes, userchoice is good, but default on? :)
16:30.29Markinusphh: ahh, no red led??
16:30.33Markinushmmm
16:30.57phhMarkinus: I mean default, let the user be able to use android's widget to set backlight level
16:31.20phhand yes, no red led
16:31.43Paul_IsheninI made a "git commit" but where to see the commit?
16:31.50phhgit log ?
16:31.52Markinusphh: ahh, okay, yes
16:32.12CaptnoordTNT reported my package on 16:00
16:32.14Paul_Isheninphh, but this is only for me? you will not see it?
16:32.15Captnoordbleh
16:32.18Captnoordtomorrow then
16:32.22phhPaul_Ishenin: yup.
16:32.23CaptnoordPaul_Ishenin: its only for you
16:32.28Captnoordits your personal repo
16:32.42Paul_Isheninbut how to make it available for review?
16:32.52Captnoordyou can create a patch
16:32.54Captnoordfrom a commit
16:33.07phhCaptnoord: yes, but from a merge ?
16:33.17Captnoordstill possible
16:35.17phh<PROTECTED>
16:35.19phhI love that one.
16:35.45Paul_Isheninwhere to define CONFIG_MSM_CAMERA?
16:35.52phhPaul_Ishenin: make menuconfig
16:40.33*** join/#htc-linux andreas32b (~andy@dslb-094-216-249-230.pools.arcor-ip.net)
16:40.38*** join/#htc-linux andreasHtcMagic (~andy@dslb-094-216-249-230.pools.arcor-ip.net)
16:40.48*** part/#htc-linux andreasHtcMagic (~andy@dslb-094-216-249-230.pools.arcor-ip.net)
16:40.57*** join/#htc-linux emwe (~michael@86.56.50.180)
16:41.19phhGlemSom: have you seen you have a competitor ? :p
16:41.23phhhttp://maduin.southcape.org/~xdandroid/rootfs-build/
16:43.50Paul_Isheninphh, does make menuconfig reads old config before?
16:43.56phhit reads .config yes
16:46.45*** join/#htc-linux fleixius (~fleixius@unaffiliated/fleixius)
16:47.13Markinusphh: is the gsensor working now?
16:47.22luklewnds rottfs ?
16:47.23phhno, I have to check microp version
16:47.25luklewnootfs?
16:47.28luklewroot* :|
16:47.32phhluklew: nds ?
16:48.07luklewis it offical?
16:48.15*** join/#htc-linux luke-jr (~luke-jr@2002:62b3:1d4c:0:20e:a6ff:fec4:4e5d)
16:48.15phhwhat do you call official ? -_-'
16:48.38luklewyh... i don't know :>
16:48.50luklewwhat is new?
16:49.32phhwifi support for cdma
16:49.41luklewok
16:49.43phhdropbear I think
16:50.24GlemSomphh, Ohh - thats nice.. I didn't know that... Are those rootfs'es compatible with out xdandroid?
16:50.35phhGlemSom: it's the idea.
16:51.22GlemSomphh, I honestly didn't know we kept our xandroid in a git repo... :P
16:51.29phhGlemSom: yes quite new
16:51.37Paul_Isheninphh, it adds COFIG_SENSOR_MT19...
16:51.42Paul_Isheninbut not MSM_CAMERA
16:51.53Paul_Isheninor should I edit it manually?
16:52.03phhno
16:52.09phhif you have to edit manually, then something has to be fixed
16:52.22phhand I didn't need to change anything manually to have camera driver loading
16:52.26phh(and crashing.)
16:52.51Captnoordhehe
16:52.56Captnoordsomething related to cam clock
16:53.01Captnoordand stuff like that
16:53.03Captnoordvdc rails
16:53.26phhCaptnoord: stop making me nightmares, and get those rpc working :p
16:53.27GlemSomI really like his webdesign... I *SUCK* at webdesign... Maybe I could borrow some ideas from that... Who's the maintainer of http://maduin.southcape.org/~xdandroid/rootfs-build/ ?
16:53.48phhGlemSom: stinebd
16:53.52Captnoordhehehehehehe
16:53.58Paul_Isheninyou have here:
16:53.58CaptnoordI know i'm evil
16:53.58Paul_Isheninhttp://gitorious.org/linux-on-qualcomm-s-msm/linux-msm/blobs/htc-msm-2.6.27-camera/arch/arm/mach-msm/board-htcdiamond.c
16:54.03Captnoordbut its generates headachtes for me to
16:54.09Paul_Ishenin#ifdef CONFIG_MSM_CAMERA
16:54.16Paul_Isheninmy .config does not have this line at all
16:54.38Paul_Isheninsame for CONFIG_MT9T013
16:54.41phhPaul_Ishenin: you went in I2C devices ?
16:54.51phhor in media devices ?
16:55.22Paul_IsheninDevice Drivers
16:55.36Paul_IsheninI2C support
16:55.46phhthen you're wrong :p
16:55.48phhit's in media devices
16:56.59phhanyway, I pushed my defconfig
16:57.45*** join/#htc-linux wwout (~5070d0e2@gateway/web/freenode/x-sxirdoypcizbsrza)
16:57.59Paul_IsheninI don't see media devices at all
16:58.14Captnoordgoes grep 'media' *
16:58.33Captnoordgrep -r 'media' *
16:58.47phhdevices drivers => multimedia devices => video capture adapters => Qualcomm blabla
17:00.03Paul_Isheninah. maybe I executed make menuconfig in the wrong directory?
17:00.09phhno.
17:00.23phhjust use the defconfig I pushed -_-'
17:06.28Paul_Isheninseems compiling ok
17:06.41Paul_Ishenindo you need my merge effort?
17:07.00phhif it's easily usable only :p
17:07.23Captnoordphh that thing about the 0x4000 never would have worked because of
17:07.24Captnoordwritel((readl(MSM_CLK_CTL_BASE + params.offset) &0xfffff000) | params.ns_only, MSM_CLK_CTL_BASE + params.offset);
17:07.33phhCaptnoord: this isn't applied
17:07.35phhI return before it
17:07.36Paul_IsheninI don't see why it is not possible to somehow send my commit to the official branch
17:07.37Captnoordk
17:07.39Captnoordgood
17:07.45Captnoordtomorrow i will give it a try
17:07.48phhPaul_Ishenin: git format-patch
17:07.50phhCaptnoord: good :)
17:08.12phhnexus' splashscreen on rhod is mervellus :p
17:08.23phh(without 3D accel to slow it down.)
17:12.34*** join/#htc-linux ReeferMattness (~MattGNM@c-76-18-79-170.hsd1.nm.comcast.net)
17:14.02Paul_Isheningit format-patch somehow does not include my commit
17:16.17*** join/#htc-linux M1DLGpc (~M1DLGpc@bb-87-81-252-83.ukonline.co.uk)
17:16.37adamwphh: i hear today is rhodium day? :D
17:16.42phhyes
17:17.05phh\o/ I turned rhod's backlight off
17:17.06phhI have no clue how.
17:18.09Markinusphh: ha :)
17:18.17phhseriously, no clue at all
17:18.32Captnoordphh check the Data Mover part of the docs.... nightmare..
17:18.33Captnoord:P
17:18.40phhCaptnoord: no thanks :p
17:18.55Captnoordhost interface security
17:18.55Captnoord:P
17:18.57Captnoordbleh\
17:23.59*** join/#htc-linux noisyzen (~samantha@c-71-238-20-94.hsd1.mi.comcast.net)
17:24.49*** join/#htc-linux Markinus (~Miranda@gtng-4db04e3e.pool.mediaWays.net)
17:28.10phhok
17:28.14phhbacklight blinks.
17:28.38phhif I press the power button, backlight fades in
17:28.40phhand fades out.
17:28.43*** join/#htc-linux Neo31 (~Neo31@unaffiliated/neo31)
17:30.36phh*haha*
17:30.41phhfound.
17:30.56randomblamei <3 ramconsole
17:31.04phhhehe
17:31.07randomblameI've fixed 6 bugs I couldn't even see
17:31.10phhhuhu
17:31.14phhnothing for me ?
17:31.32randomblameI <3 u too
17:31.38phhI mean no bug fix for me ?
17:31.40phhbut thanks :p
17:31.45randomblamelol
17:32.30phhstupid android
17:32.44phhwhy do they do backlight fading, while it's already done in hardware -_-'
17:33.34adamwphh: now fix the power management, wifi, sound and gps
17:33.39adamwi expect you to be finished in...oh, half an hour
17:33.42phh:p
17:33.43adamwstarts stopwatch
17:33.46ReeferMattnessLMAO
17:33.56ReeferMattnessOh come on Adam, give him 45 minutes  :p
17:33.57phhsorry but I want 3D first :p
17:34.03randomblamemy fix to everything is //
17:34.06Markinusphh: HA! :))
17:34.08phhrandomblame: tsss
17:34.14phhMarkinus: you too uh ? :p
17:34.28adamw's favourite commit message of the day: "Revert "Revert "Revert "Use msm_rpc_call to change camera's clock, but still not working.""""
17:34.33phhadamw: cccchhhhh
17:34.37Markinusphh: It'S a great feature :)
17:34.39adamwreverting the reversion of the reversion :P
17:34.48phhMarkinus: oh yes it is.
17:35.00phhet voila. backlight diming.
17:35.04phhnow I have to commit hthat
17:35.16phhbut I broke half things at the same time
17:36.35phhwait
17:36.37phhbacklight off works ?!?
17:36.50*** join/#htc-linux luminoso (~lumos@av-217-129-141-118.netvisao.pt)
17:36.52phhMarkinus: nananereuh
17:36.56phhno werid SPI stuff to do
17:37.26Markinusphh: It's not so much stuff as Topaz?
17:37.32phhMarkinus: no
17:37.38phhjust 0xcc 0x24 0x00
17:37.40phhet voila
17:37.48Markinusphh: cool . . .
17:38.06phhwell it's maybe not totally off, I have to check
17:38.29phhok, yes it is totally off
17:38.52*** join/#htc-linux zachy (~george@85.193.4.18)
17:39.05Markinusphh: on too? :)
17:39.12phhMarkinus: tsss
17:39.15phhsure it does
17:39.29Markinusphh: I had this problem, off was fast but on, was a bit dificoult . .
17:39.42phhno spi stuff to do
17:39.51phhit's just a clean hardware implementation
17:39.56Markinusphh: nice . .  why not on all devices . .
17:40.06phhMarkinus: on raph/diam it's also clean
17:40.13phhI've got only cool devices :p
17:40.13randomblamepc clock disable everywhere
17:40.23adamwobviously, topaz got the 'special' htc design team
17:40.30phhadamw: blackstone too
17:40.32phhrandomblame: not a problem
17:40.40Markinusphh: ha .D
17:40.53phhI still have no clue how I'll get bluetooth working.
17:41.12Markinusphh: You need the driver for all
17:41.18Markinusphh: this bsm stuff
17:41.22Markinusbcm
17:41.39phhMarkinus: I don't think it's a single driver for all
17:41.51randomblamethe console is being flaky at this point it needs to start printing me some damn errors instead of nothing
17:41.53phhI've looked at nexus' kernel, I've seen no driver about bluetooth
17:41.56phhI've looked at nexus' userland
17:41.56Markinusphh no? This is one chip
17:41.59phhno driver about bluetooth either
17:42.02phhMarkinus: yes and ? :p
17:42.30adamwyeah, bcm4329 doesn't seem to have any bluetooth stuff in it
17:42.34Markinusdo you not need to initialize the chip? I mean there is some BT stuff in the driver ..
17:42.46phhMarkinus: well, initialisation is what I fear the most.
17:43.35phhMarkinus: have you got any report from rhod users that g-sensor works ?
17:43.39Markinusphh: yes . . maybe is a BT firmware needed too . .
17:43.47phhMarkinus: I'd bet on worst than that
17:43.53phhBT+wlan+FM firmware, all in one.
17:44.02Markinusphh: one tested and this didn't work
17:44.13phhok
17:44.15Markinusbut only one fast test
17:44.16phhand mine that doesn't work either :p
17:44.58Markinusphh: maybe you have only take a look to the wince i2c gsensor stuff.. . .
17:45.14phhMarkinus: I'll first try the other way of reading gsensor we know :p
17:45.41Markinusok :)
17:45.55adamwi have three potential firmwares lying around, the bcm4329 one from nexus, the bcm4325 one markinus found somewhere, and the one i got out of the lg phone's image...
17:46.00phhMarkinus: that's the way I did it for topaz :p
17:46.09phhadamw: and the one you dumped ? :p
17:46.16adamwthat was a calibration file not the firmware
17:46.21phhoops
17:46.38adamwthough presumably it's theoretically possible to dump the firmware from wm the same way?
17:46.46phhna
17:46.49phhon wm it's just a normal file
17:46.52adamwah k
17:46.54*** join/#htc-linux kvaster (~kvaster@live.bn.by)
17:46.56phhno need to do any weird stuff like for calibration
17:47.17Paul_Isheninphh, why camera copied from hero instead of dream?
17:47.23*** join/#htc-linux Scepterr (~scepterr@ool-18b92277.dyn.optonline.net)
17:47.29Paul_Ishenindifferent kernel versions of what?
17:47.29phhPaul_Ishenin: because that's the sources I got under the hand ?
17:47.32adamwoh, and remember, we have that weird BCM4325D0_004.001.007.0168.0169.hcd file in the gw620 dump
17:47.40Markinusphh: I traced this on wince to see which of the both ways topaz is using . .
17:47.41adamwwhich no-one seems to know the purpose of
17:47.52phhMarkinus: ah you had to trace ?
17:47.56phhI thaught you tried it blindly
17:48.00phhno fun.
17:48.06Markinusphh: this was the fastest way . :)
17:48.09Paul_Isheninphh, seems camera sources are rather different
17:48.33phhPaul_Ishenin: if you think it's a needed change, do it
17:48.54phhand if you get camera working, I'll let you push your whole stuff :p
17:49.08Paul_Isheninnot today
17:49.12phhtss
17:49.35Paul_Ishenintime to sleep. cu
17:52.40phhadamw: your backlight diming doesn't work at all right ?
17:52.56adamwphh: right, i just get constant brightness, all the time
17:53.06phhok
17:53.09phhso update your kernel :p
17:53.14adamwooh shiny.
17:53.15phhwell, wait for glemsom to rebuild.
17:53.20adamwit's fine, i'll do my own.
17:53.45phhwell, not totally sure it will work for you
17:54.02adamwwhat change is supposed to have made it work>?
17:55.03phhthe one I haven't pushed ? :p
17:55.15phhhere, pushed.
17:55.46phhhum
17:55.49phhsomething's still wrong.
17:55.57*** join/#htc-linux M1DLGpc_ (~M1DLGpc@bb-87-81-252-83.ukonline.co.uk)
17:56.06adamwi'll wait a bit then?
17:56.15phhna it quite works
17:56.20adamwok
17:56.28phhbut level=1 is brighter than level=2
17:56.41phhafter the order is correct
17:56.42adamwso this should make the automatic light sensing dimming work? does it make the backlight turn off when screen is off also?
17:56.45phhit's just the first one which is weird
17:56.48*** join/#htc-linux jamenlang (~jamenlang@209-193-77-154.mammothnetworks.com)
17:56.50phhno, no automatic light
17:56.55phhand yes, backlight goes off
17:56.57adamwah k
17:57.06adamwso it's manual control, gotcha
17:57.08phhI still haven't got automatic working
17:58.56phhI have to check it again, I might have missed something
18:00.43phhadamw: so it works ? :)
18:02.07adamwhold on, not tested yet
18:02.16*** join/#htc-linux GregLem (~greg@lal69-5-88-171-98-250.fbx.proxad.net)
18:03.06phhtss, you're too slow, I've already a new commit for audio, and one will be ready in 10minutes for gps.
18:03.09phh(yes I'm kidding why ? :p)
18:03.18adamwoh, you laugh NOW
18:03.21adamwwait till your half hour is up
18:03.29ReeferMattnessLOL
18:03.37adamwwhich is....now
18:03.38ReeferMattnessIve got the mailbomb ready adam  :p
18:03.49adamwsends the silent ninja assassins
18:03.55phhpfff
18:03.55randomblamehttp://www.pastebin.com/f10bacaa7
18:03.59ReeferMattnesshaha
18:04.08randomblamewhat should I disable next?
18:05.26phhno clue.
18:05.48phhseriously, let's see how gsensor works
18:06.29stinebdGlemSom: you can take whatever you want from that. it's a pretty simple design.
18:06.39*** join/#htc-linux luklew (~luklewluk@207.west.gre.pl)
18:07.18GlemSomstinebd, Thanks! :)
18:07.57*** join/#htc-linux MrPippy (~pip@adsl-75-11-172-186.dsl.sndg02.sbcglobal.net)
18:08.17adamwphh: yup, backlight off works
18:08.30phhcool :)
18:09.15adamwphh: and yeah i see what you mean about 1 being brighter than 2
18:09.21adamwit's definitely brighter down the low end of the slider
18:09.33phhit's really weird
18:09.41phhI really send 1 and 2 to microp
18:09.57phhthe workaround is quite simple, but weird
18:10.11adamwi was wondering if 1 might possibly be the level you set for automatic dimming
18:10.18phhReeferMattness: on the ROM you put, is there any tool that use the gsensor ?
18:10.22adamwbut it doesn't seem to be...i set it to 1 and walked around a bit and it doesn't seem to change
18:10.23phhadamw: ah !
18:10.33phhadamw: there are other commands to call :p
18:10.34adamwstill, it's daylight here, bit hard to be sure
18:10.37phhbut might be one.
18:10.55phhoh right there is teeter
18:11.10Markinusphh: or the sensor calibration tool
18:11.16phhI can't find it -_-'
18:11.23Markinusphh: ohhhh
18:11.50phhoh.
18:11.54phhthis is this mysterious 0x70 device
18:11.54phhcool
18:12.05phhso it's still another gsensor chip
18:12.06phhpffff
18:12.12phhor bma150.
18:12.29Markinusphh: directly connected without microp?
18:12.34phhMarkinus: yes
18:12.36phhhero is that way
18:12.41Markinusphh: yes . .
18:13.18phh<PROTECTED>
18:13.19phhbingo
18:13.39phhstrange they putted the high end bma150 (ie over microp) for topaz
18:14.18phhMarkinus: let's port your driver to i2c bus instead of spi :)
18:14.31*** part/#htc-linux zachy (~george@85.193.4.18)
18:15.05*** join/#htc-linux ToAsTcfh (~toast@99-205-91-77.pools.spcsdns.net)
18:15.41ToAsTcfhphh: any luck yet?
18:15.45phhToAsTcfh: any try yet ? :p
18:15.53phhI just tried vgrabber
18:15.58phhwhich rebooted my phone, and that's all
18:16.09phhI'll have to play with android userland to test this, and I totally hate that
18:16.20ToAsTcfhu never sent me ur port
18:16.49ToAsTcfhtry it with my libs and it should work
18:17.00phhToAsTcfh: search there: http://gitorious.org/linux-on-qualcomm-s-msm/linux-msm/commits/htc-msm-2.6.27-camera
18:17.03ToAsTcfhthe ones from my build i mean
18:17.40phhyes I got it
18:18.37ToAsTcfhok ill try ur patch. is there anything i should avoid using in ur patch that would be winmo only? like the clocks?
18:18.48Markinusphh: :) yes, this shouldn't be a hard work . .
18:18.56Markinusonly a other init
18:19.40ToAsTcfhi know but i just remember u saying the winmo stuff had different clocks or something
18:22.17ToAsTcfhphh: also we are using a 5kXXX camera not the mtt013. just in case u didnt see that in our source
18:24.28chamonixhey guys
18:25.45*** join/#htc-linux god206 (~infidel20@unaffiliated/swc666/x-4934821)
18:26.15phhToAsTcfh: yes we need to init VFE. no clue how.
18:26.43MrPippyits not just rpc?
18:26.54phhmaybe.
18:27.01phhtheorically GRP is too just rpc.
18:27.43phhMarkinus: different init really ?
18:27.51phhdamn, I thaught only different i2c_read
18:28.27phhhum, gsensor_read
18:29.19Markinusphh: I mean one with bma_150 __init and as a own i2c_driver
18:29.24phhyes right.
18:31.23phhMarkinus: that's totally unfair, you started with the cleanest driver, I have to start with hero's driver, which totally suck :/
18:31.44phhok backlight was unfair too :p
18:32.55Markinusphh: Isn't better to change our driver? (yes backlight was VERY unfair :) )
18:33.04phhMarkinus: yes that's what I'm planning to do
18:34.16*** join/#htc-linux Wr4i7h (~abc@89.180.90.110)
18:35.33*** join/#htc-linux SOG (~SOG@n1164869177.netvigator.com)
18:37.47MrPippyadamw: i was working on wifi yesterday, got the firmware out of wince and the source from the motorola devour (released 2 days ago, its newer than the lg one we found)
18:38.44phhfound something interesting ?
18:39.54adamwMrPippy: nice
18:40.02adamwdevour uses bcm4325?
18:40.12adamwhow does the driver it has compare to n1 / lg?
18:40.56MrPippyyeah its 4325, the driver is newer than the LG one and doesn't have little changes all over it
18:41.06MrPippyhaven't compared it to the n1, but thats 4329
18:41.14phhyes but same driver
18:41.16adamwwell the n1 driver claims to be for both 4329 and 4325
18:41.29adamwand is fairly clearly the same basic codebase as the bcm4325 in the lg source
18:43.48MrPippyhmm true, i think i'll try getting the moto one running first
18:44.10phhMrPippy: why not the one I've already merged ? :p
18:44.40MrPippyi've already built the other one
18:44.51adamwi think it makes sense to go with a driver that's known to work on a 4325 device?
18:45.01adamwoh well, whatever works i'd be happy with :P
18:45.32*** join/#htc-linux M1DLGpc__ (~M1DLGpc@bb-87-81-252-83.ukonline.co.uk)
18:49.42*** join/#htc-linux emwe (~michael@86.56.50.180)
18:59.22phhit doesn't look like bma150 at all -_-'
18:59.40ToAsTcfhwho is using bma150?
18:59.54phhrhod, maybe.
19:00.41ToAsTcfhah in what build?
19:00.49phhbuild ?
19:00.54ReeferMattnessI keep thinking that my battery died now that my screen actually turns off :)
19:01.03ToAsTcfhcupcake donut eclair?
19:01.05phhReeferMattness: sorry :p
19:01.10phhToAsTcfh: what's the link ?
19:01.14phhi'm speaking about hardware ...
19:04.28RandomPPCGeekbtw, phh, MrPippy, you guys know you got shouted out on the CDMA android thread on ppcgeeks right?
19:04.36phhrandomblame: no
19:04.49phhurl ?
19:05.02RandomPPCGeekhttp://forum.ppcgeeks.com/showpost.php?p=1576584&postcount=393
19:05.21randomblamewrong random :D
19:07.12phhah that's what "shout out" means.
19:07.16phhI thaught it was the opposite.
19:07.32MrPippyheh i saw that, we should tell them to just grab the latest autobuild kernel and xdandroid and try that
19:09.06phhhum
19:09.10phhwhat's the sensors driver ?
19:09.13phhhtcsensorservice ?
19:09.20phhhtcsensorsdk? (I doubt of that one.)
19:09.23phhsensors ?
19:09.26Woutpph, rhod boots up in landscape, would that be easy to fix?
19:09.33randomblamedoes this look like bluetooth is killing it? http://www.pastebin.com/f1ed4a984
19:09.42phhWout: no
19:09.57phhrandomblame: there is something you miss
19:10.05RandomPPCGeekphh, if you guys need objective testing - i can definitely do that
19:10.14RandomPPCGeekuntil i learn ab it more about the underpinnings and start to help rather than be useless :)
19:10.16phhrandomblame: the actual end of ramconsole isn't the end of your post
19:10.17phhit's:
19:10.21phh[   28.791839] pc_clk_disable: FIXME! disabling a clock that doesn't have an ena bit: 18
19:10.34phhremember that RAM isn't resetted ! :p
19:10.50phhthe messages after that (you see there is no timecode), are craps of boots before that one
19:10.58phhand no it doesn't seem to be bluetooth
19:11.02phhit seems to be... well... nothing
19:11.05randomblameah I was wondering why they were repeating duh
19:11.09ToAsTcfhphh: sensors.heroc didnt work in 2.x with the 1.5 sensors.heroc. we had to build a new one for it out of dream source
19:11.19phhToAsTcfh: I know.
19:11.28ToAsTcfhjust sayin
19:11.42ToAsTcfhthats why i was wondering about the build
19:11.46phhbut the device I have, doesn't seem to have something like bma150.
19:12.11ToAsTcfhbma is the userspace
19:12.33ToAsTcfhakmd is the compass ans sensors
19:12.39phhrandomblame: hum, you might have wrong amss detection
19:12.44phhToAsTcfh: no
19:12.48phhbma150 is the name of the hardware device
19:13.01randomblameI do, phone must be disabled to get to that point
19:13.10randomblameI don't know how to find my amss version
19:13.11phhrandomblame: oO
19:13.24phhrandomblame: at boot, do you have red little letters ?
19:13.51ToAsTcfhhttp://geekfor.me/wp-content/uploads/2010/01/sensors-200x300.png
19:13.52randomblameI don't
19:14.12phhToAsTcfh: yes and ?
19:14.20phhbma150 is the name of the accelerometer.
19:14.22phhthe hardware device.
19:14.32ToAsTcfhyes
19:14.50MrPippyrandomblame: in wince, in device information settings panel, on the version tab, is there a "protocol version"
19:14.51phhand that's what I'm trying to find, if the hardware g-sensor on rhodium is bma150.
19:15.02ToAsTcfhoh i see
19:15.21randomblameMrPippy: checking
19:15.38ToAsTcfhi have a utility maejrep made for watching bma150 poll
19:15.50ToAsTcfhbut i guess u guys arent that far
19:15.58Woutphh: just ran the latest build which has your backlight dimming, but it's not working
19:16.06phhWout: which board ?
19:16.11Woutrhod100
19:16.29phhcan you do i2c dumps of diming ?
19:16.39phhand double check you booted correct zImage
19:16.57phh(I don't expect users to do less mistakes than me :D)
19:17.10WoutIll doublecheck
19:17.34randomblameMr.Pippy: no protocol version
19:18.01WoutI used the latest build from glemsom btw, kernel hash seems to indicate it includes your latest push
19:19.01Woutzimage is dated 19.02 tonight
19:19.02*** join/#htc-linux irlolcopter (~irlolcopt@host81-152-193-147.range81-152.btcentralplus.com)
19:19.49randomblameany other way to find it?
19:19.58phhrandomblame: it's gsm or cdma ?
19:20.02randomblamegsm
19:20.08phhforce it to 5225.
19:20.13phhif it's a clone of the raphael
19:20.22Woutphh: I'd be happy to do that dump for you, don't know how though
19:20.24phhoh no, kovsky is a clone of raphael
19:20.26phhnot incite
19:20.44phhWout: pff... double check your zImage, I'll explain if you're really sure you did it correctly :p
19:21.10Woutphh: it's this zimage http://glemsom.anapnea.net/android/htc-msm-android/#5b7cd429cb3160508b34b6c666d1fbae5ae9d1e6
19:21.22phhyes
19:21.29phhanyway cr2 warned me that rhod had complicated backlight
19:21.30phhpff
19:21.51Woutrebooting the phone now, will restart android
19:23.22Captnoordre
19:23.26randomblameI'll try 5225 nothin to lose
19:23.48Captnoordcomplicated backlight
19:23.56Captnoordhow can something like backlight be complicated
19:24.26randomblamecaptnoord: sometimes engineers are paid by the hour :D
19:24.34Captnoordhehe
19:24.39Captnoordya got me
19:24.40Captnoordbigtime
19:25.40Captnoordphh
19:25.41Captnoorddo
19:25.41Captnoordpdump 0xA8500000 4
19:25.47phhwhy me ? pfff
19:25.47Captnoordbefore running 3d
19:25.51Captnoordand after 3d
19:25.52Captnoord:P
19:25.57Captnoordnah
19:26.06Captnoordyou wanted 3d you'ed sayd
19:26.30phh0 vs crash ?
19:26.34Woutbtw, I don't know a lot about coding, but I'd sure be willing to help with testing and debugging
19:26.40Captnoordcrash?
19:26.42Captnoordnah
19:26.43Captnoord4
19:26.48phhCaptnoord: it crashes haret when 3D off
19:26.49Captnoord0 when 3d is enabled
19:26.51phhand 0 when 3D on
19:26.51CaptnoordoO
19:26.52Captnoordreally
19:26.53Captnoordlolz
19:27.05Captnoordlolz
19:27.08Captnoordcool
19:27.08phhI guess they are 3D registers ?
19:27.11Captnoordnah
19:27.19Captnoordimem registers
19:27.22phh.
19:27.25CaptnoordIMEM_CONFIG
19:27.27Captnoordto be exact
19:27.37Captnoord000 = bank0,1,2 and 3 available to GRP.
19:27.45Captnoord010 = bank0,1,2,and 3 are available to AXI.
19:27.46Captnoord:P
19:28.02phhyou reversed that ?
19:28.08randomblameare the values that amss ask puts out worth anything?
19:28.16Captnoordnope.... plain old reading the document
19:28.20Captnoordand trying it out
19:28.26Woutphh: Rechecked zImage, rebooted android, but dimming isnt working. Is there a way I can check from inside android if I really am running the correct build?
19:28.29CaptnoordI still have to find it
19:28.31Captnoordhow it works and stuff
19:28.39phhWout: dmesg |grep brightness
19:29.04phhCaptnoord: Power up value is 000
19:29.07Captnoordyup
19:29.08phhreally not convinced at all :p
19:29.11Captnoordthats what I read
19:29.14Captnoordyea
19:29.36Captnoordcan't wait to get his laptop back
19:29.46CaptnoordI want to know what the initial value of these registers are
19:29.50Captnoordpowerup means coldstart
19:29.53Captnoordnot warm start
19:29.55Captnoordlike we are doing
19:30.00Woutphh: where I do execute that command, the terminal?
19:30.09phhWout: a terminal yes
19:30.12phhadb shell
19:30.13phhor whatever
19:31.01Captnoordbleh
19:31.03Captnoordits evil
19:31.15Captnoordyou should set all blocks for grp
19:31.16phhCaptnoord: qualcomm ? yes
19:31.20Captnoordyup
19:31.20Woutok, the build includes a terminal, only need to figure out how to output the | symbol :P
19:31.27Captnoordthere are 64 blocks
19:31.32phhCaptnoord: it's worth the try I guess.
19:31.32Captnoordwhich you can set to your needs
19:31.36randomblame5225 didn't panic the kernel, I'll have to read the ramconsole log to know how far it got
19:31.46randomblame*with phone enabled
19:31.46phhWout: hehe
19:31.54phhWout: go to portrait mode
19:32.00phhong perss on windows key
19:32.04phhand you'll have virtual keyboard
19:32.05phhit's easier :p
19:32.24adamwWout: if you're using tilt2 or rhod210 keymap, | is mapped
19:32.41adamwnow, to remember what I mapped it to :)
19:32.48Woutphh, long press isn't bringing up anything
19:32.49phhtss
19:32.54Woutadamw: no dice, using rhod100
19:32.56phhWout: even in portrait mode ?
19:32.57phhbah
19:33.04WoutI'll just copy past from another app
19:33.07adamwWout: ow, i dunno if they mapped it in that
19:33.12adamwi have a trick for soft keyboard
19:33.15phhadamw: you should print a map somewhere
19:33.17adamwfigured it out a while ago
19:33.21phhI need it too :p
19:33.29adamwrun the browser, tap the location bar
19:33.30phh(and I don't want to use att's keymap.)
19:33.34adamw*immediately* bring up the task switcher
19:33.40adamwand switch back to the console
19:33.41phhadamw: oO
19:33.47adamwsoft keyboard should 'stick'
19:33.48phhthat's that hard ?
19:33.57adamwit's pretty simple once you're used to it, heh
19:34.06*** join/#htc-linux leaigor (~laigor@188.134.16.241)
19:34.06Markinusphh: This is the lightsensor read on Topaz, the 32 is new . . http://www.pastebin.com/mfd8c540
19:34.25adamwphh: it's all commented in the .kcm files
19:34.32adamwphh: http://www.happyassassin.net/keymaps/current/
19:34.48adamwon rhod210, fn+y is |
19:34.57adamwon tilt2, it's fn+l
19:35.55Woutwtf? can't find | in the softkeyboard
19:36.14Woutoh
19:36.14Woutnm
19:36.17Woutgot it
19:36.19phhWout: don't worry. pterminal hates the |.
19:36.29randomblameI got just as far with amss 5225 but I got there with the phone enabled and I got output from amss ask
19:36.34Captnoordphh it only seems to work when I have 3d enabled
19:36.34Captnoord:S
19:36.43Captnoordotherwise its a crash
19:36.47phhCaptnoord: imem registers need imem enabled
19:36.48phhhow weird.
19:36.59Captnoordlolz.....
19:37.02Captnoordyup
19:37.06phh(me, sarcastic? NO WAY)
19:37.28Captnoordhehe.....
19:37.37Captnoordwierd is that the 2e block has value 9
19:37.43Captnoordwhich is 0b1001
19:37.51Captnoordwhile the docs never mention that
19:38.09phh2e=2nd ?
19:38.14phhhum no
19:38.44Woutok phh, got the command executed, what do I need to look for in the output?
19:39.21phhWout: Setting blabla brightness to blabla
19:41.03phhadamw: how do you do +/- on that keymap ?
19:41.05phhrhod2&0
19:41.07phh210*
19:42.20Woutphh: contains several lines about brightness, multiple values
19:42.23phhI have no problem bringing up virtual keyboard in portrait mode
19:42.37phhcopy/paste one line (no need for the [ blabla ] value)
19:42.48Captnoord0xA8500004
19:42.49Captnoord2e
19:43.34phhCaptnoord: uh ? it reports something ?
19:43.35Woutmicrop-klt: Setting lcd-backlight brightness2 to: x/10
19:43.38phhbut there is nothing there
19:43.40phhWout: baaaah
19:43.44Woutgot about 20 lines
19:43.52WoutX ranges from 1 to 9
19:44.07adamwphh: plus is fn+u
19:44.07*** join/#htc-linux ReeferMattness (~MattGNM@c-76-18-79-170.hsd1.nm.comcast.net)
19:44.16adamwphh: minus is fn+o
19:44.26phhok thanks
19:44.40adamwphh: all you need is http://www.happyassassin.net/keymaps/current/rhod210_microp-keypad.kcm :)
19:44.47Woutno, actually ranges from 0-9
19:44.50adamwthe last two columns show what you get for the fn combos
19:45.05phhadamw: yeah right
19:45.10phhhum it was for Wout.
19:45.14Woutphh: is that good or bad?
19:45.16phhWout: and it didn't work before I guess ?
19:45.25Woutnot on earlier builds, no
19:45.33adamwphh: ah - he says he's on rhod100, i dunno if he's actually using the rhod100 keymap from the forum
19:45.34phhit's totally bad, it means it's the correct kernel.
19:45.42adamwif so, i don't know what the mappings will be, i didn't do the rhod100 maps
19:45.43phhadamw: i'm not talking about keymaps for him :p
19:45.54adamwconfused now :)
19:46.30Woutphh: can you point me to a link for a pc based terminal I can connect my device? would love to help you gus out with any debugging
19:46.43phhjust adb shell
19:47.13phhadamw: weirdly, fn and caps are invered.
19:47.32adamwphh: not weird, if you're using rhod210 keymap on tilt2 that's perfectly normal
19:47.38adamwphh: the keys are swapped between those two models :)
19:47.51phhok
19:47.54adamwon tilt2 shift is bottom-left and fn is above it, on rhod210 they're the other way around
19:47.59phhmaybe I should use tilt2.
19:48.19adamwor scratch off the keycaps and re-do 'em, whichever you prefer :P
19:48.20Woutphh: Ok thanks, I'll try to get adb running
19:48.50phhadamw: no thanks.
19:50.06adamwWout: or you can use any telnet app, boot with usb connected, and just telnet to the phone's ip address
19:50.33adamwWout: if you boot with the phone USB connected to a computer, it should come up with an active usbnet connection between the two, and a telnet server running on the phone
19:50.52phh(ip of the phone is 192.168.20.1
19:51.17Woutjust telnet? ok, will try that
19:51.45Woutso hook it up in winmo, then boot haret? use activesync I assume?
19:51.50adamweh? no
19:51.54adamwoh wait
19:51.54phhWout: no
19:51.55adamwyeah
19:51.56phhjust connected
19:52.04adamwit doesn't matter what mode it's in
19:52.06phhmaybe without activesync driver
19:52.09adamwactivesync is fine though
19:52.21adamwphh: nah, i usually have mine in activesync mode, works fine for android when it boots
19:52.31Woutbecause winmo asks for a connection option when I plug the usb cable in
19:52.52adamwyeah it should be fine with any of those, but activesync works for sure for me
19:53.03Woutok, rebooting
19:53.44phhdo you think I can do anything with the zoombar ?
19:55.09Woutmaybe map it to the Y axis of the trackball present in most android phones?
19:55.50phhpfff
19:56.01phhuseless
19:56.04adamwi never use the thing in winmo anyway
19:56.10adamwi dunno, it seems like a waste of time to me
19:57.53Woutshould a tp2 be able to run without its battery if the charger is connected?
19:58.16phhon android yes
20:02.28ReeferMattnessyes wout
20:02.34MrPippya9 doesn't kill it when the battery is pulled?
20:02.38Woutgrr, for some reason my phone defaults to mass storage mode when I plug in the usb cable
20:02.44phhMrPippy: no
20:02.46Woutso I cant run haret
20:03.26Markinusphh: is on dia the lighsensor working only if the auto_backlight is enabled too?
20:03.30CaptnoordWout: change it in the settings....
20:03.32Captnoordconnection settings
20:03.40phhMarkinus: no
20:03.44phhit always works
20:04.14Markinusphh: hmm, I get now the values under lin only if I enable auto_backlight . .
20:04.16Woutphh: seem the people for who backlight dimming works have a til2, I'm on a MDA Vario V, could be a difference
20:04.32phhWout: well, rhod100.
20:04.37phhcould be
20:04.39phhcr2 warned me.
20:05.53randomblameany more ideas on amss versions? I tried 5230 but that didn't seem to work as well.
20:06.05Captnoordwhat phone?
20:06.06phhrandomblame: only 5225 and 6125 are supported
20:06.09phhCaptnoord: lg incite
20:06.21Captnoordk
20:06.38randomblame5225 it is
20:07.24randomblamethat lets me have the phone radio on and doesn't seem to cause trouble
20:07.43randomblamebut it still stops at the same place
20:08.26adamwWout: if you don't get the choice of options, try removing the sd card
20:08.51adamwWout: that should force it into activesync or dun mode since it doesn't have anything to export over usb storage any more, heh
20:09.07adamwthen reinsert the sd card after plugging in the usb cable
20:10.23Woutgot it, booting haret now with usb connected
20:10.32phhargh, tilt2 keymap is outdated
20:11.04phhseems so at least
20:11.08Woutwindows says device driver not found for a 'Smartphone' device, is that a problem?
20:11.16phhbah back to rhod210's map
20:11.40phhWout: maybe not
20:11.46phhdo you get a network ?
20:12.54randomblameI wonder why htc_fb just stops at random places while ram console continues to collect output
20:13.44Wouttrying to set up a telnet connection to 192.168.20.1, what port should I use? just 23?
20:13.53phhyes
20:13.56phhit's just a telnet :p
20:14.00Woutk
20:14.15Wout:/
20:14.18Woutnot working
20:14.27phhdo you have a network connection on usb ?
20:14.30phhand you setted its ip ?
20:15.15Woutno, no network connection
20:15.25phhbuy a real os
20:15.32Woutit detected a usb device, but then I got the failed driver install message
20:15.41WoutI thought linux was free? :P
20:16.48phhthere is not only linux :p
20:18.15Woutlike....Mac? can't but that OS I'm afraid ;)
20:18.27phhbah get linux then :p
20:21.14Woutgrr, just want it to work in windows if possible
20:21.18phhtime to work on sleep I guess.
20:21.31phhWout: don't count on  my help :p
20:21.43randomblamewout are you trying to get haret console to work in windows?
20:22.00WoutI'm trying to telnet into my xdandroid build via windows
20:22.21randomblamedownload ubuntu, use the live cd :D
20:22.25randomblamemuch easier
20:22.30phhWout: I still need some i2c dumps from wince actually.
20:22.44Woutphh: how would I go about getting those?
20:23.02phhah windows on desktop
20:23.03phhbaah
20:23.12phhseriously, how can someone live with that ? :p
20:23.30Woutpretty easy actually :P
20:24.04Woutscrewit, I'll just install vmware and get ubuntu up and running
20:26.45*** join/#htc-linux JD[x] (~jd@intranet.jeltel.com.au)
20:27.45randomblamethat's the spirit
20:27.52randomblamevbox works nicely too
20:28.32Woutwel, it's the least I can do to help out
20:28.52Woutthe sooner I can run android fulltime, the better :)
20:29.15JD[x]amen.
20:29.28randomblameI wish the incite had a larger user base so I had helpers ha
20:29.36randomblame*slaves
20:29.48randomblame:D
20:30.24JD[x]lol
20:30.37Captnoordbleh!!!
20:30.44Captnoordphh anything else interesting to re
20:30.51phhCaptnoord: no right now
20:30.59Captnoordcan't do shit besides bothering you a lot
20:31.01Captnoordk
20:32.41JD[x]phh: I found this channel from the logs at unode.net, you were talking with ToAsTcfh about Android's libGLES_qcom.so - Did you guys get anywhere?
20:32.59phhJD[x]: for which board ?
20:34.04JD[x]He seemed to be on MSM7500
20:34.25JD[x]I'm on 7201A (32B), getting the same errors
20:34.31*** join/#htc-linux cr2_ (~cr2@ip-109-84-244-77.web.vodafone.de)
20:34.44phhjust update your kernel then
20:35.10cr2_Wout: NetRipper has windows python+haretconsole on his site
20:35.16*** join/#htc-linux Dilano (~niels@88.159.241.156)
20:36.36JD[x]You think that will work? I'm running with the kernel provided by AOSP
20:37.10cr2_phh: we don't have LED (A?)DC tables undocumented ?
20:37.54phhcr2_: hum don't know
20:38.27cr2_i think not
20:38.53cr2_but the elan multitouch microcontroller is even more fun
20:39.06phhreally ? why ?
20:39.10phhthere are many constants ?
20:39.15cr2_htc begins to fill the phone with a lot of microcontrollers
20:39.25phhyes
20:39.32cr2_with own ram, flash and firmware
20:39.33phhcr2_: btw, the 0x38 device is the accelerometer
20:39.37phhon rhodium it's not on microp
20:39.49cr2_ok
20:40.00cr2_but on leo it's on microp
20:40.05phh0x38 is bma150, but the command doesn't looks like bma159
20:40.06phh0*
20:40.19cr2_phh: did you find the 2 mddi regs for bkl ?
20:40.29cr2_159 ?
20:40.29phhcr2_: no mddi reg for rhod300
20:40.34phh150*
20:41.11phhand no dump for rhod100 yet
20:41.29cr2_hm
20:42.27phhbut if you know which regs there are... :)
20:42.52cr2_i've added 3 option for elan into wiki
20:43.10cr2_one of them clashes with cy
20:45.08*** join/#htc-linux jamenlang3 (~jamenlang@209-193-77-154.mammothnetworks.com)
20:46.53Woutok, got vbox and the latest ubuntu iso
20:48.22*** join/#htc-linux Wout` (~wout85@s55927d21.adsl.wanadoo.nl)
20:49.51phh% grep -E '(enter|exit) suspend' dm |wc -l
20:49.51phh405
20:49.55phhin less than 5minutes.
20:50.03phhdeep sleep definitely doesn't work.
20:50.33*** join/#htc-linux MatBee (~acidhax@l-209-250.sheridanc.on.ca)
20:51.10cr2_wtf is deep sleep ?
20:51.28phhcr2_: turning A11 off
20:51.42Wout`deep sleep = power managment on the soc?
20:51.59phhWout`: only the A11
20:52.20Wout`which is what? (sorry guys, really trying to learn, long way to go)
20:52.25cr2_phh: can't access htc-linux.org wiki
20:52.43phhcr2_: it happens :/
20:53.01phhWout`: the processor on which linux runs.
20:53.55IceBoneHey, phh... any progress on bt?
20:54.16Wout`are there multiple arm procs in the rhod?
20:54.27phhWout`: many.
20:54.41cr2_Wout`: at least 4
20:54.45phhonly two cpus in the common way of calling a processor
20:54.49phhif we count everything that is pretty generic
20:54.50phhwell
20:54.51phhmany.
20:54.59cr2_>=5
20:55.11Wout`so, two main cpu's and some co-processors? (in laymans terms)
20:55.29phhWout`: depends on what you call co processor :p
20:55.35phhI won't call wifi processor a co processor
20:55.57Wout`ok, so two arm general purpose cpu's and then the chips which handle wifi/bt/gps/etc.. ?
20:55.59cr2_1 general purpose cpu, and many microcontrollers + 2 dsps
20:56.04Wout`ah, ok
20:56.29phhcr2_: uh ? A9 is where ?
20:56.36phhI'd say 2 general purpose cpus no ?
20:56.40cr2_operating arm9 as a general purpose cpu is fun
20:56.55phhs/general/spying/ ? :p
20:57.06cr2_with its rtos it's not really general purpose
20:57.14phhit still does a lot of things
20:57.23cr2_yes, like a security option
20:57.49cr2_but we need to connect to oemsbl for that
20:58.00cr2_or replace oemsbl with uboot :)
20:58.31cr2_i'm wondering how do they reflash radio on leo, if nand mpu is protected.
21:01.00cr2_phh: are you sure that there are no 2 mddi regs for bkl ?
21:01.08phhcr2_: for rhod300.
21:01.17cr2_let me check my notes
21:01.19phhcr2_: but these microp stuff doesn't work on rhod100
21:01.40phhso maybe on this device it's mddi
21:02.39randomblameacpu clock keeps reporting invalid speed with msm fb enabled
21:02.58phhrandomblame: ?!?
21:03.03phhwhat does your PLL looks like ?
21:03.47randomblameplls are normal
21:03.51phh-_-'
21:03.57phhsame frequencies as us ?
21:04.02randomblameyes
21:04.07phhhum hum
21:04.28Captnoordlol reboot on latest kernel when entering wpa 2 key
21:04.29Captnoord:S
21:04.31Captnoordwhile*
21:04.47Captnoord[22:03] <phh> what does your PLL looks like ?
21:04.48phhCaptnoord: oO
21:04.52randomblameyet somehow I keep getting Calibrating delay loop... 255.59 BogoMIPS instead of 244
21:04.53CaptnoordI wonder what you say to your chicks
21:04.54Captnoord:P
21:05.00phh-_-'
21:05.16Captnoordand android is nagging about wakelocks beeing disabled
21:05.27phhCaptnoord: wake lock stats.
21:05.31phhand this one is really buggy.
21:05.57Captnoordhehe
21:06.02cr2_phh: found only some notes about audio on rhod
21:06.19phhcr2_: mostly i2c I guess ?
21:06.30cr2_bogomips are fake, because the timer is disabled by NetRipper
21:06.41phhcr2_: in raph's tree ?
21:06.42cr2_phh: no i2c
21:06.48randomblamephh, if my plls are the same, and the multipliers are hardcoded wtf
21:06.53cr2_in all msm trees
21:06.56phhcr2_: there is a lot of i2c stuff involved in sound still :p
21:07.04cr2_it does not work otherwise
21:07.14cr2_phh: it's dualmic stuff
21:07.19phhcr2_: not only
21:07.26cr2_phh: i'm talking about htc_acoustic
21:07.35cr2_maybe the amp
21:07.36NetRippercr2_, actually, i've noticed the loops_per_jiffy variable is overridden whenever a new arm11 frequency is set
21:07.42phhyes right.
21:07.44cr2_but it's the same on blac
21:07.45NetRipperto make it according to that freq
21:07.51NetRippernot sure how it's calculated though
21:08.05phhcr2_: do you happen to know th name of th gsensor btw ?
21:08.09cr2_NetRipper: you start the timer, and loop till the irq
21:08.19cr2_NetRipper: with your setup the irq never cames
21:08.35NetRippercr2_, if you look at acpuclock-scorpion.c you'll see loops_per_jiffy is set
21:08.44NetRipperwhen the clock is changed
21:08.52cr2_ok, never looked at this part
21:09.05NetRipperi'm not sure if that's somehow pre-calculated, but still
21:09.12cr2_NetRipper: do you boot with 0x118* setup ?
21:09.15randomblamenetripper: how do you explain a 259mhz arm11?
21:09.17NetRippercr2_, i do yes
21:09.26NetRipperrandomblame, where'd you get that figure?
21:09.33randomblamefrom the bogomips calc
21:09.36cr2_NetRipper: committed ?
21:09.44NetRippercr2_, no
21:10.03cr2_NetRipper: i've seen that it's not you but evil HTC that patched 0x20000000 as qsd base
21:10.18NetRippercr2_, been trying to say that to you :(
21:10.20NetRipper:)
21:10.27cr2_with a stupid comment like "since amss3150" or something like that
21:10.32NetRipperaha
21:10.35cr2_:)
21:10.38phhphys ram depends on amss ?
21:11.03cr2_phh: that's why i say "stupid commit comment"
21:11.07phhok
21:11.11NetRipperi think they just chose that for linux variants
21:11.36cr2_phh: they put physical ram starting at 0x20000000
21:11.45phhcr2_: no smi ?
21:11.47cr2_on such phones
21:11.56NetRippersmi = 0x1* to 0x118*
21:12.04phhok
21:12.08randomblamenetripper 259bogomips http://www.pastebin.com/f65aabb2c
21:12.13cr2_they do a real obfuscation strategy with all what they do
21:12.17randomblameonly happens with fb_sm
21:12.32randomblame*msm
21:12.35cr2_phh: EBI still starts @0x10000000
21:12.37cr2_on qsd
21:12.42phhok
21:12.48phhbut not on htc's QSD ?
21:12.49Wout`gotta go, will have my linux setup this weekend, so if someone needs to get some dumping/debugging done on a rhod100 let me know :) really want to do my part to move this project along
21:13.07cr2_phh: not on "android" qsd ;)
21:13.10NetRipperrandomblame, what device is that
21:13.21randomblamelg incite
21:13.24phhcr2_: acer doesn't start on 0x1*** either ?
21:13.28NetRipperoh it says it right there yes
21:13.29NetRipper:D
21:13.43cr2_phh: don't know
21:13.46phhok
21:14.04cr2_phh: but leo shows that the sdram can be put at 0x10000000 too
21:14.12phhok
21:14.19cr2_so it just depends on the hw design
21:14.28cr2_not on amss or something else
21:14.55cr2_phh: is there a topa/rhod memory map page ?
21:14.57NetRipperanyway randomblame bogomips aren't mathematically equal to mhz.. as it also depends on how efficient the cpu handles it clock cycles.. 255 bogomips = not 259 mhz always
21:15.04NetRipper(iirc)
21:15.05cr2_heh. i can't access wiki anyway
21:15.05phhcr2_: no
21:15.28phhcr2_: oh sorry, yes there is
21:15.35cr2_phh: did you check audio route dev= ?
21:15.42randomblameNetRipper: yeah I'm just trying to figure out why I only get that miscalculation with msm_fb enabled
21:15.43NetRippercr2_, do you know how that delay loop stuff work sinternally? where do i configure what interrupt it should wait for?
21:15.45phhcr2_: I trusted you.
21:15.55DilanoAnyone knows why Android on my HTC Diamond says it has an incorrect PIN ?
21:16.09phhDilano: because our RIL doesn't handle pin.
21:16.10cr2_phh: i think on rhod it may be different
21:16.17phhcr2_: ok
21:16.21Dilanophh: then how can I boot it? :P
21:16.28Dilanodisable pin?
21:16.30cr2_phh: at least the htc_acoustic data is at a different location
21:16.31Wout|AFKDilano: disable pin from winmo
21:16.34NetRipperrandomblame, ah, hm i don't have an answer for you.. it works well with htc_fb_console?
21:16.36Dilanothanks Wout|AFK
21:16.42phhcr2_: baaaaah
21:16.56randomblameNetRipper: yes
21:17.16cr2_NetRipper: i think it just counts cpu cycles between the 1sec GPT interrupt ?
21:17.22NetRipperrandomblame, random thought is that msm_fb might cause a lot of mdp and other interrupts to fire during init.. causing a delay and maybe interfering with bogomips calculation?
21:17.34randomblameNetRipper: that bug is the only reason I can find that keeps me from using msm_fb, it crashes the kernel before anything is output to the screen
21:17.39NetRippercr2_, then why would it hang on leo, as GPT interrupt should work fine there
21:17.58cr2_NetRipper: need to check the actual code :)
21:18.00NetRipperrandomblame, you can pass lpj=xxxx (the correct value) to cmdline, at least you can go ahead then
21:18.07cr2_may be some irq setup weirdness
21:18.16randomblameNetRipper: wow thanks
21:18.37cr2_NetRipper: how much ram do you have now ?
21:18.37NetRippercr2_, maybe it has to do with the insanely ugly hack i added to disable the DBG interrupt
21:19.00cr2_NetRipper: maybe
21:19.06*** join/#htc-linux [1]Captnoord (~Captnoord@dc5147a47b.adsl.wanadoo.nl)
21:19.23cr2_NetRipper: i've updated the gpio list, and i2c ids
21:19.28NetRippercr2_, uhm we should probably have 512mb for linux but i don't know how to fully check the whole memory range in linux... nor am i able to load bash/busybox to test anything :)
21:19.51cr2_NetRipper: you should check which elan multitouch controller your have. and the board id
21:20.12NetRippercr2_, how do i check?
21:20.20NetRippertrace i2c?
21:20.22NetRipperor dmesg?
21:20.28cr2_NetRipper: you have busybox login ?
21:20.35cr2_i2c trace does not work for me
21:20.38cr2_dmesg
21:20.51cr2_i'll show you my values
21:21.19NetRippercr2_, no i don't.. i built a busybox with the same toolchain as i built the kernel with, but it won't get passed 'freeing XXXk memory
21:21.45cr2_NetRipper: hm. same here with dcordes' initramfs
21:22.07cr2_NetRipper: btw, the ulpi init has a different value on leo
21:22.15cr2_compared to nexus
21:22.47cr2_[SPL] SKUID PCB ID is 80M
21:22.49cr2_[SPL] Board ID is 4M
21:23.22cr2_[SPL] AUO PanelSPI On, Board ID= 4!!M
21:23.35randomblamelpj will be different depending on what speed the thing decides to turn on at right?
21:24.15NetRipperrandomblame, yes but haven't had a problem witht hat on raphael/diamond (msm7201a)
21:24.18cr2_[D:I2C]I2C_Read, ID: b8, Address: 0, Length: 1 Failed
21:24.28cr2_[D:TP] B81 detected failed!
21:24.48cr2_[D:I2C]I2C_Read, ID: 68, Address: 0, Length: 1 Failed
21:25.00cr2_[D:TP] B81_2 detected failed!
21:25.17cr2_[D:TP] B81_3 detected!
21:25.28cr2_this is touchscreen
21:26.21cr2_[D:TP] Firmware info: V0x30!
21:26.53cr2_NetRipper: why do you have swordfish enabled in defconfig ?
21:26.57Captnoordphh axi reset seems to need more time....
21:27.09CaptnoordI was wrong about the time beeing small
21:27.10phhCaptnoord: more time than 1ms ?
21:27.11Captnoordcheck
21:27.12Captnoordvoid msm_camio_vfe_blk_reset(void)
21:27.15Captnoordits uses 10 ms
21:27.21Captnoordfor axi reset
21:27.22phhCaptnoord: BAH
21:27.31Captnoordmaybe it doesn't matter
21:27.37phhmaybe it does.
21:27.41Captnoordyea
21:29.48cr2_phh: from rhod
21:29.51cr2_22:12:01 [D:BKL] [MDDI_Write] API is not ready! address: 0x6a17, data: 0x0
21:30.23cr2_22:13:37 [D:DISP] mddi_write: Index = 0x6a17, Value = 0x1
21:30.24cr2_22:13:37 [D:DISP] mddi_write: Index = 0x5303, Value = 0x80
21:30.26cr2_22:13:37 [D:BKL] SetBacklight ucBrightness = 1
21:30.39cr2_phh: these are backlight related mddi regs on rhod
21:30.52JD[x]phh: Kernel: arch/arm/boot/zImage is ready
21:30.54JD[x]finally
21:30.55JD[x]lol
21:30.56phh0x6a17 = autobacklight, 0x5303 = backlight ?
21:31.00cr2_22:11:55 [K] GetModelName- 82,72, Name is RHOD30000
21:31.05cr2_so it's rhod300
21:31.08phhcr2_: oO
21:31.21phhseriously, microp commands just works
21:31.41cr2_phh: wince uses these +microp
21:32.12cr2_phh: btw, is this number hardcoded ? ->
21:32.15cr2_[K] +OEMInit
21:32.15NetRippercr2_, err, accidental i think.. i didn't enable swordfish on purpose
21:32.17cr2_[K] CSP_VERSION is 6125
21:32.27cr2_NetRipper:
21:32.39phhcr2_: don't know, but I'd bet on a yes.
21:32.50cr2_NetRipper: i think you can revise a lot of drivers now. like for i2c devices, based on wiki
21:33.30NetRippercr2_, alright but to be honest i first want to be able to boot an initrd.. as long as that doesn't work, something basic is still wrong
21:33.45cr2_NetRipper: ans we need to write a new touchscreen driver. i know one ts driver expert :)
21:33.57NetRipperplease introduce me
21:33.58NetRipper:D
21:34.20cr2_NetRipper: hm. you don't have even have basic gpio control now
21:34.31cr2_and clk/dex/rpc ...
21:34.40NetRipperthat doesn't matter, if kernel boots there's no reason for it to stop where it does now
21:34.46cr2_but dex plays very little role on leo, btw
21:34.55cr2_nothing to compare with raph
21:35.04NetRipperok
21:35.05cr2_may be some watchdog
21:35.19NetRipperbtw cr2_, voltage of the arm11 is that via amss or is there a direct reg?
21:35.24cr2_or rogue driver
21:35.35cr2_direct reg i think
21:35.40NetRipperalright
21:35.41cr2_at least on 7201A
21:35.44phhNetRipper: see acpuclock.c
21:35.58cr2_phh: qsd has its own
21:36.03NetRipperphh, well yes but it delegates it to some "regulator", i can't find its specifics
21:36.07cr2_phh: and it's pretty different
21:36.16NetRipperwasnt able to track it down where that regulator comes from
21:36.38cr2_phh: there is scpll too
21:36.45phhsc stands for ?
21:36.51cr2_NetRipper: btw, sirc means second irc controller
21:36.56cr2_phh: scorpion
21:37.00phhah
21:37.09cr2_NetRipper: but i didn't see anything in haret traces
21:37.15NetRipperok
21:37.22cr2_NetRipper: but the gpio1 and gpio2 muxed irq are on sirc
21:37.39cr2_and not on irq1 like on 7201A
21:37.50NetRipperarf
21:37.56cr2_you can see it whn you touch the scren
21:38.08NetRipperyes then you see SIRC
21:38.21cr2_which means gpio irq
21:38.21NetRipperwhy do they invent so many interrupts :p
21:38.39cr2_you prefer cpld irqs ?
21:38.45NetRipperi prefer easy irqs
21:38.48NetRipperwithout demuxing
21:38.49NetRipper:P
21:38.53cr2_they did it often before
21:39.10NetRipperi gtg for a bit, my sis got ill
21:39.11cr2_because  these are gpio and not core irqs
21:39.15cr2_ok
21:41.17cr2_phh: you have no sound on rhod ?
21:41.35phhcr2_: speaker on call works
21:41.38phhthat's all I tried
21:41.57randomblamethat lpj cmd didn't seem to work
21:42.01cr2_playwav2 ?
21:42.24*** join/#htc-linux BabelO (~fcr@2a01:e35:2ee1:c1c0:21e:8cff:fe2d:7d3f)
21:42.25*** join/#htc-linux BabelO (~fcr@unaffiliated/babelo)
21:46.18phhpcm_play: cannot open audio device: No route to host
21:47.17adamwhuh. never saw a 'no route to host' error for audio before.
21:48.20phh<PROTECTED>
21:48.21phh....
21:49.51*** join/#htc-linux [1]Captnoord (~Captnoord@dc5147a47b.adsl.wanadoo.nl)
21:51.54cr2_phh: looking at g1 smem dump
21:52.12cr2_now i need a nexus smem dump...
21:53.27Scepterri have a nexus
21:53.58cr2_Scepterr: you have devmem2 too ?
21:54.19Scepterrif i knew what that was ide have to say no
21:54.21cr2_i think /dev/mem is not readable by dd, as usual on android
21:54.41Scepterryou need me to run something ?
21:54.43cr2_Scepterr: do you have commanline access ?
21:54.45Scepterryah
21:54.49Scepterrrooted and all
21:54.54cr2_type 'devmem2'
21:54.57cr2_ok
21:55.07Scepterrflashing desire rom atm, gimme couple mmin
21:55.17cr2_ok
21:55.36cr2_you can run desire rom on it ?
21:55.52Scepterrdesire=nexus=htc sense goodies
21:55.58Scepterrdesire=nexus+htc sense goodies
21:56.00Scepterr:)
21:56.04phhScepterr: + optical jogdial
21:56.12Scepterrhtc goodies :)
21:56.12cr2_then when all these morons will stop to say that the hardware is the same as on leo !?
21:56.21Scepterrits not
21:56.24Scepterrsame cpu is all
21:56.37cr2_yeah
21:56.51cr2_they said that for g1 vs raph/diam too
21:56.53phhmost devices are the same ...
21:57.02cr2_heh
21:57.10Scepterrscreen res is the same on those...
21:57.11Scepterrlol
21:57.13phhcr2_: we have most drivers for raph/diam... the only left problem is... beloved amss.
21:57.28cr2_phh: cam ?
21:57.36cr2_and gps
21:57.46phhcr2_: all problems are because of amss.
21:57.55cr2_btw, on g1 at+htcagps=2 , and not 5
21:58.00phhplaywav seems to run
21:58.01cr2_yes
21:58.12cr2_run or play ?
21:58.13Scepterrspeaking of which, any updates on rhodium gps,bt,wifi ?
21:58.30randomblamehmm calculating bogomips is skipped and acpu clock still reports invalid cpu speed
21:58.36cr2_bt/wifi depends on phh :)
21:58.38phhcr2_: runs, but no sound.
21:58.49cr2_phh: but not crashes ?
21:58.52phhcr2_: stop stressing me !^:p
21:58.53phhno crash
21:59.00cr2_ok.
21:59.00Scepterrlol
21:59.02adamwphh: check the headphone output too
21:59.06phhI'll try all output devices including headset
21:59.08phhadamw: .
21:59.10adamw:)
21:59.14cr2_i doubt that i mixed the adsp numbersd
21:59.21phhI just don't know how to test headset with usb connected
21:59.35adamwphh: the adapter in the box should be a passthrough
21:59.37cr2_phh: ok
21:59.45phhadamw: no adapter in the box :p
21:59.47phhonly phone.
21:59.49adamwoh :/
21:59.59jamenlang3i've got an adapter
22:00.01adamwi guess matt didn't send it or didn't get ione or smth
22:00.05cr2_adamw: only on the us version
22:00.08jamenlang3address?
22:00.10adamwcr2_: this is a us version
22:00.17cr2_ok
22:00.21adamwcr2_: he got it sent from reefermattness in the states :)
22:00.29cr2_i see
22:00.44adamwphh: if you don't have an adapter there's no way to do it
22:00.55cr2_i have tvout cable, and it has extra extusb slot
22:00.56phhadamw: that's what I thaught :p
22:01.02phhcr2_: I haven't tvout cable either.
22:01.07phhI'm really a poor TP2 owner :p
22:01.10cr2_so i can listen to fm
22:01.14cr2_LOL
22:01.28adamwphh: you can pick 'em up off ebay i think
22:01.35phhadamw: yes
22:01.43adamwi'd send you mine only i already gave it to someone else hah
22:01.46Captnoordor make them yourself
22:01.48Captnoord:P
22:01.48phhit's really costly for just a cable thouogh.
22:02.16adamwreally? i bought one for cheap a while back
22:02.28phhI don't call 7€ cheap for just a cable :p
22:03.12cr2_aha. 6220 amss, in the same format
22:03.24adamwhttp://cgi.ebay.ca/3-MINI-USB-to-3-5mm-Stereo-Headphone-Audio-Adapter-HTC_W0QQitemZ110495824083QQcmdZViewItemQQptZPDA_Accessories?hash=item19ba1078d3 <--- three of 'em for $3 :) unfortunately not the model with extra usb connector, though.
22:03.34ReeferMattnessI can send it phh, slipped my mind when I was packing, I have a few of them.
22:03.58cr2_ABCD string too low in smem...
22:04.04*** join/#htc-linux kvaster (~kvaster@live.bn.by)
22:04.11phhReeferMattness: bah if you can send them for little cost
22:04.38cr2_0x4a000 and 0x4b000
22:05.15ReeferMattnessbetter idea, ill just order one and have it shipped to you. probably be faster.
22:10.24cr2_f0200 for the spl cmd buf
22:10.26cr2_hm. the smem layout looks the same
22:10.26cr2_amss, imei
22:10.26*** join/#htc-linux DJW|Home (djwillis@cpc1-bath2-0-0-cust327.aztw.cable.virginmedia.com)
22:10.27cr2_fc00c=1
22:10.27cr2_i guess GNUtoo dumped with usb on. (vbus=1)
22:10.27cr2_EVIL androids
22:10.27phhcr2_: playwav2 doesn't end
22:10.27GNUtooyes usb on
22:10.27GNUtooadb is only avaliable from usb
22:10.27cr2_GNUtoo: do you check for vbus status ?
22:10.28GNUtoocr2_, what's that?
22:10.34cr2_GNUtoo: you can do what we are doing by readl(smem+0xfc00c)
22:10.34cr2_5V on usb port
22:10.34cr2_the g1 kernel has some comments about that.
22:10.35GNUtoook
22:10.35cr2_but they didn't want to reveal the smem location ;)
22:10.36GNUtoommm ok
22:10.36cr2_GNUtoo: if there is no USB power, this location should be =0
22:10.36cr2_USB power=5V on usb
22:10.36GNUtooyes I know
22:11.02GNUtoobut I don't get the relation between GPS memory and power on usb
22:11.06cr2_+fc100 is all FFFF
22:11.21phhcr2_: it's battery stuff for us ?
22:11.24GNUtooah yes while dumping I did some tee
22:11.26cr2_right, they do dex differently
22:11.33GNUtooand i saw lots of 0 and FFFF
22:11.42cr2_GNUtoo: i want to have the single kernel
22:12.07cr2_GNUtoo: and many ops can be done in "our" way, independently from the amss version
22:12.19GNUtoocr2_, what do you mean by single kernel? a kernel with support for all stuff we have?
22:12.20cr2_the g1 kernel is too dependent on its "own" amss
22:12.28GNUtooah ok
22:12.30phhcr2_: do you think it's worth trying adsp 6150 settings on 6125 ?
22:12.31GNUtoounderstood
22:12.40cr2_GNUtoo: a single kernel for g1/g2 and "wince" 7x0xA
22:12.44phhcr2_: you want a single kernel even for android devices ?
22:12.46GNUtoowould be nice
22:12.46cr2_phh: no
22:12.47phhI love you.
22:13.10cr2_phh: lol. android is evil :)
22:13.17phhs/android/msm7k/
22:13.18GNUtooindeed
22:13.39cr2_phh: i have nothing against android as an option
22:13.45phhI know
22:13.46*** join/#htc-linux rashire (~ed1112war@98.114.89.97)
22:13.56cr2_but the core kernel support should be android-free
22:14.04randomblameinteresting, the other version of haret is getting further and not causing that acpu error with msm_fb
22:14.22randomblameso now I don't know why my fb is broken again
22:14.22cr2_now we only need to get rid of pmem, and leviathan said
22:14.42phhrandomblame: oO
22:15.29randomblameas soon as I think I've got a reason, I learn something new
22:15.43Captnoordhmmm lol... wifi suspend....
22:15.44Captnoordso
22:15.46chamonixphh: since when does USB not be plugged at boot in order to get adb connection?
22:15.47Captnoordif its enabled
22:15.56Captnoordbeeing able to suspend it
22:15.59phhchamonix: it *has* to be plugged
22:16.02phhand since forever
22:16.04chamonixnope
22:16.06Captnoordso you can keep it enabled
22:16.15cr2_0xfc300 has some data.
22:16.19chamonixI booted last nite and plugged right now
22:16.28cr2_hm. should i edit the raph memorymap table ??
22:16.30phhchamonix: you booted with usb connected then ? :p
22:16.35chamonixlast nite I was in my bed, there's no USB there :P
22:16.42phhcr2_: tough question uh
22:17.00phhchamonix: I can't see with which miracal it could happen :p
22:17.13chamonixwell, let's do a regression test
22:17.22phhlol
22:17.28phhfirst, let's try it again.
22:17.31cr2_phh: one more column for g1
22:17.32chamonixdisconnect
22:17.40chamonixreset
22:17.42phhCaptnoord: you could reverse it btw.
22:17.43phhI mean usb init
22:17.59cr2_phh: it seems that we can control g1 clk and gpios like on raph/diam
22:18.11cr2_phh: but the dex itself is done differently
22:18.14chamonixboot
22:18.33Captnoordusb init
22:18.38Captnoordjk
22:18.39cr2_phh: i like such differential analysis :)
22:19.11phhcr2_: I'd like to get clocks working with rpc
22:19.12cr2_phh: g1 smem looks very simple
22:19.21phhI don't want to do the dirty work :p
22:20.07cr2_phh: are you sure that rpc is initialized (and the f server avalable) at the moment you want to talk to it ?
22:20.26phhno
22:20.31phhthe f server is available yes
22:21.12cr2_you still need to check for rpc availability somehow
22:21.21cr2_and we need to fix the rpc (re)init
22:21.59cr2_+0xfc300  4K  audio, params3 (0x140)
22:22.01cr2_aha.
22:22.15cr2_it's the audiopara3.csv
22:22.39cr2_phh: at a different location on rhod ?
22:22.44phhdon't know
22:22.48phhI haven't checked yet
22:23.03cr2_no, seems to the same
22:23.23phhok
22:23.59cr2_so g1 has it at the same place. good
22:24.31chamonixphh: u win :P
22:24.35phhchamonix: :p
22:24.37cr2_yeah, the data looks familiar
22:24.40chamonixI must have USB over the air
22:24.40phhcr2_: good for your lazyness you mean ?
22:24.42chamonix:-D
22:24.47cr2_hehe
22:25.00cr2_phh: my thoughts are with leo :)
22:26.02*** join/#htc-linux droid001 (~g1@p4FDCB310.dip.t-dialin.net)
22:26.14cr2_+0xfc030   g23 ver(AMSS protocol)
22:26.18cr2_also on g1
22:26.41cr2_in the same $1$3 format
22:27.45GNUtoocr2_, so is my dump ok ?
22:28.04cr2_imei,cid,radio
22:28.06cr2_too
22:28.42cr2_GNUtoo: yes. i've learned many other useful things, so you may modify the vbus detection now.
22:28.56GNUtoook wow
22:29.05cr2_and that we can verify amss version dynamically
22:29.13GNUtoowow!!!!
22:29.15cr2_without any #ifdef pita
22:29.44GNUtooyes I saw some #ifdef CONFIG_AMSS_VERSION
22:29.45GNUtooetc...
22:29.50cr2_and that the audiopara3 is loaded at the same location
22:30.04cr2_<PROTECTED>
22:30.33cr2_just do the dex & things separately in proc_comm, depending on the amss version
22:30.39GNUtooabout kernel how my work and leviathan's are usefull for you? because leviathan has bad commit message and is too much hackish
22:31.19cr2_GNUtoo: with some amss-version based patches we will be able to use your kernel
22:31.28GNUtoook nice
22:31.29GNUtoowow
22:31.34cr2_just need to write our own dex driver
22:31.40GNUtoook
22:31.49cr2_the gpio and clk can be tested independently
22:32.02cr2_without using your "google" proc_comm api
22:32.10GNUtoook
22:32.17cr2_which is very nice for us
22:32.23cr2_as an independent test
22:32.28GNUtoook
22:33.18cr2_phh: no battery data here
22:33.28GNUtooI realy have to go to sleep,thanks a lot
22:33.31GNUtoobye
22:33.31cr2_phh: and no dex
22:33.32phhcr2_: maybe they also have a get_battery_data dex?
22:33.33phh.
22:33.43cr2_phh: i think they use rpc
22:33.50phhyes they d
22:33.51phho
22:34.13phh(I already tried to use their driver.)
22:34.13cr2_ok
22:34.13phh*but* they have an alternative driver
22:34.13phhwhich uses smem
22:34.19tmztaxiconfig was bad?
22:34.22cr2_we need to manage the rpc vers/func mess somehow
22:34.31phhcr2_: which mess ?
22:34.36cr2_with leo it will look even more ugly
22:34.42phhah right
22:34.50phhthis mess.
22:35.15cr2_the leo vs. nexus/desire also has all different rpc vers/func
22:35.34cr2_i need to create a LeoRPC page for that
22:35.40phhdifferent rpc ?
22:35.42phhgrrrr
22:36.39phhcr2_: I don't think you answered, do you know the name of rhod's gsensor ?
22:37.26cr2_bma150 ?
22:37.42phhdoesn't looks like
22:38.16phhwhen in working states, the only commands sent are 0x2, and answering size is 6 bytes or something like that
22:38.17cr2_why ?
22:38.27phhwhile bma150 has 6 registers to read
22:38.28cr2_hmm
22:38.35phhstill, it could be easy to figure out how it works
22:38.37cr2_but the id is the same ?
22:38.42phhyes
22:38.52cr2_maybe different mode ?
22:38.59cr2_do you have the datasheet ?
22:39.14phhah.
22:41.52cr2_looking at g1 rpc fifo
22:42.33phhFigure 16: I²C multiple read protocol. Address register is first written to BMA150, the RW=0
22:42.33phh(lowest acceleration data located at address 02h). I²C transfer is stopped and restarted with
22:42.33phhRW=1, address is automatically incremented and the 6 bytes can be sequentially read out.
22:42.35phhfair enough.
22:42.53cr2_ok
22:42.56cr2_48000030 28b5a50d 07000000
22:43.09cr2_02000030 441a2baa 02000000
22:43.19cr2_02000030 441a2baa 03000000
22:43.38cr2_13000030 0c8f4ee9 02000000
22:43.54cr2_0a000030 4b09d171 02000000
22:44.21cr2_13000030 0c8f4ee9 03000000
22:44.56cr2_that's it
22:45.09cr2_13000031 a70b5721 01000000
22:45.31cr2_the only CB
22:45.38cr2_it was without gps
22:46.51cr2_TIME_REMOTE_ATOM  0x30000048
22:46.51cr2_SND  0x30000002
22:47.00cr2_ADSPRTOSATOM  0x3000000a
22:47.27cr2_AUDMGR  0x30000013
22:47.52cr2_phh: do we need this data for g1 cam ?
22:48.31phhrpc dump you mean ?
22:48.37phhno, all camera rpcs are known
22:48.46phhthe one used by the G1.
22:49.31cr2_hm. no rpc tx for gps on
22:49.43phhoO ?
22:49.54*** join/#htc-linux rafyvitto (~rafyvitto@32.139.1.210)
22:50.15cr2_5b000031 f74531b9 04000000
22:50.15rafyvittowhats up guys
22:50.24cr2_this is know fragmented CB
22:50.34JD[x]Do you guys know of a fix for sapphire camera on eclair? The one NCommander did hardly works :-(
22:51.00phhcr2_: oh btw, getting data backs on nmea depends on an argument call to pdsm_get_position
22:51.17cr2_phh: nothing more
22:51.30cr2_PDAPI_CB  0x3100005b
22:51.48cr2_0x4,111  sat_signals? (1,0,4,1,da3,2,...)
22:51.53cr2_phh: which one ?
22:52.17cr2_rafyvitto: got the leo dmesg lying around ?
22:52.33phherr no it's for pdsm_client_ext_status_reg
22:52.38cr2_phh: he made the dump too late probably
22:52.50cr2_phh: the devmem2 loop is too slow
22:53.12phhcr2_: such things are tough to do without exception handler :/
22:53.58NetRipperback
22:54.04cr2_phh: /dev/mem should be fixed instead
22:54.12NetRippernasty flu going around here
22:54.23cr2_NetRipper: shitty weather here too
22:57.37cr2_NetRipper: check the wince dmesg
22:58.09NetRipperwhat to look for?
22:59.24cr2_[22:22] <cr2_> [SPL] SKUID PCB ID is 80M
22:59.26cr2_[22:22] <cr2_> [SPL] Board ID is 4M
22:59.27cr2_[22:23] <cr2_> [SPL] AUO PanelSPI On, Board ID= 4!!M
22:59.49NetRippereh ok.. spl logging in dmesg?
22:59.50NetRipperi'll check
23:00.16NetRipperi dont see any [SPL] messages
23:00.25cr2_yes, they do it a bit differently now
23:00.47cr2_dump after reset
23:01.07NetRipperyea i'll do a cold boot
23:01.15cr2_these are important too
23:01.19cr2_[22:24] <cr2_> [D:I2C]I2C_Read, ID: b8, Address: 0, Length: 1 Failed
23:01.20cr2_[22:24] <cr2_> [D:TP] B81 detected failed!
23:01.22cr2_[22:24] <cr2_> [D:I2C]I2C_Read, ID: 68, Address: 0, Length: 1 Failed
23:01.23cr2_[22:24] <cr2_> [D:TP] B81_2 detected failed!
23:01.25cr2_[22:25] <cr2_> [D:TP] B81_3 detected!
23:01.26cr2_[22:25] <cr2_> this is touchscreen
23:01.28cr2_[22:26] <cr2_> [D:TP] Firmware info: V0x30!
23:01.31NetRipperah
23:02.47cr2_phh: leo should not be a wince device too. because of the reset pin location :)
23:02.57phh:))
23:03.09cr2_NetRipper: i use leo without the back cover :)
23:03.18NetRippercr2_, well.. battery falls out :P
23:03.39NetRipperafter booting like 3 or 4 times.. when you pick up the phone, the battery falls out because it vibrates at boot every time :P
23:03.53*** join/#htc-linux ToAsTcfh (~toast@99-205-91-77.pools.spcsdns.net)
23:04.12phhcr2_: btw, bcm4325's bluetooth is done over ttyHS ?
23:04.24cr2_stupid feature to be disabled :)
23:04.34cr2_phh: yes. uart2dm
23:04.46cr2_phh: you only need to adjust the gpios and vregs
23:04.55phhcr2_: I've seen no such things in nexus' rom ...
23:05.12phhcr2_: you dump vregs by dumping dex buffer ?
23:06.05NetRipperdoes the log contain any sensitive data? :P
23:06.16NetRipperlike my twitter pass and stuff like you found last time (A)
23:06.30cr2_phh: dex is traced from smem
23:06.36cr2_NetRipper: LOL
23:06.48cr2_NetRipper: only imei probably
23:07.04NetRipperalright :p
23:07.35NetRipperarf what was the dump area again for wince dmesg?
23:08.24cr2_pwf mywincedmesg 0x1fe00000 0x200000
23:08.41NetRipperta
23:10.30cr2_phh: you only need to mmutrace for dex cmd and data registers
23:10.39phhok right
23:10.40phhbut first
23:10.43phhI need a userland driver.
23:10.48phhand I can't seem to find one
23:10.57cr2_leo has 4329
23:11.07cr2_but it seems to be the same as 4325
23:11.12phhI know
23:11.42cr2_the fw talks about 4315.0001, 4325.0001 and 4325.0003 ids
23:11.51cr2_on leo
23:11.59phhuh ?
23:12.03NetRipperlol
23:12.05phhanyway, I still need a userland BT driver
23:12.05NetRipperpass is in dmesg
23:12.05NetRipper:)
23:12.06phhand I've nonee
23:12.18NetRipperplain text
23:12.18NetRipper:)
23:12.24cr2_NetRipper: which pass ?
23:12.33NetRippertwitter
23:12.40ToAsTcfhphh: ? :)
23:12.44phhToAsTcfh: ?
23:12.52NetRipperCreateMicroBlogServiceHelper(Twitter,<accountname>,<pass>)
23:12.59ToAsTcfhguess not
23:13.01NetRipperbadasses
23:13.16ToAsTcfhill try ur patches tonight then
23:13.27cr2_omg
23:13.28phhToAsTcfh: I don't think it's worth it
23:13.37cr2_wince. highly secure operating system
23:13.42NetRipperlol yea
23:13.56ToAsTcfhphh: oh yeah? u think our port is further or no
23:14.04phhToAsTcfh: don't know
23:14.22phhgroumpf
23:14.27phhwhere can I get a samsung's rom ?
23:14.32cr2_NetRipper: at least they fiter your pin from AT log
23:14.35phhxda-devs would be the appropriate
23:14.38phhbut samsung is no xda.
23:14.51cr2_phh: i7500 ?
23:14.54phhcr2_: yes
23:15.06cr2_i don't have it
23:15.21NetRippercr2_, lol well... a few lines above that they censored the twitter password.. :P
23:15.33cr2_hehe
23:16.59phhcr2_: haha, funny joke. i7500 has so little memory, that devs made a kernel with 3D's pmem disactivated :)
23:17.57cr2_phh: you are evil android person :)
23:18.11phhouch
23:18.12cr2_phh: 128MB is "so little memory" :)
23:18.17phhcr2_: 107.
23:18.25phhI found there bluetooth userland
23:18.31cr2_ok
23:18.39phhAT+CMER=3,0,0,
23:18.46phhand I hate seeing such stuff in a bluetooth driver.
23:19.21cr2_you want to install asterix ?
23:19.30phhVOLUME UP Key Pressed
23:19.33phhok, next driver.
23:19.35phhcr2_: what ?
23:19.39NetRipperanything you want from that dmesg cr2? it's pretty interesting
23:19.44*** join/#htc-linux rafyvitto (~rafyvitto@32.139.1.210)
23:19.53NetRippercr2_, but the SPL is HSPL.. the only line from spl i get is:
23:20.24NetRipperuh
23:20.46phh1,3M    btld
23:20.53phhthat's heavy.
23:21.26phh20K     btld_testmode
23:21.29phhI prefer that one :p
23:21.33phhit uses standard hciattach stuff
23:21.40phhand loads the firmware
23:21.51cr2_NetRipper: [K] Board ID =             0x4
23:21.53NetRipperlol yea00:00:14.855    [K] +OS version 2.02.74519, BL Version 1.42.HSPL
23:21.59cr2_NetRipper: this is nk.exe message
23:22.22NetRippercr2_, lol well... a few lines above that they censored the twitter password.. :P00:00:13.553    [K] Board ID =             0x4
23:22.32NetRipperwhat the hell
23:22.48NetRipper00:00:13.553    [K] Board ID =             0x4
23:22.52NetRipper^^ that
23:23.34*** join/#htc-linux zenity (~zenity@general-ld-216.t-mobile.co.uk)
23:24.08phhToAsTcfh: hum, have you tried all mm-blabla-test stuff ?
23:24.14phhmsm-qcamera-test for instance.
23:24.41cr2_NetRipper: ok
23:25.05phhhum, the gps lib that qualcomm released is actually used by some device
23:25.11phhit seems I7500 uses it
23:25.23cr2_NetRipper: search for multitouch
23:25.40cr2_[00:01] <cr2_> [22:24] <cr2_> [D:I2C]I2C_Read, ID: b8, Address: 0, Length: 1 Failed
23:25.41cr2_[00:01] <cr2_> [22:24] <cr2_> [D:TP] B81 detected failed!
23:25.43cr2_[00:01] <cr2_> [22:24] <cr2_> [D:I2C]I2C_Read, ID: 68, Address: 0, Length: 1 Failed
23:25.44cr2_[00:01] <cr2_> [22:24] <cr2_> [D:TP] B81_2 detected failed!
23:25.46cr2_[00:01] <cr2_> [22:25] <cr2_> [D:TP] B81_3 detected!
23:25.47cr2_[00:01] <cr2_> [22:25] <cr2_> this is touchscreen
23:25.49cr2_[00:01] <cr2_> [22:26] <cr2_> [D:TP] Firmware info: V0x30!
23:26.51NetRippersame here
23:26.55NetRipperB81_3 as well
23:26.58NetRipperand also 0x30 firmware
23:27.05cr2_ok
23:27.55NetRipper00:00:13.552    [K] GetCID - CID is HTC__E11
23:28.06NetRippermmmm /me wants supercid
23:28.45NetRipper00:00:13.553    [K] SKUID PCB ID =         0x80
23:28.45NetRipper00:00:13.553    [K] Board ID =             0x4
23:28.45NetRipper00:00:13.553    [K] Power-on Reason =      0x42555454
23:28.46cr2_NetRipper: ok, so you have the same auo panel, and the same ts
23:28.50*** join/#htc-linux kvaster (~kvaster@live.bn.by)
23:29.09cr2_NetRipper: commit the 0x118* patch
23:29.20cr2_NetRipper: and let's clean the defconfig
23:29.26*** join/#htc-linux M1DLGpc (~M1DLGpc@bb-87-81-252-83.ukonline.co.uk)
23:30.28NetRipper00:00:15.416    Data Abort: Thread=9ffff024 Proc=8050dee0 'NK.EXE'
23:30.28NetRipper00:00:15.416    AKY=00000001 PC=80048d4c(NK.EXE+0x00048d4c) RA=80086000(NK.EXE+0x00086000) BVA=63a8c000 FSR=00000005
23:30.31NetRipper00:00:15.416    DEX_CMD_STATUS_COMPLETE
23:30.44NetRipperlol doesn't really sound ilke a "cmd complete" 'after a data abort
23:30.45NetRipper:p
23:31.09phhdon't be so mean :p
23:32.10rafyvittohey net ripper
23:32.38NetRipper00:00:29.950    [D:MISC]+getModelNameFromFile()
23:32.39NetRipper00:00:29.950    [D:MISC][E]Model Name from ModelName.txt is HTC HD2 T8585
23:32.43rafyvittowhat were the name of the tools you gave me to debugg on windows using activesync
23:32.45phhcr2_: in N1's rom, there is a weird tool
23:32.46NetRipperawesome, modelname.txt, never knew that
23:32.48phhparse_radio_log
23:32.53phhthat might interest you.
23:32.53NetRipperrafyvitto, haret
23:33.32NetRipperrafyvitto, and a haretconsole for windows can be found on www.netripper.com/raphael/ but you have to update haretconsole with the .tar.gz from www.netripper.com/leo/
23:33.39*** join/#htc-linux BabelO (~fcr@2a01:e35:2ee1:c1c0:21e:8cff:fe2d:7d3f)
23:33.39*** join/#htc-linux BabelO (~fcr@unaffiliated/babelo)
23:33.51randomblamethanks for that btw, it's super usefull
23:33.54rafyvittoyes that the haret console thanx
23:34.02NetRipper:)
23:35.14Unholyyo rafy i szee you
23:36.58NetRippercr2_, proximity: 00:00:31.419    [sleep_register] name=PROXIMITYTCXO, okts=1, FreeEntryIndex=5
23:37.01NetRipper00:00:31.422    [D:LED][RegisterForProximityStatusNotifications] Register registry System\State\Phone PSensorStatus callback function!!
23:37.18NetRipper~leo-dmesg is pwf mywincedmesg 0x1fe00000 0x200000
23:37.18aptNetRipper: okay
23:38.01NetRipper00:00:31.481    [D:RIL]+RIL_Init: brian test addr: 48361000.
23:38.01NetRipper00:00:31.481    IOCTL_HAL_HTC_CHK_COLDBOOT
23:38.01NetRipper00:00:31.481    [D:RIL]It's not Cold boot
23:38.04NetRipperyes it was!
23:38.32phhstatic void mahimahi_usb_phy_reset(void)
23:38.32phh{
23:38.32phh<PROTECTED>
23:38.32phh<PROTECTED>
23:38.33phh<PROTECTED>
23:38.35phh<PROTECTED>
23:38.37phhcool
23:38.44phhI was wondering what was the use of sec_reset_assert function :)
23:39.00phhand it might be useful for us too
23:40.13ToAsTcfhphh nesusonec? http://android.git.kernel.org/?p=kernel/msm.git;a=shortlog;h=refs/heads/android-msm-2.6.32-nexusonec
23:40.19phhToAsTcfh: ?
23:40.27phhI've already nexus one's kernel it's enough for me :p
23:40.30ToAsTcfhcdma nexus source
23:40.44ToAsTcfh.32
23:41.09phhcr2_: mahimahi has a full usb reset code
23:41.20NetRipperphh, but msm_proc_comm does not work at all :)
23:41.21stinebdughhhh. just got a class 6 microsdhc and winmo refuses to see it
23:41.37phhNetRipper: check the rpc that captnoord dumped
23:41.53phhyou'll see "some" likehood between their names and these proc comm names.
23:42.03NetRipperToAsTcfh, on a winmo device you probably won't have an advantage of using that cdma tree, as it's specific to the nexusone radio api
23:42.04cr2_phh: it's questionable if it works
23:42.09cr2_phh: on leo
23:42.30phhNetRipper:  0x3000000F 0x04, 0x0 clk_regime_sec_reset_assert
23:42.34ToAsTcfhah tru sorry
23:42.43cr2_NetRipper: need a LeoRPC page
23:42.45*** join/#htc-linux f77 (~Administr@cpc2-nfds13-2-0-cust243.8-2.cable.virginmedia.com)
23:42.57phhI need to successfully talk to 0x3000000F .
23:43.05cr2_NetRipper: so i can do a side by side comparison leo vs nexus
23:43.06NetRipperToAsTcfh, it would be best to combine forces, interaction with the amss won't be so different between gsm and cdma
23:43.14NetRipperapart from a bit of ifdefs
23:43.23phhNetRipper: ifdefs sucks :p
23:43.32phhok, time to sleep.
23:43.35NetRipperphh, code duplication sucks more
23:43.36NetRipper:)
23:43.49NetRippernn phh
23:44.40NetRipperlol all kinds of bets on our government on twitter
23:44.45NetRipperit's about to fall
23:44.53NetRipperwell government is not the right word but you know, politics
23:45.12NetRipperdunno the english actually
23:45.14NetRippernvm drop it :P
23:46.08NetRipperparlement
23:47.05DilanoHow can I get adb working with Android and HTC Diamond, anybody knows?
23:47.14JD[x]phh: Before you go...
23:47.23JD[x]or is he gone already?
23:47.42NetRipperhe'll read back if you leave a message for him
23:48.04JD[x]I'm just trying to figure out the Open GL - ES :(
23:48.19NetRippersorry i cant help you with it
23:48.35JD[x]No probs NetRipper
23:48.45JD[x]Been buggin me forever
23:48.56JD[x]Tried everything, even renaming the device entry in the kernel
23:49.09NetRipperhehe
23:49.57NetRipperdid you try turning it off 'n on again? (c) <forgot name>
23:50.16JD[x]me?
23:50.26NetRipperyea its a joke nvm :P
23:50.33JD[x]I was gonna say...
23:50.35JD[x]lol
23:50.44ToAsTcfhNetRipper: im actually just tryin to get the .29 camera backported to .27 and work.
23:50.45NetRipperthe it crowd
23:50.48NetRipper^^ watch that
23:50.57NetRipperit rocks
23:50.57JD[x]ToAsTcfh!
23:51.09NetRipperToAsTcfh, why are you backporting? .27 more stable?
23:51.21JD[x]ToAsTcfh! You're the dude I came for in the first place.
23:51.45ToAsTcfhbut it doesnt work with the libs i have in android. i got a cdma hero
23:52.17NetRipperToAsTcfh, im afraid i wont be of any help on camera :)
23:52.48ToAsTcfhyeah it what me and maejrep been working on for a month or so
23:53.10ToAsTcfhsux it just wont work and iits vfe fault :P
23:53.24JD[x]ToAsTcfh: I was reading logs of you trying to get the hw3d working, did you succeed?
23:53.32ToAsTcfhyes
23:53.37JD[x]How?!? :(
23:53.51JD[x]I'm at the same point you were at, lol
23:53.58JD[x]But i'm on a sapphire. (HTC Magic)
23:54.07ToAsTcfhby portin mrpippy and phh's patches
23:54.13ToAsTcfh:P
23:54.40JD[x]So I guess you updated a few files in
23:54.40JD[x]arch/arm/mach-msm/
23:54.41JD[x]?
23:55.08JD[x]Sorry about the three (now four) lines, mIRC + wine + copypasta = fail :-(
23:58.16JD[x]ToAsTcfh: The patches you refer to, are they this commit?
23:58.17JD[x]http://gitorious.org/~makkonen/linux-on-qualcomm-s-msm/linux-msm-cdma/commit/cb9a1e70366c581449a902c64653c4e3ff75b743?diffmode=sidebyside
23:58.42*** join/#htc-linux god206 (~infidel20@unaffiliated/swc666/x-4934821)

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