From owner-freebsd-usb@FreeBSD.ORG Mon Sep 21 12:10:31 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37B8C10656A6 for ; Mon, 21 Sep 2009 12:10:31 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id AE9DE8FC0A for ; Mon, 21 Sep 2009 12:10:30 +0000 (UTC) Received: from park.js.berklix.net (p549A7E2E.dip.t-dialin.net [84.154.126.46]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id n8LCAQ6s070724 for ; Mon, 21 Sep 2009 12:10:28 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by park.js.berklix.net (8.13.8/8.13.8) with ESMTP id n8LCAIdv030067 for ; Mon, 21 Sep 2009 14:10:18 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.3/8.14.3) with ESMTP id n8LCCtnl098153 for ; Mon, 21 Sep 2009 14:13:00 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <200909211213.n8LCCtnl098153@fire.js.berklix.net> cc: freebsd-usb@freebsd.org From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Thu, 17 Sep 2009 17:30:55 +0200." <200909171531.n8HFUtYw038501@fire.js.berklix.net> Date: Mon, 21 Sep 2009 14:12:55 +0200 Sender: jhs@berklix.com Subject: Re: How to get /dev/uscanner0 to use ehci at USB2 speed, not uhci ? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2009 12:10:31 -0000 Hi, Reference: > From: "Julian H. Stacey" > Date: Thu, 17 Sep 2009 17:30:55 +0200 > Message-id: <200909171531.n8HFUtYw038501@fire.js.berklix.net> "Julian H. Stacey" wrote: > 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: port 0xd400-0xd41f irq 21 at device 16.0 on pci0 > uhci0: [GIANT-LOCKED] > uhci0: [ITHREAD] > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: on usb0 > uhub0: 2 ports with 2 removable, self powered > > uhci1: port 0xd800-0xd81f irq 21 at device 16.1 on pci0 > uhci1: [GIANT-LOCKED] > uhci1: [ITHREAD] > usb1: on uhci1 > usb1: USB revision 1.0 > uhub1: on usb1 > uhub1: 2 ports with 2 removable, self powered > > uhci2: port 0xe000-0xe01f irq 21 at device 16.2 on pci0 > uhci2: [GIANT-LOCKED] > uhci2: [ITHREAD] > usb2: on uhci2 > usb2: USB revision 1.0 > uhub2: on usb2 > uhub2: 2 ports with 2 removable, self powered > > uhci3: port 0xe400-0xe41f irq 21 at device 16.3 on pci0 > uhci3: [GIANT-LOCKED] > uhci3: [ITHREAD] > usb3: on uhci3 > usb3: USB revision 1.0 > uhub3: on usb3 > uhub3: 2 ports with 2 removable, self powered > > ehci0: 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: on ehci0 > usb4: USB revision 2.0 > uhub4: on usb4 > uhub4: 8 ports with 8 removable, self powered > > uscanner0: on uhub1 > uscanner0: at uhub1 port 1 (addr 2) disconnected > uscanner0: detached > uscanner0: on uhub1 > uscanner0: at uhub1 port 1 (addr 2) disconnected > uscanner0: detached > uscanner0: 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. The scanner manufacturer documents hardware as USB-1 :-( Idealy /var/log/messages might have issued a simple clear warning about that. > 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/