Hi all:

I'm new to USB and to this list.  Thanks to all of you for your splendid
work on this stuff!  I've reviewed the mailing list archives but I still
have a question.

I'm trying to get a Keyspan USB PDA adapter working with my system (Intel
box running 2.3.99pre4-5 and Greg Kroah-Hartman's usbserial patches from
this weekend), but the usb-serial module Oops'es in keyspan_pda_startup().

I did some investigation and see that the Oops stems from the fact that
serial->port[0].read_urb is NULL when we call keyspan_pda_startup(),
so the FILL_INT_URB trying to setup the receive interrupt urb fails.
Looking back at the system messages file, I see that the USB subsystem
finds only two endpoints on the Keyspan device: an "Interrupt in" and a
"Bulk out".  Shouldn't there also be a "Bulk in"?  It looks like the
code in "usb_serial_probe" depends on finding a "Bulk in" endpoint for
setting up the serial structure that it passes to keyspan_pda_startup().

Does it look like I have faulty hardware or do I need to do some more
digging in the code to track down my problem?  Thanks for any suggestions.

     --Peter
--
Peter E. Berger                               Tel:  (218) 848-2885
Brimson Laboratories                          Fax:  (218) 848-2433
1549 Hiironen Rd.                             Email: [EMAIL PROTECTED]
Brimson, MN 55602

P.S.  Here's an extract from the system log showing the two recognized
endpoints:


Apr 11 11:46:01 localhost kernel: usb.c: USB new device connect, assigned device 
number 3 
Apr 11 11:46:01 localhost kernel: usb.c: kmalloc IF c12d4c20, numif 1 
Apr 11 11:46:01 localhost kernel: usb.c: new device strings: Mfr=1, Product=2, 
SerialNumber=3 
Apr 11 11:46:01 localhost kernel: usb.c: USB device number 3 default language ID 0x0 
Apr 11 11:46:01 localhost kernel: Manufacturer: ACME usb widgets?ACME USB serial 
widget?47??????????????????????@?????????????????????????????????????????????????????????????^Z
 
Apr 11 11:46:01 localhost kernel: Product: ACME USB serial 
widget?47??????????????????????@?????????????????????????????????????????????????????????????????????????^B????e
 
Apr 11 11:46:01 localhost kernel: SerialNumber: 
47??????????????????????@?????????????????????????????????????????????????????????????????????????^B???????????????????????????�
 
Apr 11 11:46:01 localhost kernel: usb.c: unhandled interfaces on device 
Apr 11 11:46:01 localhost kernel: usb.c: This device is not recognized by any 
installed USB driver. 
Apr 11 11:46:01 localhost kernel:   Length              = 18 
Apr 11 11:46:01 localhost kernel:   DescriptorType      = 01 
Apr 11 11:46:01 localhost kernel:   USB version         = 1.00 
Apr 11 11:46:01 localhost kernel:   Vendor:Product      = 06cd:0104 
Apr 11 11:46:01 localhost kernel:   MaxPacketSize0      = 64 
Apr 11 11:46:01 localhost kernel:   NumConfigurations   = 1 
Apr 11 11:46:01 localhost kernel:   Device version      = ab.89 
Apr 11 11:46:01 localhost kernel:   Device Class:SubClass:Protocol = ff:ff:ff 
Apr 11 11:46:01 localhost kernel:     Vendor class 
Apr 11 11:46:01 localhost kernel: Configuration: 
Apr 11 11:46:01 localhost kernel:   bLength             =    9 
Apr 11 11:46:01 localhost kernel:   bDescriptorType     =   02 
Apr 11 11:46:01 localhost kernel:   wTotalLength        = 0020 
Apr 11 11:46:01 localhost kernel:   bNumInterfaces      =   01 
Apr 11 11:46:01 localhost kernel:   bConfigurationValue =   01 
Apr 11 11:46:01 localhost kernel:   iConfiguration      =   00 
Apr 11 11:46:01 localhost kernel:   bmAttributes        =   80 
Apr 11 11:46:01 localhost kernel:   MaxPower            =  100mA 
Apr 11 11:46:01 localhost kernel:  
Apr 11 11:46:01 localhost kernel:   Interface: 0 
Apr 11 11:46:01 localhost kernel:   Alternate Setting:  0 
Apr 11 11:46:01 localhost kernel:     bLength             =    9 
Apr 11 11:46:01 localhost kernel:     bDescriptorType     =   04 
Apr 11 11:46:01 localhost kernel:     bInterfaceNumber    =   00 
Apr 11 11:46:01 localhost kernel:     bAlternateSetting   =   00 
Apr 11 11:46:01 localhost kernel:     bNumEndpoints       =   02 
Apr 11 11:46:01 localhost kernel:     bInterface Class:SubClass:Protocol =   ff:ff:ff 
Apr 11 11:46:01 localhost kernel:     iInterface          =   00 
Apr 11 11:46:01 localhost kernel:     Endpoint: 
Apr 11 11:46:01 localhost kernel:       bLength             =    7 
Apr 11 11:46:01 localhost kernel:       bDescriptorType     =   05 
Apr 11 11:46:01 localhost kernel:       bEndpointAddress    =   82 (in) 
Apr 11 11:46:01 localhost kernel:       bmAttributes        =   03 (Interrupt) 
Apr 11 11:46:01 localhost kernel:       wMaxPacketSize      = 0040 
Apr 11 11:46:01 localhost kernel:       bInterval           =   01 
Apr 11 11:46:01 localhost kernel:     Endpoint: 
Apr 11 11:46:01 localhost kernel:       bLength             =    7 
Apr 11 11:46:01 localhost kernel:       bDescriptorType     =   05 
Apr 11 11:46:01 localhost kernel:       bEndpointAddress    =   02 (out) 
Apr 11 11:46:01 localhost kernel:       bmAttributes        =   02 (Bulk) 
Apr 11 11:46:01 localhost kernel:       wMaxPacketSize      = 0040 
Apr 11 11:46:01 localhost kernel:       bInterval           =   00 
Apr 11 11:46:06 localhost kernel: usb.c: registered new driver serial 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to