[Linux-parport] Using libieee1284 with Ubuntu

Tim Waugh twaugh at redhat.com
Wed Aug 10 10:07:33 EDT 2011


On Wed, 2011-08-10 at 14:18 +0200, Dr. Alexander Klein wrote:
> 1. The program will only run as root, or else ieee1284_open will  
> return E1284_INIT right away.

Set appropriate permissions or ACLs on /dev/parport*.

> 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.

Sounds like you're writing the control register instead of the data
register.

Tim.
*/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-parport/attachments/20110810/026ce6b7/attachment.sig>


More information about the Linux-parport mailing list