libera/#maemo-leste/ Tuesday, 2024-12-24

freemangordonWizzup: hmm, d4 ucm ignores initial headphones jack state, any idea?10:07
freemangordonalso, why would we want to set volumes from UCM?10:12
Wizzupfreemangordon: to set initial volume12:03
Wizzupdon't know about hp jack state12:03
arno11freemangordon: by initial jack state, you mean no headphone detected if already plugged on boot or when you switch profile, right ?12:22
freemangordonarno11: I implemented proper jack state detection (even on boot), amixer -c 0 contents reports proper state14:19
freemangordonhowever, sound is not redirected to HP14:19
freemangordonWizzup: setting initisl volume shall not be doen on profile switch14:19
freemangordon*done14:19
freemangordonbut only on boot14:20
Wizzupsure14:31
arno11freemangordon: ah ok14:45
arno11weird @sound not redirected14:48
arno11maybe 'Headset Left/Right Playback Route' is still 'off' because of no jackcontrol event, no ?14:52
arno11maybe it should be removed from SectionVerb14:52
arno11(or worth a try to set it to HiFi in SectioVerb to see if sound is back after boot)14:58
freemangordonarno11: there is no jackcontrol event because HP are plugged *before* PA is started15:36
freemangordonif I plug them after PA is running, it works fine15:36
arno11freemangordon: yup that's why i asked for SectionVerb in HiFi profile: with no jackcontrol event, Headset Playback Route is probably still 'off'16:10
freemangordonwell, I am not sure what you're talking about :)16:15
freemangordonSectionDevice."Headphones" {16:15
freemangordon...16:15
freemangordonJackControl "Headphones Jack"16:15
arno11i mean, even if headsets are detected by amixer, ucm2 keeps probably what has been set in SectionVerb in HiFi profile16:16
freemangordonbut why does it work after I re-plug?16:16
arno11because a jackcontrol event happens16:16
freemangordonhmm, everything is set to "off" in section verv16:17
freemangordonSectionVerb16:17
freemangordonalso, this is not exactly about boot, but that PA seems to ignore initial state16:17
arno11yes i think that's the problem (everithing off)16:17
freemangordonok, but why Speaker is on then?16:18
arno11because that's the default state depending of priorities16:18
arno11let me check ucm16:19
freemangordonarno11: yes, please do16:19
freemangordonas I think it is just a bug that noone checks the initial jack state16:19
freemangordonor, shall we check that state manually in UCM?16:20
arno11indeed speaker is highest prio so speakers are 'on' and16:21
arno11yes you should try to manually set headset PR stuff to HiFi in SectionVerb16:22
arno11and reboot to see if sound is back if headsets are well recognised on boot16:23
siceloarno11: someday the N900 ucm needs to be cleaned up and upstreamed too16:23
* sicelo assigns arno11 :p16:23
arno11sicelo: yes it needs to be cleaned...a lot16:23
arno11same for d4 btw16:24
freemangordonarno11: you don;t get it16:24
freemangordonthis is d4 BTW :)16:24
freemangordonso, regardless of boot state, imagine:16:24
arno11yes i know for d416:24
freemangordon1. PA is running and you plug HP16:24
freemangordon-> sound is switched to HP16:24
arno11yes makes sense16:25
freemangordon2. you restart PA (with HP still plugged in)16:25
freemangordon->sound stays on Speakers until you re-plug HP16:25
freemangordonthis is wrong behaviour IMO16:25
freemangordonso, the issue is not only on boot16:26
arno11yes and that's just because of jackcontrol imo16:26
freemangordonand that's the part of your statement I cannot parse :D16:26
arno11and so yes i understand correctly16:26
freemangordonwhat is 'because of jackcontrol'?16:27
freemangordonisn't it supposed to switch based on state? or, because there is no event, initial state is ignored?16:27
siceloi think he means ... when PA starts, it reevaluates the ucm rules, sets Speaker, then starts waiting for events16:28
freemangordonwhich is another way of saying "initial conditions are ignored", no?16:28
siceloyes, only sawyour last messagesafter already hitting enter16:28
arno11iirc, with no jackcontrol, no change, excepting if you switch profile16:28
arno11back to default, depending of priorities which is tricky16:29
sicelobut arno11, i agree with fmg that this kind of behavior is wrong. either we're missing something, or it's a bug16:29
arno11ofc that s wrong16:30
arno11 that s just the current behaviour16:30
arno11i reported it months ago (only on irc, not in bugtracker, my bad)16:31
arno11and yes initial conditions are totally ignored16:32
mkfhello people.20:06
mkfgot the tablet. :-)20:06
mkfwhere should i start? what should i flash?20:07
Wizzupstart by the exact tablet id/name/model20:12
Wizzuphttps://linux-sunxi.org/Identification_guide20:12
Wizzupthat guide ^ should help20:13
mkfit's a q8h v1.5, likely this one -> https://linux-sunxi.org/Ippo_q8h20:16
mkfhas a a23 on it's board, tho wiki disagrees.20:16
mkfandroid doesn't boot. :(20:17
WizzupI think there's a lot of q8h's that are not ippo, fwiw20:18
Wizzupdoes anything boot on the tablet?20:18
Wizzupg2g - dinner, bbl20:19
mkfit loads some sort of frimware, then goes to another splash screen20:20
mkfnot 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/!