Kodi Community Forum

Full Version: Asrock A330ION Spdif problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello!

I need some help: I have one Asrock A330ION motherboard with 2 GB ram. I dowloaded the xbmc 9.11 live version. I try from CD, and I installed to the pen drive from cd, but optical Spdif output dont work.
I have Yamaha 430 reciver (5.1, DD, DTS is ok)

System settings in XBMC menu:
Audio output: digital
DD and DTS enabled
Audio output devide: I try default, and iec958
Passthrough output device: iec958
Downmix disabled

I havent sound in Spdif. No menu sounds, and no film audio...

I readed some forums, and I listed my audio devides in linux:

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: HDA Generic [HDA Generic]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0

Where is SPDIF (iec958)Huh

aplay -L
front:CARD=NVidia,DEV=0
HDA NVidia, HDA Generic
Front speakers
surround40:Card=NVidia,DEV=0
HDA NVidia, HDA Generic
4.0 Surround output to Front and Rear speakers
surround41:Card=NVidia,DEV=0
HDA NVidia, HDA Generic
4.1 Surround output to Front and Rear and Subwoofer speakers
surround50:Card=NVidia,DEV=0
HDA NVidia, HDA Generic
5.0 Surround output to Front, Center and Rear speakers
surround51:Card=NVidia,DEV=0
HDA NVidia, HDA Generic
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:Card=NVidia,DEV=0
HDA NVidia, HDA Generic
7.1 Surround output to Front, Center, Side, Rear and Subwoofer speakers
hdmi:Card=NVidia,DEV=0
HDA NVidia, NVIDIA HDMI
HDMI Audio Output
Null

SPDIF missing??

What is wrong? Please help, I woud like to use spdif output.

Thx.

UI: Sorry for my bad english Smile
This works for me:

$home/.asoundrc (hw:0,1 found with aplay command):

Code:
pcm.!default {
type asym
playback.pcm {
type plug
slave.pcm "hw:[b]0,1[/b]"
}
}

Get a repository for the latest alsa version available like:

Code:
deb http://ppa.launchpad.net/thefirstm/karmic-testing/ubuntu karmic main
deb-src http://ppa.launchpad.net/thefirstm/karmic-testing/ubuntu karmic main

Apt update your system to the latest kernel.

That's how i've done it, everything is working perfectly now.
You might wanna get the latest Alsa first, this is what you should get with aplay:

**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0

Card 0, device 1 is your spdif out.. If this is not showing (after alsa update) on your card, you might have a problem.

I disabled pulse and started XBMX manually, also i'm using ubuntu light as a base opposed to the live version. This allows me to do my own stuf on my mediacenter..
I have an Asrock ION 330 and spdif works direcly when 9.11 live is loaded. I am using toslink to the receiver.
Of course your board could have different components..

have you checked volume levels in alsamixer?
So, I tired yours ideas. I deleted all, and I started from the begining.

I installed xbmc 9.11 live from cdrom to my hdd.

I add new repo:
deb http://ppa.launchpad.net/thefirstm/karmi...ing/ubuntu karmic main
deb-src http://ppa.launchpad.net/thefirstm/karmi...ing/ubuntu karmic main

I updated the system, alsamixer show v1.0.21

I deleted .asoundrc file, and create new:
pcm.!default {
type asym
playback.pcm {
type plug
slave.pcm "hw:0,1"
}
}

I unmute the SPDIF in alsamixer

restart system

And aplay -l show only:

**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: HDA Generic [HDA Generic]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0

I dont see Card 0, device 1 (SPDIF)...

What is wrong, what is the problem? Pls help me!
Thx.

PS: I installed windows xp for testing spdif. Under windows work spdif, I hear windows sounds. I think the hardware is good, I have software problem?
vikjon0 Wrote:have you checked volume levels in alsamixer?

Yes, but I can change volume levels only the master and PCM, SPDIF cant. I can SPDIF only mute or unmute.
I have the same problem...

ASRock A330Ion, Ubuntu 10.04.1. I can see 0.0 (Analog) and 0.3 (HDMI) with aplay -l. No IEC958... I can select it in XBMC, but I get "Unable to initialize audio"
Same problem .... any suggestion?
RedCat Wrote:Yes, but I can change volume levels only the master and PCM, SPDIF cant. I can SPDIF only mute or unmute.

same problem. no solution found yet Sad
Digital outputs don't have volume, do they? I wouldn't think so.

In every build I've done, spdif is always muted by default, and I have to run aslamixer as root and unmute it, then run alsactl store to save.

Go into your bios/cmos settings and see what's there to mess with. Maybe something is disabled there.
gsgleason Wrote:Digital outputs don't have volume, do they? I wouldn't think so.

oh. why not?

Quote:In every build I've done, spdif is always muted by default, and I have to run aslamixer as root and unmute it, then run alsactl store to save.

I'm using XBMC live from xbmcfreak, and on that build the 3 SPDIF's aint muted, they show up as 00 in alsamixer.

Still no sound.

Quote:Go into your bios/cmos settings and see what's there to mess with. Maybe something is disabled there.


That I can do.
Well I'll be damned.

My receiver is a Denon AVR-XXXX (don't remember the number now, but it was a middle tier one I bought 3 years ago), which have 2 optical in called OPT 1 and OPT 2, and only 2 HDMI in.

Both HDMI are taken, so I had to set up asrock with HDMI directly to TV, and then a SPDIF cable to the receiver. OPT 1 was taken, so OPT 2 was the input I was trying to get working.

Turns out OPT2 won't give any sound at all! When I switched the cables, e.g. OPT1->OPT2, OPT2->OPT1, Asrock suddenly produced sound! (and the source now going to OPT2 did not).

That leaves me with little choices, either cable jockey or buy new receiver Sad

However I could only get analoge to work from the XBMCLive. Does it really matter if the sound is only analoge? Keep in mind I only got 2 speakers, no subwoofer or central speaker.
This puzzles me to no end, I tought S/PDIF was digital only?
lowlife Wrote:Well I'll be damned.

My receiver is a Denon AVR-XXXX (don't remember the number now, but it was a middle tier one I bought 3 years ago), which have 2 optical in called OPT 1 and OPT 2, and only 2 HDMI in.

Both HDMI are taken, so I had to set up asrock with HDMI directly to TV, and then a SPDIF cable to the receiver. OPT 1 was taken, so OPT 2 was the input I was trying to get working.

Turns out OPT2 won't give any sound at all! When I switched the cables, e.g. OPT1->OPT2, OPT2->OPT1, Asrock suddenly produced sound! (and the source now going to OPT2 did not).

That leaves me with little choices, either cable jockey or buy new receiver Sad

However I could only get analoge to work from the XBMCLive. Does it really matter if the sound is only analoge? Keep in mind I only got 2 speakers, no subwoofer or central speaker.
This puzzles me to no end, I tought S/PDIF was digital only?


Did you enable the OPT2 in your Denon Setup ?
prensel Wrote:Did you enable the OPT2 in your Denon Setup ?

AFIAK you cannot enable/disable inputs/outputs.

I've set the source to Video: none Audio:OPT2 though.