[Prev][Next][Index][Thread]

autodetection works 100% of the time for me, AFTER...



Tom,

I too was having problems with autodetection in the FreeBSD driver,
but now it works perfectly (at least on a unidirectional port).

The trick was to output the following sequence to the control port
first.  Yes, that's right, only the control port, no sending data
down, so hopefully we don't screw up people's printers:

write_control(0x20)
write_control(0x0b)
write_control(0x0e)

then do the probe for transitions.

Paul