Roger Price | 1 Apr 2006 18:17
Favicon

SuSE 10.0: scanner only works for root

Sorry if this is a FAQ, but I'd like to review the fix for a "scanner problem"
for which sane might be wrongly suspected.

I have a Canon LiDE 20.  I upgraded to SuSE 10.0, and installed a lot of
stuff.  Now the scanner would only work for root - the users received "no
device found".  I assumed that this was a scan device permissions problem, and
wasted a lot of time fiddling with device permissions.

The solution in my case was to run  /sbin/resmgr list  and notice that nothing
authorised the Canon scanner.  Since 10.0, SuSE have a new policy for resmgr: 
if it isn't specifically authorized, it's forbidden.  Read this good news at
http://en.opensuse.org/SDB:Scanner_Setup_from_SUSE_Linux_10.0 .

For some reason I don't understand, YaST wasn't creating file
/etc/resmgr.conf.d/50-scanner.conf which sets up the resmgr permissions for
the scanner, so I created a file /etc/resmgr.conf.d/51-scanner.conf which
contains:

  # Allow access to Canon LiDE 20
  add usb:vendor=0x04a9,product=0x220d scanner

Once resmgrd was restarted the scanner was available to the users.

Best Regards,
Roger

--

-- 
sane-devel mailing list: sane-devel <at> lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
(Continue reading)

Wolfram Heider | 1 Apr 2006 20:55
Picon

Re: SuSE 10.0: scanner only works for root

Am Samstag, 1. April 2006 18:17 schrieb Roger Price:
> Sorry if this is a FAQ, but I'd like to review the fix for a "scanner
> problem" for which sane might be wrongly suspected.
>
> I have a Canon LiDE 20.  I upgraded to SuSE 10.0, and installed a lot of
> stuff.  Now the scanner would only work for root - the users received "no
> device found".  I assumed that this was a scan device permissions problem,
> and wasted a lot of time fiddling with device permissions.
>
> The solution in my case was to run  /sbin/resmgr list  and notice that
> nothing authorised the Canon scanner.  Since 10.0, SuSE have a new policy
> for resmgr: if it isn't specifically authorized, it's forbidden.  Read this
> good news at http://en.opensuse.org/SDB:Scanner_Setup_from_SUSE_Linux_10.0
> .
>
> For some reason I don't understand, YaST wasn't creating file
> /etc/resmgr.conf.d/50-scanner.conf which sets up the resmgr permissions for
> the scanner, so I created a file /etc/resmgr.conf.d/51-scanner.conf which
> contains:
>
>   # Allow access to Canon LiDE 20
>   add usb:vendor=0x04a9,product=0x220d scanner
>
> Once resmgrd was restarted the scanner was available to the users.
>
> Best Regards,
> Roger

Hello Roger

(Continue reading)

Jouni Rinne | 2 Apr 2006 11:35
Favicon

Brother DCP-115C Combo

Hi!

I'm reporting (as requested in libsane.usermap) that I managed to get the
scanner part of Brother DCP-115C scanner-printer-copier-cardreader combo working
on Ubuntu 5.10.

I used the Brother-supplied drivers from:

http://solutions.brother.com/linux/sol/printer/linux/sane_drivers.html

and added the following lines to /etc/hotplug/usb/libsane.usermap

# Brother|DCP 115C
libusbscanner 0x0003 0x04f9 0x018c 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00
0x00000000

Jouni Rinne

-- 
| me <at> home ~$whoami            ^ ^  | "Trust me, I know what I'm doing!" |
| Jouni 'Mad Max' Rinne      ('x') | - Sledge Hammer                    |
| me <at> home ~$man woman       C " "  | -------[ph34r t3h p3Ngu1n]-------- |
| Segmentation fault (core dumped) | l33tmmx at sci dot fi              |

--

-- 
sane-devel mailing list: sane-devel <at> lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request <at> lists.alioth.debian.org

(Continue reading)

Martin Schüler | 1 Apr 2006 23:21
Picon

