[PARPORT] pcd not working


Sarantos Kapidakis (sarantos@mit.edu)
Tue, 2 Mar 1999 23:25:37 -0500


I use autoloading to load pcd and pg:
alias parport_lowlevel parport_pc
options parport_pc io=0x378 irq=7
options pg drive0=0x378,,,5,1,0 verbose=1
options pcd drive0=0x378,,,5,1,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

but sometimes, like today, pcd did not autoload correctly.
I could not use /dev/pcd0 - I was getting a message than no CD is
present. After executing "cdrecord -scanbus" that autoloads and
uses pg, both pg and pcd worked fine. The drive, a HP7200e, was
off power before loading any modules (but was powered on before
loading any module). I run kernel 2.2.2, without extra patches.

There seems to be an initialization problem. I attach the subset of
my /var/log/messages that refer to paride messages, where similar
lines that are repeated have been omitted (I have the full file, if
you need more information).

thanks

sarantos

Mar 2 15:29:51 lunix kernel: paride: version 1.04 installed
Mar 2 15:29:51 lunix kernel: paride: epat registered as protocol 0
Mar 2 15:29:51 lunix kernel: pcd: pcd version 1.07, major 46, nice 1
Mar 2 15:29:51 lunix kernel: parport0: PC-style at 0x378, irq 7 [SPP,PS2,EPP]
Mar 2 15:29:51 lunix kernel: pcd0: 0x378 is parport0
Mar 2 15:29:51 lunix kernel: pcd0: epat: port 0x378, mode 5, ccr 0, test=(255,0,0)
Mar 2 15:29:51 lunix kernel: pcd0: Sharing parport0 at 0x378
Mar 2 15:29:51 lunix kernel: pcd0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 5 (EPP-32), delay 0
Mar 2 15:29:53 lunix kernel: pcd0: Reset (22) signature = 1 1 1 14 eb
Mar 2 15:29:53 lunix kernel: pcd0: Slave: CD-Writer+ 7200
Mar 2 15:31:10 lunix kernel: pcd0: read subchannel completion: alt=0x51 stat=0x51 err=0x20 loop=0 phase=3
Mar 2 15:31:10 lunix kernel: pcd0: read subchannel: Sense key: 2, ASC: 3a, ASQ: 0
Mar 2 15:31:11 lunix kernel: pcd0: read subchannel completion: alt=0x51 stat=0x51 err=0x20 loop=0 phase=3
Mar 2 15:31:11 lunix kernel: pcd0: read subchannel: Sense key: 2, ASC: 3a, ASQ: 0
...
Mar 2 15:43:54 lunix kernel: pg: pg version 1.02, major 97
Mar 2 15:43:54 lunix kernel: pg0: 0x378 is parport0
Mar 2 15:43:54 lunix kernel: pg0: epat: port 0x378, mode 5, ccr 0, test=(255,0,0)
Mar 2 15:43:54 lunix kernel: pg0: Sharing parport0 at 0x378
Mar 2 15:43:54 lunix kernel: pg0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 5 (EPP-32), delay 0
Mar 2 15:43:56 lunix kernel: pg0: Reset (189) signature = 1 1 1 14 eb
Mar 2 15:43:56 lunix kernel: pg0: HP CD-Writer+ 7200, slave
Mar 2 15:43:56 lunix kernel: pcd0: read subchannel completion: alt=0x51 stat=0x51 err=0x20 loop=0 phase=3
Mar 2 15:43:56 lunix kernel: pcd0: read subchannel: Sense key: 2, ASC: 4, ASQ: 1
Mar 2 15:43:56 lunix kernel: pcd0: read subchannel completion: alt=0x51 stat=0x51 err=0x20 loop=0 phase=3
Mar 2 15:43:56 lunix kernel: pcd0: read subchannel: Sense key: 2, ASC: 4, ASQ: 1
...
Mar 2 20:02:25 lunix kernel: pg: pg version 1.02, major 97
Mar 2 20:02:25 lunix kernel: pg0: 0x378 is parport0
Mar 2 20:02:25 lunix kernel: pg0: epat: port 0x378, mode 5, ccr 0, test=(256,0,0)
Mar 2 20:02:25 lunix kernel: pg0: Sharing parport0 at 0x378
Mar 2 20:02:25 lunix kernel: pg0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 5 (EPP-32), delay 0
Mar 2 20:02:25 lunix kernel: pg0: Reset (1) signature = 1 1 1 14 eb
Mar 2 20:02:25 lunix kernel: pg0: HP CD-Writer+ 7200, slave
Mar 2 20:04:23 lunix kernel: pcd0: read subchannel completion: alt=0x51 stat=0x51 err=0x50 loop=8 phase=3
Mar 2 20:04:23 lunix kernel: pcd0: read subchannel: Sense key: 5, ASC: 64, ASQ: 0
...

-- 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 02 Mar 1999 - 23:26:21 EST