LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-11-2023, 02:21 PM   #1
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417
Blog Entries: 43

Rep: Reputation: 36
Virtualbox: Steps to get USB working in Linux Mint with Linux Mint guest


Please give me the steps to install usb for virtualbox. Here's what I've already done:

* installed vbox from repository
* installed extpack from repository
* installed guest additions from cd in vm
* created vboxusers domain group on temporary windows server 2019 domain controller
* mapped the group on server to the local vboxusers group on host machine
* Added the standard users group to the server's vboxusers group
* Rebooted the system
* Logged onto the system with a domain user with normal permissions, including non administrator in linux mint
 
Old 10-11-2023, 07:34 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,724

Rep: Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918
Installing the extension pack gives you USB 2/3 support.
I typically download the extension pack directly from Oracle's website and install it via VBoxManager. Did you verify the extension pack was actually installed?

What do you exactly mean by get USB working? What type of USB device do you want to connect to your guest?

Using the Devices pull down menu on the guest select USB and click on the device you want to connect. You can not share a USB device i.e. it is only connected to the host or guest. Once connected to the guest it should be automatically recognized (depending on device type).

Quote:
Failed to access the USB subsystem.
VirtualBox is not currently allowed to access USB devices.
You can change this by adding your user to the 'vboxusers' group.
Are you seeing this message?
 
Old 10-12-2023, 01:01 AM   #3
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417

Original Poster
Blog Entries: 43

Rep: Reputation: 36
I think I can verfiy that it's installed, because somewhere I found a checkbox (green) by extension packs. I have no use case yet, but I will. One before, but I figured it out, was transferring files from host to guest, which I did in a complicated way. I couldn't get the shared folders to work either. No I'm not seeing that message from the gui, and I haven't ran terminal commands which might output that lately. However, the list of devices to add, still remains blank.
 
Old 10-12-2023, 07:00 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,724

Rep: Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918
Yes, in the extension pack manager there should be a green check mark indicating it is active.

Is the USB controller enabled in VBoxManager for the guest?
 
Old 10-13-2023, 10:15 PM   #5
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417

Original Poster
Blog Entries: 43

Rep: Reputation: 36
Is the USB controller enabled in VBoxManager for the guest?

That's a good question. How do you do that? I seem to remember this particular thing, just working on windows. I understand why it might not, it might be more flexible when you get used to it, like samba. My machine is indeed working better with linux mint. However, this adding to the group and everything is a bit new to me. I've never solved all my personal problems to get windows or linux working (on my home network). I'm really hoping I can with linux mint! But this is a bit new, and that was the thing it didn't say in the steps I read. I should probably include the search I went through, so here it is:

https://www.google.com/search?q=step...client=gws-wiz

Yes, the checkbox is there. And this is probably exactly what I did NOT do, I bet.

Last edited by des_a; 10-13-2023 at 10:16 PM. Reason: Didn't mention the checkbox
 
Old 10-13-2023, 10:26 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,724

Rep: Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918
Quote:
That's a good question. How do you do that?
In VboxManager select system -> USB for the guest. There is a checkbox to enable USB.
 
Old 10-13-2023, 10:38 PM   #7
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417

Original Poster
Blog Entries: 43

Rep: Reputation: 36
I used:

Code:
boxmanage modifyvm main-des --usb on
Which may or may not be right. The command succeeded. I did not see any change in the gui. It's still not detecting my USB devices. Perhaps this will help:

I have at a minimum, these USB devices attatched;

* Directly in the machine, a USB docking station Diamond Multimedia v2 ds (something or other)
* All other usb devices attatched through it, drivers for ubuntu latest at time of writing, installed
* dvd drive
* zip disk drive
* floppy disk drive
* usb smart lamp (bar)
* speakers
* usb splitter
* usb splitter
* 4 port kvm switch with sound and microphone from trendnet
* montior
* wireless keyboard and mouse
* usb light
* montior sound

Somewhere is the following:
* usb to searel port adapter
* macro keyboard
* other stuff???


When I take it to my office at my mom's:

* Same, but v3 docking station
* 2 port kvm switch with no sound or microphone
* montior
* wireless keyboard and mouse
* usb smart lamp (bar)
* speakers

I think that is all there.

The PC, appears to me so far to have only one other usb port. Perhaps something with the docking station or usb connector devices? It works on host machine. I don't want to pass though the whole docking station. That results in funniness. I just want to pass through the other devices most connected to it.
 
Old 10-13-2023, 10:39 PM   #8
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417

Original Poster
Blog Entries: 43

Rep: Reputation: 36
I believe the vm does not have the drivers installed.
 
Old 10-13-2023, 11:07 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,724

Rep: Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918
The docking station could be the problem. The devices may not be passed through to the guest. I have no problem seeing USB devices on my guests but I only have a keyboard/mouse, external drives and the occasional USB serial port adaper.
 
Old 10-24-2023, 11:14 PM   #10
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417

Original Poster
Blog Entries: 43

Rep: Reputation: 36
Sorry I haven't posted in awhile. I had Internet down. The problem is fixed now. I will resume things again now.
 
Old 10-24-2023, 11:40 PM   #11
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417

Original Poster
Blog Entries: 43

Rep: Reputation: 36
https://github.com/orgs/linuxmint/discussions/195

The issues I've been facing that WERE more important. I think I've got solutions now to them. Or at least good enough to move on.
 
Old 10-29-2023, 07:26 AM   #12
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417

Original Poster
Blog Entries: 43

Rep: Reputation: 36
It appears as if it still doesn't work, even though I rewired mine into a new USB splitter. This should've worked then, and allowed me to see my USB devices. I must not have something right. Should I manage the vbox users group just like a regular local group? Would that help?
 
Old 11-11-2023, 05:46 PM   #13
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417

Original Poster
Blog Entries: 43

Rep: Reputation: 36
Do you think the problem left is my "crazy" way of adding to the group? Remember, I mapped it to a group in AD, which I then populated. Could that actually be a problem? I have another idea for joining it to AD, that might work better, if this could be a problem.
 
Old 11-24-2023, 11:53 PM   #14
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417

Original Poster
Blog Entries: 43

Rep: Reputation: 36
I changed my configuration so that the configuration is more traditonal. It still won't work. I guess at this point, it's a bug. Is there another hypervisor for linux mint that will allow me to convert images from vbox to it? Or can we fix the problem?
 
Old 11-25-2023, 11:04 AM   #15
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417

Original Poster
Blog Entries: 43

Rep: Reputation: 36
I also plugged a device directly in, and it still didn't work.
 
  


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
4MLinux as VirtualBox guest - how can I install VirtualBox Guest Additions? wghay 4MLinux 11 09-30-2018 12:17 PM
LXer: How to improve VirtualBox guest performance in five steps LXer Syndicated Linux News 0 02-02-2017 04:30 PM
Guest to Host message passing - guest's memory usage statistics & guest's IP address Prince_Pangeni Linux - Virtualization and Cloud 2 03-03-2012 03:06 AM
Host Fedora14, Windows 7 is running as Virtualbox guest- Mic is not working on Guest mwaheed Linux - Virtualization and Cloud 1 10-20-2011 12:51 PM
Virtualbox Gentoo Guest - Can't get guest additions working MALDATA Gentoo 3 06-18-2009 11:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:50 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