-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
With Intel HAL.
we get an error has the return num ID for control is invalid.
amixer -D hw:0 cget name=Navigation_Volume
numid=20,iface=MIXER,name='Navigation_Volume'
; type=INTEGER,access=rw--RW,values=2,min=0,max=255,step=0
: values=0,0
| dBscale-min=-51.00dB,step=0.20dB,mute=0
------------------ 4a debug ---------------------
HOOK: [xreq-000030:ahl-4a/stream_open] BEGIN uid=0=0 gid=0 pid=900 label=System id=System
HOOK: [xreq-000030:ahl-4a/stream_open] json() -> { "audio_role": "Navigation", "endpoint_type": "sink" }
HOOK: [xreq-000031:intel-hda/ctlget] BEGIN
HOOK: [xreq-000031:intel-hda/ctlget] json() -> { "label": "Navigation_Volume" }
HOOK: [xreq-000032:alsacore/ctlget] BEGIN
HOOK: [xreq-000032:alsacore/ctlget] json() -> { "devid": "hw:0", "ctl": [ -1 ] }
HOOK: [xreq-000032:alsacore/ctlget] success(null, [ { "warning": "Numid Invalid", "ctl": -1 } ])
HOOK: [xreq-000032:alsacore/ctlget] END
HOOK: [xreq-000031:intel-hda/ctlget] fail(subcall:alsacore/getctl, (null))
HOOK: [xreq-000031:intel-hda/ctlget] END
WARNING: [API ahl-4a] Could not ctlset on HAL: intel-hda, errorcode: -1 [/usr/src/debug/agl-service-audio-4a/0.1+gitAUTOINC+845130664c-r0/git/ahl-policy/ahl-policy.c:293,PolicyGetVolume]
HOOK: [xreq-000030:ahl-4a/stream_open] fail(Audio policy violation, Open stream not allowed in current context)
HOOK: [xreq-000030:ahl-4a/stream_open] END