sane-project-website/old-archive/1997-11/0170.html

59 wiersze
2.4 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Thu Nov 27 15:22:40 1997 PST" -->
<!-- sent="Thu, 27 Nov 1997 18:22:41 -0500" -->
<!-- name="eric" -->
<!-- email="eric@tarsier.colo.erols.net" -->
<!-- subject="problems with sane and linux..." -->
<!-- id="" -->
<!-- inreplyto="" -->
<title>sane-devel: problems with sane and linux...</title>
<h1>problems with sane and linux...</h1>
<b>eric</b> (<a href="mailto:eric@tarsier.colo.erols.net"><i>eric@tarsier.colo.erols.net</i></a>)<br>
<i>Thu, 27 Nov 1997 18:22:41 -0500</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#170">[ date ]</a><a href="index.html#170">[ thread ]</a><a href="subject.html#170">[ subject ]</a><a href="author.html#170">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0171.html">Andreas Czechanowski: "Re: PARAGON 600 II N"</a>
<li> <b>Previous message:</b> <a href="0169.html">becka@rz.uni-duesseldorf.de: "Re: Life with a UMAX 610S Scanner on Linux"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
When trying to scan with an HP4c on linux 2.0.30, I get a "permission denied"<br>
error trying to open the /dev/sga device -- even if I'm running scanimage or<br>
xscanimage as root. Any ideas? <br>
<p>
I can confirm this by trying "cat /dev/sga" as root -- still permission denied.<br>
<p>
The device is probed and configured properly, and shows up in /proc/scsi/scsi.<br>
<p>
Incidentally, I notice that /dev/sga only allows opens with O_RDWR flags on. <br>
If you try to open it O_RDONLY or O_WRONLY, it gives EPERM. <br>
Has sane changed in some way to only open the device read or write only? :) <br>
<p>
I don't have the source on hand to look right now, as i deleted it a while<br>
back in a fit of confusion over which version of gtk+ and god knows what <br>
else goes with which version of xscanimage and doesn't conflict with which <br>
version of gimp. :) <br>
<p>
<p>
eric<br>
<p>
<p>
<p>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0171.html">Andreas Czechanowski: "Re: PARAGON 600 II N"</a>
<li> <b>Previous message:</b> <a href="0169.html">becka@rz.uni-duesseldorf.de: "Re: Life with a UMAX 610S Scanner on Linux"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>