Install ioport by entering the following commands in the terminal:
sudo apt update sudo apt install ioport
Description:
direct access to I/O ports from the command line
This package provides tools to read and wrote to the I/O ports of PC hardware directly from a script or a command line: inb, inw, inl, outb, outw and outl.
Homepage: http://people.redhat.com/rjones/ioport/
Version: 1.2-1
Section: universe/misc