Re: [OpenIndiana-discuss] VirtualBox and USB passthru

2022-12-10 Thread s...@pandora.be

I've not been able to get USB passthru to work so far.

Last time I tried it panic'd my machine.

On the positive side on the current OI 2022.11 USB automount immediately works,
so as soon as some USB device is inserted it seems HAL (hardware abstraction 
daemon) knows about it and is aware of the new USB device. 

- Op 1 dec 2022 om 17:34 schreef Stephan Althaus 
stephan.alth...@duedinghausen.eu:

> Hello!
> 
> Maybe..  the device must not be used by an OI driver, this is the case
> with my Broadcom device..
> 
> $ pfexec mdb -ke '::prtusb'
> INDEX   DRIVER  INST  NODE  GEN  VID.PID PRODUCT
> 1   xhci    2 pci1028,7b1   3.0  .   No Product String
> 2   usb_mid 35    device    1.1  0bf8.100c   FSC KBPC PX
> 3   hid 36    mouse 2.0  046d.c05a   USB Optical Mouse
> 4   hubd    18    hub   2.0  413c.2513   No Product String
> 5   usb_mid 32    device    2.0  8087.0a2b   No Product String
> 6   hubd    19    hub   2.0  413c.2134   USB2134
> *7   vboxusb 4 device    1.1  0a5c.5832   5880*
> 
> $ VBoxManage showvminfo aLinux | grep USB
> Pointing Device: USB Tablet
> VRDE property   : Client/DisableUSB = 
> OHCI USB:    disabled
> EHCI USB:    disabled
> *xHCI USB:    enabled*
> USB Device Filters:
> 
> steven@ubuntuvm:~$ lsusb
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> *Bus 001 Device 003: ID 0a5c:5832 Broadcom Corp. *
> Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> 
> 
> HTH
> 
> Stephan
> 
> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] VirtualBox and USB passthru

2022-12-01 Thread Stephan Althaus

Hello!

Maybe..  the device must not be used by an OI driver, this is the case 
with my Broadcom device..


$ pfexec mdb -ke '::prtusb'
INDEX   DRIVER  INST  NODE  GEN  VID.PID PRODUCT
1   xhci    2 pci1028,7b1   3.0  .   No Product String
2   usb_mid 35    device    1.1  0bf8.100c   FSC KBPC PX
3   hid 36    mouse 2.0  046d.c05a   USB Optical Mouse
4   hubd    18    hub   2.0  413c.2513   No Product String
5   usb_mid 32    device    2.0  8087.0a2b   No Product String
6   hubd    19    hub   2.0  413c.2134   USB2134
*7   vboxusb 4 device    1.1  0a5c.5832   5880*

$ VBoxManage showvminfo aLinux | grep USB
Pointing Device: USB Tablet
VRDE property   : Client/DisableUSB = 
OHCI USB:    disabled
EHCI USB:    disabled
*xHCI USB:    enabled*
USB Device Filters:

steven@ubuntuvm:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
*Bus 001 Device 003: ID 0a5c:5832 Broadcom Corp. *
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


HTH

Stephan

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] VirtualBox and USB passthru

2022-12-01 Thread Predrag Zečević via openindiana-discuss

Hi all,

Does anyone have managed to use xHCI USB driver on any VB guest?

:; pfexec mdb -ke '::prtusb'
INDEX   DRIVER  INST  NODE  GEN  VID.PID PRODUCT 


1   xhci0 pci1849,a12f  3.0  .   No Product String
2   ehci0 pci1106,3104  2.0  .   No Product String
3   uhci0 pci1106,3038  1.1  .   No Product String
4   uhci1 pci1106,3038  1.1  .   No Product String
5   hubd1 hub   2.0  2101.8500   USB2.0 Hub
6   hid 20mouse 1.1  045e.00cb   Microsoft USB 
Optical Mouse
7   usb_mid 17device2.0  045e.07b6   Comfort Curve 
Keyboard 3000

8   hid 2 keyboard  2.0  2101.8501   USB HID
9   hubd5 hub   2.0  0424.2504   No Product String


:; VBoxManage showvminfo Ubuntu | grep USB
Pointing Device: USB Tablet
VRDE property   : Client/DisableUSB = 
OHCI USB:disabled
EHCI USB:disabled
xHCI USB:enabled
USB Device Filters:


:; VBoxHeadless -startvm Ubuntu
Oracle VM VirtualBox Headless Interface 6.1.40
(C) 2008-2022 Oracle Corporation
All rights reserved.

Starting virtual machine:
Operation failed: NS_ERROR_FAILURE
Error: failed to start machine. Error message: Failed to construct 
device 'usb-xhci' instance #0 (VERR_PDM_DEVHLP_VERSION_MISMATCH)


Any suggestion?

Regards.
--
Predrag Zečević

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss