The directory /proc/parport contains information about the parallel ports of your system. It has one subdirectory for each port, named after the port number (0,1,2,…).
These directories contain the four files shown in this Table
File | Content |
---|---|
autoprobe | Any IEEE-1284 device ID information that has been acquired. |
devices | List of the device drivers using that port. A + will appear by the name of the device currently using the port (it might not appear against any). |
hardware | Parallel port's base address, IRQ line and DMA channel. |
irq | IRQ that parport is using for that port. This is in a separate file to allow you to alter it by writing a new value in (IRQ number or none). |