Sunday, 2011-08-07

*** Entropy512 is now known as gtg465xxx00:04
*** gtg465xxx is now known as Entropy51200:05
*** arrrghhh has quit IRC00:17
*** NeoMatrixJR has quit IRC00:39
*** NeoMatrixJR has joined #xdandroid00:39
*** NeoMatrixJR2 has joined #xdandroid00:46
*** NeoMatrixJR has quit IRC00:46
*** ORi| has quit IRC00:52
*** NeoMatrixJR has joined #xdandroid00:55
*** NeoMatrixJR2 has quit IRC00:57
*** CazH has joined #xdandroid02:09
*** programmer8922 has joined #xdandroid02:09
*** GPFerror has quit IRC02:17
*** GPFerror has joined #xdandroid02:17
*** CazH has quit IRC02:32
*** CazH has joined #xdandroid02:42
*** GlemSom has joined #xdandroid03:24
lotjuhhyc: I formatted my disk with the hp tool again and then re-install 07 on it with the latest kernel and rootfs05:42
lotjuhthen at the first boot it rebooted when I had to enter my pincode to unlock my sim05:42
lotjuhbut after the reboot I started android again and it worked without problems05:42
lotjuhbut now, after a couple of hours, the green led became a red led when the screen was in sleep mode05:43
lotjuhand the battery died again over night05:43
*** arrrghhh has joined #xdandroid05:58
arrrghhhlotjuh, first you shouldn't be using a SIM PIN05:59
arrrghhhthat's probably one issue05:59
arrrghhhsecond, the green LED can change color when it's sleeping - if the phone is syncing, etc it will have to wake05:59
arrrghhhit should go back to green tho06:00
lotjuhuhm, there's always a pincode to unlock your simcard06:00
lotjuhit comes from T-mobile with a pincode06:00
lotjuhthe only thing you cn do is change th code on it06:00
lotjuhas far as I know06:00
arrrghhhno clue06:00
arrrghhhi heard having a SIM PIN is a bad idea tho06:00
lotjuhwhy?06:00
arrrghhhand from what i gleaned, it's configured in winmo06:01
arrrghhhi'm pretty sure you demonstrated why...06:01
lotjuhhaha, ok06:01
arrrghhhmy carrier doesn't use SIM's, so I am not sure06:01
arrrghhhall I know is what I've been told on this subject06:01
lotjuhso there's more ppl who have their android reboot when entering their pin?06:01
arrrghhhwhich I'm regurgitating to you.06:01
arrrghhhi haven't spoke with anyone in a while who has used a SIM PIN06:01
arrrghhhbut everyone's conclusion was "don't use it"06:02
lotjuhI'm confues, I'm not even sure we're talking about the same pin code here06:02
lotjuhcause litterly -everybody- I know uses a pin code to unlock their simcard06:02
arrrghhhyou shouldn't use any PIN codes in Android06:02
arrrghhhi've never used any PIN code06:02
lotjuhthere's also a custom pincode you can set, I haven't done that06:02
arrrghhhhow many of those people run Android on a WinMo phone?06:03
lotjuhit's just the code you have to enter to unlock your simcard, that code is even stored on your simcard06:03
arrrghhh...06:03
arrrghhhi know what the SIM PIN is.06:03
arrrghhhi've just heard from many people to simply not use it06:03
lotjuhwell, since you say you don't know anyone who's still using it, it made me really wonder if we're talking about the same thing here06:03
arrrghhhon XDAndroid06:04
lotjuhwell can you tell me how to remove this pin code then?06:04
arrrghhhmy carrier doesn't use SIM cards06:04
arrrghhhi'd assume it's a standard process for all GSM carriers06:07
arrrghhhalso, on battery life - there's so many factors that determine good or bad batt life06:08
arrrghhhassuming you're in a good service area06:08
*** panda84kde has joined #xdandroid06:08
arrrghhhand you don't have a boatload of apps syncing constantly06:08
arrrghhhyou *should* get 12+hrs06:08
lotjuhI haven't installed any extra apps06:09
lotjuhand I'm not using data06:09
lotjuhcause it's not in my subscriptions06:09
lotjuhso it can't be syncing stuff06:09
lotjuhI'm not calling with it either06:10
lotjuhdoes a bad service area make it have a red led when in sleep mode?06:10
arrrghhhnot necessarily06:11
arrrghhhbut a bad service area will drain any phone06:11
arrrghhhconstantly searching for service06:11
lotjuhyeah, I know that06:11
arrrghhhbarely getting service etc06:11
arrrghhhso.... why would you ask :P06:11
lotjuhthe service it not too great here, but it's not constantly searching06:11
arrrghhhwell i would say that's killing your battery then06:11
lotjuhwell, cause the thing I noticed is that my pone keeps the red led on after a while06:12
arrrghhhif you have poor service, the radio will try to boost power06:12
lotjuhand it doesn't go back to green06:12
arrrghhhdraining more battery06:12
lotjuhso I'm wondering what it's doing then06:12
arrrghhhhrm06:12
arrrghhhthere's a few things that kill sleep06:12
arrrghhhBT on in WinMo when you boot haret06:12
arrrghhha stupid app06:12
arrrghhhor GPS06:12
arrrghhhthose are the only things I've found that kill sleep in FRX0706:12
lotjuhhm06:13
arrrghhhdoes this happen in airplane mode?06:13
arrrghhhthat would probably be the best test.06:13
lotjuhI will test that once my battery got charged a bit again yeah (-:06:14
arrrghhhk06:15
arrrghhh4am here, bedtime06:15
*** arrrghhh has quit IRC06:15
*** panda84kde has quit IRC06:39
*** emwe has joined #xdandroid09:20
*** virsys has joined #xdandroid09:49
D3tul3hi emwe10:33
emwehi D3tul3. read your comments :)10:56
D3tul3oh yeah...well learned a few things about i2c drivers these past couple of days11:13
D3tul3at least one good thing came out of this exercise :)11:13
D3tul3couldn't you incorporate microp-ksc for rhod much in the same way as you've done with led -> i.e. with a board file driven by microp-ng11:14
emwethe thing is, if you wan't led management code in one place, you need two i2c clients. e.g. topa button backlight is controlled by the klt client, rhod by the ksc client.11:18
emwethe rest is all klt. i need to figure a way of getting both in there.11:19
emwei am just looking into h2w headset which is broken since the 35mm establishment.11:21
D3tul3yeah i've been looking at your tree so much i am becoming intimately familiar with your commits11:22
emwethe led file base is courtesy of alex, though ;)11:23
emwedid some extension and renaming.11:23
emweif you cna get amber and green led into microp-klt, it should be fine.11:23
emweyou "just" need the hooks.11:23
emweliblights uses these two sysfs led devices if present.11:23
emweso you could extend the led array with green and amber, provide the brightness_set hooks and be done.11:24
D3tul3i am trying to add some code in klt so that it checks for platform_data in the client and acts accordingly11:24
emwenot required if i am not mistaken.11:24
D3tul3much like microp_ng, that way i can just pass topaz-led11:25
emwenah, do't use that topaz-led thingy...11:25
emwethat's just an intermediary step. i'd like to establish an led framework somehow with more board specific pdata involvment. but i just dunno what's reguired in total, that's why it is that bitch what it is  now.11:25
emwein the opposite one could just instantiate a shitload of board-specific led-setteing hooks which i'd like to avoid.11:26
D3tul3but i think that's better than dumping device specific code in klt11:26
D3tul3i'd rather dump the device specific code in a board file like rhodium-led or topaz-led11:27
D3tul3and keep the i2c driver generic like microp-ng11:27
emweyes, but what i dislike is copying 99% of the management code.11:27
emwei though of somehow have in pdata defined what i2c lcient to use and what kind of data to pass11:28
D3tul3that sounds pretty good11:29
D3tul3do it:)11:29
emweso we only have a callback which then instructs a common led driver which client to use, what data to send (buf array) and initially tells the callback what the last and now to be set brightness is.11:30
emweyeah, that's the plan.11:30
emwebut for .27/3.0/.39 you can extends micropklt->leds array with red and green, increase the LED_CNT by 2 and register these, and then extend micropklt_led_brightness_set() or provide a custom one.11:31
emweon the other hand, i dunno what happens to the other devices if liblights detects these two led devices.11:31
emwehave a look at liblights in xdandroid.11:32
D3tul3yeah i haven't graduated to the userland side of things11:33
emweit get's you easily distracted :)11:35
emwewhat rhod variant are you on D3tul3?11:36
D3tul3ok emwe so pretend like i am a 5 yr old, i see these suspend and resume functions in klt (or topaz-led) that set the led to green/amber or whatever....where do these functions get called?11:37
D3tul3400/Sprint11:37
emweDetule: suspend and resume are kernel triggered. these are just for telling drivers that system is going suspend/resume.11:38
emweDetule: the actual hooks for setting brightness on an led device are the brightness_set assignemnts to the actual led device itself.11:39
emwelet's assume you wan't it for the old microp-klt... one sec...11:39
*** CazH has quit IRC11:39
emweline 738ff:  data->leds[0].brightness_set11:40
emwethis sets the callback which is called whenever somebody  writes (liblights or you echoing) to /sys/class/leds/<led-name>/brightness11:40
D3tul3ok that's in probe11:40
emweyou can pass a customer hook11:41
D3tul3which gets called in init right?11:41
emwes/customer/custom11:41
emweyap11:41
*** CazH has joined #xdandroid11:41
emweso extends micropklt->leds array by two and register two more leds (increase MICROP_KLT_LED_CNT, too)11:42
D3tul3ok so this should create the led devices so that userland can interact with them right?11:42
emweexactly11:42
emweif liblights finds them, it uses them.11:42
D3tul3got it11:42
emweliblights isn't as polished, but should do it just fine if it finds them.11:43
emweas you don't need any fancy stuff which is done in the micropklt_led_brightness_set() you get much less trouble by providing a new set method.11:43
D3tul3ok that makes sense11:44
D3tul3now sorry to backtrack to my original question11:44
emwethat method could look like htctopaz_update_color_led() just with another argument list11:44
D3tul3these suspend/resume functions in klt, on a kernel triggered suspend/resume get executed...do you know where in the kernel code i can see an example of that (pm.c?)11:45
emweit's not in device/board specific code. kernel/power/* i think11:46
emwebtw, on resume on .27 topa get's that red led set... that's stupid.11:47
D3tul3ok, and it doesn't matter that in your topaz-led code you've renamed these functions topaz*suspend something11:47
emwethese suspend/resume hooks are assigned to the pm strucutre in micropklt to tell the kernel which functions to use.11:47
D3tul3oh11:47
D3tul3got it11:47
D3tul3.suspend = blahblah11:48
D3tul3.resume = blahblah ok that makes sense11:48
emweexactly11:48
*** ringer has joined #xdandroid11:48
emwethere's also the early/late variants which are called before/after suspend/resume11:48
D3tul3k thanks for another lesson, family time11:49
emwehave fun!11:49
emwegoing to get outta here likely as well11:49
emweneed some fresh air.11:49
*** rpierce99 has joined #xdandroid12:42
*** rpierce99 has quit IRC12:43
*** CazH has quit IRC12:53
*** CazH has joined #xdandroid12:54
Tandyman100Wow. The Tilt2 has a FUBAR keyboard13:02
Tandyman100what the flipping hell13:02
*** CazH has quit IRC13:03
*** CazH has joined #xdandroid13:03
*** CazH has quit IRC13:05
*** CazH has joined #xdandroid13:06
*** ringer has quit IRC13:08
*** ORi|ON has joined #xdandroid13:35
*** ORi|ON has quit IRC13:36
*** vw_ has joined #xdandroid13:50
*** ringer has joined #xdandroid13:54
*** ringer has quit IRC14:26
*** ringer has joined #xdandroid14:49
*** programmer8922 has quit IRC15:12
*** vw_ has quit IRC15:18
*** ringer has quit IRC15:33
*** GlemSom has quit IRC16:14
*** emwe has quit IRC16:39
*** Tandyman100 has quit IRC17:12
*** krisse has joined #xdandroid17:16
krissehi all17:17
krisseI'm working on blackstone nand to get wifi17:17
krisseI have a question about calibration wifi file17:17
*** Tandyman100 has joined #xdandroid17:17
krissethe full 512mb nand on my blackstone does not contain that info when I'm booting into nand17:18
krissehowever when putting windows mobile back and booting into android via haret17:18
krisseI have that information available17:18
krissedoes this calibration info is writen by kernel to specific location?17:18
phhno17:20
phhbut it's part of the windows rom17:20
phhso of course if you flash your nand17:20
phhyou won't get the calibration17:20
krissephh: aha17:28
krissephh: how is it done in other devices then(windows mobile -> android) ?17:28
krissephh: I have a kaizer also17:29
phhsame calibration for everyone17:29
krissephh: and there this part exists in nand17:29
krissephh: meaning same mac adress to for everyone right?17:29
phhyou can randomize it17:29
krissephh: yep ok17:29
krissephh: thx a lot17:29
phhbut i'm just guessing17:29
krissephh: the calibration file I have is binary17:30
krissephh: took it from android running via haret17:31
phhwell should be fine then17:31
krissephh: so will not be easy to just replace mac address I think17:31
krissephh: I try with this one already then17:31
phhifconfig tiwlan0 mac xxxxxxxxx at startup ?17:31
krissephh: thx17:31
*** ringer has joined #xdandroid17:46
*** NeoMatrixJR_Mobi has joined #xdandroid18:35
*** arrrghhh has joined #xdandroid19:07
krissehi all19:16
krisseI managed to get wlan.ko partly loaded until the line initialized for nand blackstone19:17
krisseI used insmod wlan.ko to try that19:17
krissebut now it seems to be hanging19:17
krissethe module loading seems not to be exiting19:17
krissethis is the last line in dmesg19:18
krisse<6>[  454.497741] TIWLAN: Driver initialized (rc 0)19:18
krissewhen checking via other shell I see this19:18
krissewlan 545572 1 - Loading 0xbf00000019:18
krisseI see in c code that it seems top wait for sdio_wait return19:19
stinebdarrrghhh: i need you to grab a ramconsole dump for this atrix kernel and system combo...19:21
arrrghhhlolwut19:22
krissephh: do you have an id for my question I posted here?19:46
krissesomebody else?19:58
krisseor at least give me a hint on where to look in kernel19:59
*** Tandyman100 has quit IRC20:07
*** krisse has quit IRC20:27
*** JSkyhawk has joined #xdandroid20:32
*** JSkyhawk has left #xdandroid20:32
arrrghhhtiad8's trolls are coming around here more and more...20:51
*** arrrghhh has quit IRC21:37
*** NeoMatrixJR has quit IRC21:45
*** NeoMatrixJR_Mobi has quit IRC21:47
hycbummer22:10
*** Miga has joined #xdandroid22:17
*** [7] has quit IRC22:38
*** TheSeven has joined #xdandroid22:38
*** D3tul3 has quit IRC22:54
*** rpierce99 has joined #xdandroid23:12
*** ringer has quit IRC23:35
*** rpierce99 has quit IRC23:41
*** Miga has quit IRC23:41
*** rpierce99 has joined #xdandroid23:42
*** programmer8922 has joined #xdandroid23:56

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!