lkml.org 
[lkml]   [1999]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: parport in 2.3.*
    On Tue, 14 Dec 1999, Tim Waugh wrote:

    > On Tue, 14 Dec 1999, Bernhard Rosenkraenzer wrote:
    >
    > > Tried it with pre-2.3.32-4 today, and it works now, though, so whatever
    > > the problem was, it's fixed.
    >
    > Strange. I haven't been changing the code much recently at all.
    >
    > > I still don't get any autoprobing info (yes, I enabled IEEE-1284, and
    > > the printer supports it), though. The autoprobe* files are in proc,
    > > but they're empty.
    >
    > What does dmesg say?
    >
    > Tim.
    > */

    I haven't the latest kernel (2.2.13), but

    Make sure the parport_probe module is loaded,
    /sbin/lsmod

    and there might be two kernel configuration settings:

    CONFIG_PNP_PARPORT:

    Some IEEE-1284 conforming parallel-port devices can identify
    themselves when requested. Say Y to enable this feature, or M to
    compile it as a module (parport_probe.o). If in doubt, say N.

    CONFIG_PRINTER_READBACK:

    If your printer conforms to IEEE 1284, it may be able to provide a
    status indication when you read from it (for example, with `cat
    /dev/lp1'). To use this feature, say Y here.




    I get:


    {drf5n@hob}~: /sbin/lsmod
    Module Size Used by
    vmmon 14380 0
    vmnet 10672 3
    ne2k-pci 3928 1 (autoclean)
    8390 5940 0 (autoclean) [ne2k-pci]
    unix 10088 36 (autoclean)
    {drf5n@hob}~: cat /dev/lp0
    cat: /dev/lp0: I/O error
    {drf5n@hob}~: /sbin/lsmod
    Module Size Used by
    parport_probe 2940 0 (autoclean)
    parport_pc 5532 1 (autoclean)
    lp 4988 0 (autoclean)
    parport 6676 1 (autoclean) [parport_probe parport_pc
    lp]
    vmmon 14380 0
    vmnet 10672 3
    ne2k-pci 3928 1 (autoclean)
    8390 5940 0 (autoclean) [ne2k-pci]
    unix 10088 36 (autoclean)
    {drf5n@hob}~: cat /proc/parport/0/autoprobe
    MODEL:Unknown device;
    MANUFACTURER:Unknown vendor;
    {drf5n@hob}~:

    >
    >
    > -
    > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    > the body of a message to majordomo@vger.rutgers.edu
    > Please read the FAQ at http://www.tux.org/lkml/
    >

    --
    Dave Forrest dforrest@virginia.edu
    (804)296-7283h 924-3954w http://www.people.virginia.edu/~drf5n/


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:55    [W:3.147 / U:0.680 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site