[Linux-parport] microtek slimscan c3 freezes system
Adam Baker
parport at baker-net.org.uk
Wed Sep 28 19:00:07 EDT 2005
On Wednesday 28 September 2005 20:00, w kay wrote:
> I'm using Libranet gnu/linux 3.0 & recompiled the kernel to include the
> linux-ppscsi-2.6.x.patch.gz, which succeeded in the microtek slimscan
> c3 scanner being detected by -xsane, xscanimage,quiteinsane-But when I
> try to scan using any of these, the system freezes up totally & I have
> to reboot. I would be interested to know if anyone here has used this
> scanner successfully & any ideas to get it working. my machine is:
>
> e machines T2080
> AMD Athlon 2000+
> 512 MB ram
>
> Let me know if I can ginve any other info. Thanks,
>
Seems like a good time to ask my favourite question - If you look
in /var/log/messages, does the parport driver support EPP mode?
With the stock parport_pc I get
gromit kernel: parport0: PC-style at 0x378 (0x778), irq 7, dma 1
[PCSPP,TRISTATE,COMPAT,ECP,DMA]
With the Intel bug check commented out as per the patch below EPP works and I
get
gromit kernel: parport0: PC-style at 0x378 (0x778), irq 7, dma 1
[PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
This makes the difference between my Microtek Phantom 336CX which uses the
onscsi driver working and not working.
I haven't tried to use it with EPP disabled recently but I think it did
eventually time out and recover but it gave a jolly good impression of having
locked up first.
Feedback one way or the other would be appreciated as I'm trying to gauge how
widespread this problem is.
--- linux-2.6.11.4-21.9/drivers/parport/parport_pc.c 2005-03-02
07:38:32.000000000 +0000
+++ linux-2.6.11.4-21.9-aab/drivers/parport/parport_pc.c 2005-09-26
21:35:18.000000000 +0100
@@ -1898,14 +1898,13 @@
/* Check for Intel bug. */
- if (priv->ecr) {
+ /* if (priv->ecr) {
unsigned char i;
for (i = 0x00; i < 0x80; i += 0x20) {
ECR_WRITE (pb, i);
if (clear_epp_timeout (pb)) {
- /* Phony EPP in ECP. */
return 0;
}
}
- }
+ }*/
pb->modes |= PARPORT_MODE_EPP;
More information about the Linux-parport
mailing list