Re: Olimex ARM-USB-OCD and ftdi-sio driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 6, 2009 at 1:33 PM, Jon Smirl <jonsmirl@xxxxxxxxx> wrote:
> On Thu, Mar 5, 2009 at 12:00 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
>> On Wed, 4 Mar 2009, Jon Smirl wrote:
>> The -ENOENT error comes up somewhere in proc_do_submiturb() in
>> drivers/usb/core/devio.c, or in one of the subroutines it calls:
>> findintfep() or checkintf().  The error return must occur before the
>> line:
>>
>>        switch(uurb->type) {
>>
>
> It can't find the end point. It is asking for EP 81 on interface 0.

All of this works ok if ftdi_sio is unloaded. Does having ftdi_sio
bound effect these arrays?

>
>        if ((uurb->endpoint & USB_ENDPOINT_DIR_MASK) != 0) {
>                is_in = 1;
>                ep = ps->dev->ep_in[uurb->endpoint & USB_ENDPOINT_NUMBER_MASK];
>        } else {
>                is_in = 0;
>                ep = ps->dev->ep_out[uurb->endpoint & USB_ENDPOINT_NUMBER_MASK];
>        }
>        if (!ep)
>                return -ENOENT;
>
> Should it be there?
>
>    Interface Descriptor:
>      bLength                 9
>      bDescriptorType         4
>      bInterfaceNumber        0
>      bAlternateSetting       0
>      bNumEndpoints           2
>      bInterfaceClass       255 Vendor Specific Class
>      bInterfaceSubClass    255 Vendor Specific Subclass
>      bInterfaceProtocol    255 Vendor Specific Protocol
>      iInterface              2 Olimex OpenOCD JTAG
>      Endpoint Descriptor:
>        bLength                 7
>        bDescriptorType         5
>        bEndpointAddress     0x81  EP 1 IN
>        bmAttributes            2
>          Transfer Type            Bulk
>          Synch Type               None
>          Usage Type               Data
>        wMaxPacketSize     0x0040  1x 64 bytes
>        bInterval               0
>      Endpoint Descriptor:
>        bLength                 7
>        bDescriptorType         5
>        bEndpointAddress     0x02  EP 2 OUT
>        bmAttributes            2
>          Transfer Type            Bulk
>          Synch Type               None
>          Usage Type               Data
>        wMaxPacketSize     0x0040  1x 64 bytes
>        bInterval               0
>
>
> --
> Jon Smirl
> jonsmirl@xxxxxxxxx
>



-- 
Jon Smirl
jonsmirl@xxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux