Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Nov 2008 18:51:51 +0100
From:      Stefan Ehmann <shoesoft@gmx.net>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: usb2: scanner no longer working
Message-ID:  <200811071851.52961.shoesoft@gmx.net>
In-Reply-To: <200811071842.50044.hselasky@c2i.net>
References:  <200811071134.42761.shoesoft@gmx.net> <200811071838.16493.hselasky@c2i.net> <200811071842.50044.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 07 November 2008 18:42:49 Hans Petter Selasky wrote:
> On Friday 07 November 2008, Hans Petter Selasky wrote:
> > Hi,
> >
> > Could you dump the current config descriptor of your scanner?
> >
> > usbconfig -u 3 -a 2 dump_curr_config_desc
# usbconfig -u 3 -a 2 dump_curr_config_desc 
ugen3.2: <CanoScan Canon> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON


 Configuration index 0

    bLength = 0x0009 
    bDescriptorType = 0x0002 
    wTotalLength = 0x0027 
    bNumInterfaces = 0x0001 
    bConfigurationValue = 0x0001 
    iConfiguration = 0x0000  <no string> 
    bmAttributes = 0x00a0 
    bMaxPower = 0x00fa 

    Interface 0
      bLength = 0x0009 
      bDescriptorType = 0x0004 
      bInterfaceNumber = 0x0000 
      bAlternateSetting = 0x0000 
      bNumEndpoints = 0x0003 
      bInterfaceClass = 0x00ff 
      bInterfaceSubClass = 0x00ff 
      bInterfaceProtocol = 0x00ff 
      iInterface = 0x0000  <no string> 

     Endpoint 0
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0081 
        bmAttributes = 0x0002 
        wMaxPacketSize = 0x0200 
        bInterval = 0x0000 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 

     Endpoint 1
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0002 
        bmAttributes = 0x0002 
        wMaxPacketSize = 0x0200 
        bInterval = 0x0000 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 

     Endpoint 2
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0083 
        bmAttributes = 0x0003 
        wMaxPacketSize = 0x0001 
        bInterval = 0x0008 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000
> > It can also be a set-config issue.
> >
> > --HPS
>
> Also get me the device descriptor through:
>
> usbconfig -u 3 -a 2 dump_device_desc
# usbconfig -u 3 -a 2 dump_device_desc
ugen3.2: <CanoScan Canon> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x00ff 
  bDeviceSubClass = 0x00ff 
  bDeviceProtocol = 0x00ff 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x04a9 
  idProduct = 0x221c 
  bcdDevice = 0x0306 
  iManufacturer = 0x0001  LangId:0x0409 <Canon>
  iProduct = 0x0002  LangId:0x0409 <CanoScan>
  iSerialNumber = 0x0000  <no string> 
  bNumConfigurations = 0x0001

> 3 and 2 are the numbers after ugen, like ugen3.2

To your other mail:
I'm running i386. HUB debugging didn't output any obvious errors.



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