[clug] USB to RS232 DB9 Adapter
Bryan Kilgallin
kilgallin at iinet.net.au
Tue Aug 6 11:11:54 UTC 2019
Thanks, Steve:
> Red hat Linux 8 was released in 2002 and used the 2.4 release of the
> Linux Kernel. Trying to build this driver for your 2019-era Linux 4.5
> kernel will be harder than checking to see if it's already supported
> (hint: it has been since about 2004).
The driver software has versions for "Redhat9" and "Redhat73". I assume
that the latter means version 7.3. So I repeat the procedure (make inst)
for Red Hat 9. Receiving the following report.
{
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
}
> Plug the unit into your PC and run the lsusb command. You want to look
> for a line that might look something like this;|
> |
>
> |Bus 001 Device 016: ID 067b:2303 Prolific Technology, Inc. PL2303
> Serial Port|
Yes!
{
Bus 002 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial
Port
}
> This tells us the unit is a) correctly picked up by your kernel, and b)
> is pretty much ready to use as the device /dev/ttyUSB0.
Thank you.
> If you don't get any output in lsusb, then the next step is to see what
> dmesg has to say about it. Unplug the device, and run the 'dmesg'
> command. Take a note of what the last few lines say.
As I did get output from lsusb, I didn't perform this check. But I note
the import of "the last few lines".
> Plug the unit back in, and run dmesg again. Copy everything that has
> appeared since you last checked and let us know what it says. Note that
> we don't need the entire dmesg output, just the lines that appear after
> you plug the USB back in.
I presume therefore, that of this voluminous report, you want "the last
few lines". The last section of this listing, is about the firewall.
Should I reconfigure that?
{
[ 1649.193091] [UFW BLOCK] IN=enp1s0 OUT=
MAC=01:00:5e:00:00:01:78:a0:51:5d:fb:bf:08:00 SRC=10.1.1.1 DST=224.0.0.1
LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[ 1774.189210] [UFW BLOCK] IN=enp1s0 OUT=
MAC=01:00:5e:00:00:01:78:a0:51:5d:fb:bf:08:00 SRC=10.1.1.1 DST=224.0.0.1
LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[ 1899.185949] [UFW BLOCK] IN=enp1s0 OUT=
MAC=01:00:5e:00:00:01:78:a0:51:5d:fb:bf:08:00 SRC=10.1.1.1 DST=224.0.0.1
LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[ 2024.182835] [UFW BLOCK] IN=enp1s0 OUT=
MAC=01:00:5e:00:00:01:78:a0:51:5d:fb:bf:08:00 SRC=10.1.1.1 DST=224.0.0.1
LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[ 2149.179658] [UFW BLOCK] IN=enp1s0 OUT=
MAC=01:00:5e:00:00:01:78:a0:51:5d:fb:bf:08:00 SRC=10.1.1.1 DST=224.0.0.1
LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[ 2274.175367] [UFW BLOCK] IN=enp1s0 OUT=
MAC=01:00:5e:00:00:01:78:a0:51:5d:fb:bf:08:00 SRC=10.1.1.1 DST=224.0.0.1
LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[ 2399.171208] [UFW BLOCK] IN=enp1s0 OUT=
MAC=01:00:5e:00:00:01:78:a0:51:5d:fb:bf:08:00 SRC=10.1.1.1 DST=224.0.0.1
LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[ 2524.168322] [UFW BLOCK] IN=enp1s0 OUT=
MAC=01:00:5e:00:00:01:78:a0:51:5d:fb:bf:08:00 SRC=10.1.1.1 DST=224.0.0.1
LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
}
--
members.iinet.net.au/~kilgallin/
More information about the linux
mailing list