ts-7000
[Top] [All Lists]

[ts-7000] Re: ftdi_sio.c bug

To:
Subject: [ts-7000] Re: ftdi_sio.c bug
From: "Xilinx" <>
Date: Wed, 23 Sep 2009 13:55:00 -0000
--- 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/

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] Re: ftdi_sio.c bug, Xilinx <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU