On Thu, Mar 01, 2012 at 01:32:43PM +0200, Sebastian Glita wrote: > You know, it is incredible, I was just acting by inertia since kernel 3.2.1. > > Both problems: > 1. not working at all once computer reboots > 2. stop functionning after some time or number of toggles > > are gone. Yes, thae fixing baud rate commit is present in the local kernel > 3.2.5 source tree. > > Thanks a lot for taking the trouble to reply, > Sebastian That's good. In the future, please keep all recipients CC:ed, including the linux-usb list (and avoid top-posting). Thanks, Johan > On Wed, Feb 29, 2012 at 4:48 PM, Johan Hovold <jhovold@xxxxxxxxx> wrote: > > > On Tue, Feb 28, 2012 at 08:52:51PM +0200, Sebastian Glita wrote: > > > Hi, > > > > > > My name is Sebastian. Hope this passes your spam-filters. > > > > > > I have a simple question about the ftdi usb serial driver. > > > > > > I have a couple of relay boards for which > > > there is a simple "echo"-based command line interface to > > > control from Linux by writing to /dev/ttyUSB0, /dev/ttyUSB1... device > > files. > > > > Which device is this? > > > > 0403:6001 Future Technology Devices International, Ltd T232 > USB-Serial (UART) IC > > > > > But... With this commit updates to your code > > > > > > > > http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commitdiff;h=b1ffb4c851f185e9051ba837c16d9b84ef688d26 > > > > > > this is not working: > > > - /* FIXME -For this cut I don't care if the line is really > > changing > > > or > > > - not - so just do the change regardless - should be able to > > > - compare old_termios and tty->termios */ > > > + if (old_termios->c_cflag == termios->c_cflag > > > + && old_termios->c_ispeed == termios->c_ispeed > > > + && old_termios->c_ospeed == termios->c_ospeed) > > > + goto no_c_cflag_changes; > > > + > > > > > > So I manually removed it from the source file 'ftdi_sio.c'. > > > > Which kernel are you using? A problem related to the above mentioned > > commit was fixed by 108e02b12921078a59dca ("USB: ftdi_sio: fix initial > > baud rate") and is included in the latest stable kernel (3.2.8). Does > > your problem persist with a recent stable kernel? > > > > > The device I have appears under `lsusb' as: > > > > > > 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial > > > (UART) IC > > > > > > ALSO, aside, another issue I have is that sometimes I have to remove the > > > USB device from the system (so it powers off), sometimes I even have to > > > shutdown the computer (cut the power of the USB ports) , and do a > > restart. > > > > And you are saying that removing the code mentioned above, fixes this > > issue as well? > > > > > I would also contact the seller of these USB boards if the problem is in > > > their product, not in the driver. > > > > > > > > > I appreciate your reply, > > > Sebastian > > > > Thanks, > > Johan > > -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html