I tried to install the USB printer/scanner Samsung CLX-3185FW on my 64-bit Ubuntu 10.10 system.
The printer was easy: the Foomatic printer driver for the CLX-3175 works.
The scanner was less straightforward. The drivers downoaded from Samsung's official site have all sort of problems with 32- and 64-bit libraries, and they copy files all over the place. Browsing the forums, someone was reporting success with other models and the Sane backend xerox_mfp. Actually, /etc/sane.d/xerox_mfp.conf already contained the lines
#Samsung CLX-3170fn & CLX-3175FW
usb 0x04e8 0x342a
So, following the forums' advice, I modified /etc/sane.d/xerox_mfp.conf by adding
#Samsung CLX-3185FW
usb 0x04e8 0x343d
and /lib/udev/rules.d/40-libsane.rules by adding
# Samsung CLX-3185FW
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="343d", ENV{libsane_matched}="yes"
And yet, no success: sane-find-scanner could see the scanner but scanimage -L or simple-scan couldn't.
Then, launching the command
SANE_DEBUG_XEROX_MFP=1 scanimage -L
the output was more descriptive
[sanei_debug] Setting debug level of xerox_mfp to 1.
[xerox_mfp] dev_open: sanei_usb_open(libusb:001:003): Access to resource has been denied
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
(note that lsusb listed the device as
Bus 001 Device 003: ID 04e8:343d Samsung Electronics Co., Ltd
).
The workaround is to launch scanimage -L and simple-scan with sudo: in that case, the scanner works. But is there a way to let normal users, or even the user controlling the console at that time, use the scanner?



Adv Reply



Bookmarks