*** virsys has quit IRC | 02:07 | |
*** CazH has quit IRC | 02:10 | |
*** cazh_ has joined #xdandroid | 02:10 | |
*** crispee has quit IRC | 02:16 | |
*** crispee has joined #xdandroid | 02:25 | |
*** XirXes has quit IRC | 03:20 | |
*** virsys has joined #xdandroid | 04:44 | |
*** hardwalker has quit IRC | 04:50 | |
*** kalemas has joined #xdandroid | 05:05 | |
*** saneksem has joined #xdandroid | 05:35 | |
*** saneksem has quit IRC | 05:39 | |
*** kalemas has left #xdandroid | 06:07 | |
*** kalemas has joined #xdandroid | 06:14 | |
*** zycho has joined #xdandroid | 06:25 | |
*** amjadshaick has joined #xdandroid | 07:06 | |
amjadshaick | hi xdandroid | 07:06 |
---|---|---|
*** amjadshaick has quit IRC | 07:07 | |
*** L_miller has joined #xdandroid | 07:16 | |
*** L_miller has quit IRC | 08:16 | |
*** programmer8922 has quit IRC | 09:37 | |
*** eR^zeRa` has joined #xdandroid | 09:44 | |
*** emwe has joined #xdandroid | 09:55 | |
*** avantgarde has joined #xdandroid | 10:09 | |
*** avantgarde has quit IRC | 10:15 | |
*** |Jeroen| has joined #xdandroid | 10:17 | |
*** kalemas has left #xdandroid | 10:49 | |
*** |Jeroen| has quit IRC | 10:50 | |
stinebd | yay the list actually works | 11:10 |
*** cazh_ is now known as CazH | 11:37 | |
*** NeoMatrixJR has joined #xdandroid | 11:41 | |
*** virsys has quit IRC | 11:51 | |
*** oxoocoffee has joined #xdandroid | 11:53 | |
*** |Jeroen| has joined #xdandroid | 11:56 | |
emwe | stinebd: yap :) | 11:59 |
emwe | thx again. | 11:59 |
NeoMatrixJR | Hey Stinebd. If they still need help porting Gingerbread I'll see if I can do anything, but someone will have to point me to some starter resources. I don't know where to even begin. | 12:07 |
|Jeroen| | check http://xdandroid.com/wiki/Main_Page there is a section about building | 12:12 |
|Jeroen| | just repace froyo with ginger on the checkout thingy | 12:12 |
*** L_miller has joined #xdandroid | 12:12 | |
NeoMatrixJR | thanks! | 12:23 |
*** NeoMatrixJR has quit IRC | 12:23 | |
*** Stickman89 has joined #xdandroid | 12:32 | |
Stickman89 | :) | 12:32 |
*** Stickman89 has quit IRC | 12:32 | |
*** Stickman89 has joined #xdandroid | 12:32 | |
stinebd | emwe: wow that post is a perfect illustration of why we needed a list | 12:34 |
*** Stickman89 has quit IRC | 12:36 | |
emwe | stinebd: you mean the snd_state one? | 12:40 |
stinebd | .35 | 12:40 |
emwe | hehe, yap | 12:41 |
emwe | but also for pete's post now.รถ | 12:41 |
emwe | it would be a pain summarizing the info he gave from irc-logs | 12:41 |
emwe | did i mention i like ml's? | 12:41 |
emwe | ;) | 12:41 |
*** programmer8922 has joined #xdandroid | 13:04 | |
*** bs123 has quit IRC | 13:09 | |
*** |Jeroen| has quit IRC | 14:10 | |
stinebd | D/Vold ( 1228): usb_configuration switch is not enabled in the kernel | 14:40 |
stinebd | heh | 14:40 |
stinebd | emwe: we really need that .35 :) | 14:40 |
emwe | stinebd: let's see how far they let me go ;) | 14:56 |
stinebd | "Severe drop in 2D graphics performance (a fix is in progress, pending testing and commit to our frameworks/base fork)" and "SD card is not visible (as mounted) in Android" are fixed | 14:59 |
stinebd | as well as two other undocumented build system issues (/lib/modules and vold.fstab not installed) | 14:59 |
*** L_miller has quit IRC | 14:59 | |
emwe | you making progress with gingerbread? | 15:01 |
stinebd | some | 15:02 |
stinebd | no audio :( | 15:03 |
emwe | who needs audio... | 15:03 |
stinebd | F/OMXMaster( 1880): frameworks/base/media/libstagefright/omx/OMXMaster.cpp:90 err != OMX_ErrorNoMore | 15:03 |
stinebd | i wonder how we get the screen to turn off | 15:04 |
emwe | regarding the snd_state and msm_audio_path()... do you by chance know which other userland glue lib might issue "cmds" to vogue_hw/audio sysfs entry? | 15:04 |
*** GlemSom has joined #xdandroid | 15:04 | |
emwe | ril issues cmd 2 and 5 but the others must be coming from somewhere else... | 15:04 |
emwe | just checking out androidhtc project from sf.net to see what other userland glue libs they have... | 15:04 |
*** NeoMatrixJR has joined #xdandroid | 15:05 | |
stinebd | well ril is the only native lib i see that does it | 15:05 |
stinebd | and knowing is, it's not in a java lib | 15:05 |
stinebd | knowing us* | 15:06 |
emwe | vogue_hw.c (our htc_hw.c pendant) has all other cases implemented. | 15:07 |
emwe | so there must be something else... | 15:07 |
stinebd | you sure it's in userland? | 15:07 |
*** genbattle has joined #xdandroid | 15:11 | |
emwe | that's my hope ;) | 15:11 |
stinebd | hopes dashed | 15:12 |
stinebd | all cgrep and jgrep show is the ril | 15:12 |
genbattle | hiyas, anyone have some experience using ODIN to flash Samsung phones? | 15:13 |
stinebd | genbattle: way outside the scope of this channel | 15:13 |
genbattle | heh, ah ok, sorry | 15:14 |
genbattle | wrong xda channel C-D | 15:14 |
genbattle | *X-D | 15:14 |
*** zycho_ has joined #xdandroid | 15:14 | |
*** genbattle has left #xdandroid | 15:14 | |
*** zycho has quit IRC | 15:17 | |
stinebd | sweet | 16:12 |
stinebd | the sleep of death is only because of auto brightness | 16:12 |
stinebd | (in ginger) | 16:13 |
emwe | stinebd: on raph? i think it never comes up with auto-bl on. | 16:18 |
stinebd | ? | 16:18 |
emwe | stinebd: at least that is what i see on the raph100 here. | 16:18 |
stinebd | what never comes up? | 16:18 |
emwe | the panel | 16:18 |
stinebd | heh, something is wrong with yours then | 16:18 |
emwe | hm. perhaps different panel code might come into play. | 16:19 |
stinebd | do you mean it never comes on at all even from boot? | 16:19 |
emwe | but here i have the suspicion that the ommitted backlight level hook on wake (because auto-bl is in effect and liblights doesn't emmit the hook call) the panel backlgiht seems not enabled | 16:19 |
stinebd | well on gingerbread, when the device goes to sleep with autobl on, the screen goes blank but backlight stays on | 16:20 |
emwe | no, when auto-bl on and you press power to blank and then again to unblank, panel does not come up again | 16:20 |
emwe | might be different panels then. | 16:20 |
emwe | i think there are several in raph-panel | 16:20 |
stinebd | it can wake back up if adb is connected. but if the system goes to sleep, it can't wake back up | 16:20 |
emwe | aha | 16:20 |
stinebd | everything is normal without autobl | 16:21 |
emwe | hmhmhm | 16:21 |
emwe | long pressing a waking button doesnt help i guess? | 16:21 |
emwe | there's that issue where we have to longer press a key to get device wake from sleep (without usb) | 16:21 |
emwe | can replicate on topa and raph100 here | 16:22 |
emwe | on .27 | 16:22 |
stinebd | it would happen with manual backlight too then | 16:22 |
stinebd | i'm thinking it might be the same issue you're seeing, but for whatever reason gingerbread isn't going to sleep (then backlight stays on) | 16:22 |
stinebd | perhaps there's a wakelock somewhere | 16:23 |
stinebd | so the panel suspends for real but the entire system isn't | 16:23 |
stinebd | i'll let it sit for a few minutes | 16:23 |
emwe | ugh.. strange thing here... but same as raph as it seems. on .35 without gpio setup disabled in panel code, the panel content is "blackened out", but backlight still on. then after 2 seconds, backlight goes off automagically. | 16:24 |
emwe | usually with gpio setup enabled on topa it immedeately offs the backlight. nice to know ;) | 16:25 |
emwe | freaking. it even wakes again on .35. that was the last thing i expected ;) | 16:25 |
emwe | and as adb is not working, i even have the suspicion it really is not kept wake by the vbus wakelock. | 16:26 |
stinebd | indeed same problem | 16:30 |
stinebd | it does wake back up from sleep, but you need to adb in and echo 1 >brightness | 16:31 |
stinebd | is that something that should be done in kernel when resuming the panel? | 16:31 |
emwe | stinebd: it seems as if the raph needs that microp-enabling code path on wake to get the panel enabled again. | 16:32 |
emwe | but since we (me?) established the skip of sending backlight values over the microp dbgfs entry, that problem exists, as that codepath is not triggered anymore. | 16:33 |
stinebd | right | 16:33 |
stinebd | minor details | 16:33 |
emwe | i once quickly tried to execute that code in micropklt_panel_resume() but failed :) | 16:33 |
emwe | you echoed "1"? | 16:33 |
stinebd | yeah, but any value greater than 0 should work right? | 16:33 |
stinebd | (and then be wiped out by the autobl sensor) | 16:34 |
emwe | i think. the value is massaged a bit iirc | 16:34 |
stinebd | i see what i should do in kernel | 16:34 |
stinebd | let's try it and see if it works | 16:34 |
emwe | micropklt_panel_resume() is your friend. | 16:34 |
stinebd | i'm there already | 16:34 |
emwe | stinebd: is there any audiohardware userland lib? | 16:36 |
stinebd | i'm going to do that codepath (with 0) on suspend too | 16:36 |
stinebd | so that the backlight shuts off with usb plugged in | 16:36 |
stinebd | AudioHardwareMSM7k | 16:36 |
emwe | yah. but there seems something .. not sure what... what actually disables/shuts off the panel after like 2 seconds. | 16:37 |
emwe | perhaps the mddi or mdp handlers. there's some mddi code being executed on init deinit of the panel (for all panels) | 16:37 |
stinebd | i'm just copying rhod's stuff here :P | 16:37 |
emwe | that's perhaps what comes into play wich pulls down the panel entirely when a suspend hook is called. | 16:37 |
emwe | no, not rhod! ;) | 16:37 |
stinebd | it's generic enough | 16:37 |
stinebd | in theory | 16:38 |
emwe | raph is like topa regarding the i2c cmd. (just different names, but same cmd code) | 16:38 |
stinebd | i'm not worrying about that | 16:38 |
stinebd | in rhod's codepath, it modifies backlight value | 16:38 |
emwe | but the cmd id is different. | 16:38 |
emwe | iirc | 16:39 |
stinebd | buf[0]=MICROP_KLT_ID_LCD_BRIGHTNESS2; | 16:39 |
stinebd | buf[1]=1; | 16:39 |
stinebd | micropklt_write(client, buf, 2); | 16:39 |
emwe | yah, the buf[0] cmd id is wrong. | 16:40 |
emwe | line 142 is what is executed for raph | 16:40 |
stinebd | BRIGHTNESS should work, no? | 16:40 |
emwe | on backlight level | 16:40 |
emwe | right | 16:40 |
stinebd | see, i'm not THAT retarded | 16:40 |
emwe | sorry, didn't wan't to sound as if i would treat you like that. | 16:41 |
stinebd | it's okay, i deserve it | 16:41 |
emwe | no don't play that game further :P | 16:41 |
emwe | s/no/now | 16:41 |
stinebd | my only concern is buf[1] | 16:41 |
stinebd | hopefully just 1 will work, if not i have to copy that math too | 16:41 |
emwe | can't remeber what i tried. | 16:42 |
stinebd | audio and bluetooth will suck :( | 16:43 |
emwe | new glue libs required? | 16:43 |
stinebd | with audio, it's crashing in libstagefrighthw | 16:43 |
emwe | if so, that would come in handy for an eventual .35 cleanup kernel-wise ;) | 16:43 |
stinebd | bluetooth is in libdbus | 16:43 |
stinebd | both are going to be very difficult to debug | 16:44 |
emwe | i feel like i miss a lot of knowledge how userland and kernel are glued with which libs. | 16:45 |
emwe | is it worthwile putting up some wiki pages detailing that? | 16:46 |
stinebd | we have only a few things of our own which interface directly | 16:46 |
stinebd | libhardware_legacy, hardware/msm7k, ril and sensors | 16:47 |
emwe | but some proprietary stuff in there i guess? | 16:47 |
emwe | ugh... what now... all my firefox instances tell me network isn't reachable... | 16:48 |
emwe | ping not working either. | 16:49 |
stinebd | well at least irc survived | 16:53 |
emwe | now all back up again....i don't wanna know. | 16:53 |
emwe | now let's try to enable usb... | 16:54 |
stinebd | stupid raph | 16:57 |
*** GlemSom has quit IRC | 17:03 | |
stinebd | bah crashy piece of shit | 17:05 |
stinebd | worksish | 17:15 |
*** TheDeadCPU has joined #xdandroid | 17:33 | |
stinebd | emwe: i think my method is too ugly to push :( | 17:44 |
stinebd | but what's there now certainly doesn't do the trick | 17:45 |
emwe | does or doesn't? | 17:47 |
stinebd | i mean what's in our current git tree | 17:48 |
stinebd | obviously it's not working | 17:48 |
stinebd | but i don't feel good about the code i used to make it work | 17:48 |
*** oxoocoffee has quit IRC | 17:50 | |
stinebd | and even with mine it takes a few suspend/resume cycles to work | 17:51 |
stinebd | and then works every time after that | 17:52 |
emwe | i can always test on my raph100 | 17:52 |
emwe | perhaps it should really be traced with haret. | 17:52 |
emwe | or the board panel stuff implemented sometime ;) | 17:52 |
stinebd | well i can put a git patch up for you to laugh at | 17:52 |
stinebd | observe the hilarity: http://maduin.southcape.org/~bryan/android/0001-microp-klt-Add-LCD-suspend-resume-backlight-handling.patch | 17:57 |
emwe | why should i dare to laugh at anyone | 17:57 |
emwe | uh, whats that other stuff? keyboard backlight? | 17:58 |
emwe | no... | 17:58 |
emwe | ah so it's need that other i2c cmd. i see. | 18:00 |
emwe | ah i see. bit13 is panel backlight in the state var. | 18:02 |
stinebd | right | 18:02 |
stinebd | sorry, it's yet undocumented | 18:03 |
stinebd | but i pretty much stole the led on/off code from brightness_set() | 18:03 |
emwe | just spotted it in a comment on led device setup ;) | 18:04 |
stinebd | BL_DISABLE_RAPH doesn't really seem to do much of anything | 18:04 |
emwe | it's just the data... | 18:04 |
emwe | it 0, right? ;) | 18:04 |
* stinebd shrugs | 18:05 | |
emwe | me too | 18:05 |
emwe | too lazy to open it up. | 18:05 |
emwe | strange though topa doesn't need that trick | 18:05 |
emwe | perhaps all old-gen devices need it | 18:05 |
stinebd | did you insult my phone's age? | 18:05 |
emwe | old-gen as in diam, raph, black. | 18:05 |
stinebd | yes, i think so too | 18:05 |
stinebd | include/linux/microp-klt.h:#define BL_DISABLE_RAPH 0x00 | 18:06 |
emwe | and enable is 0x01? | 18:06 |
emwe | then it's like topa | 18:06 |
stinebd | yes | 18:06 |
stinebd | and cmd is 0x02 | 18:06 |
emwe | btw MICROP_KLT_ID_AUTO_BL_RAPH is the same as MICROP_I2C_WCMD_AUTO_BL_CTL too | 18:06 |
emwe | of which the latter is the "official" as can be seen in official sources iirc | 18:07 |
emwe | anyway, that whole stuff is hopefully refactored anyway | 18:07 |
stinebd | cool | 18:07 |
stinebd | in .35? | 18:07 |
emwe | hoepfully | 18:07 |
emwe | or rather pushed to panel files | 18:07 |
stinebd | good | 18:07 |
emwe | at least for rhod wistilt got it. inspired by supersonics panel code which is driven by the same novatek mddi | 18:08 |
emwe | i am hesitant to just submit that thing, not because it's not pushable, but due to my .35 experiments. | 18:09 |
stinebd | which thing? | 18:09 |
emwe | i think i got a clean .27 to work on, but would rather like to not do that right now, if that is ok now. | 18:09 |
emwe | your patch | 18:09 |
stinebd | lol don't push that please | 18:09 |
emwe | kk | 18:09 |
emwe | would have tested on raph100 too | 18:10 |
emwe | but i would like to get .35 going better ;) | 18:10 |
stinebd | yeah | 18:10 |
stinebd | this is good enough for me to keep working on gingerbread, no need to unlesh my fury on users | 18:10 |
stinebd | unleash* | 18:10 |
stinebd | it would probably brick someone's phone | 18:10 |
emwe | lol | 18:11 |
emwe | so, need a little break. | 18:11 |
emwe | damn usb... froze again. | 18:12 |
stinebd | getting close to a hidden prerelease system image for gingerbread i think | 18:12 |
emwe | ah coolio. does the tree build yet? | 18:12 |
emwe | ah... let's postpone that. short break ;) | 18:12 |
stinebd | i just pushed critical changes so it should build | 18:12 |
stinebd | but won't work | 18:12 |
emwe | but congrats | 18:12 |
stinebd | i'm waiting for non-tegra gingerbread google apps | 18:13 |
stinebd | might as well blog about this stuff too | 18:13 |
stinebd | give me a little break as well | 18:14 |
*** TheDeadCPU has quit IRC | 18:17 | |
emwe | enough for today. gnight. | 19:13 |
stinebd | night | 19:13 |
*** emwe has quit IRC | 19:17 | |
*** eR^zeRa` has quit IRC | 20:31 | |
stinebd | woo! got sound! | 20:55 |
*** MassStash has joined #xdandroid | 20:56 | |
*** InternetToughGuy has joined #xdandroid | 20:58 | |
*** zycho__ has joined #xdandroid | 21:03 | |
*** zycho_ has quit IRC | 21:05 | |
*** zycho_ has joined #xdandroid | 21:07 | |
*** zycho__ has quit IRC | 21:10 | |
*** MassStash has quit IRC | 21:27 | |
*** MassStash has joined #xdandroid | 21:27 | |
*** Krazie has quit IRC | 21:31 | |
stinebd | ah crap | 21:32 |
stinebd | i accidentally did make clean | 21:33 |
stinebd | instead of installclean | 21:33 |
*** virsys has joined #xdandroid | 23:07 | |
*** XirXes has joined #xdandroid | 23:43 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!