Kari Veneranta wrote:

// Function Configuration Descriptor
DESCRIPTOR FConf_desc[L_F_CONFIG] PROGMEM =
{

Looks like your driver's configuration descriptor isn't being delivered as you expect. For example, the wTotalLength of what Linux sees is 0x0019 not 0x0029, iConfiguration is zero not 2, bmAttributes and bMaxPower values are different, and so on.

Your driver is probably passing some other descriptor instead
of this one, or mangling it while during transmit.


    0x09,                       // length of configuration part only!
    0x02,
    // L_F_CONFIG is length of entire config descriptor
    0x29,
    0x00,
    0x01,               // One Interface
    0x01,               // bConfiguration Value
    0x02,               // String Index
    128,                // bmAttributes
    25,                 // MaxPower *= 2 mA
    // Interface Descriptor
    0x09,               // #10  bLength
    0x04,
    0x00,               // Interface # 0
    0x00,               // Alternate setting 0
    0x02,               // bNumEndpoints   this is changed to 0x01 in
                        //dmesg debug ???
    0x03,               // bInterfaceClass
    0x00,
    0x00,
    0x00,

// this is not showing in dmesg at all !!!?

    0x09,                       // HID descriptor
    0x21,
    0x10, 0x01,
    0x00,
    0x01,
    0x22,
    0x3d,
    0x00,                       // #16=0x01->boot
                                                                                       
                              // Endpoint 1
    0x07,                       // #28 bLength
    0x05,
    129,                        // bEndpointAddress
    0x03,                       // bmAttributes -> interrupt
    64, 0x00,                   // wMaxPacketSize
    0x08,                       // bInterval
// Endpoint 2
    0x07,                      // #28 bLength
    0x05,
    2,      // bEndpointAddress
    3,           // bmAttributes -> interrupt
    8, 0x00,  // wMaxPacketSize
    8              // bInterval
}




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to