Hello,
I am trying to toggle the values around in the LPT (printer / parallel) port registers. Under windows or DOS this would include simply sending OUT to port 0x378 (which in my case IS the parallel port) with the byte as the 8 bits for the registers. However in Linux, that causes a segmentation fault.
I have and array of LEDs hooked up to the LPT port, hence that doesn't do any sort of negotiation with the computer that most other mechanisms for using the LPT port under Linux need... I am out of ideas, how do I solve this (short of rebooting into DOS)?
Thanks in advance.
|