You are not logged in.

#1 2012-09-17 09:13:17

GutenYe
Member
From: China
Registered: 2011-11-27
Posts: 44
Website

[SOLVED] Virtualbox list usb devices is empty.

I moved from virtualbox_bin(AUR) to virtualbox(community), and remove /proc/bus/usb entry in /etc/fstab, after that the usb doesn't work.   I can check 'Enable USB 2.0 (EHCI) Controller' in Virtualbox settings, but can't find any available usb devices.

$ pacman -Qs virtualbox

local/virtualbox 4.1.22-1
    Powerful x86 virtualization for enterprise as well as home use
local/virtualbox-additions 4.1.22-1
    The official all-in-one VirtualBox Guest Additions ISO/CD image
local/virtualbox-ext-oracle 4.1.22-1
    Oracle VM VirtualBox Extension Pack
local/virtualbox-hook 2.1-1
    mkinitcpio hook to compile the virtualbox modules
local/virtualbox-modules 4.1.22-1
    Kernel modules for VirtualBox
local/virtualbox-source 4.1.22-1
    VirtualBox kernel modules source

$  VBoxManage list usbhost

Host USB Devices:

<none>

$ ls /dev/usbbox

ls: cannot access /dev/usbbox: No such file or directory

$ groups

log kvm network video audio optical storage users vboxusers guten input libvirt davfs2 virtftp

$ lsusb

Bus 001 Device 002: ID 0424:2513 Standard Microsystems Corp. 2.0 Hub
Bus 001 Device 003: ID 05ac:8509 Apple, Inc. FaceTime HD Camera
Bus 002 Device 002: ID 0424:2513 Standard Microsystems Corp. 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 001 Device 005: ID 05ac:0252 Apple, Inc. Internal Keyboard/Trackpad (ANSI)
Bus 002 Device 003: ID 05ac:8242 Apple, Inc. IR Receiver [built-in]
Bus 002 Device 004: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 008: ID 05ac:821a Apple, Inc. Bluetooth Host Controller
Bus 002 Device 005: ID 046d:c05a Logitech, Inc. Optical Mouse M90
Bus 002 Device 008: ID 0951:1624 Kingston Technology DataTraveler G2 4GB Pen Drive
Bus 002 Device 007: ID 413c:2003 Dell Computer Corp. Keyboard

Last edited by GutenYe (2012-09-17 12:38:58)


Linux, Vim, Ruby, Javascript and Go.

Offline

#2 2012-09-17 09:34:06

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Virtualbox list usb devices is empty.

Ok, good. You have the extension pack installed and are a member of the "vboxusers" group.

Either reboot if you updated the linux package recently, or activate USB functionallity from Settings - USB - Enable USB blablabla 2.0.


Then you need to "plug in" the USB device, from the virtual machine's window. From the top bar, choose Devices - USB Devices - <your_device>. Alternatively, you can add a USB filter by right clicking the VM - Settings - USB - Add Filter from Device (green plus icon). This way it's "plugged in" automatically when it's detected. May not work so well with saving the machine state, though.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#3 2012-09-17 09:57:40

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED] Virtualbox list usb devices is empty.

Check that you have the required udev rule file:  10-vboxdrv.rules

Offline

#4 2012-09-17 11:45:24

GutenYe
Member
From: China
Registered: 2011-11-27
Posts: 44
Website

Re: [SOLVED] Virtualbox list usb devices is empty.

Thanks for helping.

What I did to solve the problem. And I believe it's a configuration file problem.

1. I backup VirtualBox.xml file, and create a new one using `Virtualbox`, then merge back.
2. rm /etc/udev/rule.d/10-vboxdrv.rules, it seems virtualbox use /usr/lib/udev/rules.d/10-boxdrv.rules now.

Last edited by GutenYe (2012-09-17 11:45:52)


Linux, Vim, Ruby, Javascript and Go.

Offline

#5 2012-09-17 12:34:48

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Virtualbox list usb devices is empty.

you need to add your user to vboxusers group.


Give what you have. To someone, it may be better than you dare to think.

Offline

#6 2012-09-17 12:39:26

GutenYe
Member
From: China
Registered: 2011-11-27
Posts: 44
Website

Re: [SOLVED] Virtualbox list usb devices is empty.

wonder wrote:

you need to add your user to vboxusers group.

Thanks. It's already solved.


Linux, Vim, Ruby, Javascript and Go.

Offline

#7 2014-02-11 12:28:33

