To test parallel port we can do the following step:
- Create a node by
mknod /dev/parlelport c 61 0
- The module can now be installed,
parlelport
. You can check that it is effectively reserving the input/output port addresses0x378
with the command:
cat /proc/ioports
- To turn on the LEDs and check that the system is working, execute the command
echo -n A >/dev/parlelport
This should turn on LED zero and six, leaving all of the others off.
- You can check the state of the parallel port issuing the command:
cat /dev/parlelport