IRC log for #htc-linux on 20100429

00:08.03*** join/#htc-linux Untouchab1e (~Untouchab@82.147.51.146)
00:18.21*** join/#htc-linux tehtrk (~tehtrk@rrcs-24-173-220-30.sw.biz.rr.com)
00:20.26IncognitoManhas anyone actually tried using metamorph on xdandroid?
00:28.01*** join/#htc-linux Marcin (Marcin@chello089078146089.chello.pl)
00:53.30jonprymy first run in and all the way out of GPS_Init():  http://pastebin.com/9YKwEKgW
00:54.05jonpryfreaks out because pdsm_client_pd_reg is not implemented
00:54.42tmzt_what are you working on?
00:54.55jonprywince kernel mode arm wine
00:55.25tmzt_ah
00:55.26tmzt_cool
00:55.29jonpryit has duel purpose. either it will allow people to reverse engineer the drivers better, or the drivers will just work
00:55.46jonpryfor TP2 gps, and sound
00:55.52tmzt_you should spend some time in #hpcdev
00:56.11tmzt_hey, kernel mode haret should be enough to get some of that stuff working
00:56.49jonprythis is running in linux
00:56.59jonprywhat is going on in hpcdev/
00:58.05tmzt_have you looked at reactos arm also?
00:58.28tmzt_ce devs including some who have worked on emulation layers and compatibility
01:05.19*** join/#htc-linux br1ck_ (~br1ck@85.8.72.101)
01:12.45*** join/#htc-linux Vito89 (~quassel@gw.loccal.net)
01:15.21*** join/#htc-linux thedicemaster2 (~thedicema@e200071.upc-e.chello.nl)
01:32.39*** join/#htc-linux jamenlang2 (~jamenlang@68-170-60-12.mammothnetworks.com)
01:43.52*** join/#htc-linux NeoMatrixJR (~chatzilla@173-25-48-60.client.mchsi.com)
01:49.33*** join/#htc-linux Xiaopi[work] (~Pierre@116.247.126.74)
01:50.05*** join/#htc-linux [acl] (~abel@cpe-69-203-141-229.si.res.rr.com)
01:50.50[acl]is it just me or the logs not working
01:50.57[acl]irclogs that is
02:07.45*** join/#htc-linux tfried2001 (~tfried200@125.213.207.18)
02:31.17IncognitoManwhat do i have to change in startup.txt to allow tilt2 keyboard
02:45.14*** join/#htc-linux fakker (~noobhands@host213-123-190-138.in-addr.btopenworld.com)
02:49.04IncognitoMancause the cab isnt working
03:03.30|Jason8|for Android?
03:03.43|Jason8|should be a tilt2 startup.txt in the package you download
03:04.17IncognitoMan|Jason8|, i tried that
03:04.18IncognitoMandidnt work
03:04.28|Jason8|try it again
03:04.30IncognitoManbut i found out what i did wrong in startup.txt
03:04.35|Jason8|if it didn't work, you're doing it wrong
03:04.54IncognitoManphyskeyboard=Tilt2
03:04.59IncognitoManshould have been...
03:05.00IncognitoManphyskeyboard=tilt2
03:05.03IncognitoManlol
03:05.06IncognitoMansmall mistake
03:05.56IncognitoMannow for a bigger question how do i make /dev/block/loop1 /system read/write rather than read only?
03:11.30IncognitoMan...alright
03:30.20|Jason8|lol
03:34.21IncognitoManlol |Jason8|, it seems to be the only question no one can really answer
03:34.28IncognitoManeither that or are hiding from me >_>
03:34.40|Jason8|on a tp2?
03:34.41|Jason8|um
03:34.43|Jason8|you can't
03:35.21AstainHellbringwhy would you want to?
03:37.14*** join/#htc-linux Forsaken|Desk (~Forsaken|@dslb-084-058-210-205.pools.arcor-ip.net)
03:52.03*** join/#htc-linux Forsaken|Desk1 (~Forsaken|@dslb-084-058-209-202.pools.arcor-ip.net)
04:06.49*** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring)
04:07.26*** join/#htc-linux moisha (~chatzilla@69.22.242.31)
04:10.53*** join/#htc-linux BHSPitMini (~BHSPitMon@pool-71-170-176-30.dllstx.fios.verizon.net)
04:51.27*** join/#htc-linux the_sys0p (~the_sys0p@116.199.69.98)
04:55.18*** join/#htc-linux BHSPitMonkey (~stephen@unaffiliated/bhspitmonkey)
04:58.20*** join/#htc-linux jumoit (~samuel@121.77.87.145)
04:58.45*** join/#htc-linux kiozen (~oeichler@rgnb-5d87cc50.pool.mediaWays.net)
05:00.13*** join/#htc-linux goxboxlive (~jrs@mail2.hjellnesconsult.no)
05:11.04*** join/#htc-linux madCoder- (~madcoder@c-68-42-30-56.hsd1.pa.comcast.net)
05:13.40kupophh: you around?
05:14.10kupoor anyone interested in talking about the treo pro
05:25.05*** join/#htc-linux makkonen (~makkonen@cpe-66-69-229-9.austin.res.rr.com)
05:33.00kupoguess no
06:02.53*** join/#htc-linux pitillo (~pitillo@84.123.96.129.dyn.user.ono.com)
06:54.11*** join/#htc-linux Forsaken|Laptop (~Forsaken|@p54B00146.dip0.t-ipconnect.de)
06:59.23*** join/#htc-linux Untouchab1e (~Untouchab@82.147.44.133)
07:15.49*** join/#htc-linux DenPal (~hoper@post1.centr.by)
07:16.04*** part/#htc-linux DenPal (~hoper@post1.centr.by)
07:18.38*** join/#htc-linux [acl] (~abel@cpe-69-203-141-229.si.res.rr.com)
07:23.05*** join/#htc-linux LeTama (~IceChat7@vau06-1-82-228-252-90.fbx.proxad.net)
07:23.35*** join/#htc-linux kvaster (~kvaster@93.84.112.80)
07:30.13*** join/#htc-linux Untouchab1e (~Untouchab@82.147.44.133)
07:34.27AstainHellbringfuck
07:56.03*** join/#htc-linux tfried2001 (~tfried200@125.213.207.18)
08:19.18*** join/#htc-linux [Oli] (~Oli]@dsbg-4db5786e.pool.mediaWays.net)
08:21.42[Oli]hey guys, could someone tell me the actually status of developing one linux kernel for Devices like HD2 (LEO) ?
08:27.23jonpryphh: what is wrong with gps? I see that turning it off breaks it, but turning it on seems to work.
08:34.19*** join/#htc-linux gauner1986 (~Adium@ip-145-93-244-122.fontys.nl)
08:40.28*** join/#htc-linux zachy (~george@ip-85-160-1-227.eurotel.cz)
08:58.03*** join/#htc-linux mickey|office (~Mickey@dialbs-092-079-168-007.static.arcor-ip.net)
09:10.19*** join/#htc-linux Markinus (~Miranda@gtng-4db04af8.pool.mediaWays.net)
09:16.38*** join/#htc-linux kiozen (~kiozen@p5492146E.dip0.t-ipconnect.de)
09:40.38*** join/#htc-linux Marcin (Marcin@chello089078146089.chello.pl)
09:45.11*** join/#htc-linux gauner1986 (~Adium@ip-145-93-244-122.fontys.nl)
09:56.48*** join/#htc-linux obrienmd_sea (~obrienmd@173.160.148.166)
09:57.29*** join/#htc-linux YellowGTO (~quassel@c-71-226-239-246.hsd1.pa.comcast.net)
09:58.02*** join/#htc-linux DCDemon (~PSPdemon@76.123.109.83)
10:00.55*** join/#htc-linux BobVila (~abinford@c-24-12-177-201.hsd1.il.comcast.net)
10:01.40*** join/#htc-linux Sega_Dreamcast (~PSPdemon@c-76-123-109-83.hsd1.fl.comcast.net)
10:12.52LeTamaMarkinus, did you find the way to change initrd memory location?
10:13.17LeTamaIf not: location is fixed by haret, #define PHYSOFFSET_INITRD in linboot.cpp
10:14.58MarkinusLeTama: I didn't find it in the Kernel. Yeah, I thought about haret, but I wundering why this happends only on the cudeaurora kernel . .
10:15.59LeTamaI have the problem of init overlap also when I enable too much options
10:16.44*** join/#htc-linux dekar (~dekar@dialbs-088-079-080-042.static.arcor-ip.net)
10:17.40LeTamaRebuilding haret with initrd did the trick
10:17.59LeTama(moved further in memory)
10:18.53*** join/#htc-linux skodde (~skodde@93.37.128.128)
10:18.56*** join/#htc-linux skodde (~skodde@unaffiliated/skodde)
10:20.10gauner1986cant you set that via haret?
10:20.22LeTamanot directly, no param for it
10:20.27LeTamayou have to recompile it
10:28.06Markinushere is a new testrepo for Leo
10:28.10Markinushttp://gitorious.org/linux-on-htc-qsd
10:28.26MarkinusI chganged the codeaurora tree to support Leo
10:28.46Markinusit's very different to nexus one, and meybe better
10:29.04Markinusbut I haven't much time to test . . . if you want you can look
10:29.34gauner1986cool
10:29.47gauner1986will that fix hangings?
10:29.48gauner1986:P
10:29.57LeTamacool, I'll take a look!
10:31.27*** join/#htc-linux zachy (~george@ip-85-160-34-191.eurotel.cz)
10:31.32Markinusgauner1986: I don't know. We have to test
10:33.56*** join/#htc-linux gauner1986 (~Adium@ip-145-93-244-122.fontys.nl)
10:43.49*** join/#htc-linux GNUtoo|oeee (~GNUtoo@host139-39-dynamic.117-80-r.retail.telecomitalia.it)
10:53.58*** join/#htc-linux the_eye_ (~dimitris@ppp-94-69-28-3.home.otenet.gr)
11:10.29gauner1986hmmm
11:10.36gauner1986netrippers irclog stopped
11:11.11*** join/#htc-linux GeekLad (~GeekLad@adsl-71-224-26.jax.bellsouth.net)
11:13.14*** join/#htc-linux GNUtoo (~GNUtoo@host139-39-dynamic.117-80-r.retail.telecomitalia.it)
11:15.59*** join/#htc-linux Vito_| (~Sysel@195.113.241.225)
11:16.23*** join/#htc-linux GeekLad (~GeekLad@adsl-71-224-26.jax.bellsouth.net)
11:17.19*** join/#htc-linux dcordes (~dccordes@unaffiliated/dcordes)
11:22.54gauner1986Markinus: do i have to switch branches on your repo?
11:23.22dcordeshi
11:23.35mickey|officemoin
11:25.47*** join/#htc-linux balans (~Gebruiker@53546758.cable.casema.nl)
11:25.50Markinusdcrodes: HI
11:26.13Markinusdcordes: I put in the codeaurora repo support for Leo
11:26.29Markinusdcordes: here is a tree http://gitorious.org/linux-on-htc-qsd
11:29.06dcordeslooking
11:29.16mickey|officeyeah, more trees :D
11:29.44dcordeshaha
11:29.49dcordeson more servers
11:29.52dcordeswell
11:30.40dcordesMarkinus, of course you have zero segfaults now?
11:31.47Markinusdcordes: this is a codeaurora clone, we didn'T have a other tree based o this.
11:31.47Markinusdcordes: only for testing. Till now I didn't have egfaults
11:31.54Markinus*segfaults
11:32.23dcordescan you pass me an Image ?
11:33.51Markinusdcordes: but it's only a begin, we have to put the other stuff in like MMC, ( don't have much time) and we have to recompile haret with other initrd location
11:40.07dcordesMarkinus, do you have the link to the source branch
11:40.36dcordesgauner1986, did you boot it already?
11:40.49Markinusdcordes: http://gitorious.org/linux-on-htc-qsd
11:41.19dcordesoh right it's right there. thanks
11:41.27gauner1986dcordes: no.. i'm at the university currently.. will do it when i come home
11:42.33dcordesMarkinus, hm I mean the codeaurora link
11:42.38Markinusdcordes: the tree is very different to Nexus one, maybe it'S better for our . .
11:43.29Markinushttps://www.codeaurora.org/gitweb/quic/le/?p=kernel/msm.git;a=shortlog;h=refs/heads/eclair_caramel
11:43.50dcordesok bookmarked. now I go to the bib and clone it
11:43.52gauner1986i think noone tested it yet?
11:43.53dcordesl8r
11:44.12gauner1986Markinus: do i have to switch branches or sth on that?
11:46.21Markinusgauner1986: no, it's in master
11:46.29gauner1986ok
12:01.16*** join/#htc-linux DenPal (~hoper@post1.centr.by)
12:11.20phhwow. so much logs tonight
12:11.40gauner1986yeah
12:11.40phh[22:07:37] <Captnoord> remember me enabling the mcc power stuff <------ meh ? how ?
12:11.51phh[22:19:21] <Captnoord> I think its the wrong power pin we are using <----- fair enough.
12:14.43*** join/#htc-linux MethoS- (~clemens@134.102.106.250)
12:16.11*** part/#htc-linux DenPal (~hoper@post1.centr.by)
12:27.49LeTamaMarkinus, I tested your kernel, seems nice so far. Init starts, doesn't seem to do much, but it starts.
12:30.40phh[22:43:02] <chamonix> do u know any usb scope solution with linux support? <------- a sound card ? :D
12:34.45phh<PROTECTED>
12:38.00phhjonpry: you want me to explain you how to implement the pdsm_client* functions ?
12:38.55phh[10:31:49] <jonpry> phh: what is wrong with gps? I see that turning it off breaks it, but turning it on seems to work. <----- call pdsm_get_position, you'll see .
12:39.33*** join/#htc-linux Marcin_88 (Marcin@chello089078146089.chello.pl)
12:42.26MarkinusLeTama: do you change the initrd location?
12:43.09LeTamaYes, I'm using a modified haret
12:43.19MarkinusLeTama: so initrd worked?
12:43.29LeTamait starts yes
12:43.38LeTamadoesn't seems to have a console so I don't see much
12:43.38Markinusok, I had not time to test it
12:44.27LeTamabut I see complains about stacks regarding commands in it, so I guess it execute stuff :)
12:53.07*** join/#htc-linux nrirclog (~nrirclog@netripper.com)
12:53.32*** join/#htc-linux nrirclog (~nrirclog@netripper.com)
12:53.53NetRippergauner1986, ^^ up again
12:54.08gauner1986netripper: nice :)
12:54.11NetRipperforgot to restart the bot after upgrade
12:57.22gauner1986shit happens ^^
13:02.39*** join/#htc-linux stinebd (~bryan@gentoo/developer/battousai)
13:06.23*** join/#htc-linux phh_ (~quassel@2a01:e35:2e4b:b2b0:250:8dff:fee1:c793)
13:09.16*** join/#htc-linux DenPal1 (~hoper@250-243-252-87-dynamic-pool.gprs.mts.by)
13:12.17stinebdhttp://www.engadget.com/2010/04/29/cyanogen-ports-android-2-1-to-g1-and-mytouch-3g/
13:15.09*** join/#htc-linux thedicemaster2 (~thedicema@e200071.upc-e.chello.nl)
13:15.59*** join/#htc-linux GNUtoo (~GNUtoo@host139-39-dynamic.117-80-r.retail.telecomitalia.it)
13:16.57*** join/#htc-linux Dpunkt (~Dpunkt@p5090F4CA.dip.t-dialin.net)
13:21.14stinebdi hope he has a gallery3d fix for us :D
13:28.18*** join/#htc-linux Forsaken|Laptop1 (~Forsaken|@p54B01832.dip0.t-ipconnect.de)
13:34.17*** join/#htc-linux johnb81 (~john@88.224.103.62)
13:49.57*** join/#htc-linux balans (~Gebruiker@53546758.cable.casema.nl)
13:54.33*** join/#htc-linux IceBone (~IceBone@89-212-106-54.dynamic.dsl.t-2.net)
13:58.54*** part/#htc-linux DenPal1 (~hoper@250-243-252-87-dynamic-pool.gprs.mts.by)
14:10.06phh_stinebd: isn't the gallery3D problem a driver problem ?
14:10.09phh_I mean it works fine on 2.0
14:10.14phh_phh_ ? meh ?
14:27.10*** join/#htc-linux [acl] (~abel@cpe-69-203-141-229.si.res.rr.com)
14:28.39[acl]Nice.. logs working again
14:28.55phhand short uh ? :p
14:30.04[acl]yeah .. hopefully not much was missed
14:30.44phhwell, captnoord said his SDcard patch totally killed the battery life
14:30.49phhI'd like to understand how.
14:31.15[acl]explains the latest changes
14:33.18IceBoneis bursting with fruit flavours!
14:33.28IceBoneI just hope that guy doesn't ditch me.
14:33.53phhIceBone: you bought the desire second hand ?
14:34.23*** join/#htc-linux andreas_32b (~andreas_3@dslb-094-216-249-096.pools.arcor-ip.net)
14:34.23IceBoneYeah, some people deal with them. They get contracts from people who don't need them, buy the phones on contract, then sell them for almost full retail price.
14:35.08phhwhat the value of almost_ retail- retail ?
14:35.14IceBone20% off.
14:35.40phhi'm not sure it's worth it
14:35.46IceBoneIt's not illegal.
14:35.54IceBoneAnd I plan on inspecting the phone in full before handing him the money.
14:35.58phhI know it's just complicated
14:36.04phhI mean for warranty and such
14:36.11IceBoneWarranty is included.
14:36.59IceBoneThe info isn't filled out, just stamped from the seller. I'll get the receipt with it so I can claim it if anything goes wrong.
14:37.39IceBoneThe reseller earns something, I don't have to pay full retail, everybody's happy.
14:37.53*** join/#htc-linux YellowGTO|Nix (~quassel@c-71-226-239-246.hsd1.pa.comcast.net)
14:37.53IceBoneAnd if this guy sells 5 desires a month, he earns more than I do...
14:40.34*** join/#htc-linux balans (~Gebruiker@53546758.cable.casema.nl)
14:55.46*** join/#htc-linux balsat (~balsat@87.72.13.34)
15:20.08*** join/#htc-linux enjalot_ (~enjalot@c-68-35-253-116.hsd1.fl.comcast.net)
15:34.30*** join/#htc-linux GNUtoo|oeee (~GNUtoo@host139-39-dynamic.117-80-r.retail.telecomitalia.it)
15:34.48*** join/#htc-linux GNUtoo|oeee (~GNUtoo@host139-39-dynamic.117-80-r.retail.telecomitalia.it)
15:36.17*** join/#htc-linux kvaster (~kvaster@live.bn.by)
15:42.03*** join/#htc-linux BobVila (~abinford@c-24-12-177-201.hsd1.il.comcast.net)
15:46.07*** join/#htc-linux F22 (~pcm@c-76-98-88-113.hsd1.nj.comcast.net)
15:49.40*** join/#htc-linux Captnoord (~Captnoord@dc5147a47b.adsl.wanadoo.nl)
15:51.03*** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring)
15:51.04mickeylphh: is there any way to gather the ARM9 wake reason as defined in smd_private.h?
15:51.12mickeyl(when waking up from suspend)
15:51.33phhecho 63 > /sys/module/irq/parameters/debug_mask
15:51.38phhdmesg |grep irq_exit_sleep2
15:51.45phhthird number field iirc
15:52.05mickeylok, thanks, so we need to patch the kernel to deliver this in a sane way to userspace
15:52.07phhcheck the sources, the varname is explicit (wakeup_reason or wake_up_reason or something like that)
15:52.13mickeylhmm
15:52.14phhyou want to deliver that to userspace ?!?
15:52.15mickeyli did check the sources
15:52.17mickeylbut didn't find any trace
15:52.34mickeylof course, userspace can do important optimizations based on wakeup reason
15:53.12phhsuch as ?
15:53.35mickeylonly checking alarm sources, when we woke up by RTC
15:53.48phhlol ?
15:53.49mickeylonly turning display on when we woke up by MODEM
15:53.56phhthat's less than 0.1s optimisation
15:54.01mickeylfalling asleep again when we woke up by Wifi
15:54.06mickeyletc. etc.
15:54.10mickeyllots of interesting usecases
15:54.11phhthere is nothing to do for that
15:54.20phhit goes back to sleep automatically
15:54.31Captnoordphh want wlan power thingies?
15:54.45phhCaptnoord: I don't think there is anything interesting there
15:54.52phhhum
15:54.54phhwell maybe there is
15:55.05Captnoordit isn't done trough vreg's
15:55.11phhmickeyl: you turn on display when setting on to power/state
15:55.15phhwhich is already controlled by userland
15:55.19phhCaptnoord: gpios ?
15:55.28Captnoordyea
15:55.34Captnoordgpio configs
15:55.36phhCaptnoord: like what we already do then ? :p
15:55.46mickeylok
15:55.46phhhum our gpio settings are maybe not perfect
15:55.50mickeyli'll patch the kernel, thanks
15:55.59Captnoordi'll double check ours
15:56.05CaptnoordI need to make the battery last longer
15:56.11Captnoordbrb
15:56.11mickeylmost kernels i have seen for embedded systems deliver the wakeup reason
15:56.13Captnoorddinner
15:56.15mickeyland i think it's for a reason
15:56.16mickeyl:D
15:56.22mickeylonly this particular one doesn't
15:56.22phhmickeyl: I really can't see the point ...
15:56.28phhif it's an AT command, you can get it from RIL
15:56.35phhif it's a gpio, you get it from input device
15:56.43phhif it's anything else, there is just nothing to do but going back to sleep
15:57.13mickeylthat's a very limited view
15:57.17mickeylthink of accelerometers
15:57.21mickeylthink of compass
15:57.22mickeylthink of gps
15:57.25phhit works too ...
15:57.38phhthe driver sets a wakelock for HZ/2 to deliver the info to the app
15:57.42phhand the app decides what to do
15:57.52phhthat's what is already done for smd, and thus ppp connection
16:00.45phhi'm not saying it's perfect nor clean, but it's totally logical and brings all needed features I can think of
16:01.27*** join/#htc-linux Vito89 (~quassel@gw.loccal.net)
16:01.55mickeylit may fit in your use case with all your wakelocks
16:02.03mickeylour userland is not using wakelocks
16:02.04*** join/#htc-linux [Oli] (~Oli]@dsbg-4db5786e.pool.mediaWays.net)
16:02.07mickeylso things behave differently there
16:02.14phhuserland don't need wakelocks
16:02.19mickeylexcatly
16:02.21mickeylthat's why we don't use them
16:02.26phhfor what I described.
16:02.55phhonly the driver has to set a fast wakelock
16:03.22mickeyli just don't see why -- if we have that information - don't publish it
16:03.36mickeylmy system management process would need to query all kinds of inputs
16:03.39mickeylto be able to tell
16:03.43mickeylwhat the kernel already knows
16:03.47*** join/#htc-linux jonpry (~jonpry@c-24-17-200-206.hsd1.wa.comcast.net)
16:03.47mickeylbut doesn't want to tell
16:03.50mickeylthat sounds stupid to me
16:04.09phhmickeyl: what sounds stupid to me, is to have a userland software, which knows all existing devices
16:04.09mickeylit's another system architecture i guess
16:04.12phhand knows what to do with them
16:04.17mickeylyeah
16:04.20mickeylanother architecture
16:04.33phhI prefer specific apps/libs that knows what to do with it.
16:08.28mickeylgot anywhere with BT on your diamond, btw?
16:18.45*** join/#htc-linux balans (~Gebruiker@53546758.cable.casema.nl)
16:25.16*** join/#htc-linux toi (~toi@d54C2AA76.access.telenet.be)
16:34.28*** join/#htc-linux klinux (~fircuser@41.214.152.0)
16:34.38klinuxhi guys
16:34.57klinuxphh: still around
16:35.03phhyup
16:35.43klinuxseems u were busy too :)
16:35.49Captnoordre
16:36.48klinuxdid the last xdandroid include all 2.1 stuff ?
16:37.00phhno clue
16:37.55klinuxit's based on the last aosp no ?
16:38.11phhI don't know
16:38.21phhI didn't look at it yet
16:39.25Captnoordhmmm phh is the wifi gpio in the mmc driver?
16:39.32Captnoordor is that done trough the module thats loaded
16:39.42phhmmc driver
16:39.51Captnoordk
16:45.39chamonixhey guys
16:46.26*** join/#htc-linux klinux (~fircuser@41.214.220.149)
16:46.29chamonixCaptnoord: yesterdays commit will bring us back to about 20 hrs without SIM, that's same as in march
16:47.08klinuxphh: my hero hungs :(
16:47.18Captnoordchamonix: thats something
16:47.20phhklinux: lol ?
16:47.22Captnoordbetter than nothing
16:47.23Captnoord:D
16:47.35phhchamonix: how the hell did I got 4 days.
16:47.50chamonixas a matter of fact in 15 min. it will be 20 hours, maybe 30 min more.... bast was 22 hours with zImage.20100219_185725
16:47.55chamonixphh: tell me ;)
16:48.40klinuxI asked cause if it's not the case it's normal that aderno drivers doesn't work for stinbd
16:48.53chamonixCaptnoord: maybe he have another commit responsible of part of the loss..... I'm almost there so I go on (have about 5 kernels left to test)
16:49.17*** join/#htc-linux marex (~marex@vasut.kolej.mff.cuni.cz)
16:49.33Captnoordk
16:49.38*** join/#htc-linux the_eye_ (~dimitris@ppp-94-69-0-21.home.otenet.gr)
16:49.43Captnoordchamonix: maybe that will increase battery life even more
16:50.12chamonixthat's y I keep looking, my device is of no good except that without SIM :)
16:50.21Captnoordyea
16:50.24Captnoordwhich is crap
16:50.32Captnoordneeds at least 2 days without charging
16:50.38chamonixwell, next week I should be back online
16:50.38klinuxphh: he did another try with no luck
16:51.03chamonixCaptnoord: buy a car battery and a bag :P
16:51.30Captnoordlol
16:51.31Captnoordyea
16:51.32CaptnoordI know
17:05.43*** join/#htc-linux kiozen (~oeichler@rgnb-5d87cc50.pool.mediaWays.net)
17:09.57*** join/#htc-linux Forsaken|Desk (~Forsaken|@dslb-084-058-209-202.pools.arcor-ip.net)
17:31.50*** join/#htc-linux kiozen (~oeichler@rgnb-5d87cc50.pool.mediaWays.net)
17:52.08*** join/#htc-linux toi (~toi@d54C2AA76.access.telenet.be)
18:00.05*** join/#htc-linux Wout (~a@s55927d21.adsl.wanadoo.nl)
18:04.39jonpryanyone know anything about using librpc with smd_rpcrouter_device?
18:13.38phhjonpry: yes ?
18:14.51IceBoneUgh... why doesn't the guy call???
18:14.57IceBoneOr answer his phone for that matter...
18:15.01phhIceBone: haha.
18:15.05IceBoneQuiet, you.
18:15.11phhIceBone: I guess you'll need me some more time :p
18:15.14AstainHellbringIceBone he hates you
18:15.17IceBoneOr I'll punch you in every genital you own.
18:15.21*** join/#htc-linux dekar (~dekar@f051049123.adsl.alicedsl.de)
18:15.59phhjonpry: http://husson.hd.free.fr/test.c
18:16.21phhjonpry: it even contains some of the code you'll need :p
18:16.36phhI mean the syntax of the pdsm_client_* functions
18:18.38stinebdphh: i was hoping it was just horrible resource usage by Gallery3D ;)
18:18.54phhstinebd: no, gallery3D is really awesome on 2.0.1
18:19.21stinebdphh: thanks for the donation btw
18:19.33IceBoneExcept when you tilt your phone.
18:19.37phhIceBone: ah ?
18:19.40phhI didn't try
18:19.45phhstinebd: thanks for your work ? :p
18:19.46stinebdit dies on rotation
18:19.52phhCaptnoord: you take donations btw ?
18:19.59IceBoneLandscape mode is nuh-uh.
18:20.08phh"nuh uh" ?
18:20.10jonpryphh: thanks
18:20.11chamonixCaptnoord: http://pjottrr.no-ip.org:81/redmine/boards/1/topics/show/172
18:20.12Woutstill has some beermoney saved up for Captnoord
18:20.24IceBoneIt reboots to the boot animation.
18:20.32stinebdphh: 3D driver OOMs
18:20.34chamonixneeds a faster charger
18:20.38phhstinebd: ah
18:20.39phhrights.
18:20.44Woutphh: i read on xda that some people are trying to run wince drivers on adroid........how?!
18:20.44phhwe can't do much about it
18:21.03phhWout: ask jonpry :p
18:21.20phhWout: bah in theory it's easy, just to reimplement format file + linker + libraries
18:21.34phhyou just need to be very good, and patient at it.
18:21.49Woutso, the idea is to make a wrapper for it?
18:21.54stinebdwe can turn off rotation ;)
18:22.24phhWout: it's more like reimplementing what wince does
18:22.43phhchamonix: it still sucks.
18:23.17*** join/#htc-linux toi (~toi@d54C2AA76.access.telenet.be)
18:23.28phhCaptnoord: with your consumption-o-meter, can you test various stuff with charging logic ?
18:23.31jonpryi wrote a loader/linker that gets the dll in memory. and lets you link it with linux functions. then you just have to make a bunch of wrapper functions. well some of it is not wrappers. wince has weird state
18:23.43phhlike comparing echo 0 > /dbgfs/htc_battery/charging_state and default
18:23.52phh(warning it resets on the next battery update :p)
18:24.07phhjonpry: you fixed the >4 arguments issues btw ?
18:24.47Woutjonpry: and is that to understand the driver, so you can write a new one? or is it the idea to actually use the wince driver for daily use?
18:25.12jonpryphh: i'm not sure, i hooked up some varargs functions, and they seem to work. biggest problem is that i found some really good stack layout info for wince, but nothing clear on arm eabi
18:25.23phhjonpry: ok
18:25.41jonpryi need to make some wince dll's that use > 4 args, to really test it
18:25.52phhjonpry: pdsm_client_xxx  ? :p
18:26.40jonpryphh: hopefully, i just want to call something like foo(1,2,3,4,5,6,7,8,9) to make sure they are all in the right order
18:27.18jonpryWout: i am not sure, i think both
18:27.42phhjonpry: well you can build your own wince programs right.
18:27.52phhor read gcc for wince sources ? :p
18:28.03jonpryi got pdsm_client_init working. but pdsm_client_pd_reg crashes it
18:28.11phhcrashes who/what ?
18:28.16jonprya9
18:28.20jonpry:-)
18:28.26phhI know that one.
18:29.00phhjonpry: sounds like wrong arguments :p
18:29.14jonpryi don't have a wince toolchain setup, but i'll figure it out
18:29.41phhjonpry: hum, IIRC my code also kills A9 on pd_reg
18:29.44jonpryyeah, but they are cut and pasted. i think the data is getting mangled by the time it makes it to the driver
18:29.50phhwhile the same code in the kernel works.
18:30.03jonprythe stuff in grp-rfkill, doesn't crash it
18:30.18phhI know
18:30.26jonpryhmm
18:30.32phhit does the pd_reg successfully
18:31.07phhjonpry: and use board-htcraphael-gps.c as a reference
18:31.20jonpryi think i will dump the buffer in msm_rpc_write and see what happens. weirdest thing about rfkill is that it uses msm_rpc_reply, which overwrites the header before writing
18:32.43jonpryis the raphael-gps code better?
18:32.53phhit hasn't been changed by me meanwhile :p
18:35.03jonpryendianess?
18:35.21phhna it's handled
18:35.37phherr
18:35.39phhwait.
18:36.07phhyup I confirm
18:36.16phhyou speak with librpc with CPU endiannes
18:36.16phhs
18:37.15jonprywhich i think converts it before going to smd_rpcrouter. although i don't know why it would.
18:37.16kupohey phh is treo pro development dead at this point?
18:37.22phhkupo: yup.
18:37.42phhjonpry: because CPU endianness is easier to understand than be32 ? :p
18:37.58kupophh: damn
18:38.34jonprybut librpc doesn't know that a9 is big endian, or that your using it to talk to a9
18:38.43phhjonpry: see svc_clnt_common.c
18:38.47phhsend_uint32 function
18:38.50phhit does htonl
18:39.18jonpryi dunno, i'm going to dump the buffer and quit thinking about it :-)
18:40.04phhjonpry: btw, is your code somewhere ?
18:44.22phhbool_t xdr_args(XDR* clnt, void *data) {
18:44.22phh<PROTECTED>
18:44.22phh<PROTECTED>
18:44.22phh<PROTECTED>
18:44.24phhok.
18:44.36phhwho is the fucking idiot who putted that here.
18:44.37phh(yes me.)
18:45.22jonpryi could tarball it
18:45.43phhjonpry: it will be a great debugging tool for many devices, so it's worth a git repo
18:46.15jonpryyeah, i will git it soon. but if you want it right now tarball could be the easiest way
18:46.22phh(and perhaps you'll end with a wine for wince on android -_-')
18:46.33phhjonpry: na, if it's in your plan it's fine
18:47.15jonpryi'll work on it tonight
18:48.16jonprydid removing that line help?
18:48.33phhwait all my phones battery are out :p
18:48.43phh(and it's two lines, send_val and return)
18:48.52jonprydouble whammy
18:48.55stinebdthey come with chargers, you know
18:49.05phhstinebd: NO WAY ?
18:49.19phhI was just busy the afternoon
18:49.20jonprypda's have chargers, phones have batteries
18:49.26phhjonpry: :)
18:49.30*** join/#htc-linux Bry8Star_ (~Bry8Star@cpe-76-170-247-232.socal.res.rr.com)
18:49.36phhjonpry: sleep is killed on my rhod (broken kernel I have to update)
18:49.41phhand my diamond was playing music
18:49.46stinebdheh
18:50.04*** join/#htc-linux hfctsaot (~hfctsaot@70-11-84-16.pools.spcsdns.net)
18:50.34hfctsaot\o/
18:50.46phhhi hfctsaot
18:51.03hfctsaotHey
18:51.10phhstinebd: the funny thing about my diamond, is that now I found it's the only device that seems to me to have decent sound.
18:51.11hfctsaotWhat's new
18:51.20*** join/#htc-linux kiozen (~oeichler@rgnb-5d87cc50.pool.mediaWays.net)
18:51.35phhhfctsaot: i'm stupid
18:51.45stinebdi have a sansa fuze with decent sound... complements my htc fuze well
18:51.48phhah new you said.
18:52.12hfctsaotWell..... what's that make me :-P
18:52.20stinebdi'm on a mission to get as many different gadgets with the same name as i can
18:52.23phhstinebd: I prefer having spotify :p
18:52.29phhstinebd: lol
18:52.46phhwhat does fuze mean btw ?
18:53.01chamonixfusible
18:53.09phhah.
18:53.13hfctsaotphh: well camera is still a pain in the ass
18:53.18phhhfctsaot: how surprising
18:53.23hfctsaotLol
18:53.27stinebdfuze n : any igniter that is used to initiate the burning of a propellant [syn: {fuse}, {fusee}, {fuzee}, {primer}, {priming}]; gcide: Fuse \Fuse\, or Fuze \Fuze\, n. (Elec.)
18:53.45phhstinebd: right that's a fuse then.
18:53.49stinebdyes
18:53.54stinebdthe z makes it seem cool
18:54.00phhok.
18:54.08phhmeaning you don't get killed when you touch it when it's connected ? :p
18:54.19stinebddepends on the wattage
18:54.30phhmm voltage I think
18:54.43phhtime to reset A9.
18:54.53phhjonpry: yup works better now.
18:55.02phhnow it waits for get_position to kills A9.
18:55.18phhpdsm_client_pd_reg(0xda3, 0x00, 0x00, 0x00, 0xF3F0FFFF, -1);
18:55.19phh<PROTECTED>
18:55.19phhpdsm_client_ext_status_reg(0xDA3, 0x00, 0x01, 0x00, 0x04, -1);
18:55.19phh<PROTECTED>
18:55.19chamonixmeh, from the speed I suspect I'm not the only one updating my ubuntu right now...
18:55.20phhthat's weird
18:55.28phhchamonix: lol
18:55.51chamonixI need to break sumthin today
18:56.01phhchamonix: happy breaking
18:56.07chamonixty
18:56.28chamonixI hope I'm done by midnite
18:56.57phhOO
18:56.59phh3hours ?
18:57.09chamonixwell it says 2 hours
18:57.27chamonixbut download varies btwn 80 and 250 kB/s
18:57.33hfctsaotphh I began tryin to backported nexus cam cuz its the same cam as ours. But... it seems .29 has ditched board-blah-camerasensor.c. so I guess I'm gonna need to try and port the nexus cam to either my board-heroc or merge the nexus stuff to my board-camsensor file
18:58.12hfctsaotEither way its a fight
18:59.04jonpryhttp://pastebin.com/32XsQHbs
18:59.15jonpryso the data is definately not the same
18:59.29phhchamonix: the server that does ubuntu server for me can do 1.56MB/s right now
18:59.34jonpryi used endpoint 43 instead of 5b in usermode to stop it from crashing
18:59.40phhwhich is pretty much what my connection can provide since TV is on.
19:00.32phhjonpry: ok. I'll need your code.
19:01.09*** join/#htc-linux GeekLad (~GeekLad@adsl-71-224-26.jax.bellsouth.net)
19:01.20jonprywhat code
19:01.39phhdriver loader
19:01.46jonpryok
19:01.56phhI can't see how it can crash A9 on pd_reg
19:02.04phhthe endpoint is definitely the correct one
19:02.33phh43 endpoint is MISC_RF_APIS
19:02.37jonprywell, librpc or msm_rpc* seemed to foobar it. it isn't even sending the correct number of bytes
19:02.39phhI don't even think we have it.
19:05.26jonprytis uploading
19:05.40jonpryso. i build it as part of android
19:06.00jonprythe zip extracts to hardware/msm7k
19:06.12phhok
19:06.34jonprythere are 2 directories. wavewrapper, and gsmwrapper. gsmwrapper is actually the gps stuff
19:06.45phhok
19:07.18jonprygps stuff is mostly just newer code. more stubs/implemented functions. and has a different memory map for the i/o space
19:07.40jonpryhttp://rapidshare.com/files/381667258/msm7k.zip.html
19:07.50phhhum, gps needs memory mapping ?
19:07.59phhthat sounds bad.
19:08.04jonprysort of :-)
19:08.16phh0xaa00000000 area ?
19:08.27jonpryit just read from this stupid register. its no big deal until after pd_reg, then it expects something to show up there
19:08.38phhooohhhh ?
19:08.54jonpryreads from: 0xBA08150C & 0xBA081510 & 0xBA0811D4
19:09.15phhwhich are maps of which area ?
19:09.47jonpryi dunno. haven't looked at it yet. after i get pd_reg working. i'm going to figure it out, and make a driver so i can map it into user space
19:10.06jonpryi think those are phys addresses
19:10.27phhthat doesn't look like phys addre
19:10.54jonpryit's close to 0xB3, which is
19:12.23jonprywhatever it is. it read that address, decides to do init() pd_reg() then checks it again
19:12.47*** join/#htc-linux Neo31 (~Neo31@unaffiliated/neo31)
19:13.21jonpryoh and you need to copy all the dll's to /system/bin or wherever you are running gpswrapper from. and the file mmap*
19:15.29phhok thanks
19:17.31phhjonpry: you're sure of the syntax of xdr_array ?
19:17.34phhit doesn't seem really explicit.
19:19.35*** join/#htc-linux zachy (~george@85.193.4.18)
19:23.55jonpryi found an example
19:24.03jonpryits cut and paste, but no
19:24.04phhok
19:24.27phhI'll try with my own way then.
19:26.43[acl]wow did i just read that right?... wrapper for windows drivers
19:26.51phh[acl]: don't scream too loud.
19:27.19[acl]phh: cant help it. im excited
19:31.15*** join/#htc-linux zachy (~george@85.193.4.18)
19:33.05*** join/#htc-linux Orkspalter (~Orkspalte@p54B58A1B.dip0.t-ipconnect.de)
19:41.40*** join/#htc-linux luminoso (~lumos@av-217-129-131-108.netvisao.pt)
19:42.27*** join/#htc-linux DaveWM (~dave@173-19-136-12.client.mchsi.com)
19:43.56jonpryphh: got it!
19:44.03phhgot what ?
19:44.11jonpryit not to barf from usermode
19:44.19phh?
19:44.32jonpryit was xdr_array
19:44.41phhah this one doesn't do the htonl
19:44.45phhxdr_send_uint32 does but not array ...
19:45.08phhI didn't thought of that one.
19:45.14jonpryi switched to xdr_vector. array send the length of the array before the elements
19:45.56phhso where does it crash now ?
19:47.07jonpryext_status not implemented
19:47.39phhwell you have the code for that one
19:50.19jonpryok, so that works, it just the memory
19:50.37phhit just what the memory ?
19:50.48jonprythe 0xBA whatever
19:51.01jonpryits looking for something there now
19:51.46phhI mean there is missing a verb there :p
19:52.13phhok let's see what this ba is.
19:52.14jonpryis?
19:52.36phhjonpry: btw, you know you can dump phys addresses with /dev/mem ?
19:52.43phhI believe you can mmap it
19:53.29jonprymmap a portion of /dev/mem?
19:53.35phhyup
19:53.55jonprythats a lot easier than what i had in mind :-)
19:54.15phhbut I really can't see what 0xBA is.
19:54.28jonpryswitch to kernel mode == mmap(/dev/mem,0,0xffffffff)
19:54.50phhlol
19:54.53phherr
19:54.54phhno
19:54.58phhit's still virtual memory
19:55.02phhyou must do iommaps)
19:55.08phhor whatever it's called
19:56.08phhhum, in wiki there is a virt 0xba000000 to phys 0x90000000
19:56.14phhthat still doesn't sound good.
19:57.58jonpryare you looking at the same wiki? http://htc-linux.org/wiki/index.php?title=TopazMemoryMap
19:58.05phhjonpry: use raphael's) one :p
19:59.32phhba000000  | 00000000 |   1MB section |    AP=1 T=7^M
19:59.35phhthat's better.
20:00.23phhOUCH
20:00.34phhperhaps not.
20:00.48stinebd* New ARM optimizations in Bionic from Jim Huang @ 0xlab
20:00.51stinebdi must find this commit
20:01.02phhb2e00000  | a9300000 |   1MB section |    AP=1 T=2^M
20:01.20phh(my pastes are dump of mmu in wimo, first field is virt, second is phys)
20:01.22*** join/#htc-linux M1DLGpc (~M1DLGpc@bb-87-81-252-83.ukonline.co.uk)
20:01.29phhb2f00000  | a9200000 |   1MB section |    AP=1 T=2^M
20:01.38phhb2c00000  | a9500000 |   1MB section |    AP=1 T=2^M
20:01.50phhat least those phys addresses are known to exit.
20:01.51phhexist*
20:02.16phhbc000000  | 01f00000 |   1MB section |    AP=1 T=7^M
20:02.30jonprywhats the OUCH
20:02.47phhjonpry: the 0xBA080000 is @ 512kB in SMI
20:02.49jonpryits got to be related to the +0x081500 kind of stuff located at 0
20:02.52phhwhich is supposed to be owned by A11.
20:03.08phhwell we don't use it anyway
20:03.13phhso if modem is there, it should still work
20:04.18phhjonpry: the access to 0xBC0FC000 might be dangerous.
20:04.18jonpryso it is phys?
20:04.39phh0xBA080000's phys is 0x80000
20:04.42jonprythats stuff for wave
20:04.51phhor it's itself phys, but I don't believe so
20:05.15phhyup, no mmu mapping to 0xba000.... phys
20:05.49phh#define MSM_GPIO1_PHYS        0xA9200000
20:05.58phh#define MSM_GPIO2_PHYS        0xA9300000
20:06.15phhand A95 is unknown.
20:07.03jonpryi live a dangerous life :-)
20:07.48phhmm ?
20:08.33jonprywriting over other drivers memory while sitting on the couch
20:08.34*** join/#htc-linux Marcin_88 (Marcin@chello089078146089.chello.pl)
20:08.38phhah
20:08.44stinebddaredevil
20:08.45phha9* should be fine
20:08.53phh0xbc0 is definitely not.
20:09.27jonprythats the shared memory region
20:09.32phhyup.
20:09.52jonpryonly thing using that is adsp right?
20:09.53phhhum well, A92 and A93 aren't that safe actually.
20:09.57phhlol ?
20:10.00phheverything uses smem
20:10.06jonpryoh
20:10.28phhrpc, smd (and thus pppd and AT), adsp, vbus detection, battery infos
20:10.32phhat least.
20:10.34jonprythere must be some kind of way to lock it
20:10.52phhjonpry: mmap PROT_READ not PROT_WRITE ? :p
20:11.56jonpryi mean just whenever the kernel ends up jumping into wavewrapper, we just make sure smem is ready to be clobbered
20:12.54phhfor the time being, put it in a normal file and trace what it does
20:13.59phhwell do whatever you want :p
20:14.10jonpryi got a bus error from mmap'ing oxba
20:14.37phhmaybe it doesn't like the 0 phys address ?
20:14.43phhhum it's not 0
20:16.10jonpryit appears to just be looking for some magic numbers at those addresses. i could put them in the file, and maybe get it to keep going
20:16.42stinebd:D
20:16.43stinebdhttp://github.com/cyanogen/android_packages_apps_Gallery3D/commit/6c5a75e0f1b623b64446d0530f3a9c6e97425778
20:16.45phhI'll try to read the asm
20:17.24stinebdmust merge that immediately and test
20:19.10phhfunny, IDA no longer wants to start
20:20.10*** join/#htc-linux luminoso (~lumos@av-217-129-131-108.netvisao.pt)
20:20.53stinebdi hope this works
20:21.02stinebdnot that i use gallery much but i love eyecandy
20:21.45phhstinebd: HW or SW 3D ?
20:22.03stinebdhw
20:22.43phhhw 3D works on 2.1 ?
20:22.53stinebdsure
20:23.04stinebdbut not with the kitchen
20:23.14phhok
20:23.23stinebduntil i take the time to pack up the driver and put it on some file sharing site so we're not liable
20:23.25phhsames drivers as 2.0 ?
20:23.28stinebdyeah
20:24.22stinebdthis channel isn't logged is it? ;)
20:25.11jonpryit wasn't yesterday
20:25.19phhjonpry: yes it was, by me :p
20:25.28phhmeeeh
20:25.32phhhow does wildcards work in inda
20:25.33phhida*
20:25.57jonpryits this one sub_10013730
20:26.45phhah. you're not speaking about gps.
20:27.41jonpryi am talking about gps
20:27.54jonprygpsdriver.dll
20:27.59phhwhere do you have a sub_10013730 ?
20:28.02phhin gpsdriver.dll ?!?
20:28.13jonpryyep
20:28.38phhI'd say we don't have same ida config.
20:28.53phhmy highest sub_xxxx is around sub_30000
20:29.19phhjonpry: well, what is the exact address it tries to read ?
20:29.19jonprymine loads to 0x100000
20:29.39jonpry0xBA08150C & 0xBA081510 & 0xBA0811D4
20:30.31phhno occurence of 0xba08150C.
20:30.32phhmeh.
20:30.44jonpryi think you have to search immediates
20:30.56phhthat's what i did
20:31.02jonprybut anywho, the function is at offset 13730 from the load address
20:31.12phhdecimal ?
20:31.15jonpryhex
20:32.45phh13730 is "GPS: [PPPOpenEventCallback] Received PPP open event for s" string
20:32.54phhoh wait no
20:32.58phhit loads @ 0x11000
20:32.59phhpff
20:33.06Woutdoesnt understand much of this, but hacking wince drivers into android sounds frickin awesome
20:34.51jonpry0x11000 doesn't sound right. usually the first 0x1000 are not disassembled because the PE stuff is in there. but addresses are still relative to the beginning of the file
20:35.04*** join/#htc-linux Neo31 (~Neo31@unaffiliated/neo31)
20:35.28phhhex view starts @ 0x11000
20:36.05jonprymine too. but the the base address is 0x1000000
20:36.39jonpryand function is base+0x13730. are you loading the dll from the zip i sent you? maybe different version
20:37.46phhI'll even use your idb. it will be easier.
20:38.08phhjonpry: you even saved the idb at the correct location ! :p
20:38.30jonprylol
20:38.48phhldr R3, [R3] ?!?!
20:38.57phhoooooohhhhhhhhhhh
20:39.09phhjonpry: right, 0xba080000 is some place used by drivers for their own use
20:39.18phh*or* by SPL.
20:40.52phhhttp://htc-linux.org/wiki/index.php?title=RaphaelMemoryMap
20:41.02phhthe area is used by many drivers
20:41.09phhand you can see that the fields you need aren't documented at all :p
20:42.01*** join/#htc-linux leaigor (~laigor@188.134.16.241)
20:42.11jonpryit never writes that address
20:42.29phhthat's what I'm seeing.
20:42.31phhI need a bgrep
20:42.42phh(binary grep
20:42.55jonpryyeah, IDA is useless for that
20:43.43*** join/#htc-linux mastermerlin (~merlin@pD957BCEB.dip.t-dialin.net)
20:47.02*** join/#htc-linux DaveWM (~dave@173-19-136-12.client.mchsi.com)
20:48.49*** join/#htc-linux majster (~majster@cpc12-aztw25-2-0-cust68.aztw.cable.virginmedia.com)
20:48.52*** join/#htc-linux kiozen (~oeichler@rgnb-5d87cc50.pool.mediaWays.net)
20:50.15stinebdwe've got gallery3d rotation
20:50.39Captnoordphh btw
20:50.41Captnoordregarding ida
20:50.48[acl]stinebd: from cyanogen ?
20:50.54phhCaptnoord: yup ?
20:50.55Captnoordit sometimes shows crap asm
20:51.04stinebd[acl]: got the fix from him, yes
20:51.05phhCaptnoord: ah.
20:51.09stinebdcherry-picked into http://gitorious.org/xdandroid-eclair/packages_apps_gallery3d
20:51.13Captnoordbecause it enables simplify asm instructions
20:51.16[acl]stinebd: Smooth?
20:51.18Captnoordby defaulkt
20:51.23phh[acl]: he has hw3D.
20:51.41[acl]phh: who?
20:51.44phhCaptnoord: you mean that it's actually even worster ?
20:51.46phh[acl]: stinebd
20:51.52Captnoordphh
20:51.53Captnoordyup
20:51.59phhCaptnoord: wow.
20:52.03Captnoordbut sometimes I find crappy asm...
20:52.12Captnoordbut thats the result of ida trying to be smart
20:52.55stinebdnot too bad
20:52.58stinebdit's fully functional
20:54.03[acl]stinebd: i wonder what needs to be done to get it to run on the sense build.
20:54.14stinebdi spit on sense
20:54.37Captnoordbut phh how's gps comming?
20:54.39[acl]stinebd: lol.. thanks buddy..
20:55.05phhCaptnoord: better. my userland reprog kills A9 at the same point as kernel driver.
20:55.11phhthat doesn't really help.
20:55.13*** join/#htc-linux DaveWM (~dave@173-19-136-12.client.mchsi.com)
20:55.20stinebdif you can get hw3d on the sense build, i see no reason why gallery3d wouldn't work
20:55.27Captnoordk
20:55.35Captnoordbut killing a9 doesn't make everything dead
20:55.37Captnoord?
20:55.39phhstinebd: it's sw3d.
20:55.46stinebdi know
20:55.47phhCaptnoord: oh the kernel just panics
20:55.53stinebdthus the if
20:55.58Captnoordhehe
20:55.59phhright
20:56.27Captnoord's parents bought crap beer....... needed to get my own....
20:56.29*** join/#htc-linux M3DLG (~M3DLG@bb-87-81-252-83.ukonline.co.uk)
20:57.22[acl]software 3d .. ewww ..
20:57.24[acl]:-p
20:57.37Captnoordonly if its slower
20:57.38Captnoord:P
20:57.41Captnoordbut its faster
20:58.03phhCaptnoord: depends on what you do
20:58.13Captnoordhehe
20:58.23CaptnoordI think normal operations it would be faster
20:58.25Captnoordgames...
20:58.27Captnoorddifferent story
20:58.47phhwhat differs from games to normal ops ? :p
20:58.59phhI'd said textures, but if gallery works ...
20:59.07Captnoordloads more io's
20:59.14Captnoordunless they use opengl es 2.9
20:59.16Captnoord2.0
20:59.21Captnoordwhich is more like opengl 3.2
20:59.46Captnoordwhich had as one of the main design thingy's to get the number of calls down
21:09.35stinebd<3 gallery3d
21:09.38stinebdneed more eyecandy now
21:09.52Captnoordhehe
21:09.55[acl]stinebd: live wallpapers?
21:09.59stinebdhah
21:10.05stinebdi could try
21:10.09stinebdsee if cyanogen had any magic fix for that
21:10.24[acl]only way we can get it is  using the adreno.
21:11.54stinebdmaybe this? http://github.com/cyanogen/android_frameworks_base/commit/d085809f68eb32158078f33a8fcf098303be2967
21:12.22stinebdstock libRS requires gles2.0
21:12.48*** join/#htc-linux M1DLGpc (~M1DLGpc@bb-87-81-252-83.ukonline.co.uk)
21:12.56[acl]stinebd: I think you are onto something. this looks promising
21:12.58stinebdhaving to fork frameworks/base = sadface though
21:14.33*** join/#htc-linux M3DLG (~M3DLG@bb-87-81-252-83.ukonline.co.uk)
21:14.37*** join/#htc-linux M1DLGpc (~M1DLGpc@bb-87-81-252-83.ukonline.co.uk)
21:15.00stinebdgod i've missed so much of this stuff because of work
21:15.54Captnoordstinebd: I kinda hope to miss much.... because of work... I really need the money
21:16.04[acl]damnit. we cant switch framework. stupid htc and their sense crap
21:16.20stinebdsee why i spit on sense now?
21:16.55phh:p
21:16.59[acl]i poured so many hours on that tho. specially back int he days to get the high res to work. cant throw it away all now
21:17.45stinebdphh: does hw3d work on rhod?
21:18.07[acl]nope
21:18.13stinebddamn
21:18.29ToAsTcfh\o/
21:18.48[acl]phh: whats missing to get hw3d fully working?
21:19.13phh[acl]: don't know
21:20.33Captnoordmaybe a way to test everything?
21:20.42Captnoordis finaly getting a bit drunk now
21:21.04stinebdfriends definitely let friends commit while drinking
21:21.34[acl]phh: pmem for gpu1 broken? //GPU1 must be in EBI bank 1, Isn't working on Topaz and Rhod
21:21.55phh[acl]: I think it's init stuff
21:22.22Captnoordtry to disable my crap
21:22.27Captnoordset_grp_clk
21:22.28Captnoordstuf
21:22.41Captnoordshould work without it
21:22.42phhna
21:22.43phhit never worked
21:23.36ToAsTcfhphh: u ever try BFS?
21:23.44phhToAsTcfh: still not
21:23.51ToAsTcfhtru
21:23.52phhI totally forgot about it
21:23.56ToAsTcfh:/
21:24.03ToAsTcfhits awesome
21:25.03stinebdpatches welcome? ;)
21:25.37ToAsTcfhi guess i could to pay back phh
21:25.57phhstinebd: it's in the logs
21:26.00phhhe already posted it
21:26.43Parad0XUAwhere's Markinus?!
21:29.18ToAsTcfhstinebd: http://pastebin.com/9VRQbY7B
21:30.12ToAsTcfhi think this is my first port. ive since moved up 2 versions but that was pretty simple. so this is version 314
21:31.31ToAsTcfhalso im using a htc kernel so u may need to mod it a little
21:31.57ToAsTcfhuhg............. stupid camera
21:34.29ToAsTcfhdamn it i wish cyanogen would commit his 32a camera port
21:35.55jonpryphh: 0xba is virt. i've scene 0xBA0811D4 change in wince after gps init too
21:36.53phhjonpry: yes it's 0x811d4 phys.
21:37.04GNUtoophh, do you want me to test some things for gps?
21:37.10phhjonpry: you can use it as is if you want, it's left to previous value
21:37.16phhGNUtoo: yup
21:37.23GNUtoowow ok
21:37.26GNUtooI'm ready
21:37.52phhhttp://husson.hd.free.fr/test-gps
21:38.52phhI'd bet on crash on BREATH messages.
21:39.46GNUtoo-sh: ./test-gps: not found
21:39.59phhdo that on an android system :p
21:40.01GNUtoook
21:40.13phhno need to hurry if you don't want to flash now
21:40.31GNUtooI can fastboot the boot.img of android
21:43.43ToAsTcfhphh: whats up with squashfs is it faster then normal folder structure or is it just what u guys use to save some space?
21:43.55phhdon't know
21:43.58ToAsTcfh:/
21:44.05GNUtoophh, http://pastebin.com/fDr2cc7h
21:44.26ToAsTcfhstinebd: did it apply ?
21:44.45phhGNUtoo: ah forgot that one
21:44.49phhwait a second
21:44.50stinebdToAsTcfh: what?
21:44.52GNUtoohttp://pastebin.com/YnzEcygc
21:44.59GNUtoook
21:45.17phhhow do you know I was going to ask you that ? :D
21:45.28phhwell no it's commented in my source code actually
21:45.43ToAsTcfhummmm the patch
21:45.58phhGNUtoo: same url
21:46.00GNUtoook
21:46.07*** join/#htc-linux jonpry (~jonpry@c-24-17-200-206.hsd1.wa.comcast.net)
21:46.22ToAsTcfhstinebd: u didnt apply that patch i posted?
21:46.32stinebdToAsTcfh: i'm busy working on aosp at the moment
21:46.38ToAsTcfhoh i see
21:46.41ToAsTcfhnm
21:46.52GNUtoohttp://pastebin.com/YuR1yMCm
21:47.17phhGNUtoo: and A9 crashed ?
21:47.23stinebdToAsTcfh: also it appears the paste expired
21:47.26GNUtoo# cat smd27
21:47.27GNUtoo$PSTIS,*61
21:47.32phhGNUtoo: you know what ?
21:47.34phhI hate you
21:47.38GNUtoo?
21:47.41stinebdlol
21:48.14phhGNUtoo: do you get anything else on smd27 ?
21:48.17GNUtoono
21:48.32phhok
21:48.40jonpryphh: there seems to be a lot of state in that single byte. http://pastebin.com/SGDxYMEC it would be nice if i could get it from /dev/mem or something
21:49.26GNUtooyou mean that you hate the result
21:49.37phhjonpry: you should be able to use this 0x800000 phys address without any problem on /dev/mem
21:49.41phhGNUtoo: it means it somehow works
21:49.56GNUtoook
21:50.05CaptnoordoOoOoOo
21:50.08phhthe exact same code crashes the A9 for us.
21:50.15jonpryit's not phys. phys is 0x0. and /dev/mem can't read memory :-)
21:50.31GNUtoowhat is PSTIS ?
21:50.33phhjonpry: no it's 0x80000....
21:50.36phhGNUtoo: no clue.
21:50.43GNUtoook
21:50.44phhI don't talk nmea :p
21:50.48GNUtooah ok
21:51.01GNUtooI'll look then
21:51.03stinebdfrench should be close enough
21:51.13GNUtoobecause grepping wikipedia didn't give something on nmea page
21:51.15phhstinebd: lol ?
21:51.36phhGNUtoo: cat /dev/smd27 and *then* launch test-gps
21:51.39GNUtoook
21:51.50phhwell, keep the cat open
21:51.59jonpryphh: you mean 0x900000?
21:52.48phhjonpry: 0xba00000 = 0x000 so 0xba080000 = 0x80000
21:52.55GNUtoo$PSTIS,*61 appear after a bit
21:53.03GNUtoomaybe mickeyl knows what PSTIS means
21:53.08GNUtoo*61 should be checksum
21:53.15phhGNUtoo: google tells me it's just to say it's qualcomm stuff
21:53.18mickeylPSTIS is not standardiuzed
21:53.30GNUtoook
21:53.37phhok another try
21:53.47mickeylanything starting with $GP would be the bomb :)
21:54.10phhGNUtoo: same url
21:54.12GNUtoook
21:55.56GNUtoohttp://pastebin.com/P58HTSG6
21:56.06GNUtoothe order of cat and test-gps are inverted
21:56.30phhsame thing then right
21:56.56ToAsTcfhstinebd: hold up ill repaste
21:57.44*** join/#htc-linux M1DLGpc (~M1DLGpc@bb-87-81-252-83.ukonline.co.uk)
21:58.15phhGNUtoo: can you paste dmesg 10s after test-gps ?
21:58.30ToAsTcfhstinebd: http://pastebin.com/wuuYajBt
21:58.55stinebdToAsTcfh: thanks
21:58.57ToAsTcfhbut if it doesnt compile u may wanna start from scratch
21:59.47GNUtoook
22:00.39GNUtoohttp://pastebin.com/rPtqCd8p is previous dmesg
22:00.45GNUtoooops pasted carrier info in it
22:00.50GNUtooso delete it after
22:01.02*** join/#htc-linux enjalot_ (~enjalot@c-68-35-253-116.hsd1.fl.comcast.net)
22:01.10GNUtooI did a dmesg -c and nothing is appearing
22:01.13GNUtooanymore
22:01.15GNUtooI'll reboot
22:01.21phhI forgot you have no debugging messages
22:01.29GNUtoommm
22:01.45GNUtooso I'll flash cm-mod and add them
22:01.56phhno wait
22:01.58GNUtoook
22:02.47*** join/#htc-linux BobVila (~abinford@c-24-12-177-201.hsd1.il.comcast.net)
22:03.46phhsame url
22:04.04stinebdholy crap it tried to load the images
22:04.07stinebdthis might actually work
22:04.12GNUtoowow!!!1
22:04.21phhGNUtoo: ?
22:04.22GNUtoohttp://pastebin.com/crKubFCt
22:04.25GNUtooafter reboot
22:04.32stinebdwow
22:04.32GNUtooand after running gps-test
22:04.44phhGNUtoo: meeeeeeh ?
22:04.49phhso what happened ?
22:05.01phh(more precisely than "it works" :p)
22:05.07phhoh I know
22:05.11GNUtoobasically here what I did:
22:05.15GNUtoo*shutdown the phone
22:05.20GNUtoobecause I tried first binary
22:05.23GNUtoothen second one
22:05.25phhprevious connections were not cleanly disconnected
22:05.29GNUtooindeed
22:05.34GNUtoosomething like that
22:07.38phhGNUtoo: the NMEA messages keeps refreshing or not ?
22:08.07GNUtoono
22:08.13GNUtooI'll paste more infos
22:08.24GNUtoohttp://pastebin.com/hwEHDtbz
22:09.31GNUtooI'll try to reproduce it
22:10.22phhGNUtoo: same url again.
22:10.34GNUtoook
22:10.43phhnow the get_position loops
22:11.07phhI think it shouldn't be needed as we give nfixes as parameter, but wince polls on it so ...
22:11.19stinebdtest it while driving?
22:11.41phhstinebd: why ?
22:11.51stinebdbecause it's more exciting that way
22:11.57phhlol
22:13.15GNUtoohttp://pastebin.com/tWYmudat
22:13.17GNUtoorebooted
22:13.39phhGNUtoo: the program stops there ?
22:13.48GNUtooyes
22:13.52GNUtoothe phone rebooted
22:13.58phhah.
22:13.59GNUtooso it crashed
22:14.18phhsame url updated
22:14.51GNUtoook
22:16.42GNUtoohttp://pastebin.com/GGAu0t4x + reboot
22:17.11phhmuh ?
22:18.14phhah right
22:20.33stinebdE/EGL.oem ( 1800): could not open hw3dc (Operation not permitted)
22:20.34stinebdhmm
22:20.43phhstinebd: chmod 666 /dev/msm_hw3dc ? :p
22:20.55stinebdbut it already is
22:20.57stinebdcrw-rw-rw-    1 0        0         10,  55 Apr 29 18:14 /dev/msm_hw3dc
22:21.01phhah.
22:22.22GNUtoonew tests to do?
22:22.38phhyup
22:22.51phhupdated
22:22.54GNUtoook
22:23.13phhunless you want to do weird stuff like sleeping :p
22:23.18ToAsTcfhphh: how hard is it to port a utility like schedtool to work on our devices
22:23.50phhToAsTcfh: I don't know it, but super easy i'd say
22:24.07ToAsTcfhphh: i see it has to be installed
22:24.29ToAsTcfhi suck at compiling utilities
22:24.35ToAsTcfhremember
22:24.36ToAsTcfh:P
22:24.40GNUtoohttp://pastebin.com/U47mjdtp + reboot
22:24.49GNUtoo+ nothing at all on /dev/smd27
22:25.03phhGNUtoo: lol ?
22:25.14ToAsTcfhhttp://freequaos.host.sk/schedtool/
22:25.41ToAsTcfhi guess u can use it to make apps work better with BFS
22:26.01phhGNUtoo: updated test ?
22:26.11GNUtoook I'll update test again
22:26.24GNUtoolast was
22:26.26phhno I mean I just made a new one to be test
22:26.30GNUtooa7a1b61413ec0bef74156591e7a176ae  test-gps
22:26.32GNUtoook
22:26.32phhed
22:28.28GNUtoohttp://pastebin.com/Aj0zJUzh + reboot + nothing on smd27
22:28.36GNUtoobut reboot hapenned while light was dimming
22:29.12phhwhat's the ?
22:29.29GNUtoo???
22:29.58phhI can't see how you no longer get anything on smd27
22:30.17phhtest updated
22:30.19GNUtoook
22:31.22*** join/#htc-linux Wout (~a@s55927d21.adsl.wanadoo.nl)
22:32.03GNUtoohttp://pastebin.com/76BmQqU9 + $PSTIS,*61 + no reboot while screen black
22:32.24phhooooooohhhhhh
22:32.27phhi'm so stupid
22:32.43phhwe need to set a wakelock when running GPS
22:33.05GNUtoook
22:33.09GNUtoobut I was on usb
22:33.17phhah.
22:33.27phhhum
22:33.48phhsomething in early suspend then
22:34.03phhanyway you got nothing on smd27.
22:35.08GNUtoono only $PSTIS,*61
22:35.57GNUtoooh
22:36.24GNUtoowith a while true on the one that worked it produces that:
22:36.44GNUtoohttp://pastebin.com/10ymXzvg
22:36.48GNUtooand after it reboots
22:37.04phhah ok
22:37.09phhso perhaps the gps logic needs some time to settle
22:37.21GNUtoook to try until it works
22:37.27GNUtoobecause I waited some time
22:37.33GNUtooand gps-test reinitialize it each time
22:39.18*** join/#htc-linux luminoso (~lumos@av-217-129-131-108.netvisao.pt)
22:39.31[acl]stinebd: wait .. so its trying to use the hardware ? i thought someone said it was all software.
22:40.04stinebdof course it uses the hardware
22:40.23stinebdthat's why the boot animation is like 2 frames per second
22:40.33stinebdstupid slow gpu
22:40.50phhstinebd: not for us :p
22:40.53GNUtoowith test-gps;test-gps;test-gps;test-gps;test-gps;test-gps;test-gps I've some result but just after there is a:
22:41.03GNUtoo$PSTIS,*61 and it stops
22:41.28stinebdandroid build system... i detest you sometimes
22:41.34phhstinebd: you too ? :p
22:41.52stinebdit's very nice in some ways and very angry and bitter in others
22:42.00phhGNUtoo: I think it's to say that modem wants to drink pastis intead of working sometime.
22:42.10stinebdlike a god with heaven and hell
22:42.10GNUtoolol ok
22:42.41GNUtooahh ok now I understand the following thing:
22:42.45GNUtoovodka connecting people
22:42.53GNUtooit's because modem works with alchool
22:43.37stinebdphh: can we overclock the gpu? :D
22:43.48phhstinebd: don't know :p
22:43.49GNUtoonew tests?
22:44.05phhGNUtoo: as soon as gcc is happy
22:44.10GNUtoook
22:44.15stinebdor perhaps cause it to spontaneously reproduce
22:46.58phhGNUtoo: test updated
22:47.38GNUtoook
22:50.41GNUtoohttp://pastebin.com/acBfYGBb + nothing at all on /dev/smd27 + reboot + while screen black
22:51.33phhok thanks
22:51.39phhthat was the last test for today
22:51.41GNUtoosame thing with screen on
22:51.42GNUtoook
22:51.50GNUtoo:(
22:51.55GNUtoobut I need to sleep too
22:52.08GNUtootell me tomorrow for the tests
22:52.13GNUtoos/tell/ping
22:53.41phhmeh
22:53.46phhstupid uint8/uint32.
22:54.29stinebdlol, chmod 777 made it shut up
22:54.34stinebdcrazy
22:54.51stinebdwhy would 666 vs 777 matter for a device node?
22:54.53GNUtoo?
22:55.10GNUtoo<phh> stupid uint8/uint32. => new test?
22:55.15GNUtoois addicted to tests
22:57.04*** join/#htc-linux skodde (~skodde@unaffiliated/skodde)
22:57.56*** join/#htc-linux dcordes (~dccordes@unaffiliated/dcordes)
22:59.51dcordesGNUtoo, dealing with dream gps activation?
22:59.55GNUtooyes
23:00.04GNUtooI'm just doing the tests
23:00.49*** join/#htc-linux M1DLGpc (~M1DLGpc@bb-87-81-252-83.ukonline.co.uk)
23:01.05GNUtoothere are no more test to do today... : <phh> that was the last test for today
23:01.15GNUtooso I think I'll go to sleep
23:12.36jonpryphh: your right that 0x8000... works great. that is the right data is there. but it doesn't change, or the driver is otherwise unhappy with the contents
23:32.29*** join/#htc-linux Vito_| (~Sysel@gw.loccal.net)
23:40.24*** join/#htc-linux skodde (~skodde@unaffiliated/skodde)
23:51.13*** join/#htc-linux surge (surge@pool-98-118-154-21.bflony.fios.verizon.net)

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