Summary: | gentoo-sources-3.0 - /dev/lp0 missing | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | [OLD] Printing | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Juergen Rose
2011-08-07 18:07:31 UTC
And the corresponding output with linux-2.6.39-gentoo-r3: root@grizzly:/root(3)# uname -a Linux grizzly 2.6.39-gentoo-r3 #1 PREEMPT Thu Jul 21 17:06:29 CEST 2011 x86_64 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux root@grizzly:/root(4)# gzip -cd /proc/config.gz | grep -i parp CONFIG_PARPORT=m CONFIG_PARPORT_PC=m # CONFIG_PARPORT_SERIAL is not set CONFIG_PARPORT_PC_FIFO=y CONFIG_PARPORT_PC_SUPERIO=y # CONFIG_PARPORT_GSC is not set # CONFIG_PARPORT_AX88796 is not set CONFIG_PARPORT_1284=y # CONFIG_I2C_PARPORT is not set # CONFIG_I2C_PARPORT_LIGHT is not set root@grizzly:/root(5)# lsmod | grep parp parport_pc 29102 1 parport 25991 2 lp,parport_pc root@grizzly:/root(6)# dmesg | grep parp parport_pc 00:0a: reported by Plug and Play ACPI parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE] parport0: Printer, Hewlett-Packard hp LaserJet 1300 lp0: using parport0 (interrupt-driven). root@grizzly:/root(7)# ll /dev/lp* crw-rw---- 1 root lp 6, 0 Aug 7 21:01 /dev/lp0 And cups is also working. Can you post your configs for both kernels? You don't seem to have the lp module loaded in the 3.0 kernel, and that's why you don't have any /dev/lpx devices. Have you CONFIG_PRINTER=[y|m] in the 3.0 kernel config? Thanks. Hi Stratos, I have for both kenels CONFIG_PRINTER=m: root@grizzly:/root(22)# grep PRINTER /usr/src/linux-2.6.39-gentoo-r3/.config CONFIG_PRINTER=m # CONFIG_USB_PRINTER is not set # CONFIG_USB_G_PRINTER is not set root@grizzly:/root(19)# grep PRINTER /usr/src/linux-3.0-gentoo/.config CONFIG_PRINTER=m # CONFIG_USB_PRINTER is not set # CONFIG_USB_G_PRINTER is not set It seems that the lp module is loaded automatically for linux-2.6.39-gentoo-r3 but not for linux-3.0-gentoo. Perhaps not completely automatically, I have in /etc/conf.d/modules modules_2_6="${modules_2_6} lp" Should I add a line modules_3_0="${modules_3_0} lp" ? Regards Yeap, that should resolve your issue (although you'll need to update it with every major kernel release, ie 3.1, 3.2 etc). I'm going to submit a patch for openrc to fix that issue. Thanks. The change in /etc/conf.d/modules should have fixed your problem. Closing as invalid (although this can be thought as in issue with openrc and the new 3.x kernels). If the problems persists, feel free to reopen. Thanks. |