Joke Collection Website - Blessing messages - How to install the GreenLink serial port driver in Linux system

How to install the GreenLink serial port driver in Linux system

1. Enter lsmod in the console and first see if the device can be detected. Just check if there is the word pl2303. If so, there is no need to install the driver.

2. In addition, if there is one, it is best to use dmesg|grepusb to search and if you see: drivers/usb/serial/usb-serial.c:USBSerialsupportregisteredforGeneric. It means that the device has been recognized, and then look down rivers/usb/serial/usb-serial.c: USBSerialsupportregisteredforPL-2303, usb2-2: PL-2303converternowattachedtottyUSB0 (orusb/tts/0fordevfs) If not, you need a driver, general hardware Manufacturers will provide it. If it is not available, you can only download it from the Internet. Generally, it is supported by kernel 2.6 or above.

3. After the installation is complete, enter this command to see if the installation is successful. lsmod|grepusbserial. If there is usbserial, it means that the system supports USB to serial port.

4. After the driver is installed, you need to install the serial port software. It is recommended to install sudoapt-getinstallcutecom with cutecom and puttycutecom. putty install sudoaptinstallputty or sudopacman-Sputty

5. Then start the cutecom command sudocutecom, and then you can see which serial ports are connected.

6. When the development board is started, we need to pass in the elf or bin file. At this time, we need to use tftp. In the console, enter: sudoapt-getinstallxinetd, sudoapt-getinstalltftptftpd and wait for the installation to complete, enter : sudovi/etc/xinetd.d/tftp Enter i to enter insert mode, then press esc to enter wq. save.

7. Sudo/etc/init.d/xinetdrestart must be executed when starting for the first time and every time when changing directories, otherwise the file will not be found.

8. If you like to use putty, you can enter sudoputty on the console to run the program.