Re: ADF jam creating empty output files, Fujitsu (Lonny L. Granstrom)


 On Fri, 31 Mar 2006 14:33:01 -0500  "Lonny L. Granstrom"  wrote:
> ...
> Using scanimage, scanadf, and fujitsu back-end, specifically model
> fi-4220C2.
>
> When an ADF "Document feeder jammed" error occurs I am catching the
> return code and STDERR message.
> Then, allowing Users 15 seconds to clear jam before beginning
> scanning loop again.
> Program written as BASH Shell script.
>
> Problems:
> 1. scanimage & scanadf both create an output file for the document
> that was not completely scanned due to ADF jam.
> 2. Output file is "blank". ImageMagick identify command finds image
> file construction correct, just empty.
> 3. These "blank" files occur in both PNM & TIFF formatted output.
>
> Should I code to remove the last output file produced every time the
> "Document feeder jammed" occurs?
> Is there another method or parameter to use to eliminate these "blanks"?
>

Hello Lonny, 

sorry I'm bad programmer, but a better chemistry / mechanics guy.

1) Paperjam? 
Perhaps it's frequency is concerning to bad rubber conditions.
(Continue reading)

Johannes Meixner | 3 Apr 2006 11:31
Picon

Re: SuSE 10.0: scanner only works for root


Hello,

On Apr 1 18:17 Roger Price wrote (shortened):
> I have a Canon LiDE 20.  I upgraded to SuSE 10.0
...
> http://en.opensuse.org/SDB:Scanner_Setup_from_SUSE_Linux_10.0
> 
> For some reason I don't understand, YaST wasn't creating file
> /etc/resmgr.conf.d/50-scanner.conf

I cannot guess what exactly happened on your particular system
(I don't have a Canon LiDE 20 but for my LiDE 30 it works well).
If you like you can inspect /var/log/YaST2/y2log
where YaST writes tons of logging and debug messages.

> I created a file /etc/resmgr.conf.d/51-scanner.conf which contains:
>   # Allow access to Canon LiDE 20
>   add usb:vendor=0x04a9,product=0x220d scanner
> Once resmgrd was restarted the scanner was available to the users.

This is a perfectly right solution in this case.

Kind Regards
Johannes Meixner
-- 
SUSE LINUX Products GmbH, Maxfeldstrasse 5      Mail: jsmeix <at> suse.de
90409 Nuernberg, Germany                    WWW: http://www.suse.de/

--

-- 
(Continue reading)

m. allan noah | 3 Apr 2006 16:29

Re: Re: ADF jam creating empty output files, Fujitsu (Lonny L. Granstrom)

On Sat, 1 Apr 2006, Martin Schüler wrote:

> 2) Guess there is no SCSI manual for your fi-4220C2 online,
> but it's the successor of my M3092DC.
> At the M3092DC there are many flags present, but not evaluated.
> So, looking at the "M3092DC SCSI Interface Specification" by
> searching about: " A2CA02973-5100 rev 1 " may be a help to you.
>
> If you are a programmer, perhaps you could use
> the sections "1.5 Commands,  4.4.4 Request Sense ..." page 37/90, 42/90.
>
> Unfortunately I'm still not able to apply the Fujitsu Company obligation and
> their output with "my" GNU/Linux business demands.
> If you want to have a silent office, DON'T  trust the SANE GREEN STATUS - as I
> did.
> AND! - Don't use those "THE POSSIBILITIES ARE INFINITE" scanners for
> GNU/Linux.
> Using that Company Output is piggybacking a really hudge burden to you !
>

what are you going on about? perhaps it is poor translation, but if i 
understand you correctly, you are having problems with your scanner? can 
you elaborate?

allan noah
fujitsu backend maintainer

--

-- 
"so don't tell us it can't be done, putting down what you don't know.
money isn't our god, integrity will free our souls" - Max Cavalera
(Continue reading)

Henning Meier-Geinitz | 3 Apr 2006 20:19
Picon

Re: Authorization , plug on plug off the usb

Hi,

