[PARPORT] No ATAPI device detected


Sarantos Kapidakis (sarantos@mit.edu)
Thu, 18 Feb 1999 13:28:11 -0500


When I try to autoload pg (or pcd) from modules, the device is not
detected, and the loading fails:
paride: version 1.04 installed
paride: epat registered as protocol 0
pg: pg version 1.02, major 97
parport0: PC-style at 0x378, irq 7 [SPP,PS2,EPP]
pg0: 0x378 is parport0
pg0: epat: port 0x378, mode 0, ccr 0, test=(255,0,0)
pg0: Sharing parport0 at 0x378
pg0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 0 (4-bit), delay 0
pg0: Reset (1) signature = 7f ff ff 7f 7f (incorrect)
pg: No ATAPI device detected

But I can manualy load the module (as root) by "insmod pg":
pg: pg version 1.02, major 97
pg0: Sharing parport0 at 0x378
pg0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 5 (EPP-32), delay 1
pg0: HP CD-Writer+ 7200, slave

Even if I set mode to 5 (on the options), the autoloading fails:
pg: pg version 1.02, major 97
pg0: 0x378 is parport0
pg0: epat: port 0x378, mode 5, ccr 0, test=(255,0,0)
pg0: Sharing parport0 at 0x378
pg0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 5 (EPP-32), delay 0
pg0: Reset (1) signature = 7f ff ff ff ff (incorrect)
pg: No ATAPI device detected

I am running 2.2.1 and my /etc/conf.modules includes:
alias parport_lowlevel parport_pc
options parport_pc io=0x378 irq=7
options pg drive0=0x378,,,,,0 verbose=1
options pcd drive0=0x378,,,,,0 verbose=1 nice=1
alias block-major-46 pcd
alias char-major-97 pg
pre-install pcd modprobe epat
pre-install pg modprobe epat

If I build the modules into the kernel, the detection is right.
There must be something missing from my module declarations, right?
Any idea what is wrong ?

thanks

sarantos

-- 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 Thu 18 Feb 1999 - 13:29:34 EST