On Wed, Sep 26, 2001 at 01:41:06AM +0900, shun wrote:
> How to judge which parallel port mode
> can be used with PC, the beginning of a program.
>
> For example,
>
> if (PC support ECP mode) then ...;
> ^^^^^^^^^^^^^^^^^^^
> What thing is there in the method of this judgment?
> As one method, I know I can use "modes" file.
> Is there any method good for others?
If you are using /dev/parport*, you can use the PPGETMODES ioctl
command.
Tim.
*/
-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Sun Sep 30 2001 - 16:46:31 EDT