On 2006-03-30 03:18, Tamkang wrote:
>   I have a question , if the device files located in
>   /proc/bus/usb/001/002 permissions was -rw-rw-rw the scanner can be
>   use by unprevilaged user , so can i just change the permission ?

For newer Linux kernels which use udev, the file can also be lcoated
in /dev/bus/usb/001/002 (or similar).

>   for permanently.  and also I read the README.Linux there is a
>   question too about distribution that I don't understand exactly
>   what it means, I quote " ... One Solution to set permissions
>   on-the-fly are the Linux hot-plug tools that should come with any
>   current distribution ... ( in here current distribution means my OS
>   rignt ? Redhat (e.g: README.redhat.gz ) where is this file ?
>   because ... ) 

E.g. Debian, SuSE, Redhat.

I don't know wexactly where Redhat explains how SANE permissions are
integrated. Maybe you can find docuemantation on their Website?
If not, ask their support or ask in newsgroups.

>   Your distribution should have set up the scripts to automatically
>   change permissions correctly. Look for " libsane.usermap" and
>   "libusbscanner" in /etc/hotplug/usb . Usually you must just add the
>   users that are allowed to access the scanner to group "scanner". To
>   make that change active, the user must login again. ( is it will
>   ask the user to input Password again?)
(Continue reading)

Henning Meier-Geinitz | 3 Apr 2006 20:22
Picon

Re: SANE entry for HP PSC 1507 scanner.

Hi,

On 2006-03-31 14:46, A. Navrotski wrote:
>  <sane-devel <at> lists.alioth.debian.org>#Hewlett-Packard|PSC 1507
> libusbscanner        0x0003      0x03f0       0x4c11    0x0000      0x0000
> 0x00    0x00      0x00    0x00       0x00       0x00000000

Thanks. I'll add it to libsane.usermap.

Bye,
  Henning

--

-- 
sane-devel mailing list: sane-devel <at> lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request <at> lists.alioth.debian.org

Henning Meier-Geinitz | 3 Apr 2006 20:30
Picon

Re: Brother DCP-115C Combo

Hi,

On 2006-04-02 12:35, Jouni Rinne wrote:
> I'm reporting (as requested in libsane.usermap) that I managed to get the
> scanner part of Brother DCP-115C scanner-printer-copier-cardreader combo working
> on Ubuntu 5.10.

Thanks for your report. I'll add the scanner to our lists.

Bye,
  Henning

--

-- 
sane-devel mailing list: sane-devel <at> lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request <at> lists.alioth.debian.org

Steven P. Ulrick | 3 Apr 2006 23:04

ERROR: eula text not found. Looks like xsane is not installed correct.

Hello, Everyone
Before I bothered you all, I looked at the many answers to all the
other times that this question has been asked in the past.
Unfortunately, none of them seems to answer my problem.

1. Downloaded xsane-0.991
2. Configured and compiled it with the following command:
"./configure --prefix=/usr/local
--with-gimp-prefix=/usr/local/2006-03-31 && make" 3. As root, ran "make
install" 4. As regular user, ran "/usr/local/bin/xsane"
5. Got the following error message:
[xsane] ERROR: eula text not found. Looks like xsane is not installed
correct.

That much you expected to see just by looking at the subject line.
Next, I did the logical thing and found out where my working copy of
xsane keeps the "eula" file.  I found it located as follows:
/usr/share/sane/xsane/xsane-eula.txt

Therefore, I would assume that since "/usr/local" is in my path, and
since I configured xsane 0.991 to be installed in "/usr/local", that
"xsane-eula.txt" should be located in
"/usr/local/share/sane/xsane/xsane-eula.txt"  Since logic says that it
should be there, and I got an error message stating that xsane could
not find it, one would assume that
"/usr/local/share/sane/xsane/xsane-eula.txt" did not get installed.
Unfortunatlely, it is installed where it is supposed to be.  As a
result, I am at a loss.  The version that ships with Fedora Core 5
installs "xsane-eula.txt" as /usr/share/sane/xsane/xsane-eula.txt.
That version works perfectly for me.  The version that I compiled from
(Continue reading)


Gmane