On Thu, Apr 29, 1999 at 04:57:41PM -0700, Hidong Kim wrote:
> Hi,
> 
> I can't set up my printer, an HP DeskJet 870Cxi.  It was working ok
> after the initial installation of Mandrake 5.3 under kernel 2.0.36. 
> I've since compiled 2.2.6, and I can't get my printer to work. 
> printtool detects no printer.  I've tried compiling parallel port and
> printer support into the kernel, and also tried to load the parport,
> parport_pc, and lp modules with no success.  I tried following the
> instructions on the Mandrake Web site:
> 
> Printer problems:
> 
> You printer will probably no work anymore after upgrade :)
> You will have to add those lines to your /etc/conf.modules file: 
> 
>        alias parport_lowlevel parport_pc
>        options parport_pc io=0x278 irq=5   <--must be set to your real
> datas for io and irq 
> 
> Then re-run modprobe (modprobe parport_lowlevel). Please also re-run
> printool and set your printer to the correct lp port (usually, a printer
> previously recognized under /dev/lp1 will switch to
> /dev/lp0). 
> 
> When I try the modprobe, I get the error: 
> 
> /lib/modules/2.2.6/misc/parport_pc.o: init_module: Device or resource
> busy
> parport: Device or resource busy
> 
> What does this mean?  Also, how do I find out the io port and irq for my
> printer?  I didn't write them down when the printer was working with the
> stock kernel.  Any suggestions most welcome.  Thanks,

You can find the IO port for the printer from the BIOS POST screen. 
Probably something like 0x278, 0x378, etc.  The IRQ is typically 7.

Check /proc/interrupts to make sure that the IRQ is not being used.  You can
check the IO port in /proc/ioports.

-- 
Steve Philp
[EMAIL PROTECTED]

Reply via email to