Re: [PARPORT] figuring out an ECP port problem

From: Dave Strauss (D.Strauss@motorola.com)
Date: Thu May 01 2003 - 10:50:30 EDT

  • Next message: Bret Comstock Waldow: "Re: [PARPORT] figuring out an ECP port problem"

    Also FWIW, at least through RedHat 7.3 ECP-mode support has *not* been
    built into RedHat's distributions; to get ECP support you have to rebuild
    the kernel (well, the modules, actually) and set CONFIG_PARPORT_PC_FIFO
    to "y".

    -- Dave Strauss

    On Thu, 01 May 2003 10:16:45 -0400, Kevin<kjsisson@bellsouth.net> wrote:
    >
    > FWIW, I have been using the older VMware versions (up to 2.04) on
    > Mandrake systems, from the 2.2 to 2.4 kernels (currently 2.4.18, MD
    > 8.2). I set my parallel port to ECP in the BIOS, and put the lines
    >
    > alias parport_lowlevel parport_pc
    > options parport_pc io=0x378 irq=5 dma=3
    >
    > in my /etc/modules.conf file. I believe that all necessary PP ECP
    > support is either compiled into the Mandrake kernel or available as a
    > loadable module, because I use the stock kernel and don't explicitly
    > load any other modules (other than the VMware ones of course). I then
    > set the parallel port in VMware to /dev/parport0
    > with 'bidirectional' checked. This allows me to use my PP scanner from
    > the VMware windows session.
    >
    >
    > Kevin
    >
    >
    >
    > Bret Comstock Waldow wrote:
    >
    > >Hi,
    > >
    > >The background is I'm trying to get parallel port access using VMware on
    > >a Red Hat 9 linux system.
    > >
    > >The hardware is an IBM T21 laptop. It has a parallel port, recognized
    > >and working fine in Windows.
    > >
    > >VMware wants an ECP port to allow two-way communication between programs
    > >running in the VMware session and the outside world. There is an option
    > >in the BIOS to set the port to ECP Mode.
    > >
    > >After booting into Linux, I can do this:
    > >
    > >[bret@ganesha learning]$ cat /proc/sys/dev/parport/parport0/base-addr
    > >888 1912
    > >[bret@ganesha learning]$ cat /proc/sys/dev/parport/parport0/irq
    > >7
    > >[bret@ganesha learning]$ cat /proc/sys/dev/parport/parport0/dma
    > >1
    > >[bret@ganesha learning]$ cat /proc/sys/dev/parport/parport0/modes
    > >PCSPP,TRISTATE
    > >
    > >The first three settings correspond to the settings in the BIOS. I'm
    > >not sure about the last.
    > >
    > >There are other settings for the port mode, with other responses:
    > >BIOS response
    > >
    > >Output Only PCSPP
    > >Bi-Directional PCSPP,TRISTATE
    > >EPP PCSPP,TRISTATE,EPP
    > >
    > >Should the response for ECP be PCSPP,TRISTATE,ECP? It's not, and VMware
    > >reports on start-up that the parallel port doesn't support ECP mode and
    > >won't be used.
    > >
    > >Thanks in advance,
    > >Bret
    > >
    > >

    -- 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 : Thu May 01 2003 - 10:52:48 EDT