[sane-devel] Re: Re: IO-error in sane/Xsane using IDE over SCSI
Katja und Siegfried Haas
KatjaundSiegfried.Haas at t-online.de
Tue Oct 29 19:39:07 GMT 2002
Hello again!
First thank you Henning very much for the fast reply!
To answer Your questions -
My Kernel is 2.4.10-4GB
I have allready reduced the mustek.config to the very basics and in
the sane.dll there is only mustek activated
How do I activate the debug messages?
My sane-version is 0.79 and sane /scanimage does not prompt an
errormessage but seams to get stuck/the bash doesn't turn back to
the prompt and afterwards when trying to open the pnm with gimp it
is said, that there is an unexpected end of the file and gimp can't
open the picutre.
And anyway - do you have an idea, why the scanner works as root via sane
and doesn't as normal user?!
And where can I look up the scan-commands for sane?! Is there any
summary on the web?
Thank's a lot
Siegfried
>
>
>Hi,
>
>On Mon, Oct 28, 2002 at 08:38:30PM +0100, Katja und Siegfried Haas wrote:
>
>
>>I have just subscribed the mailinglist and would like to make the
>>following request! Can anybody help me?
>>
>>
>
>Looks more like a kernel or SuSE than a SANE problem.
>
>To make sure, no SANE backend interfers, you could disable everything
>but mustek in dll.conf. An you could disable all the scsi entries in
>mustek.conf and only use a fixed "/dev/sg2".
>
>
>
>>After installing Xcdroast on my Linux-system (SuSE 7.3, Kernel 2.4) I
>>had to set both - the IDE-CD-Rom and the IDE-CD-Writer - as SCSI-devices
>>via the "SCSI-emulation", using the command in lilo-append "hdc=ide-scsi
>>hdd=ide-scsi".
>>
>>
>
>Similar problems with the SCSI emulation have been reported
>frequently. But I thought they have been fixed meanwhile. Which kernel
>version is this exactly?
>
>
>
>>That works well for Xcdroast but now my SCSI-Scanner
>>(Mustek Paragon 600 II) gives, when using it via Xsane as normal user,
>>the errormessage "Fehler bei Geräte IO"and does not work at all.
>>
>>
>
>If you enable debug messages, you should get a more detailed error
>message: SANE_DEBUG_MUSTEK=255 xsane
>
>
>
>>When
>>scanning as root via sane the scanner works, allthough the ...pnm-file,
>>which is created, can not be read by gimp (error-message"unexpected end
>>of file").
>>
>>
>
>Usually that means, that some sort of error ocuured, too. But
>scanimage should also pront the error message. Which SANE version do
>you use?
>
>
>
>>cat proc/scsi/scsi gives the answer in the attached file (CD-Rom at
>>0000, CD-RW at 0010 and Scanner at 1060)
>>
>>
>
>Looks ok for me.
>
>
>
>>What can I do? How can I set the permission correct for the physical
>>SCSI-Adapter?(sg2 has the right permissions!)
>>
>>
>
>No idea. Usually you must only set the permissions for /dev/sg?.
>However, the "error during device io" usually doesn't mean "permission
>problem" but a problem during actual scanning.
>
>Bye,
> Henning
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20021029/2d038fac/attachment.htm>
More information about the sane-devel
mailing list