IRC log for #htc-linux on 20110310

00:00.48*** join/#htc-linux Curious_ (8bb3cfe2@gateway/web/freenode/ip.139.179.207.226)
00:00.51Curious_if any rom-leaker from htc is reading this, PLEASE leak desire-GB SENSE
00:01.10*** part/#htc-linux Curious_ (8bb3cfe2@gateway/web/freenode/ip.139.179.207.226)
00:01.57*** join/#htc-linux iwanrakic (b2db062b@gateway/web/freenode/ip.178.219.6.43)
00:05.28*** join/#htc-linux gauner1986 (~Adium@p5B383A31.dip.t-dialin.net)
00:05.39*** join/#htc-linux gauner19861 (~Adium@p5B383A31.dip.t-dialin.net)
00:13.58*** join/#htc-linux Daevoq (~IceChat7@host247-169-dynamic.252-95-r.retail.telecomitalia.it)
00:15.32*** join/#htc-linux hardwalker (~hardwalke@114-33-201-92.HINET-IP.hinet.net)
00:22.18*** join/#htc-linux mitsutaka (~mitsutaka@rt.miraclelinux.com)
00:29.12*** join/#htc-linux AntiSociaL (~ntiSociaL@unaffiliated/antisocial)
00:31.24AntiSociaLhmmm
00:31.31AntiSociaLhow's this project going?
00:34.55*** join/#htc-linux _Nash (~DeML@unaffiliated/nash/x-0795030)
00:36.58AntiSociaLvg\
00:36.58AntiSociaLbdfg
00:36.58AntiSociaLfdg
00:36.59AntiSociaLDSFG
00:36.59AntiSociaLSDF
00:36.59AntiSociaLG
00:36.59AntiSociaLDFG
00:37.00AntiSociaLD
00:37.00AntiSociaLFG
00:37.01AntiSociaLDFg
00:37.01AntiSociaLDFG
00:37.02AntiSociaLD
00:37.02AntiSociaLFG
00:37.03AntiSociaLDFG
00:37.03AntiSociaLd
00:37.16*** join/#htc-linux gauner1986 (~Adium@p5B383A31.dip.t-dialin.net)
00:37.16AntiSociaLa
00:37.17AntiSociaLa
00:37.18AntiSociaLaa
00:38.21parmasterthis project is vast, also shut up
00:39.40_NashHe's not even in here.
00:42.14*** part/#htc-linux _Nash (~DeML@unaffiliated/nash/x-0795030)
00:43.35AntiSociaLalso
00:43.42AntiSociaLsuck my left nut
00:43.44*** join/#htc-linux Segnale007 (~Segnale00@ppp-116-137.98-62.inwind.it)
00:43.48*** part/#htc-linux AntiSociaL (~ntiSociaL@unaffiliated/antisocial)
00:59.49dharvey4651wow..
01:07.51*** join/#htc-linux Daevoq (~IceChat7@host141-105-dynamic.56-79-r.retail.telecomitalia.it)
01:14.15*** join/#htc-linux camro (~camro@89-104-29-101.customer.bnet.at)
01:18.20*** join/#htc-linux programmer8922 (~Evan@156.110.78.2)
01:30.28*** part/#htc-linux iwanrakic (b2db062b@gateway/web/freenode/ip.178.219.6.43)
01:33.20*** join/#htc-linux HardDisk_WP (~marco@velirat.de)
01:33.20*** join/#htc-linux HardDisk_WP (~marco@wikipedia/harddisk)
01:42.43*** join/#htc-linux crawling (~crawling@a94-132-176-196.cpe.netcabo.pt)
01:57.29*** join/#htc-linux Drakh_ (Drakh@190.42.70.170)
02:08.35*** join/#htc-linux condor73 (~condor73@5ED2142D.cm-7-3a.dynamic.ziggo.nl)
02:23.27*** join/#htc-linux EdLin (~EdLin@securabit/listener/edlin)
02:27.31*** join/#htc-linux fakker (~noobhands@cpc13-hitc6-2-0-cust129.9-2.cable.virginmedia.com)
03:08.28*** join/#htc-linux LargePrime (~LargePrim@70-9-130-94.pools.spcsdns.net)
03:24.46*** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring)
03:26.36*** join/#htc-linux swc|666 (~x00@unaffiliated/swc666/x-4934821)
03:38.01*** join/#htc-linux swc|666 (~x00@unaffiliated/swc666/x-4934821)
03:40.50*** join/#htc-linux balans (~barry@82-170-217-205.ip.telfort.nl)
03:40.58*** join/#htc-linux WisTilt2 (~wisgreg@wireless248.wirelesstcp.net)
03:42.39jonpryWisTilt2, sup dude?
03:43.14WisTilt2jonpry, yo.  man im beat.  3 days at disneyland with my grand kids is a bit much
03:43.24WisTilt2need a vacation to recoop
03:43.36jonpryah, maybe go to legoland
03:43.57jonpryi've recreated your technology for the most part
03:44.01WisTilt2yeah probably would have been less demanding.  had a great time though.
03:44.27WisTilt2you figure out the missing stuff i was leaning you towards?
03:44.40jonprysort of
03:45.01jonprylike i found the sleep timer in a dex call. presumably it is arm9's sleep timer, but who cares
03:45.21jonpryand i am using rtc to wake it up, which has low granularity and high jitter
03:45.25*** join/#htc-linux Segnale007 (~Segnale00@ppp-116-137.98-62.inwind.it)
03:45.52WisTilt2you setup a timer to wake at X interval?
03:46.07jonpryyeah, its just in seconds
03:46.24jonpryand i have quickwakeup now. so i can wake and sleep in ~20ms
03:46.45WisTilt2with out without scheduler
03:46.57jonpryno schedule
03:47.13jonpryno resume for that matter
03:48.22WisTilt2nice.  then you figured out the method i was referring to being somewhat locked up from our standpoint
03:48.37WisTilt2license wise that is
03:49.22jonprythere is a bug i can't fix though
03:49.26WisTilt2found out about this manufacturer license i mentioned, none other than MS
03:49.46jonprynothing high tech
03:49.55jonpryjust me not understanding pm i think
03:50.23jonpryfor awake measurements i am just setting up a periodic deal with add_timer()
03:50.32jonpryand it seems to prevent the phone from sleeping
03:50.41jonprydoesn't even try, no checks for wakelocks in dmesg
03:51.05WisTilt2are you waking arm11 at all by chance?
03:51.22jonpryi don't understand
03:51.47WisTilt2you're saying when you do your quickwakeup it doesn't sleep afterwards?
03:52.16jonpryno that stuff is fine
03:52.39jonpryits taking measurements while awake that doesn't work
03:52.44jonprythe easy part
03:53.13WisTilt2the add_timer() is preventing sleep though?
03:53.46jonpryi think so
03:54.02jonpryhttp://gitorious.org/scbs/scbs/blobs/master/scbs.c 143:wake_time_fn()
03:54.14jonpryrunning that will prevent it from ever trying to sleep
03:54.18WisTilt2that was my next question, let me take a look
03:55.45jonprythis was the last part i ever expected to be hard
03:56.04jonprythe thing will sit there taking measurements while asleep all day long, and wake up and upload it to software
03:56.17jonprybut i can't take them under normal operation!
04:03.51WisTilt2so the timer works fine in sleep?
04:04.26jonpryuses a different timer
04:04.30jonprythat is an rtc alarm
04:05.36*** join/#htc-linux Drakh_ (Drakh@190.42.40.105)
04:05.51WisTilt2which add_timer are you using, kernel timer.c or something else?
04:06.21jonprykernel
04:06.50WisTilt2you have to specify which cpu to put the timer on
04:07.12jonprywhat?
04:08.27WisTilt2hang on, let me look further.  i think you have to pass which cpu to the timer but i may be thinking of something else...
04:09.05jonprythat doesn't make any sense
04:09.39jonprykernel timers are just a product of the scheduler
04:09.43WisTilt2yeah nm, im thinking of multi core cpus
04:09.58jonprythey get run in x jiffies
04:10.00jonpryand the timer works fine
04:10.13WisTilt2so in wake are you actually getting time up but sleep never happens again right?
04:10.21WisTilt2timer*
04:10.35jonpryits like it thinks the phone isn't idle
04:10.39jonpryor idle long enough
04:10.42jonpryor can idle
04:11.12WisTilt2yeah sounds like thats the problem.  how long is the actual timer interval
04:11.22jonpryi'm not sure how it decides to suspend. and debugging it is a nightmare because it seems to think about it every jiffy
04:11.32jonpryi have it set to 5 seconds
04:11.45jonpryi'm pretty sure it would sleep if i set it to something bigger
04:12.31WisTilt2thats the problem.  i have my kernel sleeping in under 1 sec now.  there are several things that need to be changed for that to happen
04:12.52WisTilt2normal sleep time is around 5-7 secs as the current code is written
04:12.58jonprywhy would my timer prevent it from sleeping?
04:13.10jonprywhat about it firing says abort suspend?
04:13.35jonpryi mean you can have a process spinning, eating up cpu and it will still suspend
04:13.59WisTilt2are you doing this with .27?
04:14.05jonpryyes
04:14.46WisTilt2let me pull up one of the source files for you to make some changes to and see if it sleeps... give me a few
04:15.04jonpryi don't really want to make the phone sleep faster
04:15.26jonpryi want it to be wholly inconsiderate of my code
04:16.35*** join/#htc-linux |Atom| (~atom@82.194.234.249)
04:19.18WisTilt2jonpry: ok we'll pass on that then.  you sure there are no wake locks at the time of suspend request?
04:20.01jonpryyeah, but it doesn't even check them
04:20.10jonprylike if i plug usb in and let it sit there
04:20.33jonprynormally i will get wakelock evdev and vbus every 5 seconds or so
04:20.52jonprybut if my daemon is running, and consequently the timer. then there is no message
04:21.11WisTilt2and you are seeing the "abort suspend" every time?
04:21.17WisTilt2after add_timer
04:21.44jonpryyeah whenever the timer is running, it doesn't try
04:22.32WisTilt2can you pastebin part of dmesg that shows before and after the abort suspend cycle
04:22.53jonpryi'll have to generate that
04:23.14WisTilt2i went through this somewhat similarly when i setup wake intervals, although i did it a bit different than you are
04:23.31WisTilt2your code looks very nice btw
04:24.17jonpryyou haven't seen what i did to timer.c :p
04:24.33WisTilt2i can only image.  you havent seen what i did to pm:)
04:24.37WisTilt2imagine
04:25.14jonpryi mostly just added some code for calculating new kind of time. i wrote it like 3 times, first were pretty invasive
04:25.36jonpryi don't understand why it is constantly trying to sync dgt and gpt to smem clock
04:26.50WisTilt2gpt is only one used isnt it?  db timer isn't impemented i thought
04:27.51jonprygpt is running the scheduler. dgt is not used, but may be implemented
04:28.26*** join/#htc-linux Berger (~noreply@c65wn1.wifi.halden.net)
04:29.06jonpryafaict its like gptimer is running from an unknown source. where as smem clock is a 32khz crystal. so the code uses gptimer to get an interrupt at rough estimate time, and then spins until smem clock is the expected value
04:29.49jonprybut like how weird is that
04:29.57jonpryblows my mind
04:33.02jonpryso my first plan to get a sleep timer was that mother.
04:33.20jonprybut it turns out that can't work :p
04:33.58jonprybtw, you can't make ktime() include suspend time. so you may be interested in jonpry_time() :p
04:34.06WisTilt2this might be a dumb question but when you run init_timer, does the timer structure already have values setup?
04:34.46jonprywell, running it in the function doesn't hurt, but i put it there while hunting down another bug
04:35.12jonpryinit_timer just clears head and next pointers so it can be inserter in the list
04:35.49WisTilt2might have another timer running that somehow tied into yours.  have you tried mod_timer to change timeouts higher or lower to see if it ever sleeps?
04:36.08jonpryits already timed out when it gets to that function
04:36.31jonprythere all one shot timers
04:36.41jonpryi got that code from stupid kernel programming guide
04:37.07*** join/#htc-linux swc|666 (~x00@unaffiliated/swc666/x-4934821)
04:37.32WisTilt2dont you have to put spinlocks around timer setup?
04:37.55jonpryits not reentrant code
04:38.04jonpryonly one copy of scbs is possible
04:38.32jonpryit all *works* fine. just keeps the bitch awake
04:38.34WisTilt2and the interrupts dont get enabled until the timer is setup each time correct?
04:38.59WisTilt2im probably over diagnosing, just trying to understand the flow of what you're doing
04:39.07jonpryyeah there is question about that
04:39.25WisTilt2you might try masking the irq during setup
04:39.26jonpryits not necessarily a good idea to be doing all of that in an interrupt context
04:40.00jonprybut i'm not sure that add_timer really has irq disabled for the calls. docs are slim
04:40.23WisTilt2i need to see the dmesg so i can see the flow during attempted suspend
04:40.30jonpryi thought about making a kthread
04:40.55WisTilt2add_timer does not disable irq within itself
04:40.55jonpryyeah my battery is over discharged, phone won't turn on yet
04:41.33jonpryit inserting into a link list. so it could potentially spinlock_irqsave
04:42.14jonpryi can send you a kernel
04:42.32jonprybut you also need the daemon to get it good and pissed
04:43.07jonprysomebody will get us a dmesg :p
04:43.41rpierce99i'm available if you need anything guys
04:44.04jonpryyou know how to use adb?
04:44.10rpierce99haha yeah
04:44.20WisTilt2yeah pierce has done some good testing for me with all my pm stuff
04:44.33jonpryok, i have some work for you :p one sec
04:45.12WisTilt2guess arrrghhh is sleeping... have some news on this sod problem with weak signal
04:45.59rpierce99yeah he's been looking forward to talking with you again WisTilt2, probably just wants a RIL :P
04:46.40jonpryhttp://prymfg.com/kernel/zImage
04:46.43jonpryhttp://prymfg.com/kernel/scbs
04:46.58jonpryneed to adb push scbs into /system/bin
04:47.19jonprythen shell it and run scbs -d
04:47.32rpierce99while running the new kernel i assume
04:47.36jonpryright :p
04:48.30jonprythe command will return immediately. it will be logging battery data to your sdcard. then unplug usb, wait for it to fail to suspend, reconnected, take dmesg
04:51.15WisTilt2jonpry: did you find a boat yet?
04:51.24jonpryyeah i got one
04:51.45WisTilt2sloop or what?
04:51.53jonprycoronado 30 sloop
04:52.10WisTilt2nice.  easy boat to handle by yourself
04:52.18jonprywhich is not quite as big as i'd like :p
04:53.24jonprybeen buying accessories
04:53.29WisTilt2yeah, we had a 40' center cockpit sloop and it was nice but took 2 people to run it.  43' mast has lots of main sail area.
04:53.46jonpryoO
04:54.14jonprythis has got a 37' mast
04:54.29jonprybut it is not fast. 6.85 knot hull speed
04:54.36WisTilt2had a friend down in St Martin that had that same boat you have now.  they sailed down to barbados with us then went all the way down to venuzuela to get it painted cheap
04:54.52WisTilt2thats not a bad hull speed.  draft is about 5' isnt it?
04:54.59jonpryi here DR is the place for that
04:55.08jonpry*hear
04:55.33jonpryyeah i think it 4.5/5, not a lot of data on the coronado actually
04:55.48jonprygotta get under her and measure it
04:56.02WisTilt2ours was 5.5' draft and hull speed was around 6 knots unless we were running and exceeded it a few times with swells, thats always interesting to listen to:)
04:56.30jonpryonly 6 in a 40'?
04:56.39WisTilt2ferro cement hull
04:56.55jonpryah one of those
04:57.07jonpryyou can get those on the free now
04:57.13rpierce99jonpry: after adb pushing it in, I'm trying to run it and it's returning permission denied, even after su, do i need to chmod it
04:57.30jonpryhmm
04:57.39WisTilt2bought it from the builder that built it in cape town and sailed it to St Martin and we bought it for around 30k.  that was back in 1987
04:57.40jonpryi forgot one thing, but shouldn't be permission denied
04:57.51jonpryrpierce99, cd /dev
04:57.56jonprymknod scbs0 c 250 0
04:58.24rpierce99same result
04:59.09rpierce99meaning that command didn't return anything but i tried again and got the same result
04:59.41jonpryi guess you could try chmod +x /system/bin/scbs
05:00.12rpierce99super cool battery software: daemon starting...
05:00.22WisTilt2lol, nice name jonpry
05:00.28rpierce99it's writing output to the console now
05:00.36jonpryyeah thats normal
05:00.46jonprynow disconnect usb and try to make it sleep
05:01.48rpierce99still waiting for usb debugging to turn off, thinks it's still connected for some reason
05:02.20jonprymaybe that is the problem :p
05:03.12WisTilt2jonpry: did you try running that from the console without usb?
05:03.16rpierce99lock screen still shows a power plug, led is amber
05:03.19jonpryno
05:03.48jonpryrpierce99, maybe shell, killall scbs and try with console?
05:04.40WisTilt2you'll have to open usb screen and say no on usb drive i think to kill it also
05:05.01rpierce99as soon as i killalled it, the usb indicator went away
05:05.06rpierce99i killed it from connectbot
05:05.16jonpryhmm
05:05.21jonpryi didn't notice that icon :p
05:05.46rpierce99alright i started it now without usb
05:06.12rpierce99it's sleeping now
05:06.17jonprygreen light?
05:06.20rpierce99yep
05:06.22jonpryf%^&
05:06.26WisTilt2lol
05:06.43jonprythanks rpierce99, i've been working on that for days
05:06.47rpierce99np
05:06.51rpierce99need logs?
05:07.03jonprynot really. no bugs lol
05:07.07rpierce99k
05:07.40jonpryWisTilt2, i don't think you can fix my problem
05:07.47rpierce99want me to run it for a while for testing the scbs stuff or do you have that covered?
05:08.14jonpryif you don't need wifi, then you can run it for long long time and send my the log file on your sdcard if you'd like
05:08.40rpierce99nah haven't turned on wifi for weeks, just use it as normal?
05:08.53jonpryyeah, do whatever, charge discharge, use sleep. whatev
05:09.40jonprybeware of the battery meter, it will probably say something like 16832%
05:09.44rpierce99usb state doesn't change either way, just plugged it back in with scbs running and it doesn't detect usb and start charging :)
05:10.08jonpryprobably thinks its full
05:10.28rpierce99well i don't get adb connection either, it doesn't even realize there's a usb connection
05:10.36jonpryhmm
05:10.44rpierce99whatever is preventing it from disconnecting is also preventing it from connecting
05:10.44jonpryyou think it got botched from the first unplug?
05:11.09rpierce99bet if i kill scbs again it'll magically find the usb
05:11.26jonpryok
05:11.32jonpryi hope not :p
05:12.28rpierce99usbdbg right up, sorry dude
05:12.36jonpryhrm
05:12.53jonpryWisTilt2, any ideas?
05:13.04rpierce99whatever is supposed to be monitoring the usb connection, it's like that thread gets hung
05:13.16jonprythats possible
05:13.27jonpryi did bad things to htc_battery_smem
05:13.29WisTilt2check dmesg and see if usb service died
05:13.55WisTilt2oh, it came back on when you killed scbs
05:14.06jonprywell mostly i tried to turn that shit off when scbs is running, and i think it sets some userland crap about charging
05:15.44jonpryok, think i found it
05:15.53jonprynew kernel?
05:15.54rpierce99there is some stuff in here about usb, http://pastebin.com/gZPYSAYu
05:16.31rpierce99meaning, ridiculous amounts of spammed usb errors :)
05:16.41*** join/#htc-linux arrrghhh (~arrrghhh@c-71-237-40-111.hsd1.co.comcast.net)
05:17.12WisTilt2brb, ice cream is calling
05:17.14*** join/#htc-linux gassedup (gassed@c-76-30-161-228.hsd1.tx.comcast.net)
05:18.09arrrghhhoh sure, that's the first thing he says when i join.
05:18.29rpierce99to be fair, I'd ditch you for ice cream too
05:18.38arrrghhheh, that's fair
05:18.46arrrghhhwould as well
05:18.49jonpryrpierce99, i put up a new kernel if you want to try it
05:18.54rpierce99k
05:19.56jonpryhi arrrghhh
05:20.06arrrghhhhow you doin jonpry
05:20.45jonpryrpierce99, is fixing my bugs :p
05:21.02rpierce99finding != fixing :)
05:21.04jonprycotulla couldn't figure it out either
05:21.06*** join/#htc-linux _twitch (~burning_a@64.112.96.58.static.exetel.com.au)
05:22.19jonpryi think i am not doing something right with charge current
05:22.39jonpryi get numbers like 2.4 amps when hooked up to my laptop
05:22.48jonpryby everyone else says there number make sense
05:23.53rpierce99jonpry: booting the new kernel now
05:27.08rpierce99jonpry: that did it, sleeping like a baby now (while running scbs of course)
05:27.19jonprycool
05:27.25rpierce99i started it plugged in and it detected the disconnect
05:27.36jonpry:p
05:27.55rpierce99and it detects the reconnect as well
05:28.15jonpryits just ugly
05:28.22*** join/#htc-linux manekineko (~manekinek@newyork.homeserver.com)
05:29.10rpierce99Battery Level: 235405% That will last me years!
05:29.15jonprylol
05:29.34jonpryyou have to divide by 64k
05:29.44rpierce99aw thats no fun
05:30.33jonpryactually dividing by 64k will just give you the corrected voltage
05:30.41jonprythen you can plot it
05:30.49*** join/#htc-linux BHSPitMonkey (~stephen@unaffiliated/bhspitmonkey)
05:31.09*** join/#htc-linux goxboxlive (~jrs@mail2.hjellnesconsult.no)
05:31.24jonprydon't let it go below 222 822
05:32.00rpierce99otherwise it ends up like yours is right now? :P
05:32.09jonpryyeah :p
05:33.28WisTilt2arrrghhh finally woke up huh?
05:33.33rpierce99does this kernel have the relatively up-to-date panel collapse code, i can guesstimate what my drain is if it does
05:33.40*** join/#htc-linux Kasjopaja23 (~Tina@p578FF556.dip.t-dialin.net)
05:34.04arrrghhhheh
05:34.05jonprythis all looks very good though. working daemon, in and out. just get a little data and battery should be super cool
05:34.10arrrghhhreading logs, about to go to bed in fact.
05:34.17jonpryrpierce99, its up to date on glemsom patches
05:34.23jonpryshould have camera
05:34.34arrrghhhwanted to say people said if they disable data SoD goes away...
05:35.12WisTilt2arrrghhh real quick.  test ril is a few days away.  sod is data related....
05:35.12rpierce99k, i shouldn't have a problem keeping it alive then, i know about how long it lasts, unless your code makes it drain significantly faster, which will be good to know either way
05:35.26arrrghhhcool, i can wait
05:35.54WisTilt2problem in ril with data stream state during loss of signal or switching cells
05:37.19arrrghhhseems consistent with reports, for sure.
05:39.17WisTilt2he has a list of problems related to call handling also that might be messing up audio routing but dont know all the details.  wont be back at office until tomorrow to get all the details and look it over.
05:39.27arrrghhhah
05:39.31arrrghhhhave a good vaca?
05:40.23WisTilt2yes, we stayed an extra day so 3 days in disneyland and california adventure about killed me:)  had a great time though and grand kids are more worn out then the old man
05:40.52rpierce99is jealous
05:40.54WisTilt2need a vacation now to recoop though
05:41.03arrrghhhlol
05:41.09arrrghhhi had a fantastic vaca
05:41.13rpierce99i really want to take my kids there, but the family would kill me if we didn't visit them all in seattle instead
05:41.17arrrghhhsucks being back in reality :P
05:41.20WisTilt2no broken bones arrrghhh?
05:41.25arrrghhhnot a one!
05:41.28WisTilt2nice
05:41.34arrrghhheven got my dad to jump off a small cliff on the last day
05:41.44arrrghhh6" powder day on the last day, it was f-ing fantastic.
05:41.59WisTilt2doesnt get any better than that does it?
05:42.06arrrghhhnope, it really doesn't.
05:42.57WisTilt2rpierce99 take them! their only kids for a short time
05:43.40rpierce99WisTilt2: I know, but we can only take one vacation this year and we haven't visited their grandparents/aunts/uncles/cousins/great grandparents/etc in like 2 years
05:43.55jonpryrpierce99, i'm from seattle
05:44.21WisTilt2yeah thats probably a good idea to visit them then.
05:44.23rpierce99i'm originally from seattle, lived in Minneapolis for the last 4 years or so
05:44.46jonprysort of anyways. i'm there right now
05:45.15arrrghhhso WisTilt2... i've had several reports from AUO panel users that battery life went down for them after the 2/28 kernel
05:45.18arrrghhhbefore the cam commits
05:45.36arrrghhhand of course their camera doesn't work, so there's issues with that...
05:45.45arrrghhhevidently none of them tested jb's kernel?  i don't know.
05:46.16WisTilt2nothing changed in my power stuff so could be all the other commits.
05:46.16arrrghhhmy battery life has been fantastic on your latest 3/1 kernel.
05:46.30arrrghhhwell they're saying that even before the cam stuff
05:46.42arrrghhhthey have some kernel from 2/26 they're saying gives them the best batt
05:46.53WisTilt2i ran my phone over 50hrs without charging at disneyland and still had just over 40% left
05:47.02arrrghhhdamn...
05:47.21arrrghhhyea, my battery life has been ridiculous as well.  not quite that ridiculous, but i use it quite a bit :P
05:47.25WisTilt2when was jb's commits pushed?
05:47.38arrrghhh2/28 i think?
05:47.51arrrghhhi mean he pushed a bunch of stuff and bzo broke it all down and actually committed it
05:47.56arrrghhhas i understand it
05:48.02WisTilt2and these auo users were getting good life before correct?
05:48.12arrrghhhyea
05:48.21arrrghhhi swear there was an interim kernel
05:48.25arrrghhhbefore you merged the cam stuff
05:48.48*** join/#htc-linux xawen (~xawen@pool-96-244-250-191.bltmmd.fios.verizon.net)
05:48.59WisTilt2i think there some clock changes but all my last kernels are synced with git with all those commits so you'd think we'd see it in other devices also
05:49.02arrrghhhalso blackstone users are complaining about 1258+ which is when that panel collapse code was committed.  need some blackstone dev to tweak that crap.
05:49.03*** join/#htc-linux sykosoft (455cd27d@gateway/web/freenode/ip.69.92.210.125)
05:49.10sykosoftanybody noticed we have patches from 10 and 20 years in the future?
05:49.11sykosofthttp://gitorious.org/linux-on-qualcomm-s-msm
05:49.27arrrghhhsykosoft, there being saved for later
05:49.34jonpryand they same time travel isn't possible
05:49.37arrrghhhpost-dated checks, etc.
05:49.52WisTilt2hey, this is "futuristic" development isn't it?
05:49.57arrrghhhlol
05:50.00sykosoftlaughs
05:50.19sykosoftnetripper: awesome job on the irclog changes. very very fast now
05:50.38WisTilt2panel collapse on blac isnt even running unless someone else added it.  i only have it on rhod machine types
05:51.00arrrghhhhuh
05:51.06sykosoftwistilt2: as an fyi, I get some completely reboots (htc splash) with gps on with your kernel. turn gps off, never happens, most recently released
05:51.19WisTilt2unless blac has same panel type i dont know
05:51.42WisTilt2sykosoft is that with my 3/1 kernel?
05:51.48arrrghhhWisTilt2, i don't even know if there are different blac's... they have the "same" size screen
05:51.53jonprysykosoft, gps rebooting your phone is pretty common on all kernels no?
05:51.55arrrghhhsykosoft, never saw this in the forums :P
05:52.21rpierce99jonpry: I think you're right, using gps for an extended time has always produced reboots for me
05:52.30jonpryi wrote lots of that pos
05:52.41arrrghhhlol
05:52.49sykosoftarrrghhh: you were talking about "android reboots" when installing software (multiple market downloads). I get the same, however, as near as I can tell, it's expected behavior, things get restarted if they don't respond in time
05:52.51arrrghhhentropy is trying to fix the 0,0,0 problem
05:53.10jonprywhat is that?
05:53.14arrrghhhsykosoft, oic.  multitasking just chokes the phone to a crawl
05:53.25arrrghhhjonpry, getting a "fix" and being placed off the coast of ghana
05:53.27WisTilt2multiple downloads will be fixed with this ril
05:53.30sykosoftjonpry: I don't get them in the standard kernel (though to be honest, I haven't tested glemsom kernels in a while)
05:53.41arrrghhhWisTilt2, you're making some mighty promises :P
05:53.50arrrghhhcan't wait to try this new RIL :D
05:53.56jonpryarrrghhh, its just trying to tell you where you want to be
05:53.58hycditto ;)
05:54.04WisTilt2problem is the way data streams are handled
05:54.04sykosoftwistilt2: it seems to be I/O causing the system to bog down. (being a unix guy), looks like severe I/O wait, and so, it restarts I believe zygote
05:54.05arrrghhhjonpry, LOL
05:54.30jonprybetter get nilfs
05:54.39*** join/#htc-linux programmer8922 (~Evan@67.219.164.162)
05:54.40hycprobably not a smart idea to bog down a poor SD card that way
05:54.40arrrghhhkillall zygote cause some fun
05:54.48sykosoftI can sometimes replicate the behavior by pegging the cpu with multiple threads, sending process into a wait state and raising the "load average"
05:55.18sykosoftarrrghhh: yes, interesting behavior, if the userland restarts (zygote I'm assuming), data breaks
05:55.29sykosoftunless you disable it completely via settings, or reboot completely
05:56.08arrrghhhWisTilt2, dare i ask about cdma netloc...?  :)
05:56.17WisTilt2:)
05:56.54sykosoftas a curious question, what was the checkjni thing I saw mentioned? I heard tales that tiad8 got something right (by accident) about a setting?
05:56.57WisTilt2guess you'll be the first to test to see if it works
05:57.04arrrghhhheh
05:57.48arrrghhhsykosoft, yea, in a sense.  it speeds things up slightly.
05:57.51arrrghhhhe found some old build.prop that had it disabled
05:58.15sykosoftinteresting I guess
05:58.17arrrghhhjust like he found some neopeek builds with that different libgles and gralloc
05:58.36sykosoftanybody running with jit turned on lately?
05:58.41arrrghhhmost of the rest of the stuff he's done is retarded
05:58.45arrrghhhi did for a little bit
05:58.57sykosoftsuccessfully or failfully?
05:59.04arrrghhhit was pretty successful
05:59.10arrrghhhbut the same old bugs came back
05:59.19arrrghhhtoo much volume up or down, reboot within android
06:00.14sykosofthmm, I wonder if I could track that one down
06:00.28sykosoftnever seeing an actual list of bugs caused by jit, anyone have one?
06:00.33sykosoftI'd like to investigate them
06:00.40arrrghhhi guess JIT isn't optimized for our hardware
06:00.52arrrghhhand there's no support for it...
06:01.06hycwhat do you mean no support?
06:01.14arrrghhhel goog
06:01.45hycIt seems to work ok on G1, except for the RAM requirement
06:01.48arrrghhhthe folks that do most of the work on our system images?
06:02.05*** join/#htc-linux Specialist (~tg@andromeda.v6.ginkel.com)
06:02.15arrrghhhstine does all the dirty work heh
06:02.16hyceh, whatever. most of the system images I run came from cyanogen
06:03.03hycI was just in the midst of a git merge of cyan's 2.6.35 kernel with linux-msm-2.6.35 tree
06:03.15jonpryJIT doesn't work on armv5
06:03.27arrrghhhi thought we were v6?
06:03.31hycMSM7x are all armv6
06:03.49jonpryarmv6--novfp is not a targetable arch
06:04.05hyc?
06:04.14jonpryso in practice only some msm7k can run armv6
06:04.38hyctargetable by what, gcc? jvm?
06:04.43jonpryarmv6 includes VFP by definition, and msm720* doesn't have it
06:05.02jonpryi guess by JIT
06:05.07sykosoftthis link contains some interesting discussion
06:05.08sykosofthttp://groups.google.com/group/android-platform/browse_thread/thread/a3c21bf230982b6e?pli=1
06:06.09jonprywell, we had jit on for like 6 months. and then it got turned off, and half the bugs in bugtracker became unreproducible
06:06.18arrrghhhyea
06:06.29arrrghhhthere were a ton of bugs closed with JIT disabled.
06:06.43arrrghhhstine & i just went romping thru the bugtracker
06:06.54arrrghhhthere's probably a few left from it in fact.
06:06.59arrrghhhneed to go thru bugs again...
06:07.18arrrghhhstine needs to add gingerbread to the build selection
06:07.23jonpryyou guys can try to turn it on, but i won't be using it on my phone :p
06:07.25arrrghhhand maybe something other than frx01 :P
06:07.38sykosoftisn't the g1 armv5te? (non vfp)
06:07.43hycall that says is the JIT is mostly useless
06:08.12hycG1 is MSM7201
06:08.15hyc(A)
06:08.15jonpryexcept when it counts
06:08.25arrrghhhand blows things up?
06:08.27arrrghhhlol
06:08.36hyccat /proc/cpuinfo is mostly identical for my G1 and TP2
06:09.20hycARMv6TEJ
06:09.37WisTilt2nite guys, need sleep
06:09.44arrrghhhg'nite WisTilt2.
06:09.49hycnite
06:09.49rpierce99nite
06:09.54jonprybye
06:09.55WisTilt2jonpry how long before you sail away?
06:10.02jonprymar 22
06:10.14WisTilt2we have lots of time.  ok nite all
06:10.33sykosoftwhat is cat /proc/cpuinfo for the hero?
06:10.45hycon the G1 jit just requires more RAM than we can spare
06:12.10arrrghhhJIT is bad juju on our tired old phones.
06:12.29sykosoftI refuse to believe that!
06:12.37hycthe smarter thing for Google to have done would have simply been to provide a bytecode compiler
06:12.46hycand compile all apps to native code when they get installed
06:13.01sykosoftwhat about bytecode caching? never really looking into it, does it cache bytecode?
06:13.15hyccaching bytecode is pointless
06:13.20hycyou want to cache native code
06:13.33sykosoftall right
06:13.34*** join/#htc-linux BHSPitMonkey (~stephen@unaffiliated/bhspitmonkey)
06:14.57hychonestly. running the way we are right now is like running an OS written in BASIC. or Perl.
06:15.30rpierce99hey, nibbles was awesome
06:15.34EdLinPerl is an OS
06:15.41sykosoftI preferred gorilla
06:15.47hycbut it's not a *fast* one ...
06:15.51sykosoftquestion
06:16.14sykosoftwere there jit changes in gingerbread? just curious
06:16.17EdLinsome CPAN "apps" for the Perl "OS" are mostly native code. ;-)
06:16.38hycyes, because doing it in pure perl would be insanely slow
06:16.38sykosofthttp://code.google.com/p/android/issues/detail?id=10206 claims a fix (not really related) for armv5te-vfp made it into their internal tree
06:16.44sykosoftI HATE perl
06:17.14*** join/#htc-linux swc|666 (~x00@unaffiliated/swc666/x-4934821)
06:17.22hycand while the jvm runs on top of compiled C libraries, most of the apps are pure java
06:17.25hycequally slow
06:17.39sykosoftI "used to" hate java
06:17.52EdLinsykosoft, I don't particularly love Perl, but I kind of hate Java - but I like Android anyway. ;-)
06:17.54sykosofthowever, even I must admit that (on desktop) it's evolved somewhat, and is faster
06:18.05hyclol
06:18.28hycyour base CPU is something like 2000 times faster today than 5 years ago
06:18.42sykosoftbut, to be honest, I also am not a big fan of objective-c
06:18.43hycyour java desktop is .. 30% faster than 5 years ago?
06:19.07sykosoftactually, (we tested this, I'm a server guy, so, tomcat, etc), same system, different versions of the jre
06:19.20EdLinhyc, but if you don't know what the underlying hardware is like, and many Java jockies don't, you'll never write decent code - in any language. That's what I don't like about Java.
06:19.22hycIMO the tradeoff is not worth it.
06:19.30sykosoftthere are legitimate speed increases
06:19.55arrrghhhcrap what if my laptop is 5 years old :/
06:19.57hycedLin: agreed, most of thos folks should never have taken up programming
06:20.08EdLintrue.
06:20.51sykosoftI'm amused by people that try to solve everything with python (see it in the server world)
06:21.08hycheh yeah, it seems to be the new perl
06:21.40hycI've had "write an embedded FORTH engine" on my project todo list for a couple years
06:21.51sykosoftand I feel the same about ruby. though ruby seems to have lost whatever charm it once had. 4-5 years ago, it was t3h hotness
06:22.35sykosoftah the days of setting up mongrel servers
06:22.39hycI must've slept thru ruby, never bothered to learn it
06:22.58hycand apparently didn't miss anything ;)
06:23.02sykosoftyou didn't miss much. super slow compared to other options. fast to develop, slow to execute
06:23.11hycuh huh
06:23.12sykosoftactiverecord was nice, but much slower than other options
06:23.57hycit all makes sense from a software company shareholder's perspective. They're paying directly for software developer time. only their customers pay for execution time.
06:24.13sykosoftsure.
06:24.23sykosofthowever, it was in use at a lot of startups (again, the "hotness")
06:24.29sykosoftI even worked for one a few years back
06:24.31sykosoftall ruby
06:24.34sykosoftridiculous
06:24.38hyclol
06:24.57*** join/#htc-linux MassStash (~MassStash@c-67-175-41-173.hsd1.il.comcast.net)
06:24.58sykosoftI find php to have great strengths in the webapp front
06:25.08sykosoftand any c derivative on the system space
06:25.19sykosoftand of course asm for embedded or other low level reasons
06:25.52hycI think the typical mix of C/asm is appropriate for embedded and system both
06:26.15hycphp ... very buggy, tons of security holes inherent to the interpreter
06:26.27sykosoftone thing I find odd, while OO programming is great for some things, I get annoyed when an OO programmer crams it into every problem
06:26.52sykosoftalso, this'll sound weird, but I love javascript
06:27.35hycI've started to see some value in javascript ...
06:28.55EdLinjavascript is a nice language, it's the DOM that's a problem.
06:30.13sykosoftI was mostly speaking of the language
06:30.18sykosoftit's very capable
06:31.16EdLinyeah, and lately it really performs well. For a long time it was quite slow, then web2.0 came around and chrome/webkit lit a fire under everyone's rear end in the browser field.
06:31.29hyclong overdue
06:31.47sykosoftabsolutely
06:31.53hycboth IE and mozilla are bloatware
06:32.00hycOpera had no impact, oh well
06:32.03sykosoftI pretty much can't stand firefox
06:32.08sykosoftI'll use IE8 over firefox
06:32.14sykosoftand at 1/10th the ram usage
06:32.18EdLinI use firefox, only because I like certain add-ons.
06:32.32sykosoftI use chrome pretty much exclusively except for certain things
06:32.41sykosoftlike juniper firewalls, and devices which don't work right otherwise
06:35.35*** join/#htc-linux xawen (~xawen@pool-96-244-250-191.bltmmd.fios.verizon.net)
06:38.39*** join/#htc-linux cazh_ (~quassel@3007ds2-rd.0.fullrate.dk)
06:49.25*** join/#htc-linux kiozen (~kiozen@rgnb-5d8793b7.pool.mediaWays.net)
07:00.55*** join/#htc-linux Andreyxxl[HD2EU] (~Andreyxxl@82.76.236.36)
07:01.26*** join/#htc-linux Andreyxxl[HD2EU] (~Andreyxxl@89.32.146.153)
07:07.00*** join/#htc-linux AgentBlair (~AgentBlai@adsl-67-124-200-190.dsl.sndg02.pacbell.net)
07:11.44*** join/#htc-linux Andreyxxl[HD2EU] (~Andreyxxl@89.32.146.153)
07:25.06*** join/#htc-linux MacDrunk (~marper@201.165.118.194)
07:25.53*** join/#htc-linux MacMiller (~marper@201.165.118.194)
07:26.26*** join/#htc-linux kvaster (~kvaster@vpn-e0.bas-net.by)
07:41.57*** join/#htc-linux MacDrunk (~marper@201.165.118.194)
07:43.38*** join/#htc-linux MassStash (~MassStash@c-67-175-41-173.hsd1.il.comcast.net)
07:58.05*** join/#htc-linux kiozen (~kiozen@p5DDF18C9.dip.t-dialin.net)
08:01.29MassStashstuck in first fukin full nand dead battery loop O' death.....
08:02.07MassStashi mean FFNDBLO'DEATH............
08:20.12*** join/#htc-linux Drakh_ (Drakh@190.42.40.105)
08:36.53*** join/#htc-linux rob_w (~bob@ppp-188-174-65-152.dynamic.mnet-online.de)
08:38.05*** join/#htc-linux t3g (~kvirc@p3E9E1D4C.dip.t-dialin.net)
08:40.47*** join/#htc-linux kvaster (~kvaster@93.84.112.80)
08:47.41*** join/#htc-linux NetRipper (~netripper@tikkie.net)
08:57.46*** join/#htc-linux TheSarge (~sarge@c-24-22-74-69.hsd1.or.comcast.net)
09:00.50*** join/#htc-linux SG_Away (~Samsunguy@cpe-76-186-50-40.tx.res.rr.com)
09:06.59*** join/#htc-linux dekar_ (~dekar@95.143.165.210)
09:12.46*** join/#htc-linux DuperMan (~Duper@46-116-34-25.bb.netvision.net.il)
09:22.09nizox2/g 11
09:22.14nizoxsry
09:23.07*** join/#htc-linux DuperMan (~Duper@46-116-34-25.bb.netvision.net.il)
09:27.12*** join/#htc-linux Rob2222 (~Miranda@p4FFF16AB.dip.t-dialin.net)
09:37.10*** join/#htc-linux camro (~camro@89-104-29-101.customer.bnet.at)
09:53.22*** join/#htc-linux |Atom| (~atom@82.194.234.249)
10:05.37*** join/#htc-linux tyween (~tyween@pool-71-163-117-57.washdc.fios.verizon.net)
10:17.19*** join/#htc-linux Andreyxxl[HD2EU] (~Andreyxxl@82.76.236.36)
10:25.40*** join/#htc-linux Andreyxxl[HD2EU] (~Andreyxxl@82.76.236.36)
10:29.36*** join/#htc-linux tyween` (~tyween@pool-71-163-117-57.washdc.fios.verizon.net)
10:56.14*** join/#htc-linux kvaster (~kvaster@leased-line-93-125-0-84.telecom.by)
11:16.15*** join/#htc-linux gauner1986 (~Miranda@p508C6FDA.dip.t-dialin.net)
11:29.25*** join/#htc-linux Pr0z (Pr0z@bzq-84-109-110-248.red.bezeqint.net)
11:44.38*** join/#htc-linux kernelzilla (~patrick@174-26-68-63.phnx.qwest.net)
11:50.11*** join/#htc-linux Quilck (~Quilck@195.113.165.82)
12:04.16*** join/#htc-linux D3tul3 (~Oliver@cpe-174-109-223-235.nc.res.rr.com)
12:08.04*** join/#htc-linux GNUtoo|laptop (~gnutoo@host226-134-dynamic.25-79-r.retail.telecomitalia.it)
12:18.54*** join/#htc-linux kvaster (~kvaster@vpn-e0.bas-net.by)
12:40.12*** join/#htc-linux imilka (~kvirc@95-27-253-33.broadband.corbina.ru)
12:41.57*** join/#htc-linux LordDeath (~Lord|Lapt@cable-81-173-166-52.netcologne.de)
12:42.35*** join/#htc-linux MethoS- (~clemens@134.102.106.250)
12:43.10*** join/#htc-linux tiky_ (~tika@62.16.86.2)
13:18.39*** join/#htc-linux [Rapunzel] (~opera@nat004-252-205-109.tvoe.tv)
13:28.31*** join/#htc-linux daevoq (~dae@host141-105-dynamic.56-79-r.retail.telecomitalia.it)
13:35.22*** join/#htc-linux Rajko (~Rajko@2001:470:1f0b:728:18dc:94d6:85ca:be4f)
14:06.54*** join/#htc-linux crawling (~crawling@a94-132-172-247.cpe.netcabo.pt)
14:10.06*** join/#htc-linux Ceesheim (~ceesheim@p508DEAF3.dip.t-dialin.net)
14:23.51*** join/#htc-linux _twitch (~burning_a@64.112.96.58.static.exetel.com.au)
14:24.39*** join/#htc-linux AstainHellbring (AstainHell@unaffiliated/astainhellbring)
14:30.54*** join/#htc-linux rpierce99 (~rpierce99@71-82-139-28.dhcp.roch.mn.charter.com)
14:31.58*** join/#htc-linux Ceesheim (~ceesheim@p508DEAF3.dip.t-dialin.net)
14:33.15*** join/#htc-linux Ceesheim (~ceesheim@p508DEAF3.dip.t-dialin.net)
14:39.09*** join/#htc-linux mitsutaka (~mitsutaka@p1227-ipbf3907marunouchi.tokyo.ocn.ne.jp)
15:03.45*** join/#htc-linux programmer8922 (~Evan@67.219.164.162)
15:14.04*** join/#htc-linux Erikson (~Erik@i5E86D9E6.versanet.de)
15:22.16*** join/#htc-linux pepermint (~pepermint@host11-86-dynamic.5-87-r.retail.telecomitalia.it)
15:22.18peperminthi
15:26.22pepermintI have an ipaq h1940, I compiled angstrom for it,
15:26.35pepermintbut the zImage doesn't boot with haret, I've a black screen and no way to see printk messages
15:26.55pepermints/black/white
15:26.58pepermintI eared about ramconsole, but I don't know how to use it
15:27.26pepermints there anyone that knows how to use haret?
15:28.01hycI think haret has a limit of about 160K for the size of the kernel image
15:28.42hyca couple of my recent kernels failed to boot until I shrunk them...
15:29.17pepermintmy image is about 2mb
15:29.39hycerfe, I meant 1.6MB
15:29.57hyc2MB is definitely too large
15:30.07hycthrow out some drivers, make them into loadable modules
15:30.14hycuse LZMA instead of gzip
15:30.19[Rapunzel]for me 2.2Mb loaded via hared nice
15:30.48hycmebbe it depends on the device and its memory map
15:31.12GNUtoo|laptoplzma can get you under 2M with a lot of driver in the kernel
15:31.16gauner1986hey [Rapunzel]
15:31.22[Rapunzel]hey Gau
15:32.40dcordeshey Gau, punzel, others
15:40.54[Rapunzel]hey
15:40.55[Rapunzel]:D
15:51.20hycwas looking over the diff between linux-msm-2.6.35 and cyanogen's dream/sapphire 2.6.35. anyone know why usb initialization is almost but not exactly the same?
15:51.28hycI would have epxected it to be exactly the same
15:51.57[Rapunzel]because it's different in the every kernel. it's tradition. keep it! :)
15:52.03*** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring)
15:52.05hyc:P
15:52.38hycI hate slogging thru this mess of diffs
15:58.04*** join/#htc-linux Quilck (~Quilck@90.183.82.215)
16:02.02*** join/#htc-linux MassStash (~MassStash@c-67-175-41-173.hsd1.il.comcast.net)
16:09.37*** join/#htc-linux rpierce99_ (~rpierce99@71-82-139-28.dhcp.roch.mn.charter.com)
16:13.53*** join/#htc-linux ftoz (~root@cst-prg-29-251.vodafone.cz)
16:27.36*** join/#htc-linux Th0mas_ (~Th0mas@211.98.191.90.dyn.estpak.ee)
16:28.43*** join/#htc-linux JustLiving (~Quilck@90.183.82.215)
16:39.12*** join/#htc-linux NeoMatrixJR_Mobi (~NeoMatrix@173.158.1.211)
16:40.57*** join/#htc-linux Drakh_ (Drakh@190.42.40.105)
16:41.01*** join/#htc-linux WisTilt2 (~wisgreg@wireless251.wirelesstcp.net)
16:43.53hycdunno if this was already known, but found an MSM7201A hardware reference online
16:43.59hychttp://wenku.baidu.com/view/646454f80242a8956bece44e.html
16:44.14hycpinouts and functional overview
16:44.52*** join/#htc-linux JesusFreak316 (~JesusFrea@pool-173-65-69-136.tampfl.fios.verizon.net)
16:50.59*** join/#htc-linux NeoMatrixJR (~chatzilla@173-18-145-141.client.mchsi.com)
16:55.40jonpryHi WisTilt2
16:57.00NeoMatrixJR_MobiHey WisTilt2! What's new?
16:57.01WisTilt2Hey jonpry. so how's the batt stuff working now after last night?
16:57.26WisTilt2NeoMatrixJR_Mobi same old same old
16:57.37jonpryI passed out last night after you got off
16:57.38*** join/#htc-linux arif-ali (~arif-ali@ip-81-23-53-226.ask4internet.com)
16:58.04NeoMatrixJR_MobiJonpry...that didn't come out right....
16:58.11jonprylol
16:58.32jonpry*off of IRC
16:59.03WisTilt2im at the office all day so going to play with the ril and see what my lead radio guy came up with so far.
16:59.29jonprysounds good. i think something is wrong with the charge currents in smem
16:59.36jonpryam i doing this wrong?
16:59.50*** join/#htc-linux joshkoss (~android@192.234.2.49)
17:00.02jonprydo you have a rig for measuring actual current into the phone?
17:00.04rpierce99WisTilt2: did he start over or just completely overhaul
17:00.37jonpryone of those ghetto electrician inductor things would do it
17:00.39WisTilt2jonpry yes we can measure that via a modded charger we have with a fluke in line
17:00.58jonpryah, have you compared that to the raw value in smem?
17:01.13WisTilt2rpierce99 starting from scratch pretty much. pulling out good code from existing
17:01.23jonprycause i get 2.4 amps when plugged into my laptop
17:02.01WisTilt2no but i can try that and see what we get.  aren't you seeing the same numbers i was getting?  how you getting 2.4a value?
17:02.22hychow can you, USB port only gives 500mA
17:02.47jonprybuffer->batt_current = batt_32->batt_charge;
17:03.10jonpryor 16, whatever it is
17:03.11WisTilt2did you try 16bit?
17:03.28jonpryi think its on 16
17:03.30WisTilt2when i sent you those logging tables that was using 16bit
17:03.47jonprythats not the problem :p
17:04.11jonprytrouble is that readings are like 2400
17:04.25*** join/#htc-linux [acl] (~abel@96.246.167.90)
17:05.28jonprythere is that thing that says "Convert readed value to mA"
17:05.42jonprybut i don't understand how it was derived
17:05.47WisTilt2my readings were under 500 with the 500ma charger and up around 900ma with the 1amp charger
17:07.04[acl]MassStash: yo.. i just saw ur post.. shit sounds like its possessed
17:07.05jonprywere those raw readings or run through the correct?
17:07.23WisTilt2mine were just raw from smem
17:08.51jonpryhrm, maybe battery_smem is correcting them to the wrong values
17:08.56*** join/#htc-linux Alex[sp3dev] (~alexander@ip-95-220-12-212.bb.netbynet.ru)
17:09.02WisTilt2your code shifts 16bits then divides by 1000 so that would give you 2.4 so what do you do with the 2.4 number after that?
17:09.35jonprywhen it gets to userland it gets converted to float and logged
17:10.06WisTilt2are you seeing that 2400 value change or is it stuck there
17:10.13jonpryit moves around
17:10.19jonpryand goes to zero when i unplug
17:11.00*** join/#htc-linux Jhinta (~Jhinta@s529c116e.adsl.wanadoo.nl)
17:11.20WisTilt2what smem addy you reading charge from?
17:11.52jonprythe right one
17:12.06jonpryits all being done in htc_battery_smem
17:12.21MassStash[acl], yeeeea man....
17:12.35jonprywhich i think is the problem. it really is applying the correction to the raw values
17:12.41[acl]MassStash: weirdness bro.. go back to winmo :-p
17:13.19MassStashcant
17:13.20MassStashhow?
17:13.39MassStashcharge phone
17:13.44MassStashgains charge enough to boot
17:13.49MassStashstoooooooooooooops fucking chargeing
17:13.53MassStashthen dies
17:14.02MassStash????????/
17:14.14[acl]MassStash: dang.. get some holy water.. no idea..
17:14.20MassStashfuuuuuuuk
17:14.54MassStashlast time this happened i held bootloader til it booted but this full nand just turns the chargeing light off instead of taking me to bootloader
17:15.04jonpryWisTilt2, ok scratch that, not applying correction. maybe yours is corrected?
17:15.11MassStashi can get into replimenu, but is there any option there thatd help me?
17:15.45MassStashnever even check out replimenu yet til now
17:16.04MassStashclear storage just formats partitions... no use
17:16.40WisTilt2jonpry: im looking through my code and the only thing im doing is reading smem so maybe its corrected already.
17:17.06*** join/#htc-linux Pr0z (Pr0z@bzq-84-109-110-248.red.bezeqint.net)
17:17.22jonpryhttp://pastebin.com/Qfg9u6dZ
17:17.32jonpryhow did they come up with this?
17:17.46MassStashduuuude wtf, go into replimenu, i have like 30s before itll die. instead, i just pulled the bat assuming there would still be the lil charge it took to boot on the battery. put back in, nothing.
17:17.46*** join/#htc-linux emwe (~emwe@cable-86-56-10-158.cust.telecolumbus.net)
17:17.51[acl]MassStash: why u worried bout replimenu. get ur phone booting before anything. you may need to mtty into it see whats up
17:18.17emweheyho
17:18.31MassStashwas hopeing htere was a replimenu option to go to friggin bootloader or something. task29 it from replimenu would work as well
17:18.31Alex[sp3dev]emwe: hi. how goes it?
17:18.41MassStashhow can i mtty a dead phone?
17:19.02MassStashthis doesnt happen to anyone else? cuz nates form just says what everyones trying to help me out with
17:19.03emweAlex[sp3dev]: just back from shopping. catching up on pm comments. investigating
17:19.07emweAlex[sp3dev]: what are you up to?
17:19.22MassStashlet charge for 5 minutes then bla bla, well mine AUTOBOOTS, sooo strange
17:19.43Alex[sp3dev]emwe: ow. you've been shopping for like 2 weeks
17:19.49MassStashhmmmmmmmmm
17:20.20emweAlex[sp3dev]: i do have a real life :P
17:20.30Alex[sp3dev]emwe: traitor
17:20.39emweAlex[sp3dev]: was worth a try :)
17:21.09Alex[sp3dev]emwe: aren't you afraid to get addicted?
17:21.15WisTilt2jonpry: I have no idea but looks like its different for each device.  so smem has those corrected values?
17:21.30jonpryno
17:21.31emweAlex[sp3dev]: i already am i think.
17:21.48jonprythe battery_info struct in htc_battery_smem has corrected values
17:22.01Alex[sp3dev]emwe: it is fine here. well, bt, wifi are still unpwned.. but jb has finally reimplemented htc acoustic for wince devices. i have not commited this stuff for 35, it is a WIP. but no more hacks in snd.c
17:22.12MassStashso uh yea, pretty sure i've exasperated all options here without another phone or battery.... anyone else got an idea/?
17:22.27Alex[sp3dev]MassStash: doesn't it enter the bootloader?
17:22.43MassStashnot how im trying
17:22.47emweAlex[sp3dev]: yah, watched his commits. just that little time factor. ;)
17:23.00Alex[sp3dev]MassStash: tried the volume-power combo?
17:23.04MassStashill sit here for like 3-5 just holding power and vol down, instead of booting to bootloader
17:23.13MassStashthe charge light turns off
17:23.18MassStashand stays off until i let go
17:23.21MassStashcharge light on
17:23.24WisTilt2so you're getting those corrected values.  after the dex call, just read the smem addy and you will get the raw value.  thats all i did for that logging test
17:23.58MassStashif you pull out, light off. if you wait it vibrates into droid nand limbo whatever, and continues the cycle
17:24.00jonpryhrm
17:24.29jonpryWisTilt2, i am getting raw values
17:24.44MassStashi can watch it get to A N D R O I D roughly, then die
17:24.49WisTilt22400?  highest ive ever seen is around 900
17:24.50MassStashand replimenu for bout 30s
17:25.14[acl]MassStash: dood... like i said dont worry about android
17:25.16Alex[sp3dev]MassStash: yep, the bootloader expects the kernel to either charge or update smem reset flag. well. you need to charge the battery then.. buy a cheap external charger or cut usb wire ;)
17:25.30[acl]MassStash: actually forget about it .. get back to a stable boot process
17:25.32Alex[sp3dev]MassStash: but if it boots to android.. let it cycle until it boots.
17:26.39MassStashdies at A N D R O I D roughly
17:26.52jonpryWisTilt2, we will check rpierce99 logs, then maybe you can run my code and see if you get your numbers or mine
17:27.09rpierce99jonpry: do you want it now?
17:27.10MassStash[acl], at this point i'm very upset with nandroid, so winmo would be "fresh air" at this point...
17:27.31jonpryrpierce99, have you been on a charger at any point?
17:27.35WisTilt2jonpry, sounds good.  ill test it on the phone with the fluke in line so we can see some real numbers to compare
17:27.40rpierce99all night
17:27.40[acl]MassStash: you should.. what you are experiencing isnt normal. So make sure ur back in winmo just fine
17:28.02MassStashthis happened to me with partial nand as well man
17:28.05jonpryrpierce99, yeah please get /sdcard/scbs.log
17:28.57[acl]MassStash: you make it sound like its a solid thing and it cant fail..lol.. but right now we are in the middle of so much its tough to even debug your issue. So i want to make sure you can at east go back to winmo
17:29.07MassStashso the auto boot is what's anonylitacal?
17:29.25MassStashfor sure
17:30.02MassStashwell i just need a different charged battery or put my phone on ext charge or in other phone to charge
17:30.08jonprywhen will they learn
17:30.31MassStashbaaaasically, at this point nand now has a disclaimer as to NEVER LET BAT DIE COMPLETELY lol
17:30.37rpierce99jonpry: http://pastebin.com/qNTZ1jf1
17:30.56rpierce99oh i bet an upload would be better huh
17:31.02jonprythats fine
17:31.19MassStashwhat is it that makes vibrate about 70s after plugging in charger?
17:31.41MassStashim attempting this all chargeing by wall not pc as well
17:31.49MassStashannnnnnooooommmmmmmyllllllyyyyy
17:32.16jonpryhmm. .5 amps
17:32.40[acl]MassStash: yeah we have that disclaimer
17:32.41[acl]loll
17:32.56MassStashit is a lie tho
17:33.04MassStashsays your not fucked when it happens lol
17:33.13MassStashyou're*
17:33.22[acl]haha
17:33.33jonpryrpierce99, did you just plug or unplug it at the very end?
17:33.35[acl]MassStash: ok so try to go back to winmo.. do whatever it takes..
17:33.41MassStashthank goodness for battery swap.... muuuuuhaaaaaahahahaha ha ha ha ha haaaaaa
17:33.45rpierce99just plugged it into my laptop at the end to adb
17:33.52jonpry3.421005 amps!
17:34.08MassStashright wont be able o til 5ish when i got to work at mall with a us cell kyosk....
17:34.21*** join/#htc-linux arrrghhh (~arrrghhh@173-149-221-185.pools.spcsdns.net)
17:34.53arrrghhhWisTilt2, read the logs.  let me know if you have anything for me to play with ;)
17:35.18MassStashFFNDBL of death.... bummer
17:35.34jonpryits almost like its just off by a factor of 10
17:35.43arrrghhhMassStash, you can't get the battery to charge while it's off?
17:35.45MassStasharrrghhh, you read this shit that happened to me? lol
17:35.48arrrghhhyea
17:35.49MassStashlolol
17:35.55MassStashright
17:35.58arrrghhhit should charge when it's off tho
17:36.00arrrghhhno?
17:36.02MassStashdead.
17:36.03jonpryMassStash, buy a new battery, there like a dollar
17:36.06[acl]nand made an example out of you
17:36.06MassStashcharges
17:36.10arrrghhhlol
17:36.18arrrghhhnand can do that
17:36.19MassStashboots AUTOMATICALLY
17:36.21MassStashwtf?
17:36.25arrrghhhmade an example out of wozz
17:36.31WisTilt2arrrghhh: not nearly ready, lots to finish.  Also, on getting logs with my kernel... you can have people go into console and save dmesg to sdcard.  dmesg > /sdcard/log.txt or whatever name.
17:36.33arrrghhhMassStash, it'll do that sometimes.  did you follow the directions in the thread?
17:36.35MassStashriiiiight
17:36.35[acl]taught wozz a lesson
17:36.47*** join/#htc-linux |Jeroen| (~jeroen@d5152B25B.access.telenet.be)
17:36.56arrrghhhWisTilt2, well yea.  i mean historical logs.  or are you talking about something different?
17:37.01MassStashpretty sure my procedure was the same but ill double verify that arrrghhh
17:37.19arrrghhhMassStash, basically keep it plugged in when you pull the battery.
17:37.21WisTilt2no, just dmesg so any lockup would not be possible
17:37.24arrrghhhyou just need to charge it before it boots.
17:37.26MassStashdont buy batterys, use us cell's craziness
17:37.41arrrghhhWisTilt2, for what tho?  just auo whiners in general?  i always get mixed reports from those fools.
17:37.51MassStashhow do you suggest i charge it before it auto boots arrrghhh?
17:38.00[acl]arrrghhh: haha those fools
17:38.01[acl]:-p
17:38.02arrrghhhMassStash, l_miller laid it out basically.
17:38.11arrrghhh[acl], i know it.  i don't have a single good tester in the lot :P
17:38.20[acl]do what i did
17:38.23WisTilt2just in general if we need to see a condition that doesnt lock things up totally.
17:38.25[acl]ignore em :-p
17:38.31arrrghhhwas hoping F22 could help with his mad ES phone
17:38.43arrrghhhWisTilt2, oh yea.  no worries there, i know about that ;)
17:40.46MassStashwho's the fools.....?
17:41.39MassStasharrrghhh, can't get to bootloader and my shit auto boots. thanks tho brudda. [acl], thank you as well
17:42.11arrrghhhMassStash, so you have it plugged into AC.  you pull the battery - still plugged in.  can you power it on?
17:42.27MassStashnah
17:42.58[acl]MassStash: maybe need to charge ur batt externally somehow and and get to mtty.. ur only hope
17:43.25MassStashyea, ima battery swap later when i go work
17:43.30[acl]nice
17:43.37MassStashriiiiight
17:43.55MassStashfuk it, no phone til 5 but brand new fully charge battery for free.99
17:43.56MassStashbusiness
17:44.08MassStashk, well i'm useless for now, so peace guys
17:45.03F22what's the issue with the 100's?
17:45.03arrrghhhyea, definitely never let battery die completely :P
17:45.07arrrghhhF22, they suck.
17:45.11F22lol
17:45.14F22besides that
17:45.24Alex[sp3dev]arrrghhh: wtf? that was my thought! you stole it!
17:45.25arrrghhhlots of peoples whining about crap not working with them
17:45.27arrrghhhbecause they never test.
17:45.27[Rapunzel]such effects caused by missing licensed MAGLDR copy on the phone :D
17:45.31WisTilt2jonpry: if you're interested in the direct smem addy im using, it's MSM_SHARED_RAM_BASE + 0xfc144 for charge current.  dex call to PCOM_GET_BATTERY_DATA then read 16bit at that addy that is all im doing.  just ran my logging again on a 1amp charger and see around 880 value there, fluke shows 840ma +- 10ma.
17:45.43arrrghhhAlex[sp3dev], lol y'know what they say... horrible minds think alike.
17:45.47arrrghhhis that what they say?  meh.
17:46.34jonpryseems like i have had this battery problem before
17:46.43arrrghhh[Rapunzel], we're not using MAGLDR
17:46.51*** join/#htc-linux L_miller (~IceChat7@bs.americas.lc.americanstandard.com)
17:47.12[acl]we need to sacrifice more souls to the nand gods..
17:47.14jonpryiirc plug in with battery out. then insert it, and it won't turn on
17:47.22arrrghhhL_miller, come join the party.
17:47.29arrrghhh[acl], lol will that make nand more complete?
17:47.35F22arrrghhhh: that doesn't give me a sense of how grabbing a log from my es 210 might be helpful. :P
17:47.41Alex[sp3dev][acl]: poopify the LK now that you're happy with nand while i'm working on 35
17:47.43stinebdjonpry: i believe that's what i did too when it happened to me
17:47.55[Rapunzel]it was joke :D
17:48.00L_millerwhat have I missed/
17:48.03arrrghhhmakes sense, i had it backwards.
17:48.12arrrghhhL_miller, you single-handedly bricked MassStash's phone.
17:48.19stinebdand then i eventually just swapped the battery out because i remembered i have two rhods
17:48.26L_millerNahh... It's not bricked.
17:48.39arrrghhhi know, but he's having seizures.
17:48.44[acl]Alex[sp3dev]: i just started to do a recovery so i need to wait till thats done.. but maybe soon..
17:48.50[acl]Alex[sp3dev]: how far u get in LK ?
17:48.53L_millerMassStash did you do what I said?
17:49.02*** join/#htc-linux DuperGhost (~Duper@85-250-16-158.bb.netvision.net.il)
17:50.30Alex[sp3dev][acl]: i didn't touch it since we started 35 stuff in february. basically, i have reimplemented fb console (for kovs which has 180 degrees rotated screen) and done some stuffs. but i still need to clean up the fastboot code to allow us to separate usb code from it and add keyboard and charger support
17:51.52[acl]Alex[sp3dev]: nice nice
17:52.41[acl]if we can just figure out how to get rich i can quit my job to do this full time
17:52.59[acl]maybe i need to play the lottery
17:54.25arrrghhh[acl], there's some fellow in nigeria that is holding 422 million for me
17:54.34jonprylol
17:54.39arrrghhhi just need to give him 422,000
17:55.15jonprywe could all make a phone and sell it
17:55.27Alex[sp3dev]jonpry: what about prypad?
17:55.46jonpryworking on it. my last prototype got lost in the mail :(
17:55.54[acl]wtf .. lost in the mail?
17:56.01Alex[sp3dev]too much paper spam
17:56.05jonpryhttp://trkcnfrm1.smi.usps.com/PTSInternetWeb/InterLabelInquiry.do?origTrackNum=LC810323529US
17:56.09fakkerfui
17:56.11[acl]jonpry: like that phone tht was sent to you a while back huh
17:56.12dcordesjonpry: http://en.wikipedia.org/wiki/Openmoko#Golden_Delicious_GTA04_Board
17:56.40*** join/#htc-linux JustLiving (~Quilck@90.183.82.215)
17:57.21Alex[sp3dev]dcordes: by the time it is finished, i think we'd be running omap6
17:57.37jonpryi like this. http://www.opensourcemid.org/
17:58.02dcordeshttp://lists.openmoko.org/pipermail/community/
17:58.07dcordesAlex[sp3dev]: ;)
17:58.39Alex[sp3dev]$299? hum. no way.. you can buy any chinese mid for $150 and have the same hw.. but not open hardware, of course
17:58.44*** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring)
17:59.37Alex[sp3dev]dcordes: i'm not speaking of OM, but about the finished gta04..
17:59.38hycjonpry: silly question, but isn't there a set of rpc's for getting battery state etc?
17:59.43jonpryi don't know about $150. it won't have cortex a8, or usable ram
18:00.12jonpryhyc, depends on the phone, on rhodium we use dex, but it only gives you current and voltage, not state of charge
18:00.31dcordesAlex[sp3dev]: yeah I guessed
18:00.31Alex[sp3dev]jonpry: anyway.. a8 doesn't sound tasty now that a lot of a9 dual-core devices are going to be released in a month or two
18:00.47dcordesAlex[sp3dev]: there is no openmoko anyway
18:00.52[acl]hyc: yup but i think we have never been able to actually use them. Tried a while back.. back in the good ol days
18:01.00jonpryit depends. have to realize that the second core is just replacing the dsp
18:01.26[acl]hyc: eventually i gave up after constant torment from alex and lectures as to how rpc is evil and you will go to hell if you use it
18:01.32[acl]:-p
18:01.44hycsheesh  :)
18:03.06*** join/#htc-linux greg- (greg-@port-8276.pppoe.wtnet.de)
18:03.22arrrghhhlol
18:03.26[acl]hyc: but we can always try again.. i know we have that info somewhere. We did alot of testing for this damn batt. we even had some someone dismember their batt ..lol
18:03.28jonpryimho WebM is the reason for going to A9, and google wants WebM so they can stop having there products rely on weirdass unupgradable qc firmware
18:04.18Alex[sp3dev]jonpry: imho google wants to get rid of all patented encoders/decoders as they don't want to pay money to mpeg
18:04.44arrrghhhyup
18:04.50jonpryseems like a lot of work to save $.17
18:04.56arrrghhhlol
18:05.02*** join/#htc-linux balans1 (~Gebruiker@82-170-217-205.ip.telfort.nl)
18:05.25arrrghhhadds up quick when you have 50,000,000 phones
18:05.43Alex[sp3dev]but anyway. i suppose omap4 still has a dsp in addition to two cores? but what really matters is the GPU and ram
18:06.09jonpryomap4 doesn't have dsp. except for maybe in the modem
18:06.15*** join/#htc-linux lknd (~kvirc@95-24-230-206.broadband.corbina.ru)
18:06.46jonpryregardless of googles motivation, its not possible for them to write AMSS updates for devices to allow WebM
18:06.54hycacl: i guess if it's not going to save any effort, then no point. it just seemed like since we already have it for trout / g1 it wouldn't be too bad
18:07.39[acl]hyc: you can test it.. i mean its not hard to implement but i remember the calls didnt work but thats maybe because we werent using them right.
18:08.43hyci may give it a shot, but not in the next week at least.
18:09.20hycwas going to try to cleanup the rhodium board file, see if the generic msm_add_usb works, etc.
18:11.10*** join/#htc-linux greg- (greg-@port-8276.pppoe.wtnet.de)
18:17.23*** join/#htc-linux GlemSom (~glemsom@0x5da34bca.cpe.ge-1-1-0-1105.sdnqu1.customer.tele.dk)
18:19.16*** join/#htc-linux greg- (greg-@port-8276.pppoe.wtnet.de)
18:19.48*** join/#htc-linux joshkoss (~android@192.234.2.49)
18:25.00*** join/#htc-linux Jorg (541fd455@gateway/web/freenode/ip.84.31.212.85)
18:26.14Jorghello i got a problem with android on my htc tp2 (rhodium), it's about the connection with my provider (there isn't a connection) can someone help me with that?
18:26.57joshkossyea search apn
18:27.07joshkossand add your own apn for your provider
18:27.10arrrghhhJorg, also this room isn't for support
18:27.26Jorgohh sorry arrrghh thought that i could ask it here
18:27.29*** join/#htc-linux greg- (greg-@port-8276.pppoe.wtnet.de)
18:27.37arrrghhhJorg, topic is kernel development.
18:27.48Jorgi am searching for available networks but it can't find any
18:28.02arrrghhhThis channel is for development purposes
18:28.06Jorgoh sorry oke, i will be gone quick than:P thought maybe you could answer it easy(A)
18:30.51arrrghhhdoesn't really matter if it's easy or hard, it's not development related.
18:31.37Alex[sp3dev]arrrghhh fighting for 1337n3355
18:31.49arrrghhhlol
18:31.59arrrghhhi just don't want this channel clogged with support requests
18:32.03arrrghhhthat's what #xdandroid is for
18:32.09stinebdwhat
18:32.10stinebdno
18:32.17stinebdthat's what xda-devs is for
18:32.40arrrghhhlol
18:32.41stinebdi rest my case
18:32.47arrrghhhyea, not really for devs anymore is it.
18:35.35*** join/#htc-linux greg- (greg-@port-8276.pppoe.wtnet.de)
18:40.08bioterrorhmm
18:40.13bioterrorhandhelds.org is down
18:40.17bioterrorcannot get haret
18:40.20Alex[sp3dev]yep, for like 2 months
18:40.25Alex[sp3dev]get it off ltg
18:41.46Alex[sp3dev]damn i want iwconfig on android
18:42.24bioterrorI hate megaupload
18:42.34bioterrorI have to wait for ages after first download
18:42.40bioterrormediafire ftw
18:42.47Alex[sp3dev]http://www.mediafire.com/?a1rzi5embishqd7
18:42.57Alex[sp3dev]bioterror: contains haret and 2.6.35.7 kernel zimage
18:43.06bioterrorthanks
18:43.28Alex[sp3dev]bioterror: use 27 kernel, though. 35 is a wip
18:43.33jonpryrpierce99, i have an idea :p
18:43.35MassStash<arrrghhh> i know, but he's having seizures.
18:43.45*** join/#htc-linux greg- (greg-@port-8276.pppoe.wtnet.de)
18:43.45arrrghhhlol
18:43.47rpierce99jonpry: lets have it
18:43.57jonpryyou have an ac charger?
18:44.12rpierce99yep
18:44.19jonprywhat about a low power hub?
18:44.39MassStashlmfao
18:44.58rpierce99hmmmm, don't think I have a hub at all, i have a usb port on the front of my printer though
18:45.20arrrghhhjonpry, i do
18:45.24jonpryhmm. well never mind that just plug it into ac for a bit
18:45.25MassStashL_miller, it AUTOBOOTS when has enough charge, then no charging drivers are around to continue powering phone
18:45.26arrrghhhAFAIK i do
18:45.50arrrghhhMassStash, yes, we were trying to get you into a state when the phone is OFF and CHARGING
18:46.00MassStashget to either replimenu, or A N D R O I D text during boot,then dead battery
18:46.25MassStashright, just reminding him that it AUTOBOOTS for some god awful reason
18:46.26arrrghhhdamnit jim
18:46.30[Rapunzel]ftw just enter SPL and charge it there :P
18:46.30arrrghhhlisten to what we're saying
18:46.31jonpryrpierce99, i think it is just a scale factor. so we know that 3.5 amps == 500ma. and some ac power should be 900ma * 7 as well
18:46.49MassStashcannot enter bootloader aka spl
18:47.00MassStashwhen holding button combo, does not boot to spl
18:47.06jonpryMassStash, just plug it in with battery out. then insert. it won't autoboot. at least not eveytime
18:47.10MassStashjust chareing light off and nothing else
18:47.10rpierce99i'll check the output of the charger i plug it into, but the log i posted earlier, 90% of it (the middle section) was on that charger
18:47.18[Rapunzel]it must enter
18:47.18MassStashlet go of buttons, light back on begging the look again
18:47.28[Rapunzel]otherwise something broken in ur device
18:47.29MassStashinsert battery your saying?
18:48.23MassStashstrange, I'm out for now tho. thanks guys
18:48.53arrrghhhMassStash, jonpry gave you the answer - iirc plug in with battery out. then insert it, and it won't turn on
18:50.16rpierce99jonpry: in the log the 5th number is the amps?
18:50.33jonpryrpierce99, your log has same 3.5 amps for both ac and usb. yes 5th number
18:51.33*** join/#htc-linux MN-- (5689d26a@gateway/web/freenode/ip.86.137.210.106)
18:51.33rpierce99jonpry: yeah it starts at 3.5 while it's charging and gets lower and lower as it charges until it sits around at .4-.5
18:51.38L_millerMassStash it should be able to charge that way
18:52.07L_millerUnless you also toasted the kernal
18:52.19jonpryrpierce99, is it possible your ac charger is only 500ma?
18:52.20arrrghhhlol
18:52.23*** join/#htc-linux greg- (greg-@port-8276.pppoe.wtnet.de)
18:52.35rpierce99i just checked it, the label says 5v 1A
18:53.20rpierce99but it's plugged into a 2->6 power strip that's pretty old, I could plug it directly into the wall if that could cause weirdness
18:53.30jonpryno i don't think so
18:53.58jonprybut there are weird pins used to tell the device it is 900ma capable. not always the same
18:54.26rpierce99yeah there's non guarantee this is the proper charger, it's labeled UT Starcom
18:54.36rpierce99i have so many USB chargers in this house I just randomly pick one
18:54.47arrrghhhlol
18:55.19jonpryi wonder how we can get 100ma service from a computer
18:55.44Alex[sp3dev]aite, looks like wl12xx driver has finally loaded. but damn, i cannot test it. android has no iwlist and iwconfig. and moreover, for some reason it enters a bootloop when i enable wifi ;)
18:56.04Alex[sp3dev]but ifconfig wlan0 some_shitty_ip up works
18:56.42Alex[sp3dev]ah, of course it crashes. it's low on memory
18:57.46hycsetup your own wpa supplicant config
18:58.01jonpryi still don't understand why my phone is always at 2.5, and yours at 3.5
18:58.45hychave identical batteries?
18:58.56Alex[sp3dev]i'll better untar some rootfs and chroot there
18:58.57rpierce99well it gets lower (and goes through the 2.5 range) as it gets closer to charged, maybe a difference in battery age or capacity
19:00.14jonprymine acts similar, starts at high current and tapers down, and always starts at 2.5
19:00.30jonprywhat model do you have. i have 210
19:00.34rpierce99400
19:01.04*** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring)
19:01.19jonpryand the wizard gets correct numbers on 300
19:02.35*** join/#htc-linux Jorg (541fd455@gateway/web/freenode/ip.84.31.212.85)
19:03.02jonpryfortunately i think it is not real hard to calculate. just wait for a plugin on a fairly discharged battery, and instant scale factor
19:04.23rpierce99would make the levels pretty interesting at first, seeing as how it would be 7 for me and 1 for WisTilt2
19:05.04jonprythe plan is to use the existing code until the daemon gathers enough data to compute your battery parameters
19:05.18WisTilt2stinebd: getting this error when building xdandroid: hardware/msm7k/libaudio/AudioHardware.cpp:496: error: 'pr_info' was not declared in this scope. sync with repo so any ideas?
19:05.26jonpryright now it is pulling the switch early
19:06.05jonpryWisTilt2, if you have time would you run my kernel and daemon and report your charging current? or anyone else with a 300
19:06.21WisTilt2jonpry: i changed to the 500ma charger and seeing around 400 in smem, fluke shows 375 or so
19:07.04WisTilt2link and setup info?  ill try your setup on one of our other 300's
19:07.13jonpryi am still not convinced my code is broke :p
19:08.56dcordes[Rapunzel]: does rmnet work when compiled as built in (=y instead of =m) in your and other evo based kernels ?
19:09.00jonpryWisTilt2, directions http://pastebin.com/Ju4vJvDt
19:09.12dcordes[Rapunzel]: or must it be the module ?
19:09.53WisTilt2jonpry: give me a few mins and ill set it up.  ill try both the 1amp and 500ma chargers
19:09.55rpierce99jonpry: you can run scbs -d from adb now since it doesn't break sleep
19:10.08jonpryic
19:10.29jonpryalso if i shift it to the right 3 bits. get 438ma
19:10.37jonpryurg
19:12.25WisTilt2isnt the adc 12bits?  shift right 3bits would be right then
19:14.01*** join/#htc-linux arrrghhh (~arrrghhh@173-149-221-185.pools.spcsdns.net)
19:14.05*** join/#htc-linux Berger (~noreply@c65wn1.wifi.halden.net)
19:16.50*** join/#htc-linux Jhinta (~Jhinta@s529c116e.adsl.wanadoo.nl)
19:17.15arrrghhhjonpry, want me to try this fun too?
19:17.37jonpryfeel free, what model do you have?
19:17.49arrrghhhsame as rpierce99.  400
19:18.18jonprythe more the merrier
19:18.26arrrghhhthat's what i say ;)
19:18.42arrrghhhhow long do you want it to charge before sending you logs?
19:19.12jonpryit take measurement every 5 seconds, but its fairly noisy, so maybe a minute?
19:19.19arrrghhhoh awesome.
19:19.26arrrghhhlet me reboot and i'll have some info for you quickly :D
19:20.29jonpryi think we are going to need to log discharge and charge current separately. i thought it was in normal units, but looking at the changelog on htc_battery_smem, this has been an ongoing problem
19:21.08jonpryold code said to use .33 factor for rhod. but that still leaves rpierce99's values way out of line
19:25.03Alex[sp3dev]hum strange. the ifconfig works, but iwlist won't find a thing and iwconfig won't associate with the AP. i guess i need to enable mac80211 debugging to see
19:27.10*** join/#htc-linux joshkoss (~android@c-76-127-147-21.hsd1.ct.comcast.net)
19:31.35jonpryi put up a new scbs that will log charge and discharge separately
19:32.27*** join/#htc-linux Erikson (~Erik@i5E86D9E6.versanet.de)
19:32.47*** join/#htc-linux arrrghhh (~arrrghhh@173-149-221-185.pools.spcsdns.net)
19:33.07arrrghhhjonpry, this is wacky.  fun tho :P
19:33.08stinebdWisTilt2: which branch?
19:33.17arrrghhhjust spitting stuffs out in the terminal hehe
19:33.52jonpryyeah was for debugging, i will remove that
19:34.31arrrghhhso you want a paste of this?
19:34.33*** join/#htc-linux Specialist (~tg@andromeda.v6.ginkel.com)
19:34.34arrrghhhi have 56 points so far
19:34.48WisTilt2stinebd: froyo
19:35.05rpierce99arrrghhh: it's logging to your sd card, you can just kill the terminal
19:35.08stinebdWisTilt2: alright i'll check it out when i get a chance
19:35.28*** join/#htc-linux joshkoss (~android@c-76-127-147-21.hsd1.ct.comcast.net)
19:35.35bioterrordamn this booting takes a while :)
19:36.47WisTilt2stinebd: i just commented them out, they're just for logging obviously.
19:36.49jonpryarrrghhh, sure, paste the sdcard dump though. the stuff in terminal is incomplete
19:36.49arrrghhhjonpry, might not be such a good test case, as it was already near full, but here it be.
19:36.56arrrghhhoh ok 1 sec.
19:37.12arrrghhhthis'll probably kick me off
19:37.28jonpryyou can adb pull it
19:37.44arrrghhhhttp://pastebin.com/VGjUN4R8
19:38.00arrrghhhhey it didn't.  yea, that's what i'm doing.  but i'm also using adb to tether so i can get on IRC @ work :D
19:38.02WisTilt2i have 4 rhod 300's on my desk testing lol. jonpry, you want this log?  i ran 15 intervals with 1amp charger and 15 with the 500ma.
19:38.21jonpryplease
19:38.47jonpryarrrghhh, 2 amps :p
19:38.59WisTilt2jonpry: http://pastebin.com/0trH6nnM
19:39.10rpierce993.4
19:39.23WisTilt2i umplugged the 1amp at 15 then went to 500ma
19:39.29WisTilt2unplugged jeeze
19:39.31*** join/#htc-linux arrrghhh (~arrrghhh@173-149-221-185.pools.spcsdns.net)
19:39.45arrrghhhah, it's when i close droid explorer that it boots me offline.  that's right.
19:39.59arrrghhhjonpry, 2amps?  that's plugged into my lappy via usb lol.
19:40.11jonpryWisTilt2, 3.4
19:40.51Alex[sp3dev]ok, it's official - the wifi is deliberately pissing me off
19:40.52rpierce99so there has to be something wrong with the number, needs shifted or divided or something
19:40.53WisTilt2maybe you discovered a way to make more power.  need to patent that!
19:41.24arrrghhhpatent my dell laptop
19:41.30arrrghhhdon't think dell would appreciate that.
19:41.32arrrghhh:P
19:41.37jonpryWisTilt2, i have it logging raw smem values to dmesg, i don't understand how your code is getting different numbers
19:41.58WisTilt2you reading the same smem i am?
19:42.30WisTilt2base + 0xfc144 16bits
19:42.44Alex[sp3dev]ok. well, if the driver has loaded, the firmware has loaded and no mmc errors are popping, then i'm probably missing some vreg or gpio for the transceiver
19:44.48jonpryWisTilt2, i am pretty sure, and the numbers make sense in an unscaled kind of way, but i will produce something new
19:45.18bioterrorI took rhobuntu 19_09_2010 build, does it have X? :D
19:45.31WisTilt2you're using batt32 so maybe its pulling off 4bytes instead of 2 into batt info
19:45.33Alex[sp3dev]of course it does
19:45.34*** join/#htc-linux AndIrc_ (~android@c-76-127-147-21.hsd1.ct.comcast.net)
19:45.47arrrghhhbioterror, uhhh yes.  but you should probably post in that thread.
19:48.42jonpryok, new zImage with guaranteed smem address posted
19:48.58jonpryWisTilt2, this look good to you: batt_info.batt_current = *(u16*)(MSM_SHARED_RAM_BASE + 0xfc144);
19:49.42WisTilt2yep
19:50.29WisTilt2so are we seeing values way off between devices?
19:50.57jonprywe seem to see either 2.5 amps or 3.5 amps
19:51.15jonprybut it could be battery, or an actual reduction is charging current between gsm/cdma
19:51.42WisTilt2what are your raw values without any shifting?
19:51.49WisTilt2or correction
19:51.52jonpryi dunno just run a dmesg
19:52.26jonpryscbs_take_measure: v, c, d, time
19:52.40jonpryi checked them and it is being converted to userland float correctly
19:54.13WisTilt2yeah but those are after shifts and /1000
19:54.38WisTilt2what is batt_current/discharge native value
19:55.27jonpryi don't know, but one would expect multiplication and division to be working
19:55.30*** join/#htc-linux bzo (~chatzilla@netblock-68-183-234-14.dslextreme.com)
19:56.08*** join/#htc-linux rob_w (~bob@ppp-188-174-65-152.dynamic.mnet-online.de)
19:56.14WisTilt2what im saying is my values being so far off yours are because im not doing any conversion at all to what im reading so we cant compare
19:56.50WisTilt2and your variables are defined 32bit not 16
19:57.07jonpryyeah but they are extracted from smem as 16
19:57.16jonpryand converted to 16.16
19:57.38jonpryso it is correct. but who am i to stand in the way of progress. i uploaded new kernel, with raw value dmesg print
19:57.51WisTilt2yeah true.  when you shifted basically 12bits you saw a number that looked more like what it should be no?
19:57.54bzojonpry, you sure that code to get current works correctly? Seems like you're casting to a 16bit address, then getting value from it
19:58.17Alex[sp3dev]bzo: it's a pointer to a u16
19:58.23Alex[sp3dev]pointers are always 32 bit
19:58.24jonprythats new code, but afaik that is how you get a u16 out of memory
19:58.34bzohm, ok
19:59.02*** join/#htc-linux ftoz (~root@cst-prg-249-3.vodafone.cz)
19:59.09*** join/#htc-linux swc|666 (~x00@unaffiliated/swc666/x-4934821)
19:59.43jonpryi dunno, there are scale factors all over the existing code for charge current, and the values i'm getting appear to be consistent with pluggin in a charger and charging the battery
20:00.22WisTilt2where are you firing the dex call?
20:00.41jonpryhtc_get_batt_smem_info() does it
20:00.52WisTilt2so you call that every 5secs?
20:01.10jonpryyeah
20:01.40jonpryi fixed some craziness with mutexes in that file
20:01.50jonpryit is still fubar
20:02.12jonpryhow that got past the phh test i'll never know
20:02.54bzoI think that stuff predated phh's repo
20:02.56rpierce99jonpry: http://pastebin.com/jAE5Bihw
20:03.02jonpryno its camro patch
20:03.17camro?
20:03.18camrohi
20:03.32camrohehe, heard my name :)
20:03.41jonpryrpierce99, were you plugged in?
20:03.42rpierce99i'm guessing the value we're looking at was moved to the end of the output?
20:03.49rpierce99plugged, then unplugged, then plugged
20:03.56*** join/#htc-linux Christie (Christine@adsl-75-1-6-172.dsl.irvnca.sbcglobal.net)
20:03.59jonpryits number 6
20:04.15jonprycan you get a dmesg?
20:04.22rpierce99yeah
20:05.21rpierce99http://pastebin.com/gcspSeGb
20:07.17jonpryit appears that there is nothing in (MSM_SHARED_RAM_BASE + 0xfc144)
20:07.48Jhintais there any info how to port android kernel to gnu comfort?
20:10.14jonpryWisTilt2, it looks like existing code is using 0xfc146
20:11.36WisTilt2that should be the battery id field or temp
20:13.02jonpry140 = id, 142 = temp, 144 = voltage, 146 = charge 148 = discharge
20:13.25jonprydo you think the compiler would shaft my code because its not volatile?
20:13.57Alex[sp3dev]it can.. but well, you can read it from userspace as well
20:14.45bzojonpry: isn't the rhod battery field size 4 bytes?
20:15.55jonpryi'm just using the htc_battery_smem code. which seems to work fine. but wistilt2 says he gets correct numbers from some u16 address, which i cannot reproduce
20:16.09*** join/#htc-linux kvaster (~kvaster@vpn-e0.bas-net.by)
20:17.01bzoif you're using that code it should be using 4 byte fields because the pdata batt field size is set to 4
20:18.34bzowhether only 2 bytes of data are written to those fields is another matter
20:18.56jonpryok, so then charge is 0xfc14c
20:20.03jonpryWisTilt2, are you sure your reading 0xfc144? that is marked as temperature
20:20.03bzoI would think so
20:20.53jonpryi still don't understand why we got zero's
20:21.15WisTilt2lunch just got delivered but basically what i did was output 0xfc140 and up, then plugged in charger to see which addy changed.  0xfc144 is what i am getting that reading from.  ill bb in about 30
20:21.24[Rapunzel]because WM AMSS only supports battery data via DEX? :P
20:21.45*** join/#htc-linux Christie (Christine@adsl-75-1-6-172.dsl.irvnca.sbcglobal.net)
20:23.30[acl]WisTilt2: when is ur boy fixing the ril ? :-p
20:23.49*** join/#htc-linux arrrghhh (~arrrghhh@173-149-221-185.pools.spcsdns.net)
20:24.50arrrghhhjonpry, lol my battery % was 249298
20:25.04jonpryyeah, that is a feature
20:25.05arrrghhhthat's pretty impressive.  battery should last about a year assuming it doesn't drain too quickly :P
20:25.10arrrghhhlmao awesome feature.
20:25.21jonpryyou have to turn it off at 228,000%
20:25.24arrrghhhgetting more logs for you on the newest kernel.
20:25.29arrrghhhlol
20:25.44jonpryi got a new one, that dumps the whole battery region in different alignmentds
20:26.10arrrghhhanother new one?  i grabbed this one like 20 mins ago or so...
20:26.16jonpryif its good enough for the wizard...
20:26.20jonpryyeah i just put it up
20:26.24arrrghhhcrap :P
20:26.33arrrghhhso these values are probably useless, oh well.
20:26.41rpierce99no new scbs though right?
20:26.44jonpryno
20:26.52arrrghhhreboot time, brb.
20:27.04jonpryit rotates the logs. so sometime later you can just pack up scbs.log*
20:29.49*** join/#htc-linux mastermerlin (~Adium@p4FEE4906.dip.t-dialin.net)
20:30.10jonprybzo, what do you think? http://pastebin.com/qTv68TmP
20:32.06bzoseems fine, maybe you should print hex?
20:34.06jonprythats true
20:35.26rpierce99jonpry: dmesg or log file?
20:35.30jonprydmesg
20:36.16rpierce99http://pastebin.com/5JbEW94r
20:36.21jonpryi put up a new scbs that will report percentages. its based on model derived from WisTilt2 battery so it won't quite as accurate as it should be, and its not linear, but much better than 228,000 %
20:38.13jonprywtf, how is everything zero?
20:41.05emwebzo: the battery smem pdata is adjusted in the device fixup to 0xfc110 field size=2
20:42.21jonprythat is how everything is zero :p
20:42.22bzoemwe: you're right, that seems stupid
20:42.38emwebzo: cleaned that up on .35 for topa and rhod. and yes, totally sucky.
20:42.43*** join/#htc-linux Christie (Christine@adsl-75-1-6-172.dsl.irvnca.sbcglobal.net)
20:43.37jonpryso what is wistilt2 smoking?
20:44.59[Rapunzel]smoke from ur boat maybe :D
20:45.21jonprywhatever it is, we need to get it to all rhodium users
20:45.26[Rapunzel]is it benzine?
20:47.00emweis there any kconfig which allows for setting the printk/dmesg buffer higher so some messages aren't skipped?
20:47.01*** join/#htc-linux dekar (~dekar@drms-590c4642.pool.mediaWays.net)
20:47.48dcordes[Rapunzel]: answered the question by testing. rmnet needs to be compiled as module in evo kern
20:49.49emweholy collapse? <6>[  522.177978] msm_pm_collapse(): returned 1
20:50.13jonpryis it sleeping now?
20:50.45[Rapunzel]dcordes?
20:50.51[Rapunzel]it worked builtin also
20:51.04dcordes[Rapunzel]: :( I did not get rmnet0
20:51.13dcordes[Rapunzel]: ifconfig rmnet0 up : no such iface
20:51.17[Rapunzel]strange
20:51.28emwejonpry: don't dare to pull the usb plug. have suspicion something is runny on very low speed currently. is there any place to lookup cpu speed/clocks in sysfs procfs, wherever?
20:51.59[Rapunzel]dcordes, which kernel are u using?
20:52.11dcordeslinux_leo_cotulla of course
20:52.23[Rapunzel]strange
20:52.28[Rapunzel]maybe u added PPP
20:52.32[Rapunzel]or messed config?
20:52.36dcordesppp = y
20:52.42dcordesproblem ?
20:53.10[Rapunzel]hm
20:53.10emwejonpry: adb died out of a sudden again and then freeze...
20:53.28[Rapunzel]but it have as =m also in my current config
20:53.34dcordes[Rapunzel]: your arch/arm/configs/htceo_defconfiig has ppp=y rmnet=m
20:53.34*** join/#htc-linux Pr0z (Pr0z@bzq-84-109-110-248.red.bezeqint.net)
20:53.38fakkerprivet
20:53.42[Rapunzel]yes... but it was not there
20:53.44[Rapunzel]privet fakker
20:53.53[Rapunzel]anyway u got rmnet0 now?
20:54.03dcordeswith =m yes
20:54.47[Rapunzel]so u got internet inside SHR?
20:55.10dcordesnope it is not giving me any RX
20:55.21dcordesI need to try set the apn manually
20:55.43[Rapunzel]yes
20:55.43dcordesit doesn't seem to work with the shipped program in settings OR my kernel is broken
20:55.55[Rapunzel]u may looks at meego page
20:55.59[Rapunzel]there was some script for data
20:56.00[Rapunzel]on desire
20:56.03dcordescool
20:56.11dcordesI never connected rmnet manually so it will be worht a read
20:56.20dcordesused to ppp
20:56.30[Rapunzel]maybe PPP better for SHR
20:56.33[Rapunzel]because QMI is closed
20:56.47[Rapunzel]http://wiki.meego.com/ARM/MSMQSD
20:56.54[Rapunzel]GPRS
20:58.38*** join/#htc-linux arrrghhh (~arrrghhh@173-149-221-185.pools.spcsdns.net)
20:59.26rpierce99arrrghhh: that kernel won't work, just 0s
21:00.13arrrghhhi grabbed yet another kernel
21:00.15arrrghhhthat one won't either?
21:00.20arrrghhhi also grabbed a new scbs
21:01.04rpierce99unless jonpry posted one without announcing it, he had the wrong memory offset
21:01.24*** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring)
21:01.30arrrghhhhe did post another one without announcing
21:01.44jonprywell its now dumping raw values, but all it shows is that wistilt2 is confused :p
21:02.04arrrghhhlol
21:02.16arrrghhhbattery level is still 251658
21:02.23arrrghhhwith new scbs and your "newest" kernel.
21:02.28arrrghhhi was doing hashchecks to be sure :P
21:02.50jonpryyeah my phone is not even showing the percentage
21:02.53arrrghhhjonpry, do you want any logs of this?
21:02.55jonprycan't find the battery meter
21:03.11jonprylong terms logs are good, that way i can model your battery
21:03.12arrrghhhseems like they'll be relatively useless.
21:03.16arrrghhhok
21:05.45*** join/#htc-linux LordDeath (~Lord|Lapt@cable-81-173-166-52.netcologne.de)
21:07.49WisTilt2jonpry: ok back but looks like im confused??
21:08.04jonprythere is nothing at 0xfc14*
21:08.14*** join/#htc-linux Alex[sp3dev] (~alexander@ip-95-220-12-212.bb.netbynet.ru)
21:08.30Alex[sp3dev]who can rebuild the gps library for me right now?
21:08.51jonpryWisTilt2, it is located at 0xfc116
21:09.39WisTilt2i have data at 142-146.  here's the loop of code i did to do those 1 second reads i sent you...
21:09.42WisTilt2unsigned v;
21:09.42WisTilt2unsigned c;
21:09.42WisTilt2unsigned t;
21:09.42WisTilt2for (i=1;i<=14400;i++){
21:09.42WisTilt2dex.cmd = PCOM_GET_BATTERY_DATA;
21:09.42WisTilt2msm_proc_comm_wince(&dex, 0);
21:09.44WisTilt2v = (MSM_SHARED_RAM_BASE + 0xfc142);
21:09.46WisTilt2c = (MSM_SHARED_RAM_BASE + 0xfc144);
21:09.48WisTilt2t = (MSM_SHARED_RAM_BASE + 0xfc146);
21:09.50WisTilt2sleep(1);
21:09.52WisTilt2}
21:10.17Alex[sp3dev]ok, noone. back to binary patching then
21:10.36jonprywell i tried that. and got nothing, and arggh got nothing
21:10.37[Rapunzel]lovi kaif
21:11.02emweAlex[sp3dev]: the gingerbread one?
21:11.20Alex[sp3dev]emwe: froyo
21:11.22jonpryWisTilt2, and that code doesn't dereference the addresses
21:11.27emweAlex[sp3dev]: then no.
21:12.03jonpryWisTilt2, i dumped everything of 0xfc140 to 0xfc160. all zeros
21:12.12*** join/#htc-linux Markinus (~Miranda@212.255.18.217)
21:12.29WisTilt2you're seeing data at 0xfc116?
21:12.35jonpryyeah
21:13.05[Rapunzel]but they located at 0xFC110  -  5 hwords,  not at fc160
21:13.33[Rapunzel]or what are u doing, jonpry?
21:13.37*** join/#htc-linux sykosoft (455cd27d@gateway/web/freenode/ip.69.92.210.125)
21:13.43sykosoftjonpry: I haven't finished reading the logs yet, but about your charge current
21:13.48sykosoftyou wouldn't be using a macbook pro?
21:13.58sykosoftor a relatively recent laptop?
21:14.07jonpryits new, sandybridge
21:14.15rpierce99and i'm using a mbp
21:14.20jonprybut other people got higher readings than me
21:14.31sykosofta lot of manufacturers increased the power available via usb in response to several factors
21:14.40sykosoftas a for instance, older mbp cannot charge an ipad via usb
21:14.45sykosoftbecause of only 500ma output
21:14.47sykosoftnewer ones can
21:14.54sykosoftwith a much higher output that doesn't comply to the spec
21:15.02jonpryi'm pretty sure it has 900ma usb support
21:15.09[Rapunzel]I think it just lie, I got also about 800 ma charge current from my PC
21:15.11[Rapunzel]via USB
21:15.13jonprybut not 3.5 amps. and wistilt2 has got a fluke on his charger
21:15.18[Rapunzel]but LEO never got such current
21:15.23[Rapunzel]:P
21:15.25sykosoftha! 3.5 amps, the cable should be on fire
21:15.33[Rapunzel]it must be warm :P
21:15.43jonpryits not happening though, so its not a big deal
21:15.58[Rapunzel]freaked warm
21:16.11sykosoftall right, thought I'd throw that out there
21:16.21sykosoftI've seen as high as 1100ma on my systems
21:16.32sykosoftnot even sure what it's technically capable of
21:16.52sykosoftguess it would have served me to finish reading logs
21:19.00bioterrorwhat's rhobuntus login credentials?-)
21:19.12sykosofthmmm. I've had that battery issue. Had to use a lab power supply to get it to have voltage to allow the charging circuit to operate properly
21:20.17*** join/#htc-linux friehmaen (freeman@xers.de)
21:21.09jonprynew scbs that charges in correct direction now
21:23.49rpierce99jonpry: is the memory address situation sorted out?
21:24.00WisTilt2jonpry: i just ran my code again and getting same data i was before.  only thing i can think is some of the many changes ive made to the board file, pm, and everything else, changed that offset. im going to try it on the current git source without any of my changes.
21:24.07*** join/#htc-linux Rajko (~Rajko@2001:470:1f0b:728:e144:756a:4526:e23b)
21:24.50[acl]im here to defend wistilt.. i dont like these rumors about him "smoking" or him being crazy. :-p
21:25.28Alex[sp3dev][acl]: it's not like you're the only crazy smoking guy in here
21:25.28WisTilt2lol. not crazy yet i hope
21:25.50[acl]Alex[sp3dev]: :-D
21:25.51WisTilt2[acl] ril is coming along, pretty much being re-written
21:26.12[acl]WisTilt2: you know we had this dicussion about lag and sods .. and how i could never get it to happen.
21:26.24[acl]WisTilt2: well i never had service so ril was always chill
21:26.38[acl]WisTilt2: onec i got service on my phone.. bam .. lagville
21:26.38WisTilt2now you get it dont you
21:27.03jonpryrpierce99, not yet, think one more change
21:27.12WisTilt2yep.  problem is with the way the data streams are handled.
21:27.38jonpryWisTilt2, maybe try dumping 0xfc11*, its possible the 300 has two different locations. i think they used to use 0xfc140 on rhod
21:27.42[acl]WisTilt2: well if you got it covered, then i wont spend time on it. :-) i saw the lexicon ril but it doesnt disasemble well :-(
21:28.34WisTilt2we'll take care of it.  he's putting all the missing cdma stuff in there also.  looks like this ril was written for gsm mainly
21:29.04[acl]WisTilt2: ohh yeah .. cdma was a recent thing.. pippy did most of it i think
21:29.56*** join/#htc-linux Specialist (~tg@andromeda.v6.ginkel.com)
21:30.53Alex[sp3dev]WisTilt2: could i ask you to implement a fix for ppp - to first look for /dev/smd7 and use it for ppp, and if it is not found - fallback to 1. this way, we will not need an ugly hack to redirect smd1 to smd7 in kernel on gsm phones
21:31.11WisTilt2jonpry: well, just ran it with unmodified git source and no data.  i made a lot of changes in the rhod board file and probably took out some remapping.
21:31.33jonpryhow can you remap where dex puts things?
21:31.58[acl]Alex[sp3dev]: that whole ppp thing is hideous..
21:32.12Alex[sp3dev][acl]: that is not hideous, that is broken
21:33.05WisTilt2jonpry:i dont know im just speculating.  ive changed so many things messing around.
21:33.18[acl]Alex[sp3dev]: same shit yo..
21:33.20*** join/#htc-linux MN-- (5689d26a@gateway/web/freenode/ip.86.137.210.106)
21:36.09*** join/#htc-linux Specialist (~tg@andromeda.v6.ginkel.com)
21:37.04*** join/#htc-linux Specialist (~tg@andromeda.v6.ginkel.com)
21:37.15jonpryok. so new scbs actually seems to work. very nice battery readings with no craziness at plug/unplug
21:39.10*** join/#htc-linux Specialist (~tg@andromeda.v6.ginkel.com)
21:40.00[acl]we should make a ril request list :-p
21:40.10arrrghhhjonpry, should i grab it again?  :P
21:40.14[acl]like dont system out the call to pppd
21:41.01rpierce99tells me I'm at 96
21:41.07*** join/#htc-linux Specialist (~tg@andromeda.v6.ginkel.com)
21:43.12rpierce99it's a little bouncy, went up to 97 and then down down to 94 while downloading
21:43.18*** join/#htc-linux Specialist (~tg@andromeda.v6.ginkel.com)
21:43.22rpierce99now back to 95 when done downloading
21:43.52jonpryyou have the latest?
21:44.15arrrghhhi'm guessing i don't.  i'm still in the 6-figure battery range.
21:44.21arrrghhhtoo bad my salary isn't in that range :(
21:44.22jonprylol
21:44.50*** join/#htc-linux Specialist (~tg@andromeda.v6.ginkel.com)
21:45.57jonpryit's still not done, it needs to generate a model for every battery. there is code to do that, but it is a manual process atm. and it needs a little code to deal with the timestamps
21:45.58arrrghhhalright.  reboot again.  jonpry, i can't keep up with you :P
21:46.40jonpryin theory a model for your particular battery will smooth it right out
21:46.50bioterrori have to swear a little
21:47.03bioterrorI get into tty1, but ubuntu/temp credentials doesnt work
21:50.52rpierce99well now I feel like an idiot, i forgot to restart scbs this last time so i'm guessing it's just using the old method
21:52.16WisTilt2jonpry: did you already code a fix for timestamps while in sleep?
21:53.13jonpryyeah, but last time i looked at it there was a big where it reports every time twice
21:53.18jonpry*bug
21:53.49rpierce99haha old method = 100, new scbs = 45 :)
21:53.51WisTilt2you using that register i mentioned or doing it another way
21:54.14jonprythere is a time you can get from dex
21:54.26jonpryits a 32khz counter
21:55.04jonpryrpierce99, you can't trust it for a while. startup is very shaky and it has to train to data stream
21:55.15rpierce99ok, it's climbing slowly
21:55.43WisTilt2ok.  im moving on to ril stuff then since you've got it handled
21:56.08WisTilt2Alex[sp3dev] yes adding that looks pretty easy.
21:56.19*** join/#htc-linux arrrghhh (~arrrghhh@173-149-221-185.pools.spcsdns.net)
21:56.25jonpryrpierce99, that is a bit off though. can you send the log?
21:56.35rpierce99absolutely
21:56.46rpierce99dmesg or .log
21:57.02arrrghhhjonpry, mine's really low as well.  doesn't even show charging anymore
21:57.18arrrghhhit says 55% when it's pretty close to 100%
21:57.36jonpryi have had trouble killing scbs. usually have to kill -9 it. and running 2 is not good
21:59.06rpierce99http://pastebin.com/ZuMDYkSy
21:59.47*** join/#htc-linux JustLiving (~Quilck@90.183.82.215)
21:59.47jonpryrpierce99, your battery just isn't charged :p
22:00.06rpierce99according to the old method it is, so maybe this is progress :)
22:00.55jonprythe voltage to percentage thing is fubar right now. i don't have enough data to make a good one. but your battery is estimated to be at 3.821500 volts, which is just not charged
22:01.29arrrghhhjonpry, http://pastebin.com/AVLZi9SE
22:01.39arrrghhhseems mine isn't either, but i was at 100% before...
22:01.44rpierce99is scbs.log always the newest?
22:01.51arrrghhhwell 100% in winmo, 97% in android with the old algo
22:02.04jonpryrpierce99, yes
22:02.05arrrghhhrpierce99, yes.  date/timestamp should confirm.
22:03.01jonprythere are reports of people having 100% for days on end
22:03.07arrrghhhlol
22:03.18arrrghhhi know it's not at 55%.
22:03.30arrrghhhoO up to 57 now :P
22:03.46arrrghhhi guess this is a little more accurate than 254693%
22:05.17jonpryi dunno how long it will work for. the scale factor is just set at 7, which is not right, and it could eventually get out of control
22:06.19arrrghhhhrm
22:06.27arrrghhhis it not supposed to show charging as well?
22:06.37arrrghhhbattery status just says "full"
22:06.37rpierce99mine shows charging
22:06.39arrrghhhlol
22:06.42arrrghhhwtf?
22:06.44arrrghhhthat's odd.
22:06.47arrrghhhmine... does not.
22:07.02jonpryoh thats normal
22:07.04*** join/#htc-linux arif_ali (~arif-ali@88-111-128-250.dynamic.dsl.as9105.com)
22:07.12arrrghhhso what is rpierce99 doing lol
22:07.13jonpryold code sets the full state
22:07.17rpierce99oh wait the icon in the top right doesn't, but the lock screen does
22:07.26arrrghhhrpierce99, hrm let me check lockscreen
22:07.37arrrghhhlol lockscreen does.  d'oh.
22:07.38jonpryyou must have gone over the threshold. but your log indicates massive charging current
22:07.38arrrghhhthat's odd.
22:07.59arrrghhhjonpry, this dell is hot enough to cook eggs on
22:08.03arrrghhhor veal.  mmmmm veal
22:09.30*** join/#htc-linux FlawlesStyle (~LOL@unaffiliated/flawlesstyle)
22:09.31jonpryyou can't get charge % anymore? is there an app for that?
22:09.44rpierce99i have charge % on a widget and on the lock screen
22:09.46arrrghhhit's showing charge %
22:09.51arrrghhhjust not showing that it is charging
22:09.56arrrghhhexcept for lock screen ^^
22:10.11arrrghhhthe icon in the notification bar isn't showing charging state...
22:10.29arrrghhhneither does about phone.  it used to show battery status charging/discharging etc.
22:11.28rpierce99it's weird that about phone says battery status full but the icon shows like 75% but the text shows 50%
22:12.23arrrghhhlol
22:12.23arrrghhhthe icon lies
22:12.29arrrghhhalthough at this point it seems like everything is lying.
22:12.41arrrghhhjonpry, so the longer i run it, the more accurate it gets in theory?
22:12.46arrrghhhthen i sent you gigabytes of log data?
22:12.53arrrghhhexabytes
22:13.00arrrghhhhope you've got some big hdd's
22:13.11rpierce99you have an exabyte microsd card? hook a brother up
22:13.14jonprysomething not right
22:13.29arrrghhhrpierce99, lol
22:14.25arrrghhhjonpry, what would you like us to do?
22:14.39arrrghhhi've got beer at home
22:15.09jonprynothing, just send me log data sometime and i will analyze it. just don't pay too much attention to the percentage :p
22:15.17*** join/#htc-linux daevoq (~dae@host141-105-dynamic.56-79-r.retail.telecomitalia.it)
22:15.41rpierce99jonpry: it's scaled now so it will start about 50 and go to 0, but 0 is actually 0, right?
22:15.43arrrghhhlol ok
22:15.44jonpryi get the feeling that .33 was the correct factir
22:16.03jonpryrpierce99, its going in the wrong direction
22:16.12jonprytry unplugging it, and watch it charge 3 times as fast
22:16.26arrrghhhlol
22:16.56jonpryquestion is why is battery fully charged at 3.82 volts
22:16.58*** join/#htc-linux MethoS- (~clemens@134.102.106.250)
22:17.50*** join/#htc-linux MethoS- (~clemens@134.102.106.250)
22:17.53jonpryi am just jumping ahead, its not ready for use, just logging
22:18.26arrrghhhok
22:18.32arrrghhhi'll run this today and get you some logs tonight.
22:18.36rpierce99gotcha, just don't want to get below 222800, so wondered what the new drop dead will be
22:18.42*** join/#htc-linux pw (~pw@coffee-addicts.org)
22:18.42arrrghhhit's slowly creepying back up
22:18.48arrrghhhcreeping lol
22:18.51arrrghhhcreepying
22:20.14jonpryrpierce99, it could be at 100%, or 300%
22:20.29jonprywhenever it feels like it
22:20.53arrrghhhso i can charge this thing to 300%?
22:20.57arrrghhhthis isn't going to blow up my phone is it
22:21.04rpierce99no you can drain it to 300
22:21.07rpierce99haha
22:23.24arrrghhhup to 65
22:23.35rpierce99charging or draining?
22:23.43arrrghhhcharging
22:23.49arrrghhhstarted at 50 i think.  maybe 55.
22:24.13arrrghhhi'm at work, so the only way i'm online is tethered thru my phone via adb.
22:27.04stinebdWisTilt2: uh oh. my froyo working tree built.
22:28.33WisTilt2stinebd: mine did too after i commented out those 2 lines:)  pr_info was nowhere to be found though
22:29.48stinebdWisTilt2: the two lines being if(!acoustic) return 0; in doRouting()?
22:29.54WisTilt2yep
22:30.00stinebdstrange
22:34.04*** join/#htc-linux jameschurchman_ (u220@gateway/web/irccloud.com/x-jikliuurqkaazqfr)
22:34.12WisTilt2any of you cdma people setup to send AT commands easily?  need to get a return value from cdma
22:34.48rpierce99i've never had good luck with it, but always willing to try
22:35.11WisTilt2didnt we kill your phone last time?
22:35.23rpierce99it froze
22:35.43rpierce99jonpry: my battery meter is falling now, off the charger
22:36.18*** join/#htc-linux skodde (~skodde@unaffiliated/skodde)
22:36.27jonprystrange :p
22:36.39jonpryi have plan to figure out ratio now
22:37.01rpierce99it is rather warm though :)
22:37.32jonpryarm9 handles the actual charging
22:38.07rpierce99so WisTilt2 do you have steps to follow or just the same ones as before with new commands
22:38.27WisTilt2same way as before just diff commands
22:39.15arrrghhhWisTilt2, i've been able to somewhat.
22:39.24arrrghhhi'll need all the info up front, as i'm on IRC because of the phone :P
22:39.32WisTilt2need 3 of them if you can.  hopefully it doesnt lock on you each time.  AT+CREG, AT+CSQ, and AT+CBC to start
22:40.01WisTilt2i think you had to add the \r iirc
22:40.11rpierce99and what smd dev are we echoing to again
22:40.16WisTilt20
22:40.40WisTilt2you're on sprint correct?
22:40.45rpierce99yeah
22:40.49arrrghhh+1
22:41.11WisTilt2you guys could split up the commands since you're both on sprint
22:41.23arrrghhhwell if i can run them all, i will.
22:41.31arrrghhhgotta kill the radio, so it'll sign me off.
22:41.35arrrghhhi'll try them, and see what i get.
22:41.35jonpryWisTilt2, do you know what your fully charged batteries are reading voltage wise?
22:41.42WisTilt2wait, forgot you also have to have ? at the end of each command
22:41.55WisTilt2jonpry: on mine its 4200mv
22:42.20jonpryhrm, from smem and in real life?
22:42.40rpierce99haha well it just locked me, wonder if it's the \r or the ?
22:42.47WisTilt2real life.  only holds there for a few mins after taking charger off though.  4150mv is probably more accurate base
22:43.33arrrghhhalright.  time to blow up my radio, brb.
22:43.40WisTilt2rpierce99 you can try without the ? but that should be a query
22:44.08jonpryIn htc_battery there is also a voltage scaling factor
22:44.11rpierce99well i did it without either one, so i'm wondering whether it's the lack that freezes
22:44.37WisTilt2yeah pretty sure you need ?\r
22:45.00WisTilt2did you guys remember to kill rild first?
22:45.10rpierce99i used stop ril-daemon
22:45.17rpierce99arrrghh is gone
22:45.19WisTilt2that should work also
22:47.28*** join/#htc-linux toastcfh (~toastcfh@29-37.200-68.tampabay.res.rr.com)
22:48.51rpierce99well it didn't lock up, but I don't see any console output
22:49.01WisTilt2on which one?
22:49.09rpierce99AT+CREG?\r
22:49.32WisTilt2ok send AT+CREG=2 then try it again
22:49.35rpierce99all i did was stop ril-daemon and then echo -e 'that' > /dev/smd0
22:49.56WisTilt2and you're reading back in another adb?
22:50.02rpierce99no
22:50.23WisTilt2you have to cat smd0 in another session to see return values
22:50.25rpierce99that was cat /dev/smd0 &
22:50.36WisTilt2yep
22:50.52WisTilt2do cmd again before you send the other command
22:51.12WisTilt2guess arrrghhh's phone blew up
22:51.20rpierce99ah, awesome, it works
22:51.31rpierce99+CREG: 1,1
22:51.33rpierce99OK
22:51.38rpierce99$HTC_CSW:5,4
22:51.41rpierce99err
22:51.43rpierce99HTC_CSQ
22:52.08WisTilt2all that back from the first command?
22:52.27rpierce99yeah, but the last one was delayed, like it was maybe unsolicited or something
22:52.43WisTilt2ok send the CREG=2 then pull it again
22:52.48*** join/#htc-linux programmer8922 (~Evan@67.219.164.162)
22:53.00WisTilt2should get a lot more back
22:53.12rpierce99well it'll have to be after a reboot, locked up again
22:54.05WisTilt2so was that HTC_CSQ what contained the 5,4?
22:54.13rpierce99yes
22:54.17WisTilt2great
22:54.21rpierce99got another one of those later with 6,4
22:54.44WisTilt2you have good signal where you are?
22:55.01*** join/#htc-linux arrrghhh (~arrrghhh@173-149-221-185.pools.spcsdns.net)
22:55.13arrrghhhphone didn't blow up, entirely.
22:55.20rpierce99i get 5 bars in WinMo
22:55.23arrrghhhjust can't be on IRC and blow up the radio.
22:55.26WisTilt2small amount of smoke?
22:55.29arrrghhhbut WisTilt2 i got all 3 commands to work
22:55.30rpierce99err 6, whatever the highest is
22:55.33arrrghhhheh, just a small amount.
22:55.48arrrghhhrpierce99, i found if you adb in as it's booting, kill the ril and deal with it there it works a lot better.
22:55.54WisTilt2did all 3 return info?
22:55.59arrrghhhalthough it still locked up on me, i was just able to get all 3 to work
22:56.02arrrghhhWisTilt2, yup!
22:56.13arrrghhhno clue if it's what you want, but they clearly returned distinct data.
22:56.15WisTilt2let me put my glasses on...
22:56.28arrrghhh+CREG: 1,0 <-- from AT+CREG
22:56.40arrrghhh99, 99 <--- from AT+CSQ
22:56.52arrrghhh0,0 <---- from AT+CBC
22:57.15WisTilt2ok, can you send AT+CREG=2 then pull it again
22:57.26arrrghhhdamnit jim
22:57.34arrrghhhyes, but only because it's for you :P
22:57.39WisTilt2:)
22:57.42arrrghhhi was hoping it was just those three ;)
22:57.54WisTilt2whats your signal like?
22:58.01arrrghhhdo you want me to do all 4 or just that one?
22:58.06arrrghhhit's pretty good i'd say
22:58.07rpierce99I assume since this isn't a query i don't need the ?, but the \r?
22:58.11arrrghhh3/4 bars in android
22:58.18WisTilt2just AT+CREG=2 then AT+CREG?
22:58.25arrrghhhrpierce99, i'm sending them like this ----> echo -e "AT+CBC?\r" > /dev/smd0
22:58.41WisTilt2looks good to me
22:58.43rpierce99yeah but with =2 it's not a query
22:58.45rpierce99so no ?
22:58.47rpierce99right?
22:58.57WisTilt2to read yes
22:58.59arrrghhhoh i see what you're getting at.
22:59.00arrrghhhok
22:59.05arrrghhhgood point rpierce99 ;)
22:59.13WisTilt2AT+CREG=2\r to send
22:59.22arrrghhhcool.  brb again!
23:00.33WisTilt2im really hoping to see more numbers after the 1,0 this time
23:01.56rpierce99all i got was OK but it locked too
23:02.09rpierce99so i couldn't send the AT+CREG?
23:02.31WisTilt2was that after you sent the =2 cmd?
23:02.34rpierce99yeah
23:02.58WisTilt2so OK came back after that, then nothing from then on?
23:03.28rpierce99it's not that nothing came back after that, it's just that after the OK returned I couldn't do anything because adb and phone were frozen
23:03.42*** part/#htc-linux [Rapunzel] (~opera@nat004-252-205-109.tvoe.tv)
23:03.54WisTilt2did you have the \r after the =2
23:04.06rpierce99yeah, without that I didn't get the OK it just froze immediately
23:04.39rpierce99i was trying to do it while it booted as arrrghhh suggested, i'll try letting it go stable this time
23:06.36*** join/#htc-linux thepace (thepace@cable-178-148-12-118.dynamic.sbb.rs)
23:08.03*** join/#htc-linux DuperMan (~Duper@46-116-149-60.bb.netvision.net.il)
23:08.22rpierce99ok, the =2 just returned OK
23:08.50WisTilt2no lockup this time?
23:08.57rpierce99no, lots of output
23:09.06rpierce99does +CRING mean i'm getting a call
23:09.11WisTilt2yep
23:09.13rpierce99haha
23:09.31rpierce99so that's going to mess with the output
23:09.41jonpryWisTilt2, the voltage readings from your original logs were much more realistic than the crap i am getting
23:09.48rpierce99is there a line i'm looking for in this output
23:09.50*** join/#htc-linux ftoz (~root@cst-prg-196-4.vodafone.cz)
23:09.53rpierce99it seems stable right now
23:10.16*** join/#htc-linux DuperGhost (~Duper@89-139-9-152.bb.netvision.net.il)
23:10.21rpierce99the immediate response from my command was +CREG: 1,1
23:10.34*** join/#htc-linux arrrghhh (~arrrghhh@173-149-221-185.pools.spcsdns.net)
23:10.37WisTilt2something like +CREG: 2,1,”0003″,”00001B25” with different numbers
23:10.44arrrghhhgetting blanko WisTilt2
23:10.46arrrghhhjust OK
23:10.50arrrghhhlots of OK's
23:10.52arrrghhhentered it A TON
23:10.52WisTilt2jonpry: my phone is golden ya know.
23:10.56arrrghhhand just kept coming back with OK
23:11.02rpierce99yeah i don't have a fancy CREG response
23:11.04arrrghhhbeats up WisTilt2 for his phone
23:11.04rpierce99just 1,1
23:11.22arrrghhhmine is 1,0
23:11.31arrrghhh+CREG: 1,0 then OK
23:11.38WisTilt2but both you got the =2 cmd to return ok then you're still getting only those 2 numbers?
23:11.50rpierce99arrrghhh: i got a call while cat ing, +CRING, haha
23:11.54rpierce99yeah
23:11.57arrrghhhyea i cat that
23:11.59arrrghhher
23:12.00arrrghhhsaw
23:12.01arrrghhhjeebus.
23:12.10WisTilt2ok see what you get from this AT+HTC_SRV_STATUS?
23:12.16WisTilt2those are cdma world phone right?
23:12.20rpierce99yes
23:12.21arrrghhhyes
23:12.29WisTilt2that should return a bunch of stuff then
23:12.30arrrghhhall CDMA RHOD's are "world phones"
23:12.32arrrghhhall two of them.
23:12.39arrrghhhbut i don't have a SIM card in it
23:12.56WisTilt2without sim you might only get back a 99 or similar
23:13.15rpierce99as I was typing that it finally locked up
23:13.55WisTilt2jonpry: you mean the ramp type values or just the values themselves?
23:14.20arrrghhhrpierce99, yea no matter what method used it seems to lock up eventually.  for whatever reason i just had better luck on boot.
23:14.29jonprythe measurements. like above 4 volts when fully charged :p
23:14.33arrrghhhas in it seemed to cooperate better on boot.
23:15.56WisTilt2i dont remember, did any of my values start above 4000?  i know one of the tests was 3800 or 3900.  battery was only around 95% or so i think
23:17.40dcordeswhere is [Rapunzel] when you need him ;)
23:18.18jonpryWisTilt2, second log started at 4.093
23:18.51WisTilt2and you're not seeing anything that high from the tests today?
23:19.37jonpryi have more less verified that smem tops out at 3.85
23:20.56WisTilt2well, system panel market app reads smem and it show up to 4200mv so dont know why 3.8 would be a cap
23:21.16WisTilt2i think spare parts does also
23:21.27jonprysystem panel reads the /sys/devices deal
23:21.45jonprywhich has camro scale factor applied :p
23:21.53rpierce99# echo -e 'AT_HTC_SRV_STATUS?\r' > /dev/smd0
23:21.53rpierce99returned "ERROR"
23:21.55camro?
23:22.01jonpryhi camro
23:22.04camroall clear in code ?
23:22.07WisTilt2AT+ not AT_
23:22.10camrohi jonpry
23:22.11arrrghhhrpierce99, not sure if it's required, but isn't it quotes?
23:22.15arrrghhhdouble quotes*
23:22.21rpierce99darnit
23:22.23jonprycamro, clear enough anyways
23:22.25arrrghhhoh and at+ for sure.
23:22.42rpierce99much better
23:22.51arrrghhhheh
23:22.55rpierce99+HTC_SRV_STATUS: 0,2,""
23:23.12WisTilt2thats all it returned?
23:23.16rpierce99then OK
23:23.43rpierce99i also got HTC_SYSTYPE, HTC_CSQ, and HTC_3GIND but those pop up every now and then
23:24.05arrrghhhyea i think that's just ambient radio garbage
23:24.11arrrghhhwhich if RIL is killed, why are you getting it?
23:24.12arrrghhhodd.
23:24.18arrrghhhwhat do your signal bars show rpierce99 ?
23:24.24rpierce99X
23:24.25WisTilt2ok, can you send the =2 cmd then try the SRV_STATUS again
23:24.31arrrghhhwell that's right.  huh.
23:24.40*** join/#htc-linux Ceesheim_ (~ceesheim@p508DFA63.dip.t-dialin.net)
23:24.43WisTilt2arrrghhh, you're talking directly to the modem not via the daemon
23:24.50arrrghhhindeed
23:25.04arrrghhhbut if the daemon is dead, why would there be ambient garbage spat out from the radio?
23:25.23WisTilt2you're watching the modem channel
23:25.23rpierce99unsolicited from the tower
23:25.29arrrghhhoh ok.
23:25.31arrrghhhthat makes sense.
23:25.35WisTilt2thats the stuff the daemon handles
23:25.49WisTilt2kind of like doing a tcpdump
23:25.58*** join/#htc-linux Drakh_ (Drakh@190.42.40.105)
23:26.01arrrghhhyea, after i thought about it, made a lot more sense.
23:26.08arrrghhhshould think before he speaks/types :P
23:26.29WisTilt2thats why when pierce saw the incoming call his phone didnt ring, rild wasnt up to handle it
23:26.41arrrghhhheh
23:26.43arrrghhhanswer it manually!
23:26.55WisTilt2couldnt.  rild handles that also
23:27.49arrrghhhi know, it was a joke.
23:28.07arrrghhhmanually answer the call
23:28.11arrrghhhpass the audio to the phone
23:28.16arrrghhhright?  lol
23:28.37WisTilt2like the old time operators did on the switchboards
23:28.40*** join/#htc-linux GNUtoo|laptop (~gnutoo@host226-134-dynamic.25-79-r.retail.telecomitalia.it)
23:29.35rpierce99sorry jonpry this is going to be hell on your logging, i've hard rebooted like 20 times now
23:29.44arrrghhhsame heh
23:29.53jonpryyeah i need a continuous log
23:29.57arrrghhhwish there was a better way to interface with the radio.
23:30.14arrrghhhandroid doesn't like when you kill rild it seems.
23:30.23rpierce99once we're done testing the radio we'll be a little nicer to it :)
23:30.29jonprydo either of you have a long one from after i made it 9 parameters?
23:30.44arrrghhhjonpry, eh maybe an hour or so
23:30.46WisTilt2you guys can test jonprys stuff.  we didnt get the lac and cid info i was hoping for so we'll have to dig further.
23:31.03*** join/#htc-linux tyween (~tyween@pool-71-163-117-57.washdc.fios.verizon.net)
23:31.07rpierce99i still haven't gotten the response from SRV_STATUS after running =2
23:31.35*** join/#htc-linux Curious_ (8bb3cf9a@gateway/web/freenode/ip.139.179.207.154)
23:31.41jonprynot really much testing to do. but if you guys end up rebooting anyways, you can use new scbs that should go to 100%, and you should turn off @4
23:31.58Curious_does anyone use CM- kernel that markinus pushed
23:32.03Curious_for HD2
23:32.28arrrghhhhd2 is dead
23:32.31arrrghhhtp2 is where it's at :P
23:32.44rpierce99jonpry: my biggest log since then is 53kb, 603 entries
23:33.01rpierce99sorry 604, 0-based :)
23:34.06Curious_arrrghhh: haha
23:34.16Curious_get out of your nirvana
23:34.24arrrghhhnot there yet.
23:34.34arrrghhhwe don't have a complete port like you guys do :P
23:34.46arrrghhhgetting closer by the day tho
23:34.51Curious_arrrghhh: man, keep some money and buy some new stuff:D
23:35.00Curious_arrrghhh: in either way tp2 will fail:D
23:35.04arrrghhhor keep a lot of money and don't buy anything.
23:35.09arrrghhhwhy do you say it will fail?
23:35.19arrrghhhmight just have to tell you good day sir
23:35.27arrrghhhstfu in internet lingo
23:35.50Curious_hehe
23:35.54Curious_sorry if i hurt u
23:35.55Curious_:D
23:36.01Curious_it has LOW HW POWER
23:39.03arrrghhhmeh
23:39.08arrrghhhi'm A CHEAP BASTARD
23:39.09arrrghhh:P
23:39.20arrrghhhplus, there really isn't a replacement for this phone on the market.
23:42.57jonprybest watch out for low hardware power
23:43.02jonpryits going around these days
23:43.09*** join/#htc-linux crawling (~crawling@a94-132-172-247.cpe.netcabo.pt)
23:43.53arrrghhhlol
23:46.59jonpryjust got SOD
23:48.04arrrghhhbad service area?
23:48.09Curious_haha
23:48.13Curious_did u like it?
23:48.17Curious_we had it long long time
23:48.45arrrghhhdid you like it wtf
23:48.45arrrghhhlol
23:48.54Curious_haha:D
23:49.00Curious_how is battery life of tp23
23:49.01Curious_tp2
23:49.07arrrghhhyou guys always had a wrapped RIL didn't you?
23:49.15arrrghhhCurious_, 70+ hrs it seems.
23:49.16jonprydepends on how many batteries you have
23:49.39Curious_oh
23:49.42Curious_now i'm jealous
23:49.42Curious_:D
23:49.51Curious_arrrghhh: yeah we are very happy with it
23:49.52arrrghhhheh
23:49.57Curious_cuz porting it becomes easier :D
23:50.01arrrghhhwe have RIL issues causing SOD
23:50.03*** join/#htc-linux Drakh_ (Drakh@190.42.40.105)
23:50.09arrrghhhwhich are hopefully being ironed out :D
23:50.22phharrrghhh: ah it's really ril the problem ?
23:50.28arrrghhhphh, seems to be
23:50.29arrrghhhdata channels
23:50.33phhi highly doubt it but well
23:50.35jonpryjust start with phone that already runs android, ie repackaged desire, wrap an htc ril, and boom, instant port
23:50.38phhhaha.
23:50.44phhwe can't use rmnet, so i doubt it will really help
23:50.45arrrghhhboom!
23:50.56phhjonpry: yup, just try it ?
23:51.01arrrghhhphh, peoples that have consistent SOD have disabled data and SOD no more...
23:51.05phhTP2's code should work as is i think
23:51.08jonpryi don't have data
23:51.15arrrghhhjonpry, wtf
23:51.17phhjonpry: I mean make a test image ? :D
23:51.38jonpryphh, i was just making fun of leo
23:51.38Curious_phh: let cotulla make a patch for u guyz
23:51.45arrrghhhwell maybe there's more than one type of SOD :(
23:51.46phhCurious_: patch ?
23:51.53phh1. it's just a wrapper
23:51.57phh2. it's me who did it for HD2
23:52.01arrrghhhlol
23:52.03arrrghhhseriously.
23:52.10arrrghhhcotulla didn't do the ril wrappin
23:52.35arrrghhhthere's no world phone RIL blob
23:52.37Curious_phh: for rmnet
23:52.38arrrghhhat least no source
23:52.46*** join/#htc-linux Rajko (~Rajko@2001:470:1f0b:728:5d24:32d4:bd0d:18a5)
23:52.52phhCurious_: i'm not sure we want that ...
23:52.58phhCurious_: and rmnet works on HD2 now ?
23:53.02Curious_why not
23:53.04Curious_phh: yeah
23:53.06Curious_pretty well
23:53.12*** join/#htc-linux Drakh (Drakh@190.42.40.105)
23:53.25phhCurious_: ah you stopped having 5kB/s ?
23:53.40*** join/#htc-linux DuperMan (~Duper@89-139-35-138.bb.netvision.net.il)
23:53.53Curious_yeah:D
23:54.04Curious_with the release of MAGLDR
23:54.29arrrghhhdoesn't really help us then.
23:54.30jonpryalso known as putting desire AMSS on hd2
23:54.51Curious_no we didn't put it
23:55.03Curious_we have our own amss
23:55.11*** join/#htc-linux Drakh_ (Drakh@190.42.70.170)
23:55.25phhyeah sure, you created your own amss \o/
23:55.36Curious_no default
23:55.38Curious_wince amss
23:55.39phhtime to go to bed and watch TV while sleeping.
23:55.43phhah ok
23:55.48phhyou said it's patched -_-'
23:56.08dcordes[  231.497558] qmi: wds: network start failed (000e)
23:56.17dcordeswtf
23:58.18arrrghhhDrakh, needs to learn to ghost :P
23:58.48*** join/#htc-linux DuperGhost (~Duper@89-139-38-173.bb.netvision.net.il)

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