[Linux-parport] Negotiating IEEE1284_MODE_EPP

Tim Waugh twaugh at redhat.com
Tue May 25 12:52:37 EDT 2004


On Tue, May 25, 2004 at 06:19:50PM +0200, Gerhard Bertelsmann wrote:

> OK let's say I want to set IEEE1284_MODE_EPP. How can I do this ?
> Is there a similar function in parport like ppdev ioctl (pport, 
> PPSETMODE, &mode) ?
> Didn't find it.

Just use the parport_ieee1284_epp_* functions.  SETMODE doesn't do
anything to the device.

> I've tried pdev->port=PARPORT_MODE_EPP but this changed nothing.
> BTW: is parport_read_data/ parport_write_data doing the IEEE1284 
> handshaking if
> setup correctly to IEEE1284 mode ?

Don't use those, since your device is not fully IEEE 1284 compliant
(it doesn't negotiate).  Use the parport_ieee1284_epp_* functions.

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/59ce2942/attachment.bin


More information about the Linux-parport mailing list