[Linux-parport] Negotiating IEEE1284_MODE_EPP
Tim Waugh
twaugh at redhat.com
Tue May 25 11:45:40 EDT 2004
On Tue, May 25, 2004 at 04:52:37PM +0200, Gerhard Bertelsmann wrote:
> I'm having a problem to negotiate EPP mode for parport.
> I've done this with ppdev in user mode with no problem using
> ppdev:
>
> mode = IEEE1284_MODE_EPP;
> negotiate_first=0;
> if (negotiate_first)
> {
> ioctl (pport, PPNEGOT, &mode);
> } else
> {
> ioctl (pport, PPSETMODE, &mode);
> }
The fundamental difference is that the above code is *not*
negotiating, whereas your kernel code is.
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/20040525/4afdb6e3/attachment.bin
More information about the Linux-parport
mailing list