lkml.org 
[lkml]   [1999]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Parallel port device
Date
From
Adrian Baugh wrote:
> Hi (I hope I remembered the anti-spam To: address correctly),
>
> I am building some hardware to allow my computer to control a mains
> appliance, and was planning to have the parallel port drive an opto-isolated
> relay. However, it occured to me that maybe it isn't possible to hold a bit
> on the parallel port high for an arbitrarily long time.

Wrong.

> If so I'd need to put some kind of bistable circuit into my
> hardware. Can anyone tell me whether this is the case or not?

No.

A long, long time ago I wrote a driver that would allow you to
control individual bits on the parport. You're welcome to port
it a reasonably recent kernel.

echo 1 > /dev/....

and the light goes on

echo 0 > ....

and the light goes off.

http://www.bitwizard.nl/freesw.html if I remember correctly. (Otherwise
follow the free software link from the homepage).


Roger.


--
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
------ Microsoft SELLS you Windows, Linux GIVES you the whole house ------


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.124 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site