On 05/23/13 08:41, Cyrille Duret wrote:
Hello all,

I try to change my USB 2.0 devices (USB stick, Android phone) to USB 1.1 in
order to use it with VirtualBox running Windows seven 64.

I see some hints on the web but had no success with the sysctl
hw.usb.ehci.no_hs.
-> http://www.clearchain.com/blog/posts...usb2-0-devices


I put this command in /etc/sysctl.conf:

hw.usb.ehci.no_hs=1
My USB device works but it is still in HIGH speed.


@ sudoi sysctl hw.usb.ehci.no_hs
hw.usb.ehci.no_hs: 1

@ sudoi usbconfig
ugen0.1: <EHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=SAVE
ugen1.1: <EHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=SAVE
ugen0.2: <product 0x0024 vendor 0x8087> at usbus0, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE
ugen1.2: <product 0x0024 vendor 0x8087> at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE
ugen1.3: <Cruzer SanDisk> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
My device speed is still HIGH and cannot see it to FULL.

Any experiences?
Thanks.

My config:
FreeBSD darkstar 9.1-STABLE FreeBSD 9.1-STABLE #2: Thu Jan 31 20:41:22 CET
2013 root@darkstar:/usr/obj/usr/src/sys/THINKPKERNEL  amd64

From pciconf ->

ehci0@pci0:0:26:0:      class=0x0c0320 card=0x21d217aa chip=0x1c2d8086
rev=0x04 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '6 Series/C200 Series Chipset Family USB Enhanced Host
Controller'
     class      = serial bus
     subclass   = USB


ehci1@pci0:0:29:0:      class=0x0c0320 card=0x21d217aa chip=0x1c268086
rev=0x04 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '6 Series/C200 Series Chipset Family USB Enhanced Host
Controller'
     class      = serial bus
     subclass   = USB


none2@pci0:13:0:0:      class=0x0c0330 card=0x21d217aa chip=0x01941033
rev=0x04 hdr=0x00
     vendor     = 'NEC Corporation'
     device     = 'uPD720200 USB 3.0 Host Controller'
     class      = serial bus
     subclass   = USB

From /var/log/messages:

kernel: ehci0: <EHCI (generic) USB 2.0 controller> mem
0xf432a000-0xf432a3ff irq 16 at device 26.0 on pci0
kernel: usbus0: EHCI version 1.0
kernel: usbus0 on ehci0
kernel: ehci1: <EHCI (generic) USB 2.0 controller> mem
0xf4329000-0xf43293ff irq 23 at device 29.0 on pci0
kernel: usbus1: EHCI version 1.0
kernel: usbus1 on ehci1
kernel: usbus0: 480Mbps High Speed USB v2.0
kernel: usbus1: 480Mbps High Speed USB v2.0
kernel: ugen0.1: <Intel> at usbus0
kernel: uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on
usbus0
kernel: ugen1.1: <Intel> at usbus1
kernel: uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on
usbus1
kernel: Root mount waiting for: usbus1 usbus0
kernel: Root mount waiting for: usbus1 usbus0
kernel: uhub0: 3 ports with 3 removable, self powered
kernel: uhub1: 3 ports with 3 removable, self powered


-- If I put hw.usb.ehci.no_hs=1 in /boot/loader.conf the following lines
does not appear in /var/log/messages:

Hi,

What does usbconfig say in the latter case? Can you show output from pciconf -lv

--HPS

_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to