[Linux-parport] Using libieee1284 with Ubuntu

Dr. Alexander Klein Alexander.Klein at math.uni-giessen.de
Wed Aug 10 08:18:26 EDT 2011


Hello,

I'm trying to do some signalling via the parallel port on a Xubuntu  
10.04 machine. I lashed up a small test from the libieee1284 man  
pages, but there are some problems remaining:

1. The program will only run as root, or else ieee1284_open will  
return E1284_INIT right away.

2. Only the lower four bits are available for output. Trying to write  
something larger than 31 to the port results in the warning "use  
ieee1284_data_dir to change data line direction!", but  
ieee1284_data_dir with either 0 or 255 as an argument didn't seem to  
change anything.

What else could I try?

Kind regards,

	Alex
-- 
           Dr. Alexander Klein, Diplom-Mathematiker

Physiologisches Institut       |               TransMIT Zentrum
Raum 543                       |        für Numerische Methoden
Aulweg 129                     |          Heinrich-Buff-Ring 44
35392 Giessen                  |                  35392 Giessen




More information about the Linux-parport mailing list