IRC log for #htc-linux on 20120501

00:16.32*** join/#htc-linux AstainHellbring (AstainHell@unaffiliated/astainhellbring)
00:45.05jonpryd3tul3, what are all those commits to local?
00:46.59d3tul3jonpry, stuff that i am currently testing
00:47.29jonprylooks interesting
00:48.58d3tul3can be summarised as BT + nand (for wifi-nvram) + smd plus some other minor ones that are likely irrelevant
00:49.10*** join/#htc-linux Bry8Star{EB (Bry8Star-@2607:f128:42:fb::2)
00:50.11jonpryworking well?
00:50.35d3tul3i am not sure about BT, i remember you saying some time ago seeing an interrupt storm with BT
00:50.46jonpryyes i never got it to suspend
00:51.18jonpryyou don't happen to follow acl's nand tree?
00:51.51d3tul3well this is the same patchset that's working (and suspending) in 3.0 and 3.2 but a couple of times now i get possibly unrelated storms of h2w .... strange thing is -> theinterrupt is not incrementing it's just that evdev won't shut up
00:52.16d3tul3i check in on acl now and then, he's doing some fancy stuff with the battery driver
00:52.44jonpryany idea what patches we would need to support cdma nand booting?
00:53.04d3tul3it might boot as is
00:53.17jonpryhrm
00:53.36d3tul3i suspect the panel code needs to be revamped and then he's got some driver in mach-msm re: charging/battery in LK
00:53.57jonpryiirc there was some issue with clocks
00:54.37jonpryi wonder why he couldn't push that stuff into linux-on-qualcomm
00:54.49d3tul3bootcheck.c
00:55.14d3tul3oh yeah no idea about clocks...too bad gitorious is horrible about folder history
00:55.21d3tul3or any kind of history for that matter
00:57.33d3tul3oh i have a clone of his tree
00:58.01jonpryfirst nand patch: http://gitorious.org/~acl/linux-on-qualcomm-s-msm/linux-msm-rhod-nand/commit/fca314d45f8c949aa50eeeb5d5a26df948de8868
01:00.10jonprywe seem to do this in msm_clock_a11_reset_imem(void)
01:01.16d3tul3yes our clocks and his will unfortunately differ
01:02.33jonpryi don't really understand why
01:02.50jonprywtf would an imem reset cause problems on nand
01:04.13d3tul3rt if it survives haret how can it break nand
01:06.18jonprynot sure
01:07.06jonprymaybe MSM_IMEM_BASE is sec locked
01:08.06jonpryboot loaders live there. maybe wince is able to unlock it somehow
01:09.13d3tul3perhaps we can pass a cmnd like argument "nand" and make a bunch of things contingent on it
01:09.21d3tul3s/like/line/
01:09.44jonpryi think the plan was to use custom atags
01:10.11d3tul3hm his .27 kernel still passes some commandline
01:12.03jonpryit could also be that imem clocks are off when the reset happens
01:14.07jonpryadd code to turn it on?
01:15.42d3tul3you ready to flash your phone?
01:17.52jonpryno
01:18.06jonprytry to get someone else to try this stuff :p
01:18.20jonprydocs says IMEM_CONFIG requires CC_PBUS_CLK
01:20.11d3tul3looks like he's also de-wince-fied rpcrouter
01:22.44jonprystrangely enough pbus clk appears to be i2c
01:34.34jonprymaybe this is enough if (!a11_clk_is_enabled(IMEM_CLK))
01:34.34jonpryreturn;
01:46.15*** join/#htc-linux ccube (ccube@nx.ccube.de)
02:06.14*** join/#htc-linux d3tul3 (~detule@unaffiliated/d3tul3)
02:17.17d3tul3jonpry, about to do some testing out of the chroot on this ppp speed up hack
02:19.30jonpryout of the chroot?
02:19.58d3tul3i don't have to use those hackish speed test apps
02:20.09d3tul3i can scp to my work machine and do some transfers
02:21.52jonpryhave you confirmed breakage without the hacks?
02:22.18d3tul3breakage?
02:22.30jonprysod, crash etc
02:23.08d3tul3no, nothing on this new smd....never really had much in the way of breakage on the old smd either, but I guess I am lucky to have good coverage unlike CptAJ
02:24.27jonpryeventually the unpatched smd will trash the slab allocator so much that only order 1 allocations are possible
02:24.54jonpryand after that a chunk of data will accumulate that is larger than 4k
02:24.59jonprythen bye bye
02:25.35d3tul3nothing like that in multiple weeks now
02:27.24jonpryit required a lot of no reboot time to trash the slab
02:27.28d3tul3there's also a MAX_TTY_BUF_SIZE in the new tty limitting the per-call allocation size not sure if that would make a difference
02:27.50jonprysmd_tty?
02:27.59d3tul3yeah
02:28.42jonprycotulla and letama messed with that on leo and it helps but you can't stop the linux tty layer from doing the damage
02:29.46d3tul3alright but this new smd_tty also has a contingency of avail < = 0
02:29.57d3tul3which i assume is the case when slab doesn't yield any buffer
02:30.55jonprythere are ways to avoid crashing the kernel but all operations requiring order > 0 will fail
02:30.59jonprylike wifi
02:31.16jonpryalthough on 39 etc we prealloc the buffers
02:31.17*** join/#htc-linux rajkosto (~rajkosto@cable-94-189-233-89.dynamic.sbb.rs)
02:31.25d3tul3right statically
02:32.04d3tul3so you are saying this was an active issue before these ldisc patches went in in june/july?
02:32.14*** join/#htc-linux Rajko (~rajkosto@wan.rajkonet.info)
02:32.33jonpryyes. just it wasn't noticable until we had uptimes more than a couple of days
02:33.01jonpryit was always noticable on leo. which is why they had to develop a way to hotpatch amss
02:35.42jonprynot sure if the dft has pulled this yet
02:35.58d3tul3i mean how relevant is this to rmnet
02:36.39jonpryit isn't. but nobody likes rmnet. its slow. but they had to use it because pppd was trashing the slab and locking up
02:37.42d3tul319.2KB/s, 12.1KB/s, 12.1KB/s, 16.5KB/s, 7.0KB/s five runs with the hack
02:37.57d3tul3on a 2282KB file
02:38.23jonprythats dirt slow
02:38.57d3tul3my reception could be better i guess
02:40.01jonprywistilt2 was getting 20mbit oer hsdpa
02:41.40jonprythats almost like gprs speed
03:05.31d3tul3without smd7 hack: 11.7KB/s, 14.6KB/s, 14.6KB/s, 21.9KB/s, 18.3KB/s
03:06.33d3tul3i'll try the autobuild as well
03:10.54jonprythose speeds are so low it can't make a difference
03:11.13jonpryhyc was doing stuff with > 1 MB/s
03:11.28jonpryits also probably why you can't get smd induced crashes
03:23.58d3tul3autobuild 3.3 : 18.0KB/s, 16.3KB/s, 21.9KB/s, 31.3KB/s, 22.2KB/s
03:24.52jonprydo you have 3g enabled?
03:25.42d3tul3it's all on auto...and i see 3g symbol in taskbar so i assume it's working as it should
03:28.42jonpryneed opensignal app
03:29.35jonprywhat carrier are you using?
03:29.38d3tul3sprint
03:31.03jonprydoes sprint have hsdpa?
03:31.19d3tul3don't know what the evdo equivalent of hsdpa is
03:31.29*** join/#htc-linux ray|yar (~raymonddu@c-69-245-114-102.hsd1.mi.comcast.net)
03:32.39d3tul3wonder how that app will play with our ril
03:34.27jonpryapparently well
03:34.54jonpryevdo i guess is at least 2.4mbit
03:35.05jonprynot sure why you get such horrible speed
03:37.09d3tul3yeah it's pretty pathetic
03:42.18jonprydid you fix the h2w?
03:43.18d3tul3my signal strength is no less than 84%
03:43.48jonpryyour tower could be heavily used?
03:44.06d3tul3h2w disappeared.....really mysterious getevent blows up and the event identifies as "h2w headset" but the h2w interrupts aren't counting
03:44.48d3tul3so i am not quite sure how the events are getting to evdev
03:45.51d3tul3finally backported getevent from ics so i can run 'getevent -l' to print out the actual report_codes (SYN, etc) just so i can see what the hell is being reported....but now i can't reporduce it
03:46.10jonpryoh well
03:46.55jonpryneed to upgrade the whole shebang to ics
03:47.12jonpryor get a new phone
03:48.49d3tul3i'll be completely lost on a native android device...mkbootimage is all greek to me
03:49.57jonpryfastboot and signatures
03:50.27jonpryi really want to crack some windows phone
03:53.31d3tul3you should check out that haret + wp7 thread
03:53.59d3tul3if i remember correctly there were several posts : people offering their spare wp7 phones to help the project
03:56.13jonpryguessing we need something along the lines of a kernel exploit
03:56.19jonprylike any jail break
03:57.29d3tul3i guess MS wisened up and removed the publicly available setKmode api
03:57.37d3tul3setK(ernel)mode
03:58.47jonpryyes and i believe there is also a chain of trust
04:00.29jonprybut any jail break should allow elevation
04:01.40d3tul3technically they just need to write a driver that can then invoke kernel side apis and execute haret no? no idea how winmo security really works
04:02.07jonprydrivers are probably signed
04:02.29jonpryor else the whole security model is fubar
04:06.16jonpryalso i wonder how they are getting this haret on there. don't all wp7 apps have to come from the market and be signed?
04:07.05d3tul3knowing MS they are probably storing all driver certs in registry or something
04:07.56d3tul3i guess you need some sort of unlocked wp7 phone
04:08.33jonpryhttp://labs.mwrinfosecurity.com/files/Advisories/mwri_htc-htcutility-kernmem_2011-11-10.pdf
04:09.09d3tul3yeah i've seen that this fellow in the thread GoodDayToDie wrote an exploit using that
04:09.20d3tul3i mean in that advisory they pretty much give you the code
04:09.43d3tul3not sure how many devices come with that .dll and expose that ioctl
04:10.38d3tul3htcroot i think his project is called
04:10.44jonprythe dll is probably signed so you might be able to add it to devices that don't have the cert revoked yet
04:13.46*** join/#htc-linux zmc (~zmc@lurian.net)
04:15.15*** join/#htc-linux Bry8Star (~Bry8Star@gateway/tor-sasl/bry8star)
04:16.22d3tul3bed time later
05:46.32*** join/#htc-linux kiozen (~kiozen@p578a42db.dip0.t-ipconnect.de)
06:00.11*** join/#htc-linux mes_ (~mes@sentry.lazo.ca)
06:03.18*** join/#htc-linux netson (~netson-ub@202.159.118.21)
06:37.26*** join/#htc-linux balans2 (~user@53543C6D.cm-6-5a.dynamic.ziggo.nl)
06:57.40*** join/#htc-linux bitrot (~rajkosto@cable-94-189-233-89.dynamic.sbb.rs)
06:59.25*** join/#htc-linux rajkosto (~rajkosto@wan.rajkonet.info)
07:29.12*** join/#htc-linux Rajko (~rajkosto@cable-94-189-233-89.dynamic.sbb.rs)
07:30.15*** join/#htc-linux bitrot (~rajkosto@wan.rajkonet.info)
08:00.47*** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com)
08:13.55*** join/#htc-linux marc1706 (~Marc@phpbb/modifications/marc1706)
08:37.23*** join/#htc-linux |Jeroen| (~jeroen@d5153E8CC.access.telenet.be)
09:06.57*** join/#htc-linux rob_w (~bob@unaffiliated/rob-w/x-1112029)
10:02.39*** join/#htc-linux balans2 (~user@53546403.cm-6-5b.dynamic.ziggo.nl)
10:07.20*** join/#htc-linux balans21 (~user@53546403.cm-6-5b.dynamic.ziggo.nl)
10:08.28*** join/#htc-linux balans2 (~user@82-170-217-205.ip.telfort.nl)
10:21.17*** join/#htc-linux paulk-desktop (~paulk@lib33-1-82-233-88-171.fbx.proxad.net)
10:23.35*** join/#htc-linux Ondalf (~ondalf@cable-roi-fe98dc00-121.dhcp.inet.fi)
10:27.14*** join/#htc-linux Mavy-bnc (mavfree@91.196.169.2)
10:34.59*** join/#htc-linux zeusk (77eb360e@gateway/web/freenode/ip.119.235.54.14)
10:50.33*** join/#htc-linux rajkosto (~rajkosto@wan.rajkonet.info)
11:03.08*** join/#htc-linux balans21 (~user@53546403.cm-6-5b.dynamic.ziggo.nl)
11:51.38*** join/#htc-linux balans2 (~user@53543BAE.cm-6-5a.dynamic.ziggo.nl)
12:13.10*** join/#htc-linux zeusk (77eb360e@gateway/web/freenode/ip.119.235.54.14)
12:23.09*** join/#htc-linux Rajko (~rajkosto@wan.rajkonet.info)
12:26.37*** join/#htc-linux ahigerd (~ahigerd@173.218.142.90)
12:26.37*** join/#htc-linux ahigerd (~ahigerd@libqxt/developer/ahigerd)
13:17.01*** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com)
13:39.05*** join/#htc-linux ahigerd (~ahigerd@173.218.142.90)
13:39.05*** join/#htc-linux ahigerd (~ahigerd@libqxt/developer/ahigerd)
13:41.50*** join/#htc-linux LordDeath (~LordDeath@cable-81-173-165-254.netcologne.de)
13:48.11*** join/#htc-linux simpson (77eb360e@gateway/web/freenode/ip.119.235.54.14)
13:48.26simpsonfakker
13:48.37simpsonprivet
13:59.24*** join/#htc-linux balans2 (~user@53543BAE.cm-6-5a.dynamic.ziggo.nl)
14:01.22*** join/#htc-linux kiozen (~kiozen@ppp-93-104-86-76.dynamic.mnet-online.de)
14:02.41*** join/#htc-linux balans21 (~user@53543BAE.cm-6-5a.dynamic.ziggo.nl)
14:19.42*** join/#htc-linux balans2 (~user@82-170-217-205.ip.telfort.nl)
14:28.52*** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring)
15:43.05*** join/#htc-linux ccxCZ (~ccxCZ@new.webprojekty.cz)
16:00.32*** join/#htc-linux DuperMan (~Duper@93-173-58-42.bb.netvision.net.il)
16:06.41*** join/#htc-linux Alex[sp3dev] (~alexander@178.76.204.13)
16:21.04*** join/#htc-linux ali1234 (~ajbuxton@s15821883.onlinehome-server.info)
16:21.20*** part/#htc-linux ali1234 (~ajbuxton@s15821883.onlinehome-server.info)
16:23.04*** join/#htc-linux balans21 (~user@53546403.cm-6-5b.dynamic.ziggo.nl)
17:52.36*** join/#htc-linux helicopter88 (~helicopte@host169-113-dynamic.26-79-r.retail.telecomitalia.it)
18:04.32*** join/#htc-linux Entvex (~entvex@83.91.89.186)
18:04.35EntvexHello
18:04.45Entvexdo any one here have a HTC X one ?
18:14.58CptAJEntvex, maybe not but you might as well lay out your question. Worst case we can point you in the general direction of the answer
18:19.17Entvexokay CptAJ
18:19.35Entvexi am looking for the right phone to buy
18:19.48Entvexbut is the Samsung Galaxy S II good ?
18:20.22Entvexi wanna buy a Samsung Galaxy S II or HTC S or HTC X what do you think ? and what phone have best custom rom support :) ?
18:20.27CptAJjonpry, did some tests. panel fails to unblank with autobacklight turned off on winmo. When I turn it on (on winmo) I can unblank it by covering and uncovering it with my hand. The light/proximity sensor is definitely playing a role here.
18:20.31Alex[sp3dev]nokia n9 ftw
18:23.09jonpryCptAJ, i'm guessing that the backlight control stuff is all different on your phone. does changing brightness have any effect in android?
18:23.34CptAJchanging brightness from within android you mean?
18:23.45Entvexdo any one have the Samsung Galaxy S II ?
18:24.15Alex[sp3dev]i would suggest there are thousands of people having galaxy s2
18:24.21Alex[sp3dev]including me unfortunately
18:24.23jonpryCptAJ, yes
18:24.44EntvexAlex[sp3dev] are you happy with it ?
18:25.01CptAJjonpry, none at all
18:25.23Alex[sp3dev]Entvex: it is fine as is, fast and has a good camera. but I think I should've bought nokia n9 because I passionately hate android and java and absolutely love qt4
18:25.39CptAJs2 has better resolution, processor and screen size than n9
18:25.50Entvex:) but symbian is kinda dead right ?
18:25.56Alex[sp3dev]n9 is not symbian
18:26.00ahigerdThe N9 is Meego
18:26.02Alex[sp3dev]it's meego (linux + x11 + qt4)
18:26.05jonpryCptAJ, probably need to mmutrace the i2c traffic while turning on and off autobacklight and changing brightness
18:26.10ahigerdAnd I'm a big fan of Qt4 myself
18:26.15Entvexah sorry :D okay
18:26.21CptAJwhich is also dead Entvex XD
18:26.30ahigerdAlex[sp3dev]: If you're a Qt4 fan you might have heard of me before. :P
18:26.33Entvexdo Meego dead ?
18:26.37Entvexoh okay :)
18:26.37ahigerdNot technically
18:26.39ahigerdBut close enough
18:26.40Entvex*s* too slow
18:26.43ahigerdNobody's shipping it
18:26.56CptAJthe n9 is asking for trouble. alex likes trouble cause he's russian I think
18:27.23Entvexbut what phone is the best ? i mean is s2 still have new roms
18:27.28Entvexor is it on thr way out ?
18:27.29Alex[sp3dev]ahigerd: hum.. sorry, i've not played with qt much, mostly with gtk. i just love how qt4 is documented and its build system
18:27.37Entvexi'm so new to all this :)
18:28.26Alex[sp3dev]Entvex: s2 is a fine phone but both nexus s and galaxy nexus have a larger community and bleeding edge roms from google
18:28.55Entvexi'll tjek the price on galaxy nexus
18:29.04ahigerdAlex[sp3dev]: Funny. I agree with you but plenty of people HATE Qt4's build system. XD
18:29.26Alex[sp3dev]ahigerd: how can you possibly hate anything that works everywhere and even supports c++0x
18:29.40CptAJI'll have to agree about the documentation. Beautiful job there from qt
18:30.14ahigerdEh, I can understand the animosity towards qmake. It's great for simple projects but it doesn't handle dependency tracking or autoconfiguration very well.
18:30.22Alex[sp3dev]looks like my laptop now lasts longer than my galaxy s2
18:30.37Alex[sp3dev]ahigerd: one good thing about qmake is that it is not autohell
18:30.41ahigerdBut I think that's something that could be corrected with a qmake 3.x instead of switching to something as ugly as cmake
18:31.16Alex[sp3dev]does any of you guys have a laptop with switchable graphics?
18:31.20jonpryi do
18:31.42Alex[sp3dev]jonpry: did you notice it consumes +10W power after a resume? if so, could you test one patch?
18:32.06jonpryi only use the intel graphics
18:32.17jonprygave up long ago
18:32.31EntvexGalaxy Nexus also seem cheap :D!
18:32.45Alex[sp3dev]jonpry: i also use intel but turns out radeon powers on itself after a resume and just drains power. and doing on/off via switcheroo causes it to hang for a minute. so i made sort of a hack
18:33.03Alex[sp3dev]still waiting from David Airlie to review it, but Alan Cox said it sucks ;)
18:33.06jonpryi have nv graphics
18:33.20Alex[sp3dev]i see
18:33.34Alex[sp3dev]intel is really nice. at least webgl and compositing doesn't crash x
18:33.38Entvexis it better to wait for the Samsung Galaxy S 3?
18:34.15jonpryit actually runs catia properly. my last laptop was a sandybridge with non switchable ati and it had all kinds of rendering errors
18:35.01CptAJEntvex, waiting is a tricky game. The window where waiting is the right choice is very narrow because there will always be a better rig about to come out
18:35.10Alex[sp3dev]jonpry: if you have time, could you give it a try to see if it doesn't break video on resume? i just need this stuff for my laptop but need more reviews  http://comments.gmane.org/gmane.linux.kernel/1289242
18:36.09EntvexSpot on CptAJ! if you were going to buy a phone today which one would you buy ?
18:36.32CptAJdepends on the budget really
18:36.55CptAJI don't know much about the high end because I can't afford it XD
18:37.10Alex[sp3dev]on the other hand, we could just match all radeon 6xxx via DMI for this hack. i just want airlied to reply because he wrote the switcheroo in the first place
18:37.31jonprywhat does switcheroo do?
18:37.49Alex[sp3dev]jonpry: switches between discrete/integrated graphics.
18:37.55jonpryhow?
18:38.09jonprymy integrated graphics has no connections to any display connectors
18:38.17Alex[sp3dev]well, it has callbacks from drivers. acpi, i think
18:38.54jonprythe framebuffer has to be accessed over pcie and copied to the intel's memory
18:39.06Alex[sp3dev]radeon turns on after a suspend, but switcheroo thinks it's off. if you try to turn it ON, radeon firmware hangs. so i think it is a sane idea to forcibly turn off all the cards that aren't active
18:39.54Alex[sp3dev]jonpry: are you sure it has no hardware mux? need to look up
18:39.55CptAJEntvex, of all the ones mentioned the s2 and the htc x are the top dogs
18:39.57jonpryso you don't have to use a headless x server with ati?
18:40.05jonpryyeah i am sure
18:40.18CptAJEntvex, pick the one with more posts on the dev forum XD
18:40.21EntvexCptAJ s2 a lot cheaper then HTC x
18:40.26CptAJs2 then
18:40.37CptAJthey're pretty similar
18:40.38Alex[sp3dev]jonpry: how does one tell? is there a datasheet?
18:40.40Entvexand i bet it have a better battary!
18:40.49Alex[sp3dev]jonpry: do you mean, this *patch* will break ati?
18:41.01Entvexbeacuse with 4 cores! the HTC X LOVES to eat power!
18:41.07CptAJcheck that there are good custom roms and no showstoppers (locked bootloaders or whatever)
18:41.23Entvexdo the s2 have a GPU ?
18:41.29jonpryAlex[sp3dev], i guess it won't break anything that doesn't have switcheroo
18:41.30CptAJprobably
18:41.31Entvexi like to play a few games aswell :)
18:41.43jonpryAlex[sp3dev], https://wiki.archlinux.org/index.php/Bumblebee#Bumblebee:_Optimus_for_Linux first sentence
18:41.44Entvex(gamedev)
18:41.53Entvexif you have played that!
18:42.01Entvexi love that game xD
18:42.20Alex[sp3dev]jonpry: regarding ati, i have not even tried to get it running. intel has better pm and better drivers. and my opengl experiments are not advanced yet to make intel not enough
18:42.29Entvexjonpry and Alex[sp3dev] i love Arch linux!
18:43.03jonpryAlex[sp3dev], yes the ati is some dodgy stuff
18:43.08EntvexCptAJ did you have the s2 ?
18:47.25Alex[sp3dev]with intel, power drain is quite ok. no wifi + min bl => 7W, good bl => 9W, eclipse + device connected => 12W. compiling linux should be around 20W. my thinkpad has radeon and it never goes below 21W
18:53.48CptAJEntvex, nope. I dont have one
18:54.46CptAJARM Mali-400 GPU  I think thats what it has for a gpu
18:54.55Entvexahh okay
18:55.07CptAJcheck out pdadb.net when you need specs for a phone
18:55.30Entvexi would like to do androide apps :D when i get one! the androide emulator in the SDK Runs like shit :(
18:57.09Alex[sp3dev]galaxy s2 is a good phone overall. although wvga for 4.3 inch seems like a low resolution. but in cm9 everything except tv-out works
18:57.10CptAJjonpry, what should I trace for the I2C writes? the a9900000 phys addy thats on msm_iomap.h?
18:58.14Alex[sp3dev]0xb2300000 iirc. need to check
18:58.31Alex[sp3dev]yes
19:00.54EntvexAlex[sp3dev] do you have a s2 ?
19:01.35Alex[sp3dev]Entvex: yes as i have already stated
19:01.54CptAJAlex[sp3dev], is that virtual or physical_
19:02.01CptAJ?
19:02.27Entvexsorry for not paying attaction i'm talking about this in a few channels to find good advise :) Alex[sp3dev]
19:02.44Alex[sp3dev]CptAJ: just add that to mmutrace
19:03.12Alex[sp3dev]CptAJ: and then dump mmu 2 0xb2300000 iirc. or i may be mistaken. it was long ago but you can always google the logs
19:03.15CptAJah, thats the same as the a99 one (just checked my memory map =P)
19:03.15Entvexare you all talking about programming on phones :) ?
19:03.41Entvexi would like to try that
19:03.47Alex[sp3dev]Entvex: people here are mostly porting android to old windows mobile phones (htc touch pro, xperia x1)
19:03.49Entvexi mean make my own rom
19:04.04Entvexahh okay :)
19:04.06jonpryCptAJ, yeah have to use virt
19:04.28CptAJor p2v(0xphys) >_>
19:04.34Entvexhave any of you got androide 4.0 working ?
19:04.36helicopter88Entvex: I'd join #xda-devs
19:04.51Entvexthanks :)
19:04.52jonpryyeah its just too slow
19:06.04Entvexdo you code in assmbly then ?
19:06.17Entvexto get androide working on a windows phone ?
19:07.33Alex[sp3dev]mostly c. last time i used assembly was to boot the custom bootloader. now everything more or less works, including booting from nand but it took like 20 developers and 3 years
19:08.16Entvexi have only coded a little bit in assmbly
19:09.11jonpryreversing is done in assembly
19:09.45CptAJreversers are like the rockstars of programming
19:10.07Entvexis that beacuse it's so hard ?
19:10.12CptAJpretty much XD
19:10.32ahigerdHard, obscure, and gets perceived as glamorous :P
19:10.52CptAJassembly is annoying enough to write. reverse engineering basically is decompiling programs and reading the assembly to figure out what makes them tick
19:10.53Entvexwell i can decompile c# and java programs
19:11.03Alex[sp3dev]lol
19:11.04Entvexi only write in c# and java
19:11.24Entvexand some c++
19:12.06Entvexhttp://eu3.memecdn.com/lady-gaga_c_297512.jpg
19:12.17Entvexi looled!
19:12.43CptAJI knew all along
19:13.10*** join/#htc-linux mastermerlin (~Adium@p4FEE5303.dip.t-dialin.net)
19:14.36EntvexxD!
19:14.48jonprynah binhacking is rockstar stuff
19:15.17CptAJI figure thats more like jazz
19:15.45CptAJway cooler but only musicians will pay attention
19:15.58jonprycould be
19:16.15jonpryuntil you want camera or 3d to work
19:16.58jonpryguess your 3d is already good?
19:17.14Entvexi have never tryed to reversing a "real" app
19:17.32Entvexonly some stupid small onces just to try it
19:22.09CptAJjonpry, http://paste2.org/p/2003913 traced. Each event is labelled there
19:22.54CptAJEntvex, I guess thats how it starts. I'm just learning assembly now so you got a good head start ;)
19:23.11jonprythat seems pretty much like the stuff we have
19:23.33Entvexwell yeah but i am using it at uni amt
19:23.35Entvexatm :)
19:28.20CptAJjonpry, what could be the problem then?
19:29.01jonpryno i2c errors in dmesg?
19:33.43CptAJhttp://paste2.org/p/2003923 lot of timeouts on vsync
19:33.50jonpryhttp://pastebin.com/7D6wU6Qz
19:33.52CptAJlet me get a log of the wakeup sequence
19:34.19jonprytry this. the initialization is strange to me. so you might have to toggle autobacklight in android for it to actually end up on or off
19:34.34jonpryonce autobl is really off. then brightness should work
19:49.28Entvexhave any of you seen this http://bluestacks.com/
19:50.18CptAJalright, first test run. It's unblanking on its own. Backlight settings now respond properly. however, it eventually crashes like so http://paste2.org/p/2003942
19:50.44CptAJdex error and modem reset. then it stops responding to key events
19:54.19jonpryprobably should remove that vreg stuff from the -panel.c
19:55.16CptAJoh yeah, I should mention that there's still no panel during bootup
19:56.08jonpryi don't really understand that. maybe try forcing it to blank and unblank in bootup somewhere
19:57.25CptAJalright, the vreg stuff. what should I change?
19:58.49jonpryget rid of that vreg_disable/enable
19:59.13jonpryand all the calls to msm_proc_comm_wince
20:00.17jonpryi'm not sure this is the right course of action but its worth a shot i guess
20:02.59*** join/#htc-linux ahigerd (~ahigerd@173.218.142.90)
20:03.06*** join/#htc-linux ahigerd (~ahigerd@libqxt/developer/ahigerd)
20:07.34jonprygtg
20:36.36*** join/#htc-linux rajkosto (~rajkosto@wan.rajkonet.info)
20:37.20detulejonpry, possibly his backlight doesn't support this 0-10 backlight, looks like we should be writing 0-255 instead of 0-9?
20:50.08detuleor maybe not
20:58.10CptAJwell, it does seem to function with those values
20:58.52detuleyour backlight works?
20:59.08CptAJyeah
20:59.27CptAJits just the unblanking routine that's been giving trouble
20:59.42detuledoes it dim and undim when you use the slider in android?
21:00.04CptAJyeah, jonpry fixed that today =)
21:00.40detuleis it in the autobuild?
21:01.00detuleoh
21:01.10detulei see it was the autobacklight setting that was broken
21:01.35CptAJI dont think so, jonpry pastebinned it
21:02.18*** join/#htc-linux mes_ (~mes@S0106000ce55186df.cc.shawcable.net)
21:04.28detulexool
21:04.33detules/xool/cool/
21:04.45detulewhat are you using for panel code?
21:08.01detuledid you get rid of the vreg-s and dex calls in middi_power_client?
21:08.39CptAJhttp://pastebin.com/q70GwjUp this without the vregs and dex calls right now
21:09.39detuledoubt that would compile
21:09.45CptAJit did
21:09.48CptAJand its working
21:10.20detulewhat's on line 176 i don't understand "dex.da ta"
21:11.13CptAJmust be a pastebin error. look at the raw paste data
21:11.48detulethis panel looks different than what's in the autobuild you must be working off a newer itteration hard to follow but great that it's working for you
21:12.52CptAJits still a bit funky but I guess we're getting there
21:14.12detuleoh i see it's that version of *panel but you've taken out the dex/proc_comm calls....
21:14.31detulea little slow here
21:15.46detuleCptAJ, you've shared your good news with the few other imagio users in the world?
21:16.35CptAJI wanted to pack it up as an early christmas present for them in several forums where I know they check sporadically
21:16.51CptAJbut the suspend issues are really getting in the way =(
21:17.42CptAJI set myself the milestone of having it at least relatively stable with the temporary key configuration (no microp keys) and data
21:17.55CptAJso there's some point to using it
21:18.41CptAJI dont see a point in releasing if its just gonna work tethered to the PC with suspend off
21:20.37CptAJby the way, I got acoustic kinda working the other day
21:21.03CptAJsounds are coming through the earpiece
21:21.10CptAJno loudspeaker though
21:21.38CptAJI've abandoned that line of tweaking until suspend is finally licked
21:22.33detuleyou have all the csv's in place?
21:22.55detulethat sounds like a routing issue
21:23.01CptAJcsv's?
21:23.12CptAJ(also, no incall sound for some reason)
21:23.14detulefrom winmo?
21:23.32detuleneed to copy all *.csv files from your windows directory to the root of your sdcard
21:23.39CptAJoh my
21:23.59CptAJI'll get on that, I guess. Sounds simple enough
21:24.01detulealso can you copy paste your board file with acoustic
21:24.08detulecurious about your endpoints
21:25.16CptAJhttp://paste2.org/p/2004024 boardfile
21:26.17detulesee if it works with the csv files
21:26.31detuleshould fix at least one of your problems :)
21:26.34*** join/#htc-linux Alex[sp3dev] (~alexander@178.76.204.13)
21:29.06detulein htcwhitestone_init
21:29.30detuleyou should do all the acousic_* snafu before patform_add_devices
21:30.30detulethat's pretty important
21:36.40*** join/#htc-linux ahigerd (~ahigerd@173.218.111.126)
21:36.56*** join/#htc-linux ahigerd (~ahigerd@libqxt/developer/ahigerd)
21:38.04detulei guess not quite as important as i thought
21:48.24*** join/#htc-linux ahigerd (~ahigerd@173.218.111.126)
21:48.24*** join/#htc-linux ahigerd (~ahigerd@libqxt/developer/ahigerd)
21:53.21CptAJalright, moved the acoustic_ stuff and placed the csv files in the root of the sd card
21:53.24CptAJtrying it now
21:58.48*** join/#htc-linux MethoS- (~clemens@134.102.106.250)
21:59.27*** join/#htc-linux ahigerd (~ahigerd@173.218.111.126)
21:59.27*** join/#htc-linux ahigerd (~ahigerd@libqxt/developer/ahigerd)
22:00.21*** join/#htc-linux furtardo (~mks@nat/yahoo/x-qxazwexvijkzjfmu)
22:10.31CptAJmic is working =)
22:10.43CptAJat least we have calls now
22:11.39CptAJunblank is being stupid though. It wont unblank while untethered. I think it's just taking too long and the suspend timeout kicks in before it unblanks or something. It seems to take a variable amount of time to unblank when plugged in
22:11.52CptAJat leastit isn't crashing anymore though
22:12.01CptAJalmost there
22:20.16*** join/#htc-linux raymonddull (~raymonddu@c-69-245-114-102.hsd1.mi.comcast.net)
22:29.15*** join/#htc-linux ahigerd (~ahigerd@173.218.111.126)
22:29.16*** join/#htc-linux ahigerd (~ahigerd@libqxt/developer/ahigerd)
22:55.46*** join/#htc-linux furtardo_ (~mks@nat/yahoo/session)
22:57.51*** join/#htc-linux raymonddull (~raymonddu@c-69-245-114-102.hsd1.mi.comcast.net)
23:00.37*** join/#htc-linux ahigerd (~ahigerd@libqxt/developer/ahigerd)
23:00.37*** join/#htc-linux Alex[sp3dev] (~alexander@178.76.204.13)
23:00.37*** join/#htc-linux NeoMatrixJR_away (~NeoMatrix@173-18-84-218.client.mchsi.com)
23:00.37*** join/#htc-linux ChanServ (ChanServ@services.)
23:00.37*** join/#htc-linux nitroboost (j@nitrology.com)
23:00.37*** join/#htc-linux EdLin (~EdLin@midway.packetsense.net)
23:00.37*** join/#htc-linux fakker (fakker@cpc13-hitc6-2-0-cust129.9-2.cable.virginmedia.com)
23:00.37*** join/#htc-linux detule (~detule@unaffiliated/d3tul3)
23:00.38*** join/#htc-linux phh (~quassel@137.194.15.151)
23:00.38*** mode/#htc-linux [+o ChanServ] by wolfe.freenode.net
23:01.08*** join/#htc-linux furtardo_ (~mks@nat/yahoo/x-ofbbtcsqwalfvrni)
23:01.08*** join/#htc-linux polyrhythmic (~polyrhyth@c-71-197-239-27.hsd1.wa.comcast.net)
23:01.32*** join/#htc-linux Mavy-bnc (mavfree@91.196.169.2)
23:01.32*** join/#htc-linux ElFinLazz (~elfinlazz@182.215.84.22)
23:01.32*** join/#htc-linux tmzt (~tmzt@adsl-76-253-137-36.dsl.akrnoh.sbcglobal.net)
23:01.32*** join/#htc-linux FlawlesStyle (~LOL@unaffiliated/flawlesstyle)
23:02.06*** join/#htc-linux bukington (~bukington@fac34-2-82-228-151-145.fbx.proxad.net)
23:02.06*** join/#htc-linux sado1 (~sado1@meiserver.de)
23:02.06*** join/#htc-linux CIA-100 (~CIA@cia.atheme.org)
23:02.06*** join/#htc-linux Entropy512 (~quassel@cpe-69-205-145-233.stny.res.rr.com)
23:05.55jonpryno moar crashing?
23:06.38CptAJnope
23:06.48CptAJso thats a win right there
23:06.52jonpryso suspend in general is fixed?
23:06.56CptAJno
23:07.00jonpryhrm
23:07.04CptAJit still wont unblank properly
23:07.18jonprylike it takes a long time?
23:07.24CptAJit seems to unblank whenever it feels like, yeah
23:07.36CptAJwhen its unplugged, it never unblanks
23:07.58jonpryplugged in it doesn't actually suspend
23:08.01CptAJunless I hit the power button again, in which case it quickly unblanks and blanks into suspend
23:09.07CptAJit seems like its just taking to long to call novtec unblank
23:09.10CptAJ*too
23:09.26jonpryis this no unblank thing new?
23:09.38CptAJno, its the same issue we've had from the beginning
23:09.45CptAJit doesn't call on that function in time
23:10.35CptAJin 27 I could trigger it by unlocking. Yesterday SOMETIMES it triggered by covering up the phone. So I'm guessing that a change in backlight sometimes triggers it
23:11.33jonpryer. i meant is the no blank thing new
23:11.44CptAJit does blank
23:11.48CptAJall the time
23:11.51CptAJit rocks at blanking
23:12.17CptAJif there was a blanking competition then... ok you get the picture XD
23:12.46jonprylol
23:14.13jonprymaybe try to remove some of those sleeps in the mddi power client
23:14.35jonpryalso those remote_writes in panel_unblank might be good
23:17.06CptAJI'll try enabling the remote writes
23:18.29CptAJhttp://paste2.org/p/2004136 check out this log. I suspended, unplugged the cable and tried to wake it up.
23:18.57CptAJthen after it didn't, I plugged back in to get the log. but as I was doing that, it woke up. (so yeah, it took a long time)
23:19.50jonprywe call that the slow wake. or failed wake
23:20.15jonpryanother guy was responsible for fixing it on touch pro2
23:20.43jonpryfrom what i understand it is a matter of timing. and that waiting in mddi_power_client is very dangerous
23:21.23jonpryonce you have removed all the wasted time possible there are some other parameters that can be tweaked
23:25.21*** join/#htc-linux FlawlesStyle` (~LOL@173.255.136.122)
23:27.03*** join/#htc-linux tmzt_ (~tmzt@adsl-76-253-137-36.dsl.akrnoh.sbcglobal.net)
23:33.12*** join/#htc-linux ElFinLazz (~elfinlazz@182.215.84.22)
23:34.28*** join/#htc-linux wk (~wk@141.0.136.22)
23:41.33*** join/#htc-linux Mavy-bnc (mavfree@91.196.169.2)
23:43.46CptAJI'll tweak that stuff in a bit. Making some dinner
23:45.39*** join/#htc-linux furtardo (~mks@nat/yahoo/x-nebipwtnmhvfguka)
23:46.11*** join/#htc-linux Bry8Star{EB_ (Bry8Star-@2607:f128:42:fb::2)
23:51.15*** join/#htc-linux friehmaen (freeman@fm.xers.de)
23:55.38*** join/#htc-linux toer (~tore@179.81-166-86.customer.lyse.net)

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