Re: [freebsd-stable@freebsd.org]: lpt0 always busy

From: Robert Zagarello (bzag0_at_yahoo.com)
Date: 09/25/05

  • Next message: Tim Howe: "Re: 5.3 -> 5.4 breaks ATA (Intel ICH2)"
    Date: Sun, 25 Sep 2005 09:34:17 -0700 (PDT)
    To: freebsd-stable@freebsd.org
    
    

      Can you get hold of a simpler printer, one that uses
    the HP500 driver for example, and test your port? I
    tend to think it's a driver issue, at least until you
    can rule it out. I've had this problem on a NetBSD
    system, for example, which got solved by switching to
    just such a simpler printer and driver.

    BZAG
    =====================================

    --- Stanley Jobson <stanley.jobson@gmx.ch> wrote:

    > > > i have a separate box running win98. from this
    > box i am able to use the
    > > > printer with the orig vendor driver without any
    > problem ...
    > >
    > > Hmm, well it's possible the serial port is
    > broken..
    >
    > maybe ...
    >
    > >
    > > > > Are you sure nothing else is using the port?
    > (lpd, cups, etc)
    > > >
    > > > i think so: lpd is not running and lsof | grep
    > lpt doesnt show anything
    > > > either : (
    > >
    > > fstat /dev/lpt0
    > > and
    > > fstat /dev/lpt0.ctl
    > >
    > > ?
    >
    > root@tyrael seb $ fstat /dev/lpt0.ctl
    > USER CMD PID FD MOUNT INUM MODE
    > SZ|DV R/W NAME
    > root@tyrael seb $ fstat /dev/lpt0
    > USER CMD PID FD MOUNT INUM MODE
    > SZ|DV R/W NAME
    > root@tyrael seb $
    >
    > >
    > > > so i guess there could be a prob with the
    > ready/status checking
    > > > procedure
    > >
    > > This consists of checking the BUSY pin on the
    > port..
    > > Parallel ports are (sans ECP/EPP extras) very very
    > simple.
    > >
    > > Have you tried using lptcontrol to put it into
    > simple mode?
    >
    > root@tyrael seb $ lptcontrol -s -d /dev/lpt0.ctl
    > root@tyrael seb $
    >
    > > What do you see in dmesg?
    >
    > lpt0: switched to interrupt-driven standard mode
    >
    > looks that everything is ok - not ?
    > but open(/dev/lpt0) still complains about "device
    > busy" ...
    >
    > thx
    > regards,
    > stan
    >
    >
    > _______________________________________________
    > freebsd-stable@freebsd.org mailing list
    >
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    > To unsubscribe, send any mail to
    > "freebsd-stable-unsubscribe@freebsd.org"
    >

    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  • Next message: Tim Howe: "Re: 5.3 -> 5.4 breaks ATA (Intel ICH2)"

    Relevant Pages

    • Re: Seagate Barracuda 160 GB IDE becomes corrupted. RMA?
      ... Operating System Microsoft Windows 2000 Professional ... System Memory 512 MB ... Communication Port Communications Port ... Driver Download http://www.viaarena.com/?PageID=2 ...
      (comp.sys.ibm.pc.hardware.storage)
    • soft lockup disease (2.6.14-rc1, x86_64)
      ... IA-32 Microcode Update Driver: v1 ... IO window: 1000-1fff] L ... ACPI: PM-Timer IO Port: 0x408 ACPI: Local APIC address 0xfee00000 ...
      (Linux-Kernel)
    • [PATCH]PCI Express Port Bus Driver
      ... A PCI Express Port is a logical PCI-PCI Bridge structure. ... physical device to be handled by only a single driver. ... service drivers will compete for a single PCI-PCI Bridge device. ...
      (Linux-Kernel)
    • Need pci=assign-busses for Acer Aspire 9410
      ... Using APIC driver default ... ACPI: Local APIC address 0xfee00000 ... SELinux: Initializing. ... cs: IO port probe 0x6000-0x6fff: clean. ...
      (Linux-Kernel)
    • USB BADPAD Quirk broken again
      ... PCI: PCI BIOS revision 2.10 entry at 0xfb240, ... Uniform Multi-Platform E-IDE driver Revision: ... usb.c: new USB bus registered, ... Port indicators are not supported ...
      (Linux-Kernel)