S
Simba
Guest
Hi All,
I'm trying to have my Linux KVM (a CentOS 6.4 VM with no GUI) access my hypervisor's soundcard. I'm reading succesful attempts for Windows clients, but they don't work for my Linux client.
I've tried adding the following to my .conv file:
and
Both give my client a soundcard, but playing on that card doens't produce any sound.
My setup is as follows:
I've connected an USB soundcard (very basic) to the hardware and on the Proxmox hypervisor, and I can access it through ALSA:
This plays music.
On the client, when using the AC97 variant I get:
Now, aplay reports no error message, and apparantly plays the music, but nothing comes out my speakers
..
amixer reports volumes are at 100%.
Same thing when trying the other args setting.
Any help?
I'm trying to have my Linux KVM (a CentOS 6.4 VM with no GUI) access my hypervisor's soundcard. I'm reading succesful attempts for Windows clients, but they don't work for my Linux client.
I've tried adding the following to my .conv file:
Code:
args: -device AC97,addr=0x18
and
Code:
args: -device intel-hda,id=sound5,bus=pci.0,addr=0x18 -device hda-micro,id=sound5-codec0,bus=sound5.0,cad=0 -device hda-duplex,id=sound5-codec1,bus=sound5.0,cad=1
Both give my client a soundcard, but playing on that card doens't produce any sound.

My setup is as follows:
I've connected an USB soundcard (very basic) to the hardware and on the Proxmox hypervisor, and I can access it through ALSA:
Code:
root@pmx1:~# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=AUDIO
USB AUDIO, USB Audio
Default Audio Device
sysdefault:CARD=AUDIO
USB AUDIO, USB Audio
Default Audio Device
front:CARD=AUDIO,DEV=0
USB AUDIO, USB Audio
Front speakers
surround40:CARD=AUDIO,DEV=0
USB AUDIO, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=AUDIO,DEV=0
USB AUDIO, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=AUDIO,DEV=0
USB AUDIO, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=AUDIO,DEV=0
USB AUDIO, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=AUDIO,DEV=0
USB AUDIO, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=AUDIO,DEV=0
USB AUDIO, USB Audio
IEC958 (S/PDIF) Digital Audio Output
root@pmx1:~# aplay -v -D default:CARD=AUDIO /root/africa-toto.wav
Playing WAVE '/root/africa-toto.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
This plays music.
On the client, when using the AC97 variant I get:
Code:
[root@music ~]# aplay -Lnull
Discard all samples (playback) or generate zero samples (capture)
default:CARD=Intel
HDA Intel, HDA Generic
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, HDA Generic
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, HDA Generic
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, HDA Generic
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, HDA Generic
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, HDA Generic
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, HDA Generic
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
[root@music ~]# aplay /root/africa-toto.wav
Playing WAVE '/root/africa-toto.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
Now, aplay reports no error message, and apparantly plays the music, but nothing comes out my speakers

amixer reports volumes are at 100%.
Same thing when trying the other args setting.
Any help?