USB serial linux kernel module
Frank Pagliughi
fpagliughi@mindspring.com
Sat Aug 9 14:30:00 GMT 2008
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 for the help with this. I'm relieved to have a single version
that works with both Windows and Linux hosts. I would have never thought
of doing it this way.
Frank
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecos_usbserial.patch
Type: text/x-patch
Size: 1949 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20080809/7bb2e736/attachment.bin>
More information about the Ecos-patches
mailing list