![]() |
Re: What we know about alsa-policy-enforcement and alsaped?
Quote:
And I think it can't be used as it. Maybe it can be rewritten to runnable script. So alsaped would not read it, but execute it with parameter. -- This is mentioned be Meego's equivalent for policy, but it doesn't look same (for me): https://meego.gitorious.org/maemo-mu...settings-basic |
Re: What we know about alsa-policy-enforcement and alsaped?
Well, this answers the question:
Where this file comes /usr/share/policy/etc/current/alsaped.conf ? It is not in package. from wiki :( Would be good if a law student could chime in how this can be opensourced (dumping state of all controls in each combination could be a way, but is it legally ok? we are just pulling what nokia devised for all combinations in the end) |
Re: What we know about alsa-policy-enforcement and alsaped?
If it is only one achievable way of doing this (properly), then we can re-use mentioned method, (written from scratch). Of course, definite legal answer can't be presented, as legislation wary from country to country - what is OK in EU may be "threat against digital shitlenia blabla" in US.
/Estel |
Re: What we know about alsa-policy-enforcement and alsaped?
Quote:
They are actually very similar; probably a regex could transform from one syntax to the other ;) Regarding the audio contexts, I don't remember anything about them atm, so either they were not important or other component handled that. |
Re: What we know about alsa-policy-enforcement and alsaped?
Hurrian's dump could tell more about routing reuest vs context reuest:
routing reuest: text:00012390 rodata:000164F0 context reuest: text:000125A0 rodata:00016568 The subroutines are around these addresses. Definitely context is parsed/actioned upon. If this has some deeper logic needs to be evaluated by someone with arm-reveng skills. |
Re: What we know about alsa-policy-enforcement and alsaped?
Quote:
|
Re: What we know about alsa-policy-enforcement and alsaped?
1 Attachment(s)
Quote:
|
Re: What we know about alsa-policy-enforcement and alsaped?
@szopin: Thanks!
One question, do you know which application sending that dbus signal? |
Re: What we know about alsa-policy-enforcement and alsaped?
I believe it's alsaped, if you run
sudo /usr/sbin/alsaped -p 4 -f /usr/share/policy/etc/current/alsaped.conf -vrbe you can see all it is reacting to. |
Re: What we know about alsa-policy-enforcement and alsaped?
alsaped is listening for X events and apply it.
If these signals are really sent from alsaped, how to tell alsaped to turn on jackbias? I'm trying to find right way to enable jackbias in maemo. |
All times are GMT. The time now is 02:54. |
vBulletin® Version 3.8.8