I have a free DB-25 port (colloquially: "parallel port") on an Ubuntu 16.04 machine and the right cable (CISCO terminal cable) and now I want to use this port for RS-232 serial traffic using this cable (which you would nowadays you would normally use a DE-9 port ["serial port"] for, which I do already have in use).
Output of lsmod | grep ppdev
:
ppdev 20480 0
parport 49152 2 ppdev,parport_pc
I have no /dev/parport*
or /dev/lp*
. I have /proc/sys/dev/parport/default/
but not any /proc/sys/dev/parport/parport*
.
No relevant entries under /sys/class/tty/
either.
Possibly relevant lines from dmesg
:
[ 13.833749] parport_pc 00:03: disabled
[ 13.833757] parport_pc: probe of 00:03 failed with error -22
[…]
[ 15.783423] ppdev: user-space parallel port driver
After I adding pnpacpi=off
to my kernel cmdline as per https://lkml.org/lkml/2008/6/12/4:
[ 14.676968] parport0: PC-style at 0x378 (0x778)
[…]
[ 14.804761] parport0: irq 7 detected
Now there is /dev/parport0
and /proc/sys/dev/parport/parport0
.
So how do I enable it and use it for serial communication like the other relevant tty
devices?