I just went through it again:
-installation of 11.04 minimal + OpenSSH for remote access
- installing alsa-utils by using
Code:
sudo apt-get install alsa-utils
(HDA NVidia available in alsamixer right now!)
content of aplay -l
Code:
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: Intel [HDA Intel], Gerät 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: Intel [HDA Intel], Gerät 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: NVidia [HDA NVidia], Gerät 3: HDMI 0 [HDMI 0]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
-content of aplay -L
Code:
xbmcadmin@xbmc-ubuntu:~$ sudo aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=Intel
HDA Intel, ALC662 rev1 Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Digital
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
Direct sample mixing device
dmix:CARD=Intel,DEV=1
HDA Intel, ALC662 rev1 Digital
Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
Direct sample snooping device
dsnoop:CARD=Intel,DEV=1
HDA Intel, ALC662 rev1 Digital
Direct sample snooping device
hw:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
Direct hardware device without any conversions
hw:CARD=Intel,DEV=1
HDA Intel, ALC662 rev1 Digital
Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
Hardware device with all software conversions
plughw:CARD=Intel,DEV=1
HDA Intel, ALC662 rev1 Digital
Hardware device with all software conversions
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
dmix:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample snooping device
hw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Hardware device with all software conversions
-enabling any SPDIF-channels in alsamixer
-testing command:
Code:
aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav
result: no sound can be heard, even when trying to replug the hdmi cable.
Displayed text:
Code:
xbmcadmin@xbmc-ubuntu:~$ sudo aplay -D plughw:1,3 /usr/share/sounds/alsa/Front_Center.wav
Wiedergabe: WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate: 48000 Hz, mono
editing the pcm.default to directly access my video card:
Code:
xbmcadmin@xbmc-ubuntu:~$ sudo nano ~/.asoundrc
pcm.!default {
type hw
card 1
device 3
}
rebooting.
retrying to get any sound out of my TV:
Code:
xbmcadmin@xbmc-ubuntu:~$ sudo aplay -D plughw:1,3 /usr/share/sounds/alsa/Noise.wav
Wiedergabe: WAVE '/usr/share/sounds/alsa/Noise.wav' : Signed 16 bit Little Endian, Rate: 48000 Hz, mono
xbmcadmin@xbmc-ubuntu:~$
still nothing to be heard.
edit:
retried it like that:
- installed minimal ubuntu 11.04 natty
- installed latest nvidia drivers from nvidia.com
- installed latest natty ALSA packages and unmuted any muted devices, both onboard and the hdmi device of my graphics card [via sudo alsamixer]
- tried the following:
Code:
xbmc@xbmclinux:~$ aplay -D plughw:0,0 /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
xbmc@xbmclinux:~$ aplay -D plughw:1,3 /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
xbmc@xbmclinux:~$
Analogous speakers plugged in 0,0 --> i hear the sound
HDMI cable plugged in 1,3 (the graphics card and my TV) --> i do not hear the sound.
- my user is in the audio group.
- I followed http://wiki.xbmc.org/index.php?title=HOW...controller this guide strictly
- when trying to verify what i did in the guide, this is being displayed:
Code:
xbmc@xbmclinux:~$ sudo speaker-test -D hdmi -c6 -r19200 -FS32_LE
speaker-test 1.0.24.2
Playback device is hdmi
Stream parameters are 19200Hz, S32_LE, 6 channels
Using 16 octaves of pink noise
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
Playback open error: -2,No such file or directory
xbmc@xbmclinux:~$