How to get /dev/uscanner0 to use ehci at USB2 speed, not uhci ?
Julian H. Stacey
jhs at berklix.com
Thu Sep 17 15:42:01 UTC 2009
Hi FreeBSD-USB@ people,
With 7.2-RELEASE, how should I get
/dev/uscanner0 to use ehci at USB2 speed, not uhci at USB1 ?
(Please feel free to reply RTFM ... URL= )
Logs & My config & what I've tried / looked at:
My USB scanner works, but its agoning slow in high res.
devd:
Processing event '+uscanner0 vendor=0x04b8 product=0x011d devclass=0xff
devsubclass=0x00 release=0x0100 sernum="" intclass=0xff intsubclass=0x00
at port=0 interface=0 vendor=0x04b8 product=0x011d devclass=0xff
devsubclass=0x00 release=0x0100 sernum="" intclass=0xff intsubclass=0x00
on uhub1'
dmesg extract:
------
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 21 at device 16.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 21 at device 16.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 21 at device 16.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
uhci3: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 21 at device 16.3 on pci0
uhci3: [GIANT-LOCKED]
uhci3: [ITHREAD]
usb3: <VIA 83C572 USB controller> on uhci3
usb3: USB revision 1.0
uhub3: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
uhub3: 2 ports with 2 removable, self powered
ehci0: <VIA VT6202 USB 2.0 controller> mem 0xfae00000-0xfae000ff irq 21 at device 16.4 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <VIA VT6202 USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: <VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb4
uhub4: 8 ports with 8 removable, self powered
uscanner0: <EPSON EPSON Scanner, class 255/0, rev 1.10/1.00, addr 2> on uhub1
uscanner0: at uhub1 port 1 (addr 2) disconnected
uscanner0: detached
uscanner0: <EPSON EPSON Scanner, class 255/0, rev 1.10/1.00, addr 2> on uhub1
uscanner0: at uhub1 port 1 (addr 2) disconnected
uscanner0: detached
uscanner0: <EPSON EPSON Scanner, class 255/0, rev 1.10/1.00, addr 2> on uhub1
------
config -x /boot/kernel/kernel # includes all of
device uhci
device ehci
device uscanner
uname -a
FreeBSD john.js.berklix.net 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Tue May 5 00:41:36 CEST 2009 jhs@@@john.js.berklix.net:/usr1/src/sys/amd64/compile/JOHN64.small amd64
sane-find-scanner -q
found USB scanner (vendor=0x04b8, product=0x011d) at /dev/uscanner0
PS I had a quick look at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/scanners.html
but nothing I noticed.
cd /usr/src ; find . -name \*devctl\*
./share/man/man4/devctl.4
# no binary just the manual.
Cheers,
Julian
--
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Mail ASCII plain text not HTML & Base64. http://asciiribbon.org
Virused Microsoft PCs cause spam. http://berklix.com/free/
More information about the freebsd-usb
mailing list