Ubuntu 16.04.1 usbserial missing
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
What is the deal with usbserial kernel module in current Ubuntu version? I cannot install any drivers, which depend on usbserial.ko.
How I got to this:
When I connect CP2102 Virtual COM Port (VCP) adapter to USB I get this output:
[ 1893.942663] usb 1-1.1.4.2: new full-speed USB device number 12 using ehci-pci
[ 1894.052823] usb 1-1.1.4.2: New USB device found, idVendor=10c4, idProduct=ea60
[ 1894.052826] usb 1-1.1.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1894.052828] usb 1-1.1.4.2: Product: CP2102 USB to UART Bridge Controller
[ 1894.052829] usb 1-1.1.4.2: Manufacturer: Silicon Labs
[ 1894.052831] usb 1-1.1.4.2: SerialNumber: 0001
[ 1895.067552] cp210x: Unknown symbol usb_serial_generic_open (err 0)
[ 1895.067565] cp210x: Unknown symbol usb_serial_generic_close (err 0)
[ 1895.067579] cp210x: Unknown symbol usb_serial_deregister_drivers (err 0)
[ 1895.067595] cp210x: Unknown symbol usb_serial_register_drivers (err 0)
$ lsmod | grep 210x and $ lsmod | grep usbserial outputs nothing
Then I tried to rebuild the driver. Downloaded new CP210x driver form http://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
$ make
$ cp ./cp210x.ko /lib/modules/4.8.0-58-generic/kernel/drivers/usb/serial/cp210x.ko
$ insmod /lib/modules/4.8.0-58-generic/kernel/drivers/usb/serial/cp210x.ko
insmod: ERROR: could not insert module /lib/modules/4.8.0-58-generic/kernel/drivers/usb/serial/cp210x.ko: Unknown symbol in module
Also $ modinfo usbserial outputs
filename: /lib/modules/4.8.0-58-generic/kernel/drivers/usb/serial/usbserial.ko
modinfo: ERROR: could not get modinfo from 'usbserial': No such file or directory
My system info: 4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
What is going on here and how to fix it? And how to get drivers up and running?
Thank you in advance!!
drivers usb kernel
add a comment |
What is the deal with usbserial kernel module in current Ubuntu version? I cannot install any drivers, which depend on usbserial.ko.
How I got to this:
When I connect CP2102 Virtual COM Port (VCP) adapter to USB I get this output:
[ 1893.942663] usb 1-1.1.4.2: new full-speed USB device number 12 using ehci-pci
[ 1894.052823] usb 1-1.1.4.2: New USB device found, idVendor=10c4, idProduct=ea60
[ 1894.052826] usb 1-1.1.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1894.052828] usb 1-1.1.4.2: Product: CP2102 USB to UART Bridge Controller
[ 1894.052829] usb 1-1.1.4.2: Manufacturer: Silicon Labs
[ 1894.052831] usb 1-1.1.4.2: SerialNumber: 0001
[ 1895.067552] cp210x: Unknown symbol usb_serial_generic_open (err 0)
[ 1895.067565] cp210x: Unknown symbol usb_serial_generic_close (err 0)
[ 1895.067579] cp210x: Unknown symbol usb_serial_deregister_drivers (err 0)
[ 1895.067595] cp210x: Unknown symbol usb_serial_register_drivers (err 0)
$ lsmod | grep 210x and $ lsmod | grep usbserial outputs nothing
Then I tried to rebuild the driver. Downloaded new CP210x driver form http://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
$ make
$ cp ./cp210x.ko /lib/modules/4.8.0-58-generic/kernel/drivers/usb/serial/cp210x.ko
$ insmod /lib/modules/4.8.0-58-generic/kernel/drivers/usb/serial/cp210x.ko
insmod: ERROR: could not insert module /lib/modules/4.8.0-58-generic/kernel/drivers/usb/serial/cp210x.ko: Unknown symbol in module
Also $ modinfo usbserial outputs
filename: /lib/modules/4.8.0-58-generic/kernel/drivers/usb/serial/usbserial.ko
modinfo: ERROR: could not get modinfo from 'usbserial': No such file or directory
My system info: 4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
What is going on here and how to fix it? And how to get drivers up and running?
Thank you in advance!!
drivers usb kernel
add a comment |
What is the deal with usbserial kernel module in current Ubuntu version? I cannot install any drivers, which depend on usbserial.ko.
How I got to this:
When I connect CP2102 Virtual COM Port (VCP) adapter to USB I get this output:
[ 1893.942663] usb 1-1.1.4.2: new full-speed USB device number 12 using ehci-pci
[ 1894.052823] usb 1-1.1.4.2: New USB device found, idVendor=10c4, idProduct=ea60
[ 1894.052826] usb 1-1.1.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1894.052828] usb 1-1.1.4.2: Product: CP2102 USB to UART Bridge Controller
[ 1894.052829] usb 1-1.1.4.2: Manufacturer: Silicon Labs
[ 1894.052831] usb 1-1.1.4.2: SerialNumber: 0001
[ 1895.067552] cp210x: Unknown symbol usb_serial_generic_open (err 0)
[ 1895.067565] cp210x: Unknown symbol usb_serial_generic_close (err 0)
[ 1895.067579] cp210x: Unknown symbol usb_serial_deregister_drivers (err 0)
[ 1895.067595] cp210x: Unknown symbol usb_serial_register_drivers (err 0)
$ lsmod | grep 210x and $ lsmod | grep usbserial outputs nothing
Then I tried to rebuild the driver. Downloaded new CP210x driver form http://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
$ make
$ cp ./cp210x.ko /lib/modules/4.8.0-58-generic/kernel/drivers/usb/serial/cp210x.ko
$ insmod /lib/modules/4.8.0-58-generic/kernel/drivers/usb/serial/cp210x.ko
insmod: ERROR: could not insert module /lib/modules/4.8.0-58-generic/kernel/drivers/usb/serial/cp210x.ko: Unknown symbol in module
Also $ modinfo usbserial outputs
filename: /lib/modules/4.8.0-58-generic/kernel/drivers/usb/serial/usbserial.ko
modinfo: ERROR: could not get modinfo from 'usbserial': No such file or directory
My system info: 4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
What is going on here and how to fix it? And how to get drivers up and running?
Thank you in advance!!
drivers usb kernel
What is the deal with usbserial kernel module in current Ubuntu version? I cannot install any drivers, which depend on usbserial.ko.
How I got to this:
When I connect CP2102 Virtual COM Port (VCP) adapter to USB I get this output:
[ 1893.942663] usb 1-1.1.4.2: new full-speed USB device number 12 using ehci-pci
[ 1894.052823] usb 1-1.1.4.2: New USB device found, idVendor=10c4, idProduct=ea60
[ 1894.052826] usb 1-1.1.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1894.052828] usb 1-1.1.4.2: Product: CP2102 USB to UART Bridge Controller
[ 1894.052829] usb 1-1.1.4.2: Manufacturer: Silicon Labs
[ 1894.052831] usb 1-1.1.4.2: SerialNumber: 0001
[ 1895.067552] cp210x: Unknown symbol usb_serial_generic_open (err 0)
[ 1895.067565] cp210x: Unknown symbol usb_serial_generic_close (err 0)
[ 1895.067579] cp210x: Unknown symbol usb_serial_deregister_drivers (err 0)
[ 1895.067595] cp210x: Unknown symbol usb_serial_register_drivers (err 0)
$ lsmod | grep 210x and $ lsmod | grep usbserial outputs nothing
Then I tried to rebuild the driver. Downloaded new CP210x driver form http://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
$ make
$ cp ./cp210x.ko /lib/modules/4.8.0-58-generic/kernel/drivers/usb/serial/cp210x.ko
$ insmod /lib/modules/4.8.0-58-generic/kernel/drivers/usb/serial/cp210x.ko
insmod: ERROR: could not insert module /lib/modules/4.8.0-58-generic/kernel/drivers/usb/serial/cp210x.ko: Unknown symbol in module
Also $ modinfo usbserial outputs
filename: /lib/modules/4.8.0-58-generic/kernel/drivers/usb/serial/usbserial.ko
modinfo: ERROR: could not get modinfo from 'usbserial': No such file or directory
My system info: 4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
What is going on here and how to fix it? And how to get drivers up and running?
Thank you in advance!!
drivers usb kernel
drivers usb kernel
edited Jul 12 '17 at 8:58
Karolis Milieška
asked Jul 12 '17 at 7:01
Karolis MilieškaKarolis Milieška
614
614
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
I had exactly the same problem you mention with my SiLabs CP2102-based ESP32-DevKitC board from Espressif. You don't mention the environment you're using, but I was running Ubuntu as a VirtualBox VM, which turned out to be the source of my problem.
The problem is that USB Serial drivers aren't installed by default in Ubuntu images designed for VM and cloud use.
To resolve the issue, install the linux-image-extra-virtual package by running:
sudo apt-get install linux-image-extra-virtual
Once I installed that package, I got a /dev/ttyUSB0 serial device shortly after connecting my USB device to my (host) Mac.
add a comment |
I had the same problem. You just need to install linux-modules-extra which contains the driver for your kernel.
With the following command:
sudo apt install linux-modules-extra-$(uname -r)
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f935350%2fubuntu-16-04-1-usbserial-missing%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
I had exactly the same problem you mention with my SiLabs CP2102-based ESP32-DevKitC board from Espressif. You don't mention the environment you're using, but I was running Ubuntu as a VirtualBox VM, which turned out to be the source of my problem.
The problem is that USB Serial drivers aren't installed by default in Ubuntu images designed for VM and cloud use.
To resolve the issue, install the linux-image-extra-virtual package by running:
sudo apt-get install linux-image-extra-virtual
Once I installed that package, I got a /dev/ttyUSB0 serial device shortly after connecting my USB device to my (host) Mac.
add a comment |
I had exactly the same problem you mention with my SiLabs CP2102-based ESP32-DevKitC board from Espressif. You don't mention the environment you're using, but I was running Ubuntu as a VirtualBox VM, which turned out to be the source of my problem.
The problem is that USB Serial drivers aren't installed by default in Ubuntu images designed for VM and cloud use.
To resolve the issue, install the linux-image-extra-virtual package by running:
sudo apt-get install linux-image-extra-virtual
Once I installed that package, I got a /dev/ttyUSB0 serial device shortly after connecting my USB device to my (host) Mac.
add a comment |
I had exactly the same problem you mention with my SiLabs CP2102-based ESP32-DevKitC board from Espressif. You don't mention the environment you're using, but I was running Ubuntu as a VirtualBox VM, which turned out to be the source of my problem.
The problem is that USB Serial drivers aren't installed by default in Ubuntu images designed for VM and cloud use.
To resolve the issue, install the linux-image-extra-virtual package by running:
sudo apt-get install linux-image-extra-virtual
Once I installed that package, I got a /dev/ttyUSB0 serial device shortly after connecting my USB device to my (host) Mac.
I had exactly the same problem you mention with my SiLabs CP2102-based ESP32-DevKitC board from Espressif. You don't mention the environment you're using, but I was running Ubuntu as a VirtualBox VM, which turned out to be the source of my problem.
The problem is that USB Serial drivers aren't installed by default in Ubuntu images designed for VM and cloud use.
To resolve the issue, install the linux-image-extra-virtual package by running:
sudo apt-get install linux-image-extra-virtual
Once I installed that package, I got a /dev/ttyUSB0 serial device shortly after connecting my USB device to my (host) Mac.
answered Dec 7 '17 at 8:19
CalrionCalrion
2361412
2361412
add a comment |
add a comment |
I had the same problem. You just need to install linux-modules-extra which contains the driver for your kernel.
With the following command:
sudo apt install linux-modules-extra-$(uname -r)
add a comment |
I had the same problem. You just need to install linux-modules-extra which contains the driver for your kernel.
With the following command:
sudo apt install linux-modules-extra-$(uname -r)
add a comment |
I had the same problem. You just need to install linux-modules-extra which contains the driver for your kernel.
With the following command:
sudo apt install linux-modules-extra-$(uname -r)
I had the same problem. You just need to install linux-modules-extra which contains the driver for your kernel.
With the following command:
sudo apt install linux-modules-extra-$(uname -r)
answered Mar 27 at 22:02
MatoranMatoran
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f935350%2fubuntu-16-04-1-usbserial-missing%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown