Results 1 to 9 of 9

Thread: XSane permission issue with OpenSuse 11.4 ?

  1. #1

    Default XSane permission issue with OpenSuse 11.4 ?

    Hello,
    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

    If someone has a good tip I'd be happy

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

  2. #2
    Join Date
    Jun 2008
    Location
    Tallinn, Estonia
    Posts
    228

    Default Re: XSane permission issue with OpenSuse 11.4 ?

    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:
    Code:
    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:
    Code:
    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

  3. #3
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,710
    Blog Entries
    1

    Default Re: XSane permission issue with OpenSuse 11.4 ?

    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

    then

    Code:
    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

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

  4. #4
    Join Date
    Feb 2009
    Location
    Mont-Saint-Guibert, Belgium
    Posts
    35

    Default Re: XSane permission issue with OpenSuse 11.4 ?

    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:
    Code:
    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:
    Code:
    # 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?

  5. #5
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,710
    Blog Entries
    1

    Default Re: XSane permission issue with OpenSuse 11.4 ?

    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

    Scanner | AVASYS CORPORATION

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

  6. #6
    Join Date
    Feb 2009
    Location
    Mont-Saint-Guibert, Belgium
    Posts
    35

    Default Re: XSane permission issue with OpenSuse 11.4 ?

    Quote Originally Posted by deano_ferrari View Post
    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.
    I think I checked but I'll check again to be sure.

    Quote Originally Posted by deano_ferrari View Post
    3. BTW, if you install the iscan-data (and iscan) RPMs from

    Scanner | AVASYS CORPORATION

    then you will find a 55-iscan.rules file is installed, including the necessary rule for your scanner (along with many other models).
    I found that file too and the line was the same than in 55-libsane.rules (except less comments).

  7. #7
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    6,728

    Default AW: Re: XSane permission issue with OpenSuse 11.4 ?

    Please post the output of:
    Code:
    zypper se -si iscan libltdl
    and
    Code:
    uname -a

  8. #8
    Join Date
    Feb 2009
    Location
    Mont-Saint-Guibert, Belgium
    Posts
    35

    Default Re: AW: Re: XSane permission issue with OpenSuse 11.4 ?

    Code:
    > 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 :
    Code:
    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
    Code:
    > uname -a
    Linux linux-s2ip 2.6.37.6-0.7-desktop #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...

  9. #9
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    6,728

    Default AW: Re: AW: Re: XSane permission issue with OpenSuse 11.4 ?

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •