On Wed, 2005-06-01 12:01:50 +0200, Nico Schottelius <[email protected]> wrote: > Is it possible to select (in userspace) which pins > should be enabled or do I have to write a kernel driver > for that? There's already a driver available for exactly this purpose: ppdev. At http://lug-owl.de/~jbglaw/software/steckdose/steckdose.c is a program I wrote for controlling a shift register (serial in, parallel out) with relays attached (to switch on/off computers or to reset them). This should help you for a start. (Basically, open/claim the port and set the bits of the DATA port via an ioctl()) MfG, JBG -- Jan-Benedict Glaw [email protected] . +49-172-7608481 _ O _ "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
Attachment:
signature.asc
Description: Digital signature
- References:
- Parallel Port: Settings PINs on?
- From: Nico Schottelius <[email protected]>
- Parallel Port: Settings PINs on?
- Prev by Date: Re: Parallel Port: Settings PINs on?
- Next by Date: Re: [RFC/PATCH 0/5] add execute in place support
- Previous by thread: Re: Parallel Port: Settings PINs on?
- Next by thread: getting the number of shared pages
- Index(es):