USB serial linux kernel module

Andrew Lunn andrew@lunn.ch
Thu Aug 14 19:05:00 GMT 2008


On Sat, Aug 09, 2008 at 10:29:41AM -0400, Frank Pagliughi wrote:
> Andrew Lunn wrote:
>> Hi Frank
>>
>> I worked on the Linux kernel module for the USB serial interface.
>>
>> Attached is a patch that allows it to compile with 2.6.26-rc9.  The
>> patch also handles the device when it is in ACM mode. I found that
>> Linux attaches a device to the ACM interface which just has an
>> interrupt endpoint. This device is useless. By adding a probe function
>> i can detect this interface and tell the usb-serial layer to ignore
>> it.
>>
>> Please could you test this patch and let me know if it works for
>> you. If so, i will commit it.
>>
>>      Thanks
>>         Andrew
>>   
> Andrew,
>
> This should patch your version of the ecos_usbserial.c Linux driver. It  
> brings in endpoint check functions for older versions of the kernel. I  
> tried this on Fedora 6 (older) and Fedora 8 (newer) and it worked on 
> both.

Thanks.

I committed everything. Attached is the patch. It is a little large
because i tabified it to be consistent with the linux coding scheme.

        Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecos_usbserial.patch
Type: text/x-diff
Size: 5734 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20080814/7a9d2dd0/attachment.bin>


More information about the Ecos-patches mailing list