[PARPORT] reset // port device

From: Damien Mattei (Damien.Mattei@unice.fr)
Date: Tue May 06 2003 - 03:45:48 EDT

  • Next message: Blaise Gassend: "Re: [PARPORT] reset // port device"

    hello,

    i wrote a litte soft for monitoring alarms connected to // port under
    linux.( see: http://www-iag.unice.fr/guardian/guardian.html )
    it's a system quite simple if the circuit on one of the 5 lines (BUSY,
    PAPER OUT, SELECT, AUTOFEED, ERROR) is open the data read is true and
    false if it is closed.It worked well during one year, but now the data
    are always read as false, so if an alarm occured it will not be
    monitored as before. The problem is that it happens randomly ,on any
    lines, and randomly after a period of time,when it happens it is not
    reversible until i reboot the system with no power off needed.

    So the linux kernel (or the BIOS?) seems to be able to do a soft reset
    on the // port at boot time, if i can do this reset in my own program
    the system will work again but i can't find on the internet how to do
    this , perheaps someone in the mailing list know that or have an advice?

    best regards

    Damien

    -- 
    Damien MATTEI
    C.N.R.S - UMR 6549 - U.N.S.A
    mailto:mattei@unice.fr
    http://www-iag.unice.fr/
    

    -- 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 May 06 2003 - 03:54:22 EDT