Ubuntu – Get audio over optical cable

audiodriversoptical-cableUbuntu

Is it possible to play audio over optical cables in Ubuntu?

I've got a motherboard with Realtek ALC888 onboard audio. Ubuntu can play music/sounds just fine to my headphones or over analog cables to my speakers.

However, my problem is that I use an optical cable for my speakers (Logitech Z-5500). This works great when I am booted into windows, but so far I have been unable to get it working over the optical cable.

Is there any way to solve this problem?

Related Question