DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm using VirtualBox and I cant use usb ports. when I plug my usb hdd nothing happened.
and I downloaded some music files with limewire in Windows XP on VB. I want to copy or move them all in my home directory. How can I do that?
Well. i was kinda desperate this morning cuz i need to print my grade thesis for today, i was working with xp and office 2007 cuz my partner and me use groove to work on it.
And after searching a lot of inet i was sloppy, tired + flu and then voila (at 6:00 am lol)
Code:
pliqui@debian:~$ su
Password:
debian:/home/pliqui# VirtualBox &
And boom ! got full acces to usb devices. I do not recommend it, because root should be for command line and for maintenance and administrating the system. But i was in a hurry.
Now doing a little thinking, try adding your user to the virtualbox group, it's called vboxusers... i will kill myself if that works lol
You need to add the OS again, just simply follow this instructions
1.- Click New
2.- Choose a name and the OS type
3.- Get your memory size
4.- When you are in the Virtual Disk windows, choose existing instead of new, the click add and go to you user (not the root) virtual box folder and select the .vdi. By default Virtual box store the drive inside that folder, but you can place it in any folder.
I found something and it is very easy. Maybe I didnt see this before.
just enable usb. and start your system on virtual box.
and do it things like picture: http://img508.imageshack.us/img508/3553/usbsi1.png
My usb is kingston. when I press left button on mouse, this is ok. I can use usb and I can use my external harddrive
well, we dont need to be root!
and I try your advice phantom_cyph and it is also working for me. thanks.
I fiddled so much with this, going from forum to forum, and finally got it solved. I just put all posts together and this is the final result; at least it worked for me. I don't wish anybody to go through that hassle so here it is. Enjoy.
1. Make a "usersusb" group (or whatever suits you) and put yourself there
groupadd usersusb
usermod -a -G usersusb <username> #useradd -G usbusers <username>
2. Edit /etc/init.d/mountdevsubfs.sh
add these lines a little before the do_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
3. Change around line 37 /etc/udev/rules.d/91-permissions.rules for Lenny. Make look like this:
# usbfs-like devices
SUBSYSTEM=="usb_device", MODE="0664"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="usersusb", MODE="0664"
4. Edit /etc/fstab to include:
none /proc/bus/usb usbfs devgid=1002,devmode=664 0 0
#devgid --> is 1002--> grep usersusb /etc/group
#output: usersusb:x:1002:<username>
5. Create a filter in the USB devices list in sun vbox.
(plug in your device, add the filter, Ok, Exit application)
6. Reboot, start virtualbox, plug in your device. Your guest os should be able to see it.
7. from the host's console:
$VBoxManage list usbhost
UUID: 222222-1111-422f-b57e-b9c43dbce64d
VendorId: 0x01da (01DA)
ProductId: 0x0110 (0110)
Revision: 1.0 (0100)
Manufacturer: Sony
Product: DVD Cam-MassStorage
SerialNumber: 1234D11111111
Address: /proc/bus/usb/005/005
Current State: Captured
#now it says "Captured" whereas before all devices would say "Unavailable" and grayed out from the vbox guest os.
Side effect: /sys/kernel/debug/usbmon/ may be gone
To fix it, just do:
mount -t debugfs none_debugs /sys/kernel/debug
modprobe usbmon
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.