Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47666 - Genkernel doesn't enable parport for printing by default
Summary: Genkernel doesn't enable parport for printing by default
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-04-12 22:38 UTC by Adam Tenderholt
Modified: 2004-07-28 03:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Tenderholt 2004-04-12 22:38:38 UTC
When using genkernel to compile kernel 2.6.4, it doesn't enable the parport module needed to print to a parallel port printer by default. It seems to be present in 3.0.2a, but I used an earlier version of genkernel to compile the kernel I had problems with.

Adam


Reproducible: Always
Steps to Reproduce:
1. genkernel --menuconfig --bootsplash all
2. find parallel port support in menu


Actual Results:  
Parellel port support is not included 

Expected Results:  
Parellel port support probably should be included by default
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-04-24 02:56:12 UTC
Hm; well I'm closing this bug since it's in the default configuration for 3.0.2a...

$ grep "CONFIG_PARPORT=" /usr/share/genkernel/*/*config*
/usr/share/genkernel/alpha/kernel-config-2.4:CONFIG_PARPORT=y
/usr/share/genkernel/sparc64/kernel-config:CONFIG_PARPORT=m
/usr/share/genkernel/x86/kernel-config-2.4:CONFIG_PARPORT=m
/usr/share/genkernel/x86/kernel-config-2.6:CONFIG_PARPORT=m
/usr/share/genkernel/x86_64/kernel-config-2.6:CONFIG_PARPORT=m
/usr/share/genkernel/x86_64/kernel-config-2.6-emachines:CONFIG_PARPORT=m
/usr/share/genkernel/x86_64/kernel-config-2.6-smp:CONFIG_PARPORT=m

If you still have any issues with this with 3.0.2a please feel free to reopen the bug. Thanks!
Comment 2 Adam Tenderholt 2004-04-24 10:23:39 UTC
Hi, I think the problem is the CONFIG_PRINTER:

$ grep "CONFIG_PRINTER*" /usr/share/genkernel/*/*config*
/usr/share/genkernel/alpha/kernel-config-2.4:CONFIG_PRINTER=y
/usr/share/genkernel/sparc/kernel-config:# CONFIG_PRINTER is not set
/usr/share/genkernel/sparc64/kernel-config:CONFIG_PRINTER=m
/usr/share/genkernel/x86/kernel-config-2.4:CONFIG_PRINTER=m
/usr/share/genkernel/x86_64/kernel-config-2.6:# CONFIG_PRINTER is not set
/usr/share/genkernel/x86_64/kernel-config-2.6-emachines:# CONFIG_PRINTER is not set
/usr/share/genkernel/x86_64/kernel-config-2.6-smp:# CONFIG_PRINTER is not set

This option builds the lp module for attaching "...a printer to the parallel port of your Linux box".

Adam
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2004-04-24 10:49:37 UTC
Ah; I see - I'll add that in into the next release with a few more configuration changes... Thanks!
Comment 4 Graham Hudspith 2004-07-13 13:21:44 UTC
Problem still present in 3.0.2b.

Since upgrading to kernel 2.6 (currently 2.6.7-r10), have not been able to get a parallel printer to work. Worked quite happily in 2.4, and still works quite happily when I boot into WinXP.

Found this discussed in the Gentoo forums:

http://forums.gentoo.org/viewtopic.php?t=197417&highlight=paralell+parallel+printer

Seems that genkernel is setting (as modules):

Device Drivers -> Parallel Port Support -> Parallel Port Support (CONFIG_PARPORT); module is called parport
Device Drivers -> Parallel Port Support -> PC Style Hardware (CONFIG_PARPORT_PC); module is called parport_pc

but is NOT setting (i.e. leaving unset):

Device Drivers -> Character Devices -> Parallel Printer Support (CONFIG_PRINTER); module is called lp

Tweaking the last option, rebuilding and rebooting (and then reconfiguring CUPS to use the newly created /dev/printers/0!) fixes everything!
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2004-07-28 03:56:13 UTC
Fixed in genkernel-3.0.2e; please tell me if you still have any issues with that. Thanks!