Kg4XmtUSyxd8B9M7Ex&&KXZGF
Member
Registered: 2013-11-29
Posts: 2

Re: [SOLVED] Virtualbox list usb devices is empty.

I am having the same problem and have tried "everything" and still cannot get it to work.


calpoly@arch:~$ cat /etc/group | grep vboxusers

vboxusers:x:108:calpoly,root

calpoly@arch:~$ lsusb

Bus 004 Device 003: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 05ac:12a0 Apple, Inc. iPhone 4S
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

calpoly@arch:~$ sudo pacman -Qs virtualbox

local/virtualbox 4.3.6-3
    Powerful x86 virtualization for enterprise as well as home use
local/virtualbox-guest-dkms 4.3.6-3
    VirtualBox Guest kernel modules sources
local/virtualbox-guest-modules 4.3.6-4
    Guest kernel modules for VirtualBox
local/virtualbox-guest-utils 4.3.6-3
    VirtualBox Guest userspace utilities
local/virtualbox-host-modules 4.3.6-4
    Host kernel modules for VirtualBox
local/virtualbox-host-modules-lts 4.3.6-5
    Host kernel modules for VirtualBox
calpoly@arch:~$ sudo VBoxManage controlvm windowSeven usbattach 609c101d-ef6a-401a-ad15-306f3e7bc8ae
VBoxManage: error: The USB device with UUID {00000010-0030-0000-90f9-0560b57f0000} is not currently attached to the host
VBoxManage: error: Details: code NS_ERROR_INVALID_ARG (0x80070057), component USBProxyService, interface IHost, callee nsISupports
VBoxManage: error: --------
VBoxManage: error: Could not load the Host USB Proxy service: VERR_NOT_FOUND
VBoxManage: error: Details: code Unknown Status 0x4005 (0x4005), component Host, interface IHost
VBoxManage: error: Context: "AttachUSBDevice(usbId.raw())" at line 973 of file VBoxManageControlVM.cpp
calpoly@arch:~$ sudo VBoxManage showvminfo windowSeven
Name:            windowSeven
Groups:          /
Guest OS:        Windows 7
UUID:            609c101d-ef6a-401a-ad15-306f3e7bc8ae
Config file:     /root/VirtualBox VMs/windowSeven/windowSeven.vbox
Snapshot folder: /root/VirtualBox VMs/windowSeven/Snapshots
Log folder:      /root/VirtualBox VMs/windowSeven/Logs
Hardware UUID:   609c101d-ef6a-401a-ad15-306f3e7bc8ae
Memory size:     2048MB
Page Fusion:     off
VRAM size:       128MB
CPU exec cap:    100%
HPET:            off
Chipset:         piix3
Firmware:        BIOS
Number of CPUs:  2
PAE:             off
Long Mode:       off
Synthetic CPU:   off
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): DVD
Boot Device (2): HardDisk
Boot Device (3): Network
Boot Device (4): Floppy
ACPI:            on
IOAPIC:          on
Time offset:     0ms
RTC:             local time
Hardw. virt.ext: on
Nested Paging:   on
Large Pages:     off
VT-x VPID:       on
VT-x unr. exec.: on
State:           powered off (since 2014-02-11T12:16:18.000000000)
Monitor count:   1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address: 
Teleporter Password: 
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration: 
Autostart Enabled: off
Autostart Delay: 0
Default Frontend: 
Storage Controller Name (0):            IDE
Storage Controller Type (0):            PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  2
Storage Controller Port Count (0):      2
Storage Controller Bootable (0):        on
Storage Controller Name (1):            SATA
Storage Controller Type (1):            IntelAhci
Storage Controller Instance Number (1): 0
Storage Controller Max Port Count (1):  30
Storage Controller Port Count (1):      1
Storage Controller Bootable (1):        on
IDE (1, 0): Empty
SATA (0, 0): /media/disk/VirtualBox OS X HDD/windowSeven.vdi (UUID: 5c44157f-350a-467c-a988-b4cfb8635fd5)
NIC 1:           MAC: 0800279A3907, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 1 Settings:  MTU: 0, Socket (send: 64, receive: 64), TCP Window (send:64, receive: 64)
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
Pointing Device: PS/2 Mouse
Keyboard Device: PS/2 Keyboard
UART 1:          disabled
UART 2:          disabled
LPT 1:           disabled
LPT 2:           disabled
Audio:           enabled (Driver: ALSA, Controller: HDA)
Clipboard Mode:  Bidirectional
Drag'n'drop Mode: Bidirectional
VRDE:            disabled
USB:             enabled
EHCI:            enabled

