On Mon, Dec 11, 2000 at 05:40:38PM -0800, Crump, Valerie wrote:
> epp=IEEE1284_MODE_EPP;
> ioctl(fd,PPSETMODE,&mode)
>
> doesn't change the control lines from compatability mode to EPP mode
No, SETMODE just tells ppdev what to do on read/write, it doesn't
touch the port at all.
> transfers. Subsequent read and write calls do not cause any activity on
> the control lines.
That's bad, but probably caused by the control lines not being set
right. You need to put them in a known state really if you're using
SETMODE>
> I think it may have something to do with the direction bit, but I
> thought that was handled automatically in the hardware. If I alternate
> EPP mode writes and reads (no two or more of either in a row), the data
> lines are set and read correctly. But there's no address or data
> strobing. The second write or read does not set or read the data lines
> correctly.
This sounds like bugs somewhere. To find out where you need to know
which code path is being used: software (ieee1284_ops.c) or hardware
(parport_pc.c).
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 : Tue Dec 12 2000 - 05:15:11 EST