Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 1999 00:13:47 +0000
From:      Nicolas Souchu <nsouch@teaser.fr>
To:        current@FreeBSD.ORG
Subject:   ZIP+ detection, need testers for the patch
Message-ID:  <19990115001347.00530@breizh.prism.uvsq.fr>

next in thread | raw e-mail | index | archive | help
Hi there,

Currently, the ZIP+ probe is intrusive and sends char to the printer if
no ZIP+ is connected.

Here is a patch that corrects the problem for my printer, but I haven't
any ZIP+ :)

So, please check the ZIP+ is still detected.

Thanks

Index: immio.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/ppbus/immio.c,v
retrieving revision 1.5
diff -u -r1.5 immio.c
--- immio.c     1999/01/10 12:04:54     1.5
+++ immio.c     1999/01/15 00:05:10
@@ -109,7 +109,7 @@
 
 #define DECLARE_CPP_MICROSEQ \
 struct ppb_microseq cpp_microseq[] = {                                 \
-       MS_CASS(0x0c), MS_DELAY(2),                                     \
+       MS_CASS(0x00), MS_DELAY(2),                                     \
        MS_DASS(0xaa), MS_DELAY(10),                                    \
        MS_DASS(0x55), MS_DELAY(10),                                    \
        MS_DASS(0x00), MS_DELAY(10),                                    \
@@ -121,9 +121,9 @@
        MS_RFETCH(MS_REG_STR, 0x38, MS_UNKNOWN /* &s3 */),              \
        MS_DASS(MS_UNKNOWN /* param */),                                \
        MS_DELAY(2),                                                    \
-       MS_CASS(0x0c), MS_DELAY(10),                                    \
-       MS_CASS(0x0d), MS_DELAY(2),                                     \
-       MS_CASS(0x0c), MS_DELAY(10),                                    \
+       MS_CASS(0x00), MS_DELAY(10),                                    \
+       MS_CASS(0x02), MS_DELAY(2),                                     \
+       MS_CASS(0x00), MS_DELAY(10),                                    \
        MS_DASS(0xff), MS_DELAY(10),                                    \
        MS_RET(0)                                                       \
 }


-- 
nsouch@teaser.fr / nsouch@freebsd.org
FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990115001347.00530>