OpenVZ Forum


Home » General » Support » accessing USB devices from a VE
accessing USB devices from a VE [message #7830] Thu, 26 October 2006 20:10 Go to next message
n8behavior is currently offline  n8behavior
Messages: 2
Registered: October 2006
Junior Member
hello,

i am trying to install an application in a VE (i.e. did a vzctl enter) that requires the presence of a hardware dongle. this is a USB device that the installer looks for before continuing. it also must be there each time the app starts up. i can find the device in /proc/bus/usb/devices from the host.

How do I grant access to a USB device?
Re: accessing USB devices from a VE [message #7831 is a reply to message #7830] Thu, 26 October 2006 20:23 Go to previous messageGo to next message
n8behavior is currently offline  n8behavior
Messages: 2
Registered: October 2006
Junior Member
if it helps, i have found that my VPS's do not have /proc/bus

where as, VE0 does have /proc/bus ...of course.
Re: accessing USB devices from a VE [message #7840 is a reply to message #7830] Fri, 27 October 2006 07:10 Go to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello,

The question is how application you're installing find out the precense of dongle device...
I suppose it should look not in /sys/*, but rather in /dev/*. If it is so, then just export device in question to VE using:
--devnodes parameter of vzctl (look in vzctl man page for further information).

HTH,
vass.
Previous Topic: ipv6 and tspc
Next Topic: To many open files
Goto Forum:
  


Current Time: Fri Jul 12 06:30:35 GMT 2024

Total time taken to generate the page: 0.02368 seconds