LinuxQuestions.org
Help answer threads with 0 replies.
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 05-03-2014, 10:43 AM   #1
jayhel
Member
 
Registered: Nov 2004
Location: Montreal
Distribution: Slackware 14.1
Posts: 161

Rep: Reputation: 15
VirtualBox: USB2 is not working


Hi!
I installed VirtualBox from SlackBuild (all the packages)
USB2 is not working
Also my Win7 virtualmachine shows only a smal Win7 display of 1/3 of my screen size. Can't get a full size.

What can be wrong?

Thanks in advance

JL
 
Old 05-03-2014, 11:04 AM   #2
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
I'm not 100% certain, but I *believe* you need to install the extension pak in order to enable usb (or to easily enable it), plus guest additions should be installed (from within the vm) in order to get the flexibility with window sizing.

Plus, though it may not be your cup of tea, and no offense to those responsible for the slackbuilds, but I've had more success with the binaries...ymmv.

cheers,
 
1 members found this post helpful.
Old 05-03-2014, 11:36 AM   #3
jayhel
Member
 
Registered: Nov 2004
Location: Montreal
Distribution: Slackware 14.1
Posts: 161

Original Poster
Rep: Reputation: 15
Thank you for your suggestion, mrclisdue.
I installed all the packages including those you mentioned.
No way.
So I might go the way you did.
One question, though. Once everything compiled from the source, is everything working?
In my case I need an Ubuntu and a Win7 virtual machine.
Would they be working 100%?

Thanks,

JL
 
Old 05-03-2014, 11:50 AM   #4
DrKrieger
LQ Newbie
 
Registered: May 2014
Distribution: Slackware 14.1 multilib, Slackware64 14.1, Slackware 14.1
Posts: 7

Rep: Reputation: Disabled
You need to add a file for udev before usb will work with non-root users. (using the binary version from virtualbox.org anyways, not sure about from source)

/etc/udev/rules.d/60-vboxdrv.rules:
Quote:
KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600"
KERNEL=="vboxdrvu", NAME="vboxdrvu", OWNER="root", GROUP="root", MODE="0666"
KERNEL=="vboxnetctl", NAME="vboxnetctl", OWNER="root", GROUP="root", MODE="0600"
SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/opt/VirtualBox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/opt/VirtualBox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/opt/VirtualBox/VBoxCreateUSBNode.sh --remove $major $minor"
SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="/opt/VirtualBox/VBoxCreateUSBNode.sh --remove $major $minor"
 
Old 05-03-2014, 12:34 PM   #5
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
@jayhel

I've recently done 4 installs using -current and the binaries, and ultimately Win7 in a vm, and I've not had any issues whatsoever.

Also, DrKrieger may be on to something - I've never had to manually create that rule, so I'm going to assume it's created by the binary during the install, because it exists on my systems. So perhaps it's not created when installing the slackbuild?

cheers,
 
Old 05-03-2014, 03:21 PM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by jayhel View Post
Hi!
I installed VirtualBox from SlackBuild (all the packages)
USB2 is not working
Are you in the vboxusers group?
 
Old 05-03-2014, 03:59 PM   #7
jayhel
Member
 
Registered: Nov 2004
Location: Montreal
Distribution: Slackware 14.1
Posts: 161

Original Poster
Rep: Reputation: 15
I desinstalled the Slackbuild's VirtualBox.
I installed the VirtualBox(dot)org version instead along with the extension pack.
Now the USB2 is working fine.
But Win7 stays in a window half the size of the hp240's screen and doesn't expand to full screen.
So now the question is:
How to have Win7 full screen?

JL
 
Old 05-03-2014, 05:35 PM   #8
jayhel
Member
 
Registered: Nov 2004
Location: Montreal
Distribution: Slackware 14.1
Posts: 161

Original Poster
Rep: Reputation: 15
Solved!
I desinstalled the Slackbuild's VirtualBox.
I installed the VirtualBox(dot)org version instead along with the extension pack.
Now the USB2 is working fine.
And I installed the Guest Additon in Win7.
Now I have Win7 working fine, full screen, also.

So everything is solved.

Thank you for your help.
Rgs,

JL
 
Old 05-04-2014, 09:12 AM   #9
slouchfuzz
LQ Newbie
 
Registered: May 2009
Distribution: Slackware, Mythbuntu
Posts: 24

Rep: Reputation: 7
There's a 'UserManual.pdf' that's included with every install (should be in /opt/VirtualBox/UserManual.pdf and also on their site) that comes in handy quite often. They keep it up to date with each version release too so when you're looking for something specific the Table of Contents is usually current.
 
  


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
USB2 storage devices not working unless I rmmod ehci_hcd davecs Linux - Hardware 3 03-17-2007 03:57 PM
trying to get win TV nova t usb2 working on Suse. duggodfrey Linux - Hardware 2 03-06-2007 03:13 AM
Installed USB2.0 card - sound stopped working DJOtaku Linux - Hardware 0 02-18-2005 01:23 AM
USB2 device only working at USB1!! movery Linux - Hardware 5 02-05-2005 08:02 AM
Linksys WUSB11 not working - on USB2 system WMD Linux - Wireless Networking 8 08-28-2004 07:48 PM

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

All times are GMT -5. The time now is 02:08 PM.

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