How to: Make the USB Ports Working in VirtualBox using Kubuntu Hardy Heron

Weather you’re running Windows XP or other Linux distro as a guest OS in VirtualBox on a Kubuntu Hardy Heron PC, you would still love to have the option to plug your favorite USB devices in right? Me too.

After having Virtualbox installed in my PC couple of days ago, I ran through that problem about USB devices. My guest OS, Windows XP and Ubuntu is not detecting both my A4 Tech Webcam and my USB Game pad. I thought all I need is just a simple restart to get it going but that doesn’t seem to be the case. It’s a good thing that our friendly google is around, so it just took me a couple of mins to get the USB ports working on both guest OS.

Enough said, let’s get started. This is actually a modified version from arsgeek.com on how he made the USB ports mounted in Windows XP. Windows XP is the guest OS in his Ubuntu Gutsy Gibbon. I did not open my Kterminal window using these steps. I’m trying to avoid typing any commands from the terminal as much as possible.

# USB Serial Converters
SUBSYSTEM==”usb_device”, GROUP=”usbusers”, GOTO=”usb_serial_start”

#
# Magic to make /proc/bus/usb work
#
#mkdir -p /dev/bus/usb/.usbfs
#domount usbfs“”/dev/bus/usb/.usbfs-obusmode=0700,devmode=0600,listmode=0644
#ln -s .usbfs/devices /dev/bus/usb/devices
#mount –rbind /dev/bus/usb /proc/bus/usb

#
# Magic to make /proc/bus/usb work
#
mkdir -p /dev/bus/usb/.usbfs
domount usbfs“”/dev/bus/usb/.usbfs-obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount –rbind /dev/bus/usb /proc/bus/usb

none /proc/bus/usb usbfs devgid=46,devmode=664 0 0

ALright! That’s it! All you need to do is fire up your virtualbox, load your guest OS and before you switch to seamless mode, go to Devices > and click the USB device that you would like to enable.



Similar Posts:

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed/Email and get articles like this delivered automatically.

Comments

# USB
SUBSYSTEM==”usb_device”, GROUP=”usbusers”, GOTO=”usb_start_…”

I don’t have such a line in my #USB section, all I have is
# USB
SUBSYSTEMS==”ieee1394″, GROUP=”plugdev”
SUBSYSTEMS==”mmc”, GROUP=”plugdev”
SUBSYSTEMS==”pcmcia”, GROUP=”plugdev”
LABEL=”block_end”

a bit further I have
# USB serial converters
SUBSYSTEM==”usb_device”, GOTO=”usb_serial_start”
SUBSYSTEM==”usb”, ENV{DEVTYPE}==”usb_device”, GOTO=”usb_serial_start”
GOTO=”usb_serial_end”
LABEL=”usb_serial_start”
ATTRS{idVendor}==”0403″, ATTRS{idProduct}==”6001″, \
MODE=”0660″, GROUP=”dialout”
LABEL=”usb_serial_end”

so where do i put the GROUP=”usbusers” ?

I’m sorry dirk for the confusion. I have edited my post. It should be under # USB Serial Converters

I don’t have those lines in my mountdevsubfs.sh file..?

Trackbacks

  1. RM Jones’ Adventure | A Great Blog About Ubuntu Linux
Leave a comment

(required)

(required)


website tracker