[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sane works, xsane not



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 09.08.2005 13:51:16, antonio giulio a écrit :
problems seem for usb-permissions.

xsane and scanimage work from root, but not for user.
From: /usr/share/doc/libsane/README.Debian.gz I can read that sane add
a scanner group and so I have launched: adduser giulio scanner -- but
it now works:(

if I launch 'ls -l /dev/* | grep scanner' I have not found scanner
groups... maybe a bug in the package?

I've an Epson 1640 su Photo
It works with libusb so there is no specific device for it

What says lsusb and then what are the permissions of the device :

[jean-luc@tangerine] % lsusb
Bus 005 Device 004: ID 0402:5635 ALi Corp.
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 004: ID 04b8:010a Seiko Epson Corp. Perfection 1640SU
Bus 002 Device 003: ID 0463:ffff MGE UPS Systems UPS
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 046d:08f0 Logitech, Inc.
Bus 001 Device 001: ID 0000:0000

This tells me that the scanner is on 002:004

Then I can see iis permissions :

[jean-luc@tangerine] % ls -l /proc/bus/usb/002
total 0
- -rw-r--r--  1 root root    43 2005-08-09 10:53 001
- -rw-rw----  1 root nut     52 2005-08-09 14:01 003
- -rw-rw----  1 root scanner 50 2005-08-09 12:28 004

Remark:
If you add yourself to the scanner group, what you tell you have done, you have to close your X session and logout of any console session, then restart X.

In my config file (namely epson.conf), I've only one line with "usb", this is enough to work with libusb

Thanks,
Giulio

Regards

Jean-Luc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC+JwNXit3lz9m7V4RAnS9AJ9QJT18wal0OkquaH/04mLgmJXpEgCg8Qzr
ewQHtj/mnkEWcrYPr6+IFog=
=40e+
-----END PGP SIGNATURE-----





Reply to: