Справочник Пользователя для CODi A01026
11
Linux
Step:1. Under root folder, create a new folder and copy PL-2303
source code to new folder.
Step:2. Open "Makefile" with GEDIT or KATE under new folder.
Step:3. Modify line 5 "KINCLUDES=/usr/src/linux/include".
Example: "KINCLUDES=/usr/src/linux-2.4.7-10/include".
Step:3. Modify line 5 "KINCLUDES=/usr/src/linux/include".
Example: "KINCLUDES=/usr/src/linux-2.4.7-10/include".
You could find folder name on Linux.
Step:4. Open terminal mode and login root user.
Step:5. Go to the new folder and then type "make all" to compile the
PL-2303 source code.
This will create two files: "pl2303.o" and "usbserial.o".
This will create two files: "pl2303.o" and "usbserial.o".
Step:6. Type "make inst" that will install the PL-2303 Linux driver into
Linux.
Step:7. Plug the PL-2303 cable into USB port and key-in "dmesg", it
will show "Prolific USB Serial Adapter converter now attached
to ttyUSB0 (orusb/tts/0
for devfs)". This means the cable is now working under Linux.
to ttyUSB0 (orusb/tts/0
for devfs)". This means the cable is now working under Linux.