bidi printer

Doing a prn_io (IN) on a bidirectional printer error 19 (ENODEV) is
returned.

The doc says “device was removed” but it wasn’t removed I can write to it,
but can’t read.

The printer may not like the read (i have no doc about this printer and am
going blink attempting to read extended status from it). However I was
not expecting a ENODEV error?

  • Mario

Mario Charest <mcharest@antispam_zinformatic.com> wrote:

: Doing a prn_io (IN) on a bidirectional printer error 19 (ENODEV) is
: returned.

Is the operation targetted to the correct (in) endpoint? Is the
direction field in the urb set correctly? Either of these will
also result in ENODEV …