[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: no such device as /dev/lpt1



David Wright wrote:

> Quoting Kent West (westk@acu.edu):
> >
> > Thanks Jim, for the response. That helps clear up a couple of things. So
> > now, when I do an "insmod lp", I get this:
> >
> > /lib/modules/2.2.14/misc/lp.o: unresolved symbol
> > parport_ieee1284_nibble_mode_ok
> > /lib/modules/2.2.14/misc/lp.o: unresolved symbol parport_unregister_device
> > /lib/modules/2.2.14/misc/lp.o: unresolved symbol parport_enumerate
> > /lib/modules/2.2.14/misc/lp.o: unresolved symbol parport_claim_or_block
> > /lib/modules/2.2.14/misc/lp.o: unresolved symbol parport_register_device
> > /lib/modules/2.2.14/misc/lp.o: unresolved symbol parport_wait_peripheral
> > /lib/modules/2.2.14/misc/lp.o: unresolved symbol parport_release
> >
> > Just for kicks, I just now did another "make modules" and "make
> > modules_install", but it didn't help. Maybe I'll get another clue from
> > someone else pretty soon. Again, thanks!
>
> Either use modprobe lp, which will consult modules.dep for you,
> or insmod parport and then insmod lp. (I think you compiled
> parport.o OK.)
>
> For info, 2.2 kernels assign lp0, 1, dynamically to ports that are
> found; 2.0 kernels assigned them statically, and lp1 was 0x378
> merely because lp0 was 0x3bc (who's got one of those?).
>
> Cheers,
>
> --
> Email:  d.wright@open.ac.uk   Tel: +44 1908 653 739  Fax: +44 1908 655 151
> Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
> Disclaimer:   These addresses are only for reaching me, and do not signify
> official stationery. Views expressed here are either my own or plagiarised.

Thanks for the response David. I had tried "modprobe lp", but that gave me the
error:
/lib/modules/2.2.14/misc/lp.o: invalid parameter
parm_io
/lib/modules/2.2.14/misc/lp.o: insmod
/lib/modules/2.2.14/misc/lp.o failed
/lib/modules/2.2.14/misc/lp.o: insmod lp failed

The answer came from Mike Thompson, who had me do
"insmod parport"
"insmod parport_pc"
then "insmod lp"
 (He also suggested I do an "insmod parport_probe" just before the "insmod lp",
but that resulted in a "module not found" type message, and things are working
without it.)

Thanks again!


Reply to: