Subject: Re: Retiring 'ss*' and PINT in favour of SANE
To: Brett Lymn <>
From: Roger Brooks <>
List: tech-kern
Date: 01/17/2000 10:49:43
On Mon, 17 Jan 2000, Brett Lymn wrote:

>According to David Brownlee:
>You don't need I/O to use SANE, all the stuff is done by ioctl's -
>this fact only dawned on me when I was doing the spelunking to hook my
>"updated" driver into the kernel.  Only then did I have a close look
>at what the uk driver did - I found that uk only defines open, close
>and ioctl, there is no read or write.  At that point I went back and
>looked at why ss.c did not work and it dawned on me that the chunk of
>code I pointed out before was the only reason.
>>	Can anyone else who has had a problem with the ss* driver try
>>	this?
>I will see if I can scare up a scanner to test but don't hold your
>> Otherwise I think we should comment it out until someone
>>	does - that breaks fewer people than the current situation.
>I agree but I would like it tested ;-)

I tried this over the weekend.  With the two lines which prevent an
ioctl on minor 0 commented out it worked OK with my Mustek Scanexpress


Roger Brooks (Systems Programmer),          |  Email:
Computing Services Dept,                    |  Tel:   +44 151 794 4441
The University of Liverpool,                |  Fax:   +44 151 794 4442
PO Box 147, Liverpool L69 3BX, UK           |