IRC log for #htc-linux on 20100116

00:02.07tmztmickey|office: get anywhere with fso and asoc?
00:02.16cr2_emwe: EBI2 is nand
00:02.53*** join/#htc-linux cr2_ (n=cr2@ip-109-84-14-249.web.vodafone.de)
00:03.03tmztthe ram part of the nand chip?
00:04.40*** join/#htc-linux Funklord (n=cow@c-e1d571d5.014-46-73746f28.cust.bredbandsbolaget.se)
00:05.17*** join/#htc-linux daedric (n=daedric@116.226.54.77.rev.vodafone.pt)
00:05.20herpez|sometimeswhile making make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- zImage
00:05.49cr2_tmzt: physically
00:06.01herpez|sometimesi get make: arm-none-linux-gnueabi-gcc: Command not found
00:06.01herpez|sometimesstrange is that this command worked 1 week ago :s
00:06.02chamonixu r missing the bin of the crosscompiler in your path maybe?
00:06.02cr2_tmzt: but not on the hw interface
00:06.20cr2_tmzt: nand is too slow, so there is EBI2 for it
00:06.55tmztjust use the full path, or set PATH on the command line
00:07.10tmztwhat does it do?
00:09.22makkonenhmm. getting a call while eclair is booting is not a great experience. vibrate seems to be stuck on now. and the device is hung.
00:09.22*** join/#htc-linux joschi (i=1002@91.204.171.9)
00:09.22*** join/#htc-linux the_sys0p (n=the_sys0@cpe-76-93-251-206.bak.res.rr.com)
00:09.22*** join/#htc-linux MoishaSPB (n=MoishaSP@user-12hdsgv.cable.mindspring.com)
00:09.23*** join/#htc-linux thedicemaster (i=thedicem@j89126.upc-j.chello.nl)
00:09.23*** join/#htc-linux Kevin2 (n=Kevin2@207-172-165-101.s101.tnt1.nywnj.ny.dialup.rcn.com)
00:09.23*** join/#htc-linux darkstar62 (n=darkstar@97-126-116-159.tukw.qwest.net)
00:10.19Boydellstick it down your pants ;) jk lol
00:11.22chamonixwow, I hadn't noticed there's a feature to power off RAPH in the latest Xandroid
00:11.24makkoneni said the DEVICE is hung. get your mind out of the gutter.
00:11.29ToAsTcfhphh: so are u guys using msm_camera or did u fix up libcamera to work with the other?
00:11.30makkonen(I don't even know what that means)
00:12.15*** join/#htc-linux kupo (i=kupo@pinky.ratman.org) [NETSPLIT VICTIM]
00:12.15Boydella feature to power off RAPH?
00:12.31chamonixlol, I should read release notes :-)
00:12.35chamonixslaps himself
00:12.38stinebddoes it work for you?
00:12.46chamonixlet me see
00:13.59herpez|sometimessolved using full path
00:14.01tmztBoydell: init 0?
00:14.01emwecr2: thanks for the info.
00:14.03chamonixalmost... it hangs at "shutting down" after having turned off radio
00:14.07tmztpoweroff?
00:14.12tmztchamonix: what's Xandroid?
00:14.17herpez|sometimesand i guess sometimes its needed a new shell to "apply" the path
00:14.25chamonix15.01 tmzt
00:14.30stinebdchamonix: same for me, no difference from previous releases
00:14.31tmztherpez|sometimes: source it
00:14.34chamonixcheck release notes
00:14.35tmztsource .bashrc
00:14.40emweMrPippy: are you going to push your changes soon? are you gonna use the whole bank?
00:14.46tmztwhat is Xandroid?
00:14.49makkonenpower off finally works for me with the latest builds.
00:14.50ToAsTcfhor anyone what camera r u trying to get to work earlier
00:15.05makkonentmzt: xdandroid, babijoee's eclair build
00:15.34stinebdmakkonen: cdma right?
00:15.34herpez|sometimestmzt: xandroid is the name choosed to babihooes build
00:15.34makkonenstinebd: yes.
00:15.34chamonixlol stinebd, I didn't notice since I skipped updating for one whole week
00:16.19stinebdMrPippy pushed a shutdown fix, but for cdma only. babijoee said it's working for him, though.
00:16.19MrPippyemwe: i'll push soon, right now i'm testing with 77MB from bank2 and the last 51MB for pmem
00:16.44MrPippystinebd: does everyone want that fix? i can take out the if thats keeping it on diamond
00:16.44emweMrPippy: i got 64MB + 51MB working. but that was pure luck it seems. isn't there said to be some radio basband stuff somewhere in the banks whcih sould not be "touched"?
00:17.16emweMrPippy: I had set up a little spreadsheet. dunno if it might be of use for you... little tables where you could set offset sizes and see the mem ranges taken up by which component...
00:17.26MrPippynow i have 107MB + 77MB
00:17.35emwebah. great MrPippy!
00:17.58MrPippybut we've always been able to use the 107MB in bank1, not sure if this will help you use more of your bank1
00:18.02stinebdMrPippy: i have no idea actually
00:18.08stinebdMrPippy: i'll try it locally and let you know
00:18.27*** join/#htc-linux HardDisk_WP (n=Marco@wikipedia/harddisk)
00:18.33emweMrPippy: i could use 108... but anything after screws. seems gpu0 must be  @ 107+8MB
00:19.10*** join/#htc-linux joschi (i=1002@91.204.171.9) [NETSPLIT VICTIM]
00:19.10*** join/#htc-linux the_sys0p (n=the_sys0@cpe-76-93-251-206.bak.res.rr.com) [NETSPLIT VICTIM]
00:19.10*** join/#htc-linux MoishaSPB (n=MoishaSP@user-12hdsgv.cable.mindspring.com) [NETSPLIT VICTIM]
00:19.10*** join/#htc-linux thedicemaster (i=thedicem@j89126.upc-j.chello.nl) [NETSPLIT VICTIM]
00:19.10*** join/#htc-linux Kevin2 (n=Kevin2@207-172-165-101.s101.tnt1.nywnj.ny.dialup.rcn.com) [NETSPLIT VICTIM]
00:19.10*** join/#htc-linux darkstar62 (n=darkstar@97-126-116-159.tukw.qwest.net) [NETSPLIT VICTIM]
00:19.11emweMrPippy: I even tried reloacting gpu0 into MSM_EBIN_BASE range and then let bank0 claim a bit more after 107MB but that did not work
00:19.20emwebut GPU0 in MSM_EBIN_BASE did work, though...
00:19.33MrPippyyeah we've usually had gpu1 at the end of bank1 and gpu0 in smi
00:20.30emweoh ah sorry... mixed that up... GPU1 can be reloacted to "EBIN". that worked. but you couldn't claim it's "ususal" place in EBI_BASE+107 with bank0
00:22.58cr2_0x73= ?
00:22.58cr2_bank1 should work with 115MB
00:23.19emwecr2_: and gpu1 afterwards?
00:23.23cr2_nd bank2 of EBI1 is 128MB
00:24.02cr2_you only need need to use alloc_bootmem for the contiguous buffers where appropriate
00:24.45emwecr2_: i think that is out of my scope ;)
00:25.09cr2_ok
00:26.04cr2_good night
00:26.14emweor lets rephrase that ... i would have to dig into regions i don't have a clue of, yet.
00:26.18emweeek, to late ,)
00:28.24MrPippyok pushed
00:29.35MrPippyi haven't changed anything in pmem, so you'll need to enable bank2 either with 'pmem.extra' or just by commenting stuff out ;-)
00:31.32emwebuilding ....
00:34.45emwebtw, does anybody know of a quick winmo "switch-usb-state-from-as-to-usb-and-vice-versa" app?
00:35.34Boydellno, but man, that would be handy!
00:35.35emwehappy that commmgr has a menu with usb-setting in HolyGrail R6 but that's still tedious if you don't want to unplug/plug the cable for getting the sd-card back...
00:35.42*** join/#htc-linux HardDisk_WP (n=Marco@wikipedia/harddisk)
00:35.50emweBoydell: indeed ;)
00:36.16MrPippythe usb-to-pc settings panel can do it without having to unplug the cable
00:36.25BoydellI never look at the microsoft market thing. Never even knew it existed until a little while ago
00:36.48tmztneither does anyone else
00:36.53emweyah, but it's tedious reaching and switching. a small app when launched, detects state, and switches...
00:38.28joee_is the glemsom autobuild working?
00:39.42emweMrPippy: hm, are you testing with pmem.extra=1 or have you commented the bank1 #if 0? didn't work out for me....  i think it didn't work out before either (getting the module param respected)
00:39.52*** join/#htc-linux swc|666 (n=infidel2@unaffiliated/swc666/x-4934821)
00:40.00MrPippyyeah module params have never worked for me, i'm not sure why
00:40.21*** join/#htc-linux Bry8Star (n=Bry8Star@adsl-99-40-118-119.dsl.lsan03.sbcglobal.net)
00:41.28emwerebuild ... :)
00:45.22*** join/#htc-linux babijoee (n=joee@110.33.178.90)
00:46.17*** join/#htc-linux Syrefaen (n=fistings@213.184.217.156)
00:47.33emwehm. froze on switch to android splash...
00:48.39MrPippyaww it finally crashed after an hour...huge improvement though
00:49.39BoydellMrPippy: this is for your diam500 right?
00:49.44MrPippyyeah
00:49.50emwei think i read somewhere that the radio extracts baseband data into the end of EBIN
00:50.11emwetrying bank1=64MB now so that there is a little space left...
00:50.16Boydellthe diam500 and raph800 are similar right? not sure exactly what we have for mem
00:50.18camdenwell, folks, I'm off. have a good one!
00:50.25camdenthanks again for the working android build!
00:50.28emwenight...
00:51.07MrPippyyeah real similar
00:56.01herpez|sometimesanyone here can help me to compile the modules please?
00:56.12emweMemTotal: 169168 kB!
00:56.13emwe;)
00:56.32emweherpez|sometimes: compcache wlan and compat-msm-wireless?
00:58.38emweMrPippy: i think 64MB might be even too much ... digged up that thread again: http://androidforums.com/samsung-i7500/10881-galaxy-how-much-ram-96mb-109mb-128mb-192mb.html#post77540
00:58.40Boydellhave you looked at the wave? good incrustions there
00:59.15emwe19+32MB for baseband stuff.. this might explain the SMI whole at least and the rest might really be expanded into end of EBIN
00:59.44herpez|sometimesemwe - i compile the compat-msm-wireless and it makes a tar.gz with just 5 files wl1251.ko mac80211.ko wl1251_sdio.ko cfg80211.ko rfkill_backport.ko
00:59.47emweherpez|sometimes: I've set up a little script which just build everything with correct params set.
01:00.06herpez|sometimeshowever glemson has about 10 or more files
01:00.33emwehe has ramswap xvmalloc (both compcache) and wlan.ko (tiwlan)
01:00.41emwes/ramswap/ramzswap
01:00.52emweplus the others...
01:01.09herpez|sometimesi also have wlan.ko
01:01.13babijoeeGlemsom: autobuilds doesn't seem to be working
01:01.15herpez|sometimeshowever i miss compcache
01:01.20babijoeeGlemsom: please fix :)
01:01.25emweherpez|sometimes: get compcache from google code..
01:01.32emwei used the 0.5.4 version.
01:01.38herpez|sometimesok, thanks
01:01.49herpez|sometimesbtw, i used this script i made to compile all, if you want to check - http://pastebin.com/m688c7701
01:01.51emweand then i am copying all modules together and taring them...
01:02.26herpez|sometimesemwe - shall i try the 0.6 ver or 0.5.4?
01:02.32stinebd0.5.x
01:03.03stinebd0.6.x won't work with 2.6.27
01:03.04emwei think 0.6.x needs a newer kern, eh?
01:03.06emweah  ;)
01:04.10herpez|sometimesthe sintax to compile compcache is just make?
01:04.48stinebdno
01:04.58stinebdit's an external module build, you have to use the kernel build system
01:05.06emwemake ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- KERNEL_BUILD_PATH=$KERNEL_PATH -j2
01:05.12emwewait .. let ma pastebin mine...
01:05.30ToAsTcfhmodprobe: chdir(/system/modules/lib/modules): Not a directory
01:05.38ToAsTcfhwtf i know its there
01:05.40MrPippyemwe: htc's wince and android phones use different amss, those aren't always comparable
01:05.48MrPippyyou can try that pmem mapping if you want though
01:05.49stinebdToAsTcfh: not a directory?
01:06.04stinebddid you touch instead of mkdir? ;)
01:06.18emwehttp://pastebin.com/m3f7b50af
01:06.23herpez|sometimesok, checking
01:06.59ToAsTcfhits on my phone
01:07.02emweMrPippy: yes, but the baseband data must be somewhere... or we are lucky and it's at the end of SMI ;)
01:07.11ToAsTcfhug i pushed to the dir
01:07.35ToAsTcfhi even went in with astro and confermed its there
01:08.15MrPippyi think its usually at the end of ebi bank1, so ebi1: 0-107MB os+applications, 107-115 gpu1, 115-128 amss
01:08.51emweif it is, i am happy with that ;)
01:09.09emwebut 77+51 didn't work out for me with radio and wifi enabled.
01:09.21emweand you also had the crash ;)
01:09.31emwetesting 64 currently...
01:11.17ToAsTcfhstinebd: ur right my bad. when i pushe my module it got all funked up. thanx
01:11.35herpez|sometimesemwe - whats the folder generated?
01:12.00herpez|sometimesah, understood
01:12.10emweherpez|sometimes: it's the folder whery i copy the modules and zImage too and where the tgz is kept
01:12.14emweso keeping it a bit clean
01:12.30emwescript was inspired by the compat-msm-wireless build skript...
01:12.31herpez|sometimessure
01:12.39herpez|sometimesits good, im reading it
01:12.48herpez|sometimesi thought we should use arm-2008q3
01:12.51herpez|sometimesnot 2009
01:12.56herpez|sometimesworks with 09?
01:12.57tmztq1 I think
01:12.58MrPippyemwe: my crash wasn't memory stuff, it was something networking/interrupts
01:13.00emweyou might drop some make clean in the scripts...
01:13.14emweMrPippy: ah ok. i see..
01:13.31herpez|sometimestmzt - 2009q1?
01:13.33MrPippyi think we're all using 2008q3
01:13.46tmzt08q1
01:13.48emwe2009q3 WorksForMe (c)
01:13.48tmztwell..
01:13.49herpez|sometimesyes, i'm mypippy, and i thing glemsom is too
01:14.08tmztthere was an issue earlier
01:14.09tmztguess it's solved
01:14.19emweah
01:14.44emwegrml... freeze opening the browser ...
01:16.25MrPippywhoa yeah i got a crash really fast too, right at the lock screen
01:16.30emwetesting 48MB now...
01:16.41MrPippymy first test was without hw3d, maybe that makes a difference
01:16.58emwe'hm... but isn't hw3d just using gpu0+gpu1 resources?
01:17.07emweor i am just too stupid reading the code ;)
01:17.46MrPippyyeah it is, maybe those aren't in the right place or something
01:18.29*** join/#htc-linux THE_GFR|WORK (n=THE_GFR_@76.164.19.2)
01:18.31emwehey, but android is coming up.
01:18.40THE_GFR|WORKwhere can I get the android release for HTC Touch Pro?
01:18.43THE_GFR|WORKor whatever
01:19.23emwewhen i was tinkering on that earlier it usually crashed in mem_move_free_pages() or something. so this is really great now MrPippy. One just needs patience and a good portion of non-scientific research ;)
01:21.00THE_GFR|WORKwhere can I download the files required?
01:21.51emweTHE_GFR|WORK: sorry, no idea. perhaps search on xda?
01:22.21emweoh no! move_freepages_block() crash again...
01:23.56*** part/#htc-linux paar_ (n=paar@122-117-118-112.HINET-IP.hinet.net)
01:24.17THE_GFR|WORKok
01:24.19THE_GFR|WORKthanks
01:29.59MrPippyyeah i'm getting panics too
01:38.52MrPippyyup move_freepages_block()
01:39.41emwe32MB is booting currently...
01:45.26MrPippyhmm i wonder if i need to bring in other patches for this to work right
01:46.53emwe32MB is still running...
01:47.57emwei read that the baseband stuff might expand up to 40mb ... so if it is perhaps really hiding in EBIN too .... 32+51 is 83 ... and the rest might really be hooked up by the baseband data
01:48.04emweno idea really
01:49.06MrPippyi'm going to try with one bank now
01:49.39emweone bank aka?
01:51.16emweanyways...  damnit... just opened taskkiller and it hangs again...
01:51.30emweand now i am off to bed. good night.
01:54.20herpez|sometimesjust for the records, i compiled the last kernel commit and blackstone backlight is fixed!
02:08.52*** join/#htc-linux x29a_ (n=x29a@unaffiliated/x29a)
02:28.14*** join/#htc-linux Guest1 (n=guest1@cpe-066-057-232-249.nc.res.rr.com)
02:40.09*** join/#htc-linux ivanmmj (n=Ivan@97.102.151.252)
02:40.17ivanmmjCan anyone here read chinese?
02:43.10*** part/#htc-linux ivanmmj (n=Ivan@97.102.151.252)
03:02.06MrPippyi'm reverting the memory patch, it just isn't stable at the moment
03:02.31MrPippy15 months passed between our 2.6.27 and this patch, i probably need to backport some other patches too
03:15.50makkonenanyone know the correct parameters to pass to mksquashfs?
03:30.02babijoeemakkonen
03:30.05babijoeewhat are you stuck on?
03:30.24stinebdbabijoee: did you see phh's message about the new ril?
03:30.28babijoeeyeah
03:30.31stinebd:>
03:30.37babijoeei've already incorporated it
03:30.41babijoeewhats new about it?
03:30.46stinebdgeolocation
03:30.50babijoeeooo
03:31.13stinebdchamonix did it
03:31.29babijoeeah kool
03:32.00babijoeemakkonen, -sudo unsquashfs system.sqsh
03:32.00babijoee-make changes
03:32.00babijoee-sudo mv ./squashfs-root ./system
03:32.00babijoee-sudo genext2fs -d ./system -b 100000 -a system.ext2
03:32.00babijoee-mkdir ext2mount
03:32.01babijoee-sudo mount -o loop ./system.ext2 ./ext2mount
03:32.03babijoee-sudo mksquashfs ./ext2mount newsystem.sqsh
03:34.27makkonenI don't need to pass any sort of blocksize to mksquashfs?
03:34.34stinebdnope
03:34.58stinebdand really everything in between "make changes" and "mksquashfs" is optional
03:35.14stinebdyou can make changes and just squash up the squashfs-root dir
03:36.33babijoee100000 should be enough
03:37.18babijoeestinebd: are you sure?
03:37.31babijoeestinebd: when i do that the system loops
03:37.39stinebdloops how?
03:37.49babijoeelike the nexus screen loops forever
03:37.51stinebdas long as you keep the perms correct it should go fine
03:38.13babijoeehmmm not to sure stinebd
03:38.20stinebdi've done it
03:38.22stinebdquite a lot
03:38.27babijoeehrmmm
03:38.45stinebdall that testing with the damn key layouts
03:38.46stinebd;)
03:39.18babijoeehow do you build the sqsh?
03:39.29stinebdsudo mksquashfs-3.1 squashfs-root system.sqsh
03:39.30babijoeeif you dont include the last step?
03:39.44babijoeeok
03:39.48babijoeefair enough
03:39.48stinebd(the -3.1 is a gentoo thing)
03:40.02babijoeewell thats how i do it plus its in a script
03:40.05babijoeeso no biggie
03:40.52babijoeestinebd: glemsom autobuild is down :(
03:41.00stinebdis it?
03:41.06stinebdi don't use those
03:41.48babijoeeah k
03:41.54babijoeeits not building new ones
03:41.57babijoee>.<"
03:42.00stinebddo you need new ones?
03:42.18stinebdi don't think much has changed for diam/raph
03:43.25stinebdlooks like nothing, actually
03:45.43babijoeei wanted to try mr.pippy ram hack
03:45.49babijoeebut he reverted it :(
03:45.50stinebdhe reverted it
03:45.54stinebdyeah, it was unstable
03:45.59stinebdi couldn't get too far after boot with it
03:46.04babijoeeah ok
03:46.11babijoeedid you see alot more ram?
03:46.24stinebddidn't even check actually
03:46.27babijoeelol
03:46.50stinebdthe freezes let you know it was working ;)
03:49.13babijoeehahah ok
03:55.11babijoeeshadowline you on here?
03:55.14stinebdi've been testing nohz today to fair results
03:55.25babijoeenohz is idle sleep?
03:55.39stinebdnope, but it enables more idle sleeping
03:55.46babijoeeawesome
03:55.53stinebdit's a tickless system. timer interrupts don't fire unless the kernel needs them to
03:55.57babijoeeso whats can you tell so far
03:56.02babijoeeoh ok
03:56.20stinebdchamonix had turned it off in kernels before because the clock went awry
03:56.33we350zhello friends
03:56.37babijoeeawry?
03:56.52stinebdit would stop running and end up slow by minutes after a few hours
03:56.55babijoeehi we350z
03:57.06stinebdso after say 8 hours it would be 5 minutes behind actual time
03:57.14babijoeeoh ok
03:57.38stinebdi haven't had such an issue, which i'm hoping is a result of the system using idle sleep now
03:57.43babijoeetraded for extra battery life i think people wouldnt mind
03:57.47stinebdhowever, i have had an issue with usb
03:57.54babijoeeyeah?
03:58.07stinebdusb debugging (and usbnet) don't work after the first idle sleep
03:58.19babijoeehmmm =/
03:58.19we350zso i did finally get one of the older kernels on UTB to partially boot on my device using mtype 1805 today
03:58.20stinebdbut charging still works
03:58.34stinebdit may be vbus detection problems
03:58.41babijoeeprobally
03:58.43stinebdbut that's kind of a stopper for me
03:59.02stinebdsince it essentially breaks wired tethering
04:00.58we350zand MrPippy enlightened me to some things including the mmu dumps from the haret console, and modifying the current htc-msm-2.6.27 source to support this device
04:02.00we350zbasically the panel and sd are not being initialized for mtype 2426, and I didn't know that enabling the early fb log was an option in the defconifg
04:03.00we350zbut he is saying memory management does not look like an issue based on the dumps
04:03.37we350zso looks promising
04:05.46babijoeeshadowline was able to get livewallpapers working :) i wonder how.. damn hes not replying to my pm
04:07.01we350zlivewallpaper is cool
04:08.10*** join/#htc-linux Traveler9 (n=traveler@cpe-066-057-232-249.nc.res.rr.com)
04:08.16*** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring)
04:09.08polyrhythmicbabijoee: you're not using version 4 of squashfstools, are you?
04:09.52stinebdsquash4 won't work with 2.6.27
04:10.02polyrhythmicexactly
04:10.36*** join/#htc-linux joee_ (n=joee@110.33.178.90)
04:17.04we350zis there a way for me to tell what source this kernel was compiled from? http://www.connect-utb.com/index.php?option=com_rokdownloads&view=file&Itemid=68&id=29:android-for-htc-diamond
04:18.02we350zor any kernel for that matter?
04:18.52stinebdboot it up and check uname -r i guess
04:19.04stinebdif they put commit id's in the kernel version
04:19.14stinebdglemsom kernels do
04:20.33we350zther in lies a problem
04:20.46we350zit goes into some sort of infinite loop
04:21.21we350zbut its the only one i've even been able get to output anything to the screen and at least start booting...
04:21.46we350zso it would be great to compare the state of the source at that time (if available) to the current source
04:22.28we350zif its even linux-on-qualcomm-s-msm/linux-msm:htc-msm-2.6.27
04:22.53we350zwhich i assume it is but I have no way of really knowing for sure
04:23.39we350zcan the kernels be decompiled?
04:23.40parmasterare there maybe symbols you could look for in gdb?
04:24.05we350zgdb?
04:24.19we350zi wont be able to get to a prompt...
04:24.21parmasterthe gnu debugger
04:24.24we350zoh
04:24.40we350zon my pc?
04:24.53parmasterif you have linux running
04:25.12*** join/#htc-linux Psychonerd (n=Casey@67.143.1.240)
04:25.22we350zi have a linux vm - but how would i attache the kernel to the debugger?
04:26.40*** join/#htc-linux herpez|sometimes (n=herpez@87-196-51-213.net.novis.pt)
04:26.46we350zim not sure what your saying
04:27.29parmasterhttp://elinux.org/DebuggingTheLinuxKernelUsingGdb
04:27.30we350zsuppose i could download the source from around that timeframe and compile it
04:27.37we350zkind of a shot in the dark
04:27.39parmasterjust read that
04:28.29we350zinteresting
04:28.32we350zthanks!
04:28.54*** part/#htc-linux herpez|sometimes (n=herpez@87-196-51-213.net.novis.pt)
04:29.18parmasteragain, i'm not sure you'll be able to properly identify it anyway
04:29.32*** join/#htc-linux herpez (n=herpez@87.196.51.213)
04:29.39*** part/#htc-linux herpez (n=herpez@87.196.51.213)
04:30.54we350zhmm
04:31.19we350zmight be easier to seek out the people who are credited with it
04:32.27parmastergdb is awesome though
04:32.38we350zthat does look very cool
04:32.50we350zdoes it actually load the kernel on the host pc?
04:32.58we350zlike some sort of vm or something?
04:33.08we350zim not sure how it would do that
04:33.11we350zarm emulation?
04:35.14parmasterit has different stubs
04:35.16parmasterYou need to get yourself a GDB that is capable of understanding you target architecture. Often this come with you cross-compiler but if you have do compile it yourself you need to understand the difference between --target and --host configure options. GDB will be running on host(read x86) and will be able to understand target (read armv6). with that you might also want to have the gdbserver that can serve as stub for you user land debugging.
04:35.42we350zpretty cool
04:35.57AstainHellbringhi
04:36.05we350zhello
04:36.10parmaster'lo
04:39.44parmasterwe350z, anyway there's different things to reverse engineer linux kernels/binaries
04:40.40parmastergdb is the most logical if its a kernel tho
04:51.41*** join/#htc-linux herpez (n=herpez@87.196.51.213)
04:59.45we350zok
05:00.19tmztit's armulator based
05:00.27we350zso i guess this is based on DZO's kernel
05:00.34we350zhe is on xdad
05:00.34tmzthey par
05:00.52we350zi guess he is the "godfather" of HTC android ports from what i read?
05:01.11tmztwe350z: what diamond?
05:01.15tmztwho??
05:01.19we350zdzo
05:01.31we350zthis guy
05:01.31parmasterheya tmzt,
05:01.40parmasterhow goes
05:01.47tmztthere's no way that there's only one kernel that works on your phone
05:01.48tmztok
05:01.54tmztwell, vogue yes
05:02.10we350zyeah
05:02.10tmztbut android is just linux, so you have to define htc phone
05:02.23tmztor non-A
05:02.55we350zmaybe i should try some others - i think its chaning the mtype that did it
05:03.32tmztwhat phone?
05:03.38we350zhtc treo pro
05:03.51tmztah
05:03.58tmztso what mtype?
05:04.00we350zill try the latest raph800 kernel again
05:04.19we350z1805
05:04.29tmztwhich is?
05:05.02we350zgsm diamond i think?
05:05.37we350zdiam100
05:05.54we350zi guess raph800 wouldnt support that mtype
05:07.19we350zi tried this brand new one
05:07.30we350zhttp://www.connect-utb.com/index.php?option=com_rokdownloads&view=file&Itemid=68&id=92:android-2-0
05:07.32we350zno dice
05:07.39we350zgets a white screen
05:09.05we350zi'd love to see the code
05:09.17we350zit is hard to beleive it would be the only kernel that works
05:09.24we350zwell partially works
05:10.32we350zi suppose this one is worth trying as well
05:10.33we350zhttp://www.connect-utb.com/index.php?option=com_rokdownloads&view=file&Itemid=68&id=83:raph100-diam100-kernel-image
05:10.51MrPippywe350z: hey
05:11.03tmzthow far?
05:11.08tmztwhat mtype
05:11.11we350zwhats up dude
05:11.12tmztwhat date?
05:11.17we350z1805
05:11.21we350z2009.09.09
05:11.25tmztwhich is for?
05:11.33we350zRAPH100 from what i gather
05:11.39tmztit might be the mddi init changes
05:11.49tmztand raph800 or 500?
05:11.51we350zmddi ?
05:11.53MrPippythat kernel from september 9 is ancient, from ltg: http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-msm-2.6.27
05:12.01tmztsame kernel, different mtype
05:12.22tmztif you can bisect that and see what change broke it it might help
05:12.34tmztbut a whole lot has changed since septemeber
05:12.38we350zyeah
05:12.55we350zi could just keep grabbing and compiling
05:12.59we350zsee where it breaks
05:13.56we350zhow do i know this is the same source this dzo guy or whoever compiled it used?
05:14.01we350zis this what everyone uses?
05:14.23MrPippythats the git we were using back then
05:14.54we350zhow would i check that out?
05:15.49tmztbisect is  a process
05:15.50MrPippyi'm surprised that would boot with 1805 (gsm diam mtype) because it put the framebuffer and other pmem areas in smi2, which the 7501a doesn't have
05:16.02MrPippyalthough you said it didn't get very far
05:16.07tmztit finds the middle and goes down to the change or set of changes
05:16.08we350zright
05:16.19we350zit mounts the sd card
05:16.25we350zthen it goes into this infinite loop
05:16.48we350zi found a post where someone else had the same problem on another device.
05:17.14MrPippyi wouldn't expect mtype 1805 to be able to mount an sd card on your device, the diamond uses internal storage not an sd slot
05:17.28tmzt1805 is diam100?
05:17.43we350zi **think
05:17.46tmztyeah it should and there's no detect on diam
05:17.52MrPippyyeah
05:18.02tmztso it should just mount if the mmc host is right
05:18.17tmztso on tpgsm it's the same as diam?
05:18.22we350zhttp://forum.xda-developers.com/showthread.php?t=402002&page=493
05:18.23tmztwhat about the wifi?
05:18.26we350zlook at #4928
05:18.29we350zthats the problem i have
05:18.37we350zacutally MrPippy is on that post :-)
05:18.41we350z*thread
05:19.36*** join/#htc-linux droid001 (n=g1@p4FDCA526.dip.t-dialin.net)
05:20.09MrPippyfor diam500 (with internal storage) the gsm mmc pdata wouldn't work, if treopro is similar to raph cdma it should need the cdma mmc pdata
05:20.56we350zim just wondering what it is that makes this one even output anything - since no other kernel i have tried so far seems to do so
05:21.15we350ztho i havent tried mtype 1805 on that many kernels
05:21.29tmztoutput what?
05:21.38tmztprobably mddi is not inited and that's why
05:21.42tmztor part of it
05:22.06we350zwel i get the little penguin picture in upper left and acutally get text output and see that the kernel is trying to boot
05:22.08tmztif you could bisect from that date in ltg/linux-msm to current linux-msm would be very helpful
05:22.17tmztto what point?
05:22.23MrPippymaybe it uses gsm diamond-style panel
05:22.24tmzttried rootdelay=5 ?
05:22.35MrPippynot sure if diamond-panel even existed back then
05:22.37we350zdoes that slow the message output?
05:23.09we350zit flies by quick but from what i could see it hits like found sd card trying to mount then it said something about doing a fsck
05:23.23we350zthen it hits that loop as described in the xda post i just linked
05:23.38tmztno it lets it detect sd before trying to mount
05:23.54tmztif you get panic: failure to mount root on whatever that's good
05:24.01we350zlet me boot it again
05:24.08we350zits ahrd to see once it hits that loop
05:24.16we350zwhat the last legit message was
05:25.05tmztloop of?
05:25.27MrPippyyeah 1805 used raphael-panel in september, thats probably the right one to use
05:25.27we350zmsm_gpio_enter_sleep gpio
05:25.48we350zin that link i posted he explains the loop
05:25.56we350zit actually happens pretty quick in the boot process
05:26.34we350zhow can i slow this thing down?  Maybe i can use my digital camera to record it and playback slow
05:35.46joee_live wallpaper is so awesome
05:35.47joee_:)
05:40.37we350zok i took a video of it
06:06.30*** join/#htc-linux ToAsTcfh (n=toast@110-43.200-68.tampabay.res.rr.com)
06:06.56*** join/#htc-linux marcin_ (n=marcin@chello089077185059.chello.pl)
06:08.07*** join/#htc-linux marcin_ (n=marcin@chello089077185059.chello.pl)
06:34.09joee_new build for anyone who would like to test
06:34.28AstainHellbringjoee_ huh?
06:34.58joee_http://forum.xda-developers.com/showthread.php?t=601751
06:36.17*** join/#htc-linux TheMuffinMan (n=themuffi@ool-4575b0a0.dyn.optonline.net)
06:39.20*** join/#htc-linux babijoee (n=joee@110.33.178.90)
06:40.20TheMuffinManDownloading the new build now
06:41.15*** join/#htc-linux we350z (n=bkusnir@adsl-99-8-225-30.dsl.pltn13.sbcglobal.net)
06:41.49we350zhttp://we350z.com/Treo_Pro_Linux.wmv
06:47.46we350z+mddi_client_nt35399_init
06:49.48*** join/#htc-linux rashire2 (n=ed1112wa@pool-98-114-205-192.phlapa.fios.verizon.net)
06:53.28we350zwhat does that mean?
06:53.37we350zmmc1: new high speed SDHC
06:53.53*** join/#htc-linux Syrefaen (n=fistings@213.184.217.156)
06:54.07we350zmmcblk0: mmc1:0518 SD16G
06:54.42stinebdthat would be the sd card
06:54.44*** join/#htc-linux Tiddo (n=tids2k@d58-107-8-185.riv7.nsw.optusnet.com.au)
06:55.05Tiddonetripper pong ..
06:55.08we350zso its detected
06:55.15stinebd16gb
06:55.19we350zyep
06:55.29stinebdmy 1gb card weeps
06:56.01*** part/#htc-linux Tiddo (n=tids2k@d58-107-8-185.riv7.nsw.optusnet.com.au)
06:56.01we350z:-)
06:56.12we350zrunning an fsck on the SD card
06:56.49we350zFailed to mount /system
06:58.13we350zwhy?
07:01.46*** join/#htc-linux ICEMANno1 (n=ICEMANno@ip-109-90-220-39.unitymediagroup.de)
07:04.56*** join/#htc-linux YellowGTO|Nix (n=quassel@c-71-226-239-246.hsd1.pa.comcast.net)
07:14.21babijoeewe350z: is the card format to fat fs?
07:15.30we350zfat32 i beleive
07:15.33we350zlet me check the vid again
07:17.16we350zyeah FAT32
07:17.24we350zseems to be reporting the correct number of files
07:18.23we350zwhat was someone saying about mddi before?
07:18.40we350zis saw this near the very beginning of the messages
07:18.41we350z+mddi_client_nt35399_init
07:19.52we350zhttp://www.youtube.com/watch?v=JFaj0Ku5HQQ
07:25.30parmasteris there an htc codename for the treo pro?
07:26.29we350zi have heard a few
07:26.46we350zi think they have diff ones for the gsm and cdma version
07:28.14we350zpanther for cdma, cheetah for gsm
07:28.28*** join/#htc-linux tehtrk_home (n=quassel@adsl-68-91-145-91.dsl.wacotx.swbell.net)
07:28.34we350zPalm Treo Pro (Monk) 850e
07:29.09we350zhttp://pdadb.net/index.php?m=specs&id=1317&c=palm_treo_pro_
07:29.24we350zhttp://pdadb.net/index.php?m=specs&id=1695&c=palm_treo_pro_cdma_palm_monk
07:30.27tehtrk_homecan I pass kernel parameters like rootflags=data=journal in the default.txt for haret?
07:31.49tehtrk_homeor more generally, can I pass kernel parameters as if it was a grub kernel line in the default.txt
07:32.05we350zi have a lot of tinkering to do
07:34.11we350zisnt that what cmdline is for?
07:35.30*** join/#htc-linux Sti_0239 (n=Where_is@81.244.216.112)
07:42.17tehtrk_homeno, I'm trying to pass in kernel parameters at the boot loader, like in linux if I wanted to make sure acpi was disabled, I could use acpi=off as a boot parameter
07:45.00tehtrk_hometrying to use journaled data mode for ext3 filesystems on my kaiser
07:45.46tehtrk_homeandroid is my new gentoo :-D
07:58.22we350zh
08:09.05tehtrk_homedidnt work, installer ran mke2fs again
08:11.36tehtrk_homeoh well, I'll get there
08:18.34we350zi need to do some hackery
08:23.25*** join/#htc-linux GlemSom (n=glemsom@0x5da34bca.cpe.ge-1-1-0-1105.sdnqu1.customer.tele.dk)
08:41.11*** join/#htc-linux kiozen (n=oeichler@rgnb-5d8793c4.pool.mediaWays.net)
08:48.46*** join/#htc-linux Sti_02391 (n=Where_is@91.180.112.25)
08:50.37*** join/#htc-linux Markinus (n=markus@gtng-4db0430b.pool.mediaWays.net)
08:54.32Markinusphh: Hi, I removed all CONFIG cases and replaced with a function call, all is checked in . .
09:04.48*** join/#htc-linux onen|openBmap (n=quassel@vbo91-1-89-87-201-85.dsl.club-internet.fr)
09:15.44*** join/#htc-linux malgon (n=simon@ABordeaux-257-1-78-79.w90-50.abo.wanadoo.fr)
09:57.56*** join/#htc-linux kvaster (n=kvaster@live.bn.by)
10:06.28phh[01:04:36] <tmzt> what's EBIN? <---- base of bank 2 EBI1
10:08.09phh[01:14:35] <makkonen> hmm. getting a call while eclair is booting is not a great experience. vibrate seems to be stuck on now. and the device is hung. <------ start wih airplane on ?
10:08.16phhin wimo
10:08.23phhthat's what I do, it prevents many crashes.
10:08.42phh[01:16:45] <ToAsTcfh> phh: so are u guys using msm_camera or did u fix up libcamera to work with the other? <------ it's still not working but it will be msm_camera, sorry :p
10:09.28phh[01:21:54] <emwe> MrPippy: i got 64MB + 51MB working. but that was pure luck it seems. isn't there said to be some radio basband stuff somewhere in the banks whcih sould not be "touched"? <----- only SMI and bank1, which are already taken care of
10:10.51phh[01:23:14] <MrPippy> but we've always been able to use the 107MB in bank1, not sure if this will help you use more of your bank1 <----- unless you remove gpu0 (why not hum.) you'll stay with 107
10:11.34phh[01:25:46] <emwe> oh ah sorry... mixed that up... GPU1 can be reloacted to "EBIN". that worked. but you couldn't claim it's "ususal" place in EBI_BASE+107 with bank0 <------ really ? I think someone already tried before mmm
10:12.08phh"    Revert "Backport "ARM: Fix pfn_valid() for sparse memory" to fix bank2"" baaaaah
10:12.58phh[01:53:56] <MrPippy> aww it finally crashed after an hour...huge improvement though <------- because of the memory ?
10:13.30*** join/#htc-linux GNUtoo (n=GNUtoo@host82-133-dynamic.54-79-r.retail.telecomitalia.it)
10:14.31phh[04:37:18] <babijoee> -sudo genext2fs -d ./system -b 100000 -a system.ext2 <---- Oh i didn't knew that, cool :)
10:16.03phhMarkinus: uh, where did you chcked it in ?
10:16.15phhI can't see any commit on gitorious /o\
10:16.21phhoh well glemsom has seen them.
10:16.48Markinusyes, I don'T to, but if oyu arte going to the  sourcetree in bitorios the files are modified . .
10:17.14phhok
10:17.22Markinusmaybe a error in bitorious . .can you pull it?
10:17.43phhglemsom can so I think it's their cron refresher which is down
10:20.26Markinusi didn't changed the raphael-rfkill, I think we replace this in the future with gps-rfkill on all devices . .
10:20.38phhno
10:20.38Markinusgps
10:20.40Markinussorry
10:20.44phhraphael-rfkill is for bluetooth
10:20.45Markinusraphael-gps
10:20.49phhoh right.
10:21.08phhI'm not sure how we will do that
10:21.48Markinusdid this works on raphael?
10:21.54Markinusgps-rfkill?
10:22.08phhbah it starts/kill gps, but we have no way to retrieve datas yet :p
10:22.35Markinushm
10:22.47phhwell we don't know how we are supposed to retrieve data
10:23.36Markinusis there no way to dump it under winmo?
10:24.03phhI don't know, I leave RE to cr2 :p
10:24.24Markinus;-)
10:25.24phhMarkinus: hum, htc_fb_console works with your changes ?
10:26.12phhI already tried such a change, without much success
10:26.34phhoh right you're still using static sized arrays, might work
10:27.59Markinuswe have to test in on all devices . . . I hope I found all places . .
10:28.15phhwell if it works for your device, it will be only minor bugs on other devices
10:28.37Markinusyes, here it's working . .
10:29.08phhfine then, htc_fb_console is quite useful to debug sometimes :D
10:30.04phhMarkinus: hum, I don't really like doing a switch() in every single call function
10:30.24*** join/#htc-linux m3dlg (n=m3dlg@bb-87-81-252-83.ukonline.co.uk)
10:31.12Markinusit'S only the first time?!?
10:31.21phhnot the amss_para
10:31.28phhhandle_adsp_rtos_mtoa_app
10:31.30phhin this function
10:32.17phhamss_para is in qdsp5 ? uh ?
10:33.38MarkinusI wasn't shure where I have to put this in, the most parameters are using there, so I put it there. .
10:34.10phheven, everything that is in qdsp5 should be used only by qdsp5
10:35.30chamonixhey guys
10:35.33phhhey chamonix
10:35.58chamonixhey phh... still up or up again? :)
10:36.05phhlol
10:36.06phhup again
10:36.07Markinushandle_adsp_rtos_mtoa_app: this was a problem, but a switch case is fast . . .
10:36.16chamonixHeHeHe
10:36.23phhMarkinus: I don't know how often it is called
10:36.26leobaillardchamonix: [00:52] <phh> cr2_: really ? sounds weird to me ... anyway, I have to go to sleep.
10:36.32phh:)
10:36.45chamonixhey to u to leobaillard :P
10:36.55leobaillardhey to you too :)
10:36.59phhMarkinus: anyway your patch seems great
10:37.22Markinusgood :-)
10:37.22*** join/#htc-linux pH5 (n=ph5@e178197223.adsl.alicedsl.de)
10:37.23*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
10:38.23chamonixdoes anyone know if there is a way to have an apk "expose" it's API, means the Intents it would serve?
10:39.39phhchamonix: you'd better ask on #android :p
10:40.08chamonixw00t? y mean there are no Java ppl here?
10:40.19phhI don't think so :p
10:40.23chamonixpfffff
10:40.31chamonix:)
10:50.43phhstinebd: so what about nohz ?
11:03.58*** join/#htc-linux m3dlg (n=m3dlg@bb-87-81-252-83.ukonline.co.uk)
11:05.58*** join/#htc-linux sxe (n=quassel@ip-62-143-102-161.unitymediagroup.de)
11:09.19*** join/#htc-linux toi (n=toi@d54C2A96D.access.telenet.be)
11:14.26phhI love qualcomm.
11:14.38phhtheir 3D userland driver maps the 0x0 address.
11:14.55Markinusohh
11:15.07phh(and yes our kernel prevent the userland from doing such a stupid thing)
11:15.47Markinus:-)
11:16.45*** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl)
11:16.46phhit still doesn't work though.
11:19.12phhI still get "[ 1706.920959] Unhandled fault: external abort on linefetch (0x806) at 0x00000000" ...
11:19.55*** join/#htc-linux emwe (n=michael@86.56.50.180)
11:21.58Markinusdifficoult to find such error without sources ..
11:22.39Markinusclose source driver, or?
11:22.45phhyes
11:32.15*** join/#htc-linux dcordes_ (n=dcordes_@unaffiliated/dcordes)
11:35.34emwehiho
11:38.38*** join/#htc-linux stefan__ (n=stefan@52.35-136-217.adsl-dyn.isp.belgacom.be)
11:39.25dcordes_emwe, hi
11:42.08emwehi dcordes
11:42.20stefan__hi all, do you guys already know http://gitorious.org/eclair-camera-drivers
11:42.26stinebdphh: still going very well for me
11:42.31stefan__maybe it could help to get camera working
11:42.51stinebdi have to work all weekend so all i can do is keep trying it like this
11:45.10*** join/#htc-linux Tiddo (n=tids2k@d58-107-8-185.riv7.nsw.optusnet.com.au)
11:47.31*** join/#htc-linux zeropiel (n=joachim@79.161.241.62)
11:49.36emwephh: is gitorious not up on par with displaying the most recent activities?
11:49.45*** join/#htc-linux m3dlg (n=m3dlg@bb-87-81-252-83.ukonline.co.uk)
11:49.48emweMrPippis push last night wasn't shown as well...
12:03.16*** part/#htc-linux zeropiel (n=joachim@79.161.241.62)
12:10.06phhstefand1: not at all.
12:10.36dcordes_phh, still didn't get linuxtogo to make friends with you?
12:10.47phhI haven't tried for a while
12:11.05dcordes_maybe the problems are gone now
12:12.40phhyes maybe. but gitorious has a nice feature that ltg doesn't have, and that is widely used now. the ability to clone and host it a repo
12:15.20dcordes_phh, I put a link in the wiki. http://htc-linux.org/wiki/index.php?title=Kernel#Kernel_for_QCT_MSM7xxxA_based_devices might still be useful to add everything in ltg
12:17.00*** join/#htc-linux m3dlg (n=m3dlg@bb-87-81-252-83.ukonline.co.uk)
12:19.45dcordes_phh, sorry what do you mean, ability to clone and host it a repo?
12:20.03phhsee personal clones in http://gitorious.org/linux-on-qualcomm-s-msm/linux-msm
12:22.51dcordes_you can do local branches in git
12:23.05dcordes_I don't see the need for 25 different 'private' branches
12:23.10phhdcordes_: at least two of these repos are used by multiple persons at the same time ...
12:28.17phhhum it seems I can push this time.
12:28.17phhlet's see if it can do the whole push.
12:28.42phhagain frozen after "Total 1460 (delta 1128), reused 319 (delta 258)"....
12:29.49dcordes_phh, what is bma150 ?
12:30.29phhg-sensor for topa (and rhod I think
12:30.29phh)
12:30.54dcordes_ok
12:33.23dcordes_bosch ?
12:33.41phhyes
12:34.03phhbut not like htc hero
12:34.07phhhtc hero has direct SPI link to bma150
12:34.17phhtopa/rhod are like N1, the SPI link is over microp
12:34.36dcordes_can you document it in the wiki?
12:35.20phhI don't know how it works, I just copy pasted N1's driver ...
12:35.24phh(and it's not working yet anyway)
12:35.25emwephh: is there android-side support needed in order to get the bma150 going?
12:35.38phhemwe: first linux-side :p
12:36.03phhif the kernel driver is "GNU/Linuxish", nothing will have to be done since I've already done one for kxsd9
12:37.38emwebut android has to ioctl() the driver somehow, right?
12:37.59*** join/#htc-linux MethoS- (n=clemens@134.102.106.250)
12:38.04phhdepends on what the driver is
12:38.08emweis it watching some dev-fs entries?
12:38.22phhjust read() on /dev/input/eventX
12:39.37phhok we need some writes to /sys/blabla to enable, set rate and scale
12:39.41emweah, the kernel side stores it's activities in /dev/input/eventX and android-side is polling, right?
12:40.30emweso your recent port of th bma150 over spi actually has to push it's events to /dev/input/eventxyz, understood correctly?
12:40.38*** join/#htc-linux cr2 (n=cr2@ip-109-84-180-173.web.vodafone.de)
12:40.43emweif it is not actually doing so, yet..
12:40.45phhemwe: yes for the first sentence
12:40.48phhno for the second one
12:40.49phhwell
12:40.58phhdepends on what you mean with "has to"
12:41.09phhthat's what it will eventually do, but correctly it doesn't.
12:41.27emwephh, ah ok, i see. thanks for the clarification.
12:41.38phhs/correctly/currently/
12:43.11cr2phh: any progress with the cam ?
12:43.21phhno ... I still get an I2C error ...
12:43.55cr2phh: can you paste the diff ?
12:44.09phhthe diff of what I did yesterday ?
12:44.14cr2yes
12:44.55phhhttp://husson.hd.free.fr/1.patch
12:45.19cr2thanks
12:47.13*** join/#htc-linux FuZi0n (n=FuZi0n@84-104-50-248.cable.quicknet.nl)
12:47.49phhI'll try tracing libgps on my phone.... maybe with some big hacks it might do something correctly
12:48.28cr2can we add the vreg list to msm_camera_sensor_info somehow ?
12:49.16phhbah
12:50.50phhyes we can, but I'm not really fond of that
12:51.02cr2why ?
12:51.29phhno particular reason
12:52.15cr2then you will have if_machine_foobar() switch
12:52.27phhyes yes I know the problem with not using that ...
12:52.36cr2which was already plagueing the arm kernels long time ago
12:53.51phhI'd better make an init cam callback.
12:54.39cr2i can document the full cam init, you then decide
12:54.45cr2and deinit
12:55.07cr2i'll also try to dump the gpio states now
12:56.03phhhum I guess I'll just rename camera_gpio_on
12:56.58phhno it's not.
12:56.59cr2do you have a link to  the mi380 driver ?
12:57.00phhbah.
12:57.25phhmt9d112 ?
12:58.09cr2yes
12:58.43cr2raph mi380 code looks very comprehensive
12:58.57phhhttp://husson.hd.free.fr/mt9d112.tbz2
12:59.09phhbut I don't think it's even near this device actually
12:59.15phhno android device has mddi camera
12:59.41cr2phh: mddi camera ?
12:59.48phhvga camera is on mddi bus no ?
13:00.07cr2the cam gpio setup is the same for both
13:00.29phhuh ? mddi client uses the same gpios ?
13:00.39cr2something to be clarified
13:00.47cr2both cams use the same gpios ?
13:01.05cr2you mean the mddi mdc interface ?
13:01.09phhyes
13:01.30cr2needs to be traced. i have no idea.
13:01.33phhok
13:05.00phhI can confirm that codeaurora's driver uses exclusivly parallel camera, no mddi camera
13:05.38phh(switching from parallel to mddi is just a bit, and they always set this bit to 1.)
13:06.24phhanyway if you say the I2C controls are easy, we might be able to do a driver.
13:07.00phhanyway. vreg stuff.
13:07.40cr2i'll document it.
13:12.06phhcr2: in mt9t013 driver, there is a "mt9t013_client->addr = mt9t013_client->addr >> 1;", so I'm just thinking ... maybe I should use the address without >>1 ?
13:13.15cr2yeah. looks silly.
13:13.23cr2what is g1 doing ?
13:13.47phh#if defined(CONFIG_MSM_CAMERA) && defined(CONFIG_MT9T013)
13:13.47phh<PROTECTED>
13:13.48phh<PROTECTED>
13:13.48phh<PROTECTED>
13:13.48phh#endif
13:13.50phh#ifdef CONFIG_SENSORS_MT9T013
13:13.53phh<PROTECTED>
13:13.55phh<PROTECTED>
13:13.57phh<PROTECTED>
13:13.59phh#endif
13:14.02phh<3
13:14.16cr2this is dumb because all other drivers use real id
13:14.30cr2haha
13:14.53phhand MSM_CAMERA is for V4L driver, the one I use
13:14.57phhso I have to use 0x6c
13:15.01cr2and you use the driver from I2C_BOARD_INFO("mt9t013", 0x6C), tree ?
13:15.12phhyes
13:15.20cr2i'd say, fix the driver
13:15.38phhright.
13:15.58cr2and use id=0x36
13:16.13cr2as it should be.
13:16.52cr2using id*2 is a convenience for mmutrace and wince ioctl RE
13:17.07phhmaybe the RE their own devices :D
13:17.11cr2LOL
13:19.50phhcr2: http://husson.hd.free.fr/2.diff
13:20.03phhhum, s/camera_set_state/set_state/
13:20.09cr2595
13:20.11cr2<PROTECTED>
13:20.12cr2596
13:20.14cr2<PROTECTED>
13:20.49phhanything wrong with that ?
13:21.22cr2is it the same as enabling vfe and vfe_mdc clocks ?
13:21.26phhyes
13:21.39cr2ok
13:22.33phhoh wait no
13:22.37phhit just sets their clock rate
13:22.58cr2the driver looks like from wince
13:23.06cr2in the structure
13:23.14cr2that's good :)
13:23.35phhthat's why there are some i2c_txdata things then
13:24.06phh(which hurts me a lot.)
13:24.17cr2ok
13:25.01phhcr2: does the command IDs looks like the one you gathered ?
13:26.16phh[   15.994628] msm_i2c msm_i2c.0: Error during data xfer (-5)
13:26.16phh[   16.025817] mt9t013_i2c_txdata failed
13:26.16phh[   16.042144] i2c_write_w failed, addr = 0x301a, val = 0x1009!
13:26.18phhfailed again.
13:27.20phh[   15.978912] msm_i2c msm_i2c.0: error, status 43c8
13:27.26phhlet's see what this status means.
13:28.07cr2you gpio setup may be incomplete
13:28.31cr2the need to mux properly between mi380 and mt9p013
13:28.55phhthis i2c status means I2C_STATUS_PACKET_NACKED&I2C_STATUS_FAILED&I2C_STATUS_BUS_ACTIVE&I2C_STATUS_BUS_MASTER.... nothing new in it then.
13:29.13phhcr2: I'm pretty sure mi380 doesn't use this gpio
13:29.20phhstill the gpu mux might be wrong.
13:30.17phhcurrently it sets gpio from 2 to b to 5, same for d and e. gpio c and fgets 1c5
13:30.22phhs/fgets/f gets/
13:30.35cr2that's why i'd like to dump the gpio states
13:31.11cr2the dll depends on some runtime smem setting, so it's easier just to check the real thing
13:31.59cr2note to myself. i also need to find the HCI buffer location, so we can mmutrace BT.
13:32.08cr2omg
13:32.21cr2found old kaiser dumps :)
13:32.43phh(I pushed the use of set_state)
13:35.31cr2phh: btw, 4 crc32 versions in wikipedia
13:36.07phhhci buffer location is for sound ?
13:38.12cr2fmradio
13:38.31cr2sound is routed as raw pcm. i think
13:38.35cr2bt sound
13:39.27phhjust an hci command to tell him to transfer pcm sound then ?
13:42.03phhcr2: hum, in wiki there is a 0x20 (msme2à pmic enabled for camera,  but you didn't report it yesterday, could that be the problem ?
13:42.11cr2you can't mmutrace the TX and RX registers, but they are buffered in ram
13:42.33cr2phh: for which device ?
13:42.41phhraph100
13:42.46phhhttp://htc-linux.org/wiki/index.php?title=RaphaelCameras
13:43.05cr2(8000),100,400000 and 20
13:43.34cr2wlan(on rhod for VCM), gp1, gp5 and gp3
13:43.52cr2the wiki isfor raph800 ?
13:43.57cr2weird device :)
13:44.10phhuh ? 0x20 is gp3 ?
13:44.34phhoh I miscalculated my bits.
13:44.55cr2http://htc-linux.org/wiki/index.php?title=MSM_VREG
13:45.06cr2"gp3",RUIM2 5  0x20
13:46.59cr2phh: MT9V113 aka MI380
13:47.14cr2phh: not 112, so it needs to be checked.
13:47.37phhcr2: anyway vfe code is wrong
13:48.23cr2not everything at once :)
13:48.32phhI mean camera vfa interface
13:49.20*** join/#htc-linux leobaillard (n=leobaill@leobaillard.org)
13:49.21cr2we need some special case for IMEM and VFE_MDC clk
13:49.21*** join/#htc-linux Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl)
13:51.21phhI added wlan vreg, still same problem.
13:51.38cr2wlan vreg is for rhod only
13:52.03cr2i think your gpio mux is wrong.
13:52.18cr2need to buy some food. bbl
14:01.17*** join/#htc-linux m3dlg (n=m3dlg@bb-87-81-252-83.ukonline.co.uk)
14:22.38*** join/#htc-linux BabelO (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
14:24.42*** join/#htc-linux herpez (n=herpez@87-196-51-213.net.novis.pt)
14:26.17*** join/#htc-linux slight (n=23hdci27@154.112.221.87.dynamic.jazztel.es)
15:09.25cr2phh: connected raph100
15:09.52phhcr2: I'm trying to use android's libgps on my diam and trace what it does.
15:10.01cr2ok
15:10.17*** join/#htc-linux FuZi0n (n=FuZi0n@84-104-50-248.cable.quicknet.nl)
15:11.26cr2169.254.2.2 from raph100
15:12.32cr2watch gpios 0
15:12.39cr2err, wrhong window
15:12.42phh:)
15:13.13cr2hm. haretconsole may print linear pin numbers instead
15:14.19cr2hardcopy :)
15:20.38cr21e -> 1-14
15:21.01cr26d -> 5-2
15:21.16cr2in idle
15:21.20cr2<PROTECTED>
15:22.26cr2weird
15:23.09cr2only 5 banks in haretconsole ?
15:23.15cr2seems 7200 biased
15:27.25cr2<PROTECTED>
15:27.26cr2+0x850 out5
15:27.29cr2says wiki
15:30.49leobaillardOMFG, I found a most disturbing fact about RMS :s I thought he was weird and so on, but not up to that point ! "For personal reasons, he does not actively browse the web from his computer; rather, he uses wget and reads the fetched pages from his e-mail mailbox." (wikipedia)
15:31.10tmztwe're missing gpio traces this whole time?
15:31.42tmztwget coesn't use cookies, curl does/can
15:31.47cr2leobaillard: wget should go over tor
15:32.19cr2tmzt: i don't have the latest haret git, but i think so
15:34.27cr2omg
15:34.30cr2defineMsmGpios
15:36.40cr2intr_en is not traced too
15:38.01cr2addlist gpios p2v(0xa9200854)
15:38.08cr2addlist gpios p2v(0xa9200844)
15:38.15cr2addlist gpios p2v(0xa9200854)
15:38.27cr2hm. very newbie friendly :)
15:46.19phh[  334.524719] rr_write: cannot write to 3000005b:-1875374787 (bound to 3000005b:0)
15:46.20phhpffff
15:46.31phhif they did that correctly, my simple 'ln -s' would have been enough
15:47.01cr2%d for -1875374787 ?
15:47.13*** join/#htc-linux [1]Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl)
15:47.25phhshould be %x I guess
15:47.28cr2you also need to check the PROC numbers
15:47.28phhbut that's not the problem
15:47.39cr2they are different between amss
15:47.42phhI know
15:47.49phhbut first I need him to at least try sending commands :p
15:47.49cr2topa is different from raph
15:47.53cr2ok
15:53.48phh-_-'
15:53.51phhI crashed ARM9.
15:54.29tmztphh: did what correctly?
15:54.49phhtmzt: forcing the send of the rpc message even if the version doesn't match
15:54.53phhso that was quite expectable.
15:55.28tmztno, the ln -s
15:55.48phhoh
15:56.04phhthe rpc id/rpc ver shouldn't be sent by the userland by any other way than the device it opens
15:56.06phhimho
15:56.16Markinusphh: a chacked in a small patch for my patch, the starting of adsp driver was wrong, there is a constant string needet . .
15:56.23Markinuschecked
15:56.51*** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl)
15:57.23phh[  226.293090] [RPC] CALL to 3000005b:0 @ 0:00000001 (44 bytes)
15:57.26phhcr2: means funtion =1 ?
15:58.02cr2phh: 0:1 is some main arm9 server
15:58.10tmztyes, that would make sense but I guess the rpcrouter is a little too specific
15:58.10phhah.
15:58.21tmztprobably so wire can change with version
15:58.33cr2phh: binpatch libgps.so ;)
15:58.39tmztcr2: the rpcr istself?
15:58.49phhcr2: argh.
15:58.58cr2there is no free gps software for g1 ?
15:59.01tmztcan't we get these things dumped in a pcap like format
15:59.12tmztdon't think so
15:59.37tmztI think swetland might be interested in a nmea driver like yours, amss is removing nmea in later versions
15:59.45cr2phh: use ida
15:59.52tmztnmea kernel driver I mean
15:59.54phh:'(
16:00.04cr2tmzt: nmea kernel is dumb
16:00.15cr2tmzt: /dev/smd27 should be enough
16:00.21tmzthmm, so userspace should use pdapi?
16:00.32tmztyes, but I think 8k's don't have smd27
16:00.41cr2tmzt: leo has it
16:00.58tmztfully available?
16:01.03tmztmaybe it's 86xx then
16:01.10tmztlike other cdma versions
16:01.12cr2tmzt: i've even learned NetRipper position from his smem dump. never post your smem online :)
16:01.31tmzticbm
16:01.34phhlol
16:01.48cr2yeah, these dirty linux hippies
16:02.11tmztI mean it doesn't have to be started/stopped over rpc?
16:02.24phhtmzt: you can do a kernel-land rfkill
16:02.50cr2tmzt: we don't know yet
16:05.13cr2phh: gpio 1-14 aka 0x1e aka 30 is vga/main mux
16:05.26phhmmmmmmmmmmmmuh ?
16:05.45cr2idle=1, vga(mi380)=1, main(m9t013)=0
16:06.12cr25c is main reset, 5d is vga reset
16:06.47cr26d is some smem-dependent magic. my value=0, but it may be different elsewhere
16:07.00cr26b=0
16:07.16cr25b is VCMPDP
16:07.38cr2=1 in all my tests
16:09.05cr20xf=mclk should be 0x1c4 with clock enabled
16:10.00tmztvga is mddi?
16:10.10tmztI thought it was cfa or something
16:10.34cr2tmzt: uses the same CAM bank0 gpio pins.
16:10.44phhtmzt: it's not mddi then.
16:10.50tmzthow many pins?
16:10.58cr211-2+1
16:11.11cr2http://htc-linux.org/wiki/index.php?title=Raphael_GPIO
16:11.17phhCaptnoord: how do you fix fonts in IDA ?
16:12.05cr2tmzt: mi380 is 113 , and there is 112 driver
16:12.17cr2should be doable.
16:15.10cr2omg, now i get the whole ulpi traffic
16:16.42*** join/#htc-linux dcordes-kais (n=zsirc@ip-109-85-40-191.web.vodafone.de)
16:17.28*** join/#htc-linux toi (n=toi@d54C2A96D.access.telenet.be)
16:18.23dcordes-kaisNetRipper ping
16:18.53phhdcordes-kais: I tried pushing, still not luck
16:19.15cr2dcordes-kais: ltg for clean drivers
16:19.25dcordes-kaisyea
16:19.54dcordes-kaisbut it's bad that phh can't acces
16:19.55*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
16:20.00cr2we need to cooperate with NetRipper on sane dex driver with softirq support.
16:20.35dcordes-kaisI will also get a leo. just tried it out in a vf shop
16:20.44cr2lol
16:20.45tmzthow is that? for 8k only?
16:20.58cr2dcordes-kais: why not nexus ?
16:21.00tmztlike it better than nexus?
16:21.29dcordes-kaisis that also the mrketing name?
16:21.30cr2tmzt: dex driver is the same. on 8k smem is at a different place, and dex offset too
16:21.56tmztNexus is an 8k device from HTC sold by Google
16:22.05tmztit's android based with a proper kernel
16:22.15tmztserving as basis for hd2 and lgexpo support
16:22.31cr2with smaller amoled lcd, and biiger sdram
16:22.37tmztalso has OLED screen and capacatative input
16:22.49tmzt512!!!
16:22.50cr2tmzt: no second cam
16:22.53tmztor no?
16:22.59tmztthat's Pre Plus
16:23.01cr2tmzt: tvout ? fmradio ?
16:23.18tmztprobably fm but no software support
16:23.25tmztcould be eu reg reasons
16:23.32cr2does androed support second cam, tvout and fmradio ?
16:24.23tmztif it has 3.5 there's no reason to believe it's not routed for fmant
16:24.23cr2tmzt: on bcm4329 ?
16:24.23cr2one more reason to trace BT
16:24.24phhcr2: tatoo has fmradio support
16:24.24tmztI don't know for sure, we have to try it
16:24.24phhbut no source code, and involve framework changes.
16:24.24cr2phh: what is tatoo ?
16:24.24phhand proprietary bluetooth stack
16:24.43phhcr2: a low-end htc android phone
16:24.46dcordes-kaiscr2 htc androed devce
16:25.02cr2and no source ?
16:25.11cr2do we have hw specs for it ?
16:25.26*** join/#htc-linux ali1234 (n=al@s15238489.onlinehome-server.info)
16:25.32tmztit's a magic
16:25.35tmztI think
16:25.41tmztjust the smaller ram version
16:26.18phhuh ?
16:26.20dcordes-kaisis nexus available already?
16:26.28phhdcordes-kais: yes
16:26.54cr2tmzt: so it's ti brf63xx ?
16:26.57dcordes-kaisgoogle sells it online?
16:27.03phhcr2: yes
16:27.05*** join/#htc-linux Boydell (n=Boydell@69.49.58.28)
16:27.07phhdcordes-kais: yes
16:27.41tmztcr2: which? tatoo? I think so
16:27.44cr2phh: then we may patch the uart driver, and dump all fmradio stuff
16:27.54cr2from this "proprietary" bt stack
16:28.06phhcr2: first we have to get this stack working ...
16:28.09*** join/#htc-linux Boydell_ (n=Boydell@69.49.58.28)
16:28.12tmztnpelly should have patches for that
16:28.20tmztdumping uartdm
16:28.20cr2phh: where can i get this stack ?
16:28.31phhI don't know
16:28.41tmztwhat stack?
16:28.51cr2tmzt: taoo rom
16:28.52phhtmzt: btips
16:29.55phhcr2: http://husson.hd.free.fr/btipsd and http://husson.hd.free.fr/btipsd_cli but I don't know if it needs other libs
16:30.26tmztis this yours? what phones use it?
16:30.34tmzthow does android control it?
16:30.45phhI think it uses dbus
16:30.46cr2phh: wget :)
16:31.09phhtmzt: anyway you have the daemon and the cli, if it doesn't lack any lib it's enough :p
16:31.30phhI understand just nothing to IDA :(
16:31.42dcordes-kaisnexus doesn't seem to available only in uk
16:32.27dcordes-kaislol rright
16:33.12dcordes-kais> library
16:33.59tmztuwi 6
16:35.30cr2phh: done with cam gpio logs
16:36.02cr2libdbus.so
16:36.03cr2liblog.so
16:36.05cr2libc.so
16:36.06cr2libstdc++.so
16:36.08cr2libm.so
16:36.21phhok so you need nothing else
16:36.37tmztthose use dbus? is it emulating bluez?
16:36.53tmztstrings should be eboungh to see what paths it uses
16:37.04cr2libaudio.so
16:37.10tmztalso, is this tatoo only?
16:37.24tmzthmm, so they don't use audioflinger for routing?
16:37.27phhtmzt: no, it's the same stack for almost everyone
16:37.29cr2tmzt: should work for brf63xx
16:37.37tmztall android?
16:37.37cr2tmzt: you have another chip :)
16:37.39phhtmzt: they do use audioflinger for A2DP routing
16:37.44tmztI know :)
16:37.51tmztbut not sco?
16:37.56phhno
16:37.59cr2signal_FM_TX_CMD_CHANGE_AUDIO_SOURCE
16:38.20cr2omg
16:38.22cr2Cmd_FmTX_SetECC
16:38.34phhcr2: how do I change a value in IDA ?
16:38.45cr2phh: which value ?
16:39.55phh"version" value here,
16:40.17phhit's directly in the code
16:40.20tmzthex editor?
16:40.27tmzt.db ?
16:40.28cr2find the offset
16:40.39cr2and use 'mc'
16:40.51phhah. ok.
16:40.59phhI thaught I could do it though IDA directly
16:41.03cr2f3,f4 afair
16:42.32cr2GetRdsAfSwitchMode
16:42.34cr2SetRdsAfSwitchMode
16:42.36cr2SetRdsGroupMask
16:42.37cr2GetRdsSystem
16:42.39cr2SetRdsSyste
16:42.40cr2no tmc ?
16:42.44*** join/#htc-linux dcordes-bib (i=83bc6947@gateway/web/freenode/x-ttldawkqmztmoxcs)
16:43.11tmztrds is just an osi layer for tmc?
16:43.21tmzta transport or so
16:43.26cr2hm. yes
16:43.44cr2found it
16:43.48cr2GetRdsTrafficCodes
16:43.49cr2SetRdsTrafficCodes
16:44.00tmztthat's a mask?
16:44.54cr2tmzt: http://htc-linux.org/wiki/index.php?title=RaphaelFM
16:45.36cr2phh: are there any .bts (or bin) files in the rom ?
16:45.46phhoh yes
16:45.53cr2pm
16:45.58phhit needs pm ?
16:46.09cr2i'd liketo see them
16:46.38cr2BTL_SetModuleDebugLeve
16:47.03phhhttp://husson.hd.free.fr/{fm_rx_init_1273.2.bts,fmc_init_1273.2.bts}
16:47.05*** join/#htc-linux dcordes-bib_ (i=83bc6949@gateway/web/freenode/x-yscjmndvjkdaabub)
16:47.52dcordes-bib_hmmm
16:47.53cr2Command is not an H4 command packet!
16:47.56phhthere is also http://husson.hd.free.fr/{tiinit_5.3.53.bts,avpr.bts}
16:48.12cr2.bts dump works
16:48.59cr2# Compatibility : BL6450 2.1, BL6450 3.0, WL127x 2.0, NL55xx 2.0 ROM
16:49.22cr2nice bts comments there :)
16:49.47tmztwl :)
16:50.21tmztwifi/bluetooth are in same chip on g1,etc.?
16:50.27cr2#release Cortex Reset
16:50.35cr2HCITOOL: hcitool cmd 0x3f 0x301 0x00 0xc0 0x1b 0x00 0x08 0x00
16:50.43cr2tmzt: not on rhod/leo
16:50.48tmztwhat is that?
16:50.52cr2tmzt: the rest are the same
16:50.54tmztrhod is bcm
16:51.09tmztwl127x has a ti bt ip core?
16:51.20cr2rhod=bcm4325,leo/nexus=bcm4329
16:51.25tmztor it is ti
16:51.25cr2no idea
16:51.50tmzt4329 adds fm transmit or just non-mimo N?
16:52.16cr2phh: looks like it's for 6450 chip
16:52.33phhnot 6350 ? baah
16:52.38cr2phh: but we have the reference data in wiki
16:53.02cr2i doubt they have changed hci-2-i2c api
16:53.14*** join/#htc-linux the_sys0p (n=the_sys0@cpe-76-93-251-206.bak.res.rr.com)
16:53.15tmztwhat is Cortex Reset?
16:53.25tmztunless the new core is cortex-m
16:53.30cr2tmzt: .bts comment
16:53.40tmztyes but it makes no sense
16:54.08tmztoptions, it's cortex-m or arm9 is supposed to send that meaning wifi/bt can suspend apps processor
16:54.11tmztunlikely
16:54.15cr2# Cortex Reset (hold in reset while loading IMEM)
16:54.22cr2HCITOOL: hcitool cmd 0x3f 0x301 0x00 0xc0 0x1b 0x00 0x09 0x00
16:54.47cr2tmzt: bt/wifi has its own arm processor
16:55.47phhin arm eabi, the return value is in R5 ?
16:55.48cr2#turn on COREX clock (should read 0xnnn9)
16:55.58cr2phh: r0
16:56.18phhBL      j_clnt_create
16:56.18phhMOVS    R5, R0
16:56.18phhCMP     R0, #0
16:56.20cr2hm. eabi. sorry
16:56.22tmztcor execute?
16:56.23phhah.
16:56.29*** join/#htc-linux bakkie (n=bakkie@84-106-91-26.cable.quicknet.nl)
16:56.45cr2#turn on COREX clock (should read 0xnnn9)
16:56.52cr2HCITOOL: hcitool cmd 0x3f 0x301 0x10 0x60 0x1a 0x00 0x09 0x00
16:58.18cr2#set IO17 to be the BT RF-Activity pin
16:58.24cr2HCITOOL: hcitool cmd 0x3f 0x11d 0x04 0x01 0xe9 0x05 0x00 0x00 0x00 0x00 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0x05 0x01 0x00 0x01 0x02 0x01 0x00 0xff 0x00
17:01.00cr2PDSM_CLIENT_PA_REG
17:01.06cr2i think we have these already
17:01.31tmztif linux ever gets btphy support this could be helpful
17:04.37cr2PDSM_SET_PARAMETERS
17:05.07cr2and XTRA_* things are not in our code
17:05.27phhI know android is stupid, but why do they call clnt_create() twice with the same params uh ?
17:05.27cr2PDSM_SET_PARAMETERS seems to be important
17:05.45cr2phh: RAD
17:05.51phhrad ?
17:05.54tmztXTRA is the gps calibration/ephemeris thing?
17:06.12cr2RapidApplicationDevelopment ;)
17:06.15phhok
17:06.20phhcr2: you have libgps.so btw ?
17:06.23tmztuh, probably because an amss client version did it
17:06.24phhif you want to have some fun with it.
17:06.40cr2tmzt: it's something qualcomm specific
17:06.43tmztxtra I want
17:06.45cr2phh: from cliq
17:06.46tmztreally want
17:06.56tmztmade my touchpro2 gps work
17:07.07tmztif it expires it's useless
17:07.08cr2tmzt: it's some spyware ?
17:07.13tmztbut we can do it over DM
17:07.20tmztno, it's ephemeris
17:07.24cr2when you must connect to some qcom server in inet ?
17:07.32tmztthe QuicKGPS thing
17:07.37cr2yes.
17:07.43tmztyes, to pull a bin file
17:07.44phhcr2: it doesn't have to be qcom
17:07.46phhit can be google :D
17:07.53tmztit doesn't send your location
17:07.55cr2it's compressed and encrypted ephemeris
17:08.00*** join/#htc-linux dcordes-kais (n=zsirc@ip-109-85-40-191.web.vodafone.de)
17:08.04tmzt(except ip)
17:08.13cr2tmzt: LAC ?
17:08.21tmztit's also not realtime, you only have to download once a week
17:08.27tmztnot over wifi
17:08.40tmztI'll try my next update over wifi if I can
17:08.41phhtmzt: it does send LAC when over 3G ?
17:08.45cr2works without it for me
17:08.46phhergh
17:08.48tmztI don't know
17:08.51cr2phh: need to trace
17:08.56tmztdo we knw the protocol?
17:09.06cr2no
17:09.25tmztit won't send lac if modem is off at least
17:09.26phhtmzt: the retrieving of these data are done over http
17:09.29cr2LAC can provide some good inital guess
17:09.32tmztlast lac maybe
17:09.37cr2for the search
17:09.50tmztit uses almanac and ephemeris
17:10.03tmztmaybe amss gets eph from tower by ip using lac
17:10.06tmztbut not alm
17:10.19tmztwithout qgps gps ttff is slow
17:10.22tmztunusable
17:10.22cr2in the US only
17:10.43tmztyes I think so
17:10.45cr2slower than sirf3
17:10.47tmztbut I'm in us
17:10.51cr2lol
17:11.05tmztif you have a local gps receiver you can possibly build a file
17:11.12tmztopenmoko was working on it
17:11.14cr2there was sme opencellid.org ?
17:11.21dcordes-kaistmzt want to buy a nexus for me?
17:11.29tmzttalk to onen about opencellid
17:11.30cr2dcordes-kais: me too
17:11.46tmztdcordes-kais: if I get varafied account this week I think so
17:12.20tmztthere are eu countries though that might be better
17:12.23tmztcheaper
17:12.41dcordes-kaisuk only afaik
17:13.00cr2tmzt: cheaper ? lol.
17:13.05tmztit's not in uk?
17:13.15tmzthmm, I think the pricing is usd everywhere
17:13.20tmztI could be wrong
17:13.28tmztgoogle.com/phone
17:13.40tmztyou have vat of course
17:13.44dcordes-kaisnexus and hd2 prices are similar
17:13.50tmztso it depends on shipping costs
17:14.06*** join/#htc-linux slight (n=23hdci27@154.112.221.87.dynamic.jazztel.es)
17:14.14*** join/#htc-linux marcydarcy (i=4d18ca6b@gateway/web/freenode/x-hicictygatxfngwr)
17:14.14dcordes-kaistmzt they wont deliver to germany directly
17:14.26makkonenhd2 seems like an altogether better device. stupid OSes.
17:14.27cr2tmzt: in the eu you get 2 years warranty
17:14.31phhdcordes-kais: then get the phone which can runs both oses ? :p
17:14.40tmztone in us?
17:14.58tmztdcordes-kais: talk to ali?
17:15.29dcordes-kaisphh NetRipper has the leo already..
17:15.30tmztor ce6 bsp maybe people want to work on that
17:16.35cr2i will prefer nexus. to avoid m$ tax
17:17.00cr2anything else for leo ?
17:17.29phhyou get google's tax, is that better ?
17:17.40cr2an i will remove all lame geoogle software from it. or course.
17:18.04tmztthen just use aosp
17:18.10cr2phh: you think i'll use google apps ?
17:18.14dcordes-kaisaesop?
17:18.26tmztandroid open source project
17:18.31tmztbuild from repo
17:18.39phhcr2: no and ... ? google will still have a great profit on it.
17:18.41dcordes-kaisyuck
17:19.17tmztif they buy it wholesale
17:19.19tmztsure
17:19.28cr2at least they have published some linux source.
17:19.36tmztbut I think the conspiracy (or Apple) level things are wrong
17:19.36cr2that must be honored.
17:20.00*** join/#htc-linux marcydarcy_ (i=4d18ca6b@gateway/web/freenode/x-tlnvqyebhhoxpjgr)
17:20.14cr2unlike microsoft with its fcking wince
17:21.38dcordes-kaiswith 1GHz they are slowly moving towards higher usability level
17:21.49cr2LOL
17:22.10*** join/#htc-linux luc_ (n=luc@89-115-128-35.cl.ipv4ilink.net)
17:22.15cr2dcordes-kais: now they need 4GB ram
17:22.41cr2if msm can support it though
17:23.15dcordes-kaisboard-mahimahi.c
17:23.33*** join/#htc-linux luc__ (n=luc@89-115-128-35.cl.ipv4ilink.net)
17:23.45cr2phh: have you chacked the FUNC_ numbers ?
17:23.51phhuh ?
17:24.30phhoh that. currently the problem is about the crashing call to 00000:01
17:25.24cr2awk '{printf("0x%x\n",-1875374787)}'
17:25.25cr20xffffffff90380d3d
17:25.42phhcr2: this is not the problem
17:25.43cr2VERS is 0x90380d3d
17:25.58cr2PROG is 0x3000005b
17:26.05cr2but the FUNCs
17:26.17cr2+FUNC_RPC_PDSM_CLIENT_DEACT
17:26.19cr2+FUNC_RPC_PDSM_CLIENT_ACT
17:26.20cr2+FUNC_RPC_PDSM_CLIENT_XTRA_REG
17:26.22cr2+FUNC_RPC_PDSM_CLIENT_EXT_STATUS_REG
17:26.23cr2+FUNC_RPC_PDSM_CLIENT_LCS_REG
17:26.25cr2+FUNC_RPC_PDSM_CLIENT_PA_REG
17:26.31cr2you need to check these numbers too
17:26.45phhthe problem is that there is a {0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x30, 0x0, 0x0, 0x5b, 0x90, 0x38, 0x0d, 0x3d, 0x00, ... 0x01} (total = 44bytes) rpc call that kills ARM9
17:26.51cr2phh: which func is crashing
17:27.07phh[  226.293090] [RPC] CALL to 3000005b:0 @ 0:00000001 (44 bytes)
17:27.10cr2phh: can you use 4byte format ?
17:27.28dcordes-kaisit's a fish so it's a qualcomm evaluation board
17:27.48tmztthought so, but trout is a fish
17:27.59cr2they all are a fish
17:28.01tmztmahimahi I think is nexus but not sure
17:28.08cr2tmzt: it is
17:29.17cr21 0 2 30005b 90380d3d ...
17:29.27cr2phh: what comes after that
17:29.36phhcr2: don't take care of the  90380d3d
17:29.39phhI change it to 0
17:29.48cr2it's the FUNC number, then 4x 0x0 and then the payload
17:29.48dcordes-kaisblub
17:29.59phhok
17:30.05phhso func number is 2
17:30.17cr2#if (CONFIG_MSM_AMSS_VERSION == 6120) || (CONFIG_MSM_AMSS_VERSION == 6125)
17:30.18cr2#define CLIENT_INIT             2
17:30.25phhI have to map it to 1 then
17:30.27cr2hm. sound reasonable
17:30.43cr25225 AMSS has 3
17:30.47phhah.
17:30.58cr2it's CLIENT_INIT
17:31.08cr2#elif (CONFIG_MSM_AMSS_VERSION == 5200) || (CONFIG_MSM_AMSS_VERSION == 6150)
17:31.10cr2#define CLIENT_INIT             3
17:31.22cr2the payload should be 0xa
17:31.42*** join/#htc-linux jumoit (n=samuel@121.77.87.145)
17:31.54cr2and the return value
17:31.57cr2/* TODO: replace with msm_rpc_call_reply() values */
17:31.59cr2#define PD_CLIENT_ID            0xda3
17:32.29cr2hm. not 0xa
17:32.33cr2/* constants */
17:32.34cr2#define INIT_PD                 0x2
17:34.05cr2(total = 44bytes) rpc call that kills ARM9
17:34.08dcordes-kaiscr2 what sort of register is */ack  ?
17:34.16cr2<PROTECTED>
17:34.23cr2dcordes-kais: where ?
17:35.04dcordes-kaiscr2 MSM_RPC
17:35.22cr2dcordes-kais: bad style frm me
17:35.42cr2there should be server and client numbers
17:36.08cr2andthe FUNC numbers and VERS numbers depend on the amss version
17:37.37dcordes-kaissomebody knows which exact kernel snapshot is shipped on the nexus?
17:37.52dcordes-kaisor how to figure
17:38.12tmztauname -a?
17:38.14cr2dcordes-kais: leo is 555€ ?
17:38.32dcordes-kaishtc_35mm_jack.c lol
17:38.33tmztand nexus?
17:38.38cr2compared to nexus it sounds expensive
17:38.52tmztyes, they emulate h2w for the internal circuit
17:38.54cr2tmzt: nexus can't be bought here till 1.05.
17:39.01tmztand uk?
17:39.11tmztMay?
17:39.29cr2do you know any reasonable site there ?
17:39.33cr2yes. 1 may
17:40.05phhcr2: you might offer me one for my birthday then. it's on 11.05 :p
17:40.21cr2phh: raph100 ?
17:40.32dcordes-kaiscr2 it would suck to give away the 2years of warranty
17:40.50phhcr2: ah no. I want you to continue developing on it :p
17:40.57cr2dcordes-kais: used only for the universal.
17:41.34cr2phh: raph100 is precious compared to this new wave. tvout, fmradio and 2 cams.
17:41.48phh+ enough ram + keyboard
17:42.09cr2yes
17:42.11dcordes-kaiscr2 I sent in kovsky and wil propably have to do it again
17:42.32cr2but no magnetometer
17:42.52cr2dcordes-kais: it's not "real" htc.
17:42.53tmztfront facing will come back
17:43.07tmztwhen ip gets serious bandwidth
17:43.19tmztor Apple has it :)
17:43.24dcordes-kaisyea true. i wonder if I can fix kovsky again on my own
17:43.40phhcr2: I think I can live without a magnometer.
17:43.44phheven if it's a neat feature
17:43.58cr2lol
17:44.10phhdoes TP2 have tvout and 2 cams too ?
17:44.27cr2tmzt: do you have tvout ?
17:44.33tmztI don't know
17:44.43tmztwell with cable
17:44.46tmzthold on
17:44.47cr2phh: 2 cams, but the vga cam driverdoes not exist
17:44.48dcordes-kaiscr2 it will be fairly easy to make a bt kb work on nexus
17:45.06phhdcordes-kais: the usability isn't really the same.
17:45.13cr2dcordes-kais: it has usb host ?
17:45.29phhcr2: isn't that a native MSM feature ?
17:45.31dcordes-kaisphh but if you tape it to the device :D
17:45.35tmztyes I have the app on my stock rom
17:46.08dcordes-kaiscr2 let me check. if not you must write it
17:46.33cr2dcordes-kais: there is ehci-msm driver
17:46.35tmztwarning TV out cable (an optional accessory) is needed to output to an external display
17:46.44phh<PROTECTED>
17:46.46phhI hate my keyboard.
17:46.50cr2tmzt: ok. i have this cable
17:47.01tmztwhat device do you have?
17:47.05tmztit's extusb?
17:47.07cr2raph100
17:47.11cr2yes
17:47.33cr2the pinout is known
17:47.46cr2but you can't have tvout and serial console at the same time
17:47.57tmztI can try a no2chem program and force it on
17:47.58phhcr2: most people can live with that :p
17:48.09tmztno, and on Nexus serial is on if vbus is not
17:48.17tmztso probably no tvout
17:48.27tmztmaybe without microp firmware update
17:48.28cr2lame
17:48.31tmztbut that's a theory
17:48.37phhtmzt: maybe the pinout is different ?
17:48.46tmztI think it's the same
17:48.46cr2does leo have tvout ?
17:48.59tmztjust microp driving gpio switch
17:49.04cr2must be the same. there are not that much pins to use
17:49.09tmztbased on adc of vbus pins
17:49.16*** join/#htc-linux ICEMANno1 (n=ICEMANno@ip-109-90-220-39.unitymediagroup.de)
17:50.44cr2leo is such a brick on the photo
17:50.50dcordes-kaiscr2 it seems like ehci msm is onl in codeaurora
17:51.11cr2dcordes-kais: yes, but it's a standalone driver
17:51.23dcordes-kaisah
17:51.32dcordes-kaishow about trying it on raph?
17:51.34cr2we are too far behind anyway
17:51.39dcordes-kaislol
17:51.48cr2gps is more important :)
17:52.19dcordes-kaisi need to check if i can fix kovs then I can try
17:52.49tmztehci is?
17:52.56phhtmzt: usb2 host
17:52.59tmztnot in nexus kernel?
17:53.02tmztyes
17:53.11tmztwhat do they use on other?
17:53.21*** join/#htc-linux malgon (n=simon@ABordeaux-257-1-78-79.w90-50.abo.wanadoo.fr)
17:53.38phhno usb host in nexus kernel
17:53.41dcordes-kaisnexus has gadget,
17:53.52cr2dcordes-kais: found for 517€
17:54.14*** join/#htc-linux cr2 (n=cr2@ip-109-84-180-173.web.vodafone.de)
17:54.25cr2nexus/leo are 8250
17:54.42tmztgadget and gadget functions?
17:54.55phhtmzt: yes
17:55.04tmztcool
17:55.11tmztno more android function?
17:55.24phhbah that's "gadget function" no ?
17:55.33phhif not, sorry but it's still the function stuff :p
17:56.15tmztno, the function concept is in gadget now
17:56.24tmztjust not the bitmap thing
17:56.24cr2phh: on kais the get_position is a timer callback.
17:56.39tmztso a lot more pdata
17:56.49cr2phh: but i need to check it for raph
17:56.55phhok
17:57.00phhI'm having fun with android meanwhile.
17:57.22cr2phh: since your PDSM abi looks like 6125, you may have more rpc functions
17:57.29slightcan't someone point me in the direction of a channel where i can ask a potentially stupid question about eclari on a raph100? :)
17:57.35slight*eclair
17:57.36dcordes-kaistmzt what bitmap thing?
17:57.38cr2phh: post the full crahsed pdsm rpc
17:57.58phhdcordes-kais: bit 1 stands for adb, bit 2 for mass storage, bit 3 for usbnet, etc
17:58.04phhthen you write the result in a file and you'll get whatever you asked
17:58.33phhcr2: hum I have to revert back to board-htcraphael-gps.c ...
17:58.41*** join/#htc-linux Psychonerd (n=Casey@67.143.1.240)
17:59.13dcordes-kaisbbl
18:00.11phhcr2: let me do another try of my kernel hack first and I'll do that.
18:01.17cr2ok
18:01.34tmztdc: the thing that allows enabling multiple functions in a composite device without four pages of structs
18:01.50tmztslight: here
18:01.58slightcheers :)
18:02.19slighttrying to get a > into pterminal so i can dump my dmesg output to a file
18:02.40tmztcr2: xtra protocol might be crucial, you can try qualcomm dm and uploading a non signed file into the efs
18:02.47phhslight: put the stylus in to go to portrait mode, then long press on home (aka menu) key you'll get a virtual keyboard
18:02.48slightcan't work out how to enter the character as android doesn't support the 'symb' thing from winmo
18:02.54tmztshitf-. ?
18:02.58tmztor use better term
18:03.00slightah great, thanks
18:03.13tmztdoes it work?
18:03.30tmztno, the keymap doesn't support fn yet I think
18:03.38tmztmaybe update your .kcm
18:03.49slightheh can't get the bugger into portrait now :p
18:03.51slightsec
18:05.38slightcan't get the virtual kb but my capacitive pad has been a bit dodgy in general so i'll give it a try later. thanks
18:06.00slightbtw phh, the build you posted today seems quite a lot more responsive
18:06.08phhI posted a build ... ?
18:06.09slighton xda that is
18:06.11slightoh
18:06.23tmztwhat device?
18:06.24slightno sorry :p
18:06.28phhslight: ah.
18:06.35slightit's babijoee posting them, brainfart
18:06.50slightraph100
18:07.18tmztit's resisitve
18:07.21phhcr2: ARM9 didn't suicide \o/
18:07.28phhtmzt: capacitive *pad* :p
18:07.28slightinteresting
18:07.32tmzt\o_/
18:07.35slightah yes
18:07.44tmztah
18:07.48tmztfor the menu key?
18:07.54tmzthold menu
18:08.00phhcr2: ok sorry you'll still wait a bit, I try to divert the other RPC's to "correct" versions :p
18:08.05tmzt\o./
18:08.20tmztphh: binary patching?
18:08.32phhtmzt: naahh, in kernel, rpc command patching :p
18:08.37cr2tmzt: if it works without xtra, then xtra is nt critical
18:08.50phhargh I didn't do my dump correctly
18:08.58slightyeah i held menu but no dice. cleaned it and so on
18:09.08tmztwhat kernel on what hardware?
18:09.19phhhtc-msm-2.6.27 on diam100
18:09.22tmztcr2: the ttff is almost zero with xtra
18:09.28tmzton my tp2
18:09.39phhwhat's the second f ?
18:09.40tmztit's five minutes outside without it
18:09.48tmzttime to first fix
18:09.59tmztcold start vs. warm start
18:10.16cr2tmzt: we have a crash problem to solve first
18:10.21tmztit's about a second outside in google, 30 inside near window
18:10.31phhcr2: I have the two first command sent by android, want it ?
18:10.36tmztI think nmea output is wrong because of no fix
18:10.41tmztbut ok
18:10.49tmztwrong/null
18:11.04phhcr2: http://pastebin.com/m7b574503 sorry for the endian.
18:11.51phh(again the version is fixed by the kernel to 0)
18:13.22cr251c92bd8
18:13.35cr2is the ATL version
18:13.48cr2the VERS is all over the .so
18:13.58phhwhose atl version ?
18:14.02phhfor us it's still 0 I guess ?
18:14.21cr2#define RPC_PDSM_ATL_PROG          0x3000001d
18:14.28cr2yes, for 5225 =0
18:14.31phhok
18:15.33cr2f310fffff constant
18:16.20cr2this one is on 5225
18:16.31*** join/#htc-linux malgon (n=simon@ABordeaux-257-1-78-79.w90-50.abo.wanadoo.fr)
18:17.20slightthanks for the help o/
18:22.18cr2phh: looks strange
18:22.28phhwhat ?
18:22.49cr2your pastebin
18:23.00phhwhy ?
18:23.13cr2what did you print out ?
18:23.16phhhum arm9 crashed, I guess ATL commands has to be changed too.
18:23.27phhcr2: raw commands sent by libgps
18:23.34cr2yes, at least the version
18:23.40phhthe version is already done
18:23.51cr2hmm
18:24.02phhcr2: but it's printed in little endian while it's sent as big endian
18:24.25phhwait. where did they put the version id ?
18:24.58tmzt(I think i2c is dying on tp2, optical is going crazy)
18:25.03tmzt(light sensor)
18:25.21phhtmzt: you can read it with debugfs/micropklt_dbg/light
18:25.34tmzthmm I will, I'm in ce though
18:25.48tmzton tp this was part of keyboard dying and how I got tp2
18:26.01phhsounds like microp's dying
18:26.08phhhum no they are two different microp
18:26.18tmztright, keyboard is fine
18:26.22tmztthankfully
18:31.15*** join/#htc-linux itchy8me (n=itchy8me@ip80-116-211-87.adsl2.static.versatel.nl)
18:34.35*** join/#htc-linux roe1and (n=roe1and@5e046e57.bb.sky.com)
18:48.41*** join/#htc-linux ChanServ (ChanServ@services.)
18:48.41*** join/#htc-linux Psychonerd (n=Casey@67.143.1.240)
18:48.41*** join/#htc-linux malgon (n=simon@ABordeaux-257-1-78-79.w90-50.abo.wanadoo.fr) [NETSPLIT VICTIM]
18:48.41*** join/#htc-linux roe1and (n=roe1and@5e046e57.bb.sky.com) [NETSPLIT VICTIM]
18:48.41*** join/#htc-linux itchy8me (n=itchy8me@ip80-116-211-87.adsl2.static.versatel.nl) [NETSPLIT VICTIM]
18:48.41*** join/#htc-linux cr2 (n=cr2@ip-109-84-180-173.web.vodafone.de) [NETSPLIT VICTIM]
18:48.41*** join/#htc-linux jumoit (n=samuel@121.77.87.145) [NETSPLIT VICTIM]
18:48.41*** join/#htc-linux luc_ (n=luc@89-115-128-35.cl.ipv4ilink.net) [NETSPLIT VICTIM]
18:48.41*** join/#htc-linux the_sys0p (n=the_sys0@cpe-76-93-251-206.bak.res.rr.com) [NETSPLIT VICTIM]
18:48.41*** join/#htc-linux Boydell_ (n=Boydell@69.49.58.28) [NETSPLIT VICTIM]
18:48.41*** join/#htc-linux ali1234 (n=al@s15238489.onlinehome-server.info) [NETSPLIT VICTIM]
18:48.41*** join/#htc-linux toi (n=toi@d54C2A96D.access.telenet.be) [NETSPLIT VICTIM]
18:48.41*** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl) [NETSPLIT VICTIM]
18:48.41*** join/#htc-linux Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl) [NETSPLIT VICTIM]
18:48.41*** join/#htc-linux leobaillard (n=leobaill@leobaillard.org) [NETSPLIT VICTIM]
18:48.41*** join/#htc-linux emwe (n=michael@86.56.50.180) [NETSPLIT VICTIM]
18:48.41*** join/#htc-linux GNUtoo (n=GNUtoo@host82-133-dynamic.54-79-r.retail.telecomitalia.it) [NETSPLIT VICTIM]
18:48.41*** join/#htc-linux Sti_02391 (n=Where_is@91.180.112.25) [NETSPLIT VICTIM]
18:48.41*** join/#htc-linux kiozen_away (n=oeichler@rgnb-5d8793c4.pool.mediaWays.net) [NETSPLIT VICTIM]
18:48.41*** join/#htc-linux tehtrk_home (n=quassel@adsl-68-91-145-91.dsl.wacotx.swbell.net) [NETSPLIT VICTIM]
18:48.41*** join/#htc-linux YellowGTO|Nix (n=quassel@c-71-226-239-246.hsd1.pa.comcast.net) [NETSPLIT VICTIM]
18:48.41*** join/#htc-linux Syrefaen (n=fistings@213.184.217.156) [NETSPLIT VICTIM]
18:48.41*** join/#htc-linux rashire (n=ed1112wa@pool-98-114-205-192.phlapa.fios.verizon.net) [NETSPLIT VICTIM]
18:48.41*** join/#htc-linux we350z (n=bkusnir@adsl-99-8-225-30.dsl.pltn13.sbcglobal.net) [NETSPLIT VICTIM]
18:48.41*** join/#htc-linux marcin_ (n=marcin@chello089077185059.chello.pl) [NETSPLIT VICTIM]
18:48.42*** join/#htc-linux ToAsTcfh (n=toast@110-43.200-68.tampabay.res.rr.com) [NETSPLIT VICTIM]
18:48.42*** join/#htc-linux droid001 (n=g1@p4FDCA526.dip.t-dialin.net) [NETSPLIT VICTIM]
18:48.42*** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring) [NETSPLIT VICTIM]
18:48.42*** join/#htc-linux x29a (n=x29a@unaffiliated/x29a) [NETSPLIT VICTIM]
18:48.42*** join/#htc-linux Bry8Star (n=Bry8Star@adsl-99-40-118-119.dsl.lsan03.sbcglobal.net) [NETSPLIT VICTIM]
18:48.42*** join/#htc-linux HardDisk_WP (n=Marco@wikipedia/harddisk) [NETSPLIT VICTIM]
18:48.42*** join/#htc-linux darkstar62 (n=darkstar@97-126-116-159.tukw.qwest.net) [NETSPLIT VICTIM]
18:48.42*** join/#htc-linux Kevin2 (n=Kevin2@207-172-165-101.s101.tnt1.nywnj.ny.dialup.rcn.com) [NETSPLIT VICTIM]
18:48.42*** join/#htc-linux thedicemaster (i=thedicem@j89126.upc-j.chello.nl) [NETSPLIT VICTIM]
18:48.42*** join/#htc-linux MoishaSPB (n=MoishaSP@user-12hdsgv.cable.mindspring.com) [NETSPLIT VICTIM]
18:48.42*** join/#htc-linux joschi (i=1002@91.204.171.9) [NETSPLIT VICTIM]
18:48.42*** join/#htc-linux kupo (i=kupo@pinky.ratman.org) [NETSPLIT VICTIM]
18:48.42*** join/#htc-linux daedric (n=daedric@116.226.54.77.rev.vodafone.pt) [NETSPLIT VICTIM]
18:48.42*** join/#htc-linux Funklord (n=cow@c-e1d571d5.014-46-73746f28.cust.bredbandsbolaget.se) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux luminoso (n=lumos@av-217-129-128-10.netvisao.pt) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux Tinyboom (n=nahh@ti0121a340-dhcp0200.bb.online.no) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux polyrhythmic (n=charles@c-67-171-16-39.hsd1.wa.comcast.net) [NETSPLIT VICTIM]
18:48.43*** mode/#htc-linux [+o ChanServ] by irc.freenode.net
18:48.43*** join/#htc-linux Nozze_ (n=weechat@u193-11-162-41.studentnatet.se) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux label2k10 (n=label2k1@chessman.acephale.fr) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux dilinger (n=dilinger@LUNGE.MIT.EDU) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux Dindon (i=OSEF@193.27.79.0) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux tmzt (n=tmzt@99.164.34.42) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux mickey|sports (n=mickey@openmoko/coreteam/mickey) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux pini (n=pini@bou-fi.pustule.org) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux Ekips (i=spike@unaffiliated/ekips) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux toer (i=tore@179.81-166-86.customer.lyse.net) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux niall0s (i=niall@spoon.netsoc.tcd.ie) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux makkonen (n=makkonen@cpe-66-69-229-9.austin.res.rr.com) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux parmaster (i=par@dipole.idlepattern.com) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux NetRipper (n=netrippe@tikkie.net) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux bartman` (n=bart@tau.jukie.net) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux rzk_ (n=rzk@daemonet.ru) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux gazab_ (n=gazab@c-2d85e555.04-117-6c6b7013.cust.bredbandsbolaget.se) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux kri5 (n=kri5@cowdy.vlmc.org) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux Dinde (i=kayser@sur-internet.net) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux stefand1 (n=stefan@uu194-7-153-125.unknown.uunet.be) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux packetlss (n=packetls@blackhole.se) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux MarcLandis_ (n=drettsch@port-92-195-10-37.dynamic.qsc.de) [NETSPLIT VICTIM]
18:48.43*** join/#htc-linux stinebd (n=bryan@maduin.southcape.org) [NETSPLIT VICTIM]
18:48.44*** join/#htc-linux |Jason8| (i=JayAte@97.107.139.87) [NETSPLIT VICTIM]
18:48.44*** join/#htc-linux jenericc` (i=ebcain@cpe-24-210-123-84.insight.res.rr.com) [NETSPLIT VICTIM]
18:48.44*** join/#htc-linux raph_ael (n=raph_ael@193.93.126.197) [NETSPLIT VICTIM]
18:48.44*** join/#htc-linux StarLite (n=nnscript@s55916cb1.adsl.wanadoo.nl) [NETSPLIT VICTIM]
18:48.44*** join/#htc-linux Jos (i=Jos@Lithium.Jossie90.info) [NETSPLIT VICTIM]
18:48.44*** join/#htc-linux friehmaen (i=freeman@xers.de) [NETSPLIT VICTIM]
18:48.44*** join/#htc-linux Snarf (n=snarf@unaffiliated/snarf) [NETSPLIT VICTIM]
18:48.44*** join/#htc-linux nrirclog (n=nrirclog@netripper.com) [NETSPLIT VICTIM]
18:48.44*** join/#htc-linux chamonix (i=chamonix@unaffiliated/chamonix) [NETSPLIT VICTIM]
18:48.44*** join/#htc-linux furtardo (n=mks@nat/yahoo/x-xihntllgwhfdrdfv) [NETSPLIT VICTIM]
18:48.44*** join/#htc-linux lenix (n=irc@78.47.129.211) [NETSPLIT VICTIM]
18:48.44*** join/#htc-linux infernix (i=nix@unaffiliated/infernix) [NETSPLIT VICTIM]
18:48.44*** join/#htc-linux prinex (n=prinex@m57s22.vlinux.de) [NETSPLIT VICTIM]
18:48.44*** join/#htc-linux grayeul (n=brobison@user-12lm3n5.cable.mindspring.com) [NETSPLIT VICTIM]
18:48.44*** join/#htc-linux leviathan (n=quassel@c-82-192-226-27.customer.ggaweb.ch) [NETSPLIT VICTIM]
18:48.44*** join/#htc-linux phh (n=quassel@4be54-3-82-228-187-43.fbx.proxad.net) [NETSPLIT VICTIM]
18:48.44*** join/#htc-linux kad_ (n=kad@219-89-117-161.adsl.xtra.co.nz) [NETSPLIT VICTIM]
18:48.44*** join/#htc-linux jontow (i=jontow@hijacked.us) [NETSPLIT VICTIM]
18:48.44*** join/#htc-linux SOG (n=SOG@n219079214077.netvigator.com) [NETSPLIT VICTIM]
18:48.44*** join/#htc-linux maejrep[w] (n=madCoder@68.64.144.211) [NETSPLIT VICTIM]
18:48.44*** join/#htc-linux ALoGeNo (n=alogeno@unaffiliated/alogeno) [NETSPLIT VICTIM]
18:48.44*** join/#htc-linux high-rez (n=gus@carrera.bourg.net) [NETSPLIT VICTIM]
18:48.44*** join/#htc-linux mrmoku (n=mrmoku@ppp-188-174-7-126.dynamic.mnet-online.de) [NETSPLIT VICTIM]
18:48.45*** join/#htc-linux Hoochster (n=hooch@74.194.109.73) [NETSPLIT VICTIM]
18:48.45*** join/#htc-linux ImCoKeMaN (n=imcokema@pool-96-240-154-30.hrbgpa.fios.verizon.net) [NETSPLIT VICTIM]
18:48.45*** join/#htc-linux NexVision (n=a@c-76-109-33-88.hsd1.fl.comcast.net) [NETSPLIT VICTIM]
18:48.45*** join/#htc-linux alphaone (n=alphaone@2001:638:602:af01:0:0:0:1) [NETSPLIT VICTIM]
18:48.45*** join/#htc-linux ius (n=thralas@2001:610:1908:8000:21f:c6ff:fe52:7e30) [NETSPLIT VICTIM]
18:48.45*** join/#htc-linux thinko (n=jdoe6alp@smaug.rackdragon.com) [NETSPLIT VICTIM]
18:48.45*** join/#htc-linux docc (n=docc@static.88-198-83-83.clients.your-server.de) [NETSPLIT VICTIM]
18:48.45*** join/#htc-linux madCoder- (n=madcoder@c-68-42-30-56.hsd1.pa.comcast.net) [NETSPLIT VICTIM]
18:48.45*** join/#htc-linux UdontKnow (i=udontkno@freenode/staff/udontknow) [NETSPLIT VICTIM]
18:48.45*** join/#htc-linux tjs_bsd (n=tjs@mail.CDPA.cc) [NETSPLIT VICTIM]
18:48.45*** join/#htc-linux rosseaux (i=znc@129-167-19-84.nbiserv.com) [NETSPLIT VICTIM]
18:48.45*** join/#htc-linux chemical1at_work (n=chemical@217.6.162.228) [NETSPLIT VICTIM]
18:48.45*** join/#htc-linux surge (i=surge@pool-98-118-154-21.bflony.fios.verizon.net) [NETSPLIT VICTIM]
18:48.45*** join/#htc-linux pigeon (n=pigeon@eth5284.nsw.adsl.internode.on.net) [NETSPLIT VICTIM]
18:48.45*** join/#htc-linux cosein (i=logan@slammer.CS.Dal.Ca) [NETSPLIT VICTIM]
18:48.45*** join/#htc-linux Hellie (i=soulreap@wield.the.scythe.of.the.soulreaper.net) [NETSPLIT VICTIM]
18:48.45*** join/#htc-linux Dunedan (n=dunedan@phoenitydawn.de) [NETSPLIT VICTIM]
18:51.26*** join/#htc-linux apt (i=ibot@rikers.org)
18:51.26*** topic/#htc-linux is Welcome to htc-linux | Project homepage and wiki http://htc-linux.org | Livelogs: http://irclog.netripper.com/?chan=htc-linux | Logs: http://apt.rikers.org/%23htc-linux | htc-linux is not android
18:53.11tmzt1d?
18:53.24tmztthat's the PROC address?
18:59.42cr2phh: you trap and rewrite the calls ?
19:00.28cr21d,3 -> 1d,4 ?
19:00.38cr2is it right ??
19:00.54*** join/#htc-linux IceBone (n=IceBone@89-212-106-54.dynamic.dsl.t-2.net)
19:01.06IceBonebabijoee in here?
19:03.57cr2a9710411 these are hardcoded into libgps.so
19:06.00cr2pdsm_atl_l2_proxy_reg (1,4,5)
19:06.31*** join/#htc-linux bakkie (n=bakkie@84-106-91-26.cable.quicknet.nl) [NETSPLIT VICTIM]
19:06.39*** join/#htc-linux malgon (n=simon@ABordeaux-257-1-78-79.w90-50.abo.wanadoo.fr)
19:06.40cr2you call pdsm_atl_l2_proxy_reg (1,a9710411,a97103f1)
19:08.37cr25b, 4 (50a, 4ceda0, a970bf81, 00000000, f310ffff, a970bee1)
19:08.56cr20x5,6  pdsm_client_pd_reg (clientID=da3,0,0,0,f310ffff,-1)
19:10.08cr2ok, i'll edit and pastebin it
19:10.55tmztxxd -r ?
19:14.07cr2he can print it properly
19:14.23cr2but since he is not here, i'll edit manually
19:15.01tmztoh I thought you were binary patching the .so
19:15.03*** join/#htc-linux zsircusr (n=zsirc@ip-109-85-0-140.web.vodafone.de)
19:15.17tmztthis is all about porting a closed driver from android to ce?
19:15.25tmztce device
19:15.29cr2the first number is xid=, the next 2 are not interesting, then 4x0 can be dropped too
19:15.47cr2tmzt: to linux gps driver
19:16.01tmztfor what device?
19:16.06tmztoh, so in c?
19:16.12cr2yes
19:16.19tmztokay cool
19:16.35cr2can be used ob g1 too
19:16.52tmztwith different vers?
19:17.11cr2depending on amss ver
19:20.01cr2ok, let's compare to 5225
19:21.17cr2pdsm_client_init (pd=2/xtra=b/lcs=4)
19:21.37cr2=1 for g1
19:21.42cr2unknown
19:21.57cr2=b is xtra, ok
19:21.58tmzthmm, xtra could be the mode xtra should be in
19:21.59*** join/#htc-linux luc__ (n=luc@89-115-128-35.cl.ipv4ilink.net)
19:22.08tmztinternal or external stack
19:22.23tmztlcs is privacy setting?
19:22.59cr2some local search. read the qcom patents
19:23.31cr2pdsm_atl_l2_proxy_reg (1,4,5)
19:23.47cr2pdsm_atl_l2_proxy_reg (1,a9710411,a97103f1) got g1
19:24.21cr2pdsm_client_pd_reg (clientID=da3,0,0,0,f310ffff,-1)
19:25.13phh[20:05:10] <cr2> phh: you trap and rewrite the calls ? http://husson.hd.free.fr/gps-divert.diff
19:25.26cr2pdsm_client_pd_reg (50a, 4ceda0, a970bf81,0,f310ffff,a970bee1)
19:25.37cr2phh: can you parse them better ?
19:26.18phhmaybe
19:26.35cr2drop 1)time
19:26.52tmztcr2: Pixi sources might be up and have a different apparoch to hsuart control from userspace
19:27.09phhtime is linux feature, I can't really drop it, but I can delete it with awk if it's a problem for you
19:27.18cr2phh:   drop val[1] and val[2]
19:27.30phhcr2: I don't "translate" pdsm_atl* since I don't know what they are supposed to do
19:27.36cr2and val[6,7,8,9]
19:27.55phhuh ? 6,7,8,9 are useless ?
19:27.56cr2phh: i'll tell you what to translate now
19:28.02cr2they are 0
19:28.13phhoh right.
19:28.48cr2btw, do you parse responses ?
19:29.05phhhum no, I'll add it
19:29.46cr2nd don't print the sequency index
19:30.30phhyou mean the 00000004 in "[  219.117370]  00000004=00000000" ?
19:31.14cr2[  219.117370]  00000004= can go away
19:31.43phhif i remove 1/2/6/7/8/9 that won't really help reading, but ok.
19:31.53cr2print it in one line
19:32.39cr2i'll paste the output
19:33.07*** join/#htc-linux malgon (n=simon@ABordeaux-257-1-78-79.w90-50.abo.wanadoo.fr)
19:33.32phhcr2: so, should 3000005b proc 0x1d be redirected to something else ?
19:33.34phh(0x1e ? :D)
19:33.50cr2no
19:33.59cr2but you need to edit the parameters
19:34.03*** join/#htc-linux Squarc (n=Squarc@82.217.32.29)
19:34.03phhouch
19:34.10cr2to match wince
19:34.20cr2there are only 3 calls anyway
19:34.28cr2all in wiki, btw
19:34.37phhok
19:35.09phhbut where ?
19:35.21cr2ah
19:35.23cr23000005b 00000000 0000001d
19:35.28cr2you mean this one ?
19:35.37phhyes
19:35.55cr23000005b 00000000 0000001d
19:35.56cr2a970bdc1 00001f40 004bc7e0 00000001 000000dc a770d292 000000b4 00000001 00000000
19:36.07cr2i'll check what rhod has there.
19:37.15cr2phh: https://privatepaste.com/8d50cb4726
19:37.37cr2phh: and the PROG VERS FUNC triple may be parsed with names from wiki
19:37.46phhok
19:38.36cr2the pdsm_init(1) dies not exist on wince. wince calls pdsm_init(2) and so on.
19:39.11cr2maybe add these values to wiki too ?
19:39.26dcordes-kaiscr2 what about htc-linux munich 2010 international congress?
19:39.37phhcr2: "these" ?
19:39.46cr2dcordes-kais: leviathan agrees
19:40.08leviathanyes
19:40.22tmztat this point planning to come but it's a long way and I don't know my resources
19:40.28cr2dcordes-kais: will you be at fosdem ?
19:40.30leviathanI've asked FOSDEM also to make a presentation but I fear its too late
19:40.40dcordes-kaiscr2 where is that?
19:40.44cr2brussel
19:40.46leviathanbrussel
19:41.12cr2dcordes-kais: i may pick you up
19:41.18cr2it's the weekend
19:41.23phhcr2: do you want anything else parsed than function's name ?
19:41.26dcordes-kaiscr2 ok I'm in :)
19:41.48cr2ok.
19:42.52cr2phh: no. you may add raph values though.for comparison
19:42.55*** join/#htc-linux kad_ (n=kad@219-89-117-161.adsl.xtra.co.nz)
19:43.18phhcan be done afterwards
19:43.25cr2leviathan: i have found my htc_acoustic notes.
19:43.39cr2leviathan: do you know what is CE ?
19:43.42dcordes-kaisleviathan you also coming? any moko ppl?
19:43.52leviathanhmm
19:44.02leviathanI fear its too late
19:44.12leviathanI wanted to first time present my project idea
19:44.25leviathanI wrote an email
19:44.29leviathanbut they didnt answer
19:44.59dcordes-kaiscall?
19:45.10dcordes-kaisbr
19:45.12dcordes-kaisb
19:45.54*** join/#htc-linux TheMuffinMan (n=themuffi@ool-4575b0a0.dyn.optonline.net)
19:46.36cr2phh: hm. on rhod it's done in a different way ;)
19:46.52phhcr2: you mean there is no 0x1d call at all?
19:47.52cr2phh: sorry
19:48.19phhcr2: can you find in libgps.so what do this call ?
19:48.36cr21d on rhod is pdsm_xtra_query_data_validity()
19:48.49cr2i'll check raph
19:49.05cr2i didn't see this function on raph, but maybe i've missed it.
19:50.29phhmaybe we should do these tries on rhod instead of my diam then ?
19:50.33tmztdo you use that?
19:50.41tmztI think raph uses dm for xtra
19:50.43phhtmzt: android does.
19:50.45tmztdmrouter
19:50.57cr2phh: rhod does not need the +1 offset in rewrite
19:51.07phhcr2: I know
19:51.29phhbut still, such tracing would be easier on an AMSS that looks more like android's one
19:54.39cr2phh: hmm. it's also 1D on raph
19:54.58phhuh ? why does that stupid ARM0 crashes /o\
19:55.06phhARM9*
19:55.06cr2arm9
19:55.53cr2phh: the params are different
19:56.10cr2phh: even the init is called =1
19:56.44tehtrk_homeanyone ever try changing ext2 system and data filesystems to ext3 full journal?
19:56.54cr2msm rpc seems to be very fragile
19:57.11cr2tehtrk_home: if it's not root
19:57.32tmzttehtrk_home: tune2fs -j fs
19:57.36tehtrk_homeI'm going to give it a shot, I think it will speed reads up
19:57.38tehtrk_homeyeah
19:57.53tmztno reason it shouldn't work
19:58.09tehtrk_homewhat's the rc file with all the mounts and chmods?
19:58.18tehtrk_homeinit.rc I think?
19:58.27tmztyes
19:58.45tehtrk_homecan you use filesystem opetions in that as if it were an fstab?
19:59.11tehtrk_home*options
19:59.25tmztwith -o I think why?
19:59.27tmztoh
19:59.31tehtrk_homesince I can't seem to find an fstab :)
19:59.37tmztdepends on android mount command
19:59.38cr2tmzt: my raph whines that the quickgps data are not uptodate
19:59.51tehtrk_homeyeah, gotta put data=journal to do what I'm doing
20:00.09tmztthought you meant tune2fs
20:00.13tmztdon't do that
20:00.17tmzthmm
20:00.17tehtrk_homecan't put kernel options in default.txt for that
20:00.35tehtrk_homeI can use tune2fs to create the journal
20:00.36tmztmaybe but that option might not be supported
20:00.39tehtrk_homelike you said
20:00.48tehtrk_homeif not I'll compile it in :P
20:00.54tmztfor fs's? try ext2.data=journal but I don't know
20:01.06tmztif it's fs option rather than module it won't work
20:01.21tehtrk_homeyeah it's a fs option
20:01.28tehtrk_homenot module
20:01.28tmztor just use proper mount
20:01.33tmztfron init.rc
20:01.56tehtrk_homeeh? but how else would one specify ext3 journal mode
20:02.19leviathanI hope I get a working msm SHR version again soon
20:02.20leviathan>_<
20:02.30leviathane-wm always fucks up, when I booted up
20:02.48tmzttehtrk_home: use a proper linux utils mount not android's
20:03.43tehtrk_homeso, create my own fstab reflecting init.rc
20:03.56tehtrk_homeand comment out init.rc related lines
20:03.58tmztno
20:04.04tmzthmm
20:04.11tmztwith /bin/mount you could
20:04.20tehtrk_homeoh just make my own script
20:04.22tmztor just busybox mount -o opts in init.rc
20:04.23tehtrk_homeyeah good idea
20:04.35tehtrk_homehmm
20:04.36tmztfstab with /bin/mount -a would work though
20:04.48tmztor just switch to debian and help get the phone working
20:04.54tmztumm
20:04.56tehtrk_homeeh?
20:04.56tmztnever mind
20:05.02tmztwhat are you working on?
20:05.03tehtrk_homedebian on the phone??
20:05.04tmztg1?
20:05.17tehtrk_homelol that would be cool, but I need to use it as a phone too
20:05.23tehtrk_homekaiser
20:05.51tmzthmm, it should work
20:06.13tmztport asoc_qdsp
20:06.30tmztthen try fso or the stuff I'm working on (merphone) when it's ready
20:06.46tmzttalk to gnutoo about asoc_qdsp
20:07.11cr2phh: it's an exported function
20:07.46*** join/#htc-linux Boydell (n=Boydell@69.49.58.28)
20:07.54*** join/#htc-linux luc_ (n=luc@89-115-128-35.cl.ipv4ilink.net)
20:08.30*** join/#htc-linux luc_ (n=luc@89-115-128-35.cl.ipv4ilink.net)
20:09.55*** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes)
20:15.08polyrhythmictehtrk_home: many of the the G1 guys use ext3 or ext4
20:15.21polyrhythmictehtrk_home: I've been thinking about upgrading to that also
20:20.31*** join/#htc-linux zycho (n=zycho@hnvr-4d07939b.pool.mediaWays.net)
20:22.24cr2libaudioeq.so is open source ?
20:27.29*** join/#htc-linux herpez (n=herpez@87-196-51-213.net.novis.pt)
20:28.03phharf I have to divert the reads too
20:28.48cr2yes
20:29.07cr2hm. why does htc_ril.so does read_audiopara_from_fiile ??
20:29.23phhcr2: why not ? it actually reads audiopara from a file :p
20:29.27phhlike windows does
20:30.12tmztcvs?
20:30.15tmztcsv
20:30.45phhtmzt: yup.
20:31.07phhwho says they copy-pasted the code from wince ? :D
20:33.58phhcr2: the answers are of type rpc_request_hdr too ?
20:34.23cr2no, a bit different i think
20:34.32cr2dump them raw first
20:34.38phhok
20:35.59herpezhi. from a device without known mtype, how can we know it? (for example htc athena)
20:36.28dcordesherpez, hi. what do you mean, knowing it?
20:36.36dcordesherpez, you mean creating an mtype?
20:36.57phhcr2: I assume all reads should be 0 ?
20:37.05phhshould *not*
20:37.22phhbecause that's what I get.
20:37.37dcordescr2, we can team up a bit with the OE persons at fosdem
20:37.44phhhaha, I bypassed the same bytes as write
20:37.48herpezdcordes - i mean, people at athena foruns are asking what mtype should they put, and i started to wonder if there is any specific mtype or if they need to create on
20:38.15*** join/#htc-linux babijoee (n=joee@110.33.178.90)
20:38.20phhhi babijoee
20:38.30babijoeehi phh :)
20:38.40babijoeewhats going on
20:38.49dcordesherpez, 1289 htcathena
20:40.20IceBoneHey, babijoee!
20:40.36IceBoneGreat work on Eclair!
20:40.49phhbabijoee: I had something to tell you. you have no clue what I guess ? :p
20:41.07dcordesherpez, http://wiki.xda-developers.com/index.php?pagename=AthenaResearch
20:42.06herpezthanks dcordes, missed that
20:42.29cr2herpez: haret knows athena
20:42.52babijoeephh: hrrmm we have flashable android :)
20:42.54babijoee?
20:42.56cr2herpez: athena is stuck at the microdrive driver.
20:42.58tmzton?
20:43.00phhbabijoee: no
20:43.04babijoeeopengles
20:43.06babijoee:)
20:43.16phhno
20:43.17babijoeecamera?
20:43.20phhno
20:43.26babijoeeextra ram
20:43.32phhmaybe
20:43.35GNUtootmzt, hi
20:43.36herpezcr2 - yes, there was a guy asking me and i started to read it and i saw they started in 2008 well but they are stuck long time ago, thanks!
20:43.48IceBoneBlowjob app?
20:43.53cr2herpez: there is 2.6.31 kernel
20:44.02phhbabijoee: MrPippy did some tries, more or less succesfull, try kernels prior its revert
20:44.02Boydelli saw the bank2 commits and reverts, what went wrong, i thought it was working?
20:44.14phhBoydell: I don't know
20:44.19cr2herpez: i can even help with it
20:44.35babijoeethe glemsom autobuilds were not working so i couldnt try it
20:44.37IceBoneQuicker wakeup on incoming call?
20:44.42cr2herpez: because i have athena too, and some thing are still not in the wiki
20:44.58MrPippymy first test with bank2, it worked great, stable for a full hour doing really intensive stuff
20:45.07Boydelland then?
20:45.07MrPippyafter that, i just couldn't get it stable no matter what the memory config
20:45.13phhstrange
20:45.14herpezcr2 - i will send "them" to here, they will have more support. I think that with news from raph and so on, android is waking up people (just my guess)
20:45.20Boydellhm
20:45.26MrPippyand the panics were fundamental memory stuff
20:45.41Boydellthat sucks, was looking forward to getting rid of some of these panics
20:46.25phhMrPippy: and you don't know what you did wrong when it worked ? :D
20:46.42MrPippyi'm pretty sure i just need to backport some more patches
20:46.42MrPippys
20:46.42MrPippyin
20:47.08MrPippysince 2.6.27 dates from aug2008, and this patch was in sep2009, a lot happened (including a few patches specifically for sparse)
20:47.24herpezin last kernels, in blackstone, the wake time is about 5 seconds. Just to inform, don't know if it exists also in other devices and if you are aware of it.
20:47.52*** join/#htc-linux malgon (n=simon@ABordeaux-257-1-78-79.w90-50.abo.wanadoo.fr)
20:48.27*** join/#htc-linux luc_ (n=luc@89-115-128-35.cl.ipv4ilink.net)
20:48.34phhgrrrrr
20:48.36phhwhy all my reads are 0
20:49.03*** join/#htc-linux c2d (n=Mike@port-92-200-239-36.dynamic.qsc.de)
20:51.02cr2phh: you must see the 0x50a response from pdsm_client_init(1)
20:51.14babijoeelive wallpaper is so good :)
20:51.33Boydellits nice, but I heard it EATS the battery alive
20:52.08phhBoydell: bah only when you display home no ?
20:52.20phhit prevents the system from sleeping too
20:52.38Boydellphh: why would it prevent sleep?
20:52.47phhBoydell: I mean idle
20:52.52tmztwakelocks
20:52.54tmztbut yeah
20:53.04phhtmzt: I hope they aren't that stupid
20:53.27Boydellah
20:53.30tmztit's only on home and it times out
20:55.33BoydellI hate it when my when goes into idle anyways
20:55.47BoydellIf I want it to sleep, I make it sleep ;)
20:56.15phhBoydell: I think you don't know what idle is
20:56.39Boydellmaybe I'm mistaken?
20:56.45phhidle is that the cpu (and only the cpu) is mostly stopped when it does nothing
20:56.46tmztidle is anytime a prcoess isn't doing something
20:56.50tmzton x86 it's hlt
20:56.59tmztthe cpu sleeps until something wakes it
20:57.12tmzteither timer, or in NOHZ world the next scheduled event
20:57.22BoydellOhhhhh
20:57.34BoydellI was thinking after an idle time it goes into idle
20:57.42Boydell*sleep
21:02.02*** join/#htc-linux leaigor (n=laigor@188.134.16.241)
21:06.59*** join/#htc-linux malgon (n=simon@ABordeaux-257-1-78-79.w90-50.abo.wanadoo.fr)
21:07.51*** join/#htc-linux fish1209 (n=fish1209@unaffiliated/fish0912)
21:18.23*** join/#htc-linux ali1234 (n=al@s15238489.onlinehome-server.info)
21:19.43*** join/#htc-linux marcin_ (n=marcin@chello089077185059.chello.pl)
21:19.45Boydellit went dead in here?
21:20.40phhno, I'm just trying to dump rpc reads, but I won't stop doing mistakes
21:21.26Boydellah, so your working hard, carry on then! lol
21:21.39phhhard but bad.
21:21.55Boydellhey, its more than im doing right now
21:22.01phhlol
21:22.19*** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes)
21:26.18Boydellcould be reading "C ALL-IN-ONE DESK REFERENCE FOR DUMMIES" like me ;)
21:26.54NetRipperdcordes, you rang
21:26.56NetRipper?
21:26.56NetRipper:)
21:28.23dcordesNetRipper, yea I intented to ask about leo news
21:28.43tehtrk_homepolyrhythmic: I just wonder how much of a kernel time CPU hit the journaling will incur
21:29.03NetRippercr2, to use the graphics driver from the codeaurora tree, i'd need to use everything related too? mdp? mddi?
21:29.14NetRipperdcordes, ah umm ok well i kinda try to keep my blog up to date
21:29.19NetRipperhttp://blog.netripper.nl
21:29.43NetRipperi basically havent gotten much further.. i'm trying to fix some things that still go wrong, in order to get msm_fb to work
21:30.01NetRipperso what you read there is pretty accurate still
21:30.25dcordesvery nice
21:30.41*** join/#htc-linux pH5 (n=ph5@e178197223.adsl.alicedsl.de)
21:31.23phhcr2: http://husson.hd.free.fr/dm.3 I'm still not sure if my read dumps are right
21:35.33cr2NetRipper: i didn't compare codeaurora with nexus tree
21:35.42cr2phh: you run this on diam100 ?
21:35.48phhyes
21:36.22cr2[  215.042449] oncrpc read
21:36.23cr2[  215.042449] 00000001 00000001 00000000 00000000 00000000 00000000 0000050a
21:36.29NetRippercr2, the main tree of codeaurora is pretty interesting.. there's lots of comments in the drivers.. most if it is 6 months old though
21:37.30cr2this the init handle response
21:37.34cr2[  215.042449] oncrpc read
21:37.35cr2[  215.042449] 00000001 00000001 00000000 00000000 00000000 00000000 0000050a
21:37.36NetRipperwell ok might be exagurated (or however you spell it), but look at https://www.codeaurora.org/gitweb/quic/le/?p=kernel/msm.git;a=blob;f=drivers/video/msm/mdp.c;h=027990d394f915f78d1793de16bebdc6d48bb13c;hb=HEAD
21:38.17cr250a for (1)
21:38.45cr2[  215.538238] oncrpc read
21:38.47cr2[  215.538269] 00000001 00000001 00000000 00000000 00000000 00000000 00001f40
21:39.00cr21f40 for (b), it's xtra and already known.
21:39.06ToAsTcfhphh: i take it u didnt make it very far on the camera
21:39.19phhToAsTcfh: anyway it won't be of any help for you
21:39.24phhI'll use control0 and cie
21:39.33ToAsTcfherrr
21:40.51phhcr2: isn't there supposed to be a prog id in the response ?
21:40.52ToAsTcfhi need the libcamera to bwe writen for our camera. ive been looking at the source for it and playin a bit but its really of no use for my camera
21:40.54cr2phh: some calls get 1 and others 0 as response.
21:41.05cr2phh: yes, and it works
21:41.14cr2wince never calls =1
21:41.17cr2only =1
21:41.18cr2only =2
21:41.22phhah.
21:41.27cr2and the =b value is ok.
21:41.45ToAsTcfhi cant load msm_camera because the symbols arent in the kernel
21:41.46*** join/#htc-linux m1dlg (n=m1dlg@bb-87-81-252-83.ukonline.co.uk)
21:41.50cr2i forgot if 1 or 0 is success
21:41.55cr2check the source
21:42.06tmztwhat symbols?
21:42.24ToAsTcfhis there another way to load modules without being able to modify the kernel
21:43.20phhcr2: 0 means working
21:43.26phhI think
21:43.45ToAsTcfh?
21:44.14cr2[  216.041748] 00000002 3000001d 51c92bd8 00000003 00000001 a9710411 a97103f1 ATL callafter
21:44.16cr2[  216.041992] 00000002 3000001d 00000000 00000004 00000001 a9710411 a97103f1
21:44.17cr2[  216.042266] [RPC] CALL to 3000001d:0 @ 0:00000001 (52 bytes)
21:44.24cr2[  216.040588] oncrpc read
21:44.26cr2[  216.040618] 00000001 00000001 00000000 00000000 00000000 00000000 00000001
21:44.29cr2fails, ret=1
21:44.37cr2the last value
21:45.25cr2put 1,4,6 as params
21:45.38cr200000001 a9710411 a97103f1 now
21:45.41cr2do
21:45.44cr21 4 6
21:46.06phh4 instead of a971041 ?
21:46.12cr2yes
21:46.14phhok
21:46.22ToAsTcfhphh: i remember u telling me i could load a module without modifying the kernel source. what were u talking about?
21:46.42phhToAsTcfh: faking the kernel identifier string
21:46.43cr2tmzt: this xtra here is PITA
21:47.01ToAsTcfhhmm and thats what it called
21:47.06polyrhythmictehtrk_home: me neither, but let me know if you try it, I have a kaiser also
21:48.57cr2phh: 02:13:12 [D:GPS] GPS: [StartWorkerThreadIfNeeded] TCXO_LOCK_ID_GPS Locked
21:49.16cr2phh: i think it protects against the clock switch
21:49.56tehtrk_homepolyrhythmic: will do. I know you do, I'm using your eclair build from xda :P
21:50.35cr2<PROTECTED>
21:50.40cr2this is interesting
21:51.58cr202:13:12 [D:GPS] GPS: [PDEvent] clientID=3491, event=32
21:52.00cr202:13:12 [D:GPS] GPS: [PDEvent] PDSM_PD_EVENT_BEGIN
21:52.01cr2[RPC] r 51248170
21:52.02cr202:13:12 [D:SMD] +SerOpen.
21:52.04cr2hmm
21:52.07cr2clientID=3491
21:53.38cr2what was the smd channel for xtra data ?
21:54.05phhhum it's done over smd ?
21:54.08polyrhythmictehtrk_home: glad to hear it, hope to have an AOSP build out soon :) just busy with work
21:54.20cr2it's transfered somehow
21:54.34cr2phh: it can be seen in the dumps
21:54.49cr2with the xtra urls
21:55.15tehtrk_homeUnderstandable. That's one of the reasons for me not having my own build yet. AOSP?
22:00.24phhcr2: oh wait. the call that crashes is procedure id=0x3 (amss 6120) or id=4 (amss 5200) but it seems they don't exist ? (or they are not documented)
22:01.03phhah it's ATL not PDAPI
22:01.04phhsorry
22:01.32phhcr2: am I supposed to do procedure++ for ATL ?
22:01.49cr2check wiki
22:02.01phhright
22:02.13cr24,3  pdsm_atl_l2_proxy_reg (1,4,5) g1:(1,a9710411,a97103f1)
22:02.23cr2i think you do it right already
22:04.12phhhum, you told me to do 4 6
22:04.15phhso 4 6 or 4 5 ?
22:05.55IceBoneHey, guys... do you know what might be causing Eclair so long to wake up? It takes at least 5 rings during an incoming call to turn the screen on so I know who's calling me.
22:06.21phhIceBone: mmc is slow to wake up.
22:06.37IceBonemmc?
22:06.42phhSD
22:06.45IceBoneAh.
22:08.13IceBoneCan that be fixed or is it a flaw with the Diamond?
22:08.24stinebdwhat's new? have camera, gps, gl magically started working yet?
22:08.33phhstinebd: naa
22:08.56tmztthat needs nand then?
22:08.57phhIceBone: we will need to use nand on ebi.
22:09.02stinebdgps can wait anyway, we have geolocation in the ril now
22:09.14IceBoneWell, today's build is much faster than that of 2 days ago.
22:09.17tmztlac?
22:09.22phhstinebd: I won't driver with tower location :p
22:09.22IceBoneGreat job, everyone.
22:09.22phhtmzt: yes
22:09.33stinebdphh: left turn in 4km :D
22:09.34tmztcool, that's enough for google maps?
22:09.39phhtmzt: yes
22:09.50phhtmzt: but seriously not for navigation.
22:10.13stinebdworks nice for local search results and stuff
22:10.36ToAsTcfhphh: this seems to be a pretty deep quest. faking kernel identifier string isnt i guess done by meer mortals lol
22:10.39stinebdand the weather and news applet if you have legally obtained it somehow
22:10.46IceBonetries maps
22:11.01tmztToAsTcfh: huh?
22:11.19ToAsTcfhin other words i cant find anything on doing it.
22:11.38cr2phh: 4 5
22:11.48ToAsTcfhon how to do it i meen
22:11.58phhcr2: baaaaah
22:12.02tmztwhat string?
22:12.05tmztuname's?
22:12.05stinebdphh: you haven't by chance tried out nohz yet have you?
22:12.10phhstinebd: no
22:12.16tmztlook for sys_uname I think
22:12.22tmztbut I wouldn't fake that
22:12.37cr2stinebd: with opencelldb ?
22:12.41stinebdphh: i'm having trouble finding faults in it, aside from losing adb shortly after boot and idle sleep
22:12.53ToAsTcfhwhen loading a module modprobe needs things from the kernel its self.
22:13.07stinebdcr2: was that meant for me?
22:13.17*** part/#htc-linux c2d (n=Mike@port-92-200-239-36.dynamic.qsc.de)
22:13.18cr2stinebd: http://www.opencellid.org
22:13.41stinebdcr2: i don't understand
22:13.51phhcr2: no, google's DB
22:13.58ToAsTcfhthe kernel i guess needs to have symbols added to know what to do with the new found module
22:14.05stinebdohhh for geolocation
22:14.13stinebdcr2: phh is right, google's
22:14.24chamonixcr2 and stinebd : besides opencellid you may want to try ericsson's cell-id lookup too: https://labs.ericsson.com/apis/mobile-location/documentation/simple-cell-id-lookup-application-android
22:14.41phhchamonix: uh ? ericson's offers his DB ?
22:14.45chamonixyea
22:14.51chamonix3,6M cells
22:15.03stinebdmight i ask why to do this?
22:15.06cr2chamonix: i want to gather such info in linux
22:15.13phhstinebd: google ?
22:15.33chamonixcr2: how do you mean "gather"? you want to log?
22:15.49phhchamonix: explore the entire world with GPS+LAC
22:15.54phhand do a DB with that
22:15.59phha free db
22:16.10stinebdthat could take some time
22:16.17phhlike OSM
22:16.20chamonixwell there are quite a few of those already, with JSon and webservice interface
22:16.33chamonixgooglemaps has a reverse engineered API too
22:16.42chamonixI men online
22:16.47chamonixs/men/mean
22:16.51phhchamonix: an open DB i meana.
22:16.54phh-a
22:16.56cr2chamonix: yes. when i'm close to a tower, i'dlike to know its data
22:17.21chamonixcr2: I can send you my code that does that
22:17.42chamonixusing telefonymanager + whateverwebservice or gmaps
22:17.44cr2chamonix: code ?
22:17.49chamonixjava code
22:18.08cr2you are missing the point
22:18.16chamonixI guess :)
22:18.23cr2i know my location with gps
22:18.41phhI'm definitely a bad coder
22:18.55chamonixok so u want surrounding cells right?
22:19.02cr2so i'd like to store the base station data like LAC/CID etc
22:19.30cr2for gsm we can do itwith at+creg=2 and at+csq/at+htccsq
22:19.41cr2what about umts
22:19.43cr2?
22:19.46phhcr2: same
22:19.54phhI don't know why, but it works the same way
22:20.02chamonixme neither
22:20.05phh(afaik it's not supposed to)
22:20.10chamonixit's not supposed to :)
22:20.10cr2there are many debug AT commands, but they  are undocumented
22:20.18cr2phh: i get CID=0
22:20.26chamonixUMTS has psc for surrounding cells
22:20.28phhcr2: really ?!?
22:20.31cr2and fixed CSQ
22:20.34tmztphh: openbmap has that mostly
22:20.35cr2yes
22:20.44tmztisn't lac related to wgs somehow?
22:20.50phhwgs ?
22:21.32tmztToAsTcfh: what symbols, pleasr list them
22:21.46tmzta way of encoding location on the planet
22:22.08chamonixlac it's not geolocation
22:22.08phhafaik it's not related at all
22:22.10cr2phh: in your log only this atl call failed
22:22.24cr2tmzt: geolocation=lat/long/z
22:22.44cr2phh: the first 1,4,5 call
22:22.46chamonixbut u can get geolocation from lac + fancy algorithm + database
22:23.00phhchamonix: uh ? you need algos ?
22:23.50phhluc_: no it's not
22:23.53cr2chamonix: where do i download this database for cote d'ivoir ?
22:24.51chamonixphh: as far as I got it there is some triangulation when multiple cells are available
22:25.11chamonixcr2: wow, I haven't seen any downloadable data, just webservices
22:25.14phhchamonix: just tell me how to get multiple cells at the same time :D
22:25.20cr2chamonix: it's the same idea as openstreetmap. such databases contain a lot ofoutdated, wronganf intentionally false information
22:25.39chamonixphh: RIL lists the neighbouring cells
22:25.45phhchamonix: no it doesn't
22:25.51chamonixwell, 1 at least :)
22:25.54cr2chamonix: with wihc call ?
22:26.07phhchamonix: I checked with htc ril, it does the same
22:26.16tmztcr2: when are you going there?
22:26.22cr2phh: at+3gncell ?
22:26.31phhcr2: I've never seen it returning anything
22:26.32chamonixrequestNeighboringCellIds
22:26.39cr2tmzt: was just n example
22:26.51phhchamonix: yes that's theorically :p
22:26.57cr2phh: not on 5225 amss:(
22:27.15phhcr2: ok
22:27.38cr2phh: but there are at$3g* commands
22:27.43phhyes
22:27.48phhI tried them without much luck
22:27.56cr2phh: some of them work
22:28.08cr2phh: and there is a filedtest.exe
22:28.19chamonixI've read the UMTS spec the other day, there's noting much except tons of theory and timings
22:28.28cr2phh: you can dump AT smd fifo while using it
22:28.42phhcr2: iirc I did
22:29.12cr2chamonix: some guy fron TX posted some helpfl doc at xda-dev
22:29.38chamonixregarding RIL or location stuff?
22:29.58phhlol, dumping ramconsole crashes wince
22:30.09ToAsTcfhtmzt: hold up i think i got it. modprobe passes a string intern it gets an identifier. then modprob checks the modprobe.conf for that string. then knows to load the .ko. i think this is what phh was talking about. if im wrong phh please let me know
22:30.24phhToAsTcfh: not at all :p
22:30.29phhit's the kernel who checks the string
22:30.46phhthe 2.6.27 ARMEv6 blabla
22:30.47ToAsTcfhok ok my bad.
22:30.51cr2omg. geoid separation
22:30.52*** join/#htc-linux RandomPPCGeek (n=ponicg@ool-457eebf2.dyn.optonline.net)
22:30.59chamonixI must admit I use loc only so my mobile knows where it is to switch to the right profile.... I hate when my phone rings while I'm in a meeting so it turns to silent whenever I'm near the office :)
22:31.17phhchamonix: I need that.
22:31.20RandomPPCGeekhey all
22:31.30ToAsTcfhyeah but if the kernel doesnt know the string then how to monipulatte that even in my favor
22:31.31cr2must be veryprimitive though
22:32.16chamonixphh: I'll publish my code when I'm finished but you can have a look at "locale beta" from the market.... it's pretty nice except it uses only the google api and you won't see any technical stuff like cid+lac
22:32.50stinebdcool
22:32.52stinebdthanks chamonix
22:32.59phhI knew I've seen such an app on the store.
22:33.27stinebdi saw an app that makes noises of various bodily functions
22:33.32chamonixright now my LocService detect position, charging, time, and adjusts to any profile based on rules, and sends stuff like tweets or SMS when you enter an area e.g.
22:33.51phhhuhu
22:34.06IceBoneThe only thing that needed autotweeting was the newlyweds' bed.
22:34.20chamonixphh: locale won the andoir innovation contest, there's the beta and a paid version but the beta is maintained and it has scripting features plus a really cool API
22:34.34chamonixs/andoir/android
22:34.35stinebdso you're saying don't buy it
22:34.43cr2chamonix: sound like perfect spyware :)
22:34.47chamonixlol
22:34.55chamonixcr2: have a look at google lattitude
22:35.12stinebdit's not spying if you opt in ;)
22:35.17cr2yah, theyshouldburninhell
22:35.22chamonixstinebd: I would pay for it but I just wanted to says it's not just a beta to attract ppl and "force" them paying afterward
22:35.25tmztToAsTcfh: alias?
22:35.27tmztyeah
22:35.39tmztbut not modver string
22:35.47tehtrk_homepolyrhythmic: does the latest eclair build seem slower? It could either be that, my partitioning, or not using the hybrid rootfs that i was using with the mid-december eclair build I was using
22:35.48tmztbut you said missing symbols
22:36.02phh[  218.192718] timeout waiting for mdp to complete 1
22:36.05phhwhat's the hell.
22:36.30*** join/#htc-linux ali1234 (n=al@s15238489.onlinehome-server.info)
22:36.33cr2chamonix: goole IS the spyware business
22:36.40phh:)
22:37.14cr2i draw my own  maps at openstreetmaps
22:37.30chamonixwell, even google discovered that there's a markting argument in at least pretending to inform ppl about the data held about them
22:37.39chamonixit's politically correctness
22:37.44chamonix-ly
22:37.46*** join/#htc-linux rzk__ (n=rzk@188.162.48.135)
22:37.53cr2and they are much better and accurate than what google can provide
22:38.34chamonixthat would be cool to replace the google api by another one
22:38.43chamonixas per loc I mean
22:39.25polyrhythmictehtrk_home: not to me, and I have email & google voice running in the bkgrnd... I make good use of taskiller though
22:41.05chamonixcr2: http://www.mobiflip.de/2009/11/openstreetmap-api-fuer-android/ <--- someone already did that, so I'm definitely going to integrate that
22:41.18phhD/libgps  ( 1178): qct_gps_set_position_mode = 1, fix_frequency = 1
22:41.18phhD/libgps  ( 1178): qct_gps_start
22:41.21phhcr2: seems better.
22:41.24phhkind of.
22:41.34stinebdhmm
22:41.38cr2phh: show me the full log
22:41.48chamonixand it's interesting, behind the API it's ericsson :-D
22:41.48cr2hah. http://myapp.fr/cellsIdData
22:41.49stinebdit appears to be in some sort of german language
22:42.04chamonixsry for that stinebd :)
22:42.14stinebdthat's okay, i took four years of german
22:42.26stinebdsome day i'll remember how to read it
22:42.46chamonixlol
22:42.50phhcr2: just to mention, it crashed.
22:42.59IceBoneAnyone know where I could get the Android logo, but in nice 3D, like it is in the Hero startup animation?
22:43.02chamonixno need, click on the first link and you get here: https://labs.ericsson.com/apis/mobile-maps/
22:43.16chamonixapii key registered
22:44.10cr2chamonix: http://wiki.openstreetmap.org/wiki/Android
22:44.31cr2phh: you use mode=1, which is never used on wince
22:45.19chamonixcool
22:45.33chamonixfinally I got to code Java again :)
22:45.41chamonixs/got/get
22:46.14phhGRRRRRR
22:46.19phhATL is wrong AGAIN
22:46.26phhwhy can't i code that.
22:46.46phhand how can it not return an error if it's wrong
22:47.12*** join/#htc-linux Hoochster (n=hooch@74.194.109.73)
22:50.56*** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes)
22:51.24ToAsTcfhphh: so i need to create and edit /etc/modprobe.conf to have an alias for the .ko?
22:51.38phhno
22:52.12ToAsTcfhok then im reading the wrong thing
22:53.16ToAsTcfhor modprobe will make the .conf oncwe it gets the identifier part from the kernel
22:53.23phhand i'm writing the wrong thing.
22:53.27phhno.
22:53.31phhit's not linked with modprobe at all
22:53.51rzk__polyrhythmic: I've uploaded latest tinboot build for kaiser, working good with your eclair build, test if you want - http://rzk.sadistto.net/KAIS-320.NBH
22:54.52*** join/#htc-linux DJWillis (n=djwillis@82-46-19-72.cable.ubr02.bath.blueyonder.co.uk)
22:55.05cr2phh: PDSM_PD_EVENT_*, do we know something about it ?
22:55.18phhI don't.
22:55.48IceBonehttp://forums.finalgear.com/customavatars/avatar15861_12.gif
22:56.30ToAsTcfherrr... this is frustrating. i cant even figure out how to do this. or im just looking in all the wrong places
22:57.33cr2rzk__: do you have working gps on kaiser ?
22:57.47rzk__cr2: i have no kaiser, lol.
22:57.56rzk__I have niki
22:58.43cr2it's the same for me :)
22:59.39rzk__gps is hardly disabled on niki, no code in radio & spl, someone on forum tried to figure out what is deleted, but no news from him.
23:00.07phhrzk__: doesn't that need a special physical radio ?
23:00.35rzk__may be, but gps & wifi is in qualcomm's SoC
23:00.49phhgps yes, but you still need an antenna
23:01.01polyrhythmicrzk__: that's 240x320 or 320x480?
23:01.07rzk__240
23:01.10polyrhythmicrzk__: also, congrats! that's awesome
23:01.18polyrhythmicI will test that later tonite
23:01.35cr2phh: i think they process GPS signal as UMTS
23:01.44phhcr2: meaning ?
23:01.45cr2phh: so it's the same antenna
23:01.50phhuh ?
23:01.54phhbut it's not the same frequency at all afaik
23:01.57cr2with the same mDSP
23:02.28tmztwifi is?
23:02.34cr2well, you change the PLL frequency
23:02.51phhD/libgps  ( 1184): qct_gps_inject_time(1263682956558, 204000, 220)
23:02.53phhnew crash.
23:02.53cr2phh: you don't need to transmit for gps
23:03.07phhcr2: you still need to receive.
23:03.13tmztToAsTcfh: what symbols does dmesg report are missing when you try to load msm_camera
23:03.19cr2phh: it's a different (unknown) function
23:03.25tmztyou'll get format error but also missing symbols
23:03.35cr2phh: for inject time
23:03.47cr2i think 5b,1c (afair)
23:03.52tmztcr2: is that an android internal thing or replay rpc from amss?
23:04.14cr2tmzt: where?
23:04.31tmztthe PDSM_PD_EVENT symbol
23:04.47cr2tmzt: wince .dll
23:04.53tmztok
23:04.57polyrhythmicrzk__: do sounds, calls, GPS, data, etc work?
23:05.00*** join/#htc-linux Traveler0 (n=traveler@cpe-066-057-232-249.nc.res.rr.com)
23:05.03cr2tmzt: isthere anyandoid code for gps ?
23:05.04tmztso what are you asking?
23:05.20tmztsome but it's not all open
23:05.35cr2tmzt: t's not a symbol but a bitmask
23:05.35tmztproably in base.git or source.android.com for easier navigation
23:05.40tmztok
23:06.05rzk__polyrhythmic: sounds freezing kernel, there is a bug in adsp, and i cant test gps :)
23:06.44cr2haha. pretty old. http://blog.codetastrophe.com/2008/12/accessing-hidden-system-service-apis-in.html
23:06.45phhcr2: http://husson.hd.free.fr/dm.4
23:07.11polyrhythmicrzk__: I read that dzo was working on updating sound drivers a few weeks ago but I never saw an update, idk what the state of adsp source is
23:07.24cr2phh: but you still got 1 for ATL
23:07.38polyrhythmicrzk__: I can't flash until sound is working :( kaiser is my only phone
23:07.48phhcr2: uh ? I read 0
23:07.57rzk__oh
23:08.03cr2[  213.643554] 00000001 3000001d 00000000 00000004 00000001 00000004 00000005
23:08.04cr2[  213.643646] [RPC] CALL to 3000001d:0 @ 0:00000001 (52 bytes)
23:08.06cr2[  213.644470] [RR] - ver=1 type=1 src=0:00000001 crx=0 siz=32 dst=1:c4912560
23:08.07cr2[  213.644653] [RPC] READ on ept c4912560
23:08.09cr2[  213.644714] [RPC] READ on ept c4912560 (28 bytes)
23:08.10cr2[  213.644744] oncrpc read
23:08.12cr2[  213.644744] 00000001 00000001 00000000 00000000 00000000 00000000 00000001
23:08.22phhanswer is byte 0 ?
23:08.41cr2last int32
23:08.45rzk__polyrhythmic: http://forum.xda-developers.com/showpost.php?p=5376100&postcount=32 - about sound
23:08.56phhcr2: bah last int32 is 0 then ?
23:08.59ToAsTcfhphh: adb shell modprobe v4l2-int-device.ko
23:09.00ToAsTcfhmodprobe: chdir(2.6.27-533ce29d): No such file or directory
23:09.10cr200000001 00000001 00000000 00000000 00000000 00000000 00000001
23:09.16phhToAsTcfh: yes you have to create /lib/modules/2.6.27-533ce29d
23:09.27cr2xid,1,0,0,0,*reply
23:09.30cr2err
23:09.33cr2xid,1,0,0,0,0,*reply
23:09.36phhhum
23:09.53phhbut it seems to be the answer android expected ?!?
23:09.59*** join/#htc-linux Tinyboom (n=nahh@ti0121a340-dhcp0200.bb.online.no)
23:10.04polyrhythmicrzk__: sound driver has other problems too, like preventing Eclair from sleeping... babijoee solved it somehow...
23:10.15cr2maybe it was happy even with the failed call
23:10.29cr2at least the arm9 was more happy now.
23:10.31phhmaybe
23:10.34phhyes
23:10.35polyrhythmicrzk__: also we can't record from the mic or use voice dialer
23:10.45phhcr2: so i divert 5b/1d to 5b/1c ?
23:10.58polyrhythmicbut it all works in donut :/
23:11.01cr2no. wait
23:11.03phhI'd have expected 1e
23:11.54cr2xtra_inject_time_info ?
23:12.28cr2is 1e
23:13.44cr2lol
23:13.48cr2Accessing private fields like this in Java is generally frowned upon in production code, but we're hackers and we want the data and we can do whatever we want to get it and the establishment can't stop us.
23:14.14polyrhythmicyes! don't let the establishment hold you down!
23:14.26phhcr2: I guess i'm going to do proc++ for every single proc then ?
23:14.29stinebdmy mother wants to buy a rhod/tilt2
23:15.07stinebdi should drive to her place one night and sneak linux onto it
23:15.21phhnaa keep your raph
23:15.31stinebdi plan to
23:15.37stinebdwhat's wrong with having two phones?
23:15.40stinebdbabijoee does it
23:16.33phhit's not enough.
23:16.38phhcr2: how many phones do you have ? :p
23:16.44cr2phh for 5b
23:16.56phhcr2: not for 1d ?
23:17.15cr2phh: forgot to check 1d for topa/rhod
23:18.10phhI still don't know how he'll send xtra data though.
23:18.16phhs/he/it/
23:18.26cr2phh: right now ? a780, raph,uni,herm,sable,athe
23:18.55cr2gave away hima and ba
23:18.57tmztno rhod?
23:19.03cr2no
23:19.40cr2i really should buy nexus
23:19.44phhnow the problem with GPS, is that if it doesn't crash, I won't be able to test it without going in the cold outside.
23:19.50cr2a780is the only phone that i use :)
23:20.16cr2phh: hehe. the same problem here
23:20.26phhanyway, it will crash
23:20.29cr2phh: that's why i could not get a full trace ;)
23:20.34cr2in wince
23:21.11phhcome on. crash.
23:21.19cr2sucking qcom gps does not get a fix even with the opened window
23:21.24cr2lol
23:21.43phhD/libgps  ( 1182): qct_gps_inject_time(1263684053304, 198780, 185)
23:21.43phhE/RPC     ( 1182): 3000005b:90380d3d call packet arrived, but there's no RPC server registered for 3100005b:00000000.
23:21.44phhhum.
23:21.53phhI'll have to see rpc log.
23:21.58cr2goof
23:22.07cr2you need to register the CB server
23:22.17cr2i thought i did it !?
23:22.39phhthe problem is the version mismatch in the return of read() no ?
23:22.55cr2#define RPC_PDAPI_CB_PROG       0x3100005b
23:23.07phhoh there is 1 behind.
23:23.13tmztcr2: you still working with nc20 or is that your laptop now?
23:23.18cr2well, change the CB version
23:23.34phhwait, I'm not sure of what I'm supposed to do here
23:23.38cr2tmzt: nc10 is my inet gw
23:23.58tmztthat's via chipset?
23:24.03phhI have to call new_server(0x3100005b) ?
23:24.11cr2tmzt: i run notebook+nc10+24"lcd
23:24.27cr2phh: it's the "dzo"-api :)
23:24.39phhyou mean ugly as hell but works ? :p
23:24.45cr2phh: didn't i register the cb server ?
23:24.46cr2lol
23:24.51phhI can't see where
23:25.01cr2g1 has 3 meto
23:25.10cr2hds of ding it ;)
23:25.35phh[  208.707672] [RR] x RESUME_TX id=1:c2b677a0
23:25.40phhit means ARM9 wants to say something ?
23:25.50cr2static struct msm_rpc_server pdapi_rpc_server = {
23:25.51cr2<PROTECTED>
23:25.53cr2<PROTECTED>
23:25.54cr2<PROTECTED>
23:25.56cr2};
23:25.58cr21: is arm11
23:26.02cr20: is arm9
23:26.14ToAsTcfhadb shell modprobe -v v4l2-int-devicemodprobe: 'v4l2-int-device.ko': invalid module format
23:26.30ToAsTcfhadb shell insmod /system/modules/lib/modules/2.6.27-533ce29d/v4l2-int-device.ko
23:26.30cr2<PROTECTED>
23:26.30ToAsTcfhinsmod: init_module '/system/modules/lib/modules/2.6.27-533ce29d/v4l2-int-device.ko' failed (Exec format error)
23:26.31cr2<PROTECTED>
23:26.51phhcr2: haha, this needs the board-htcraphael-gps to be loaded :p
23:26.55cr2phh: it's the "official" way, but looks a bit inflexible
23:27.12cr2phh: well, copy this ocde to rfkill
23:27.23phhoh wait. this might already be in it
23:27.37phhyes it is
23:27.53phhcr2: doing init twice in a row is a problem ?
23:28.04phh(ie rfkill then libgps.so)
23:28.17cr2don't know
23:28.29phhI bet on an ARM9 crash.
23:28.52ToAsTcfhphh: ok man where do i find the string i need to fake or where do i start.? because google isnt helping me much. im prolly searching for the wrong thing or something idk
23:29.01phhToAsTcfh: dmesg.
23:29.13phhyou'll see two strings in it identifing the src and dst kernel
23:29.33cr2phh: new log ?
23:29.42phhyes wait
23:31.11phhhttp://husson.hd.free.fr/dm.5
23:31.26cr2phh: it seems that you are farther than we wrer before
23:31.42phhyeay \o/ crashing as soon as calling rfkill \o/
23:31.57phhI guess I'll remove everything but rpc_register_server for first tests.
23:32.29phhoh wait. it seems the problem is in markinus' code.
23:32.41cr23000005b 00000000 0000001e failed too
23:32.50phhlol
23:32.56phhas long as it doesn't crash, android doesn't care :p
23:32.56tmztToAsTcfh: try insmod -f
23:32.59cr2bt it's xtra
23:33.00tmztbut that's not it
23:33.28tmztyou're going to have to backport the new v4l2 I think
23:33.37tmztcan you explain what your doing?
23:33.48cr2phh: i think i've never seen thses api, becausei never used gps with umts enabled.
23:33.57phhcr2: ok
23:34.23phhcr2: they are of any use for you yet ?
23:34.39cr2who ?
23:34.51phhandroid logs
23:34.55tmztisn't 1 the router? 0 is apps?
23:35.06ToAsTcfhwell im trying to start with atleast loading it. ive already pushed the modules for it to the device. i just wanna get them to load. then i wanna load msm_camera
23:35.11cr2tmzt: o i remote, 1 is local
23:35.28cr2phh: not yet
23:35.31phhok
23:35.36ToAsTcfhv4l2 is just what i have on the device as of now
23:35.56ToAsTcfhi have pushed to the device
23:36.04cr2phh: it's funny that peddling wrong data to arm9 over rpc you can crash it :)
23:36.22phhcr2: I'm not sure "funny" is the right word
23:36.23ToAsTcfhtmzt^^^^^
23:36.28phhI'd better say scary
23:36.31tmztToAsTcfh: what kernel is msm_camera from? why don't you have source to begin with?
23:36.33phhgrrr
23:36.33cr2shows how secure is ths whole monster called amss
23:36.41phhI'm hitting a bug in markinus' code he commited today.
23:36.45phhwell yesterday now
23:37.12ToAsTcfhtmzt: i do have the source for the modules
23:37.18tmzta provavbly correct os can't handle new input very well
23:37.26tmztwhere are they from?
23:37.28ToAsTcfhi dont have the souce to build a kernel
23:37.36tmztdo you have source for your kernel?
23:37.42tmztthen what are you doing?
23:37.42ToAsTcfhyes
23:38.37ToAsTcfhtrying to load msm_camera as a module so i can use the camera in 2.+
23:38.40cr2phh: replace vbus with readl(smem+0xfc00c), while you are at it.
23:38.58*** join/#htc-linux DarkMasterHalo (n=DarkMast@modemcable187.118-80-70.mc.videotron.ca)
23:39.34ToAsTcfhphh: never mind. madcoder said he ahas already tried this and it wont work :(
23:40.05tmztwhat exactly are you doing
23:40.12tmztwhat device what kernel
23:40.24tmztnone of the questions make any sense without that information
23:40.45ToAsTcfhhtcv heroc 2.6.27
23:41.01ToAsTcfhmsm_camera.ko
23:41.29ToAsTcfhtrying to load msm_camera as a .ko
23:41.57tmztand where did you get it?
23:42.01ToAsTcfhbecause the new camera looks for /dev/msm_camera/control0
23:42.11tmztand the old?
23:42.23ToAsTcfhi built the .ko from the gsm hero source
23:42.34ToAsTcfhpmemcamera
23:43.07ToAsTcfhs5k3e2fx
23:43.47tmztis it the same chip?
23:43.52ToAsTcfhyes
23:43.57tmztokay, so you need to fake the modvers?
23:44.17tmztcan't you change EXTRAVERSION in the toplevel Makefile?
23:44.37tmztit's on EMDH?
23:44.55phhcr2: ok. this time gps is going to start.
23:44.58tmztdo you have a kernel for cdma hero working then?
23:45.02phhis crossing his fingers
23:45.13ToAsTcfhno
23:45.21cr2phh: lol
23:45.23ToAsTcfh<PROTECTED>
23:45.35cr2tmzt: emdh is never used
23:45.55phhargh crashed again
23:46.16cr2tmzt: you need 2 lcds to use emdh
23:46.16tmztsorry, pmdh then?
23:46.18phhok I'll have to ask markinus.
23:46.21tmztor client?
23:46.23cr2phh: log ?
23:46.29tmztwhat's it called then
23:46.33cr2tmzt: mddi client is mdc
23:46.38tmztmdc ok
23:46.39phhcr2: it's because of the get_amss_value thing, purely software
23:46.48tmztand vfe
23:47.23cr2phh: amss value can be done with strsep() in board_init()
23:47.36cr2phh: should be done
23:47.41phhcr2: ok
23:47.44phhlater :p
23:47.48cr2olk
23:48.20phhcan it be done at any time ?
23:48.24cr2is worth a global symbol
23:48.29phhyes
23:48.44cr2yes, but you need it for many things everywhere
23:49.26phhcr2: markinus pushed (yesterday I think), a patch to have every amss-dependant stuff in a single file
23:49.26cr2like *cough* gps PROCs :)
23:49.40tmztops?
23:49.51phhbut it's kind of wrong. I don't know why
23:50.21cr2ok
23:50.59phhah no i found the problem
23:51.25cr2<PROTECTED>
23:51.35cr2i think more logging can be added here.
23:51.41cr2in the pdsm_cb
23:57.35phhE/RPC     ( 1184): 3000005b:90380d3d call packet arrived, but there's no RPC server registered for 3100005b:00000000.
23:57.36phhhum.
23:58.46phhI'm thinking this might begin to be a problem
23:58.58cr2phh: maybe that's the problem with the CB server registeration
23:59.10phhI have to understand how userland registers rpc server
23:59.27cr2ok
23:59.55cr2does the kernel log something ?

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