You are not logged in.

#1 2016-06-20 08:18:17

barko
Member
From: SLV
Registered: 2011-05-31
Posts: 72

virtualbox - no usb devices as user in the vboxusers group

Hi,
I have installed virtualbox, username is in the vboxusers, pc was rebooted few times already but stil i can't see usb devices as normal user.

I'm checking USB devices like this:

1)

VBoxManage list usbhost

or like this

2)

sudo VBoxManage list usbhost

In 1) I do not see USB devices at all
in 2) I see all USB devices

as I say up there, my username is already in the vboxusers group, my arch system is up to date.

any suggestions? thank you in advance.

Last edited by barko (2016-06-20 08:19:35)

Offline

#2 2016-06-20 09:03:38

madpierre
Member
Registered: 2016-05-27
Posts: 188

Re: virtualbox - no usb devices as user in the vboxusers group

Are you in vboxsf group?

Offline

#3 2016-06-20 09:06:18

barko
Member
From: SLV
Registered: 2011-05-31
Posts: 72

Re: virtualbox - no usb devices as user in the vboxusers group

madpierre wrote:

Are you in vboxsf group?

No, there is no such group in the /etc/group.

Offline

#4 2016-06-20 09:10:57

madpierre
Member
Registered: 2016-05-27
Posts: 188

Re: virtualbox - no usb devices as user in the vboxusers group

Really? Usually it's there and one must add vboxusers. Create the vboxsf group and add the username to it.

[Edit] Afterwards, reboot both the guest and the hypervisor.

Last edited by madpierre (2016-06-20 09:12:50)

Offline

#5 2016-06-20 09:18:17

barko
Member
From: SLV
Registered: 2011-05-31
Posts: 72

Re: virtualbox - no usb devices as user in the vboxusers group

madpierre wrote:

Really? Usually it's there and one must add vboxusers. Create the vboxsf group and add the username to it.

[Edit] Afterwards, reboot both the guest and the hypervisor.

Done. Same thing. Thanks for trying! smile

Offline

#6 2016-06-20 09:42:29

madpierre
Member
Registered: 2016-05-27
Posts: 188

Re: virtualbox - no usb devices as user in the vboxusers group

Is guest-additions installed?

When you rebooted did you first power-down the guest, reboot the hypervisor, then restart the guest?

What is the host OS?

On the guest, what is the output of $ pacman -Qs virtualbox?

Is the username in the users group?

Last edited by madpierre (2016-06-20 09:43:25)

Offline

#7 2016-06-20 10:22:32

barko
Member
From: SLV
Registered: 2011-05-31
Posts: 72

Re: virtualbox - no usb devices as user in the vboxusers group

