Okash Khawaja, on ven. 11 août 2017 22:38:14 +0100, wrote: > On Thu, Aug 10, 2017 at 10:27:31AM +0200, Samuel Thibault wrote: > > Oliver Neukum, on jeu. 10 ao??t 2017 10:03:51 +0200, wrote: > > > You cannot make assumptions about driver load. Your driver was loaded. > > > End of story. Register it with the proper subsystem. > > > > The subsystem in question is a line discipline. Registering a line > > discipline will not trigger applying it to the serial port, so it's not > > enough. > > > > Samuel > > Okay, it looks like port_probe callback inside usb_serial_driver does > this. It gets passed in usb_serial_port which is enough. Mmm, but that is called before tty_register_device, is that not a problem? Samuel -- 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