[PARPORT] pg driver

From: Morteargenta Giovanni (shoggoth@thearmy.com)
Date: Thu Aug 10 2000 - 20:28:11 EDT

  • Next message: Mike Fabian: "[PARPORT] Re: pg driver"

    Hello.
    I'm new in the list , and i have a problem with the /dev/pg0 driver file

    if i make a mknod /dev/pg0 c 97 0 , and create a character device ,
    later , when i try to mount the disk
    (after insmod parport paride epat & pg , that load perfectly) , i get
    the message

        /dev/pg0 is not a block device

    so , i deleted the file , and did a block device with same major & minor
    numbers , and then in the mount , i get
     /dev/pg0 has wrong major number

    So , i can't mount the cd.

    The Hardware
        HP - CD-R 7200

    The Messages :

    # ls -l /dev/pg0
    crw-r--r-- 1 root root 97, 0 Aug 10 23:38 /dev/pg0
    # mount /dev/pg0 /cdr
    mount: /dev/pg0 is not a block device

    The dmesg

    paride: version 1.05 installed
    paride: epat registered as protocol 0
    pg: pg version 1.02, major 97
    pg0: epat: port 0x3bc, mode 0, ccr ff, test=(255,255,510)
    pg0: epat: port 0x3bc, mode 1, ccr ff, test=(255,255,510)
    pg0: epat: port 0x3bc, mode 2, ccr ff, test=(255,255,510)
    pg0: epat: port 0x378, mode 0, ccr 0, test=(256,0,0)
    pg0: epat: port 0x378, mode 1, ccr 40, test=(255,224,448)
    pg0: epat: port 0x378, mode 2, ccr 0, test=(256,0,0)
    pg0: epat: port 0x378, mode 3, ccr 0, test=(256,0,0)
    pg0: epat: port 0x378, mode 4, ccr 0, test=(256,0,0)
    pg0: epat: port 0x378, mode 5, ccr 0, test=(256,0,0)
    pg0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 5 (EPP-32), delay 1
    pg0: Reset (1) signature = 6f 6f 7f 6f 6f (incorrect)
    pg0: Reset (1) signature = 1 1 1 14 eb
    pg0: HP CD-Writer+ 7200, slave

    # lsmod
    Module Size Used by
    pg 5828 0 (unused)
    epat 5932 1
    paride 3500 1 [pg epat]
    parport 25120 0 [paride]
    bsd_comp 3920 0 (autoclean)
    sb 5812 0
    sb_lib 33204 0 [sb]
    isa-pnp 27052 0 [sb]
    uart401 6160 0 [sb_lib]
    sound 55884 0 (autoclean) [sb sb_lib uart401]
    soundcore 3588 33 (autoclean) [sb_lib sound]
    nls_iso8859-1 2604 4 (autoclean)
    vfat 10220 2 (autoclean)
    fat 30144 0 (autoclean) [vfat]

    The Kernel
     2.4.0-test5 on a AMD-k6/2 266

    Any idea of what i'm doing wrong?

    Thanks a lot

    -- 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 Aug 10 2000 - 18:38:55 EDT