Host OS: Linux office 4.6.2-1-ARCH #1 SMP PREEMPT Wed Jun 8 08:40:59 CEST 2016 x86_64 GNU/Linux
Guest OS: WinXP (but is not important, because I check USB devices with: "VBoxManage list usbhost"
Yes I have username in users group.

pacman -Qs virtualbox:

local/virtualbox 5.0.22-1
    Powerful x86 virtualization for enterprise as well as home use
local/virtualbox-ext-oracle 5.0.22-1
    Oracle VM VirtualBox Extension Pack
local/virtualbox-host-modules-arch 5.0.22-1
    Virtualbox host kernel modules for Arch Kernel

cat /usr/lib/udev/rules.d/60-vboxdrv.rules:

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+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"

From my side it seems all ok and it should work. Something is not ok here but I'm not sure what.

Offline

#8 2016-06-20 10:29:33

madpierre
Member
Registered: 2016-05-27
Posts: 188

Re: virtualbox - no usb devices as user in the vboxusers group

Install vbox-guest-iso on the host. (Some scenarios require guest-additions to be installed on the guest. You'll have to sort that one out. I haven't had Win as a guest for some time and I can't guarantee my memory to be accurate.)

Did you install the headers?

Last edited by madpierre (2016-06-20 10:31:04)

Offline

#9 2016-06-20 10:39:17

barko
Member
From: SLV
Registered: 2011-05-31
Posts: 72

Re: virtualbox - no usb devices as user in the vboxusers group

madpierre wrote:

Install vbox-guest-iso on the host. (Some scenarios require guest-additions to be installed on the guest. You'll have to sort that one out. I haven't had Win as a guest for some time and I can't guarantee my memory to be accurate.)

Did you install the headers?

Now I have all that installed. But still same result. No USB devices as normal user.

Offline

#10 2016-06-20 10:41:56

madpierre
Member
Registered: 2016-05-27
Posts: 188

Re: virtualbox - no usb devices as user in the vboxusers group

Did you reboot the machine itself?

Offline

#11 2016-06-20 10:44:04

barko
Member
From: SLV
Registered: 2011-05-31
Posts: 72

Re: virtualbox - no usb devices as user in the vboxusers group

madpierre wrote:

Did you reboot the machine itself?

Yes, countless times smile

Offline

#12 2016-06-20 10:46:55

madpierre
Member
Registered: 2016-05-27
Posts: 188

Re: virtualbox - no usb devices as user in the vboxusers group

This time?

Also, on the guest, does the USB show up in Devices > USB?

Offline

#13 2016-06-20 10:50:15

barko
Member
From: SLV
Registered: 2011-05-31
Posts: 72

Re: virtualbox - no usb devices as user in the vboxusers group

madpierre wrote:

This time?

Also, on the guest, does the USB show up in Devices > USB?

I do reboot every time I change something on system level; just to be sure. No, there is no USB devices there. USB devices are visible only in case I run this: sudo VBoxManage list usbhost.

sudo VBoxManage list usbhost:

Host USB Devices:

UUID:               9cbe095d-fba6-4e57-889d-3c028d0da673
VendorId:           0x046d (046D)
ProductId:          0xc31c (C31C)
Revision:           100.0 (10000)
Port:               0
USB version/speed:  1/Low
Manufacturer:       Logitech
Product:            USB Keyboard
Address:            sysfs:/sys/devices/pci0000:00/0000:00:12.0/usb5/5-1//device:/dev/vboxusb/005/002
Current State:      Busy

UUID:               d3767e4f-305d-4785-86b5-45b378ceafe8
VendorId:           0x04b8 (04B8)
ProductId:          0x013c (013C)
Revision:           1.0 (0100)
Port:               2
USB version/speed:  2/High
Manufacturer:       EPSON
Product:            Epson Perfection V19
SerialNumber:       VC9Y018615
Address:            sysfs:/sys/devices/pci0000:00/0000:00:12.2/usb3/3-3//device:/dev/vboxusb/003/004
Current State:      Available

UUID:               50af4a07-e7ba-4214-925b-cd9aef4c0f65
VendorId:           0x0cf3 (0CF3)
ProductId:          0x9271 (9271)
Revision:           1.8 (0108)
Port:               3
USB version/speed:  2/High
Manufacturer:       ATHEROS
Product:            USB2.0 WLAN
SerialNumber:       12345
Address:            sysfs:/sys/devices/pci0000:00/0000:00:12.2/usb3/3-4//device:/dev/vboxusb/003/005
Current State:      Busy

UUID:               27ffbd93-905a-4b75-944d-26dc1ce4a45e
VendorId:           0x1bcf (1BCF)
ProductId:          0x0005 (0005)
Revision:           0.20 (0020)
Port:               1
USB version/speed:  2/Low
Manufacturer:       Sunplus Innovation Technology Inc.
Product:            USB Optical Mouse
Address:            sysfs:/sys/devices/pci0000:00/0000:00:12.0/usb5/5-2//device:/dev/vboxusb/005/003
Current State:      Busy

VBoxManage list usbhost

VBoxManage list usbhost
Host USB Devices:

<none>

That's it.

Last edited by barko (2016-06-20 10:52:44)

Offline

#14 2016-06-20 11:09:00

madpierre
Member
Registered: 2016-05-27
Posts: 188

Re: virtualbox - no usb devices as user in the vboxusers group

Did you put the USB device in the machine's USB Device Filters?

Offline

#15 2016-06-20 11:11:57

barko
Member
From: SLV
Registered: 2011-05-31
Posts: 72

Re: virtualbox - no usb devices as user in the vboxusers group

No, as there is no devices there listed.

Offline

#16 2016-06-20 11:19:56

madpierre
Member
Registered: 2016-05-27
Posts: 188

Re: virtualbox - no usb devices as user in the vboxusers group

Did you shut the virtual machine down, connect the USB, open the hypervisor control panel, select Settings > USB > click "Add a New USB Filter" (+) and select the USB? Then start the guest?

Last edited by madpierre (2016-06-20 11:22:22)

Offline

#17 2016-06-20 11:28:04

barko
Member
From: SLV
Registered: 2011-05-31
Posts: 72

Re: virtualbox - no usb devices as user in the vboxusers group

madpierre wrote:

Did you shut the virtual machine down, connect the USB, open the hypervisor control panel, select Settings > USB > click "add a New USB Filter (+) and select the USB? Then start the guest?

I'm trying that,, but there is no USB devices to add. List is empty.

Offline

#18 2016-06-20 11:35:26

madpierre
Member
Registered: 2016-05-27
Posts: 188

Re: virtualbox - no usb devices as user in the vboxusers group

Can you open the USB on the host machine?

Offline

#19 2016-06-20 11:37:24

barko
Member
From: SLV
Registered: 2011-05-31
Posts: 72

Re: virtualbox - no usb devices as user in the vboxusers group

madpierre wrote:

Can you open the USB on the host machine?

Yes, I'm using scanner, no problems.

Offline

#20 2016-06-20 11:37:49

madpierre
Member
Registered: 2016-05-27
Posts: 188

Re: virtualbox - no usb devices as user in the vboxusers group

List is empty.

Did you click on the one with the "+" sign, with the USB inserted and seen by the host?

Offline

#21 2016-06-20 11:39:38

barko
Member
From: SLV
Registered: 2011-05-31
Posts: 72

Re: virtualbox - no usb devices as user in the vboxusers group

madpierre wrote:

List is empty.

Did you click on the one with the "+" sign, with the USB inserted and seen by the host?

Yes. I did.

pic

As you can see, there is on the picture, but when I click on it, list is empty, no devices.

Last edited by barko (2016-06-20 11:46:23)

Offline

#22 2016-06-20 11:39:58

madpierre
Member
Registered: 2016-05-27
Posts: 188

Re: virtualbox - no usb devices as user in the vboxusers group

scanner

What type of device is this?

Offline

#23 2016-06-20 11:41:49

barko
Member
From: SLV
Registered: 2011-05-31
Posts: 72

Re: virtualbox - no usb devices as user in the vboxusers group

madpierre wrote:

scanner

What type of device is this?

lsusb:

Bus 001 Device 004: ID 04b8:013c Seiko Epson Corp. 

scanimage -L:

device `epkowa:interpreter:001:004' is a Epson Perfection V19 flatbed scanner

Offline

#24 2016-06-20 11:53:03

madpierre
Member
Registered: 2016-05-27
Posts: 188

Re: virtualbox - no usb devices as user in the vboxusers group

Plug a standard flash drive into the machine then see if it's seen in the hypervisor.

Offline

#25 2016-06-20 11:55:38

barko
Member
From: SLV
Registered: 2011-05-31
Posts: 72

Re: virtualbox - no usb devices as user in the vboxusers group

madpierre wrote:

Plug a standard flash drive into the machine then see if it's seen in the hypervisor.

Is not visible. Thank you for your input, I appreciate it.

Last edited by barko (2016-06-20 12:13:38)

Offline

Board footer

Powered by FluxBB