Kodi Community Forum

Full Version: SPDIF (optical) USB on linux distro
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ok so alsamixer sees it, and its enabled. What would I put in the setting for xbmc? i used to have HDMI but since my TV doesn't passthrough AC3 or D.D. I had to use this, any ideas?

So under audio settings what would I put for

Audio Output Device
Audio Passthrough Device
You'll probably put something along the lines of plughw:1,1 under custom.

What does
Code:
aplay -l
give you?

Edit: The spdif on my usb sound is hw:1,0 for example
well it shows the info for the analog and the HDMI and then this

card 1: default [USB sound Device ], device 0: USB Audio [USB Audio]
Subdevices 1/1
Subdevice #0: subdevice #0
Ok, well here is the update, I have selected it correctly in XBMC, the only thing is that linux doesnt know how to handle the SPDIF out. It works just fine under windows.

The power light comes on, for both windows and linux
The power light blinks when recieving an input from both windows and linux
The laser on the SPDIF is on when plugged into a windows machine, but not on for linux.
anyone have an idea?
can someone help me with this
did you select it as an output device in XBMC? As in the correct passthrough settings? You might have to put a hard device name for USB.
I use mine for mpd in the background. Here's the relevant portion from my mpd.conf file

Code:
audio_output {
        type                    "alsa"
        name                    "USB Audio"
        device                  "iec958:CARD=default,DEV=0"
#        device                  "hw:1,0"
        format                  "48000:16:2" # optional
}

Maybe try the device name that's listed when you run
Code:
aplay -L
in my case, that would be iec958:CARD=default,DEV=0