VirtualBox

Ticket #3610 (closed defect: wontfix)

Opened 5 years ago

Last modified 4 years ago

VBox 2.2.0 Beta 2 unable to attach usb devices with Solaris host

Reported by: jmcp Owned by:
Priority: major Component: USB
Version: VirtualBox 2.1.4 Keywords:
Cc: Guest type: Windows
Host type: Solaris

Description

With Solaris Express Community Edition build 110 (snv_110), I cannot attach my Nokia N95 phone via usb in the "PC Link" mode - this is where the device exposes all usb endpoints, some of which have multiple child drivers.

When I attach the device and select "Data Transfer" mode (scsa2usb) the device's memory card is visible and usable in Windows Explorer.

What I want, though, is to see the phone attached using its PC Link mode, so I can use it with the Nokia PC Suite application.

Attachments

messages.220beta2 Download (18.1 KB) - added by jmcp 5 years ago.
usbmapping-error.png Download (15.8 KB) - added by GerryH 5 years ago.
what vbox shows wenn I try to connect the usb device to the guest
usberror.gif Download (3.6 KB) - added by GerryH 5 years ago.
what vbox shows wenn I try to connect the usb device to the guest

Change History

Changed 5 years ago by jmcp

comment:1 Changed 5 years ago by jmcp

screenshot exceeds max size, so here's the text that appears in the error window:

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Console
Interface: IConsole

{9511bc54-15ee-4ddf-808e-472aba03809c}

comment:2 Changed 5 years ago by GerryH

I have the same issue using 2.2.0 final on opensolaris 2008.11 (snv_109) as host with Windows XP as guest. it doesn't work with "PC Suite" USB Mode

here what my /var/adm/messages tells

