--- In "charliem_1216" <> wrote:
>
> Hi --
>
> --- In "Razvan Ionut Stoian"
> <razvan_ionut_stoian@> wrote:
> >
> > Hi!
> >
> > It seems that whenever I use the ftdi_sio.o I get into trouble due to
> > some bugs found in this kernel module (2.4.26-ts11) ( ftdi_sio.c:
> > Error unlinking urb). Where can I find a patch for this module ?
> >
>
> Lots of USB issues have been fixed by later code, both core and
> drivers. Certainly in 2.6, and some may have then been back-ported
> to later 2.4 kernels. (Somebody recently posted about using
> usb-serial from 2.4.28, and pl2303 from 2.4.34... I think ... check
> the group archives).
>
> With this, and the alsa USB modules you want to use, may be reason
> enough for you to try a 2.6 kernel (TS or roll-your-own).
>
> Regards, ....... Charlie
>
The 2.4.28 doesn't really resolve the "Error unlinking urb"
You need to change below in the ftdi_close routine,
/* shutdown our bulk read */
if (port->read_urb) {
- if(usb_unlink_urb (port->read_urb)<0)
- err("Error unlinking urb");
+ err = usb_unlink_urb (port->read_urb);
+ if (err < 0 && err != -ENODEV)
+ err("Error unlinking urb (%d)", err);
}
/* unlink the running write urbs */
don't forget to define err as an int!
Anyhow I first tried the latest 2.4 kernel and couldn't figure out to get
tty_ldisc_ref unresolved - error. 2.4.28 doesn't have it, from 2.4.29 on, Bingo.
A hint is, "upgrade modutils" but I didn't figured that one out yet...
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|