echo 1 > /sys/class/sound/hwC0D0/reconfig
the side effect of dynamic reconfigure is the driver remove the controls (1 to 24) except those user space softvol controls (25 to 26), create the new controls from 27
Alsactl output !!--------------
--startcollapse-- state.PCH { control.25 { iface MIXER name 'PCM Playback Volume' value.0 255 value.1 255 comment { access 'read write user' type INTEGER count 2 range '0 - 255' tlv '0000000100000008ffffec1400000014' dbmin -5100 dbmax 0 dbvalue.0 0 dbvalue.1 0 } } control.26 { iface MIXER name 'Digital Capture Volume' value.0 60 value.1 60 comment { access 'read write user' type INTEGER count 2 range '0 - 120' tlv '0000000100000008fffff44800000032' dbmin -3000 dbmax 3000 dbvalue.0 0 dbvalue.1 0 } } control.27 { iface MIXER name 'Front Playback Volume' value.0 64 value.1 64 comment { access 'read write' type INTEGER count 2 range '0 - 64' dbmin -6400 dbmax 0 dbvalue.0 0 dbvalue.1 0 }
echo 1 > /sys/class/ sound/hwC0D0/ reconfig
the side effect of dynamic reconfigure is the driver remove the controls (1 to 24) except those user space softvol controls (25 to 26), create the new controls from 27
Alsactl output
!!--------------
--startcollapse-- 08ffffec1400000 014' 08fffff44800000 032'
state.PCH {
control.25 {
iface MIXER
name 'PCM Playback Volume'
value.0 255
value.1 255
comment {
access 'read write user'
type INTEGER
count 2
range '0 - 255'
tlv '00000001000000
dbmin -5100
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.26 {
iface MIXER
name 'Digital Capture Volume'
value.0 60
value.1 60
comment {
access 'read write user'
type INTEGER
count 2
range '0 - 120'
tlv '00000001000000
dbmin -3000
dbmax 3000
dbvalue.0 0
dbvalue.1 0
}
}
control.27 {
iface MIXER
name 'Front Playback Volume'
value.0 64
value.1 64
comment {
access 'read write'
type INTEGER
count 2
range '0 - 64'
dbmin -6400
dbmax 0
dbvalue.0 0
dbvalue.1 0
}