usb2: scanner no longer working
Stefan Ehmann
shoesoft at gmx.net
Fri Nov 7 09:51:56 PST 2008
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.
More information about the freebsd-current
mailing list