IRC log for #htc-linux on 20120427

00:03.16*** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com)
00:04.00*** join/#htc-linux rpierce99_ (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com)
00:04.21*** part/#htc-linux rpierce99_ (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com)
00:09.22*** join/#htc-linux raymonddull (~raymonddu@c-69-245-114-102.hsd1.mi.comcast.net)
00:12.08*** join/#htc-linux rpierce99_ (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com)
00:12.56*** join/#htc-linux AstainHellbring (AstainHell@c-67-172-255-225.hsd1.ut.comcast.net)
00:13.03*** join/#htc-linux AstainHellbring (AstainHell@unaffiliated/astainhellbring)
00:31.53*** join/#htc-linux Funklord (~cow@84-55-99-121.customers.ownit.se)
00:36.09*** join/#htc-linux Ondalf (~ondalf@cable-roi-fe98dc00-121.dhcp.inet.fi)
00:41.30*** join/#htc-linux furtardo (~mks@nat/yahoo/x-hjevebkbyyqzbcxo)
01:01.38*** join/#htc-linux whitekidney (aja@141.0.136.69)
01:03.34CptAJNo crying. I guess it worked for martiini
01:04.03CptAJanother satisfied customer
01:19.28*** join/#htc-linux d3tul3 (~detule@unaffiliated/d3tul3)
01:32.26CptAJSo for sound I need to figure out the speaker amp chip, pray that its one that shows up in some other project and port it. Whats the best way to find out what the chip is?
01:32.41*** join/#htc-linux mitsutaka (~mitsutaka@219.143.36.82)
01:34.01d3tul3no need to do that pretty sure all xdandroid phones are using tpa2016d
01:34.34d3tul3and no need to supply the speaker_amp_pwr function either....i think that's extraneous as userland directly ioctl-s the driver
01:37.31d3tul3jonpry, i attached microp-ng to 0x66
01:38.36CptAJso just give it a go with that one?
01:38.50d3tul3you need to add the acoustic device
01:38.54d3tul3in your board file
01:39.03d3tul3and do all the csv business
01:39.06CptAJyeah, I'm looking at the rhodium boardfile for reference
01:39.28d3tul3so yeah try it without passing those amp functions in pdata
01:41.02CptAJhow about the mic? is that adc3001?
01:41.18d3tul3that's the dual mic for the rhod don't think you have one
01:41.48CptAJbut the mic should also be another chip, right?
01:42.26d3tul3mic is handled in htc_acoustic_wince which is called when you load the acoustic platform device
01:43.28d3tul3i don't think we are doing anythign different for mic in the other board files in .27 are we?
01:45.54CptAJthat's gonna be a problem then. mic didn't work in .27
01:46.05CptAJalright, babysteps
01:46.12d3tul3that .27 didn't have acoustic
01:46.16CptAJah
01:46.21CptAJgood
01:46.29d3tul3might still not work
01:46.34CptAJhope is good
01:50.52CptAJis the bootup animation different on gbx?
01:50.56CptAJcause I can see it now
01:51.26arrrghhhnoes
02:02.48arrrghhhbootani is dependent on hw3d functionality
02:06.45*** join/#htc-linux zmc (~zmc@lurian.net)
02:11.51raymonddullarrrghhh, now that I have the vogue, I went through install and warm donut boots on mogul
02:12.06raymonddullits slow as hell as expected with 64mb ram, but it works
02:15.48raymonddullalso, by slow as hell I mean a calculator is faster
02:16.14*** join/#htc-linux d3tul3 (~detule@unaffiliated/d3tul3)
02:19.43arrrghhhlol
02:20.07arrrghhhhow does the vogue run?  pretty well i bet
02:20.15raymonddullthe vogue is pretty awesome
02:20.21raymonddullbut its a verizon one, and I have boost
02:20.25arrrghhhhrm
02:20.28arrrghhhdzo was a beast
02:20.37raymonddullhavent tried activating it, but I doubt it'll work
02:26.14raymonddullI have a strong feeling I just fucked up
02:26.41raymonddullcompletely stock mogul, I just flashed the nand boot nbh from vogue
02:26.44CptAJok, I need the speaker power gpio. any clues where to look? (vmem addys to watch on winmo or a driver to decompile?)
02:27.23raymonddullnevermind, its smarter than me
02:27.31raymonddullno hspl=no flash for you
02:29.30raymonddullhmm I wonder how cm6 runs on vogue
02:30.40arrrghhhCptAJ, haretconsole
02:30.58CptAJyeah, but what addresses should I observe?
02:32.40raymonddullwoah holy shit nand is soooooo much faster than my sdcard
02:33.27raymonddullit went from like 6 minutes to boot to just over a minute
02:34.04d3tul3CptAJ, why speaker gpio? isn't that for the headset amp
02:34.45CptAJstatic struct tpa2016d2_platform_data tpa2016d2_data = {
02:34.45CptAJ<PROTECTED>
02:34.45CptAJ};
02:39.04d3tul3oh was looking at a wrong gpio sorry about that
02:45.15d3tul3no idea how you would find it my haret-fu is weak....can't you do something like "watch gpios 5" and then weed out the spam with "ibit"
02:47.16*** join/#htc-linux wk (~wk@141.0.136.22)
02:47.38CptAJI think watch gpios is pretty much hacked into working for certain devices. I tried it back when we were trying to figure out the keys. It shows nothing
02:48.37d3tul3hm
02:52.52d3tul3works here
02:55.40d3tul3though i can't get "ibit" to behave
03:02.26CptAJJC and I tried it. it was pointless
03:02.31CptAJnothing comes up
03:02.45CptAJwhat commands are you using?
03:05.55d3tul3watch gpios 5
03:07.56CptAJno, that definitely doesn't work for us
03:08.16CptAJunless you're doing something else
03:18.48*** join/#htc-linux Bry8Star (~Bry8Star@gateway/tor-sasl/bry8star)
03:26.11CptAJI can use mmutrace if I knew more or less the area of virtual memory where the gpio might be
03:48.53*** join/#htc-linux rajkosto (~rajkosto@wan.rajkonet.info)
03:57.04*** join/#htc-linux NeoMatrixJR (~NeoMatrix@173-18-84-218.client.mchsi.com)
04:12.14*** join/#htc-linux zmc (~zmc@lurian.net)
05:36.03*** join/#htc-linux Mavy (mavfree@unaffiliated/mavy)
05:45.38*** join/#htc-linux lamikr (lamikr@nat/nokia/x-wwlqwhswjyclnccx)
06:07.20*** join/#htc-linux kiozen (~kiozen@p578a42db.dip0.t-ipconnect.de)
06:48.38*** join/#htc-linux MacDrunk (~marper@189.199.73.248)
06:52.47*** part/#htc-linux MacDrunk (~marper@189.199.73.248)
06:56.20*** join/#htc-linux lamikr (lamikr@nat/nokia/x-pwtfvsccxckzdwlx)
07:36.49*** join/#htc-linux ychavan (ychavan@nat/redhat/x-tqvpynkynqszgwks)
08:27.21*** join/#htc-linux paulk-desktop (~paulk@lib33-1-82-233-88-171.fbx.proxad.net)
08:29.02*** join/#htc-linux Ondalf (~ondalf@cable-roi-fe98dc00-121.dhcp.inet.fi)
09:35.15*** join/#htc-linux Martiini (~Martin@88-196-141-145-dsl.rpl.estpak.ee)
09:37.04MartiiniPLEASE! help me instrall Android on HTC HD2. I've read xda-developers.com .. but don't know how
10:34.50*** join/#htc-linux Rajko (~rajkosto@cable-94-189-233-89.dynamic.sbb.rs)
10:35.45*** join/#htc-linux bitrot (~rajkosto@wan.rajkonet.info)
10:43.32*** join/#htc-linux mitsutaka (~mitsutaka@125.33.180.112)
11:04.44*** join/#htc-linux raymonddull (~raymonddu@173-121-99-156.pools.spcsdns.net)
11:10.34*** join/#htc-linux rajkosto (~rajkosto@wan.rajkonet.info)
11:35.15*** join/#htc-linux zeusk (77eb360e@gateway/web/freenode/ip.119.235.54.14)
12:11.38*** join/#htc-linux rajkosto (~rajkosto@cable-94-189-233-89.dynamic.sbb.rs)
12:12.28*** join/#htc-linux Rajko (~rajkosto@wan.rajkonet.info)
12:17.17*** join/#htc-linux arrrghhh_ (~arrrghhh@c-24-9-137-91.hsd1.co.comcast.net)
12:29.30*** join/#htc-linux paulk-desktop (~paulk@lib33-1-82-233-88-171.fbx.proxad.net)
12:31.55*** join/#htc-linux Alex[sp3dev] (~alexander@85.202.228.18)
12:56.22*** join/#htc-linux gauner1986 (~Miranda@ip-178-202-173-31.unitymediagroup.de)
13:06.19*** join/#htc-linux helicopter88 (~helicopte@host93-7-dynamic.30-79-r.retail.telecomitalia.it)
13:06.59*** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com)
13:21.22*** join/#htc-linux Martiini (~Martin@88-196-141-145-dsl.rpl.estpak.ee)
13:41.53*** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com)
13:44.48*** join/#htc-linux LordDeath (~LordDeath@cable-81-173-165-254.netcologne.de)
13:56.33*** join/#htc-linux helicopter88 (~helicopte@host93-7-dynamic.30-79-r.retail.telecomitalia.it)
14:27.52*** join/#htc-linux Ondalf (~ondalf@cable-roi-fe98dc00-121.dhcp.inet.fi)
14:30.26*** join/#htc-linux |Jeroen| (~jeroen@d5153E8CC.access.telenet.be)
14:37.51*** join/#htc-linux ahigerd (~ahigerd@173.218.142.90)
14:37.52*** join/#htc-linux ahigerd (~ahigerd@libqxt/developer/ahigerd)
14:55.16*** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring)
15:33.48*** join/#htc-linux kiozen (~kiozen@ppp-93-104-83-55.dynamic.mnet-online.de)
16:02.23*** join/#htc-linux ahigerd1 (~ahigerd@173.218.142.90)
16:04.54*** join/#htc-linux ahigerd (~ahigerd@libqxt/developer/ahigerd)
16:25.39*** join/#htc-linux Alex[sp3dev] (~alexander@85.202.228.18)
16:28.40*** join/#htc-linux helicopter88 (~helicopte@host187-20-dynamic.30-79-r.retail.telecomitalia.it)
17:10.29*** join/#htc-linux lamikr (lamikr@nat/nokia/x-tdwrgsocchhrturf)
17:17.02*** join/#htc-linux MethoS- (~clemens@134.102.106.250)
17:22.31CptAJlooks like martiini wasn't such a satisfied customer after all XD
17:22.45arrrghhhhahaha
17:23.39CptAJtsk tsk, lack of motivation
17:23.52CptAJif only I had it THAT easy XD
17:24.05*** join/#htc-linux NeoMatrixJR (~NeoMatrix@173-18-84-218.client.mchsi.com)
17:24.18CptAJ*goes back to his gpio hunt*
17:25.50*** join/#htc-linux ahigerd (~ahigerd@173.218.142.90)
17:25.51*** join/#htc-linux ahigerd (~ahigerd@libqxt/developer/ahigerd)
17:25.52arrrghhhhd2 is too easy :P
17:27.41*** join/#htc-linux arrrghhh (~arrrghhh@unaffiliated/arrrghhh)
18:03.58*** join/#htc-linux balans2 (~user@82-170-217-205.ip.telfort.nl)
18:29.55*** join/#htc-linux rob_w (~bob@unaffiliated/rob-w/x-1112029)
18:44.49*** join/#htc-linux JC (becf8d1d@gateway/web/freenode/ip.190.207.141.29)
18:45.19JChi...
18:46.45JCCptAJ, Did you find the speaker's gpio already???
18:50.10JCI was thinking... Maybe we can apply the same operation to the 112 that shows haret
18:51.25Alex[sp3dev]just disassemble the dll
18:51.29Alex[sp3dev]much easier
18:53.05JCThe dll is meant for us??
18:54.21Alex[sp3dev]yes
18:54.39Alex[sp3dev]upload your wavedev.dll if you want me to do it
18:54.45JCMaybe CptAJ has the knowledge
18:55.05JCSure.. Thx bro
18:56.32JCBefore I want to tell you, when I execute gpio watch... It shows (112) when activate the speaker
18:56.47Alex[sp3dev]well
18:56.55Alex[sp3dev]you can try to toggle the gpio via sysfs
18:57.03Alex[sp3dev]echo 112 > /sys/class/gpio/export
18:57.03JCBut... Im totally lost in converting that number into the gpio
18:57.15*** join/#htc-linux raymonddull (~raymonddu@c-69-245-114-102.hsd1.mi.comcast.net)
18:57.35Alex[sp3dev]it should be the gpio. some harets are broken though and show strange numbers
18:58.46JCOkey.. I get it
18:58.54JCLet me try this way
18:59.36Alex[sp3dev]in case you don't know. after doing gpio export, echo "high" or "low" to /sys/class/gpio/gpio112/value
18:59.46Alex[sp3dev]or direction
18:59.54Alex[sp3dev]don't remember which of them
19:08.33JCHey Alex, Am I to be in a root shell???
19:08.43JCMust
19:08.57Alex[sp3dev]yes
19:10.07JCSo... This way, I could try different gpios without recompile???
19:10.13JCOr I am wrong
19:11.05Alex[sp3dev]yes. as long as they are not requested by the kernel code
19:11.30JCPerfect
19:11.48CptAJJC, put up the log you're getting
19:11.54CptAJfrom haretconsole
19:12.39CptAJthe one that says its 112
19:13.13JCSure.. But wait a sec... I am in the work so I have to get all the tools again
19:14.57CptAJif what you're seeing really is the gpio it should be easy to figure out from the memory address that's changing. I did it before for the keys. (Just gotta remember how XD)
19:16.02JCOr ee could try with 112-78=34
19:17.23CptAJwhy?
19:17.44JCJust guessing by the differece between the volup's gpio shown in haret and the number write down in the board-htcwhitestone.h for that key
19:18.02JCHahaha... I know.
19:18.07JCBut Maybe
19:21.25CptAJwhat memory address are you watching?
19:29.12*** join/#htc-linux swc|666 (~goldbond@Aircrack-NG/Friend)
19:37.53CptAJgot it, I remember now XD
19:38.03CptAJretraced my steps with one of the keys
19:38.44CptAJstill need to where you're watching on memory
19:40.24JCCan you try with this 92e00c20?
19:41.22JCIm unable from here to find the list of commands to test watch gpios
19:42.20JCOr we could include the addresses from http://paste2.org/p/1963651
19:44.45CptAJbut what are you using to get 112?
19:45.13CptAJwhat did you put in "addlist gpios p2v(HERE)"
19:45.16CptAJ?
19:46.03JCThats what I cannot reach from here
19:46.18JCWhen I get home I send you a mail
19:46.22CptAJok
19:46.31CptAJits not a9300c20 btw
19:46.36CptAJalready tried
19:46.47CptAJ(which is the 92e00c20 you mentioned)
19:47.06CptAJthats where microp and the keys are
19:47.10JCOk...
19:47.40JCAnd the tests are to complicated??? For trying the rest?
19:51.06CptAJnah, I'm already doing them
19:51.25JCEhy have you get the new phone already?
19:52.33CptAJnot yet
19:54.18*** join/#htc-linux mastermerlin (~Adium@pD9FE2FDC.dip.t-dialin.net)
20:00.52*** join/#htc-linux mastermerlin1 (~Adium@pD9FE2FDC.dip.t-dialin.net)
20:00.54*** join/#htc-linux JC (becf8d1d@gateway/web/freenode/ip.190.207.141.29)
20:01.02JCHey
20:01.24JCDo you remember the file with adb for win I sent to you?
20:01.32JCYou have it?
20:01.47CptAJno
20:02.04CptAJI think I found it
20:02.22JCThe file or the gpio?
20:02.26CptAJthe gpio
20:02.32JCCool man
20:02.44CptAJ*finishes listening to the song (stream of consciousness by dream theater)*
20:02.51JCWhich was it?
20:03.05CptAJstill gotta do the math. hold on, rocking out XD
20:13.14CptAJthat song is awesome
20:13.19CptAJanyway, it was  17
20:13.23CptAJI think
20:13.24CptAJlemme test it
20:14.13CptAJit WAS on a9300c20 although I'm not sure why it didn't show up before
20:16.42CptAJquick explanation on how I got it: On msm_iomap.h you can see the physical addresses. a920000 is the first cpio chip and a9300000 is the second. Since that 92e00c20 adress is mapped to physical a9300c20 we know its on chip 2...
20:18.26CptAJthen you look at the value that changes: 7941836 ->7941834, which is bit number 1 (starting from 0). Now we look at gpio_hw.h we see that gpio2 contains gpios 16-42 (starts at 16) so we just add 16+1 and you get the gpio
20:18.57CptAJjonpry explain that to me back when we were doing the keys
20:19.01CptAJ*explained
20:19.58CptAJ(change the hex to binary if you want to see why its bit 1 that is changing between those two numbers)
20:20.10JCWhoa... A bit complicated
20:20.15CptAJ;)
20:20.57JCBTW... I tried 17 and 112... How Alex tell me to
20:21.03JCAnd nothing happends
20:21.43JCBut Im not sure of what I am doing :S
20:22.16CptAJI have no idea either. I'll just try it on the kernel
20:22.29CptAJI don't even know if I ported the thing right
20:24.56CptAJI'd still like to know why you got 112
20:24.59CptAJI didn't get that
20:25.06CptAJ417 is what showed on mine
20:25.23CptAJthere's also other locations changing so it might not be just this one
20:27.23JCIm going out of work... See you
20:27.48JCI'll keep trying with the export gpios too
20:30.44*** join/#htc-linux mes_ (~mes@S0106000ce55186df.cc.shawcable.net)
20:46.02*** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com)
20:59.12*** join/#htc-linux marc1706 (~marc@phpbb/modifications/marc1706)
21:20.04CptAJtha didn't work, for the record
21:20.07CptAJwill try more later
21:41.06*** join/#htc-linux furtardo (~mks@nat/yahoo/x-oozvjgjuolnwczcd)
22:40.56*** join/#htc-linux Regulator (~duffman@unaffiliated/regulator)
23:01.43*** join/#htc-linux LordDeath (~LordDeath@dslb-084-063-119-062.pools.arcor-ip.net)
23:27.34*** join/#htc-linux Ondalf (~ondalf@cable-roi-fe98dc00-121.dhcp.inet.fi)

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