[PARPORT] Clean IEEE1284 termination

From: Greg Nelson (ghn@qtmsys.com)
Date: Mon Mar 06 2000 - 12:31:11 EST

  • Next message: Franck Pasquier: "[PARPORT] conf.modules lines for imation ls-120"

    I want to check something simple here (I'm working with kernel
    2.3.42).

    parport_ieee1284_terminate seems to be the only place where the
    handshaking is done to return the port to compatibility mode. (Good.)

    parport_negotiate seems to be the only place
    parport_ieee1284_terminate is called.

    My best understanding is that closing the port leads to calls to
    pp_release, parport_release (if claimed), and
    parport_unregister_device (if pdev non-NULL). I can't find anything
    that would guarantee, at the kernel level, that the port is cleanly
    returned to compatibility mode when the port is closed.

    Does this have to be done at the application level, by renegotiating
    compatibility mode or something like that?

    Thanks,
    Greg Nelson
    ghn@qtmsys.com

    -- 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 : Mon Mar 06 2000 - 12:35:02 EST