Sound inside VPS [message #36179] |
Wed, 27 May 2009 01:13 |
itess
Messages: 5 Registered: May 2009
|
Junior Member |
|
|
Hello.
I would like to have snd-dummy working inside a VPS. I tried to make device nodes and changed permissions to rw.
Inside the VPS:
root@sip-101:~# ls -lR /dev|grep audio
crw-rw-rw- 1 root audio 14, 4 2008-12-24 17:07 audio
crw-rw---- 1 root audio 14, 20 2008-12-24 17:07 audio1
crw-rw---- 1 root audio 14, 36 2008-12-24 17:07 audio2
crw-rw---- 1 root audio 14, 52 2008-12-24 17:07 audio3
crw-rw---- 1 root audio 14, 7 2008-12-24 17:07 audioctl
crw-rw-rw- 1 root audio 14, 3 2008-12-24 17:07 dsp
crw-rw---- 1 root audio 14, 19 2008-12-24 17:07 dsp1
crw-rw---- 1 root audio 14, 35 2008-12-24 17:07 dsp2
crw-rw---- 1 root audio 14, 51 2008-12-24 17:07 dsp3
crw-rw---- 1 root audio 35, 0 2008-12-24 17:07 midi0
crw-rw---- 1 root audio 14, 2 2008-12-24 17:07 midi00
crw-rw---- 1 root audio 14, 18 2008-12-24 17:07 midi01
crw-rw---- 1 root audio 14, 34 2008-12-24 17:07 midi02
crw-rw---- 1 root audio 14, 50 2008-12-24 17:07 midi03
crw-rw---- 1 root audio 35, 1 2008-12-24 17:07 midi1
crw-rw---- 1 root audio 35, 2 2008-12-24 17:07 midi2
crw-rw---- 1 root audio 35, 3 2008-12-24 17:07 midi3
crw-rw-rw- 1 root audio 14, 0 2008-12-24 17:07 mixer
crw-rw---- 1 root audio 14, 16 2008-12-24 17:07 mixer1
crw-rw---- 1 root audio 14, 32 2008-12-24 17:07 mixer2
crw-rw---- 1 root audio 14, 48 2008-12-24 17:07 mixer3
crw-rw---- 1 root audio 31, 0 2008-12-24 17:07 mpu401data
crw-rw---- 1 root audio 31, 1 2008-12-24 17:07 mpu401stat
crw-rw---- 1 root audio 35, 64 2008-12-24 17:07 rmidi0
crw-rw---- 1 root audio 35, 65 2008-12-24 17:07 rmidi1
crw-rw---- 1 root audio 35, 66 2008-12-24 17:07 rmidi2
crw-rw---- 1 root audio 35, 67 2008-12-24 17:07 rmidi3
crw-rw-rw- 1 root audio 254, 0 2009-05-25 16:50 rtc0
crw-rw-rw- 1 root audio 14, 1 2008-12-24 17:07 sequencer
crw-rw-rw- 1 root audio 14, 8 2009-05-27 00:32 sequencer2
crw-rw---- 1 root audio 35, 128 2008-12-24 17:07 smpte0
crw-rw---- 1 root audio 35, 129 2008-12-24 17:07 smpte1
crw-rw---- 1 root audio 35, 130 2008-12-24 17:07 smpte2
crw-rw---- 1 root audio 35, 131 2008-12-24 17:07 smpte3
crw-rw---- 1 root audio 14, 6 2008-12-24 17:07 sndstat
crw-rw-rw- 1 root audio 116, 0 2009-05-27 00:32 controlC0
crw-rw-rw- 1 root audio 116, 24 2009-05-27 00:32 pcmC0D0c
crw-rw-rw- 1 root audio 116, 16 2009-05-27 00:32 pcmC0D0p
crw-rw-rw- 1 root audio 116, 1 2009-05-27 00:32 seq
crw-rw-rw- 1 root audio 116, 33 2009-05-27 00:32 timer
On the HN:
rc04:~# ls -lR /dev|grep audio
crw-rw-rw- 1 root audio 14, 4 2009-05-27 04:32 audio
crw-rw-rw- 1 root audio 14, 3 2009-05-27 04:32 dsp
crw-rw-rw- 1 root audio 14, 0 2009-05-27 04:32 mixer
crw-rw-rw- 1 root audio 254, 0 2009-05-25 20:50 rtc0
crw-rw-rw- 1 root audio 14, 1 2009-05-27 04:32 sequencer
crw-rw-rw- 1 root audio 14, 8 2009-05-27 04:32 sequencer2
crw-rw-rw- 1 root audio 116, 0 2009-05-27 04:32 controlC0
crw-rw-rw- 1 root audio 116, 24 2009-05-27 04:32 pcmC0D0c
crw-rw-rw- 1 root audio 116, 16 2009-05-27 04:32 pcmC0D0p
crw-rw-rw- 1 root audio 116, 1 2009-05-27 04:32 seq
crw-rw-rw- 1 root audio 116, 33 2009-05-27 04:32 timer
snd-dummy works good on the HN, but not in the VPS.
This is Debian Lenny Linux rc04 2.6.26-2-openvz-amd64 #1 SMP Wed May 13 16:46:17 UTC 2009 x86_64 GNU/Linux
HN is 64 bit OS and VPS is 32 bit Debian Lenny.
|
|
|
|
|
|
|
|
|
Re: Sound inside VPS [message #38533 is a reply to message #36179] |
Tue, 29 December 2009 13:33 |
laotse
Messages: 35 Registered: December 2008
|
Member |
|
|
Browsing the net, I'm finally inconclusive whether it is possible to get ALSA running inside a container or not.
I'd like to attach my speakers to my server and have a VE for playing music, i.e. I just do not want to depend on a specific Workstation to be running to listen to music.
Does anyone have a viable solution to run some music player inside a VE? If so, is there a HOWTO available?
Otherwise, can someone definitely state that OpenVZ does not allow running a music player?
Regards,
- lars.
|
|
|