OpenVZ Forum - RDF feed
type: channel
items: accessing USB devices from a VE
items: Re: accessing USB devices from a VE

accessing USB devices from a VE
type: item
description: 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?
creator: n8behavior
date: 2006-10-26T20:10:17-00:00

Re: accessing USB devices from a VE
type: item
description: if it helps, i have found that my VPS's do not have /proc/bus where as, VE0 does have /proc/bus ...of course.
creator: n8behavior
date: 2006-10-26T20:23:55-00:00

Re: accessing USB devices from a VE
type: item
description: 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.
creator: Vasily Tarasov
date: 2006-10-27T07:10:23-00:00