Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Printers



Brad Noyes...
> I'm new at kernels and new at configuring printers, which is probably not a 
> good combination in this situation. Are there any suggestions about this? 
> Have people successfully configured a printer with kernel 2.2.x? I'm trying 
> to use an HP deskjet if that means anything.

Hmmm.  I'm in much the same boat although I did upgrade to 5.2 since
starting to run the 2.2.x kernels.  I've got an HP550C that I've
been running off this box since back in the Slackware w/1.2.1 kernel
days.

After going to 2.2 I tried to make a go of it using modules but
modules still give me the screaming horrors sometimes.  I did have it
working with modules for a while with these lines in my conf.modules:

alias parport_lowlevel parport_pc
options parport_pc io=0x378 irq=7

but it was fussy as all get-out and I couldn't rely on KMOD to
always load them for me.

I now have the parallel port compiled into my kernel.  I use make
xconfig.  Under General Setup I've selected 'y' for Parallel Port
Support and PC-Style Hardware.  Under Plug and Play Support I've
selected 'y' for Auto-Probe for Parallel Devices (even though I'm not
using any IEEE-1284 stuff).  Under Character Devices I selected 'y'
for Parallel Printer support and Support IEEE1284 status readback.

The system comes up and probes an lp0 device with no IRQ.  Under
2.0.36 is was probing at lp1 with no IRQ and I was using tunelp to
set it to IRQ 7.

When I cat /proc/parport/0/hardware I see:

base:   0x378
irq:    7
dma:    none
modes:  SPP,ECP,ECPEPP,ECPPS2

Nothing in lilo.conf, VIA MVP3 chipset, yadda yadda yadda.  And no
sound card, just my 4-port serial eating 5 and 9 with two ports
idle.

I had to go into /etc/printcap and change the lp= item accordingly.

ccb

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org