XSane permission issue with OpenSuse 11.4 ?

I recently installed 11.4 32bits, and got everything working, including my Canon Lide25 Scanner with XSane. It suddenly stopped working, not seing the device anymore; I suspect it happened after installing VirtualBox, butreally not sure of that.

Basically, as root I can launch Xsane and scan, and Yast also sees the Scanner and the test is succesful, so a permission issue I believe.

As I don’t know exactly when/why this happened, does anyone know how I could troubleshoot ? Check for UDEV rules or so ? a group I should be in ? I don’t know where to start and don’t want to fiddle around and break something :frowning:

If someone has a good tip I’d be happy :wink:

lsusb gives : Bus 002 Device 009: ID 04a9:2220 Canon, Inc. CanoScan LIDE 25

Pretty late reply, but still I want to confirm that
permissions for scanners in openSUSE 11.4 are messed up.

This is my scanner identified as root:

sudo scanimage -L
root's password:
device `epson2:libusb:002:003' is a Epson GT-9700 flatbed scanner

And not identified as a regular user:

scanimage -L

No scanners were identified. <snip>

In contrast to openSUSE 11.4, in openSUSE 11.3 skanlite identifies
the same scanner as a regular user without problems and I can scan images.
(I checked it by swapping the scanners’ USB cable between two systems).

There seems to be a workaround, but it sounds to tiresome
to try without any guarantee that it will help:
SDB:Configuring Scanners - USB scanner access permissions via udev

First I’ve heard of any permissions problems with 11.4. Anyway, the general approach is to look at the permissions associated with the usb device (dynamically created when the device is plugged in). For example, using the OP’s lsusb output:

Bus 002 Device 009


ls -l /dev/bus/usb/002/009

should return ‘root lp’ ownership. If not, I would be checking the udev rules eg /etc/udev/rules.d/55-libsane.rules (or similar). It should contain

# Canon CanoScan LiDE25
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="2220", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"

Sorry to enter in the game but I’ve got the same problem with my Epson Perfection V330 Photo. There is a contradiction between the group and the udev rules. There are the outputs:

scanimage -L
device `epkowa:interpreter:001:004' is a Epson Perfection V330 Photo flatbed scanner
linux-2gx1:/home/jean # ls -l /dev/bus/usb/001/004
crw------- 1 root root 189, 3 23 oct 21:23 /dev/bus/usb/001/004

And in /etc/udev/rules.d/55-libsane.rules:

# Epson Perfection V330 Photo
ATTR{idVendor}=="04b8", ATTR{idProduct}=="0142", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"

I’m sure atuor has the same issue.
So what the hell is wrong?

  1. Are you sure there’s not a contradicting rule elsewhere?

  2. Forgive me if you’ve already checked this, but make sure you have the correct product ID for your scanner device. Although, I have the same entry for your model listed in 55-libsane.rules, maybe your chipset differs. Check what ‘lsusb’ reports.

  3. BTW, if you install the iscan-data (and iscan) RPMs from


then you will find a 55-iscan.rules file is installed, including the necessary rule for your scanner (along with many other models).

I think I checked but I’ll check again to be sure.

I found that file too and the line was the same than in 55-libsane.rules (except less comments).

Please post the output of:

zypper se -si iscan libltdl


uname -a
> lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 1307:0330 Transcend Information, Inc. 

The id’s are well the same than in the rule files.

Output from zypper se -si iscan libltdl :

S | No             | Sôre      | Modêye         | Årtch  | Depot               
i | iscan          | paquet    | 2.27.1-4.ltdl7 | x86_64 | (Paquets système)   
i | iscan-data     | paquet    | 1.11.0-1       | noarch | (Paquets système)   
i | libltdl7       | paquet    | 2.2.6b-13.18.1 | x86_64 | openSUSE-11.4-Update
i | libltdl7       | correctif | 4967           | noarch | openSUSE-11.4-Update
i | libltdl7-32bit | paquet    | 2.2.6b-13.18.1 | x86_64 | openSUSE-11.4-Update

> uname -a
Linux linux-s2ip #1 SMP PREEMPT 2011-07-21 02:17:24 +0200 x86_64 x86_64 x86_64 GNU/Linux

Just one last thing: I tried to install it on 12.1 in Virtual Box and it seamed to work without root access. To check on a real install in one month…

i | iscan | paquet | 2.27.1-4.ltdl7 | x86_64 | (Paquets système)

I think this is the package for Fedora:

RPM 64bit package [libltdl7] (for Fedora 11 or later)
iscan-2.27.1-4.ltdl7.x86_64.rpm 570.168 bytes
esci-interpreter-perfection-v330-0.1.1-2.x86_64.rpm 171.852 bytes

You have to download this one:

RPM 64bit package
iscan-2.27.1-4.x86_64.rpm 404.947 bytes
esci-interpreter-perfection-v330-0.1.1-2.x86_64.rpm 171.852 bytes

Download the new one, deinstall the wrong one and install the new one.