kopia lustrzana https://gitlab.com/sane-project/website
134 wiersze
5.1 KiB
HTML
134 wiersze
5.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
||
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
||
<HTML>
|
||
<HEAD>
|
||
<TITLE>sane-devel: Re: sm3600 SANE backend in the beam</TITLE>
|
||
<META NAME="Author" CONTENT="Marian Eichholz (marian.eichholz@freenet-ag.de)">
|
||
<META NAME="Subject" CONTENT="Re: sm3600 SANE backend in the beam">
|
||
</HEAD>
|
||
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
||
<H1>Re: sm3600 SANE backend in the beam</H1>
|
||
<!-- received="Wed Apr 4 02:06:33 2001" -->
|
||
<!-- isoreceived="20010404090633" -->
|
||
<!-- sent="Wed, 04 Apr 2001 11:21:37 +0200" -->
|
||
<!-- isosent="20010404092137" -->
|
||
<!-- name="Marian Eichholz" -->
|
||
<!-- email="marian.eichholz@freenet-ag.de" -->
|
||
<!-- subject="Re: sm3600 SANE backend in the beam" -->
|
||
<!-- id="3ACAE7A1.F2C92D9D@freenet-ag.de" -->
|
||
<!-- inreplyto="01040407043001.01575@idun" -->
|
||
<STRONG>From:</STRONG> Marian Eichholz (<A HREF="mailto:marian.eichholz@freenet-ag.de?Subject=Re:%20sm3600%20SANE%20backend%20in%20the%20beam&In-Reply-To=<3ACAE7A1.F2C92D9D@freenet-ag.de>"><EM>marian.eichholz@freenet-ag.de</EM></A>)<BR>
|
||
<STRONG>Date:</STRONG> Wed Apr 04 2001 - 02:21:37 PDT
|
||
<P>
|
||
<!-- next="start" -->
|
||
<LI><STRONG>Next message:</STRONG> <A HREF="0024.html">Charles Briscoe-Smith: "Artec Ultima 2000/Grandtech GT6801 USB scanner"</A>
|
||
<UL>
|
||
<LI><STRONG>Previous message:</STRONG> <A HREF="0022.html">Oliver Neukum: "Re: sm3600 SANE backend in the beam"</A>
|
||
<LI><STRONG>In reply to:</STRONG> <A HREF="0022.html">Oliver Neukum: "Re: sm3600 SANE backend in the beam"</A>
|
||
<!-- nextthread="start" -->
|
||
<LI><STRONG>Next in thread:</STRONG> <A HREF="0044.html">Karsten Festag: "Re: sm3600 SANE backend in the beam"</A>
|
||
<!-- reply="end" -->
|
||
<LI><STRONG>Messages sorted by:</STRONG>
|
||
<A HREF="date.html#23">[ date ]</A>
|
||
<A HREF="index.html#23">[ thread ]</A>
|
||
<A HREF="subject.html#23">[ subject ]</A>
|
||
<A HREF="author.html#23">[ author ]</A>
|
||
</UL>
|
||
<HR NOSHADE><P>
|
||
<!-- body="start" -->
|
||
<P>
|
||
Oliver Neukum wrote:
|
||
<BR>
|
||
<P><EM>> > > > Or you change the permissions and ownership on the usbdevfs entry.
|
||
</EM><BR>
|
||
<EM>> > > > Or write a small kernel module.
|
||
</EM><BR>
|
||
<EM>> >
|
||
</EM><BR>
|
||
<EM>> > Check out <A HREF="http://www.xena.uklinux.net/Linux/usb_perms.html">http://www.xena.uklinux.net/Linux/usb_perms.html</A> for a quick and
|
||
</EM><BR>
|
||
<EM>> > dirty daemon to fix the file permissions. I think that under 2.4, the
|
||
</EM><BR>
|
||
<EM>> > hotplug capability will provide similar functionality.
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> Hi,
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> this shows an admirable spirit, but the approach has an inherent race
|
||
</EM><BR>
|
||
<EM>> condition. You cannot know whether the device nodes whose permissions you set
|
||
</EM><BR>
|
||
<EM>> are still the correct ones. The risk, however, is small.
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> Hotplug should somewhen in the future provide this functionality. At present
|
||
</EM><BR>
|
||
<EM>> it has race conditions similar to those mentioned above.
|
||
</EM><BR>
|
||
<P>Ok, this is a point. For now, I will continue to use "goot old usbfs",
|
||
<BR>
|
||
until SANE integration is usable, and then we will switch to a kernel
|
||
<BR>
|
||
module. Or we can support both interfaces, since the API layer in the
|
||
<BR>
|
||
scanning code is very small and exchangeable, even at run time.
|
||
<BR>
|
||
<P>Hotplugging sounds nifty. Perhaps I will get some spare time to have a
|
||
<BR>
|
||
look at it. In the meantime a "permission fixer" will have to do the
|
||
<BR>
|
||
job.
|
||
<BR>
|
||
<P>Mit freundlichen Gruessen / Yours sincerely
|
||
<BR>
|
||
<P>Marian Eichholz
|
||
<BR>
|
||
<P>- - - - - - - - - - -
|
||
<BR>
|
||
Marian Eichholz
|
||
<BR>
|
||
Postmaster
|
||
<BR>
|
||
freenet.de AG Vorsitzender des Aufsichtsrates: Gerhard Schmid
|
||
<BR>
|
||
Deelb<EFBFBD>genkamp 4c Vorstand: Eckhard Spoerr (Vors.), Axel Krieger
|
||
<BR>
|
||
22297 Hamburg Amtsgericht Hamburg, HRB 74048
|
||
<BR>
|
||
<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?Subject=Re:%20sm3600%20SANE%20backend%20in%20the%20beam&In-Reply-To=<3ACAE7A1.F2C92D9D@freenet-ag.de>">majordomo@mostang.com</A>
|
||
</PRE>
|
||
<P><!-- body="end" -->
|
||
<HR NOSHADE>
|
||
<UL>
|
||
<!-- next="start" -->
|
||
<LI><STRONG>Next message:</STRONG> <A HREF="0024.html">Charles Briscoe-Smith: "Artec Ultima 2000/Grandtech GT6801 USB scanner"</A>
|
||
<LI><STRONG>Previous message:</STRONG> <A HREF="0022.html">Oliver Neukum: "Re: sm3600 SANE backend in the beam"</A>
|
||
<LI><STRONG>In reply to:</STRONG> <A HREF="0022.html">Oliver Neukum: "Re: sm3600 SANE backend in the beam"</A>
|
||
<!-- nextthread="start" -->
|
||
<LI><STRONG>Next in thread:</STRONG> <A HREF="0044.html">Karsten Festag: "Re: sm3600 SANE backend in the beam"</A>
|
||
<!-- reply="end" -->
|
||
<LI><STRONG>Messages sorted by:</STRONG>
|
||
<A HREF="date.html#23">[ date ]</A>
|
||
<A HREF="index.html#23">[ thread ]</A>
|
||
<A HREF="subject.html#23">[ subject ]</A>
|
||
<A HREF="author.html#23">[ author ]</A>
|
||
</UL>
|
||
<!-- trailer="footer" -->
|
||
<HR NOSHADE>
|
||
<P>
|
||
<SMALL>
|
||
<EM>
|
||
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
|
||
: <EM>Wed Apr 04 2001 - 02:08:37 PDT</EM>
|
||
</EM>
|
||
</SMALL>
|
||
</BODY>
|
||
</HTML>
|