Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Aug 2004 00:05:34 -0400
From:      Chris <chris@tellme3times.com>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: USB drivers
Message-ID:  <4115A68E.8000006@tellme3times.com>
In-Reply-To: <20040806.231231.33567668.imp@bsdimp.com>
References:  <4110F5AE.6030403@tellme3times.com> <20040804.212242.112819552.imp@bsdimp.com>	<41124C8B.2060902@tellme3times.com> <20040806.231231.33567668.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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#



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4115A68E.8000006>