You are not logged in.
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
Are you in vboxsf group?
Offline
Are you in vboxsf group?
No, there is no such group in the /etc/group.
Offline
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
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!
Offline
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
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
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
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
Did you reboot the machine itself?
Offline
Did you reboot the machine itself?
Yes, countless times
Offline
This time?
Also, on the guest, does the USB show up in Devices > USB?
Offline
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
Did you put the USB device in the machine's USB Device Filters?
Offline
No, as there is no devices there listed.
Offline
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
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
Can you open the USB on the host machine?
Offline
Can you open the USB on the host machine?
Yes, I'm using scanner, no problems.
Offline
List is empty.
Did you click on the one with the "+" sign, with the USB inserted and seen by the host?
Offline
List is empty.
Did you click on the one with the "+" sign, with the USB inserted and seen by the host?
Yes. I did.
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
scanner
What type of device is this?
Offline
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
Plug a standard flash drive into the machine then see if it's seen in the hypervisor.
Offline
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