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? > 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