From SpectLog
Jump to: navigation, search

Problem

No sound via optical digital output (TOSLINK).


Solution

Install alsamixer:

sudo yum install alsamixergui


Run the alsamixer and unmute S/PDIF output:

alsamixer

In order to view all possible outputs, select sound device by pressing F6.


Configure requred settings persistently

By default alsamixer does not store configuration persistently and it will be reset after reboot.


In order to avoid this, execute the following steps:

  • Run alsamixer and set required configuration (press Esc when finished):
alsamixer
  • Save current driver state into configuration file:
sudo alsactl store
  • Add the following command to one of the startup scripts:
sudo alsactl restore


See also Private:Sound_card_does_not_restore_configuration_after_reboot_while_alsactl_restore_works.

References