Turn off S/PDIF digital audio in Ubuntu installed on Mac computers

My Ubuntu running Mac mini got the S/PDIF light always on, like this:

S-PDIF

To deactivate it start by running this in the terminal:

sudo alsamixer

Move to S/PDIF with the arrow keys:

alsamixer

Then press M to mute.

alsamixer-mute

Press escape to exit and without closing the terminal run:

sudo alsactl store

To make this permanent on every boot go to Startup Applications under the System Tools -> Preferences menu and add a new one with this info:

Name: Restore Alsa State
Command: /sbin/alsactl restore
Comment: Turn off Optical Out

add-startup-program

The same command (/sbin/alsactl restore) could be added to /etc/profile instead.

To only deactivate it temporarily you can just run:

amixer set IEC958 off

Ref: https://help.ubuntu.com/community/MacBookPro7-1/Maverick#Sound

You might also like

Install Skype in Ubuntu
Since Ubuntu 10.04 you can add the repository for Skype running this command:sudo add-apt-repository...

Run Solr as a service in Ubuntu
I've been doing some tests with Nutch and Solr these days. One thing I didn't like was that when you...

“AttributeError: ‘module’ object has no attribute ‘MongoClient'” error with Pymongo in Ubuntu 12.04
I'm currently doing the M101P: MongoDB for Developers online course.I had this error while running...

Use OpenCV in Eclipse CDT
Install OpenCV (see previous posts for Ubuntu 10.10, Ubuntu 11.10, Ubuntu 12.04 and OpenCV 2.4 in Ubuntu...

  1. Sebastian Lagos

    En ubuntu 14.04 la dirección de alsactl no está en /sbin, si no en:
    /usr/sbin/alsactl
    Saludos y gracias por este post.

  2. Worked like a champ. Thanks <3

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.