LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-15-2009, 03:49 PM   #1
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Virtualbox and usb


Does the Virtualbox slackbuild from Slackbuilds.org have usb support?
 
Old 10-15-2009, 03:55 PM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
No, you'll need to get the PUEL version for that.
http://www.virtualbox.org/wiki/Downloads
 
Old 10-15-2009, 04:31 PM   #3
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649

Original Poster
Blog Entries: 1

Rep: Reputation: 67
OK..What does THAT entail?

What else will I need besides just the source for that?

(Like in the SlackBuild, I needed 4-5 d/l's for it to work)
 
Old 10-15-2009, 04:35 PM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
It's a script you download and run. It installs VirtualBox, makes and installs the modules, creates the vboxusers group (you have to add yourself), no trouble at all.
 
Old 10-15-2009, 04:36 PM   #5
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,094

Rep: Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271
Quote:
Originally Posted by cwwilson721 View Post
OK..What does THAT entail?

What else will I need besides just the source for that?

(Like in the SlackBuild, I needed 4-5 d/l's for it to work)
I'm not sure the source for the PUEL version is available. You can download the package directly from Sun. It is very easy to setup and install.

http://www.virtualbox.org/wiki/Linux_Downloads

You would want the last one in the first list:

"All distributions i386 | AMD64"

Right click on which one you want, 32 bit or 64 bit, and select,
"Save Linked Content As", and save it to your hard drive. Once done,
type, sh nameoffile.run
and you are off to the races.

Last edited by cwizardone; 10-15-2009 at 04:43 PM.
 
Old 10-15-2009, 05:45 PM   #6
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649

Original Poster
Blog Entries: 1

Rep: Reputation: 67
Yes..Done that..But it sees NO usb devices yet...sigh...
 
Old 10-15-2009, 05:58 PM   #7
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649

Original Poster
Blog Entries: 1

Rep: Reputation: 67
OK..got the filters supposedly setup, but the guest (XP32) doesn't see ANY usb devices...

What am I doing wrong?
 
Old 10-15-2009, 06:06 PM   #8
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,094

Rep: Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271
Quote:
Originally Posted by cwwilson721 View Post
OK..got the filters supposedly setup, but the guest (XP32) doesn't see ANY usb devices...

What am I doing wrong?
In /opt/VirtualBox/
you will find a User's manual in the form of a .pdf file.
The section on setting up USB access starts around page 23, but you might want to skip ahead to the troubling shooting section on page 152.
Good Luck.

Last edited by cwizardone; 10-15-2009 at 06:12 PM.
 
Old 10-15-2009, 06:16 PM   #9
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Have you installed the Guest Additions, it's an option in the Machine menu? That might help, I haven't got round to trying USB with my virtual XP Pro yet.
 
Old 10-15-2009, 06:24 PM   #10
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649

Original Poster
Blog Entries: 1

Rep: Reputation: 67
Got it figured out..Had to start w/sudo
 
Old 10-15-2009, 06:55 PM   #11
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 581

Rep: Reputation: 38
Try adding this:
Code:
none             /sys/bus/usb/drivers usbfs devgid=102,devmode=664 0 0
to your /etc/fstab. The devgid is the group ID for the vboxusers group. Then you won't have to run as root.

You might also have to add this:
Code:
usbfs           /proc/bus/usb       usbfs       auto             0   0
As well, so that /etc/rc.d/rc.S mounts it correctly. The previous line, "breaks" the mount of /proc/bus/usb in /etc/rc.d/rc.S, or at least it did in Slack 12.2.

Cheers.
 
Old 10-15-2009, 08:09 PM   #12
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649

Original Poster
Blog Entries: 1

Rep: Reputation: 67
Was not that. Was in right groups, etc..

Was resolved by either:
  • Run as root. While the MS preferred way, it ain't mine.
  • sudo VirtualBox.
So guess which one I chose? And as soon as I did, it started installing the usb devices straight out.
 
Old 10-15-2009, 08:22 PM   #13
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,094

Rep: Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271Reputation: 7271
Quote:
Originally Posted by cwwilson721 View Post
Was not that. Was in right groups, etc..

Was resolved by either:
  • Run as root. While the MS preferred way, it ain't mine.
  • sudo VirtualBox.
So guess which one I chose? And as soon as I did, it started installing the usb devices straight out.
Something is wrong. You shouldn't have to do that. Sorry, the reason doesn't come to mind at the moment.
 
Old 10-15-2009, 08:27 PM   #14
jedi_sith_fears
Member
 
Registered: Jan 2008
Location: Kolkata
Distribution: Debian GNU/Linux bookworm/sid
Posts: 136
Blog Entries: 1

Rep: Reputation: 29
Virtualbox OSE dosen't have rdp or usb support at this moment.
 
Old 10-16-2009, 01:02 AM   #15
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by MQMan View Post
Try adding this:
Code:
none             /sys/bus/usb/drivers usbfs devgid=102,devmode=664 0 0
to your /etc/fstab. The devgid is the group ID for the vboxusers group.
That is the standard advice but I think it may break other USB usage. Please correct me if I'm wrong; I reason as follows. Slackware has the plugdev group for USB devices; users in the vboxusers group are not the only users of USB file systems. If that's right a safer configuration is to leave the fstab line with devgid=<plugdev GID> and make sure the VitualBox user is in group plugdev.

EDIT:

Anyone choosing to use the vboxusers group for devgid should check the number of that group in /etc/group rather than use 102. AFAIK the VirtualBox installation procedure chooses the first free GID above 100. If 102 is already in use, vboxusers will be created with a different GID.

Last edited by catkin; 10-17-2009 at 02:31 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot use any USB devices in VirtualBox davidguygc Linux - Hardware 7 06-14-2010 08:36 AM
USB support for virtualbox Brian H Linux - Newbie 10 02-12-2010 02:07 PM
VirtualBox; USB; Permissions. Peacepunk Slackware 3 02-03-2009 07:42 PM
USB Scanner help with VirtualBox linubex Mandriva 2 10-02-2007 10:49 PM
USB: Virtualbox - tried everything! adamruss Linux - Software 1 07-27-2007 08:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration