On Thu, Jan 15, 2004 at 01:07:57PM +0000, [EMAIL PROTECTED] wrote: > Greg KH wrote: > >On Wed, Jan 14, 2004 at 12:20:25PM +0000, [EMAIL PROTECTED] wrote: > > > >>Hi, in reference to: > >>http://www.ussg.iu.edu/hypermail/linux/kernel/0303.3/1137.html > >> > >>I'm having exactly this problem in ftdi_sio on 2.4.20 > >>The attached device is a crystalfontz LCD which echos chars > >>back for each command sent. > >> > >>Please say there is a 2.4.20 patch available? > > > >Nope. > > Damn I need to use 2.4.20 as this is for an embedded > system which has been extensively tested and patched.
Then backport the patches yourself :) > >>Having a look at the (extensive) changes between 2.4.20 and 2.4.22 > >>http://lxr.linux.no/diff/drivers/usb/serial/ftdi_sio.c?v=2.4.20;diffval=2.4.22;diffvar=v > >>I'm not sure I can just pop the version from 2.4.22 back to the 2.4.20 > >>kernel, or whether it will even fix the problem? > > > >Try the latest 2.4.23 kernel, it might work better. If not, there's a > >patch in the Red Hat kernel that should fix this problem. > > I looked at the latest redhat 2.4.20 kernel (2.4.20-28.9), > which is so different from main line it's not funny (31,831,994 > bytes of patches to be precise). > > Am I correct in assuming that the patch/bug is not specific to > ftdi_sio and applies to usb-serial? I'm infering this from your > comment here: > http://www.ussg.iu.edu/hypermail/linux/kernel/0303.3/0824.html Yes, that is true. > However there is a comment in the newer ftdi_sio.c > that says the problem may be specific to it? > * (17/Feb/2003) Bill Ryder > * Added write urb buffer pool on a per device basis > * Added more checking for open file on callbacks (fixed OOPS) > * Added CrystalFontz 632 and 634 PIDs > * (thanx to CrystalFontz for the sample devices - they > flushed out > * some driver bugs) > * Minor debugging message changes > * Added throttle, unthrottle and chars_in_buffer functions > * Fixed FTDI_SIO (the original device) bug > * Fixed some shutdown handling > > >Go dig that out and see. > > OK I'll just try throwing in the latest ftdi_sio driver to > see if it fixes it (I haven't got hardware at the moment). Heh, I really doubt it. Look at the patches in the red hat source rpm. They are all broken out. Get the usb-serial ones. Good luck, greg k-h ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users