Re: Re-2: [PARPORT] Parallel Port Mode switching via normal C-code possible??

From: Gunther Mayer (Gunther.Mayer@t-online.de)
Date: Fri Mar 08 2002 - 11:02:58 EST

  • Next message: Mirek Kwasniak: "Re: Re-2: [PARPORT] Parallel Port Mode switching via normal C-code possible??"

    Uwe Bonnes wrote:
    >
    > >>>>> "sven" == sven luebke <sven.luebke@auerswald.de> writes:
    >
    > sven> Sorry, it's not for a Linux driver. Just MS-DOS environment... I
    > sven> know, I'm in the wrong mailinglist, but I didn't find a MS-DOS
    > sven> parallel port "discussion board"...
    >
    > If you are in DOS, maybe there are some BIOS Interrupts that could do that
    > in a transparent way. ACPI comes also to mind, but probably will work, if
    > ever, on only recent MBs.
    > Otherwise, in DOS, you may also write directly to the Super-I/O controller,
    > without the need for a driver. If however you want a solution that should
    > work with many Super-I/O chips, you have to get their datasheets and/or
    > programming manual and have to implement code that identies the chip and the
    > switching with the appropriate sequence of cookies. Tedious works...
    >
    > I know of some work for the Linux kernel to identify the Super-IO chip.

    See http://home.t-online.de/home/gunther.mayer/lssuperio-0.63.tar.gz
    for a start (it identifies as many chipset as known (by me)).

    You only need DOS equivalents of outb() and inb() to make this work.

    -- 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 : Fri Mar 08 2002 - 11:13:24 EST