Re: [PARPORT] Not recognizing /dev/par0 on 2.4.14

From: Tom Perkins (tomp@trperkins.2y.net)
Date: Sun Jan 13 2002 - 15:18:13 EST

  • Next message: ÃÖ Á¾È: "[PARPORT] Parallel Port Midi driver?"

    Looks to me like the "lp" driver/module isn't there. parport is
    lowlevel. lp uses the lowlevel parport to support /dev/lp0,1,2,3, ...

    lpd (the printer demon) is looking for lp.

    as a module the name would be lp.o

    Regards,
    Tom

    Steve Doerr wrote:

    > Hi Tom/Tim. Here's the only related logging that I can see and CONFIG_LP.
    >
    > Thanks,
    > Steve
    >
    > the only CONFIG_LP I see:
    > # CONFIG_LP486E is not set
    >
    > dmesg:
    > parport0: PC-style at 0x378 [PCSPP(,...)]
    > parport_pc: Via 686A parallel port: io=0x378
    >
    > kern.log:
    > Jan 11 11:14:05 debian kernel: parport0: PC-style at 0x378 [PCSPP(,...)]
    > Jan 11 11:14:05 debian kernel: parport_pc: Via 686A parallel port: io=0x378
    > Jan 11 11:15:23 debian kernel: spurious 8259A interrupt: IRQ7.
    >
    > lpr.log:
    > Jan 12 07:38:16 debian lpd: cron.daily found errors, run checkpc for
    > details.
    >
    >
    > Tom Perkins wrote:
    >
    >
    >>How about some log file output?
    >>
    >>Regards,
    >>Tom
    >>
    >>Steve Doerr wrote:
    >>
    >>
    >>>Hello. Does any one have any ideas what the problem might be with par0
    >>>on the above kernel?
    >>>
    >>>It's not seeing the device, which is there, and I followed instruct. in
    >>>parport.txt for building the driver into the kernel. Can anyone tell
    >>>from the following info whether I missed something, or if this might be
    >>>a bug?
    >>>
    >>>Any input greatly appreciated.
    >>>
    >>>Thanks,
    >>>Steve
    >>>
    >>>debian:/usr/src/kernel-source-2.4.14# ls -l /dev/par*
    >>>crw-rw---- 1 root lp 6, 0 Oct 18 2000 /dev/par0
    >>>crw-rw---- 1 root lp 6, 1 Oct 18 2000 /dev/par1
    >>>crw-rw---- 1 root lp 6, 2 Oct 18 2000 /dev/par2
    >>>
    >>>Driver is in the kernel - here's relevant config/other details:
    >>>
    >>>CONFIG_PARPORT=y
    >>>CONFIG_PARPORT_PC=y
    >>>CONFIG_PARPORT_PC_CML1=y
    >>>
    >>>Checkpc -f:
    >>>Warning - ** cannot open '/var/log/lp-errs' - 'Permission denied'
    >>>Warning - ** cannot open '/var/log/lp-acct' - 'Permission denied'
    >>>Warning - lp: cannot open lp device '/dev/par0' - No such device
    >>>
    >>>cat /proc/interrupts:
    >>> 4: 12139 XT-PIC serial
    >>> 10: 0 XT-PIC via82cxxx
    >>>
    >>>cat /proc/ioports:
    >>>0378-037a : parport0
    >>>
    >>>lines included in lilo.conf:
    >>>parport=0x378,7
    >>>lp=parport0
    >>>
    >>>-- To unsubscribe, send mail to: linux-parport-request@torque.net --
    >>>-- with the single word "unsubscribe" in the body of the message. --
    >>>
    >>>
    >>>
    >>>
    >>-- To unsubscribe, send mail to: linux-parport-request@torque.net --
    >>-- with the single word "unsubscribe" in the body of the message. --
    >>
    >
    >

    -- 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 : Sun Jan 13 2002 - 15:22:50 EST