sane-project-website/old-archive/1999-11/0272.html

121 wiersze
6.2 KiB
HTML

<!-- received="Sat Nov 27 13:13:29 1999 PST" -->
<!-- sent="Sat, 27 Nov 1999 15:11:43 -0600" -->
<!-- name="Laura DeWitt" -->
<!-- email="cats-rule@home.net" -->
<!-- subject="Re: Problem with SANE and SCSI scanner" -->
<!-- id="" -->
<!-- inreplyto="Problem with SANE and SCSI scanner" -->
<title>sane-devel: Re: Problem with SANE and SCSI scanner</title>
<h1>Re: Problem with SANE and SCSI scanner</h1>
<b>Laura DeWitt</b> (<a href="mailto:cats-rule@home.net"><i>cats-rule@home.net</i></a>)<br>
<i>Sat, 27 Nov 1999 15:11:43 -0600</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#272">[ date ]</a><a href="index.html#272">[ thread ]</a><a href="subject.html#272">[ subject ]</a><a href="author.html#272">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0273.html">David Brodbeck: "Re: Problem with SANE and SCSI scanner"</a>
<li> <b>Previous message:</b> <a href="0271.html">Mathias Wennberg: "Mustek 600 IIN color patch"</a>
<li> <b>Maybe in reply to:</b> <a href="0197.html">Laura DeWitt: "Problem with SANE and SCSI scanner"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0276.html">Oliver Rauch: "Re: Problem with SANE and SCSI scanner"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
One additional piece of information, when I try to run the scanimage<br>
command as root, it gets to the attach step and then locks up my machine.<br>
I can't break out of it with a &lt;ctrl&gt;&lt;alt&gt;&lt;del&gt;, I have to powercycle.<br>
<p>
sh-2.03$ su root<br>
Password:<br>
Warning: your password will expire in -13 days<br>
[root@c554912-a ldewitt]# ls -l /dev/sg*<br>
lrwxrwxrwx 1 root root 3 Nov 10 03:57 /dev/sg0 -&gt; sga<br>
lrwxrwxrwx 1 root root 3 Nov 10 03:57 /dev/sg1 -&gt; sgb<br>
crwxrwxrwx 1 root root 21, 10 Nov 10 03:57 /dev/sg10<br>
crwxrwxrwx 1 root root 21, 11 Nov 10 03:57 /dev/sg11<br>
crwxrwxrwx 1 root root 21, 12 Nov 10 03:57 /dev/sg12<br>
crwxrwxrwx 1 root root 21, 13 Nov 10 03:57 /dev/sg13<br>
crwxrwxrwx 1 root root 21, 14 Nov 10 03:57 /dev/sg14<br>
crwxrwxrwx 1 root root 21, 15 Nov 10 03:57 /dev/sg15<br>
crwxrwxrwx 1 root root 21, 16 Nov 10 03:57 /dev/sg16<br>
lrwxrwxrwx 1 root root 3 Nov 10 03:57 /dev/sg2 -&gt; sgc<br>
lrwxrwxrwx 1 root root 3 Nov 10 03:57 /dev/sg3 -&gt; sgd<br>
lrwxrwxrwx 1 root root 3 Nov 10 03:57 /dev/sg4 -&gt; sge<br>
lrwxrwxrwx 1 root root 3 Nov 10 03:57 /dev/sg5 -&gt; sgf<br>
lrwxrwxrwx 1 root root 3 Nov 10 03:57 /dev/sg6 -&gt; sgg<br>
lcrwxrwxrwx 1 root cdwriter 21, 8 Nov 10 03:57 /dev/sg8<br>
crwxrwxrwx 1 root cdwriter 21, 9 Nov 10 03:57 /dev/sg9<br>
crwxrwxrwx 1 root cdwriter 21, 0 May 5 1998 /dev/sga<br>
crwxrwxrwx 1 root cdwriter 21, 1 May 5 1998 /dev/sgb<br>
crwxrwxrwx 1 root cdwriter 21, 2 May 5 1998 /dev/sgc<br>
crwxrwxrwx 1 root cdwriter 21, 3 May 5 1998 /dev/sgd<br>
crwxrwxrwx 1 root cdwriter 21, 4 May 5 1998 /dev/sge<br>
crwxrwxrwx 1 root cdwriter 21, 5 May 5 1998 /dev/sgf<br>
crwxrwxrwx 1 root cdwriter 21, 6 May 5 1998 /dev/sgg<br>
crwxrwxrwx 1 root cdwriter 21, 7 May 5 1998 /dev/sgh<br>
crwxrwxrwx 1 root cdwriter 21, 8 Nov 10 03:57 /dev/sgi<br>
crwxrwxrwx 1 root cdwriter 21, 9 Nov 10 03:57 /dev/sgj<br>
crwxrwxrwx 1 root cdwriter 21, 10 Nov 10 03:57 /dev/sgk<br>
crwxrwxrwx 1 root cdwriter 21, 11 Nov 10 03:57 /dev/sgl<br>
crwxrwxrwx 1 root cdwriter 21, 12 Nov 10 03:57 /dev/sgm<br>
crwxrwxrwx 1 root cdwriter 21, 13 Nov 10 03:57 /dev/sgn<br>
crwxrwxrwx 1 root cdwriter 21, 14 Nov 10 03:57 /dev/sgo<br>
crwxrwxrwx 1 root cdwriter 21, 15 Nov 10 03:57 /dev/sgp<br>
crwxrwxrwx 1 root cdwriter 21, 16 Nov 10 03:57 /dev/sgq<br>
[root@c554912-a ldewitt]# ls -l /dev/scanner<br>
lrwxrwxrwx 1 root root 8 Nov 24 19:54 /dev/scanner -&gt;<br>
/dev/sga<br>
[root@c554912-a ldewitt]# id<br>
uid=0(root) gid=0(root)<br>
groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),1001(cbbuser)<br>
<p>
<i>&gt; &gt; sh-2.03$ scanimage -d canon:/dev/scanner</i><br>
<i>&gt; &gt; [sanei_init_debug]: Setting debug level of canon to 128.</i><br>
<i>&gt; &gt; [canon] &gt;&gt; sane_init</i><br>
<i>&gt; &gt; [canon] sane_init: sane 1.0.1</i><br>
<i>&gt; &gt; [canon] &gt;&gt; attach_one</i><br>
<i>&gt; &gt; [canon] &gt;&gt; attach</i><br>
<i>&gt; &gt; [canon] attach: opening /dev/scanner</i><br>
<i>&gt; &gt; [canon] attach: open failed: Access to resource has been denied</i><br>
<i>&gt; &gt; [canon] &lt;&lt; attach_one</i><br>
<i>&gt; &gt; [canon] &lt;&lt; sane_init</i><br>
<i>&gt; &gt; [canon] &gt;&gt; sane_open</i><br>
<i>&gt; &gt; scanimage: open of device canon:/dev/scanner failed: Invalid argument</i><br>
<i>&gt; &gt; [canon] &gt;&gt; sane_exit</i><br>
<i>&gt; &gt; [canon] &lt;&lt; sane_exit</i><br>
<i>&gt;</i><br>
<i>&gt; Hi, Laura.</i><br>
<i>&gt;</i><br>
<i>&gt; It sounds like a problem with the permissions of /dev/scanner.</i><br>
<i>&gt; Try (as root):</i><br>
<i>&gt;</i><br>
<i>&gt; chmod 777 /dev/scanner /dev/sg*</i><br>
<i>&gt;</i><br>
<i>&gt; Then try scanimage again (not as root).</i><br>
<i>&gt;</i><br>
<i>&gt; If it still fails, send me the output of:</i><br>
<i>&gt;</i><br>
<i>&gt; ls -l /dev/scanner /dev/sg*</i><br>
<i>&gt;</i><br>
<i>&gt; and</i><br>
<i>&gt;</i><br>
<i>&gt; id</i><br>
<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="0273.html">David Brodbeck: "Re: Problem with SANE and SCSI scanner"</a>
<li> <b>Previous message:</b> <a href="0271.html">Mathias Wennberg: "Mustek 600 IIN color patch"</a>
<li> <b>Maybe in reply to:</b> <a href="0197.html">Laura DeWitt: "Problem with SANE and SCSI scanner"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0276.html">Oliver Rauch: "Re: Problem with SANE and SCSI scanner"</a>
<!-- reply="end" -->
</ul>