Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2001 17:11:17 +0000
From:      j mckitrick <jcm@FreeBSD-uk.eu.org>
To:        freebsd-hackers@freebsd.org
Subject:   scsi and PS2 mode parallel port programming
Message-ID:  <20010111171117.A323@dogma.freebsd-uk.eu.org>

next in thread | raw e-mail | index | archive | help

Greets to everyone,

I'm new to hackers, but I'm trying to tackle a couple of bugs in the
parallel port zip driver under newbus/4.x.  I was able to fix the big one
(nibble mode didn't work at all) so now I am trying to get PS2 mode working,
which is much faster on reads.

I have 2 questions:

1.  Is anyone familiar with PS2 transfer protocols with a parallel port set
in ECP mode?  It could always be a buggy BIOS, but I cannot get PS2 mode to
work on my laptop with pport set to ECP mode.  But it works in standard
bi-directional mode.

2.  In the list of scsi error codes, 0x00 is no error, and the defacto
errors start with 0x02.  However, in PS2 mode, when asked for status, the
zip drive returns 0x01.  If I ignore any byte with this bit set, the drive
seems to work okay, but this is a crude and potentially risky fix.  Is there
any way to find out what this actually means?  Could it just be a stray bit?
Or is it an additional scsi status that should be handled?  I *believe* PS2
mode quit working for parallel port zips after a commit to the cam/scsi
system Dec 1999, but I am not familiar with that code, so I didn't know
where to start looking.

I am very interested in contributing my meager skills to the BSD effort in
this manner, but I need a little help getting pointed in the right
direction.  Thanks in advance for any help anyone can offer.


jcm
-- 
o-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-o
| ~~~~~~~~~~~~  Jonathon McKitrick  ~~~~~~~~~~~~~ |
| "I prefer the term 'Artificial Person' myself." |
o-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-o



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




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