[sane-devel] Erratic connection of frontends to scanner

Alisdair a.laird@hull24.com
Wed, 19 Mar 2003 11:41:50 +0000


Thanks David,

I found the posting by Mark Plowman and followed his advice. A 'belt and braces approach' 
perhaps, but I've got work to do!

Cheers, Alisdair



David Wilson wrote:
> Another possibility that I thought I would mention.  A few days ago on the 
> list I saw a note about a PAM program that may make changes to the 
> permissions on some files at boot up for security purposes.  I understand 
> there is a file in the /etc/ directory to modify the behavior of the 
> program.  
> 
> It may be worth a look in the archives to see if you can find the details.
> 
> Dave
> 
> Alisdair wrote...
> 
>>Henning,
>>
>>Thanks for your help. I think Oliver has spotted the problem - inadequate permissions on
>>the firmware file. But I still can't understand why, after refusing to work initially
>>everything then came right for a day or so, only to then go back to failing to work!
>>
>>Cheers, and thanks again for your efforts.
>>
>>Regards, Alisdair
>>
>>
>>
>>
>>Henning Meier-Geinitz wrote:
>> > Hi,
>> >
>> > On Tue, Mar 18, 2003 at 08:51:48PM +0000, Alisdair wrote:
>> >
>> >>However, although Xsane/scanimage have been generally communicating fine
>> >>with the backend things do not seem to be very predictable.
>> >
>> >
>> > So the error comes up only sometimes?
>> >
>> > Do you also use Windows?
>> >
>> >
>> >>Right now scanimage returns:
>> >>	[snapscan] Cannot open firmware file
>> >>	/usr/local/etc/sane.d/Snape20.bin
>> >
>> >
>> > Is your firmwarefile named "Snape20.bin" and is in
>> > "/usr/local/etc/sane.d/"?
>> >
>> >
>> >>and Xsane returns:
>> >>	Failed to open snapscan:/dev/usb/scanner0
>> >>	Invalid argument
>> >
>> >
>> > If you start xsane from the command line (shell), soes it pront the
>> > same debug messages as scanimage? If it doesn't, something with your
>> > SANE installation is wrong. Maybe you have two different versions of
>> > SANE (e.g. one in /us and one in /usr/local)?
>> >
>> >
>> >>This happened a few days ago and then suddenly everything was working fine,
>> >>though I had done nothing. Now I'm back here again, and I haven't a clue
>> >>I'm afraid.
>> >
>> >
>> > If you use the scanner with other operating systems maybe the correct
>> > firmware was already uploaded by that operating system? I don't know
>> > if that can happen with the snapscan backend.
>> >
>> > If that's not the problem, when did it stop working? After the first
>> > reboot? Is the scanner found by sane-find-scanner?
>> >
>> > Bye,
>> >   Henning
>> > _______________________________________________
>> > Sane-devel mailing list
>> > Sane-devel@www.mostang.com
>> > http://www.mostang.com/mailman/listinfo/sane-devel
>> >
>> > .
>> >
>>
>>
>>
>>_______________________________________________
>>Sane-devel mailing list
>>Sane-devel@www.mostang.com
>>http://www.mostang.com/mailman/listinfo/sane-devel
>>
> 
> 
>