[PARPORT] parport_pc: Device or resource busy


E.Bolt@AVV.RWS.minvenw.nl
18 Jan 2000 12:42:03 +0000


I have not been able to get my printer recognized under linux 2.2.7 (Suse
6.1). The printer is a Canon BJ200, the computer an IBM Thinkpad 770.

The printer does work from ms-windows, interrupt and address are standard for
lpt1.

1) With the following lines in /etc/conf.modules:

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

(Also tried irq=7 and irq=none, but no changes in the results).

results in /var/log/messages are:

Jan 3 14:26:17 lilblue insmod: /lib/modules/2.2.7/misc/parport_pc.o:
init_module: Device or resource busy
Jan 3 14:26:17 lilblue insmod: /lib/modules/2.2.7/misc/parport_pc.o: insmod
parport_lowlevel failed
Jan 3 14:26:17 lilblue insmod: /lib/modules/2.2.7/misc/parport_pc.o:
init_module: Device or resource busy
Jan 3 14:26:17 lilblue insmod: /lib/modules/2.2.7/misc/parport_pc.o: insmod
parport_lowlevel failed
Jan 3 14:26:17 lilblue kernel: lp: driver loaded but no devices found

(btw, why twice?)

lsmod gives:

Module Size Used by
parport_probe 2824 0 (autoclean) (unused)
lp 5008 0 (autoclean) (unused)
parport 6428 1 (autoclean) [parport_probe lp]
ds 6144 2
i82365 22572 2
pcmcia_core 41396 0 [ds i82365]
serial 41940 0 (autoclean)
memstat 1352 0 (unused)
nls_iso8859-1 2024 1 (autoclean)

The /proc/parport directory is empty!

I suppose the following is not surprising anymore, but for completeness:

lilblue:/proc/parport # lptest >/dev/lp0
bash: /dev/lp0: Operation not supported by device

lpc status:
ascii:
        queuing is enabled
        printing is enabled
        no entries
        printer idle
lp:
        queuing is enabled
        printing is enabled
        2 entries in spool area
        waiting for lp to become ready (offline ?)
raw:
        queuing is enabled
        printing is enabled
        no entries
        printer idle

2)

Now with post-install line: in /etc/conf.modules:

alias parport_lowlevel parport_pc
options parport_pc io=0x378 irq=none
post-install parport /sbin/modprobe parport_pc

the results in /var/log/messages:

Jan 17 22:35:38 lilblue insmod: /lib/modules/2.2.7/misc/parport.o:
post-install parport failed
Jan 17 22:35:38 lilblue insmod: /lib/modules/2.2.7/misc/parport.o: insmod
char-major-6 failed
Jan 17 22:36:10 lilblue insmod: /lib/modules/2.2.7/misc/parport_pc.o:
init_module: Device or resource busy
Jan 17 22:36:10 lilblue insmod: /lib/modules/2.2.7/misc/parport_pc.o: insmod
parport_lowlevel failed
Jan 17 22:36:11 lilblue insmod: /lib/modules/2.2.7/misc/parport_pc.o:
init_module: Device or resource busy
Jan 17 22:36:11 lilblue insmod: /lib/modules/2.2.7/misc/parport_pc.o: insmod
parport_lowlevel failed
Jan 17 22:36:11 lilblue kernel: lp: driver loaded but no devices found

Does anyone have an idea what's going wrong here and how I can fix it?

thanks,
Ernst Bolt
e.bolt@avv.rws.minvenw.nl

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Tue 18 Jan 2000 - 06:45:05 EST