[Linux-parport] How to Set Pins permanently

Tim Waugh twaugh at redhat.com
Tue May 18 10:51:06 BST 2004


On Mon, May 17, 2004 at 07:34:32PM +0000, Florian Hackenberger wrote:

> Hello!
> 
> I am asking this again, because I have not recieved any useful answer:
> 
> Can anybody tell me how to set pins on the parallel port permanently.
> When using:
> parport_write_data(port, 7);
> Pins 2,3,4 are on for  about 45seconds. But after this period, they are
> off again.

Something else is changing them.

Do you have the port held for exclusive use (with O_EXCL)?

Tim.
*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-parport/attachments/20040518/20b605b4/attachment.bin


More information about the Linux-parport mailing list