Dear all,
Firstly, I apologise for the cross-posting: I originally asked this at ubuntuforums.org, but it's been a while without a reply - see
http://ubuntuforums.org/showthread.php?t=1212472.
I have recently upgraded my motherboard and chip, but I have been having problems trying to get SPDIF (optical audio) fully work.
I am using Ubuntu (Gnome) 9.04 Jaunty. My motherboard is an Asus M4N78 Pro.
I have gotten most of the problems sorted out - see
http://ubuntuforums.org/showthread.php?t=1201139 for the details. In short, I had to upgrade to the latest asla snapshot to get sound at all.
However, one persistent problem I have is getting Amarok 2 to play music out of SPDIF. It can play out of ordinary speakers plugged into the light green jack, but will not play anything out of Optical Audio.
I can play audio on SPDIF out of Totem, MythTV and Rhythmbox without problems. To do so, I needed to explicitly go to System -> Preference -> Sound and change from "Autodetect" to "VT1708S Digital"
So far I have been trying to get my head around the following file that, from searching around a little, might help:
Code:
.kde/share/config/phonondevicesrc
Deleting it makes no difference - it regenerates itself. My guess that Phonon (as opposed to whatever gnome uses) is not pushing sound out the correct port. How can I set this up to make it work?
My current setup is:
Code:
damien@mediabox:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: VT1708S Analog [VT1708S Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
card 0: NVidia [HDA NVidia], device 1: VT1708S Digital [VT1708S Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
And:
Code:
damien@mediabox:~$ sudo lspci -vv
<snip>
00:07.0 Audio device: nVidia Corporation MCP78S [GeForce 8200] High Definition Audio (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 836c
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0 (500ns min, 1250ns max)
Interrupt: pin A routed to IRQ 21
Region 0: Memory at f6f78000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
<snip>
And the phonon configuration file:
Code:
damien@mediabox:~$ cat .kde/share/config/phonondevicesrc
[AudioDevice_HDA NVidia, NVIDIA HDMI\nHDMI Audio Output_playback]
cardName=HDA NVidia, NVIDIA HDMI (HDMI Audio Output)
deleted=false
deviceNumber=-1
hotpluggable=false
iconName=audio-card
index=-5
initialPreference=30
isAdvanced=false
[AudioDevice_HDA NVidia, VT1708S Digital\nIEC958 (S/PDIF) Digital Audio Output_playback]
cardName=HDA NVidia, VT1708S Digital (IEC958 (S/PDIF) Digital Audio Output)
deleted=false
deviceNumber=-1
hotpluggable=false
iconName=audio-card
index=-4
initialPreference=1
isAdvanced=true
[AudioDevice_pci:10de:0774:1043:836c:0:capture]
cardName=HDA NVidia (VT1708S Analog)
deleted=false
deviceNumber=0
hotpluggable=false
iconName=audio-card
index=-7
initialPreference=36
isAdvanced=false
[AudioDevice_pci:10de:0774:1043:836c:0:playback]
cardName=HDA NVidia (VT1708S Analog)
deleted=false
deviceNumber=0
hotpluggable=false
iconName=audio-card
index=-1
initialPreference=36
isAdvanced=false
[AudioDevice_pci:10de:0774:1043:836c:1:playback]
cardName=HDA NVidia (VT1708S Digital)
deleted=false
deviceNumber=1
hotpluggable=false
iconName=audio-card
index=-2
initialPreference=35
isAdvanced=false
[AudioDevice_pci:10de:0774:1043:836c:3:playback]
cardName=HDA NVidia (NVIDIA HDMI)
deleted=false
deviceNumber=3
hotpluggable=false
iconName=audio-card
index=-3
initialPreference=33
isAdvanced=true
[AudioDevice_unix:/home/damien/.pulse/1ed2189ee9a6e722a9ff0d0047b82b8a:runtime/native\nalsa_output.pci_10de_774_sound_card_0_alsa_playback_0playback]
cardName=
deleted=false
deviceNumber=-3
hotpluggable=true
iconName=audio-backend-pulseaudio
index=-6
initialPreference=0
isAdvanced=true
[AudioDevice_unix:/home/damien/.pulse/1ed2189ee9a6e722a9ff0d0047b82b8a:runtime/native:alsa_output.pci_10de_774_sound_card_0_alsa_playback_0.monitorcapture]
cardName=Monitor of HDA NVidia - VT1708S Analog
deleted=false
deviceNumber=-4
hotpluggable=true
iconName=audio-backend-pulseaudio
index=-8
initialPreference=0
isAdvanced=true
[Globals]
nextIndex=9
If there's further information that will help, I will gladly supply it.
-- Damien