[clug] USB to RS232 DB9 Adapter

Bryan Kilgallin kilgallin at iinet.net.au
Tue Aug 6 07:01:39 UTC 2019

My ancient DOS palmtop is very unreliable. So I wanted to port its 
applications to my PC.

Thus I bought this converter.

{Connect a variety of legacy RS-232 devices to your modern computer with 
this simple adaptor.

• USB 1.1 compliant

• Speed: Over 250kbps

• Remote wake-up and power management

• Compatibility: Windows XP, Vista, 7, Mac® OS 9.0+, Linux}


The miniature Driver CD contains a Linux directory.
Within which are:
	* "log" directory; and
	* "ld_pl2303_v0728.rar" file.
The "log" directory contains the files:
	* "lenovo_reaper.db7"; and
	* "reaper.log".

I opened "ld_pl2303_v0728.rar" with Archive Manager". Copying the 
results into a folder on my PC's Desktop.
That folder contained these directories:
	* "Redhat8";
	* "Redhat9"; and
	* "Redhat73".
"Redhat8" contains these files:
	* "Makefile";
	* "pl2303.c"; and
	* "ReadMe.txt".
"ReadMe.txt" began thus.
{To install driver -
         make inst (The Makefile will check the module and compile and 
link it automatically. It will also remove
                    the loaded USB-Serial driver)}

Next I opened a Terminal window. Changing the working directory to 
"Redhat8". Then I entered "make inst". With this output to screen.
gcc -D__KERNEL__ -I/usr/src/linux-2.4/include 
-I/usr/src/linux-2.4/drivers/usb/serial   -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common 
-Wno-unused  -DMODULE -c pl2303.c
pl2303.c:33:10: fatal error: linux/config.h: No such file or directory
  #include <linux/config.h>
compilation terminated.
Makefile:45: recipe for target 'pl2303.o' failed
make: *** [pl2303.o] Error 1

My PC is running Ubuntu 18.04.2 LTS.

Please walk me through a fix.

More information about the linux mailing list