Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 2015 09:31:06 +0200
From:      "jurgenxiv@t-online.de" <jurgenxiv@t-online.de>
To:        "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
Subject:   AW: USB Virtualbox
Message-ID:  <160311424055544f3ad51f13.28480808@email.t-online.de>

next in thread | raw e-mail | index | archive | help
Hi,

I am setting hw.usb.ehci.no_hs: 0 -> 1.
After that I connect my iPad. Speed still remains at HIGH according to usbconfig.

"ugen1.1: <EHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen0.1: <EHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen1.2: <product 0x0020 vendor 0x8087> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen0.2: <product 0x0020 vendor 0x8087> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen1.3: <Mass Storage Device Generic> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (250mA)
ugen0.4: <USB-PS2 Optical Mouse Logitech> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (98mA)
ugen0.3: <iPad Apple Inc.> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)"

After issuing "usbconfig -d 0.1 reset" usbconfig shows this output and I have to reboot to get my mouse back:

"ugen1.1: <EHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen0.1: <EHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen1.2: <product 0x0020 vendor 0x8087> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen1.3: <Mass Storage Device Generic> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (250mA)"

Jurgen

-----Original-Nachricht-----
Betreff: Re: USB Virtualbox
Datum: Thu, 14 May 2015 08:54:38 +0200
Von: Hans Petter Selasky <hps@selasky.org>
An: "jurgenxiv@t-online.de" <jurgenxiv@t-online.de>,  "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>

On 05/14/15 08:27, jurgenxiv@t-online.de wrote:
> Hi,
>
> I believe this is the relevant output of pciconf for the usb controllers:
>
> "ehci0@pci0:0:26:0:	class=0x0c0320 card=0x75811462 chip=0x3b3c8086 rev=0x05 hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = '5 Series/3400 Series Chipset USB2 Enhanced Host Controller'
>      class      = serial bus
>      subclass   = USB
>
> ehci1@pci0:0:29:0:	class=0x0c0320 card=0x75811462 chip=0x3b348086 rev=0x05 hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = '5 Series/3400 Series Chipset USB2 Enhanced Host Controller'
>      class      = serial bus
>      subclass   = USB"
>
> It is a MSI P55-GD80 mainboard. The usb 2 devices are available in the virtualbox usb menu but not useable in windows.
>
> Thanks for your help.
> Jurgen
>
> -----Original-Nachricht-----
> Betreff: Re: USB Virtualbox
> Datum: Thu, 14 May 2015 07:50:03 +0200
> Von: Hans Petter Selasky <hps@selasky.org>
> An: "jurgenxiv@t-online.de" <jurgenxiv@t-online.de>,  freebsd-usb@freebsd.org
>
> On 05/13/15 17:05, jurgenxiv@t-online.de wrote:
>> Hi everyone,
>>
>> I try to get my iPad recognized with a Windows 7 guest and Virtualbox under freebsd 10 host.
>>
>> Because there is no usb 2.0 support for freebsd-virtualbox I try to force it to usb 1.
>>
>> I am using "sysctl hw.usb.ehci.no_hs=1" as mentioned here
>> http://www.clearchain.com/blog/posts/how-to-use-freebsd-virtualbox-and-usb2-0-devices
>>
>> But even after disconnecting and reconnecting iPad is still is at usb 2.0 speed.
>>
>> Is there another way to use usb devices in Virtualbox?
>>
>
> Hi,
>
> Can you show what USB controllers are present. If you have XHCI, you
> need to set the port routing mask and the no_hs sysctls at the same time.
>
> --HPS
>

Hi,

"no_hs" must be set before plugging the device, or you need to reset the 
parent HUB using "usbconfig -d X.1 reset" after setting this variable.

Can you show output from usbconfig ?

--HPS








Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?160311424055544f3ad51f13.28480808>