[PARPORT] Parport device problems

From: David Lambert (dave_lambert@fbcc.com)
Date: Sun Apr 08 2001 - 21:46:39 EDT

  • Next message: Philip Blundell: "Re: [PARPORT] Parport device problems"

    I am having problems accessing my parport device as follows. I would
    appreciate any help this group could give.

    First I loaded the modules so:

    [root@demo /root]# insmod parport
    Using /lib/modules/2.2.18/misc/parport.o
    [root@demo /root]# insmod parport_pc
    Using /lib/modules/2.2.18/misc/parport_pc.o
    [root@demo /root]#

    Then I attempted to cat to /dev/parport0

    [root@demo /root]# cat /dev/parport0
    cat: /dev/parport0: No such device
    [root@demo /root]#

    On looking at the system log I find:

    Apr 8 20:42:28 demo modprobe: modprobe: Can't locate module char-major-99

    Looking at /proc/parport, I find:

    [root@demo /root]# cat /proc/parport/0/hardware
    base: 0x378
    irq: none
    dma: none
    [root@demo /root]#

    If I load the lp driver, it appears to work OK but I still cannot access
    /dev/parport0. Any ideas of what I am doing wrong?

    Also my devices seem to be set up OK:

    [root@demo /root]# ls -l /dev/parport*
    crw-rw---- 1 root daemon 99, 0 Aug 24 2000 /dev/parport0
    crw-rw---- 1 root daemon 99, 1 Aug 24 2000 /dev/parport1
    crw-rw---- 1 root daemon 99, 2 Aug 24 2000 /dev/parport2
    [root@demo /root]#

    -- 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 Apr 08 2001 - 21:48:45 EDT