Search code examples
kernel-moduleusbserial

How to install linux usbserial kernel driver manually?


I have a ubuntu 16.04 LTS with kernel 4.4.0-148-generic host machine. I don't have serial dictionary in

/lib/modules/4.4.0-148-generic/kernel/drivers/usb

So i need to install it manually, but i can't find the source code and build document.

Thanks for your time and hope you can help me out! :)


Solution

  • I have same problem taht /dev/ttyUSB0 is not found after I upgrade the kernel source.

    You can use the below command to install USBSerial driver and then /dev/ttyUSB0 will come up again.

    $ sudo apt install linux-modules-extra-$(uname -r)
    

    Hope to fix your problem.