OpenVZ Forum


Home » General » Support » Mounting audio devices.
Mounting audio devices. [message #30480] Tue, 27 May 2008 05:25 Go to next message
thorpe is currently offline  thorpe
Messages: 16
Registered: February 2008
Location: Sydney - Australia
Junior Member
I have an amd64 host and am running an i386 node successfully. Using this combo I would like to be able to run skype (32bit) from within said node.

I have installed skype and all appears well. My difficullty is getting audio to work within the node.

From the host...
thorpe@oblivion ~ # ls -l /dev | grep audio
crw-rw---- 1 root   audio    14,  12 2008-05-27 13:58 adsp
crw-rw---- 1 root   audio    14,   4 2008-05-27 13:58 audio
crw-rw---- 1 root   audio    14,  20 2008-05-27 13:58 audio1
crw-rw---- 1 root   audio    14,   3 2008-05-27 13:58 dsp
crw-rw---- 1 root   audio    14,  19 2008-05-27 13:58 dsp1
crw-rw---- 1 root   audio    14,   0 2008-05-27 13:58 mixer
crw-rw---- 1 root   audio    14,  16 2008-05-27 13:58 mixer1
crw-rw---- 1 root   audio    10, 135 2008-05-27 13:58 rtc
crw-rw---- 1 root   audio    14,   1 2008-05-27 13:58 sequencer
crw-rw---- 1 root   audio    14,   8 2008-05-27 13:58 sequencer2


I have set these perams in the node....
thorpe@oblivion ~ # cat /etc/vz/conf/10102.conf | grep DEVICES
DEVICES="b:14:12:rw b:14:4:rw b:14:20:rw b:14:3:rw b:14:19:rw b:14:0:rw b:14:16:rw b:10:135:rw b:14:1:rw b:14:8:rw "


I am still unable to use any audio device from within skype on the node. Any ideas? If you need to see my complete /dev dir let me know.

Am I missing something?

I am concerned that the b in b:14:12:rw stands for block? These are not block devices am I correct? (However, I get no errors on boot) The Users guide goes into little detail on the subject.

[Updated on: Tue, 27 May 2008 05:31]

Report message to a moderator

Re: Mounting audio devices. [message #30531 is a reply to message #30480] Wed, 28 May 2008 08:36 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

1. how do create that devices inside VE?
You can you --devnodes or --devices option.
From man vzctl
Quote:


--devnodes device:r|w|rw|none
           Give the VE an access (r - read, w - write, rw - read write, none - no access) to a device designated by the special  file
           /dev/device. Device file is created in VE by vzctl.

--devices b|c:major:minor|all:[r|w|rw|none]
           Give  the  VE  an  access to a block or character device designated by its major and minor numbers. Device file have to be
           created manually.




Pay attention on the last sentence of this man output.

2. If it's possible strace skype to find out which file does it require.
Previous Topic: TCP: time wait bucket table overflow (CT230)
Next Topic: Get WebVZ On Debian Etch To Administrate OpenVZ
Goto Forum:
  


Current Time: Tue Jul 23 06:22:43 GMT 2024

Total time taken to generate the page: 0.02423 seconds