IRC log for #htc-linux on 20120515

00:19.46*** join/#htc-linux detule (~detule@unaffiliated/d3tul3)
00:29.03*** join/#htc-linux whitglint (~whitglint@122-117-115-146.HINET-IP.hinet.net)
01:21.29*** join/#htc-linux Bry8Star{EB (Bry8Star-@2607:f128:42:fb::2)
01:39.49*** join/#htc-linux JC_ (c9d0605a@gateway/web/freenode/ip.201.208.96.90)
02:02.45*** join/#htc-linux detule (~detule@unaffiliated/d3tul3)
02:15.21jonprydetule, you get disptools?
02:19.41detulejonpry, yes
02:20.31jonpryand the hysteresis just jumped out at you?
02:21.30detulehah i was trying to match what's in there with the i2c writes i traced from haret
02:21.57jonpryhrm
02:22.06jonpryi was assuming it was done over mddi
02:26.25detulehere's all of my haret tracing http://pastebin.com/fJ12xp49 it has middi panel on/off i2c on/off and backlight adjustments
02:29.27jonprypresumably this stuff gets loaded early on before any tracing can happen
02:30.26detulei don't get how wistilt2 found these microp values we are writing to enable labc -> those values are not what winmo is writing
02:32.00jonprytrying different stuff?
02:33.47jonprydisptools exports mddi_write to other dll's
02:34.25jonpryi don't see any occurrences of 0x5700 in this whole thing
02:35.44detuleneither did i, nor that other adress to write the profile registers
02:36.11detuleit does write to 5303 every time it adjusts backlight via i2c
02:37.13detulei haz setcpu
02:37.24jonprydo you have all the dll's?
02:37.40detuleyes just some fail to recmod
02:38.46jonprysomething along the lines of find | strings | grep MDDI_RW_COMMAND ?
02:41.30jonprythe other possibility is super haret
02:42.55detulehere i thought your linux-fu was strong
02:43.21detuleneed some xargs magic or something
02:45.07detule[oliver@localhost OEMDrivers]$ find | xargs -I {} strings {} | grep MDDI_
02:45.07detuleMDDI_HOST
02:45.07detuleMDDI_RW_COMMAND
02:45.21detulethat rw is from disptools
02:46.01jonpry<PROTECTED>
02:46.17jonprysort of gets it there. just cant figure out what file caused it
02:48.32detulejust that one hit
02:48.48jonprysounds to me like nk.exe is the culprit
02:50.56detuleour neocore scores on nand are much lower
02:51.25detulei can't imagine what i just did to acpuclock would bring it down to 18.x
02:52.07jonpryhttp://irclog.netripper.com/htc-linux/2009/2/22/
02:53.58detulenice
02:54.26detuleis there any magic in nbhtools for nk.exe?
02:54.37jonprymddi speed?
02:55.37jonpryi never had much luck disassembling it
03:02.02*** join/#htc-linux raymonddull (~raymonddu@c-69-245-114-102.hsd1.mi.comcast.net)
03:13.58*** join/#htc-linux toastcfh (~toastcfh@unaffiliated/toastcfh)
03:19.37*** join/#htc-linux M3PH (~M3PH@unaffiliated/m3ph)
03:20.04*** part/#htc-linux M3PH (~M3PH@unaffiliated/m3ph)
03:27.51detulewoping 20fps in fps2d
03:41.37*** join/#htc-linux AstainHellbring (AstainHell@c-67-172-255-225.hsd1.ut.comcast.net)
03:41.37*** join/#htc-linux AstainHellbring (AstainHell@unaffiliated/astainhellbring)
03:47.11jonprydetule, you have the nk.exe?
03:52.47detulei have a folder which refuses to recmod
03:53.11jonpryits impossible to recmod nk.exe
03:53.21detulei guess there's some way to extract it from an nbh
03:53.34jonprywhich is part of the problem. it exports and imports no symbols whatsoever
03:57.28jonpryxip.bin?
04:09.03*** join/#htc-linux ychavan (~ychavan@1.23.179.156)
04:10.41*** join/#htc-linux detule (~detule@unaffiliated/d3tul3)
04:18.22*** join/#htc-linux jonpry (~jon@c-67-170-101-76.hsd1.wa.comcast.net)
05:17.56*** join/#htc-linux Entropy512_ (~quassel@cpe-67-255-37-203.stny.res.rr.com)
05:20.09*** join/#htc-linux ALoGeNo (~alogeno@unaffiliated/alogeno)
05:25.33*** join/#htc-linux NeoMatrixJR (~NeoMatrix@173-18-84-218.client.mchsi.com)
05:43.25*** join/#htc-linux Alex[sp3dev] (~alexander@media.it.hse.ru)
05:56.44*** join/#htc-linux Alex[sp3dev] (~alexander@media.it.hse.ru)
06:01.25*** join/#htc-linux kiozen (~kiozen@p578a42db.dip0.t-ipconnect.de)
06:23.53*** join/#htc-linux lamikr (lamikr@nat/nokia/x-jthbhfxjprsbhuwj)
06:24.49*** join/#htc-linux MacDrunk (~marper@201.165.142.139)
06:25.17*** part/#htc-linux MacDrunk (~marper@201.165.142.139)
06:26.39*** join/#htc-linux jonpry (~jon@c-67-170-101-76.hsd1.wa.comcast.net)
06:28.30*** join/#htc-linux Ray|yaR (~raymonddu@c-69-245-114-102.hsd1.mi.comcast.net)
06:30.29*** join/#htc-linux arrrghhh (~arrrghhh@unaffiliated/arrrghhh)
06:34.54*** join/#htc-linux AstainHellbring (AstainHell@unaffiliated/astainhellbring)
06:47.23*** join/#htc-linux jonpry (~jon@c-67-170-101-76.hsd1.wa.comcast.net)
07:29.56*** join/#htc-linux stybla (stybla@pylon.zeratul.org)
07:55.11*** join/#htc-linux ftoz (~root@cst-prg-17-252.cust.vodafone.cz)
08:15.55*** join/#htc-linux rekoil (~rekoil@c-5fa6e055.04-2-64736c12.cust.bredbandsbolaget.se)
08:22.57*** join/#htc-linux marc1706 (~Marc@phpbb/modifications/marc1706)
08:30.36*** join/#htc-linux walter79 (~walter79@31-17-62-189-dynip.superkabel.de)
09:46.33*** join/#htc-linux rekoil (~rekoil@c-5fa6e055.04-2-64736c12.cust.bredbandsbolaget.se)
10:44.52*** join/#htc-linux T-Junk (atari@178-84-197-39.dynamic.upc.nl)
10:52.26*** join/#htc-linux lamikr (lamikr@nat/nokia/x-fwhxkynenljmqkoh)
11:02.52*** join/#htc-linux bardzusny (~bardzusny@gateway/tor-sasl/bardzusny)
11:54.27*** join/#htc-linux detule (~detule@unaffiliated/d3tul3)
12:01.22*** join/#htc-linux ychavan (~ychavan@1.23.179.156)
12:10.41walter79hi, detule i found the problem why wifi did not work with 3.3.4 kernel on CM7.2  (wifi.c  hardware_legacy)
12:11.09walter79Can you upload your wifi.c from gbx0c nand build?
12:33.11*** part/#htc-linux walter79 (~walter79@31-17-62-189-dynip.superkabel.de)
13:15.13*** join/#htc-linux detule (~detule@unaffiliated/d3tul3)
13:17.07*** join/#htc-linux walter79 (~walter79@31-17-62-189-dynip.superkabel.de)
13:30.53walter79detule: 3.3.4 kernel on cm7.2
13:30.54walter7915:26:53.240 Error MediaProvider 1841  Unable to obtain external storage volume ID even though it's mounted.
13:31.06walter79any idea?
13:31.37walter79problem thumb generation
13:32.45*** join/#htc-linux Peterka (~Peter78@c-4f66e399-74736162.cust.telenor.se)
13:32.47walter7915:22 <Epsylon3> media service hangs are related to sdcard thumb generation
13:32.47walter7915:22 <Epsylon3> 1. bad sdcard or 2. bad driver
13:32.47walter7915:22 <Epsylon3> or 3. bad settings :p
13:32.47walter7915:22 <Epsylon3> about mmc timings
13:41.06walter79problem fixed i used different mediaprovider.apk
14:07.21*** join/#htc-linux l0wbra1n (~ickz@unaffiliated/l0wbra1n)
14:09.02*** join/#htc-linux NeoMatrixJR (~NeoMatrix@173-18-84-218.client.mchsi.com)
14:13.08*** join/#htc-linux detule (~detule@unaffiliated/d3tul3)
14:14.49walter79detule: did you read my post about wifi on cm7.  Did you use default wifi.c (hardware_legacy) from Xdandroid git?
14:18.36detuleeverything in gbx is as in the xdandroid gitorious repo
14:24.23*** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring)
14:34.21*** join/#htc-linux helicopter88 (~helicopte@host13-89-dynamic.56-79-r.retail.telecomitalia.it)
14:41.40walter79ok. i will replace my wifi.c and build a new lib
15:13.19*** part/#htc-linux walter79 (~walter79@31-17-62-189-dynip.superkabel.de)
15:16.57*** join/#htc-linux DuperMa (~Duper@109-186-92-131.bb.netvision.net.il)
15:17.14*** join/#htc-linux kiozen (~kiozen@ppp-93-104-74-160.dynamic.mnet-online.de)
15:18.27*** join/#htc-linux Alex[sp3dev] (~alexander@85.202.228.18)
15:31.39*** join/#htc-linux walter79 (~walter79@31-17-62-189-dynip.superkabel.de)
15:40.08*** join/#htc-linux ray|mbp (~raymonddu@c-69-245-114-102.hsd1.mi.comcast.net)
15:41.20*** join/#htc-linux Peterka (~Peter78@c-4f66e399-74736162.cust.telenor.se)
15:41.50*** join/#htc-linux phh (~quassel@137.194.15.151)
15:50.53*** join/#htc-linux LordDeath (~LordDeath@xdsl-87-78-106-142.netcologne.de)
16:12.57*** join/#htc-linux ychavan (~ychavan@1.23.179.156)
16:12.57*** join/#htc-linux pigeon (~pigeon@eth5284.nsw.adsl.internode.on.net)
16:28.08walter79detule can you check this? https://github.com/walter79/android_hardware_libhardware_legacy/blob/gingerbread/wifi/wifi.c
16:28.15walter79will it work on rhodium
16:28.17walter79?
16:46.12*** join/#htc-linux kiozen (~kiozen@p578a42db.dip0.t-ipconnect.de)
16:46.55*** join/#htc-linux Alex[sp3dev] (~alexander@213.85.18.2)
16:48.27*** join/#htc-linux Alex[sp3dev] (~alexander@213.85.18.2)
17:07.25*** join/#htc-linux paulk-desktop (~paulk@lib33-1-82-233-88-171.fbx.proxad.net)
17:08.35*** join/#htc-linux paulk_ (~paulk@lib33-1-82-233-88-171.fbx.proxad.net)
18:36.03*** join/#htc-linux kiozen (~kiozen@ppp-93-104-74-160.dynamic.mnet-online.de)
18:47.28*** join/#htc-linux CptAJ (AJ@186.90.180.107)
18:47.45CptAJGreetings and salutations to you, fine folk of htc-linux
18:52.05Alex[sp3dev]CptAJ: i rate your greeting 9/10
18:52.40CptAJthankyou thankyou
18:52.44CptAJyou're too kind
18:52.55detuleAlex  i know you pastebin-ed once something that said LK enables IMEM, but that seems to be stubbed out in clock.c
18:53.17CptAJAlex[sp3dev], JC told me you mentioned something about hw3d being wrongly mapped? fill me in so I can check
18:56.17Alex[sp3dev]detule: look at target/msm7200a/init.c
18:57.14Alex[sp3dev]CptAJ: i think your gpu may be at wrong location or you're just making your ram banks too large. it was the case on rhodium, and was fixed by reducing the second memory bank. there should be a commit around 1.5 years ago
18:58.43detuleAlex[sp3dev], sure but in platform/msm7200a/clock.c i see no action being taken on clk_enable(IMEM)
18:59.17*** join/#htc-linux rob_w (~bob@unaffiliated/rob-w/x-1112029)
19:00.16Alex[sp3dev]detule: you're looking at Abel's tree, aint't you?
19:00.21detuleoh yeah
19:01.05*** join/#htc-linux apt (~apt@rikers.org)
19:01.05*** topic/#htc-linux is Welcome to the HTC Linux project | Community portal & WiKi http://htc-linux.org | For IRC logs, HaRET & kernel mailing lists etc. see http://htc-linux.org/wiki/index.php?title=Contact | The htc-linux.org project is not affiliated with the HTC Corporation | This channel is for development purposes - Join #htc-linux-chat for offtopic
19:03.14detulei see..anyway, wonder why acl has that commented out, perhaps imem doesn't play nice on rhod
19:04.30detuleand i wonder why our imem_reset was failing in clock late_init when it's not even enabled on boot (and supposedly late_init chackes if it's enabled before trying to writel)
19:04.44*** join/#htc-linux MethoS- (~clemens@134.102.106.250)
19:26.05walter79+service wpa_supplicant /system/bin/wpa_supplicant -Dwext -iwlan0 -c /data/misc/wifi/wpa_supplicant.conf
19:26.19walter79does this work on latest kernel?
19:26.23*** join/#htc-linux mes (~mes@S0106000ce55186df.cc.shawcable.net)
20:05.22CptAJwhy is this done...
20:05.24CptAJpmem_setting.pmem_start=MSM_EBIN_BASE+128*1024*1024-50*1024*1024-pmem_shift;
20:05.43CptAJgiven that pmem_shift = 0x8000000;
20:06.02CptAJisn't that +128*1024*1024-pmem_shift just redundant?
20:06.29CptAJits just 0, isn't it?
20:17.19*** join/#htc-linux raymonddull (~raymonddu@c-69-245-114-102.hsd1.mi.comcast.net)
20:25.19*** join/#htc-linux DuperMan (~Duper@109-186-116-99.bb.netvision.net.il)
20:36.46CptAJyeah, thats definitely not doing anything there... I wonder who put it there... probably me. I'm a crazy person sometimes
20:40.48*** join/#htc-linux DuperMan (~Duper@109-186-116-99.bb.netvision.net.il)
20:54.33*** part/#htc-linux walter79 (~walter79@31-17-62-189-dynip.superkabel.de)
20:58.07*** join/#htc-linux Ray|yaR (~raymonddu@c-69-245-114-102.hsd1.mi.comcast.net)
20:58.08*** join/#htc-linux jonpry (~jon@c-24-17-200-206.hsd1.wa.comcast.net)
21:00.50*** join/#htc-linux jonpry (~jon@unaffiliated/jonpry)
21:19.07*** join/#htc-linux DuperMa (~Duper@109-186-116-99.bb.netvision.net.il)
21:55.53*** join/#htc-linux bardzusny (~bardzusny@gateway/tor-sasl/bardzusny)
22:10.44*** join/#htc-linux detule (~detule@unaffiliated/d3tul3)
22:13.18CptAJalright, whats a quick way to test gpu?
22:14.43detulebootani
22:15.11CptAJthat's been showing up for a while though
22:15.44detulepretty sure that requires hw3d
22:15.53detulealternatively download neocore from market
22:18.03detulewhat made you guys think hw3d wasn't working?
22:18.48CptAJJC
22:19.00Willddetule: It could be software rendered though
22:19.02CptAJI think he tested some stuff
22:19.51CptAJdoes the market have a way to download apks?
22:20.09CptAJdon't wanna waste my megs >_>
22:20.21WilldHuh?
22:20.23CptAJ(download from the desktop so I can push from adb)
22:20.33WilldJust use wifi?
22:20.40CptAJno wifi on whitestone yet XD
22:21.15WilldThen no, you coul however grab it from some other kind of app store
22:22.26*** join/#htc-linux walter79 (~walter79@31-17-62-189-dynip.superkabel.de)
22:22.56walter79good news. i fixed the wifi problem on CM7.2 build. :-)
22:22.59CptAJif hw3d isn't working does it just default to software render? And if so, how would I tell the difference? (besides speed because, having no reference frame, I cant use that)
22:23.57CptAJwait, I have angry birds here
22:24.57detuleangry birds is like 2fps with hw3d on rhod
22:25.11CptAJhttp://paste2.org/p/2024535
22:25.44jonprythat has lots of 3d
22:26.20CptAJalright, so its working with the tweaks
22:26.26CptAJlemme revert and see if it worked before XD
22:26.50CptAJthen we'll race the whitestone against rhod so get ready XD
22:35.12walter79detule or jonpry I need some help. My wifi can scan for AP but can not connect. http://pastebin.com/NNXvtubY
22:35.15jonpryCptAJ, you get microp going?
22:35.53bardzusnyCptAJ: there are some browser plugins that let you download .apks on your desktop (from google play)
22:35.54jonprymaybe a funky supplicant?
22:36.04bardzusnyalso, you can use something like apktops.com
22:37.24walter79BOARD_WPA_SUPPLICANT_DRIVER := WEXT
22:37.24walter79WPA_SUPPLICANT_VERSION := VER_0_6_X
22:37.24walter79BOARD_WLAN_DEVICE := bcm4329
22:37.49bardzusnybcm4329? It's not Leo is it?
22:37.59walter79yep leo
22:38.14jonpryjust use the whole supplicant from xdandroid
22:38.35bardzusnywhat kernel is it walter79?
22:38.57walter79"detules" 3.3.4
22:39.28bardzusnythere is 3.3.4 kernel for leo? wow, I thought Leo was stuck at 2.6.32/some 2.6.35 ports
22:39.54walter79no not leo phone i running this on my rhodium
22:40.15CptAJno, I was waiting for you to show up. I looked into it but I'm not sure what to do. You mentioned the scan code need changing. It's 0x10 on microp-keypad.h but what should I set it to? I was gonna get it working there first and then try to make it platform agnostic
22:40.23bardzusnyoops
22:40.34bardzusnyyou got me dreamy there for a second
22:40.43CptAJ(that was for jonpry)
22:42.34CptAJhttp://paste2.org/p/2024556 yeah, not working without the tweak
22:42.35detulewhat's the neocore verdict
22:42.44jonpryCptAJ, 0x82
22:43.06jonprybut it isn't really so much a scan code as the logical or of all the scan flags
22:44.01CptAJyeah, I'm gonna need more time to go over it. I don't really understand it yet
22:44.01detuledon't do angrybirds....
22:44.24walter79detule: this config: BOARD_WPA_SUPPLICANT_DRIVER := CUSTOM
22:44.24walter79BOARD_WPA_SUPPLICANT_PRIVATE_LIB := libWifiApi
22:44.32CptAJwhy not? it was working just now (angry birds)
22:44.52jonprywalter79, get the whole external/wpasupplicant directory too
22:45.08jonprycan't trust that new stuff
22:45.25walter79ok
22:45.33detulethe only error in your logcat is audioflinger crashing though i guess that can be a manifestation of a 3d related error writing over adsp pmem or something
22:45.59detuleon the other hand could be birds is stressing your phone too much
22:46.23jonprywhitestone not powerful enough?
22:50.50CptAJit was relatively smooth with the tweak. I'm gonna try with neocore just to get the proper error though
22:51.09CptAJthere's very likely an overlap there though
22:51.36detuledmesg will show adsp related pmem overlap
22:51.48detuleadsp has some kind of internal pmem bookkeeping
22:52.51CptAJyeah, definitely
22:54.19detuleyou guys need GetLogs
22:54.27*** join/#htc-linux arif-ali (~arif-ali@81.23.53.226)
22:55.24walter79jonpry can you check my bordconfig please? https://github.com/walter79/android_device_htc_rhodium/blob/gingerbread/BoardConfig.mk
22:57.15*** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com)
22:57.15*** join/#htc-linux arif-ali (~arif-ali@81.23.53.226)
22:57.52detulespeaking of GetLogs
22:57.56CptAJhttp://paste2.org/p/2024571 there we go
22:58.21detulethat with the old settings?
22:58.35CptAJyeah
22:58.39detulethat log is normal
22:58.45CptAJbut the screen is blank
22:59.04CptAJalso, I did see the pmem overlap, lemme paste
23:00.06CptAJhttp://paste2.org/p/2024574
23:00.12CptAJthats it in the wanrs, no?
23:00.59detulethat log also looks normal apart from 05-15 18:29:23.009 ERROR: init: untracked pid 2174 exited
23:01.36*** part/#htc-linux walter79 (~walter79@31-17-62-189-dynip.superkabel.de)
23:01.53CptAJI'll give it a run with the new settings
23:04.06*** join/#htc-linux walter79 (~walter79@31-17-62-189-dynip.superkabel.de)
23:04.40detulei gotta go but if you saw some birds before you likely fixed it, good job
23:09.04*** join/#htc-linux GNUtoo (~gnutoo@host63-133-dynamic.20-79-r.retail.telecomitalia.it)
23:11.30CptAJyeah, it definitely needs the fix
23:11.51CptAJneocore running fine now
23:12.02CptAJ21.8 FPS
23:12.08CptAJwhats the rhod pulling?
23:14.02jonprynot sure detule keeps the up to date numbers
23:14.20rpierce99sounds about the same to me
23:14.37jonpryin general lower is better. if you start getting 24,28 or so then different things are broken
23:15.34CptAJI get 24 without sound =P
23:37.29*** join/#htc-linux Alex[sp3dev] (~alexander@213.85.18.2)
23:43.35*** join/#htc-linux BHSPitMonkey (~stephen@unaffiliated/bhspitmonkey)

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