[PARPORT] Basic parport problem...

From: Eric Pretorious (epretorious@hotmail.com)
Date: Thu Mar 01 2001 - 20:46:58 EST

  • Next message: Tim Waugh: "Re: [PARPORT] Basic parport problem..."

    My head hurts from the monitor hiiting it all the time... I'm sure that
    there's a simple solution to this. I thank you and my monitor thanks you [in
    advance].

    Eric P.
    Los Gatos, CA

    >I've read the entire /usr/src/linux/Documentation/parport.txt and
    >understand everything _except_ the section "Reporting printer problems with
    >parport". (I learned a lot reading that document - Thanks!) Can you please
    >help me?
    >
    >Eric P.
    >Los Gatos, CA
    >
    >>I'm stumped. I can't seem to configure parport to detect my parallel port
    >>though /proc/sys/dev/parport/parport0/autoprobe
    >>correctly identifies my printer (an HP LJ4P). Any thoughts?
    >>
    >>Eric P.
    >>
    >>I've configured the BIOS (Award BIOS on a BP-6) :
    >> I/O 0x3bc
    >> IRQ 7
    >> PORT MODE ECP+EPP
    >> ECP DMA Mode 3
    >> EPP Mode 1.7
    >>
    >>I've compiled the kernel (v. 2.4.1):
    >> Y Parallel port support
    >> Y PC-Style hardware
    >> Y Use FIFO/DMA if available
    >> Y IEEE 1284 transfer mode
    >>
    >>and, I've appended the lilo.conf (per the
    >>/usr/src/linux/Documentation/partport.txt):
    >> append = "parport=auto"
    >>
    >>...but still receive the message "No such device" if I direct output to
    >>/dev/lp0.
    >>
    >>/var/log/messages contains the following:
    >>1. *without* the kernel command line in lilo.conf:
    >> parport0: PC-style at 0x3bc (px7bc) FIFO[PCSPP,TRISTATE,COMPAT,ECP]
    >> parport0: irq 7 detected
    >> parport0: legacy device
    >>
    >>2. *with* the kernel command line in lilo.conf (append = "parport=auto"):
    >> Kernel command line: auto BOOT_IMAGE=2.4.1c ro root=2108
    >>BOOT_FILE=/boot/vmlinuz-2.4.1c parport=auto
    >> parport0: PC-style at 0x3bc (px7bc), irq7 usring
    >>FIFO[PCSPP,TRISTATE,COMPAT,ECP]
    >> parport0: legacy device
    >>
    >>In both instances, /proc/sys/dev/parport/parport0/ contains the following:
    >>autoprobe
    >>========
    >>MODEL: HP;
    >>MANUFACTURER: hewlett-packard;
    >>COMMAND SET:HP;
    >>
    >>autoprobeN # N = 1,2,3
    >>=========
    >><all other autoprobe values were null>
    >>
    >>base-addr
    >>========
    >>956 1980
    >>
    >>devices/active
    >>======/====
    >>none
    >>
    >>dma
    >>===
    >>-1
    >>
    >>irq
    >>===
    >>-1
    >>
    >>modes
    >>=====
    >>PCSPP,TRISTATE,COMPAT,ECP
    >>
    >>spintime
    >>=======
    >>500
    >>
    >>The device files' major and minor numbers all seem correct:
    >>/dev/lp0 6, 0
    >>/dev/lp1 6, 1
    >>/dev/lp2 6, 2
    >>
    >>...and the /proc/ioports are in-line:
    >>03bc-03be: parport0
    >>07bc-07be: parport0
    >_______________________________________________
    >svlug mailing list
    >svlug@lists.svlug.org
    >http://lists.svlug.org/mailman/listinfo/svlug
    >

    _________________________________________________________________
    Get your FREE download of MSN Explorer at http://explorer.msn.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 : Thu Mar 01 2001 - 20:49:53 EST