I have an arduino that talks to my computer through the serial-usb driver ftdi. I want to use my own module instead when I plug my arduino.I did :sudo rmmod usbserialsudo rmmod ftdi_sioI wrote a driver that does nothing but logs init/probe/exitlsmod shows my driver and doesnt show usbserial/ftdi_siosudo depmod -aI plug my arduinolsmod shows usbserial/ftdi_sioAnd instead of seeing my logs in dmesg I see that usbserial and ftdi_sio were instanciated.What should I do do override that ?P.S code :static struct usb_device_id id_table [] = {   { USB_DEVICE(VENDOR_ID, PRODUCT_ID) },  { },};MODULE_DEVICE_TABLE (usb, id_table);...static struct usb_driver arduino_driver = {   .name =   thomasftdi,  .probe =  arduino_probe,  .disconnect = arduino_disconnect,  .id_table = id_table,};init...probe...I didn't use modalias in the code nor in commands, should I add it somewhere to register the module ?
Rmmod module reappeared after plugging back device
kernel modules;drivers