OpenVZ Forum


Home » General » Support » Accessing ALSA sound devices within VPS
Accessing ALSA sound devices within VPS [message #35584] Mon, 06 April 2009 22:02 Go to previous message
starfry is currently offline  starfry
Messages: 24
Registered: March 2009
Location: Coulsdon, Surrey, UK
Junior Member
Hi,

is it possible to use the host's ALSA dound devices from within a VPS?

I have tried enabling the devnodes:
# vzctl set 109 --devnodes snd/hwC0D0:rw
# vzctl set 109 --devnodes snd/controlC0:rw
# vzctl set 109 --devnodes snd/hwC0D1:rw
# vzctl set 109 --devnodes snd/pcmC0D0c:rw
# vzctl set 109 --devnodes snd/pcmC0D0p:rw
# vzctl set 109 --devnodes snd/seq:rw
# vzctl set 109 --devnodes snd/timer:rw

The card is listed by asoundconf but I can't get it to work:
$ asoundconf list
Names of available sound cards:
Intel
$ asoundconf set-default-card Intel
$ amixer
amixer: Mixer attach default error: No such device

I thought I'd ask here before i go any further in case getting this to work in a VPS is a no-go...


 
Read Message
Read Message
Previous Topic: Quota on mounted fs
Next Topic: /dev inside container
Goto Forum:
  


Current Time: Sun Nov 10 16:13:52 GMT 2024

Total time taken to generate the page: 0.03566 seconds