/var/mod/bin/sane-find-scanner
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
# Also you need support for SCSI Generic (sg) in your operating system.
# If using Linux, try "modprobe sg".
found USB scanner (vendor=0x03f0 [hp], product=0x3b11 [psc 1300 series]) at libusb:001:004
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
# ./scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
# cd sbin
# ./saned
Mar 18 21:39:59 saned[2531]: saned from sane-backends 1.0.18 ready
Mar 18 21:39:59 saned[2531]: check_host: getpeername failed: Socket operation on non-socket
Mar 18 21:39:59 saned[2531]: init: access by host [error] denied
Mar 18 21:39:59 saned[2531]: quit: exiting
# ./saned -d
[saned] main: starting debug mode (level 2)
[saned] main: could not find `sane' service (Input/output error)
[saned] main: using default port 6566
# ./sane-find-scanner -vv
This is sane-find-scanner from sane-backends 1.0.18
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
searching for USB scanners:
checking /dev/usb/scanner... failed to open (Invalid argument)
checking /dev/usb/scanner0... failed to open (Invalid argument)
checking /dev/usb/scanner1... failed to open (Invalid argument)
checking /dev/usb/scanner2... failed to open (Invalid argument)
checking /dev/usb/scanner3... failed to open (Invalid argument)
checking /dev/usb/scanner4... failed to open (Invalid argument)
checking /dev/usb/scanner5... failed to open (Invalid argument)
checking /dev/usb/scanner5... failed to open (Invalid argument)
checking /dev/usb/scanner7... failed to open (Invalid argument)
checking /dev/usb/scanner8... failed to open (Invalid argument)
checking /dev/usb/scanner9... failed to open (Invalid argument)
checking /dev/usb/scanner10... failed to open (Invalid argument)
checking /dev/usb/scanner11... failed to open (Invalid argument)
checking /dev/usb/scanner12... failed to open (Invalid argument)
checking /dev/usb/scanner13... failed to open (Invalid argument)
checking /dev/usb/scanner14... failed to open (Invalid argument)
checking /dev/usb/scanner15... failed to open (Invalid argument)
checking /dev/usbscanner... failed to open (Invalid argument)
checking /dev/usbscanner0... failed to open (Invalid argument)
checking /dev/usbscanner1... failed to open (Invalid argument)
checking /dev/usbscanner2... failed to open (Invalid argument)
checking /dev/usbscanner3... failed to open (Invalid argument)
checking /dev/usbscanner4... failed to open (Invalid argument)
checking /dev/usbscanner5... failed to open (Invalid argument)
checking /dev/usbscanner6... failed to open (Invalid argument)
checking /dev/usbscanner7... failed to open (Invalid argument)
checking /dev/usbscanner8... failed to open (Invalid argument)
checking /dev/usbscanner9... failed to open (Invalid argument)
checking /dev/usbscanner10... failed to open (Invalid argument)
checking /dev/usbscanner11... failed to open (Invalid argument)
checking /dev/usbscanner12... failed to open (Invalid argument)
checking /dev/usbscanner13... failed to open (Invalid argument)
checking /dev/usbscanner14... failed to open (Invalid argument)
checking /dev/usbscanner15... failed to open (Invalid argument)
found USB scanner (vendor=0x03f0 [hp], product=0x3b11 [psc 1300 series]) at libusb:001:004
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
done
# ./saned -d256
[saned] main: starting debug mode (level 256)
[saned] main: trying to get port for service `sane' (getservbyname)
[saned] main: could not find `sane' service (Input/output error)
[saned] main: using default port 6566
[saned] main: socket ()
[saned] main: setsockopt ()
[saned] main: bind ()
[saned] main: listen ()
[saned] main: waiting for control connection
[saned] saned from sane-backends 1.0.18 ready
[saned] check_host: access by remote host: 192.168.1.210
[saned] check_host: remote host is not IN_LOOPBACK
[saned] check_host: local hostname: fritz.box
[saned] check_host: local hostname (from DNS): fritz.box
[saned] check_host: local host address (from DNS): 192.168.178.1
[saned] check_host: remote host doesn't have same addr as local
[saned] check_host: opening config file: /etc/hosts.equiv
[saned] check_host: can't open config file: /etc/hosts.equiv (No such file or directory)
[saned] check_host: opening config file: saned.conf
[saned] check_host: config file line: `192.168.1.0/24'
[saned] check_host: subnet with base IP = 192.168.1.0, CIDR netmask = 24
[saned] check_host: access granted from IP address 192.168.1.210 (in subnet 192.168.1.0/24)
[saned] init: access granted
# /var/mod/bin/scanimage -L
device `hpaio:/usb/psc_1300_series?serial=MY3CABD0P39F' is a Hewlett-Packard psc_1300_series all-in-one
#
Es Läuft!!!
Mir haben (warum auch immer) die Symlinks für die Libs gefehlt!
/var/tmp/strace -o /var/tmp/strace.log /var/mod/bin/scanimage -L
# Starting printserver...
if ! $BIN -d $USB_DEVICE -p $PORT -c $CONSOLE; then
eventadd 153 &
saned
# /var/mod/sbin/saned -d256
[saned] main: starting debug mode (level 256)
[saned] main: trying to get port for service `sane' (getservbyname)
[saned] main: could not find `sane' service (Input/output error)
[saned] main: using default port 6566
[saned] main: socket ()
[saned] main: setsockopt ()
[saned] main: bind ()
[saned] main: listen ()
[saned] main: waiting for control connection
[saned] saned from sane-backends 1.0.18 ready
[saned] check_host: access by remote host: 192.168.1.35
[saned] check_host: remote host is not IN_LOOPBACK
[saned] check_host: local hostname: fritz.box
[saned] check_host: local hostname (from DNS): fritz.box
[saned] check_host: local host address (from DNS): 192.168.1.1
[saned] check_host: remote host doesn't have same addr as local
[saned] check_host: opening config file: /etc/hosts.equiv
[saned] check_host: can't open config file: /etc/hosts.equiv (No such file or directory)
[saned] check_host: opening config file: saned.conf
[saned] check_host: config file line: `192.168.1.0/24'
[saned] check_host: subnet with base IP = 192.168.1.0, CIDR netmask = 24
[saned] check_host: access granted from IP address 192.168.1.35 (in subnet 192.168.1.0/24)
[saned] init: access granted
[saned] init: access granted to [email protected]
[saned] process_request: waiting for request
[saned] process_request: got request 1
[saned] process_request: waiting for request
[saned] process_request: got request 2
[saned] process_request: access to resource `hpaio' granted
[saned] process_request: sane_open returned: Success
[saned] process_request: waiting for request
[saned] process_request: got request 6
[saned] process_request: waiting for request
[saned] process_request: got request 4
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 6
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 6
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 6
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 6
[saned] process_request: waiting for request
[saned] process_request: got request 7
[saned] start_scan: using port 2893 for data
Mar 22 13:55:29 saned[6245]: io/hpmud/mlc.c 519: invalid MlcReverseData size: size=33661, buf=8192
Mar 22 13:55:29 saned[6245]: invalid SclInquire(cmd=2a86,param=505) exp(len=7)/act(len=6): scan/sane/scl.c 258
Mar 22 13:55:29 saned[6245]: exp:
Mar 22 13:55:29 saned[6245]: [0000] 1B 2A 73 35 30 35 64 .*s505d
Mar 22 13:55:29 saned[6245]: act:
Mar 22 13:55:29 saned[6245]: [0000] 83 83 83 83 83 83 ......
Mar 22 13:55:30 saned[6245]: io/hpmud/mlc.c 92: invalid data packet credit=0
Mar 22 13:55:31 saned[6245]: scan/sane/io.c 57: unable to connect hpssd socket 2207: Connection refused
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 6
[saned] process_request: waiting for request
Dazu fällt mir spontan auch nix ein. Trenn mal bitte die Ausgaben, die entstehen, wenn Du Dich verbindest, von denen, wenn Du Preview machst.So, ich komm jetzt allmählich mal dazu das ganze mal auszuprobieren.
Also:
ich kann sane starten, mich mit SaneTwain verbinden.
Sobald ich auf Preview klicke, kommen folgende Meldungen:
...
export SANE_DEBUG_HPAIO=8
Diese Fehlermeldung kann man denk ich ignorieren. Soweit ich gesehen hab, is das nur der Versuch, den eigentlichen Fehler an den hpssd-Dienst zu melden, der dann loggt und ne Email "Fehler!" verschickt. Außerdem überwacht er das Gerät und empfängt z.B. Tintenstands- und Statusevents. Zum Scannen brauchts den aber nicht.Code:Mar 22 13:55:31 saned[6245]: scan/sane/io.c 57: unable to connect hpssd socket 2207: Connection refused
# /var/mod/bin/sane-find-scanner
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
# Also you need support for SCSI Generic (sg) in your operating system.
# If using Linux, try "modprobe sg".
found USB scanner (vendor=0x03f0 [hp], product=0x3b11 [psc 1300 series]) at libusb:001:004
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
# /var/mod/bin/scanimage -L
device `hpaio:/usb/psc_1300_series?serial=MY3CABD0P39F' is a Hewlett-Packard psc_1300_series all-in-one
# /var/mod/sbin/saned -d128
[saned] main: starting debug mode (level 128)
[saned] main: trying to get port for service `sane' (getservbyname)
[saned] main: could not find `sane' service (Input/output error)
[saned] main: using default port 6566
[saned] main: socket ()
[saned] main: setsockopt ()
[saned] main: bind ()
[saned] main: listen ()
[saned] main: waiting for control connection
[saned] saned from sane-backends 1.0.18 ready
[saned] check_host: access by remote host: 192.168.1.1
[saned] check_host: remote host is not IN_LOOPBACK
[saned] check_host: local hostname: fritz.box
[saned] check_host: local hostname (from DNS): fritz.box
[saned] check_host: local host address (from DNS): 192.168.1.1
[saned] check_host: remote host has same addr as local: access accepted
[saned] init: access granted
[saned] init: access granted to [email protected]
[saned] process_request: waiting for request
[saned] process_request: got request 1
[saned] process_request: waiting for request
[saned] process_request: got request 2
[saned] process_request: access to resource `hpaio' granted
[saned] process_request: sane_open returned: Success
[saned] process_request: waiting for request
[saned] process_request: got request 6
[saned] process_request: waiting for request
[saned] process_request: got request 4
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 6
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 6
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 6
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 6
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 6
[saned] process_request: waiting for request
[saned] process_request: got request 7
[saned] start_scan: using port 1127 for data
Mar 27 09:29:08 saned[2493]: io/hpmud/mlc.c 519: invalid MlcReverseData size: size=33661, buf=8192
Mar 27 09:29:08 saned[2493]: invalid SclInquire(cmd=2a86,param=505) exp(len=7)/act(len=6): scan/sane/scl.c 258
Mar 27 09:29:08 saned[2493]: exp:
Mar 27 09:29:08 saned[2493]: [0000] 1B 2A 73 35 30 35 64 .*s505d
Mar 27 09:29:08 saned[2493]: act:
Mar 27 09:29:08 saned[2493]: [0000] 83 83 83 83 83 83 ......
Mar 27 09:29:09 saned[2493]: io/hpmud/mlc.c 92: invalid data packet credit=0
Mar 27 09:29:10 saned[2493]: scan/sane/io.c 57: unable to connect hpssd socket 2207: Connection refused
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 6
[saned] process_request: waiting for request
[saned] saned from sane-backends 1.0.18 ready
[saned] check_host: access by remote host: 192.168.1.1
[saned] check_host: remote host is not IN_LOOPBACK
[saned] check_host: local hostname: fritz.box
[saned] check_host: local hostname (from DNS): fritz.box
[saned] check_host: local host address (from DNS): 192.168.1.1
[saned] check_host: remote host has same addr as local: access accepted
[saned] init: access granted
[saned] init: access granted to [email protected]
[saned] process_request: waiting for request
[saned] process_request: got request 1
[sanei_debug] Setting debug level of hpaio to 8.
[hpaio] sane_hpaio_init(): scan/sane/hpaio.c 1457
[hpaio] sane_hpaio_get_devices(local=1): scan/sane/hpaio.c 1476
[saned] process_request: waiting for request
[saned] process_request: got request 2
[saned] process_request: access to resource `hpaio' granted
[hpaio] sane_hpaio_open(/usb/psc_1300_series?serial=MY3CABD0P39F): scan/sane/hpaio.c 1505
[hpaio] device ID string=<MFG:hp;MDL:psc 1300 series;CMD:LDL,MLC,PML,DYN;CLS:PRINTER;1284.4DL:4d,4e,1;SN:MY3CABD0P39F;S:0380008000020020002c14e1000c2501014;Z:007;>: scan/sane/hpaio.c 1554
[hpaio] Model = psc_1300_series: scan/sane/hpaio.c 1562
[hpaio] Scanner type=SCL: scan/sane/hpaio.c 1644
[hpaio] SclSendCommand: size=2 bytes_wrote=2: scan/sane/scl.c 199
[hpaio] [0000] 1B 45 .E
[hpaio] SclSendCommand: size=4 bytes_wrote=4: scan/sane/scl.c 199
[hpaio] [0000] 1B 2A 6F 45 .*oE
[hpaio] SclSendCommand: size=6 bytes_wrote=6: scan/sane/scl.c 199
[hpaio] [0000] 1B 2A 73 31 38 45 .*s18E
[hpaio] SclChannelRead: len=7: scan/sane/scl.c 251
[hpaio] [0000] 1B 2A 73 31 38 64 4E .*s18dN
[hpaio] SclInquire null response. scan/sane/scl.c 271
[hpaio] scl.compat1150=<>: scan/sane/hpaio.c 1680
[hpaio] SclSendCommand: size=6 bytes_wrote=6: scan/sane/scl.c 199
[hpaio] [0000] 1B 2A 73 31 39 45 .*s19E
[hpaio] SclChannelRead: len=13: scan/sane/scl.c 251
[hpaio] [0000] 1B 2A 73 31 39 64 35 57 35 39 30 30 41 .*s19d5W5900A
[hpaio] scl.compatPost1150=<5900A>: scan/sane/hpaio.c 1697
[hpaio] scl.compat=0x2040: scan/sane/hpaio.c 1742
[hpaio] SclSendCommand: size=8 bytes_wrote=8: scan/sane/scl.c 199
[hpaio] [0000] 1B 2A 73 31 30 32 38 45 .*s1028E
[hpaio] SclChannelRead: len=12: scan/sane/scl.c 251
[hpaio] [0000] 1B 2A 73 31 30 32 38 64 33 30 30 56 .*s1028d300V
[hpaio] decipixelChar='f', decipixelsPerInch=300: scan/sane/hpaio.c 1763
[hpaio] SclSendCommand: size=4 bytes_wrote=4: scan/sane/scl.c 199
[hpaio] [0000] 1B 2A 6F 45 .*oE
[hpaio] SclSendCommand: size=5 bytes_wrote=5: scan/sane/scl.c 199
[hpaio] [0000] 1B 2A 6D 32 53 .*m2S
[hpaio] SclSendCommand: size=7 bytes_wrote=7: scan/sane/scl.c 199
[hpaio] [0000] 1B 2A 73 32 35 39 45 .*s259E
[hpaio] SclChannelRead: len=8: scan/sane/scl.c 251
[hpaio] [0000] 1B 2A 73 32 35 39 64 4E .*s259dN
[hpaio] SclInquire null response. scan/sane/scl.c 271
[hpaio] SclSendCommand: size=4 bytes_wrote=4: scan/sane/scl.c 199
[hpaio] [0000] 1B 2A 6F 45 .*oE
[hpaio] SclSendCommand: size=5 bytes_wrote=5: scan/sane/scl.c 199
[hpaio] [0000] 1B 2A 61 32 43 .*a2C
[hpaio] SclSendCommand: size=7 bytes_wrote=7: scan/sane/scl.c 199
[hpaio] [0000] 1B 2A 73 32 35 39 45 .*s259E
[hpaio] SclChannelRead: len=8: scan/sane/scl.c 251
[hpaio] [0000] 1B 2A 73 32 35 39 64 4E .*s259dN
[hpaio] SclInquire null response. scan/sane/scl.c 271
[hpaio] SclSendCommand: size=9 bytes_wrote=9: scan/sane/scl.c 199
[hpaio] [0000] 1B 2A 73 31 30 33 32 33 4C .*s10323L
[hpaio] SclChannelRead: len=12: scan/sane/scl.c 251
[hpaio] [0000] 1B 2A 73 31 30 33 32 33 6B 37 35 56 .*s10323k75V
[hpaio] SclSendCommand: size=9 bytes_wrote=9: scan/sane/scl.c 199
[hpaio] [0000] 1B 2A 73 31 30 33 32 34 4C .*s10324L
[hpaio] SclChannelRead: len=12: scan/sane/scl.c 251
[hpaio] [0000] 1B 2A 73 31 30 33 32 34 6B 37 35 56 .*s10324k75V
[hpaio] SclSendCommand: size=9 bytes_wrote=9: scan/sane/scl.c 199
[hpaio] [0000] 1B 2A 73 31 30 33 32 33 48 .*s10323H
[hpaio] SclChannelRead: len=13: scan/sane/scl.c 251
[hpaio] [0000] 1B 2A 73 31 30 33 32 33 67 36 30 30 56 .*s10323g600V
[hpaio] SclSendCommand: size=9 bytes_wrote=9: scan/sane/scl.c 199
[hpaio] [0000] 1B 2A 73 31 30 33 32 34 48 .*s10324H
[hpaio] SclChannelRead: len=14: scan/sane/scl.c 251
[hpaio] [0000] 1B 2A 73 31 30 33 32 34 67 32 34 30 30 56 .*s10324g2400V
[hpaio] SclSendCommand: size=9 bytes_wrote=9: scan/sane/scl.c 199
[hpaio] [0000] 1B 2A 73 31 31 33 32 34 48 .*s11324H
[hpaio] SclChannelRead: len=14: scan/sane/scl.c 251
[hpaio] [0000] 1B 2A 73 31 31 33 32 34 67 32 34 30 30 56 .*s11324g2400V
[hpaio] SclSendCommand: size=6 bytes_wrote=6: scan/sane/scl.c 199
[hpaio] [0000] 1B 2A 73 32 34 45 .*s24E
[hpaio] SclChannelRead: len=8: scan/sane/scl.c 251
[hpaio] [0000] 1B 2A 73 32 34 64 30 56 .*s24d0V
[hpaio] ADF capability=0: scan/sane/hpaio.c 1865
[hpaio] SclSendCommand: size=9 bytes_wrote=9: scan/sane/scl.c 199
[hpaio] [0000] 1B 2A 73 31 30 34 38 31 48 .*s10481H
[hpaio] SclChannelRead: len=14: scan/sane/scl.c 251
[hpaio] [0000] 1B 2A 73 31 30 34 38 31 67 32 35 35 30 56 .*s10481g2550V
[hpaio] SclSendCommand: size=9 bytes_wrote=9: scan/sane/scl.c 199
[hpaio] [0000] 1B 2A 73 31 30 34 38 32 48 .*s10482H
[hpaio] SclChannelRead: len=14: scan/sane/scl.c 251
[hpaio] [0000] 1B 2A 73 31 30 34 38 32 67 33 35 30 37 56 .*s10482g3507V
[hpaio] Maximum extents: x=2550, y=3507 scan/sane/hpaio.c 1915
[saned] process_request: sane_open returned: Success
[saned] process_request: waiting for request
[saned] process_request: got request 6
[hpaio] sane_hpaio_get_parameters(prescan): format=1, last_frame=1, lines=876, depth=8, pixels_per_line=637, bytes_per_line=1911 scan/sane/hpaio.c 2610
[saned] process_request: waiting for request
[saned] process_request: got request 4
[hpaio] sane_hpaio_control_option (option= action=get value=16): scan/sane/hpaio.c 2587
[hpaio] sane_hpaio_get_option_descriptor(option=): scan/sane/hpaio.c 2201
[hpaio] sane_hpaio_get_option_descriptor(option=(null)): scan/sane/hpaio.c 2201
[hpaio] sane_hpaio_get_option_descriptor(option=mode): scan/sane/hpaio.c 2201
[hpaio] sane_hpaio_get_option_descriptor(option=resolution): scan/sane/hpaio.c 2201
[hpaio] sane_hpaio_get_option_descriptor(option=(null)): scan/sane/hpaio.c 2201
[hpaio] sane_hpaio_get_option_descriptor(option=contrast): scan/sane/hpaio.c 2201
[hpaio] sane_hpaio_get_option_descriptor(option=compression): scan/sane/hpaio.c 2201
[hpaio] sane_hpaio_get_option_descriptor(option=jpeg-quality): scan/sane/hpaio.c 2201
[hpaio] sane_hpaio_get_option_descriptor(option=batch-scan): scan/sane/hpaio.c 2201
[hpaio] sane_hpaio_get_option_descriptor(option=source): scan/sane/hpaio.c 2201
[hpaio] sane_hpaio_get_option_descriptor(option=(null)): scan/sane/hpaio.c 2201
[hpaio] sane_hpaio_get_option_descriptor(option=length-measurement): scan/sane/hpaio.c 2201
[hpaio] sane_hpaio_get_option_descriptor(option=tl-x): scan/sane/hpaio.c 2201
[hpaio] sane_hpaio_get_option_descriptor(option=tl-y): scan/sane/hpaio.c 2201
[hpaio] sane_hpaio_get_option_descriptor(option=br-x): scan/sane/hpaio.c 2201
[hpaio] sane_hpaio_get_option_descriptor(option=br-y): scan/sane/hpaio.c 2201
[saned] process_request: waiting for request
[saned] process_request: got request 5
[hpaio] sane_hpaio_control_option (option=mode action=get value=Color): scan/sane/hpaio.c 2587
[saned] process_request: waiting for request
[saned] process_request: got request 5
[hpaio] sane_hpaio_control_option (option=mode action=get value=Color): scan/sane/hpaio.c 2587
[saned] process_request: waiting for request
[saned] process_request: got request 5
[hpaio] sane_hpaio_control_option (option=resolution action=get value=75): scan/sane/hpaio.c 2587
[saned] process_request: waiting for request
[saned] process_request: got request 5
[hpaio] sane_hpaio_control_option (option=compression action=get value=JPEG): scan/sane/hpaio.c 2587
[saned] process_request: waiting for request
[saned] process_request: got request 5
[hpaio] sane_hpaio_control_option (option=compression action=get value=JPEG): scan/sane/hpaio.c 2587
[saned] process_request: waiting for request
[saned] process_request: got request 5
[hpaio] sane_hpaio_control_option (option=jpeg-quality action=get value=10): scan/sane/hpaio.c 2587
[saned] process_request: waiting for request
[saned] process_request: got request 5
[hpaio] sane_hpaio_control_option (option=batch-scan action=get value=0): scan/sane/hpaio.c 2587
[saned] process_request: waiting for request
[saned] process_request: got request 5
[hpaio] sane_hpaio_control_option (option=source action=get value=Flatbed): scan/sane/hpaio.c 2587
[saned] process_request: waiting for request
[saned] process_request: got request 5
[hpaio] sane_hpaio_control_option (option=source action=get value=Flatbed): scan/sane/hpaio.c 2587
[saned] process_request: waiting for request
[saned] process_request: got request 5
[hpaio] sane_hpaio_control_option (option=length-measurement action=get value=Padded): scan/sane/hpaio.c 2587
[saned] process_request: waiting for request
[saned] process_request: got request 5
[hpaio] sane_hpaio_control_option (option=length-measurement action=get value=Padded): scan/sane/hpaio.c 2587
[saned] process_request: waiting for request
[saned] process_request: got request 5
[hpaio] sane_hpaio_control_option (option=resolution action=set value=75): scan/sane/hpaio.c 2587
[saned] process_request: waiting for request
[saned] process_request: got request 6
[hpaio] sane_hpaio_get_parameters(prescan): format=1, last_frame=1, lines=876, depth=8, pixels_per_line=637, bytes_per_line=1911 scan/sane/hpaio.c 2610
[saned] process_request: waiting for request
[saned] process_request: got request 5
[hpaio] sane_hpaio_control_option (option=tl-x action=set value=0): scan/sane/hpaio.c 2587
[saned] process_request: waiting for request
[saned] process_request: got request 6
[hpaio] sane_hpaio_get_parameters(prescan): format=1, last_frame=1, lines=876, depth=8, pixels_per_line=637, bytes_per_line=1911 scan/sane/hpaio.c 2610
[saned] process_request: waiting for request
[saned] process_request: got request 5
[hpaio] sane_hpaio_control_option (option=br-x action=set value=14090240): scan/sane/hpaio.c 2587
[saned] process_request: waiting for request
[saned] process_request: got request 6
[hpaio] sane_hpaio_get_parameters(prescan): format=1, last_frame=1, lines=876, depth=8, pixels_per_line=634, bytes_per_line=1902 scan/sane/hpaio.c 2610
[saned] process_request: waiting for request
[saned] process_request: got request 5
[hpaio] sane_hpaio_control_option (option=br-y action=set value=19398656): scan/sane/hpaio.c 2587
[saned] process_request: waiting for request
[saned] process_request: got request 6
[hpaio] sane_hpaio_get_parameters(prescan): format=1, last_frame=1, lines=874, depth=8, pixels_per_line=634, bytes_per_line=1902 scan/sane/hpaio.c 2610
[saned] process_request: waiting for request
[saned] process_request: got request 5
[hpaio] sane_hpaio_control_option (option=tl-y action=set value=0): scan/sane/hpaio.c 2587
[saned] process_request: waiting for request
[saned] process_request: got request 6
[hpaio] sane_hpaio_get_parameters(prescan): format=1, last_frame=1, lines=874, depth=8, pixels_per_line=634, bytes_per_line=1902 scan/sane/hpaio.c 2610
[saned] process_request: waiting for request
[saned] process_request: got request 7
[saned] start_scan: using port 2860 for data
[hpaio] sane_hpaio_start(): scan/sane/hpaio.c 2626
[hpaio] SclSendCommand: size=2 bytes_wrote=2: scan/sane/scl.c 199
[hpaio] [0000] 1B 45 .E
[hpaio] SclSendCommand: size=5 bytes_wrote=5: scan/sane/scl.c 199
[hpaio] [0000] 1B 2A 66 31 48 .*f1H
[hpaio] SclSendCommand: size=5 bytes_wrote=5: scan/sane/scl.c 199
[hpaio] [0000] 1B 2A 66 30 49 .*f0I
[hpaio] SclSendCommand: size=7 bytes_wrote=7: scan/sane/scl.c 199
[hpaio] [0000] 1B 2A 73 35 30 35 45 .*s505E
Mar 27 09:44:20 saned[2583]: io/hpmud/mlc.c 519: invalid MlcReverseData size: size=33661, buf=8192
[hpaio] SclChannelRead: len=6: scan/sane/scl.c 251
[hpaio] [0000] 83 83 83 83 83 83 ......
Mar 27 09:44:20 saned[2583]: invalid SclInquire(cmd=2a86,param=505) exp(len=7)/act(len=6): scan/sane/scl.c 258
[hpaio] invalid SclInquire(cmd=2a86,param=505) exp(len=7)/act(len=6): scan/sane/scl.c 258
Mar 27 09:44:20 saned[2583]: exp:
[hpaio] exp:
Mar 27 09:44:20 saned[2583]: [0000] 1B 2A 73 35 30 35 64 .*s505d
[hpaio] [0000] 1B 2A 73 35 30 35 64 .*s505d
Mar 27 09:44:20 saned[2583]: act:
[hpaio] act:
Mar 27 09:44:20 saned[2583]: [0000] 83 83 83 83 83 83 ......
[hpaio] [0000] 83 83 83 83 83 83 ......
[hpaio] sane_hpaio_cancel(): scan/sane/hpaio.c 3121
[hpaio] SclSendCommand: size=2 bytes_wrote=2: scan/sane/scl.c 199
[hpaio] [0000] 1B 45 .E
Mar 27 09:44:21 saned[2583]: io/hpmud/mlc.c 92: invalid data packet credit=0
Mar 27 09:44:23 saned[2583]: scan/sane/io.c 57: unable to connect hpssd socket 2207: Connection refused
[hpaio] scan/sane/io.c 57: unable to connect hpssd socket 2207: Connection refused
[saned] process_request: waiting for request
[saned] process_request: got request 5
[hpaio] sane_hpaio_control_option (option=resolution action=set value=75): scan/sane/hpaio.c 2587
[saned] process_request: waiting for request
[saned] process_request: got request 6
[hpaio] sane_hpaio_get_parameters(prescan): format=1, last_frame=1, lines=874, depth=8, pixels_per_line=634, bytes_per_line=1902 scan/sane/hpaio.c 2610
[saned] process_request: waiting for request
lsusb -s (BUS und DEV vom Gerät merken)
/etc/hotplug/usb.pandu remove /proc/bus/usb/$BUS/$DEV
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=8188 length=8188 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 8188 bytes from scanner
[saned] do_scan: trying to write 8192 bytes to client
[saned] do_scan: wrote 8192 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc590ac maxLength=8188 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc590ac outputUsed=2806 length=2806 status=0: scan/sane/hpaio.c 3216
[saned] do_scan: read 2806 bytes from scanner
[saned] do_scan: trying to write 2810 bytes to client
[saned] do_scan: wrote 2810 bytes to client
[saned] do_scan: trying to read 5378 bytes from scanner
[hpaio] sane_hpaio_read called handle=0x80a9058 data=0xbfc59ba6 maxLength=5378 length=0: scan/sane/hpaio.c 3087
[hpaio] sane_hpaio_read returned output=0xbfc59ba6 outputUsed=0 length=0 status=5: scan/sane/hpaio.c 3216
[saned] do_scan: read 0 bytes from scanner
[saned] do_scan: status = `End of file reached'
[saned] do_scan: statuscode `End of file reached' was added to buffer
[saned] do_scan: trying to write 9 bytes to client
[saned] do_scan: wrote 9 bytes to client
[saned] do_scan: done, status=End of file reached
[saned] process_request: waiting for request
[saned] process_request: got request 8
[hpaio] sane_hpaio_cancel(): scan/sane/hpaio.c 3230
[hpaio] SclSendCommand: size=2 bytes_wrote=2: scan/sane/scl.c 199
[hpaio] [0000] 1B 45 .E
[saned] process_request: waiting for request
[saned] process_request: got request 5
[hpaio] sane_hpaio_control_option (option=resolution action=set value=75): scan/sane/hpaio.c 2696
[saned] process_request: waiting for request
[saned] process_request: got request 6
[hpaio] sane_hpaio_get_parameters(prescan): format=1, last_frame=1, lines=874, depth=8, pixels_per_line=634, bytes_per_line=1902 scan/sane/hpaio.c 2719
[saned] process_request: waiting for request
@taddeus: Das Problem an sane ist, dass mit den Binarys nicht alles getan ist. Man benötigt noch einen Treiber für den Scanner, der speziell für die Fritzbox kompiliert sein muss.
svn co http://svn.freetz.org/trunk freetz-trunk
cd freetz-trunk/
make menuconfig
Advanced options --->
Shared libraries --->
[*] libusb (libusb.so)
make
cd ..
wget http://alioth.debian.org/frs/download.php/2318/sane-backends-1.0.19.tar.gz # für die sane stable
tar xfz sane-backends-1.0.19.tar.gz # entpacken
mv sane-backends-1.0.19 sane-backends # umbenennen
cd ..
cvs -d:pserver:[email protected]:/cvsroot/sane login # für die sane-cvs zum einloggen (mit Enter bestätigen)
cvs -z3 -d:pserver:[email protected]:/cvsroot/sane co sane-backends # download der sane-cvs
export HOME="euer home, wo die Ordner freetz-trunk und sane-backends"
PREFIX="/var/mod"
GCC="$HOME/freetz-trunk/toolchain/target"
export CFLAGS="-Os -W -Wall -pipe -march=4kc -Wa,--trap"
export LDFLAGS="-L$HOME/sane-backends/lib -Wl,-rpath,$PREFIX/lib"
export CPPFLAGS="-I$HOME/sane-backends/include"
export PATH="$GCC/bin:$PATH"
cd $HOME/sane-backends
./configure --build=i386-linux-gnu --target=mipsel-linux --host=mipsel-linux --prefix="$PREFIX" --disable-ipv6
make
make install prefix="$HOME/sane-backends"
mkdir -p $HOME/freetz-trunk/addon/sane-backends/root/bin/
mkdir -p $HOME/freetz-trunk/addon/sane-backends/root/etc/sane.d/
mkdir -p $HOME/freetz-trunk/addon/sane-backends/root/etc/hotplug/
mkdir -p $HOME/freetz-trunk/addon/sane-backends/root/lib/sane/
cp $HOME/sane-backends/frontend/.libs/* $HOME/freetz-trunk/addon/sane-backends/root/bin/
cp $HOME/sane-backends/tools/sane-config $HOME/freetz-trunk/addon/sane-backends/root/bin/
cp $HOME/sane-backends/tools/sane-find-scanner $HOME/freetz-trunk/addon/sane-backends/root/bin/
cp $HOME/sane-backends/tools/gamma4scanimage $HOME/freetz-trunk/addon/sane-backends/root/bin/
cp $HOME/sane-backends/backend/.libs/libsane.so.1.1.0 $HOME/freetz-trunk/addon/sane-backends/root/lib/
cp $HOME/sane-backends/backend/.libs/libsane-pixma.so.1.1.0 $HOME/freetz-trunk/addon/sane-backends/root/lib/ # ggf. andere library auswählen
cd $HOME/freetz-trunk/addon/sane-backends/root/lib
ln -s libsane.so.1.1.0 libsane.so.1
ln -s libsane.so.1.1.0 libsane.so
ln -s libsane-pixma.so.1.1.0 libsane-pixma.so.1 # libsane-pixma ersetzt ihr durch eure library
ln -s libsane-pixma.so.1.1.0 libsane-pixma.so # libsane-pixma ersetzt ihr durch eure library
cd $HOME/sane-backends
cp backend/.libs/libsane-dll.so.1.1.0 $HOME/freetz-trunk/addon/sane-backends/root/lib/sane/
cd $HOME/freetz-trunk/addon/sane-backends/root/lib/sane/
ln -s libsane-dll.so.1.1.0 libsane-dll.so.1
ln -s libsane-dll.so.1.1.0 libsane-dll.so
cd $HOME/sane-backends
vim $HOME/freetz-trunk/addon/sane-backends/root/bin/saned_wrapper
[I]#!/bin/sh
(while true; do /bin/saned -d; done) >/dev/null 2>/dev/null &[/I]
chmod 755 $HOME/freetz-trunk/addon/sane-backends/root/bin/saned_wrapper
vim $HOME/freetz-trunk/addon/sane-backends/root/etc/sane.d/dll.conf
[I]pixma [/I]# anstelle von pixma hier euer Modul eintragen (zB. plustek, epson oder gt68xx)
echo "192.168.178.0/24" > "$HOME/freetz-trunk/addon/sane-backends/root/etc/sane.d/saned.conf" # Netzwerk, das auf sane zugreifen darf
cp $HOME/freetz-trunk/build/original/filesystem/etc/hotplug/printer $HOME/freetz-trunk/addon/sane-backends/root/etc/hotplug/printer
vim $HOME/freetz-trunk/addon/sane-backends/root/etc/hotplug/printer
# Starting printserver...
if ! $BIN -d $USB_DEVICE -p $PORT -c $CONSOLE; then
eventadd 153
fi
echo "1" > $HANDLE
eventadd 150 9100 & # `echo ar7cfg.brinterfaces.ipaddr | ar7cfgctl -s`
/bin/saned_wrapper # (start saned)
else
eventadd 152
echo "0" > $HANDLE
fi
;;
remove) if test $4 -eq 1; then
# Stop it all...
killall ${BIN##*/}
rm -f $PRINTER_STATUS_FILE
rm -f $PRINTER_ID_FILE
sleep 1;
rmmod $MODULE
eventadd 151
killall saned_wrapper
killall saned
fi
;;
*) ;;
esac
vrijgeven
echo "sane-backends" > "$HOME/freetz-trunk/addon/static.pkg"
cd $HOME/freetz-trunk
make
/$ scanimage -L
device `pixma:04A9xxxx_139xxx is a CANON Canon PIXMA MP520 multi-function peripheral