install usb serial

Install driver for USB-UART bridge converter on Linux Ubuntu12.04

Ubuntu下USB转串口芯片驱动程序安装,支持cp210x,pl2303等

Reference: Fixing the cp210x open - Unable to enable UART
Error

When you plugin your USB-UART converter,
and run "> ls
/dev/tty*
", if you don‘t see the
/dev/ttyUSB0 (or similar), your Linux does not detect your USB-UART
device.

We need to install the driver for your
device.

Here we use Ubuntu12.04, and Updated the
source to 3.2.0 version. If there is difference about version
Number from your OS platform, please try to modify it into
yours.

1.Download the
Linux Source Code

Open a terminal and execute the following
commands. Note that your version of Linux may differ slightly --
adjust accordingly.

$ cd ~

$ sudo apt-get install
build-essential linux-source

$ cp
/usr/src/linux-source-3.2.0.tar.bz2 .

$ bunzip2
linux-source-3.2.0.tar.bz2 

$ tar xf
linux-source-3.2.0.tar 

$ cd
~/linux-source-3.2.0

2.Recompile and
Reinstall the cp210x Driver

From within a terminal,
execute:

$ cd
~/linux-source-3.2.0

$ make oldconfig

$ make prepare

$ make scripts

$ cp
/usr/src/linux-headers-3.2.0-34-generic-pae/Module.symvers
.

 

Here, I have the
"3.2.0-29" version also,
I launched the command above, but not the below:

  "cp
/usr/src/linux-headers-3.2.0-29-generic-pae/Module.symvers
."

Recompile and Reinstall the cp210x
Driver

Here, We can actually install many kinds
of USB-UART converter drivers. We take cp210x as the
example.

From within a terminal,
execute:

$ make
M=drivers/usb/serial

$ sudo mv /lib/modules/$(uname
-r)/kernel/drivers/usb/serial/cp210x.ko /lib/modules/$(uname
-r)/kernel/drivers/usb/serial/cp210x.ko.old

$ sudo cp
drivers/usb/serial/cp210x.ko /lib/modules/$(uname
-r)/kernel/drivers/usb/serial/

$ sudo modprobe -r
cp210x

$ sudo modprobe
cp210x

Reboot Linux system.

Run
Terminal:

$ ls /dev/tty*

The we can see the device is detected by
Linux Host OS:

时间: 2024-08-28 20:21:37

install usb serial的相关文章

Linux/drivers/usb/serial/ftdi_sio.c

Linux/drivers/usb/serial/ftdi_sio.h 1 /* 2 * Driver definitions for the FTDI USB Single Port Serial Converter - 3 * known as FTDI_SIO (Serial Input/Output application of the chipset) 4 * 5 * For USB vendor/product IDs (VID/PID), please see ftdi_sio_i

USB组合设备 Interface Association Descriptor (IAD)

Communication Device Class,简称CDCUSB Compound Device,USB复合设备USB Composite Device,USB组合设备 摘要USB复合设备 Compound Device内嵌Hub和多个Function,每个Function都相当于一个独立的USB外设,有自己的PID/VID.USB组合设备Composite Device内只有一个Function,只有一套PID/VID,通过将不同的interface定义为不同的类来实现多个功能的组合.

Linux usb转串口驱动

Linux USB转串口驱动程序: /* * USB Serial Converter driver */ #include <linux/kernel.h> #include <linux/errno.h> #include <linux/init.h> #include <linux/slab.h> #include <linux/smp_lock.h> #include <linux/tty.h> #include <li

how to buy ELM327 wifi bluetooth usb obd2 scanner

ELM327 can be divided into different categories according to the different ways 1) Operating system ELM327 are designed to work on various systems, Android and PC system, Android and IOS system, Android, IOS and PC system, Android and Symbian system,

Install Ford IDS V96 detailed instruction

Hi, all. Ford IDS V96 has released now! Here is the instruction for how to install Ford IDS-V96 in VMware player. Video guide: https://www.dropbox.com/s/q2pws9gzhu56t5s/sp239-sp239-b-Ford%20IDS-V96%20install%20video%20vm.avi?dl=0 Guide via pics: 1. i

Step by step instruction for install Mazda IDS V95 for VXDIAG VCX NANO

Here comes the detailed instruction for step-by-step instruction of Mazda IDS V95 for VXDIAG VCX NANO for Mazda.Hope it helps you out. Video guide: https://www.dropbox.com/s/52skalr3astiunp/sp239-sp239-b-Mazda%20IDS-V95%20install%20video.avi?dl=0 Ope

linux下USB串口,minicom

[一].驱动相关说明: 如果直接使用串口线,而没有用到USB转串口设备,就不需要安装驱动. 如果使用了USB转串口,一般情况下也不需要安装驱动了,目前linux系统已经包含了该驱动,可以自动识别,亦可通过以下命令查看以便确认是否支持. 查看模块装载的情况: 引用 # lsmod |grep pl2303 pl2303                 18629  0 usbserial              29865  1 pl2303 如果看到类似于上述信息,则表明能正确识别该设备,否则

How to install New Arrival VXDIAG VCX NANO

Here is the detailed guide for how to install Mazda IDS V95. Video help: https://www.dropbox.com/s/su9lw45v3codmx6/sp239-sp239-b-Mazda%20IDS-V95%20install%20video%20vm.avi?dl=0 1. Preparation 2. Create Virtual Machine, install Windows XP Professional

ubuntu16.04使用USB转TTL(ch340)串口转usb调试过程

以前搞过一次这个,但是时间长了又忘了. 今天用ch340在linux下调试,用以前写好的串口调试程序不能发送数据了.只记得window下需要安装驱动,实际linux下也需要驱动才能正常使用.默认linux是有这一驱动的,但是有些老旧,不能用. 今天的调试过程中,首先把ch340 一端插入电脑输入命令: lsmod | grep usbserial 输出:usbserial              53248  1 ch341成功发现了设备,识别出时 ch341  是我记错了??输入:lsusb