Public bug reported:

Binary package hint: udev

Note: I am one of the upstream VirtualBox developers.

Currently, VirtualBox upstream installs its own udev rule to let it
access USB devices using the raw device nodes under /dev/bus/usb.  This
is not particularly nice, as it basically means that we are trying to
redefine distribution udev policy instead of cooperating with it.  It
would be great if we could find a way of doing this that everyone agrees
on, so that we don't have to do "hostile takeovers" of devices.  I was
thinking along the lines of some distribution-provided way of selecting
USB devices (by device ID, or by USB port or whatever), so that the
devices selected would be made read and writeable to a particular group,
but also no longer used for other purposes - i.e. if a mass storage
device were selected, Ubuntu would not offer to open a Nautilus window
for it when it was inserted.

I filed this against udev because it seemed like a good starting place,
but not necessarily because I think that it is the right package to fix
this in.  In the first place, I am looking for a discussion of the best
way to deal with this.  I will also be talking to other distributions
about this, but I will wait to see what you think about it first.

A couple of additional notes.  I am interested in this feature for
VirtualBox, but of course it would be equally useful to other
virtualisers.  And the Linux kernel as of version 2.6.32 is due to add a
feature which will let the user select a physical USB port for use by
user-space only, so that the kernel will never attach drivers other than
those needed for user-space device access for devices plugged into those
ports.  See http://marc.info/?l=linux-usb&m=124650199917239&w=2 for more
details about this.

** Affects: udev (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Feature request: allow user to select USB devices for use with VirtualBox or 
others
https://bugs.launchpad.net/bugs/472544
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to