I'm looking for the recommended command to restart sound (audio) without a reboot, on CentOS 7.3. I found the links below:
viewtopic.php?f=19&t=13936&p=64528&hili ... dio#p64528
viewtopic.php?f=15&t=51637&p=219220&hil ... nd#p219220
viewtopic.php?f=13&t=46472&p=197642&hil ... nd#p197642
I don't know if my reason matters. But I'll outline it. I'm trying to write to an audio codec with a series of commands. The commands look like:
Code: Select all
# Perform a Set:
hda-verb /dev/snd/hwC0D0 0x0a 0x71c 0x10
hda-verb /dev/snd/hwC0D0 0x0a 0x71d 0x40
hda-verb /dev/snd/hwC0D0 0x0a 0x71e 0x01
hda-verb /dev/snd/hwC0D0 0x0a 0x71f 0x01
# Perform a Verify:
hda-verb /dev/snd/hwC0D0 0x0a 0xf1c 0x00
I expect that:
- audio doesn't work initially
- the Sets & Verifys are executed
- the recommended command is executed
- audio works
(By the way, audio works if a reboot is executed (instead of the recommended command)- I've checked this.)
Thanks.