USB Device Filters:

<none>

Available remote USB devices:

<none>

Currently Attached USB Devices:

<none>

Bandwidth groups:  <none>

Shared folders:  

Name: 'music', Host path: '/media/disk/music' (machine mapping), writable

VRDE Connection:    not active
Clients so far:     0

Video capturing:    active
Capture screens:    0
Capture file:       /root/VirtualBox VMs/windowSeven/windowSeven.webm
Capture dimensions: 1024x768
Capture rate:       1024 kbps
Capture FPS:        25

Guest:
Configured memory balloon size:      0 MB

calpoly@arch:~$ sudo modprobe vboxdrv
calpoly@arch:~$ sudo modprobe -a vboxguest vboxsf vboxvideo
modprobe: ERROR: could not insert 'vboxguest': No such device
modprobe: ERROR: could not insert 'vboxsf': No such device
calpoly@arch:~$ sudo modprobe vboxnetflt
calpoly@arch:~$ sudo modprobe vboxsf
modprobe: ERROR: could not insert 'vboxsf': No such device
calpoly@arch:~$ sudo VBoxManage list usbhost

Host USB Devices:

<none>



Have rebooted and reinstalled virtualbox multiple times to no avail.
It is important to note that my iPhone used to sync with iTunes on Windows 7 in Virtualbox, but then I removed the USB filter and did some updates and now it no longer works.
I have spent many more hours than I care to admit on this problem, so please, any help is welcome.

Last edited by Kg4XmtUSyxd8B9M7Ex&&KXZGF (2014-02-11 12:33:00)

Offline

#8 2014-02-11 12:31:58

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Virtualbox list usb devices is empty.

Do you have the extension pack installed?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#9 2014-02-11 12:36:38

Kg4XmtUSyxd8B9M7Ex&&KXZGF
Member
Registered: 2013-11-29
Posts: 2

Re: [SOLVED] Virtualbox list usb devices is empty.

Yes.

Immediately after posting this and running all of the above commands, I rebooted.
and now this.

calpoly@arch:~$ sudo VBoxManage list usbhost

[sudo] password for calpoly: 
Host USB Devices:

UUID:               1c1750e1-f447-4a6e-9a96-6164a23bb1ff
VendorId:           0x045e (045E)
ProductId:          0x0745 (0745)
Revision:           6.99 (0699)
Port:               0
USB version/speed:  2/1
Manufacturer:       Microsoft
Product:            Microsoft® 2.4GHz Transceiver v7.0
Address:            sysfs:/sys/devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1.1//device:/dev/vboxusb/006/003
Current State:      Busy

UUID:               f1f487b7-6d04-4664-88a2-d306f75e8512
VendorId:           0x046d (046D)
ProductId:          0xc52f (C52F)
Revision:           22.0 (2200)
Port:               0
USB version/speed:  2/1
Manufacturer:       Logitech
Product:            USB Receiver
Address:            sysfs:/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.1//device:/dev/vboxusb/003/003
Current State:      Busy

UUID:               dfc79020-87f2-4c68-8cdc-c839e578f116
VendorId:           0x05ac (05AC)
ProductId:          0x12a0 (12A0)
Revision:           4.16 (0416)
Port:               1
USB version/speed:  2/2
Manufacturer:       Apple Inc.
Product:            iPhone
SerialNumber:       f99e029fcf19b19bacc9a465761476778d720a5f
Address:            sysfs:/sys/devices/pci0000:00/0000:00:1c.5/0000:05:00.0/usb1/1-2//device:/dev/vboxusb/001/002
Current State:      Busy

FML

No idea why and how. Some days I hate computers. Today is one of them.

Offline

#10 2014-02-11 15:48:07

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,740

Re: [SOLVED] Virtualbox list usb devices is empty.

Kg4XmtUSyxd8B9M7Ex&&KXZGF,
Welcome to Arch Linux.  I must say that user name is quite a mouthful.  Be careful of old threads, In the future, please start a nee thread rather than extending an old thread that has been marked as solved.  You can link back to the old thread if you feel it is relevant. 

I am glad your problem is solved (I think).  What probably happened is that you had updated your kernel without having rebooted.  When this happens, the kernel that is in memory can no longer find its modules as they will have been removed and replaced by the modules for the new kernel -- the one you do not use until you reboot.

If this is solved, I will go ahead and close this thread.  I gather from your Linux user name that we may be neighbors.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB