Messages in this thread | | | Date | Thu, 7 Aug 2003 10:03:55 -0700 (PDT) | From | Russell Whitaker <> | Subject | Re: Fw: 2.6.0: lp not working |
| |
On Thu, 7 Aug 2003, Randy.Dunlap wrote:
> On Thu, 7 Aug 2003 02:31:53 -0700 (PDT) Russell Whitaker <russ@ashlandhome.net> wrote: > > | On Wed, 6 Aug 2003, Randy.Dunlap wrote: > | > | > | Date: Tue, 5 Aug 2003 22:43:17 -0700 (PDT) > | > | From: Russell Whitaker <russ@ashlandhome.net> > | > | To: linux-kernel@vger.kernel.org > | > | Subject: 2.6.0: lp not working > | > | > | > | > | > | Hi > | > | Edited lilo.conf so I can boot either kernel-2.6.0-test2 > | > | (default) or kernel-2.4.21, using hda1. > | > | > | > | lpr a small file, no print. ctrl-alt-del and rebooted using > | > | 2.4.21, file printed. Checked the two config files and could > | > | not find any difference in this area. > | > | > | > | Printer is a Panasonic dot-matrix running in text mode. > | > | Also using patch bk5. > | > > | > Is "Parallel Printer support" built into your kernel or built as a > | > module? If built as a module, are you sure that the module is > | > loaded? If modular, please provide contents of /proc/modules > | > when you try to print. > | > > | Built as a module > | Found lp.ko in /lib/modules/2.6.0-test2-bk4/kernel/drivers/char > | lp <file> then lpq shows <file> in queue > | > | contents of /proc/modules > | ipt_LOG 5376 1 - Live 0xf891a000 > | ipt_limit 2496 1 - Live 0xf8915000 > | ipt_state 1792 2 - Live 0xf8913000 > | iptable_filter 2752 1 - Live 0xf88d3000 > | ip_tables 22080 4 ipt_LOG,ipt_limit,ipt_state,iptable_filter, Live 0xf88d8000 > | ip_conntrack_ftp 72308 0 - Live 0xf88fe000 > | ip_conntrack 43092 2 ipt_state,ip_conntrack_ftp, Live 0xf88df000 > | ide_cd 41536 0 - Live 0xf88ba000 > | cdrom 35168 1 ide_cd, Live 0xf88c6000 > > I guess I don't get it. Why isn't "lp" listed in /proc/modules? > Did you load it or is that the problem -- that it's not being > auto-loaded? > Does the <file> print if you load the lp module? > By golly I think you got it - it's not being auto-loaded. As su, "modeprobe lp" and the file printed. Sorry I didn't think of that myself.
Thanks, Russ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |