Bug 7536 - SCSI AEC6712D Card (Artop Electronic Corp - old name=ACARD) memory crash in xsane
Summary: SCSI AEC6712D Card (Artop Electronic Corp - old name=ACARD) memory crash in x...
Status: CLOSED CODE_FIX
Alias: None
Product: SCSI Drivers
Classification: Unclassified
Component: Other (show other bugs)
Hardware: i386 Linux
: P2 high
Assignee: scsi_drivers-other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-16 08:20 UTC by Fabien JA
Modified: 2007-09-03 19:55 UTC (History)
4 users (show)

See Also:
Kernel Version: 2.6.17-10-386
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
RESULT OF COMMAND : "strace -o acard2.6.17 scanimage" with the 2.6.17-10 kernel. (probably bugged kernel) (203.48 KB, text/plain)
2006-11-21 10:21 UTC, Fabien JA
Details
RESULT OF COMMAND : "strace -o acard2.6.17 scanimage" with the 2.6.15-18 kernel. (449.29 KB, text/plain)
2006-11-21 12:13 UTC, Fabien JA
Details
DIFFRENCES between the 2 attachements (529.08 KB, text/plain)
2006-11-21 12:22 UTC, Fabien JA
Details

Description Fabien JA 2006-11-16 08:20:10 UTC
Most recent kernel where this bug did *NOT* occur: 2.6.16
Distribution: Ubuntu Edgy (bug also reported in Gentoo with same 2.6.17 kernel)
Hardware Environment: SCSI AEC6712D Card (PCI device) on a standard NVIDIA
motherBOARD (Nforce2 chipset)
Software Environment: "lib-sane" and "sane-utils" 1.0.18-3 / bug exists with
other software like "scanimage" 1.0.18
Problem Description:
When I want to acquire a preview or a direct scan, the programms says "failed to
start scanner : out of memory". In command line, there is the same error : "out
of memory"
This bug has never happend with an other Ubuntu distribution. Apparently, all
the previous versions of the kernel fix the bug...



Steps to reproduce: have a "ACARD AEC6712D PCI" card and a SCSI scanner and a
2.6.17 kernel. Try to scan
Comment 1 Alexey Dobriyan 2006-11-21 09:41:05 UTC
Please, do

    strace -o acard16 scanimage [your usual args]
    strace -o acard17 scanimage [...]

under 2.6.16 and 2.6.17 respectively and attach strace logs as plain text.

If they are huge, diff should show interesting places

    diff -u acard16 acard17 >acard.diff
Comment 2 Fabien JA 2006-11-21 09:52:10 UTC
Hello,

I've done the strace with my 2.6.17 kernel. Please check the attached file.
I've no 2.6.16 kernel installed but I download immediately a LiveCd of Ubuntu Dapper with a 2.6.16 kernel in order to do the strace.

Thanks,

Fabien





bugme-daemon@bugzilla.kernel.org a écrit :
> http://bugzilla.kernel.org/show_bug.cgi?id=7536
>
> adobriyan@gmail.com changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |adobriyan@gmail.com
>
>
>
> ------- Additional Comments From adobriyan@gmail.com  2006-11-21 09:41 -------
> Please, do
>
>     strace -o acard16 scanimage [your usual args]
>     strace -o acard17 scanimage [...]
>
> under 2.6.16 and 2.6.17 respectively and attach strace logs as plain text.
>
> If they are huge, diff should show interesting places
>
>     diff -u acard16 acard17 >acard.diff
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
>   

execve("/usr/bin/scanimage", ["scanimage"], [/* 37 vars */]) = 0
brk(0)                                  = 0x8052000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fa0000
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=80909, ...}) = 0
mmap2(NULL, 80909, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f8c000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
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\0\30\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=22352, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f8b000
mmap2(NULL, 21404, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f85000
mmap2(0xb7f8a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) = 0xb7f8a000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/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@\f\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9640, ...}) = 0
mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f81000
mmap2(0xb7f83000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7f83000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
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\0P\22\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=27812, ...}) = 0
mmap2(NULL, 30840, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f79000
mmap2(0xb7f7f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) = 0xb7f7f000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/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\0000K\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=95056, ...}) = 0
mmap2(NULL, 74204, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f66000
mmap2(0xb7f75000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf) = 0xb7f75000
mmap2(0xb7f77000, 4572, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f77000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libtiff.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\320L\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=335596, ...}) = 0
mmap2(NULL, 335488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f14000
mmap2(0xb7f64000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x50) = 0xb7f64000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libjpeg.so.62", 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#\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=121280, ...}) = 0
mmap2(NULL, 124236, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ef5000
mmap2(0xb7f13000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1d) = 0xb7f13000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libz.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@\27\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=77808, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ef4000
mmap2(NULL, 80692, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ee0000
mmap2(0xb7ef3000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12) = 0xb7ef3000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libm.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\3203\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=149284, ...}) = 0
mmap2(NULL, 151680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7eba000
mmap2(0xb7ede000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23) = 0xb7ede000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/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\20Z\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1248904, ...}) = 0
mmap2(NULL, 1258876, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d86000
mmap2(0xb7eb3000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12c) = 0xb7eb3000
mmap2(0xb7eb7000, 9596, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7eb7000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
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 \26\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=36384, ...}) = 0
mmap2(NULL, 39420, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d7c000
mmap2(0xb7d85000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8) = 0xb7d85000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d7b000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d7a000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7d7a6b0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7eb3000, 8192, PROT_READ)   = 0
munmap(0xb7f8c000, 80909)               = 0
set_tid_address(0xb7d7a6f8)             = 5175
rt_sigaction(SIGRTMIN, {0xb7f6a720, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xb7f6a640, [], 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
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbfb8eb50, 31, (nil), 0}) = 0
open("/etc/sane.d/dll.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
brk(0)                                  = 0x8052000
brk(0x8074000)                          = 0x8074000
getdents64(3, /* 4 entries */, 4096)    = 120
lstat64("/etc/sane.d/dll.d/libsane-extras", {st_mode=S_IFREG|0644, st_size=69, ...}) = 0
open("./dll.d/libsane-extras", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/sane.d/dll.d/libsane-extras", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=69, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f9f000
read(4, "# dll.conf snippet for libsane-e"..., 4096) = 69
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0xb7f9f000, 4096)                = 0
lstat64("/etc/sane.d/dll.d/hplip", {st_mode=S_IFREG|0644, st_size=38, ...}) = 0
open("./dll.d/hplip", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/etc/sane.d/dll.d/hplip", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=38, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f9f000
read(4, "# dll.conf snippet for hplip\n#\n\n"..., 4096) = 38
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0xb7f9f000, 4096)                = 0
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
open("./dll.conf", O_RDONLY)            = -1 ENOENT (No such file or directory)
open("/etc/sane.d/dll.conf", O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=868, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f9f000
read(3, "# /etc/sane.d/dll.conf - Configu"..., 4096) = 868
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7f9f000, 4096)                = 0
open("./dll.aliases", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/etc/sane.d/dll.aliases", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/sane/libsane-v4l.so.1", O_RDONLY) = 3
close(3)                                = 0
futex(0xb7f84070, FUTEX_WAKE, 2147483647) = 0
open("/usr/lib/sane/libsane-v4l.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\0p\25\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=26440, ...}) = 0
mmap2(NULL, 25468, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f99000
mmap2(0xb7f9f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xb7f9f000
close(3)                                = 0
open("./v4l.conf", O_RDONLY)            = -1 ENOENT (No such file or directory)
open("/etc/sane.d/v4l.conf", O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=204, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f98000
read(3, "#\n# In order to use the v4linux "..., 4096) = 204
open("/dev/bttv0", O_RDWR)              = -1 ENOENT (No such file or directory)
open("/dev/video0", O_RDWR)             = -1 ENOENT (No such file or directory)
open("/dev/video1", O_RDWR)             = -1 ENOENT (No such file or directory)
open("/dev/video2", O_RDWR)             = -1 ENOENT (No such file or directory)
open("/dev/video3", O_RDWR)             = -1 ENOENT (No such file or directory)
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7f98000, 4096)                = 0
open("/usr/lib/sane/libsane-umax1220u.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-umax1220u.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\0P$\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=72416, ...}) = 0
mmap2(NULL, 82372, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d65000
mmap2(0xb7d77000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11) = 0xb7d77000
mmap2(0xb7d78000, 4548, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7d78000
close(3)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8c690)         = -1 ENOENT (No such file or directory)
open("/dev/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=140, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 7 entries */, 4096)    = 184
close(3)                                = 0
open("/dev/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=140, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 7 entries */, 4096)    = 184
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
open("/dev/bus/usb/003", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 4 entries */, 4096)    = 96
open("/dev/bus/usb/003/002", O_RDWR)    = 4
ioctl(4, USBDEVFS_CONNECTINFO, 0xbfb8c694) = 0
read(4, "\22\1\0\2\0\0\0@\343\5`\7%\1\0\3\4\1", 18) = 18
read(4, "\t\2 \0\1\1\0\200", 8)         = 8
read(4, "\372\t\4\0\0\2\10\6P\0\7\5\201\2\0\2\0\7\5\2\2\0\2\0", 24) = 24
close(4)                                = 0
open("/dev/bus/usb/003/001", O_RDWR)    = 4
ioctl(4, USBDEVFS_CONNECTINFO, 0xbfb8c694) = 0
read(4, "\22\1\0\2\t\0\1@\0\0\0\0\6\2\3\2\1\1", 18) = 18
read(4, "\t\2\31\0\1\1\0\340", 8)       = 8
read(4, "\0\t\4\0\0\1\t\0\0\0\7\5\201\3\2\0\f", 17) = 17
close(4)                                = 0
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
open("/dev/bus/usb/003/002", O_RDWR)    = 3
ioctl(3, USBDEVFS_IOCTL, 0xbfb8c690)    = -1 ENOTTY (Inappropriate ioctl for device)
close(3)                                = 0
open("/dev/bus/usb/003/001", O_RDWR)    = 3
ioctl(3, USBDEVFS_IOCTL, 0xbfb8c690)    = 7
close(3)                                = 0
open("/dev/bus/usb/002", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 3 entries */, 4096)    = 72
open("/dev/bus/usb/002/001", O_RDWR)    = 4
ioctl(4, USBDEVFS_CONNECTINFO, 0xbfb8c694) = 0
read(4, "\22\1\20\1\t\0\0@\0\0\0\0\6\2\3\2\1\1", 18) = 18
read(4, "\t\2\31\0\1\1\0\340", 8)       = 8
read(4, "\0\t\4\0\0\1\t\0\0\0\7\5\201\3\2\0\377", 17) = 17
close(4)                                = 0
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
open("/dev/bus/usb/002/001", O_RDWR)    = 3
ioctl(3, USBDEVFS_IOCTL, 0xbfb8c690)    = 4
close(3)                                = 0
open("/dev/bus/usb/001", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 3 entries */, 4096)    = 72
open("/dev/bus/usb/001/001", O_RDWR)    = 4
ioctl(4, USBDEVFS_CONNECTINFO, 0xbfb8c694) = 0
read(4, "\22\1\20\1\t\0\0@\0\0\0\0\6\2\3\2\1\1", 18) = 18
read(4, "\t\2\31\0\1\1\0\340", 8)       = 8
read(4, "\0\t\4\0\0\1\t\0\0\0\7\5\201\3\2\0\377", 17) = 17
close(4)                                = 0
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
open("/dev/bus/usb/001/001", O_RDWR)    = 3
ioctl(3, USBDEVFS_IOCTL, 0xbfb8c690)    = 4
close(3)                                = 0
open("./umax1220u.conf", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("/etc/sane.d/umax1220u.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=386, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f98000
read(3, "# Options for the umax1220u back"..., 4096) = 386
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7f98000, 4096)                = 0
open("/usr/lib/sane/libsane-umax.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-umax.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\2203\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=151968, ...}) = 0
mmap2(NULL, 158100, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d3e000
mmap2(0xb7d62000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24) = 0xb7d62000
mmap2(0xb7d63000, 6548, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7d63000
close(3)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8c680)         = -1 ENOENT (No such file or directory)
open("./umax.conf", O_RDONLY)           = -1 ENOENT (No such file or directory)
open("/etc/sane.d/umax.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=3094, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f98000
read(3, "#\n# Options for the umax backend"..., 4096) = 3094
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f97000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7f97000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f97000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7f97000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f97000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7f97000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f97000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7f97000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f97000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7f97000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f97000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7f97000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f97000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7f97000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f97000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7f97000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f97000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7f97000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f97000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7f97000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f97000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7f97000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f97000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7f97000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f97000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7f97000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f97000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7f97000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f97000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7f97000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f97000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c764)    = 0
close(5)                                = 0
open("/dev/sg0", O_RDWR)                = 5
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8c764) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8c764) = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7f97000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f97000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7f97000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7f98000, 4096)                = 0
open("/usr/lib/sane/libsane-u12.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-u12.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 &\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=98044, ...}) = 0
mmap2(NULL, 104944, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d24000
mmap2(0xb7d3b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17) = 0xb7d3b000
mmap2(0xb7d3c000, 6640, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7d3c000
close(3)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8b620)         = -1 ENOENT (No such file or directory)
open("./u12.conf", O_RDONLY)            = -1 ENOENT (No such file or directory)
open("/etc/sane.d/u12.conf", O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1495, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f98000
read(3, "# U12-SANE Backend configuration"..., 4096) = 1495
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7f98000, 4096)                = 0
open("/usr/lib/sane/libsane-teco3.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-teco3.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\360\34"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=47580, ...}) = 0
mmap2(NULL, 50752, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f8c000
mmap2(0xb7f98000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0xb7f98000
close(3)                                = 0
open("./teco3.conf", O_RDONLY)          = -1 ENOENT (No such file or directory)
open("/etc/sane.d/teco3.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=217, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d23000
read(3, "# VM3552\nscsi \"\" \"Flat-bed scann"..., 4096) = 217
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d22000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d22000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d22000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d22000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d22000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d22000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d22000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d22000, 4096)                = 0
brk(0x80a2000)                          = 0x80a2000
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d22000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c6c4)    = 0
close(5)                                = 0
open("/dev/sg0", O_RDWR)                = 5
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8c6c4) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8c6c4) = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d22000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d22000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d22000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
brk(0x8092000)                          = 0x8092000
brk(0x808e000)                          = 0x808e000
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7d23000, 4096)                = 0
open("/usr/lib/sane/libsane-teco2.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-teco2.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\0\36\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=56364, ...}) = 0
mmap2(NULL, 55456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d16000
mmap2(0xb7d23000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd) = 0xb7d23000
close(3)                                = 0
open("./teco2.conf", O_RDONLY)          = -1 ENOENT (No such file or directory)
open("/etc/sane.d/teco2.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=636, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d15000
read(3, "# VM3564 RELISYS AVEC II S3 scan"..., 4096) = 636
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d14000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d14000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d14000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d14000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d14000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d14000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d14000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d14000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d14000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d14000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d14000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d14000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d14000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d14000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d14000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d14000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d14000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d14000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d14000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c6a4)    = 0
close(5)                                = 0
open("/dev/sg0", O_RDWR)                = 5
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8c6a4) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8c6a4) = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d14000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d14000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d14000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7d15000, 4096)                = 0
open("/usr/lib/sane/libsane-teco1.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-teco1.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\20\35\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=47612, ...}) = 0
mmap2(NULL, 46688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d0a000
mmap2(0xb7d15000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0xb7d15000
close(3)                                = 0
open("./teco1.conf", O_RDONLY)          = -1 ENOENT (No such file or directory)
open("/etc/sane.d/teco1.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=355, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d09000
read(3, "# Relisys RELI 2412\n# The scanne"..., 4096) = 355
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d08000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d08000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d08000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d08000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d08000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d08000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d08000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d08000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d08000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d08000, 4096)                = 0
brk(0x80b2000)                          = 0x80b2000
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d08000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c6a4)    = 0
close(5)                                = 0
open("/dev/sg0", O_RDWR)                = 5
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8c6a4) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8c6a4) = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d08000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d08000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7d08000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
brk(0x8092000)                          = 0x8092000
brk(0x808e000)                          = 0x808e000
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7d09000, 4096)                = 0
open("/usr/lib/sane/libsane-tamarack.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-tamarack.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\0P!\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=43144, ...}) = 0
mmap2(NULL, 42224, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7cff000
mmap2(0xb7d09000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa) = 0xb7d09000
close(3)                                = 0
open("./tamarack.conf", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("/etc/sane.d/tamarack.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=28, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cfe000
read(3, "scsi TAMARACK\n/dev/scanner\n\n", 4096) = 28
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cfd000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7cfd000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cfd000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c684)    = 0
close(5)                                = 0
open("/dev/sg0", O_RDWR)                = 5
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8c684) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8c684) = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7cfd000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cfd000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7cfd000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7cfe000, 4096)                = 0
open("/usr/lib/sane/libsane-sp15c.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-sp15c.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\200!\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=51612, ...}) = 0
mmap2(NULL, 54832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7cf1000
mmap2(0xb7cfe000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc) = 0xb7cfe000
close(3)                                = 0
open("./sp15c.conf", O_RDONLY)          = -1 ENOENT (No such file or directory)
open("/etc/sane.d/sp15c.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=10, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cf0000
read(3, "scsi FCPA\n", 4096)            = 10
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cef000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7cef000, 4096)                = 0
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7cf0000, 4096)                = 0
open("/usr/lib/sane/libsane-snapscan.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-snapscan.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`0\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=180628, ...}) = 0
mmap2(NULL, 187056, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7cc3000
mmap2(0xb7cee000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2b) = 0xb7cee000
mmap2(0xb7cef000, 6832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7cef000
close(3)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8c680)         = -1 ENOENT (No such file or directory)
open("./snapscan.conf", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("/etc/sane.d/snapscan.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2239, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cc2000
read(3, "#------------------------------ "..., 4096) = 2239
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cc1000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7cc1000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cc1000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7cc1000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cc1000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c7f4)    = 0
close(5)                                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 5
fstat64(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cc0000
read(5, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 6
ioctl(6, SG_GET_SCSI_ID, 0xbfb8c374)    = 0
close(6)                                = 0
open("/dev/sg0", O_RDWR)                = 6
ioctl(6, SG_SET_RESERVED_SIZE, 0xbfb8c374) = 0
ioctl(6, SG_GET_RESERVED_SIZE, 0xbfb8c374) = 0
close(6)                                = 0
read(5, "", 1024)                       = 0
close(5)                                = 0
munmap(0xb7cc0000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 5
fstat64(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cc0000
read(5, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(5, "", 1024)                       = 0
close(5)                                = 0
munmap(0xb7cc0000, 4096)                = 0
open("/dev/sg0", O_RDWR|O_NONBLOCK|O_EXCL) = 5
ioctl(5, SG_SET_TIMEOUT, 0xbfb8c774)    = 0
ioctl(5, SG_GET_VERSION_NUM, 0xb7ceef44) = 0
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c730)    = 0
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8c7b8) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8c770) = 0
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c750)    = 0
ioctl(5, SG_SET_COMMAND_Q, 0xbfb8c774)  = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
write(5, "S\0\0\0\375\377\377\377\6@\0\0$\0\0\0T\307\270\277\310"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
read(5, "S\0\0\0\375\377\377\377\6@\0\0$\0\0\0T\307\270\277\310"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7cc1000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cc1000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7cc1000, 4096)                = 0
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7cc2000, 4096)                = 0
open("/usr/lib/sane/libsane-sm3840.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-sm3840.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\0000%\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=96432, ...}) = 0
mmap2(NULL, 102380, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7caa000
mmap2(0xb7cc1000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17) = 0xb7cc1000
mmap2(0xb7cc2000, 4076, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7cc2000
close(3)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8d6b0)         = -1 ENOENT (No such file or directory)
open("/usr/lib/sane/libsane-sm3600.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-sm3600.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\0P \0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=52316, ...}) = 0
mmap2(NULL, 62176, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7c9a000
mmap2(0xb7ca7000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc) = 0xb7ca7000
mmap2(0xb7ca8000, 4832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ca8000
close(3)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8d6b0)         = -1 ENOENT (No such file or directory)
open("/usr/lib/sane/libsane-sharp.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-sharp.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\0P \0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=72624, ...}) = 0
mmap2(NULL, 75840, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7c87000
mmap2(0xb7c99000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11) = 0xb7c99000
close(3)                                = 0
open("./sharp.conf", O_RDONLY)          = -1 ENOENT (No such file or directory)
open("/etc/sane.d/sharp.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1464, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c86000
read(3, "# The options are only meaningfu"..., 4096) = 1464
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c85000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7c85000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c85000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb8b504)    = 0
close(5)                                = 0
open("/dev/sg0", O_RDWR)                = 5
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8b504) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8b504) = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7c85000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c85000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7c85000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7c86000, 4096)                = 0
open("/usr/lib/sane/libsane-sceptre.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-sceptre.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\240\34"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=47200, ...}) = 0
mmap2(NULL, 46272, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7c7b000
mmap2(0xb7c86000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0xb7c86000
close(3)                                = 0
open("./sceptre.conf", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("/etc/sane.d/sceptre.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=48, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c7a000
read(3, "scsi \"KINPO   \" \"Vividscan S120 "..., 4096) = 48
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c79000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7c79000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c79000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c6c4)    = 0
close(5)                                = 0
open("/dev/sg0", O_RDWR)                = 5
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8c6c4) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8c6c4) = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7c79000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c79000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7c79000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7c7a000, 4096)                = 0
open("/usr/lib/sane/libsane-s9036.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-s9036.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\0000\34\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=39528, ...}) = 0
mmap2(NULL, 42688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7c70000
mmap2(0xb7c7a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9) = 0xb7c7a000
close(3)                                = 0
open("./s9036.conf", O_RDONLY)          = -1 ENOENT (No such file or directory)
open("/etc/sane.d/s9036.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=13, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c6f000
read(3, "/dev/scanner\n", 4096)         = 13
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c6e000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c684)    = 0
close(5)                                = 0
open("/dev/sg0", O_RDWR)                = 5
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8c684) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8c684) = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7c6e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c6e000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7c6e000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7c6f000, 4096)                = 0
open("/usr/lib/sane/libsane-ricoh.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-ricoh.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\0P\34\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=47168, ...}) = 0
mmap2(NULL, 46720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7c64000
mmap2(0xb7c6f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0xb7c6f000
close(3)                                = 0
open("./ricoh.conf", O_RDONLY)          = -1 ENOENT (No such file or directory)
open("/etc/sane.d/ricoh.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=29, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c63000
read(3, "scsi RICOH IS60\n/dev/scanner\n", 4096) = 29
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7c63000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c63000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 4
close(4)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 4
ioctl(4, SG_GET_SCSI_ID, 0xbfb8b514)    = 0
close(4)                                = 0
open("/dev/sg0", O_RDWR)                = 4
ioctl(4, SG_SET_RESERVED_SIZE, 0xbfb8b514) = 0
ioctl(4, SG_GET_RESERVED_SIZE, 0xbfb8b514) = 0
close(4)                                = 0
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb7c63000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c63000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb7c63000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/usr/lib/sane/libsane-qcam.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-qcam.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\31"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=34632, ...}) = 0
mmap2(NULL, 33756, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7c5b000
mmap2(0xb7c63000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8) = 0xb7c63000
close(3)                                = 0
open("./qcam.conf", O_RDONLY)           = -1 ENOENT (No such file or directory)
open("/etc/sane.d/qcam.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=391, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c5a000
read(3, "#\n# In order to use the qcam bac"..., 4096) = 391
ioperm(0x3bc, 0x3, 0x1)                 = 0
open("/tmp/LOCK.qcam.0x3bc", O_WRONLY|O_CREAT|O_EXCL, 0666) = 4
fcntl64(4, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
fcntl64(4, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
unlink("/tmp/LOCK.qcam.0x3bc")          = 0
close(4)                                = 0
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7c5a000, 4096)                = 0
open("/usr/lib/sane/libsane-plustek.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-plustek.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\3200\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=197696, ...}) = 0
mmap2(NULL, 412728, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7bf6000
mmap2(0xb7c22000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2c) = 0xb7c22000
mmap2(0xb7c26000, 216120, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7c26000
close(3)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8b5b0)         = -1 ENOENT (No such file or directory)
open("./plustek.conf", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("/etc/sane.d/plustek.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=3882, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7bf5000
read(3, "# Plustek-SANE Backend configura"..., 4096) = 3882
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7bf5000, 4096)                = 0
open("/usr/lib/sane/libsane-pixma.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-pixma.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`2\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=70472, ...}) = 0
mmap2(NULL, 80360, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7be2000
mmap2(0xb7bf3000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10) = 0xb7bf3000
mmap2(0xb7bf4000, 6632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7bf4000
close(3)                                = 0
gettimeofday({1164131327, 874477}, NULL) = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8d680)         = -1 ENOENT (No such file or directory)
open("/usr/lib/sane/libsane-pie.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-pie.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\0000\"\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=68812, ...}) = 0
mmap2(NULL, 72016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7bd0000
mmap2(0xb7be1000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10) = 0xb7be1000
close(3)                                = 0
open("./pie.conf", O_RDONLY)            = -1 ENOENT (No such file or directory)
open("/etc/sane.d/pie.conf", O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=75, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7bcf000
read(3, "scsi DEVCOM * Scanner\nscsi PIE *"..., 4096) = 75
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7bce000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7bce000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7bce000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7bce000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7bce000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7bce000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7bce000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c3f4)    = 0
close(5)                                = 0
open("/dev/sg0", O_RDWR)                = 5
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8c3f4) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8c3f4) = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7bce000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7bce000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7bce000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7bcf000, 4096)                = 0
open("/usr/lib/sane/libsane-niash.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-niash.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 \0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=55608, ...}) = 0
mmap2(NULL, 1318688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7a8e000
mmap2(0xb7a9b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd) = 0xb7a9b000
mmap2(0xb7a9c000, 1261344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7a9c000
close(3)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8d6a0)         = -1 ENOENT (No such file or directory)
open("/usr/lib/sane/libsane-nec.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-nec.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\220\35"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=62232, ...}) = 0
mmap2(NULL, 65440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7a7e000
mmap2(0xb7a8d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe) = 0xb7a8d000
close(3)                                = 0
open("./nec.conf", O_RDONLY)            = -1 ENOENT (No such file or directory)
open("/etc/sane.d/nec.conf", O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=13, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7a7d000
read(3, "/dev/scanner\n", 4096)         = 13
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7a7c000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb8b524)    = 0
close(5)                                = 0
open("/dev/sg0", O_RDWR)                = 5
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8b524) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8b524) = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7a7c000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7a7c000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7a7c000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7a7d000, 4096)                = 0
open("/usr/lib/sane/libsane-mustek_usb2.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-mustek_usb2.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\0000\"\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=150400, ...}) = 0
mmap2(NULL, 160960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7a56000
mmap2(0xb7a7b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24) = 0xb7a7b000
mmap2(0xb7a7c000, 5312, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7a7c000
close(3)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8d690)         = -1 ENOENT (No such file or directory)
open("/usr/lib/sane/libsane-mustek_usb.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-mustek_usb.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\240\37"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=153664, ...}) = 0
mmap2(NULL, 167776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7a2d000
mmap2(0xb7a52000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25) = 0xb7a52000
mmap2(0xb7a53000, 12128, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7a53000
close(3)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8c670)         = -1 ENOENT (No such file or directory)
open("./mustek_usb.conf", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/etc/sane.d/mustek_usb.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=809, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7a2c000
read(3, "# mustek_usb.conf: Configuration"..., 4096) = 809
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7a2c000, 4096)                = 0
open("/usr/lib/sane/libsane-mustek.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-mustek.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\20,\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=147476, ...}) = 0
mmap2(NULL, 150732, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7a08000
mmap2(0xb7a2c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23) = 0xb7a2c000
close(3)                                = 0
open("./mustek.conf", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/etc/sane.d/mustek.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2125, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7a07000
read(3, "# See sane-mustek(5) for documen"..., 4096) = 2125
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7a06000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7a06000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7a06000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7a06000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7a06000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb8ae14)    = 0
close(5)                                = 0
open("/dev/sg0", O_RDWR)                = 5
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8ae14) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8ae14) = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7a06000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7a06000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7a06000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/etc/ieee1284.conf", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/dev/parport0", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
open("/dev/parports/0", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
open("/dev/parport1", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
open("/dev/parports/1", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
open("/dev/parport2", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
open("/dev/parports/2", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
open("/dev/parport3", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
open("/dev/parports/3", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
open("/dev/parport4", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
open("/dev/parports/4", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
open("/dev/parport5", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
open("/dev/parports/5", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
open("/dev/parport6", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
open("/dev/parports/6", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
open("/dev/parport7", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
open("/dev/parports/7", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
ioperm(0x378, 0x3, 0x1)                 = 0
ioperm(0x378, 0x3, 0)                   = 0
open("/dev/port", O_RDWR|O_NOCTTY)      = 4
close(4)                                = 0
open("/dev/lp0", O_RDONLY|O_NOCTTY)     = 4
close(4)                                = 0
stat64("/proc/sys/dev/parport", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
open("/proc/sys/dev/parport", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents64(4, /* 4 entries */, 8192)    = 112
open("/proc/sys/dev/parport/parport0/base-addr", O_RDONLY|O_NOCTTY) = 5
read(5, "888\t1912\n", 19)              = 9
close(5)                                = 0
open("/proc/sys/dev/parport/parport0/irq", O_RDONLY|O_NOCTTY) = 5
read(5, "7\n", 19)                      = 2
close(5)                                = 0
getdents64(4, /* 0 entries */, 8192)    = 0
close(4)                                = 0
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7a07000, 4096)                = 0
open("/usr/lib/sane/libsane-microtek2.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-microtek2.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\20#\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=121612, ...}) = 0
mmap2(NULL, 124816, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb79e9000
mmap2(0xb7a07000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1d) = 0xb7a07000
close(3)                                = 0
open("./microtek2.conf", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("/etc/sane.d/microtek2.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=279, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb79e8000
read(3, "# See sane-microtek2(5) for a de"..., 4096) = 279
read(3, "", 4096)                       = 0
_llseek(3, 0, [0], SEEK_SET)            = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb79e7000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c7d4)    = 0
close(5)                                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 5
fstat64(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb79e6000
read(5, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 6
ioctl(6, SG_GET_SCSI_ID, 0xbfb8c2e4)    = 0
close(6)                                = 0
open("/dev/sg0", O_RDWR)                = 6
ioctl(6, SG_SET_RESERVED_SIZE, 0xbfb8c2e4) = 0
ioctl(6, SG_GET_RESERVED_SIZE, 0xbfb8c2e4) = 0
close(6)                                = 0
read(5, "", 1024)                       = 0
close(5)                                = 0
munmap(0xb79e6000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 5
fstat64(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb79e6000
read(5, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(5, "", 1024)                       = 0
close(5)                                = 0
munmap(0xb79e6000, 4096)                = 0
open("/dev/sg0", O_RDWR|O_NONBLOCK|O_EXCL) = 5
ioctl(5, SG_SET_TIMEOUT, 0xbfb8c6e4)    = 0
ioctl(5, SG_GET_VERSION_NUM, 0xb7a076e4) = 0
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c6a0)    = 0
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8c728) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8c6e0) = 0
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c6c0)    = 0
ioctl(5, SG_SET_COMMAND_Q, 0xbfb8c6e4)  = 0
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb79c6000
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
write(5, "S\0\0\0\375\377\377\377\6@\0\0\5\0\0\0@\307\270\277\240"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
read(5, "S\0\0\0\375\377\377\377\6@\0\0\5\0\0\0@\307\270\277\240"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
write(5, "S\0\0\0\375\377\377\377\6@\0\0N\0\0\0\340\306\270\277\240"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
read(5, "S\0\0\0\375\377\377\377\6@\0\0N\0\0\0\340\306\270\277\240"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
munmap(0xb79c6000, 135168)              = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb79e7000, 4096)                = 0
close(3)                                = 0
munmap(0xb79e8000, 4096)                = 0
open("/dev/sg0", O_RDWR|O_NONBLOCK|O_EXCL) = 3
ioctl(3, SG_SET_TIMEOUT, 0xbfb8db34)    = 0
ioctl(3, SG_GET_VERSION_NUM, 0xb7a076e4) = 0
ioctl(3, SG_GET_SCSI_ID, 0xbfb8daf0)    = 0
ioctl(3, SG_SET_RESERVED_SIZE, 0xbfb8db78) = 0
ioctl(3, SG_GET_RESERVED_SIZE, 0xbfb8db30) = 0
ioctl(3, SG_GET_SCSI_ID, 0xbfb8db10)    = 0
ioctl(3, SG_SET_COMMAND_Q, 0xbfb8db34)  = 0
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb79c8000
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
write(3, "S\0\0\0\375\377\377\377\6@\0\0\5\0\0\0\220\333\270\277"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
read(3, "S\0\0\0\375\377\377\377\6@\0\0\5\0\0\0\220\333\270\277"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
write(3, "S\0\0\0\375\377\377\377\6@\0\0N\0\0\0000\333\270\277\240"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
read(3, "S\0\0\0\375\377\377\377\6@\0\0N\0\0\0000\333\270\277\240"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
munmap(0xb79c8000, 135168)              = 0
close(3)                                = 0
open("/usr/lib/sane/libsane-microtek.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-microtek.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 \36\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=80588, ...}) = 0
mmap2(NULL, 84800, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb79d4000
mmap2(0xb79e8000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13) = 0xb79e8000
close(3)                                = 0
open("./microtek.conf", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("/etc/sane.d/microtek.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=268, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb79d3000
read(3, "# Uncomment following line to di"..., 4096) = 268
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb79d2000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c804)    = 0
close(5)                                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 5
fstat64(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb79d1000
read(5, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 6
ioctl(6, SG_GET_SCSI_ID, 0xbfb8c1e4)    = 0
close(6)                                = 0
open("/dev/sg0", O_RDWR)                = 6
ioctl(6, SG_SET_RESERVED_SIZE, 0xbfb8c1e4) = 0
ioctl(6, SG_GET_RESERVED_SIZE, 0xbfb8c1e4) = 0
close(6)                                = 0
read(5, "", 1024)                       = 0
close(5)                                = 0
munmap(0xb79d1000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 5
fstat64(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb79d1000
read(5, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(5, "", 1024)                       = 0
close(5)                                = 0
munmap(0xb79d1000, 4096)                = 0
open("/dev/sg0", O_RDWR|O_NONBLOCK|O_EXCL) = 5
ioctl(5, SG_SET_TIMEOUT, 0xbfb8c5e4)    = 0
ioctl(5, SG_GET_VERSION_NUM, 0xb79e8aa4) = 0
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c5a0)    = 0
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8c628) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8c5e0) = 0
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c5c0)    = 0
ioctl(5, SG_SET_COMMAND_Q, 0xbfb8c5e4)  = 0
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb79b1000
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
write(5, "S\0\0\0\375\377\377\377\6@\0\0`\0\0\0\34\307\270\277\240"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
read(5, "S\0\0\0\375\377\377\377\6@\0\0`\0\0\0\34\307\270\277\240"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
munmap(0xb79b1000, 135168)              = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb79d2000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb79d3000, 4096)                = 0
open("/usr/lib/sane/libsane-matsushita.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-matsushita.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\220 \0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=53016, ...}) = 0
mmap2(NULL, 52096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb79c7000
mmap2(0xb79d3000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc) = 0xb79d3000
close(3)                                = 0
open("./matsushita.conf", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/etc/sane.d/matsushita.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=666, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb79c6000
read(3, "#\n# Panasonic / Matsushita scann"..., 4096) = 666
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb79c5000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb79c5000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb79c5000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb79c5000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb79c5000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb79c5000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb79c5000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb79c5000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb79c5000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb79c5000, 4096)                = 0
brk(0x80b4000)                          = 0x80b4000
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb79c5000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c6b4)    = 0
close(5)                                = 0
open("/dev/sg0", O_RDWR)                = 5
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8c6b4) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8c6b4) = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb79c5000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb79c5000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb79c5000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
brk(0x8094000)                          = 0x8094000
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb79c6000, 4096)                = 0
open("/usr/lib/sane/libsane-ma1509.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-ma1509.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\0 \0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=55264, ...}) = 0
mmap2(NULL, 61120, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb79b8000
mmap2(0xb79c5000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd) = 0xb79c5000
mmap2(0xb79c6000, 3776, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb79c6000
close(3)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8c660)         = -1 ENOENT (No such file or directory)
open("./ma1509.conf", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/etc/sane.d/ma1509.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=187, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb79b7000
read(3, "#ma1509.conf: see sane-ma1509(5)"..., 4096) = 187
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb79b7000, 4096)                = 0
open("/usr/lib/sane/libsane-lexmark.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-lexmark.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\200#\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=55656, ...}) = 0
mmap2(NULL, 61760, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb79a8000
mmap2(0xb79b5000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd) = 0xb79b5000
mmap2(0xb79b6000, 4416, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb79b6000
close(3)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8c670)         = -1 ENOENT (No such file or directory)
open("./lexmark.conf", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("/etc/sane.d/lexmark.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=41, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb79a7000
read(3, "#usb /dev/usb/scanner0\nusb 0x043"..., 4096) = 41
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb79a7000, 4096)                = 0
open("/usr/lib/sane/libsane-leo.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-leo.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\340\34"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=48448, ...}) = 0
mmap2(NULL, 51616, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb799b000
mmap2(0xb79a7000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0xb79a7000
close(3)                                = 0
open("./leo.conf", O_RDONLY)            = -1 ENOENT (No such file or directory)
open("/etc/sane.d/leo.conf", O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=113, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb799a000
read(3, "# The FS-1130 respond to all lun"..., 4096) = 113
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7999000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7999000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7999000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7999000, 4096)                = 0
brk(0x80b6000)                          = 0x80b6000
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7999000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c6a4)    = 0
close(5)                                = 0
open("/dev/sg0", O_RDWR)                = 5
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8c6a4) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8c6a4) = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7999000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7999000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7999000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
brk(0x8096000)                          = 0x8096000
brk(0x8095000)                          = 0x8095000
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb799a000, 4096)                = 0
open("/usr/lib/sane/libsane-ibm.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-ibm.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\220\34"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=49344, ...}) = 0
mmap2(NULL, 52992, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb798e000
mmap2(0xb799a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0xb799a000
close(3)                                = 0
open("./ibm.conf", O_RDONLY)            = -1 ENOENT (No such file or directory)
open("/etc/sane.d/ibm.conf", O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=38, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb798d000
read(3, "scsi IBM 2456\nscsi RICOH\n/dev/sc"..., 4096) = 38
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb798d000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb798d000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 4
close(4)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 4
ioctl(4, SG_GET_SCSI_ID, 0xbfb8b514)    = 0
close(4)                                = 0
open("/dev/sg0", O_RDWR)                = 4
ioctl(4, SG_SET_RESERVED_SIZE, 0xbfb8b514) = 0
ioctl(4, SG_GET_RESERVED_SIZE, 0xbfb8b514) = 0
close(4)                                = 0
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb798d000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb798d000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb798d000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/usr/lib/sane/libsane-hp5400.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-hp5400.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\37"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=51044, ...}) = 0
mmap2(NULL, 57036, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7980000
mmap2(0xb798c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc) = 0xb798c000
mmap2(0xb798d000, 3788, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb798d000
close(3)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8c680)         = -1 ENOENT (No such file or directory)
open("./hp5400.conf", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/etc/sane.d/hp5400.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=238, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb797f000
read(3, "# hp5400.conf\n# See man sane-hp5"..., 4096) = 238
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb797f000, 4096)                = 0
open("/usr/lib/sane/libsane-hp4200.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-hp4200.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\240\"\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=59444, ...}) = 0
mmap2(NULL, 65252, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7970000
mmap2(0xb797e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe) = 0xb797e000
mmap2(0xb797f000, 3812, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb797f000
close(3)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8c690)         = -1 ENOENT (No such file or directory)
open("./hp4200.conf", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/etc/sane.d/hp4200.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=76, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb796f000
read(3, "#\n# Configuration file for the h"..., 4096) = 76
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb796f000, 4096)                = 0
open("/usr/lib/sane/libsane-hp3500.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-hp3500.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\0P#\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=51464, ...}) = 0
mmap2(NULL, 188464, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7941000
mmap2(0xb794d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc) = 0xb794d000
mmap2(0xb794e000, 135216, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb794e000
close(3)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8d6b0)         = -1 ENOENT (No such file or directory)
open("/usr/lib/sane/libsane-hpsj5s.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-hpsj5s.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\360\27"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=27936, ...}) = 0
mmap2(NULL, 30972, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7939000
mmap2(0xb793f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) = 0xb793f000
close(3)                                = 0
open("./hpsj5s.conf", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/etc/sane.d/hpsj5s.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=22, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7938000
read(3, "#hpsj5s.conf\n#parport0", 4096) = 22
read(3, "", 4096)                       = 0
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7938000, 4096)                = 0
open("/proc/sys/dev/parport", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 4 entries */, 8192)    = 112
open("/proc/sys/dev/parport/parport0/base-addr", O_RDONLY|O_NOCTTY) = 4
read(4, "888\t1912\n", 19)              = 9
close(4)                                = 0
open("/proc/sys/dev/parport/parport0/irq", O_RDONLY|O_NOCTTY) = 4
read(4, "7\n", 19)                      = 2
close(4)                                = 0
getdents64(3, /* 0 entries */, 8192)    = 0
close(3)                                = 0
open("/usr/lib/sane/libsane-hp.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-hp.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\0PT\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=151724, ...}) = 0
mmap2(NULL, 162496, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7911000
mmap2(0xb7934000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22) = 0xb7934000
mmap2(0xb7937000, 6848, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7937000
close(3)                                = 0
open("./hp.conf", O_RDONLY)             = -1 ENOENT (No such file or directory)
open("/etc/sane.d/hp.conf", O_RDONLY)   = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=497, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7910000
read(3, "scsi HP\n# Uncomment the followin"..., 4096) = 497
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb790f000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb790f000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb790f000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb885d4)    = 0
close(5)                                = 0
open("/dev/sg0", O_RDWR)                = 5
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb885d4) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb885d4) = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb790f000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb790f000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb790f000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents64(4, /* 144 entries */, 4096)  = 4080
getdents64(4, /* 128 entries */, 4096)  = 4096
getdents64(4, /* 128 entries */, 4096)  = 4088
getdents64(4, /* 128 entries */, 4096)  = 4088
getdents64(4, /* 128 entries */, 4096)  = 4096
getdents64(4, /* 46 entries */, 4096)   = 1352
getdents64(4, /* 0 entries */, 4096)    = 0
close(4)                                = 0
stat64("/dev/usb/", 0xbfb88630)         = -1 ENOENT (No such file or directory)
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7910000, 4096)                = 0
open("/usr/lib/sane/libsane-gt68xx.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-gt68xx.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\220+\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=132980, ...}) = 0
mmap2(NULL, 142916, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb78ee000
mmap2(0xb790c000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1d) = 0xb790c000
mmap2(0xb7910000, 3652, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7910000
close(3)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8c650)         = -1 ENOENT (No such file or directory)
open("./gt68xx.conf", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/etc/sane.d/gt68xx.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=6528, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb78ed000
read(3, "\n# gt68xx.conf: Configuration fi"..., 4096) = 4096
read(3, "#############\n# Autodetect Muste"..., 4096) = 2432
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb78ed000, 4096)                = 0
open("/usr/lib/sane/libsane-genesys.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-genesys.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\220.\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=174024, ...}) = 0
mmap2(NULL, 179816, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb78c2000
mmap2(0xb78eb000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x29) = 0xb78eb000
mmap2(0xb78ed000, 3688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb78ed000
close(3)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8c690)         = -1 ENOENT (No such file or directory)
open("./genesys.conf", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("/etc/sane.d/genesys.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=586, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb78c1000
read(3, "# genesys.conf: Configuration fi"..., 4096) = 586
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb78c1000, 4096)                = 0
open("/usr/lib/sane/libsane-fujitsu.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-fujitsu.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\'\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=96860, ...}) = 0
mmap2(NULL, 106896, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb78a7000
mmap2(0xb78bf000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17) = 0xb78bf000
mmap2(0xb78c0000, 4496, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb78c0000
close(3)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8d6a0)         = -1 ENOENT (No such file or directory)
open("./fujitsu.conf", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("/etc/sane.d/fujitsu.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1033, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb78a6000
read(3, "# NOTE: any \'option\' lines only "..., 4096) = 1033
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb78a5000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb78a5000, 4096)                = 0
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb78a6000, 4096)                = 0
open("/usr/lib/sane/libsane-epson.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-epson.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\0000,\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=104236, ...}) = 0
mmap2(NULL, 114308, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb788b000
mmap2(0xb78a4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18) = 0xb78a4000
mmap2(0xb78a6000, 3716, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb78a6000
close(3)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8c690)         = -1 ENOENT (No such file or directory)
open("./epson.conf", O_RDONLY)          = -1 ENOENT (No such file or directory)
open("/etc/sane.d/epson.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=793, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb788a000
read(3, "# epson.conf\n#\n# here are some e"..., 4096) = 793
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7889000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7889000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7889000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7889000, 4096)                = 0
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb788a000, 4096)                = 0
open("/usr/lib/sane/libsane-dmc.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-dmc.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\20\34\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=39276, ...}) = 0
mmap2(NULL, 42464, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7880000
mmap2(0xb788a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9) = 0xb788a000
close(3)                                = 0
open("./dmc.conf", O_RDONLY)            = -1 ENOENT (No such file or directory)
open("/etc/sane.d/dmc.conf", O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=12, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb787f000
read(3, "/dev/camera\n", 4096)          = 12
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb787e000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c5c4)    = 0
close(5)                                = 0
open("/dev/sg0", O_RDWR)                = 5
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8c5c4) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8c5c4) = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb787e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb787e000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb787e000, 4096)                = 0
open("/dev/camera", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb787f000, 4096)                = 0
open("/usr/lib/sane/libsane-dell1600n_net.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-dell1600n_net.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 \33\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=268288, ...}) = 0
mmap2(NULL, 271644, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb783d000
mmap2(0xb787f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x41) = 0xb787f000
close(3)                                = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 3
setsockopt(3, SOL_SOCKET, SO_BROADCAST, [1], 4) = 0
sendto(3, "\2\0\1\2\0\0\0\35%\0\26std-scan-discovery-al"..., 37, 0, {sa_family=AF_INET, sin_port=htons(1124), sin_addr=inet_addr("255.255.255.255")}, 16) = 37
select(4, [3], NULL, NULL, {0, 300000}) = 0 (Timeout)
close(3)                                = 0
open("/usr/lib/sane/libsane-coolscan2.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-coolscan2.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\360%\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=75944, ...}) = 0
mmap2(NULL, 81888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7829000
mmap2(0xb783b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12) = 0xb783b000
mmap2(0xb783c000, 4064, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb783c000
close(3)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8d6a0)         = -1 ENOENT (No such file or directory)
open("./coolscan2.conf", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("/etc/sane.d/coolscan2.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=754, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7828000
read(3, "# coolscan2.conf: sample configu"..., 4096) = 754
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7827000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7827000, 4096)                = 0
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7828000, 4096)                = 0
open("/usr/lib/sane/libsane-coolscan.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-coolscan.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\0p\"\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=72236, ...}) = 0
mmap2(NULL, 71440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7817000
mmap2(0xb7828000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11) = 0xb7828000
close(3)                                = 0
open("./coolscan.conf", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("/etc/sane.d/coolscan.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=34, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7816000
read(3, "scsi Nikon * Scanner\n/dev/scanne"..., 4096) = 34
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7815000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7815000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7815000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c6b4)    = 0
close(5)                                = 0
open("/dev/sg0", O_RDWR)                = 5
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8c6b4) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8c6b4) = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7815000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7815000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7815000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7816000, 4096)                = 0
open("/usr/lib/sane/libsane-canon630u.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-canon630u.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\220#\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=54176, ...}) = 0
mmap2(NULL, 64128, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7807000
mmap2(0xb7814000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc) = 0xb7814000
mmap2(0xb7815000, 6784, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7815000
close(3)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8c690)         = -1 ENOENT (No such file or directory)
open("./canon630u.conf", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("/etc/sane.d/canon630u.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=193, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7806000
read(3, "# Options for the canonusb backe"..., 4096) = 193
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7806000, 4096)                = 0
open("/usr/lib/sane/libsane-canon.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-canon.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 \0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=88560, ...}) = 0
mmap2(NULL, 88896, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb77f1000
mmap2(0xb7806000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15) = 0xb7806000
close(3)                                = 0
open("./canon.conf", O_RDONLY)          = -1 ENOENT (No such file or directory)
open("/etc/sane.d/canon.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=35, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77f0000
read(3, "#canon.conf\n/dev/scanner\n#/dev/s"..., 4096) = 35
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb77f0000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77f0000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 4
close(4)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 4
ioctl(4, SG_GET_SCSI_ID, 0xbfb8b5e4)    = 0
close(4)                                = 0
open("/dev/sg0", O_RDWR)                = 4
ioctl(4, SG_SET_RESERVED_SIZE, 0xbfb8b5e4) = 0
ioctl(4, SG_GET_RESERVED_SIZE, 0xbfb8b5e4) = 0
close(4)                                = 0
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb77f0000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77f0000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb77f0000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
open("/usr/lib/sane/libsane-bh.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-bh.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\37"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=80728, ...}) = 0
mmap2(NULL, 80672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb77dd000
mmap2(0xb77f0000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13) = 0xb77f0000
close(3)                                = 0
open("./bh.conf", O_RDONLY)             = -1 ENOENT (No such file or directory)
open("/etc/sane.d/bh.conf", O_RDONLY)   = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=29, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77dc000
read(3, "scsi \"B&H SCSI\"\n/dev/scanner\n", 4096) = 29
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77db000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb77db000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77db000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb8b654)    = 0
close(5)                                = 0
open("/dev/sg0", O_RDWR)                = 5
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8b654) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8b654) = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb77db000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77db000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb77db000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb77dc000, 4096)                = 0
open("/usr/lib/sane/libsane-as6e.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-as6e.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\300\26"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=22332, ...}) = 0
mmap2(NULL, 25340, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb77d6000
mmap2(0xb77dc000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) = 0xb77dc000
close(3)                                = 0
stat64("/usr/local/sbin/as6edriver", 0xbfb8da20) = -1 ENOENT (No such file or directory)
stat64("/usr/local/bin/as6edriver", 0xbfb8da20) = -1 ENOENT (No such file or directory)
stat64("/usr/sbin/as6edriver", 0xbfb8da20) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/as6edriver", 0xbfb8da20) = -1 ENOENT (No such file or directory)
stat64("/sbin/as6edriver", 0xbfb8da20)  = -1 ENOENT (No such file or directory)
stat64("/bin/as6edriver", 0xbfb8da20)   = -1 ENOENT (No such file or directory)
stat64("/usr/bin/X11/as6edriver", 0xbfb8da20) = -1 ENOENT (No such file or directory)
stat64("/usr/games/as6edriver", 0xbfb8da20) = -1 ENOENT (No such file or directory)
open("/usr/lib/sane/libsane-artec_eplus48u.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-artec_eplus48u.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"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=88180, ...}) = 0
mmap2(NULL, 110448, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb77bb000
mmap2(0xb77d0000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15) = 0xb77d0000
mmap2(0xb77d1000, 20336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb77d1000
close(3)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8b660)         = -1 ENOENT (No such file or directory)
open("./artec_eplus48u.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/sane.d/artec_eplus48u.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=4140, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77ba000
read(3, "# artec_eplus48u - SANE Backend "..., 4096) = 4096
read(3, "tring \"Yakumo\"\noption modelStrin"..., 4096) = 44
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb77ba000, 4096)                = 0
open("/usr/lib/sane/libsane-artec.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-artec.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\300\35"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=68036, ...}) = 0
mmap2(NULL, 99968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb77a2000
mmap2(0xb77b2000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10) = 0xb77b2000
mmap2(0xb77b3000, 30336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb77b3000
close(3)                                = 0
open("./artec.conf", O_RDONLY)          = -1 ENOENT (No such file or directory)
open("/etc/sane.d/artec.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=26, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77a1000
read(3, "scsi ULTIMA\n/dev/scanner\n\n", 4096) = 26
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77a0000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb77a0000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77a0000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c384)    = 0
close(5)                                = 0
open("/dev/sg0", O_RDWR)                = 5
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8c384) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8c384) = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb77a0000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77a0000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb77a0000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb77a1000, 4096)                = 0
open("/usr/lib/sane/libsane-avision.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-avision.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 5\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=132692, ...}) = 0
mmap2(NULL, 142768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb777f000
mmap2(0xb779f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f) = 0xb779f000
mmap2(0xb77a1000, 3504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb77a1000
close(3)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 144 entries */, 4096)  = 4080
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4088
getdents64(3, /* 128 entries */, 4096)  = 4096
getdents64(3, /* 46 entries */, 4096)   = 1352
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
stat64("/dev/usb/", 0xbfb8c660)         = -1 ENOENT (No such file or directory)
open("./avision.conf", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("/etc/sane.d/avision.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=543, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "\n# This are the possible options"..., 4096) = 543
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777e000
read(3, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb777e000, 4096)                = 0
open("/usr/lib/sane/libsane-apple.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-apple.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\34"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=53968, ...}) = 0
mmap2(NULL, 57216, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7771000
mmap2(0xb777e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc) = 0xb777e000
close(3)                                = 0
open("./apple.conf", O_RDONLY)          = -1 ENOENT (No such file or directory)
open("/etc/sane.d/apple.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=24, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7770000
read(3, "scsi APPLE\n/dev/scanner\n", 4096) = 24
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb776f000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb776f000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb776f000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c674)    = 0
close(5)                                = 0
open("/dev/sg0", O_RDWR)                = 5
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8c674) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8c674) = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb776f000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb776f000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb776f000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7770000, 4096)                = 0
open("/usr/lib/sane/libsane-agfafocus.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-agfafocus.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\200!\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=49504, ...}) = 0
mmap2(NULL, 52688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7764000
mmap2(0xb7770000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0xb7770000
close(3)                                = 0
open("./agfafocus.conf", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("/etc/sane.d/agfafocus.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=14, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7763000
read(3, "/dev/scanner\n\n", 4096)       = 14
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7762000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c674)    = 0
close(5)                                = 0
open("/dev/sg0", O_RDWR)                = 5
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8c674) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8c674) = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7762000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7762000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7762000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7763000, 4096)                = 0
open("/usr/lib/sane/libsane-abaton.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-abaton.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`\34\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=43072, ...}) = 0
mmap2(NULL, 42176, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7759000
mmap2(0xb7763000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa) = 0xb7763000
close(3)                                = 0
open("./abaton.conf", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/etc/sane.d/abaton.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=25, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7758000
read(3, "scsi ABATON\n/dev/scanner\n", 4096) = 25
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7757000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7757000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7757000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
close(5)                                = 0
open("/dev/scsi/host0/bus0/target1/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/sg0", O_RDWR|O_NONBLOCK)     = 5
ioctl(5, SG_GET_SCSI_ID, 0xbfb8c684)    = 0
close(5)                                = 0
open("/dev/sg0", O_RDWR)                = 5
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8c684) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8c684) = 0
close(5)                                = 0
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7757000, 4096)                = 0
open("/proc/scsi/scsi", O_RDONLY)       = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7757000
read(4, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7757000, 4096)                = 0
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = -1 ENOENT (No such file or directory)
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7758000, 4096)                = 0
open("/usr/lib/sane/libsane-net.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-net.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\0P \0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=44964, ...}) = 0
mmap2(NULL, 48064, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb774d000
mmap2(0xb7758000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa) = 0xb7758000
close(3)                                = 0
open("./net.conf", O_RDONLY)            = -1 ENOENT (No such file or directory)
open("/etc/sane.d/net.conf", O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=286, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb774c000
read(3, "# This is the net config file.  "..., 4096) = 286
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb774c000, 4096)                = 0
open("/usr/lib/sane/libsane-hpaio.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/sane/libsane-hpaio.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\0pA\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=226168, ...}) = 0
mmap2(NULL, 230852, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7714000
mmap2(0xb774a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x36) = 0xb774a000
mmap2(0xb774b000, 5572, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb774b000
close(3)                                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=80909, ...}) = 0
mmap2(NULL, 80909, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7700000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libcrypto.so.0.9.8", 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@V\3\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1268440, ...}) = 0
mmap2(NULL, 1284920, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb75c6000
mmap2(0xb76e8000, 86016, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x121) = 0xb76e8000
mmap2(0xb76fd000, 11064, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb76fd000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libnetsnmp.so.9", 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\240\354"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=553836, ...}) = 0
mmap2(NULL, 677200, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7520000
mmap2(0xb75a5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x85) = 0xb75a5000
mmap2(0xb75a7000, 124240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb75a7000
close(3)                                = 0
munmap(0xb7700000, 80909)               = 0
open("/etc/hp/hplip.conf", O_RDONLY)    = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=422, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7713000
read(3, "# hplip.conf\n\n[hpiod]\n# port=0 ("..., 4096) = 422
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7713000, 4096)                = 0
open("/var/run/hplip/hpiod.port", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=5, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7713000
read(3, "2208\n", 4096)                 = 5
close(3)                                = 0
munmap(0xb7713000, 4096)                = 0
open("/var/run/hplip/hpssd.port", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=6, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7713000
read(3, "57928\n", 4096)                = 6
close(3)                                = 0
munmap(0xb7713000, 4096)                = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(2208), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(57928), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
send(4, "msg=ProbeDevicesFiltered\nbus=usb"..., 69, 0) = 69
recv(4, "msg=probedevicesfilteredresult\nr"..., 4096, 0) = 88
open("/usr/lib/sane/libsane-hp_rts88xx.so.1", O_RDONLY) = 5
close(5)                                = 0
open("/usr/lib/sane/libsane-hp_rts88xx.so.1", O_RDONLY) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200B\0"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0644, st_size=85728, ...}) = 0
mmap2(NULL, 98252, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0xb7508000
mmap2(0xb751c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x13) = 0xb751c000
mmap2(0xb751e000, 8140, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb751e000
close(5)                                = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
fstat64(5, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
getdents64(5, /* 144 entries */, 4096)  = 4080
getdents64(5, /* 128 entries */, 4096)  = 4096
getdents64(5, /* 128 entries */, 4096)  = 4088
getdents64(5, /* 128 entries */, 4096)  = 4088
getdents64(5, /* 128 entries */, 4096)  = 4096
getdents64(5, /* 46 entries */, 4096)   = 1352
getdents64(5, /* 0 entries */, 4096)    = 0
close(5)                                = 0
stat64("/dev/usb/", 0xbfb8c610)         = -1 ENOENT (No such file or directory)
open("/usr/lib/sane/libsane-geniusvp2.so.1", O_RDONLY) = 5
close(5)                                = 0
open("/usr/lib/sane/libsane-geniusvp2.so.1", O_RDONLY) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300(\0"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0644, st_size=45880, ...}) = 0
mmap2(NULL, 49064, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0xb7708000
mmap2(0xb7713000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0xa) = 0xb7713000
close(5)                                = 0
open("./geniusvp2.conf", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("/etc/sane.d/geniusvp2.conf", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=877, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7707000
read(5, "# geniusvp2 backend configuratio"..., 4096) = 877
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0xb7707000, 4096)                = 0
open("/dev/parport0", O_RDWR)           = -1 ENOENT (No such file or directory)
open("/usr/lib/sane/libsane-epkowa.so.1", O_RDONLY) = 5
close(5)                                = 0
open("/usr/lib/sane/libsane-epkowa.so.1", O_RDONLY) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p6\0\000"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0644, st_size=127944, ...}) = 0
mmap2(NULL, 137984, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0xb74e6000
mmap2(0xb7502000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x1b) = 0xb7502000
mmap2(0xb7506000, 6912, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7506000
close(5)                                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=80909, ...}) = 0
mmap2(NULL, 80909, PROT_READ, MAP_PRIVATE, 5, 0) = 0xb74d2000
close(5)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libltdl.so.3", O_RDONLY) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\21"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0644, st_size=20820, ...}) = 0
mmap2(NULL, 23824, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0xb7702000
mmap2(0xb7707000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x4) = 0xb7707000
close(5)                                = 0
munmap(0xb74d2000, 80909)               = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
fstat64(5, {st_mode=S_IFDIR|0755, st_size=14040, ...}) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
getdents64(5, /* 144 entries */, 4096)  = 4080
getdents64(5, /* 128 entries */, 4096)  = 4096
getdents64(5, /* 128 entries */, 4096)  = 4088
getdents64(5, /* 128 entries */, 4096)  = 4088
getdents64(5, /* 128 entries */, 4096)  = 4096
getdents64(5, /* 46 entries */, 4096)   = 1352
getdents64(5, /* 0 entries */, 4096)    = 0
close(5)                                = 0
stat64("/dev/usb/", 0xbfb8c690)         = -1 ENOENT (No such file or directory)
open("./epkowa.conf", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/etc/sane.d/epkowa.conf", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=338, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7701000
read(5, "# epkowa.conf\n#\n# examples for h"..., 4096) = 338
open("/proc/scsi/scsi", O_RDONLY)       = 6
fstat64(6, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7700000
read(6, "Attached devices:\nHost: scsi0 Ch"..., 1024) = 808
read(6, "", 1024)                       = 0
close(6)                                = 0
munmap(0xb7700000, 4096)                = 0
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0xb7701000, 4096)                = 0
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb74c5000
shmget(IPC_PRIVATE, 8, IPC_CREAT|0600)  = 917519
shmat(917519, 0, 0)                     = 0xb74c4000
shmctl(917519, IPC_64|IPC_RMID, 0)      = 0
open("/dev/sg0", O_RDWR|O_NONBLOCK|O_EXCL) = 5
ioctl(5, SG_SET_TIMEOUT, 0xbfb8da54)    = 0
ioctl(5, SG_GET_VERSION_NUM, 0xb7ceef44) = 0
ioctl(5, SG_GET_SCSI_ID, 0xbfb8da10)    = 0
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8da98) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8da50) = 0
ioctl(5, SG_GET_SCSI_ID, 0xbfb8da30)    = 0
ioctl(5, SG_SET_COMMAND_Q, 0xbfb8da54)  = 0
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb74a3000
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
write(5, "S\0\0\0\377\377\377\377\6@\0\0\0\0\0\0\0\0\0\0\2400J\267"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
read(5, "S\0\0\0\377\377\377\377\6@\0\0\0\0\0\0\0\0\0\0\2400J\267"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
write(5, "S\0\0\0\375\377\377\377\6@\0\0x\0\0\0\10PL\267\2400J\267"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
read(5, "S\0\0\0\375\377\377\377\6@\0\0x\0\0\0\10PL\267\2400J\267"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
munmap(0xb74a3000, 135168)              = 0
close(5)                                = 0
rt_sigaction(SIGHUP, {0x804ade0, [HUP], SA_RESTART}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x804ade0, [INT], SA_RESTART}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, {0x804ade0, [PIPE], SA_RESTART}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x804ade0, [TERM], SA_RESTART}, {SIG_DFL}, 8) = 0
open("/dev/sg0", O_RDWR|O_NONBLOCK|O_EXCL) = 5
ioctl(5, SG_SET_TIMEOUT, 0xbfb8dba4)    = 0
ioctl(5, SG_GET_VERSION_NUM, 0xb7ceef44) = 0
ioctl(5, SG_GET_SCSI_ID, 0xbfb8db60)    = 0
ioctl(5, SG_SET_RESERVED_SIZE, 0xbfb8dbe8) = 0
ioctl(5, SG_GET_RESERVED_SIZE, 0xbfb8dba0) = 0
ioctl(5, SG_GET_SCSI_ID, 0xbfb8db80)    = 0
ioctl(5, SG_SET_COMMAND_Q, 0xbfb8dba4)  = 0
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb74a3000
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
write(5, "S\0\0\0\377\377\377\377\6@\0\0\0\0\0\0\0\0\0\0\2400J\267"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
read(5, "S\0\0\0\377\377\377\377\6@\0\0\0\0\0\0\0\0\0\0\2400J\267"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
write(5, "S\0\0\0\377\377\377\377\6@\0\0\0\0\0\0\0\0\0\0\2400J\267"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
read(5, "S\0\0\0\377\377\377\377\6@\0\0\0\0\0\0\0\0\0\0\2400J\267"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
write(5, "S\0\0\0\376\377\377\377\n@\0\0008\0\0\0\2540J\267\2400"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
read(5, "S\0\0\0\376\377\377\377\n@\0\0008\0\0\0\2540J\267\2400"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
write(5, "S\0\0\0\375\377\377\377\6@\0\0x\0\0\0\10PL\267\2400J\267"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
read(5, "S\0\0\0\375\377\377\377\6@\0\0x\0\0\0\10PL\267\2400J\267"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
write(5, "S\0\0\0\376\377\377\377\n@\0\0\0\4\0\0\2540J\267\2400J"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
read(5, "S\0\0\0\376\377\377\377\n@\0\0\0\4\0\0\2540J\267\2400J"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
write(5, "S\0\0\0\376\377\377\377\n@\0\0\0\4\0\0\2540J\267\2400J"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
read(5, "S\0\0\0\376\377\377\377\n@\0\0\0\4\0\0\2540J\267\2400J"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
write(5, "S\0\0\0\376\377\377\377\n@\0\0\0\4\0\0\2540J\267\2400J"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
read(5, "S\0\0\0\376\377\377\377\n@\0\0\0\4\0\0\2540J\267\2400J"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
write(5, "S\0\0\0\375\377\377\377\n@\0\0\200\374\1\0\10PL\267\240"..., 64) = -1 ENOMEM (Cannot allocate memory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
write(2, "scanimage: sane_start: Out of me"..., 37) = 37
close(1)                                = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
write(5, "S\0\0\0\377\377\377\377\6@\0\0\0\0\0\0\0\0\0\0\2400J\267"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
read(5, "S\0\0\0\377\377\377\377\6@\0\0\0\0\0\0\0\0\0\0\2400J\267"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
munmap(0xb74a3000, 135168)              = 0
close(5)                                = 0
shmdt(0xb74c4000)                       = 0
munmap(0xb74c5000, 135168)              = 0
munmap(0xb7f99000, 25468)               = 0
munmap(0xb7d65000, 82372)               = 0
munmap(0xb7d3e000, 158100)              = 0
munmap(0xb7d24000, 104944)              = 0
munmap(0xb7f8c000, 50752)               = 0
munmap(0xb7d16000, 55456)               = 0
munmap(0xb7d0a000, 46688)               = 0
munmap(0xb7cff000, 42224)               = 0
munmap(0xb7cf1000, 54832)               = 0
munmap(0xb7cc3000, 187056)              = 0
munmap(0xb7caa000, 102380)              = 0
munmap(0xb7c9a000, 62176)               = 0
munmap(0xb7c87000, 75840)               = 0
munmap(0xb7c7b000, 46272)               = 0
munmap(0xb7c70000, 42688)               = 0
munmap(0xb7c64000, 46720)               = 0
munmap(0xb7c5b000, 33756)               = 0
munmap(0xb7bf6000, 412728)              = 0
munmap(0xb7be2000, 80360)               = 0
munmap(0xb7bd0000, 72016)               = 0
munmap(0xb7a8e000, 1318688)             = 0
munmap(0xb7a7e000, 65440)               = 0
munmap(0xb7a56000, 160960)              = 0
munmap(0xb7a2d000, 167776)              = 0
munmap(0xb7a08000, 150732)              = 0
munmap(0xb79e9000, 124816)              = 0
munmap(0xb79d4000, 84800)               = 0
munmap(0xb79c7000, 52096)               = 0
munmap(0xb79b8000, 61120)               = 0
munmap(0xb79a8000, 61760)               = 0
munmap(0xb799b000, 51616)               = 0
munmap(0xb798e000, 52992)               = 0
munmap(0xb7980000, 57036)               = 0
munmap(0xb7970000, 65252)               = 0
munmap(0xb7941000, 188464)              = 0
munmap(0xb7939000, 30972)               = 0
munmap(0xb7911000, 162496)              = 0
munmap(0xb78ee000, 142916)              = 0
munmap(0xb78c2000, 179816)              = 0
munmap(0xb78a7000, 106896)              = 0
munmap(0xb788b000, 114308)              = 0
munmap(0xb7880000, 42464)               = 0
munmap(0xb783d000, 271644)              = 0
munmap(0xb7829000, 81888)               = 0
munmap(0xb7817000, 71440)               = 0
munmap(0xb7807000, 64128)               = 0
munmap(0xb77f1000, 88896)               = 0
munmap(0xb77dd000, 80672)               = 0
munmap(0xb77d6000, 25340)               = 0
munmap(0xb77bb000, 110448)              = 0
munmap(0xb77a2000, 99968)               = 0
munmap(0xb777f000, 142768)              = 0
munmap(0xb7771000, 57216)               = 0
munmap(0xb7764000, 52688)               = 0
munmap(0xb7759000, 42176)               = 0
munmap(0xb774d000, 48064)               = 0
close(3)                                = 0
close(4)                                = 0
munmap(0xb7714000, 230852)              = 0
munmap(0xb7520000, 677200)              = 0
munmap(0xb75c6000, 1284920)             = 0
munmap(0xb7508000, 98252)               = 0
munmap(0xb7708000, 49064)               = 0
munmap(0xb74e6000, 137984)              = 0
munmap(0xb7702000, 23824)               = 0
exit_group(10)                          = ?
Comment 3 Fabien JA 2006-11-21 10:21:36 UTC
Created attachment 9582 [details]
RESULT OF COMMAND : "strace -o acard2.6.17 scanimage"
with the 2.6.17-10 kernel. (probably bugged kernel)
Comment 4 Fabien JA 2006-11-21 10:26:58 UTC
Comment on attachment 9582 [details]
RESULT OF COMMAND : "strace -o acard2.6.17 scanimage"
with the 2.6.17-10 kernel. (probably bugged kernel) 

The same command with a 2.6.15-18 kernel is coming soon in order to obtain the
difference between the two files.
Comment 5 Fabien JA 2006-11-21 12:13:29 UTC
Created attachment 9583 [details]
RESULT OF COMMAND : "strace -o acard2.6.17 scanimage" with the 2.6.15-18 kernel.

The two STRACE commands have been realized with the SAME "scanimage" version :
1.0.17 and SAME libsane version : 1.0.17
Comment 6 Fabien JA 2006-11-21 12:17:58 UTC
The both "strace" commands have been realized with the SAME sane environment :
scanimage 1.0.17 and libsane 1.0.17.
Notice that the problems occurs with 1.0.17 and 1.0.18 versions (in the 2.6.17
kernel)
Comment 7 Fabien JA 2006-11-21 12:22:34 UTC
Created attachment 9584 [details]
DIFFRENCES between the 2 attachements
Comment 8 Fabien JA 2007-04-25 01:34:53 UTC
Hello, This problem still continue with the new 2.6.20 kernel

atp870u SCSI module and the sbp2 module are loaded (cmd lsmod)

please have a look at this : https://bugs.launchpad.net/linux/+bug/69536

Thanks
Comment 9 Natalie Protasevich 2007-07-24 00:05:17 UTC
Any updates on this problem?
Fabien, do you have a working kernel version for this card? You've mentioned 2.6.16 as the one when the error wasn't happening. If this is the case, maybe you can do git bisect to find the breakage cause?
Thanks.
Comment 10 Michael Schumacher 2007-07-31 12:58:40 UTC
Works for me with 2.6.22 on Debian Sid.
Comment 11 Natalie Protasevich 2007-08-25 22:36:40 UTC
How about you Fabien, does new kernel work for you as well?
Comment 12 Fabien JA 2007-08-26 02:36:31 UTC
Hi, I've change my SCSI controller Card, so i've no more problem because 
it has change my SCSI kernel module...

I"ve read on "ubuntu-fr.org" that this probleme can be solve by 
modifying the config of Xsane (set an higher memory param...)


=> But the problem is real because only this kernel module (for acard 
controllers) have this bug....


bugme-daemon@bugzilla.kernel.org a écrit :
> http://bugzilla.kernel.org/show_bug.cgi?id=7536
>
>
>
>
>
> ------- Comment #11 from protasnb@gmail.com  2007-08-25 22:36 -------
> How about you Fabien, does new kernel work for you as well?
>
>
>   
Comment 13 David Garabana Barro 2007-09-03 08:38:07 UTC
Debian's 2.6.22-2 works for me too, for first time since 2.6.15.7
Comment 14 Natalie Protasevich 2007-09-03 19:55:45 UTC
Great, thanks for the feedback. Closing the bug.

Note You need to log in before you can comment on or make changes to this bug.