Re: USB drivers

From: Chris <chris_at_tellme3times.com>
Date: Sun, 08 Aug 2004 00:05:34 -0400
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#
Received on Sun Aug 08 2004 - 01:59:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:05 UTC