| freemangordon | Wizzup: hmm, d4 ucm ignores initial headphones jack state, any idea? | 10:07 |
|---|---|---|
| freemangordon | also, why would we want to set volumes from UCM? | 10:12 |
| Wizzup | freemangordon: to set initial volume | 12:03 |
| Wizzup | don't know about hp jack state | 12:03 |
| arno11 | freemangordon: by initial jack state, you mean no headphone detected if already plugged on boot or when you switch profile, right ? | 12:22 |
| freemangordon | arno11: I implemented proper jack state detection (even on boot), amixer -c 0 contents reports proper state | 14:19 |
| freemangordon | however, sound is not redirected to HP | 14:19 |
| freemangordon | Wizzup: setting initisl volume shall not be doen on profile switch | 14:19 |
| freemangordon | *done | 14:19 |
| freemangordon | but only on boot | 14:20 |
| Wizzup | sure | 14:31 |
| arno11 | freemangordon: ah ok | 14:45 |
| arno11 | weird @sound not redirected | 14:48 |
| arno11 | maybe 'Headset Left/Right Playback Route' is still 'off' because of no jackcontrol event, no ? | 14:52 |
| arno11 | maybe it should be removed from SectionVerb | 14:52 |
| arno11 | (or worth a try to set it to HiFi in SectioVerb to see if sound is back after boot) | 14:58 |
| freemangordon | arno11: there is no jackcontrol event because HP are plugged *before* PA is started | 15:36 |
| freemangordon | if I plug them after PA is running, it works fine | 15:36 |
| arno11 | freemangordon: yup that's why i asked for SectionVerb in HiFi profile: with no jackcontrol event, Headset Playback Route is probably still 'off' | 16:10 |
| freemangordon | well, I am not sure what you're talking about :) | 16:15 |
| freemangordon | SectionDevice."Headphones" { | 16:15 |
| freemangordon | ... | 16:15 |
| freemangordon | JackControl "Headphones Jack" | 16:15 |
| arno11 | i mean, even if headsets are detected by amixer, ucm2 keeps probably what has been set in SectionVerb in HiFi profile | 16:16 |
| freemangordon | but why does it work after I re-plug? | 16:16 |
| arno11 | because a jackcontrol event happens | 16:16 |
| freemangordon | hmm, everything is set to "off" in section verv | 16:17 |
| freemangordon | SectionVerb | 16:17 |
| freemangordon | also, this is not exactly about boot, but that PA seems to ignore initial state | 16:17 |
| arno11 | yes i think that's the problem (everithing off) | 16:17 |
| freemangordon | ok, but why Speaker is on then? | 16:18 |
| arno11 | because that's the default state depending of priorities | 16:18 |
| arno11 | let me check ucm | 16:19 |
| freemangordon | arno11: yes, please do | 16:19 |
| freemangordon | as I think it is just a bug that noone checks the initial jack state | 16:19 |
| freemangordon | or, shall we check that state manually in UCM? | 16:20 |
| arno11 | indeed speaker is highest prio so speakers are 'on' and | 16:21 |
| arno11 | yes you should try to manually set headset PR stuff to HiFi in SectionVerb | 16:22 |
| arno11 | and reboot to see if sound is back if headsets are well recognised on boot | 16:23 |
| sicelo | arno11: someday the N900 ucm needs to be cleaned up and upstreamed too | 16:23 |
| * sicelo assigns arno11 :p | 16:23 | |
| arno11 | sicelo: yes it needs to be cleaned...a lot | 16:23 |
| arno11 | same for d4 btw | 16:24 |
| freemangordon | arno11: you don;t get it | 16:24 |
| freemangordon | this is d4 BTW :) | 16:24 |
| freemangordon | so, regardless of boot state, imagine: | 16:24 |
| arno11 | yes i know for d4 | 16:24 |
| freemangordon | 1. PA is running and you plug HP | 16:24 |
| freemangordon | -> sound is switched to HP | 16:24 |
| arno11 | yes makes sense | 16:25 |
| freemangordon | 2. you restart PA (with HP still plugged in) | 16:25 |
| freemangordon | ->sound stays on Speakers until you re-plug HP | 16:25 |
| freemangordon | this is wrong behaviour IMO | 16:25 |
| freemangordon | so, the issue is not only on boot | 16:26 |
| arno11 | yes and that's just because of jackcontrol imo | 16:26 |
| freemangordon | and that's the part of your statement I cannot parse :D | 16:26 |
| arno11 | and so yes i understand correctly | 16:26 |
| freemangordon | what is 'because of jackcontrol'? | 16:27 |
| freemangordon | isn't it supposed to switch based on state? or, because there is no event, initial state is ignored? | 16:27 |
| sicelo | i think he means ... when PA starts, it reevaluates the ucm rules, sets Speaker, then starts waiting for events | 16:28 |
| freemangordon | which is another way of saying "initial conditions are ignored", no? | 16:28 |
| sicelo | yes, only sawyour last messagesafter already hitting enter | 16:28 |
| arno11 | iirc, with no jackcontrol, no change, excepting if you switch profile | 16:28 |
| arno11 | back to default, depending of priorities which is tricky | 16:29 |
| sicelo | but arno11, i agree with fmg that this kind of behavior is wrong. either we're missing something, or it's a bug | 16:29 |
| arno11 | ofc that s wrong | 16:30 |
| arno11 | that s just the current behaviour | 16:30 |
| arno11 | i reported it months ago (only on irc, not in bugtracker, my bad) | 16:31 |
| arno11 | and yes initial conditions are totally ignored | 16:32 |
| mkf | hello people. | 20:06 |
| mkf | got the tablet. :-) | 20:06 |
| mkf | where should i start? what should i flash? | 20:07 |
| Wizzup | start by the exact tablet id/name/model | 20:12 |
| Wizzup | https://linux-sunxi.org/Identification_guide | 20:12 |
| Wizzup | that guide ^ should help | 20:13 |
| mkf | it's a q8h v1.5, likely this one -> https://linux-sunxi.org/Ippo_q8h | 20:16 |
| mkf | has a a23 on it's board, tho wiki disagrees. | 20:16 |
| mkf | android doesn't boot. :( | 20:17 |
| Wizzup | I think there's a lot of q8h's that are not ippo, fwiw | 20:18 |
| Wizzup | does anything boot on the tablet? | 20:18 |
| Wizzup | g2g - dinner, bbl | 20:19 |
| mkf | it loads some sort of frimware, then goes to another splash screen | 20:20 |
| mkf | not sure how to load uboot or anything else, any idea or links to get started? | 20:20 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!