Apr 17 18:42:10 gerhard last message repeated 1 time
Apr 17 18:42:20 gerhard usba: [ID 912658 kern.info] USB 2.0 device (usb421,ab) operating at full speed (USB 1.x) on USB 1.10 root hub: communications@1, usb_mid3 at bus address 2
Apr 17 18:42:20 gerhard usba: [ID 349649 kern.info] 	Nokia  E71
Apr 17 18:42:20 gerhard genunix: [ID 936769 kern.info] usb_mid3 is /pci@0,0/pci1179,1@1d/communications@1
Apr 17 18:42:20 gerhard genunix: [ID 408114 kern.info] /pci@0,0/pci1179,1@1d/communications@1 (usb_mid3) online
Apr 17 18:42:20 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 0 (nodename: 'communications') of Nokia  E71
Apr 17 18:42:20 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 1 (nodename: 'communications') of Nokia  E71
Apr 17 18:42:20 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 2 (nodename: 'communications') of Nokia  E71
Apr 17 18:42:20 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 3 (nodename: 'data') of Nokia  E71
Apr 17 18:42:20 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 4 (nodename: 'communications') of Nokia  E71
Apr 17 18:42:20 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 5 (nodename: 'data') of Nokia  E71
Apr 17 18:42:20 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 6 (nodename: 'communications') of Nokia  E71
Apr 17 18:42:20 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 7 (nodename: 'data') of Nokia  E71
Apr 17 18:42:20 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 8 (nodename: 'communications') of Nokia  E71
Apr 17 18:42:20 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 9 (nodename: 'data') of Nokia  E71
Apr 17 18:42:20 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 11 (nodename: 'data') of Nokia  E71
Apr 17 18:42:20 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 13 (nodename: 'data') of Nokia  E71
Apr 17 18:42:20 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 14 (nodename: 'communications') of Nokia  E71
Apr 17 18:42:20 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 15 (nodename: 'data') of Nokia  E71
Apr 17 18:42:20 gerhard usba: [ID 912658 kern.info] USB 2.0 interface (usbif421,ab.config1.a) operating at full speed (USB 1.x) on USB 1.10 root hub: modem@a, usbsacm0 at bus address 2
Apr 17 18:42:20 gerhard usba: [ID 349649 kern.info] 	Nokia  E71
Apr 17 18:42:20 gerhard genunix: [ID 936769 kern.info] usbsacm0 is /pci@0,0/pci1179,1@1d/communications@1/modem@a
Apr 17 18:42:20 gerhard genunix: [ID 408114 kern.info] /pci@0,0/pci1179,1@1d/communications@1/modem@a (usbsacm0) online
Apr 17 18:42:20 gerhard usba: [ID 912658 kern.info] USB 2.0 interface (usbif421,ab.config1.c) operating at full speed (USB 1.x) on USB 1.10 root hub: modem@c, usbsacm1 at bus address 2
Apr 17 18:42:20 gerhard usba: [ID 349649 kern.info] 	Nokia  E71
Apr 17 18:42:20 gerhard genunix: [ID 936769 kern.info] usbsacm1 is /pci@0,0/pci1179,1@1d/communications@1/modem@c
Apr 17 18:42:20 gerhard genunix: [ID 408114 kern.info] /pci@0,0/pci1179,1@1d/communications@1/modem@c (usbsacm1) online
Apr 17 18:42:20 gerhard pcplusmp: [ID 444295 kern.info] pcplusmp: ide (ata) instance #1 vector 0xf ioapic 0x1 intin 0xf is bound to cpu 1
Apr 17 18:42:20 gerhard last message repeated 2 times
Apr 17 18:42:36 gerhard VBoxUSBHelper[4283]: [ID 387370 user.error] VBoxUSBHelper: /usr/sbin/update_drv -a -i pci1179,1@1d/communications@1 ugen
Apr 17 18:42:37 gerhard pcplusmp: [ID 444295 kern.info] pcplusmp: ide (ata) instance #1 vector 0xf ioapic 0x1 intin 0xf is bound to cpu 1
Apr 17 18:42:37 gerhard genunix: [ID 408114 kern.info] /pci@0,0/pci1179,1@1d/communications@1/modem@a (usbsacm0) offline
Apr 17 18:42:37 gerhard genunix: [ID 408114 kern.info] /pci@0,0/pci1179,1@1d/communications@1/modem@c (usbsacm1) offline
Apr 17 18:42:37 gerhard genunix: [ID 408114 kern.info] /pci@0,0/pci1179,1@1d/communications@1/modem@a (usbsacm0) offline
Apr 17 18:42:37 gerhard genunix: [ID 408114 kern.info] /pci@0,0/pci1179,1@1d/communications@1/modem@c (usbsacm1) offline
Apr 17 18:42:37 gerhard genunix: [ID 408114 kern.info] /pci@0,0/pci1179,1@1d/communications@1 (usb_mid3) offline
Apr 17 18:42:37 gerhard usba: [ID 912658 kern.info] USB 2.0 device (usb421,ab) operating at full speed (USB 1.x) on USB 1.10 root hub: communications@1, usb_mid3 at bus address 2
Apr 17 18:42:37 gerhard usba: [ID 349649 kern.info] 	Nokia  E71
Apr 17 18:42:37 gerhard genunix: [ID 936769 kern.info] usb_mid3 is /pci@0,0/pci1179,1@1d/communications@1
Apr 17 18:42:37 gerhard genunix: [ID 408114 kern.info] /pci@0,0/pci1179,1@1d/communications@1 (usb_mid3) online
Apr 17 18:42:37 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 0 (nodename: 'communications') of Nokia  E71
Apr 17 18:42:37 gerhard pcplusmp: [ID 444295 kern.info] pcplusmp: ide (ata) instance #1 vector 0xf ioapic 0x1 intin 0xf is bound to cpu 1
Apr 17 18:42:37 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 1 (nodename: 'communications') of Nokia  E71
Apr 17 18:42:37 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 2 (nodename: 'communications') of Nokia  E71
Apr 17 18:42:37 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 3 (nodename: 'data') of Nokia  E71
Apr 17 18:42:37 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 4 (nodename: 'communications') of Nokia  E71
Apr 17 18:42:37 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 5 (nodename: 'data') of Nokia  E71
Apr 17 18:42:37 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 6 (nodename: 'communications') of Nokia  E71
Apr 17 18:42:37 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 7 (nodename: 'data') of Nokia  E71
Apr 17 18:42:37 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 8 (nodename: 'communications') of Nokia  E71
Apr 17 18:42:37 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 9 (nodename: 'data') of Nokia  E71
Apr 17 18:42:37 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 11 (nodename: 'data') of Nokia  E71
Apr 17 18:42:37 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 13 (nodename: 'data') of Nokia  E71
Apr 17 18:42:37 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 14 (nodename: 'communications') of Nokia  E71
Apr 17 18:42:37 gerhard usba: [ID 349649 kern.info] usba:	no driver found for interface 15 (nodename: 'data') of Nokia  E71
Apr 17 18:42:37 gerhard usba: [ID 912658 kern.info] USB 2.0 interface (usbif421,ab.config1.a) operating at full speed (USB 1.x) on USB 1.10 root hub: modem@a, usbsacm0 at bus address 2
Apr 17 18:42:37 gerhard usba: [ID 349649 kern.info] 	Nokia  E71
Apr 17 18:42:37 gerhard genunix: [ID 936769 kern.info] usbsacm0 is /pci@0,0/pci1179,1@1d/communications@1/modem@a
Apr 17 18:42:37 gerhard genunix: [ID 408114 kern.info] /pci@0,0/pci1179,1@1d/communications@1/modem@a (usbsacm0) online
Apr 17 18:42:37 gerhard usba: [ID 912658 kern.info] USB 2.0 interface (usbif421,ab.config1.c) operating at full speed (USB 1.x) on USB 1.10 root hub: modem@c, usbsacm1 at bus address 2
Apr 17 18:42:37 gerhard usba: [ID 349649 kern.info] 	Nokia  E71
Apr 17 18:42:37 gerhard genunix: [ID 936769 kern.info] usbsacm1 is /pci@0,0/pci1179,1@1d/communications@1/modem@c
Apr 17 18:42:37 gerhard genunix: [ID 408114 kern.info] /pci@0,0/pci1179,1@1d/communications@1/modem@c (usbsacm1) online
Apr 17 18:42:37 gerhard pcplusmp: [ID 444295 kern.info] pcplusmp: ide (ata) instance #1 vector 0xf ioapic 0x1 intin 0xf is bound to cpu 1
Apr 17 18:42:37 gerhard last message repeated 1 time
Apr 17 18:42:38 gerhard VBoxUSBHelper[4287]: [ID 387370 user.error] VBoxUSBHelper: /usr/sbin/update_drv -d -i pci1179,1@1d/communications@1 ugen
Apr 17 18:42:38 gerhard VBoxSVC[2372]: [ID 594873 user.error] USBProxy: Success captured Nokia Nokia E71

