Slackware 13.0, VirtualBox and USB Flash Drive Works (Sorta)
SlackwareThis Forum is for the discussion of Slackware 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.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
Slackware 13.0, VirtualBox and USB Flash Drive Works (Sorta)
After a lot of fooling around (and some good advice from some folks), I've discovered that this entry in /etc/fstab will allow VirtualBox to "see" a flash drive plugged into a USB port (and a guest WinXP installation sees it and connects to it):
On the downside, Slackware 13.0 can't see it anymore, but you can't have everything, I s'pect. I suppose I can just edit /etc/fstab whenever I want to use a flash drive then edit it back again so the automagic mount will happen ... or just add a mount point in /mnt and manually mount it when I need it.
After a lot of fooling around (and some good advice from some folks), I've discovered that this entry in /etc/fstab will allow VirtualBox to "see" a flash drive plugged into a USB port (and a guest WinXP installation sees it and connects to it):
On the downside, Slackware 13.0 can't see it anymore, but you can't have everything, I s'pect. I suppose I can just edit /etc/fstab whenever I want to use a flash drive then edit it back again so the automagic mount will happen ... or just add a mount point in /mnt and manually mount it when I need it.
Ah, progress.
The solution may be to use devgid=83 (where 83 is plugdev) and to ensure the user of VirtualBox VMs is in group plugdev.
Last edited by catkin; 10-19-2009 at 01:18 PM.
Reason: Spurious apostrophe expungement :-)
(where 83 is the GID of the plugdev group) works on both the Slackware side and the VirtualBox side.
Hello guys,
i have the same problem with my usb webcam. I have Slackware13 64 and Virtualbox with Slakcware13 32 inside. I found as well that one must edit fstab. I did as Catkin advised but no luck. When i start Virtualbox it starts and the moment the lilo shows up the mouse and keyboard die. Then only reset button works
Btw i added myself to the groups of virtualbox and plugdev. I also enabled USB and added the usb devices in the settings for the VM.
Hi again,
i solved the problem with the mouse and keyboard but i still cant use my webcam in virtualbox. That is strange though. Mouse and keyb are usb and are working why not the webcam?
I dont get it.
Hi again,
i solved the problem with the mouse and keyboard but i still cant use my webcam in virtualbox. That is strange though. Mouse and keyb are usb and are working why not the webcam?
I dont get it.
Please help!
How did you solve your problem? So someone else can know if they have the same issue.
Hi again,
i solved the problem with the mouse and keyboard but i still cant use my webcam in virtualbox. That is strange though. Mouse and keyb are usb and are working why not the webcam?
I dont get it.
The mouse and keyboard are USB devices but they should not be attached to the VM as USB devices or they would no longer work on the host. AFAIK VirtualBox "borrows" the host's mouse and keyboard when the virtual machine needs them and is thus able to use them regardless of how they are connected to the host -- USB, PS/2, serial ...
When you are running the virtual machine and attach the web cam, does it show when (not in full screen mode) you click on the window's Devices->"USB Devices"? If so you can select it there and it should be connected to the virtual machine; this you can test with the lsusb command.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.