Re: usb-serial remembers termios settings between device replugs

2016-07-12 Thread Jan Kundrát
On Tuesday, 12 July 2016 01:50:59 CEST, Greg KH wrote: There is, as far as I can tell, no set of "default" termios values for any type of serial port, so the "last" set of them is as good as any, right? Each driver specifies an initial value (usb_serial_tty_driver->init_termios), and this valu

usb-serial remembers termios settings between device replugs

2016-07-11 Thread Jan Kundrát
(I'm not on the linux-usb ML, so please Cc me on replies.) Hi, I found out that unplugging and plugging back an USB-to-serial converter such as pl2303 is not enough to undo all changes to termios which were performed from userspace. One has to remove the usb-serial module because that's where