[sane-devel] Samsung SCX-3205W not working

Дмитрий ddv at bgc.perm.ru
Fri Dec 30 05:21:53 UTC 2011


For Samsung SCX-3205W driver needed xerox_mfp. So write all the internet.

The device is connected, the printer works.
# Sane-find-scanner

   # Sane-find-scanner will now attempt to detect your scanner. If the
   # Result is different from what you expected, first make sure your
   # Scanner is powered up and properly connected to your computer.

   # No SCSI scanners found. If you expected something different, make 
sure that
   # You have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor = 0x04e8 [Samsung Electronics Co., Ltd.], 
product = 0x3441 [SCX-3200 Series]) at libusb: 001:003
   # Your USB scanner was (probably) detected. It may or may not be 
supported by
   # SANE. Try scanimage-L and read the backend's manpage.

   # Not checking for parallel port scanners.

   # Most Scanners connected to the parallel port or other proprietary ports
   # Can't be detected by this program.

As if the scanner finds.
# Scanimage-L

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).

There is scanner.

Then add a line in the file / etc / sane.d / xerox_mfp.conf:
usb 0x04e8 0x3441

And in the file / etc/udev/rules.d/25-libsane.rules in the relevant 
section added:
ATTRS {idVendor} == "04e8", ATTRS {idProduct} == "3441", MODE = "0664", 
ENV {libsane_matched} = "yes"

# Service udevd restart

Check:
# Scanimage-L

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).

All online writing that should work, but I have in any ...

System ALTLinux p6
# Rpm-qa | grep sane
sane-frontends-1.0.14-alt3
libsane-1.0.22-alt1
xsane-gimp2-0.998-alt1
hplip-sane-3.11.1-alt2
xsane-0.998-alt1
libksane4-4.6.0-alt1
sane-1.0.22-alt1

# Rpm-ql libsane | grep xerox
/ Etc / sane.d / xerox_mfp.conf
/ Usr/lib/sane/libsane-xerox_mfp.so.1
/ Usr/lib/sane/libsane-xerox_mfp.so.1.0.22
/ Usr/share/man/man5/sane-xerox_mfp.5.gz

I decided to check out what makes scanimage-L
# Strace-o / tmp/1.txt scanimage-L

After reviewing the file, get the following .. scanimage opens the file 
/ etc / sane.d / dll.conf, through all that is there. For simplicity, 
the experiment I just left dll.conf xerox_mfp .. Linke Board of Rites / 
usr/lib/sane/libsane-xerox_mfp.so.1, then collects all of the Old / sys 
/ bus / usb / devices including / sys/bus/usb/devices/1-1 / (vendor_id 
here = 04e8 and product_id = 3441), then open the file / etc / sane.d / 
xerox_mfp.conf and issues that do not have the scanner ...

Prompt please where to dig.

Thanks...

На русском:
Для Samsung SCX-3205W нужен драйвер xerox_mfp. Так пишут все интернеты.

Устройство подключено, принтер работает.
# sane-find-scanner

   # sane-find-scanner will now attempt to detect your scanner. If the
   # result is different from what you expected, first make sure your
   # scanner is powered up and properly connected to your computer.

   # No SCSI scanners found. If you expected something different, make 
sure that
   # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x04e8 [Samsung Electronics Co., Ltd.], 
product=0x3441 [SCX-3200 Series]) at libusb:001:003
   # Your USB scanner was (probably) detected. It may or may not be 
supported by
   # SANE. Try scanimage -L and read the backend's manpage.

   # Not checking for parallel port scanners.

   # Most Scanners connected to the parallel port or other proprietary ports
   # can't be detected by this program.

Как бы сканер находит.
# scanimage -L

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).

Нет сканера.

Тогда добавляю строку в файле /etc/sane.d/xerox_mfp.conf:
usb 0x04e8 0x3441

А в файл /etc/udev/rules.d/25-libsane.rules в соответствующий раздел 
добавил:
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3441", MODE="0664", 
ENV{libsane_matched}="yes"

# service udevd restart

Проверяю:
# scanimage -L

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).

Все интернеты пишут что должно работать, а у меня ни в какую...

Система ALTLinux p6
# rpm -qa | grep sane
sane-frontends-1.0.14-alt3
libsane-1.0.22-alt1
xsane-gimp2-0.998-alt1
hplip-sane-3.11.1-alt2
xsane-0.998-alt1
libksane4-4.6.0-alt1
sane-1.0.22-alt1

# rpm -ql libsane | grep xerox
/etc/sane.d/xerox_mfp.conf
/usr/lib/sane/libsane-xerox_mfp.so.1
/usr/lib/sane/libsane-xerox_mfp.so.1.0.22
/usr/share/man/man5/sane-xerox_mfp.5.gz

Решил проверить что же делает scanimage -L
# strace -o /tmp/1.txt scanimage -L

Изучив файл, понял следующее.. scanimage открывает файл 
/etc/sane.d/dll.conf, перебирает все что там есть. для простоты 
эксперимента я в dll.conf оставил только xerox_mfp.. Линкует либу 
/usr/lib/sane/libsane-xerox_mfp.so.1, затем собирает всю инфу из 
/sys/bus/usb/devices в том числе и /sys/bus/usb/devices/1-1/(тут 
vendor_id=04e8 и product_id=3441), после этого открывает файл 
/etc/sane.d/xerox_mfp.conf и выдаёт что нет сканера...

Подскажите пожалуйста куда копать.

Спасибо.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 1.txt
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20111230/42581e7c/attachment-0001.txt>


More information about the sane-devel mailing list