Changed 5 years ago by GerryH

what vbox shows wenn I try to connect the usb device to the guest

Changed 5 years ago by GerryH

what vbox shows wenn I try to connect the usb device to the guest

comment:3 Changed 5 years ago by jmcp

This issue still occurs on build snv_117 and VirtualBox v3.0.4.

I notice from my system logfiles that vbox is trying to run the following commands:

VBoxUSBHelper[4776]: [ID 387370 user.error] VBoxUSBHelper: /usr/sbin/update_drv -a -i pci108e,6676@2,1/hub@3/hub@1/device@4 ugen

This is incorrect on two fronts. Firstly, it's a path-oriented alias, which is invalid for Solaris 10 and only valid on snv_109 or later. Secondly, it's an incomplete path-oriented alias - it should specify (in my case) "/pci@0,0/pci108e,6676@2,1/hub@3/hub@1/device@4" - note the missing pci bus parent!

It would be much, much better if VirtualBox used the more usual form of the command, which specifies the actual vid/did/device. For the Nokia N95 in PC Transfer mode, this is "usb421,4f0.100", so the correct command to invoke would be /usr/sbin/update_drv -a -i ' "usb421,4f0.100" ' ugen

comment:4 Changed 5 years ago by ramshankar

VirtualBox does not support USB for Solaris 10 hosts. Yes I could try switch to the uid/vid/rev combination as the path oriented currently isn't buying us much other than the case where there are more than one device with the same uid/vid/rev.

comment:5 Changed 5 years ago by jmcp

I'm not interested in Solaris 10 hosts, at all. I just thought you might like to know that using the path-oriented method actively conspires against making this work on Solaris 10. Even if I had, eg, 10 Nokia N95s and I wanted to attach them to the host at the same time and see them inside a Windows vbox, I don't think VirtualBox should have a problem with that at all.

comment:6 Changed 4 years ago by Technologov

USB support was completely rewritten in VBox 3.1.0. Please close.

-Technologov

comment:7 Changed 4 years ago by ramshankar

  • Status changed from new to closed
  • Resolution set to wontfix

Please try with VirtualBox 3.1.0 and snv 124 or higher. If the problem persists, please open a new ticket.

comment:8 Changed 4 years ago by ni81036

Technologov: please avoid making bold statement in areas you're not really familiar with. USB support was improved in recent versions of VBox, especially on Solaris, but due to some kernel USB stack limitations (Ramshankar is much better expert here) it only applies to recent OpenSolaris builds.

comment:9 Changed 4 years ago by ramshankar

Yes, Nikolay's correct, the problem with the previous USB support is that composite devices like this one will just not work because Solaris offers no way to capture them reliably. Hence I closed this ticket as anyone on Nevada (which is a moving target) should be able to update if they require the USB enhancements.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use