From owner-freebsd-current@FreeBSD.ORG Sun Aug 8 03:59:05 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02DEF16A4CF for ; Sun, 8 Aug 2004 03:59:05 +0000 (GMT) Received: from mail.tellme3times.com (dsl-yul-102.e-scape.net [209.47.218.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23F6A43D54 for ; Sun, 8 Aug 2004 03:59:04 +0000 (GMT) (envelope-from chris@tellme3times.com) Received: from tellme3times.com (halla.tellme3times.com [192.168.7.29]) by mail.tellme3times.com (Postfix) with ESMTP id 282124095; Sat, 7 Aug 2004 23:53:31 -0400 (EDT) Message-ID: <4115A68E.8000006@tellme3times.com> Date: Sun, 08 Aug 2004 00:05:34 -0400 From: Chris User-Agent: Mozilla Thunderbird 0.5 (X11/20040413) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "M. Warner Losh" References: <4110F5AE.6030403@tellme3times.com> <20040804.212242.112819552.imp@bsdimp.com> <41124C8B.2060902@tellme3times.com> <20040806.231231.33567668.imp@bsdimp.com> In-Reply-To: <20040806.231231.33567668.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: USB drivers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2004 03:59:06 -0000 M. Warner Losh wrote: > >I think that the first thing that should be done is to look at the usb >configuration. /usr/ports/sysutils/udesc_dump is a good place to >start to investigate things. Also, the usb mindshare book is good to >understand usb and the layers of the configuation onion. There's a >book in the works that should help, but I'm afraid that I can't say >more than that at this time. > >Warner > > Here is the output from udesc_dump which is fine. I could not figure out how to kldunload just ulpt.ko so I recompiled a new kernel. halla# udesc_dump Standard Device Descriptor: bLength 18 bDescriptorType 01 bcdUSB 0110 bDeviceClass 00 bDeviceSubClass 00 bDeviceProtocol 00 bMaxPacketSize 8 idVendor 04b8 idProduct 0808 bcdDevice 0100 iManufacturer 1 iProduct 2 iSerialNumber 3 bNumConfigurations 1 Configuration 0: Standard Configuration Descriptor: bLength 9 bDescriptorType 02 wTotalLength 55 bNumInterface 2 bConfigurationValue 1 iConfiguration 4 bmAttributes c0 (self-powered) bMaxPower 1 (2 mA) Standard Interface Descriptor: bLength 9 bDescriptorType 04 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass ff bInterfaceSubClass ff bInterfaceProtocol ff iInterface 5 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 81 (in) bmAttributes 02 (Bulk) wMaxPacketSize 64 bInterval 0 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 02 (out) bmAttributes 02 (Bulk) wMaxPacketSize 64 bInterval 0 Standard Interface Descriptor: bLength 9 bDescriptorType 04 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 07 bInterfaceSubClass 01 bInterfaceProtocol 02 iInterface 6 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 04 (out) bmAttributes 02 (Bulk) wMaxPacketSize 64 bInterval 0 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 83 (in) bmAttributes 02 (Bulk) wMaxPacketSize 64 bInterval 0 Codes Representing Languages by the Device: bLength 4 bDescriptorType 03 wLANGID[0] 0409 String (index 1): EPSON String (index 2): USB MFP String (index 3): RC0438001041259320 String (index 4): USB MFP String (index 5): EPSON Scanner String (index 6): USB Printer halla#