[opensuse] 11.4 Virtualbox USB broken by hdjmod-kmp and libmtp8 (Amarok)
Packages hdjmod-kmp-desktop and libmtp8 apparently break USB in Virtualbox under openSUSE-11.4. I was able to correct the problem by removing those offending packages. OpenSUSE-11.2 did not have this problem, neither does Ubuntu-11.4. It has nothing to do with permissions and /etc/udev/rules.d/XX-vboxdrv.rules, - I tried several variants, even logged in as root. Thank you for your ideas. Gory details ============ openSUSE-11.4. (no problem with OpenSUSE-11.2 and Ubuntu-11.4) VirtualBox-4.0.8-71778-Linux_amd64.run Oracle_VM_VirtualBox_Extension_Pack-4.0.8-71778.vbox-extpack - generic version and Extension Pack from virtualbox.org (same problem with 3.2.12) Guest OS: Windows-2000 + SP4 + Guest Additions Enabled USB controller, Enabled USB 2.0 (EHCI) Start Windows-2000 VM. Plug in USB scanner. (or visa versa, - doesn't matter) The following error messages pops up in the VM window: "Failed to attach the USB device Canon CanoScan [0200] to the virtual machine. Failed to create a proxy device for the USB device. (Error: VERR_READ_ERROR). Details-> Result code: NS_ERROR_FAILURE ... " # cat /var/log/messages // my comments: USB device plugged May 30 20:38:53 goblin kernel: [ 1112.971022] usb 1-1: new high speed USB device using ehci_hcd and address 3 May 30 20:38:54 goblin kernel: [ 1113.086907] usb 1-1: New USB device found, idVendor=04a9, idProduct=220c May 30 20:38:54 goblin kernel: [ 1113.086910] usb 1-1: New USB device strings: Mfr=3, Product=4, SerialNumber=0 May 30 20:38:54 goblin kernel: [ 1113.086913] usb 1-1: Product: CanoScan May 30 20:38:54 goblin kernel: [ 1113.086915] usb 1-1: Manufacturer: Canon May 30 20:38:54 goblin mtp-probe: checking bus 1, device 3: "/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-1" May 30 20:38:55 goblin mtp-probe: bus: 1, device: 3 was not an MTP device May 30 20:38:55 goblin kernel: [ 1114.330560] usbcore: registered new interface driver hdj_mod # Searched installed packages for "hdj", found: hdjmod-kmp-desktop (Support for Hercules DJ Devices) Removed. ---------- Restart VM, unplug USB cable. Same error in the VM window. # cat /var/log/messages: // my comments: USB device plugged May 30 22:17:35 goblin kernel: [ 7034.750022] usb 1-1: new high speed USB device using ehci_hcd and address 9 May 30 22:17:35 goblin kernel: [ 7034.865814] usb 1-1: New USB device found, idVendor=04a9, idProduct=220c May 30 22:17:35 goblin kernel: [ 7034.865818] usb 1-1: New USB device strings: Mfr=3, Product=4, SerialNumber=0 May 30 22:17:35 goblin kernel: [ 7034.865820] usb 1-1: Product: CanoScan May 30 22:17:35 goblin kernel: [ 7034.865822] usb 1-1: Manufacturer: Canon May 30 22:17:35 goblin mtp-probe: checking bus 1, device 9: "/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-1" May 30 22:17:37 goblin mtp-probe: bus: 1, device: 9 was not an MTP device May 30 22:18:15 goblin pulseaudio[2576]: ratelimit.c: 240 events suppressed # What does mtp-probe want from a flat bed scanner? Searched installed packages for "mtp", found: libmtp8 (Library for accessing MTP Players: Creative Zen, iRiver, Samsung, required by amarok-2.4.0) Removed libmtp8. Kept Amarok. ---------- Restart VM, unplug USB cable. # cat /var/log/messages // plugged USB device Jun 2 21:42:36 goblin kernel: [14467.683025] usb 1-1: new high speed USB device using ehci_hcd and address 5 Jun 2 21:42:36 goblin kernel: [14467.798899] usb 1-1: New USB device found, idVendor=04a9, idProduct=220c Jun 2 21:42:36 goblin kernel: [14467.798903] usb 1-1: New USB device strings: Mfr=3, Product=4, SerialNumber=0 Jun 2 21:42:36 goblin kernel: [14467.798906] usb 1-1: Product: CanoScan Jun 2 21:42:36 goblin kernel: [14467.798908] usb 1-1: Manufacturer: Canon // Start VM Jun 2 21:43:07 goblin pulseaudio[14686]: ratelimit.c: 7 events suppressed Jun 2 21:43:28 goblin kernel: [14519.164025] usb 1-1: reset high speed USB device using ehci_hcd and address 5 Jun 2 21:45:01 goblin kernel: [14612.307034] usb 1-1: reset high speed USB device using ehci_hcd and address 5 # Now USB works. A side note: Why pulseaudio can't shut up? # cat /etc/udev/rules.d/10-vboxdrv.rules KERNEL=="vboxdrv", NAME="vboxdrv", 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" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
Michael M