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

ABC abc at telekom.ru
Fri Dec 30 06:12:32 UTC 2011


Hello,

Try to change your udev rules:
ATTRS{idVendor}=="0x04E8", ATTRS{idProduct}=="0x3441",
ENV{libsane_matched}="yes"

Report if scanner is detected and working ok pls.

-abc

On Fri, Dec 30, 2011 at 11:21:53AM +0600, Дмитрий wrote:
> 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 и выдаёт что нет сканера...
>
> Подскажите пожалуйста куда копать.
>
> Спасибо.
>

> execve("/usr/bin/scanimage", ["scanimage", "-L"], [/* 34 vars */]) = 0
> brk(0)                                  = 0x8054000
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7727000
> access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=154525, ...}) = 0
> mmap2(NULL, 154525, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7701000
> close(3)                                = 0
> open("/usr/lib/libsane.so.1", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20L\0\0004\0\0\0"..., 512) = 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=137508, ...}) = 0
> mmap2(NULL, 148336, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb76dc000
> fadvise64(3, 0, 148336, POSIX_FADV_WILLNEED) = 0
> mmap2(0xb76fd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20) = 0xb76fd000
> mmap2(0xb76ff000, 4976, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb76ff000
> close(3)                                = 0
> open("/lib/libc.so.6", O_RDONLY)        = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360m\1\0004\0\0\0"..., 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=1446164, ...}) = 0
> mmap2(NULL, 1457256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7578000
> fadvise64(3, 0, 1457256, POSIX_FADV_WILLNEED) = 0
> mprotect(0xb76d5000, 4096, PROT_NONE)   = 0
> mmap2(0xb76d6000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15d) = 0xb76d6000
> mmap2(0xb76d9000, 11368, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb76d9000
> close(3)                                = 0
> open("/lib/libdl.so.2", O_RDONLY)       = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\n\0\0004\0\0\0"..., 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=13896, ...}) = 0
> mmap2(NULL, 16500, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7573000
> fadvise64(3, 0, 16500, POSIX_FADV_WILLNEED) = 0
> mmap2(0xb7576000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0xb7576000
> close(3)                                = 0
> open("/usr/lib/libieee1284.so.3", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\24\0\0004\0\0\0"..., 512) = 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=38324, ...}) = 0
> mmap2(NULL, 41340, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7568000
> fadvise64(3, 0, 41340, POSIX_FADV_WILLNEED) = 0
> mmap2(0xb7571000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8) = 0xb7571000
> close(3)                                = 0
> open("/lib/libusb-0.1.so.4", O_RDONLY)  = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \21\0\0004\0\0\0"..., 512) = 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=17700, ...}) = 0
> mmap2(NULL, 16560, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7563000
> fadvise64(3, 0, 16560, POSIX_FADV_WILLNEED) = 0
> mmap2(0xb7566000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3) = 0xb7566000
> close(3)                                = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7562000
> open("/lib/libusb-1.0.so.0", O_RDONLY)  = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\34\0\0004\0\0\0"..., 512) = 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=46680, ...}) = 0
> mmap2(NULL, 49500, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7555000
> fadvise64(3, 0, 49500, POSIX_FADV_WILLNEED) = 0
> mmap2(0xb7560000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa) = 0xb7560000
> close(3)                                = 0
> open("/lib/librt.so.1", O_RDONLY)       = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\30\0\0004\0\0\0"..., 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=30712, ...}) = 0
> mmap2(NULL, 33332, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb754c000
> fadvise64(3, 0, 33332, POSIX_FADV_WILLNEED) = 0
> mmap2(0xb7553000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xb7553000
> close(3)                                = 0
> open("/lib/libpthread.so.0", O_RDONLY)  = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200I\0\0004\0\0\0"..., 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=131060, ...}) = 0
> mmap2(NULL, 106976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7531000
> fadvise64(3, 0, 106976, POSIX_FADV_WILLNEED) = 0
> mprotect(0xb7547000, 4096, PROT_NONE)   = 0
> mmap2(0xb7548000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16) = 0xb7548000
> mmap2(0xb754a000, 4576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb754a000
> close(3)                                = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7530000
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb752f000
> set_thread_area({entry_number:-1 -> 6, base_addr:0xb7530b60, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
> mprotect(0xb7548000, 4096, PROT_READ)   = 0
> mprotect(0xb7553000, 4096, PROT_READ)   = 0
> mprotect(0xb7560000, 4096, PROT_READ)   = 0
> mprotect(0xb7566000, 4096, PROT_READ)   = 0
> mprotect(0xb7571000, 4096, PROT_READ)   = 0
> mprotect(0xb7576000, 4096, PROT_READ)   = 0
> mprotect(0xb76d6000, 8192, PROT_READ)   = 0
> mprotect(0xb76fd000, 4096, PROT_READ)   = 0
> mprotect(0x8052000, 4096, PROT_READ)    = 0
> mprotect(0xb7747000, 4096, PROT_READ)   = 0
> munmap(0xb7701000, 154525)              = 0
> set_tid_address(0xb7530bc8)             = 6275
> set_robust_list(0xb7530bd0, 0xc)        = 0
> futex(0xbf973ba0, FUTEX_WAKE_PRIVATE, 1) = 0
> futex(0xbf973ba0, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, bf973bb0) = -1 EAGAIN (Resource temporarily unavailable)
> rt_sigaction(SIGRTMIN, {0xb75353b0, [], SA_SIGINFO}, NULL, 8) = 0
> rt_sigaction(SIGRT_1, {0xb7535430, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
> rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
> getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
> uname({sys="Linux", node="comp-Athlon-XP-4eb233.localdomain", ...}) = 0
> brk(0)                                  = 0x8054000
> brk(0x8075000)                          = 0x8075000
> open("./dll.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = -2
> open("/etc/sane.d/dll.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
> fcntl64(3, F_GETFD)                     = 0x1 (flags FD_CLOEXEC)
> getdents(3, /* 2 entries */, 32768)     = 32
> getdents(3, /* 0 entries */, 32768)     = 0
> close(3)                                = 0
> open("./dll.conf", O_RDONLY)            = -2
> open("/etc/sane.d/dll.conf", O_RDONLY)  = 3
> fstat64(3, {st_mode=S_IFREG|0664, st_size=82, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7726000
> read(3, "# enable the next line if you wa"..., 4096) = 82
> read(3, "", 4096)                       = 0
> close(3)                                = 0
> munmap(0xb7726000, 4096)                = 0
> open("./dll.aliases", O_RDONLY)         = -2
> open("/etc/sane.d/dll.aliases", O_RDONLY) = -2
> open("/usr/lib/sane/libsane-xerox_mfp.so.1", O_RDONLY) = 3
> close(3)                                = 0
> futex(0xb7577060, FUTEX_WAKE_PRIVATE, 2147483647) = 0
> open("/usr/lib/sane/libsane-xerox_mfp.so.1", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320%\0\0004\0\0\0"..., 512) = 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=63372, ...}) = 0
> mmap2(NULL, 69408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7716000
> fadvise64(3, 0, 69408, POSIX_FADV_WILLNEED) = 0
> mmap2(0xb7724000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe) = 0xb7724000
> mmap2(0xb7726000, 3872, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7726000
> close(3)                                = 0
> mprotect(0xb7724000, 4096, PROT_READ)   = 0
> stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14460, ...}) = 0
> open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
> getdents(3, /* 723 entries */, 32768)   = 14156
> getdents(3, /* 0 entries */, 32768)     = 0
> close(3)                                = 0
> stat64("/dev/usb/", 0xbf9713dc)         = -1 ENOENT (No such file or directory)
> open("/dev/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
> getdents(3, /* 5 entries */, 32768)     = 80
> close(3)                                = 0
> clock_gettime(CLOCK_MONOTONIC, {2047, 256047379}) = 0
> uname({sys="Linux", node="comp-Athlon-XP-4eb233.localdomain", ...}) = 0
> stat64("/sys/bus/usb/devices", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
> pipe([3, 4])                            = 0
> timerfd_create(CLOCK_MONOTONIC, 0x800 /* TFD_??? */) = 5
> open("/sys/bus/usb/devices", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 6
> getdents(6, /* 18 entries */, 32768)    = 328
> stat64("/sys/bus/usb/devices/usb1/descriptors", {st_mode=S_IFREG|0444, st_size=65553, ...}) = 0
> open("/sys/bus/usb/devices/usb1/busnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "1\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/usb1/devnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "1\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/usb1/descriptors", O_RDONLY) = 7
> read(7, "\22\1\20\1\t\0\0 at k\35\1\0\6\2\3\2\1\1", 18) = 18
> close(7)                                = 0
> open("/sys/bus/usb/devices/usb2/busnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "2\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/usb2/devnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "1\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/usb2/descriptors", O_RDONLY) = 7
> read(7, "\22\1\20\1\t\0\0 at k\35\1\0\6\2\3\2\1\1", 18) = 18
> close(7)                                = 0
> open("/sys/bus/usb/devices/usb3/busnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "3\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/usb3/devnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "1\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/usb3/descriptors", O_RDONLY) = 7
> read(7, "\22\1\20\1\t\0\0 at k\35\1\0\6\2\3\2\1\1", 18) = 18
> close(7)                                = 0
> open("/sys/bus/usb/devices/1-2/busnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "1\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/1-2/devnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "2\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/1-2/descriptors", O_RDONLY) = 7
> read(7, "\22\1\0\2\357\2\1@\310\n\n\304\0\1\1\2\0\1", 18) = 18
> close(7)                                = 0
> open("/sys/bus/usb/devices/3-2/busnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "3\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/3-2/devnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "2\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/3-2/descriptors", O_RDONLY) = 7
> read(7, "\22\1\0\2\0\0\0@\332\vQ\1\225Q\1\2\3\1", 18) = 18
> close(7)                                = 0
> open("/sys/bus/usb/devices/1-1/busnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "1\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/1-1/devnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "3\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/1-1/descriptors", O_RDONLY) = 7
> read(7, "\22\1\0\2\0\0\0@\350\4A4\0\1\1\2\3\1", 18) = 18
> close(7)                                = 0
> getdents(6, /* 0 entries */, 32768)     = 0
> close(6)                                = 0
> open("/sys/bus/usb/devices", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 6
> getdents(6, /* 18 entries */, 32768)    = 328
> open("/sys/bus/usb/devices/usb1/busnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "1\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/usb1/devnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "1\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/usb1/descriptors", O_RDONLY) = 7
> read(7, "\22\1\20\1\t\0\0 at k\35\1\0\6\2\3\2\1\1", 18) = 18
> close(7)                                = 0
> open("/sys/bus/usb/devices/usb2/busnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "2\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/usb2/devnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "1\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/usb2/descriptors", O_RDONLY) = 7
> read(7, "\22\1\20\1\t\0\0 at k\35\1\0\6\2\3\2\1\1", 18) = 18
> close(7)                                = 0
> open("/sys/bus/usb/devices/usb3/busnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "3\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/usb3/devnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "1\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/usb3/descriptors", O_RDONLY) = 7
> read(7, "\22\1\20\1\t\0\0 at k\35\1\0\6\2\3\2\1\1", 18) = 18
> close(7)                                = 0
> open("/sys/bus/usb/devices/1-2/busnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "1\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/1-2/devnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "2\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/1-2/descriptors", O_RDONLY) = 7
> read(7, "\22\1\0\2\357\2\1@\310\n\n\304\0\1\1\2\0\1", 18) = 18
> close(7)                                = 0
> open("/sys/bus/usb/devices/3-2/busnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "3\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/3-2/devnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "2\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/3-2/descriptors", O_RDONLY) = 7
> read(7, "\22\1\0\2\0\0\0@\332\vQ\1\225Q\1\2\3\1", 18) = 18
> close(7)                                = 0
> open("/sys/bus/usb/devices/1-1/busnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "1\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/1-1/devnum", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(7, "3\n", 4096)                    = 2
> close(7)                                = 0
> munmap(0xb7715000, 4096)                = 0
> open("/sys/bus/usb/devices/1-1/descriptors", O_RDONLY) = 7
> read(7, "\22\1\0\2\0\0\0@\350\4A4\0\1\1\2\3\1", 18) = 18
> close(7)                                = 0
> getdents(6, /* 0 entries */, 32768)     = 0
> close(6)                                = 0
> open("/sys/bus/usb/devices/1-1/descriptors", O_RDONLY) = 6
> read(6, "\22\1\0\2\0\0\0@\350\4A4\0\1\1\2\3\1", 18) = 18
> close(6)                                = 0
> open("/dev/bus/usb/001/003", O_RDONLY)  = 6
> lseek(6, 18, SEEK_SET)                  = 18
> read(6, "\t\0027\0\2\1\0\300", 8)       = 8
> close(6)                                = 0
> open("/dev/bus/usb/001/003", O_RDONLY)  = 6
> lseek(6, 18, SEEK_SET)                  = 18
> read(6, "\t\0027\0\2\1\0\300\1\t\4\0\0\2\377\377\377\0\7\5\3\2@\0\0\7\5\204\2@\0\0"..., 55) = 55
> close(6)                                = 0
> open("/sys/bus/usb/devices/1-2/descriptors", O_RDONLY) = 6
> read(6, "\22\1\0\2\357\2\1@\310\n\n\304\0\1\1\2\0\1", 18) = 18
> close(6)                                = 0
> open("/dev/bus/usb/001/002", O_RDONLY)  = 6
> lseek(6, 18, SEEK_SET)                  = 18
> read(6, "\t\2A\2\4\1\0\200", 8)         = 8
> close(6)                                = 0
> open("/dev/bus/usb/001/002", O_RDONLY)  = 6
> lseek(6, 18, SEEK_SET)                  = 18
> read(6, "\t\2A\2\4\1\0\200\372\10\v\0\2\16\3\0\0\t\4\0\0\1\16\1\0\0\r$\1\0\1O"..., 577) = 577
> close(6)                                = 0
> open("/sys/bus/usb/devices/usb1/descriptors", O_RDONLY) = 6
> read(6, "\22\1\20\1\t\0\0 at k\35\1\0\6\2\3\2\1\1", 18) = 18
> close(6)                                = 0
> open("/dev/bus/usb/001/001", O_RDONLY)  = 6
> lseek(6, 18, SEEK_SET)                  = 18
> read(6, "\t\2\31\0\1\1\0\340", 8)       = 8
> close(6)                                = 0
> open("/dev/bus/usb/001/001", O_RDONLY)  = 6
> lseek(6, 18, SEEK_SET)                  = 18
> read(6, "\t\2\31\0\1\1\0\340\0\t\4\0\0\1\t\0\0\0\7\5\201\3\2\0\377", 25) = 25
> close(6)                                = 0
> open("/sys/bus/usb/devices/usb2/descriptors", O_RDONLY) = 6
> read(6, "\22\1\20\1\t\0\0 at k\35\1\0\6\2\3\2\1\1", 18) = 18
> close(6)                                = 0
> open("/dev/bus/usb/002/001", O_RDONLY)  = 6
> lseek(6, 18, SEEK_SET)                  = 18
> read(6, "\t\2\31\0\1\1\0\340", 8)       = 8
> close(6)                                = 0
> open("/dev/bus/usb/002/001", O_RDONLY)  = 6
> lseek(6, 18, SEEK_SET)                  = 18
> read(6, "\t\2\31\0\1\1\0\340\0\t\4\0\0\1\t\0\0\0\7\5\201\3\2\0\377", 25) = 25
> close(6)                                = 0
> open("/sys/bus/usb/devices/3-2/descriptors", O_RDONLY) = 6
> read(6, "\22\1\0\2\0\0\0@\332\vQ\1\225Q\1\2\3\1", 18) = 18
> close(6)                                = 0
> open("/dev/bus/usb/003/002", O_RDONLY)  = 6
> lseek(6, 18, SEEK_SET)                  = 18
> read(6, "\t\2 \0\1\1\4\200", 8)         = 8
> close(6)                                = 0
> open("/dev/bus/usb/003/002", O_RDONLY)  = 6
> lseek(6, 18, SEEK_SET)                  = 18
> read(6, "\t\2 \0\1\1\4\200\372\t\4\0\0\2\10\6P\5\7\5\1\2@\0\0\7\5\202\2@\0\0", 32) = 32
> close(6)                                = 0
> open("/sys/bus/usb/devices/usb3/descriptors", O_RDONLY) = 6
> read(6, "\22\1\20\1\t\0\0 at k\35\1\0\6\2\3\2\1\1", 18) = 18
> close(6)                                = 0
> open("/dev/bus/usb/003/001", O_RDONLY)  = 6
> lseek(6, 18, SEEK_SET)                  = 18
> read(6, "\t\2\31\0\1\1\0\340", 8)       = 8
> close(6)                                = 0
> open("/dev/bus/usb/003/001", O_RDONLY)  = 6
> lseek(6, 18, SEEK_SET)                  = 18
> read(6, "\t\2\31\0\1\1\0\340\0\t\4\0\0\1\t\0\0\0\7\5\201\3\2\0\377", 25) = 25
> close(6)                                = 0
> open("./xerox_mfp.conf", O_RDONLY)      = -2
> open("/etc/sane.d/xerox_mfp.conf", O_RDONLY) = 6
> fstat64(6, {st_mode=S_IFREG|0644, st_size=885, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> read(6, "#xerox_mfp.conf\n\n#Xerox Phaser 3"..., 4096) = 885
> read(6, "", 4096)                       = 0
> close(6)                                = 0
> munmap(0xb7715000, 4096)                = 0
> fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7715000
> write(1, "\n", 1)                       = 1
> write(1, "No scanners were identified. If "..., 72) = 72
> write(1, "check that the scanner is plugge"..., 68) = 68
> write(1, "sane-find-scanner tool (if appro"..., 71) = 71
> write(1, "which came with this software (R"..., 55) = 55
> munmap(0xb7716000, 69408)               = 0
> exit_group(0)                           = ?

> -- 
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org



More information about the sane-devel mailing list