On Martes, 10 de abril de 2012 17:46:33 Jeffrey Ratcliffe escribió: > Please start saned on the server with debugging enabled: > > SANE_DEBUG_NAME=255 saned -d128 > > replacing NAME with the name of your backend.
I execute SANE_DEBUG_HPLIP=255 saned -d128 > saned.log 2>&1 And get Segment Violation I attach the log. > > And then start gscan2pdf with debugging for the net backend enabled: > > SANE_DEBUG_NET=255 gscan2pdf --log=log1 2> log2 > > And post log2 and the output from saned. I execute: SANE_DEBUG_NET=255 gscan2pdf --log=log1 2> log2 And get: *** glibc detected *** /usr/bin/perl: free(): invalid pointer: 0x00007fa9179ecc9e *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x75ab6)[0x7fa91f9cbab6] /lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7fa91f9d07ec] /usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1(sanei_w_array+0x248) [0x7fa910d19b88] /usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1(+0x68b8)[0x7fa910d1a8b8] /usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1(sanei_w_string+0x33) [0x7fa910d19c53] /usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1(sanei_w_free+0x4a) [0x7fa910d1a6ca] /usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1(sane_net_control_option+0x2ac) [0x7fa910d1d39c] /usr/lib/perl5/auto/Sane/Sane.so(XS_Sane__Device_get_option+0x1a9) [0x7fa917bf3c89] /usr/lib/libperl.so.5.14(Perl_pp_entersub+0x54f)[0x7fa92043772f] /usr/lib/libperl.so.5.14(Perl_runops_standard+0x16)[0x7fa92042ebc6] /usr/lib/libperl.so.5.14(Perl_call_sv+0x47e)[0x7fa9203ca4ce] /usr/lib/perl/5.14/auto/threads/threads.so(+0x4681)[0x7fa91f519681] /lib/x86_64-linux-gnu/libpthread.so.0(+0x6b50)[0x7fa91fce3b50] /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fa91fa2e90d] ======= Memory map: ======== 00400000-00402000 r-xp 00000000 09:01 395192 /usr/bin/perl 00601000-00602000 r--p 00001000 09:01 395192 /usr/bin/perl 00602000-00603000 rw-p 00002000 09:01 395192 /usr/bin/perl 00fcd000-05f94000 rw-p 00000000 00:00 0 [heap] 7fa906b32000-7fa906b47000 r-xp 00000000 09:01 1177595 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fa906b47000-7fa906d47000 ---p 00015000 09:01 1177595 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fa906d47000-7fa906d48000 rw-p 00015000 09:01 1177595 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fa906d48000-7fa906d58000 r-xp 00000000 09:01 405948 /usr/lib/x86_64-linux-gnu/sane/libsane-ls5000.so.1.0.22 7fa906d58000-7fa906f57000 ---p 00010000 09:01 405948 /usr/lib/x86_64-linux-gnu/sane/libsane-ls5000.so.1.0.22 7fa906f57000-7fa906f58000 rw-p 0000f000 09:01 405948 /usr/lib/x86_64-linux-gnu/sane/libsane-ls5000.so.1.0.22 7fa906f58000-7fa906f5a000 rw-p 00000000 00:00 0 7fa906f5a000-7fa906f5d000 r-xp 00000000 09:01 1177395 /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0 7fa906f5d000-7fa90715c000 ---p 00003000 09:01 1177395 /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0 7fa90715c000-7fa90715d000 rw-p 00002000 09:01 1177395 /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0 7fa90715d000-7fa90716e000 r-xp 00000000 09:01 394393 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0 7fa90716e000-7fa90736d000 ---p 00011000 09:01 394393 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0 7fa90736d000-7fa90736e000 r--p 00010000 09:01 394393 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0 7fa90736e000-7fa90736f000 rw-p 00011000 09:01 394393 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0 7fa90736f000-7fa90737f000 r-xp 00000000 09:01 393148 /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.15 7fa90737f000-7fa90757e000 ---p 00010000 09:01 393148 /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.15 7fa90757e000-7fa90757f000 r--p 0000f000 09:01 393148 /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.15 7fa90757f000-7fa907580000 rw-p 00010000 09:01 393148 /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.15 7fa907580000-7fa907583000 r-xp 00000000 09:01 1177559 /lib/x86_64-linux-gnu/libkeyutils.so.1.4 7fa907583000-7fa907782000 ---p 00003000 09:01 1177559 /lib/x86_64-linux-gnu/libkeyutils.so.1.4 7fa907782000-7fa907783000 rw-p 00002000 09:01 1177559 /lib/x86_64-linux-gnu/libkeyutils.so.1.4 7fa907783000-7fa90778b000 r-xp 00000000 09:01 393646 /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1 7fa90778b000-7fa90798a000 ---p 00008000 09:01 393646 /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1 7fa90798a000-7fa90798b000 r--p 00007000 09:01 393646 /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1 7fa90798b000-7fa90798c000 rw-p 00008000 09:01 393646 /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1 7fa90798c000-7fa907a06000 r-xp 00000000 09:01 1177422 /lib/x86_64-linux-gnu/libgcrypt.so.11.7.0 7fa907a06000-7fa907c06000 ---p 0007a000 09:01 1177422 /lib/x86_64-linux-gnu/libgcrypt.so.11.7.0 7fa907c06000-7fa907c0a000 rw-p 0007a000 09:01 1177422 /lib/x86_64-linux-gnu/libgcrypt.so.11.7.0 7fa907c0a000-7fa907cc2000 r-xp 00000000 09:01 399397 /usr/lib/x86_64-linux-gnu/libgnutls.so.26.22.1 7fa907cc2000-7fa907ec2000 ---p 000b8000 09:01 399397 /usr/lib/x86_64-linux-gnu/libgnutls.so.26.22.1 7fa907ec2000-7fa907ec8000 r--p 000b8000 09:01 399397 /usr/lib/x86_64-linux-gnu/libgnutls.so.26.22.1 7fa907ec8000-7fa907eca000 rw-p 000be000 09:01 399397 /usr/lib/x86_64-linux-gnu/libgnutls.so.26.22.1 7fa907eca000-7fa907ecd000 r-xp 00000000 09:01 1177706 /lib/x86_64-linux-gnu/libcom_err.so.2.1 7fa907ecd000-7fa9080cc000 ---p 00003000 09:01 1177706 /lib/x86_64-linux-gnu/libcom_err.so.2.1 7fa9080cc000-7fa9080cd000 r--p 00002000 09:01 1177706 /lib/x86_64-linux-gnu/libcom_err.so.2.1 7fa9080cd000-7fa9080ce000 rw-p 00003000 09:01 1177706 /lib/x86_64-linux-gnu/libcom_err.so.2.1 7fa9080ce000-7fa9080f4000 r-xp 00000000 09:01 395240 /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1 7fa9080f4000-7fa9082f4000 ---p 00026000 09:01 395240 /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1 7fa9082f4000-7fa9082f5000 r--p 00026000 09:01 395240 /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1 7fa9082f5000-7fa9082f6000 rw-p 00027000 09:01 395240 /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1 7fa9082f6000-7fa9082f7000 rw-p 00000000 00:00 0 7fa9082f7000-7fa9083c0000 r-xp 00000000 09:01 393644 /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3 7fa9083c0000-7fa9085bf000 ---p 000c9000 09:01 393644 /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3 7fa9085bf000-7fa9085c9000 r--p 000c8000 09:01 393644 /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3 7fa9085c9000-7fa9085cb000 rw-p 000d2000 09:01 393644 /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3 7fa9085cb000-7fa908607000 r-xp 00000000 09:01 393642 /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2 7fa908607000-7fa908807000 ---p 0003c000 09:01 393642 /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2 7fa908807000-7fa908808000 r--p 0003c000 09:01 393642 /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2 7fa908808000-7fa90880a000 rw-p 0003d000 09:01 393642 /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2Abortado I attach the log.
INFO - Starting gscan2pdf 1.0.0 INFO - Log level DEBUG INFO - Using es_ES.UTF-8 locale INFO - Startup LC_NUMERIC C INFO - Reading config from /datos/userhome/.gscan2pdf INFO - Perl version v5.14.2 INFO - Glib-Perl version 1.251 INFO - Built for Glib 2.30.2 INFO - Running with Glib 2.30.2 INFO - Gtk2-Perl version 1.242 INFO - Built for GTK 2.24.8 INFO - Running with GTK 2.24.10 INFO - Using GtkImageView version 1.6.4 INFO - Using Gtk2::ImageView version 0.05 INFO - Using PDF::API2 version 2.019 DEBUG - $VAR1 = { 'ocr panel' => '657', 'frontend' => 'libsane-perl', 'mode' => 'Color', 'Paper' => { 'Legal US' => { 'y' => '356', 'l' => '0', 'x' => '216', 't' => '0' }, 'Carta US' => { 'y' => '279', 'l' => '0', 'x' => '216', 't' => '0' }, 'A4' => { 'y' => '297', 'l' => '0', 'x' => '210', 't' => '0' } }, 'ocr engine' => 'ocropus', 'y' => '297', 'keywords' => '', 'layout' => 'single', 'session' => '/tmp/ROivhoQ_lL', 'cwd' => '/datos/documentos/documentos_escaneados/Facturas Garantias', 'image type' => 'png', 'Paper size' => 'A4', 'subject' => '', 'user_defined_tools' => 'gimp %i', 'startup warning' => '', 'default filename' => '%a %y-%m-%d', 'title' => '', 'rotate facing' => '0', 'source' => 'Auto', 'cache options' => '1', 'author' => '', 'compression' => 'JPEG', 'window_x' => '-2', 'window_y' => '-3', 'quality' => '75', 'date offset' => '0', 'tiff compression' => 'none', 'version' => '1.0.0', 'device' => 'net:10.2.1.70:hpaio:/usb/Officejet_J5700_series?serial=CN879CV07G04TC', 'scan prefix' => '', 'cache' => { 'net:10.2.1.70:hpaio:/usb/Officejet_J5700_series?serial=CN879CV07G04TC' => { 'Color' => 'Usage: scanimage-perl [OPTION]... Start image acquisition on a scanner device and write image data to standard output. Parameters are separated by a blank from single-character options (e.g. -d epson) and by a "=" from multi-character options (e.g. --device-name=epson). -d, --device-name=DEVICE use a given scanner device (e.g. hp:/dev/scanner) --format=pnm|tiff file format of output file -i, --icc-profile=PROFILE include this ICC profile into TIFF file -L, --list-devices show available scanner devices -f, --formatted-device-list=FORMAT similar to -L, but the FORMAT of the output can be specified: %d (device name), %v (vendor), %m (model), %t (type), %i (index number), and %n (newline) -b, --batch[=FORMAT] working in batch mode, FORMAT is `out%d.pnm\' or `out%d.tif\' by default depending on --format --batch-start=# page number to start naming files with --batch-count=# how many pages to scan in batch mode --batch-increment=# increase page number in filename by # --batch-double increment page number by two, same as --batch-increment=2 --batch-prompt ask for pressing a key before scanning a page --accept-md5-only only accept authorization requests using md5 -p, --progress print progress messages -n, --dont-scan only set options, don\'t actually scan -T, --test test backend thoroughly -h, --help display this help message and exit -v, --verbose give even more status messages -B, --buffer-size=# change input buffer size (in kB, default 32) -V, --version print version information Options specific to device `net:10.2.1.70:hpaio:/usb/Officejet_J5700_series?serial=CN879CV07G04TC\': Scan mode: --mode Lineart|Gray|Color [Color] Selects the scan mode (e.g., lineart, monochrome, or color). --resolution 75..2400dpi [75] Sets the resolution of the scanned image. Advanced: --contrast 0..100 [inactive] Controls the contrast of the acquired image. --compression None|JPEG [JPEG] Selects the scanner compression method for faster scans, possibly at the expense of image quality. --jpeg-quality 0..100 [10] Sets the scanner JPEG compression factor. Larger numbers mean better compression, and smaller numbers mean better image quality. --batch-scan[=(yes|no)] [no] Enables continuous scanning with automatic document feeder (ADF). --source Auto|Flatbed|ADF [Auto] Selects the scan source (such as a document-feeder). Geometry: --length-measurement Unknown|Approximate|Padded [Padded] Selects how the scanned image length is measured and reported, which is impossible to know in advance for scrollfed scans. -l 0..215.9mm [0] Top-left x position of scan area. -t 0..381mm [0] Top-left y position of scan area. -x 0..215.9mm [215.9] Width of scan-area. -y 0..381mm [381] Height of scan-area. Type ``scanimage-perl --help -d DEVICE\'\' to get list of all options for DEVICE. List of available devices: net:10.2.1.70:hpaio:/usb/Officejet_J5700_series?serial=CN879CV07G04TC' } }, 'profile' => {}, 'unsharp radius' => '0', 'window_maximize' => '1', 'pid' => '5126', 'unsharp amount' => '1', 'OCR output' => 'replace', 't' => '0', 'OCR on scan' => '', 'Page range' => 'selected', 'default' => { 'hpaio:/usb/Officejet_J5700_series?serial=CN879CV07G04TC' => [ { 'br-x' => '210' }, { 'br-y' => '297' }, { 'resolution' => '300' } ], 'net:10.2.1.70:hpaio:/usb/Officejet_J5700_series?serial=CN879CV07G04TC' => [ { 'br-x' => '210' }, { 'br-y' => '297' }, { 'resolution' => '300' } ] }, 'window_height' => '852', 'pdf font' => '/usr/share/fonts/truetype/msttcorefonts/Andale_Mono.ttf', 'rotate reverse' => '0', 'Dark threshold' => '0.12', 'pages to scan' => 'all', 'resolution' => '300', 'Blank threshold' => '0.005', 'unpaper on scan' => '', 'libsane-perl version' => '0.03', 'x' => '210', 'downsample dpi' => '150', 'window_width' => '1600', 'threshold tool' => '80', 'unsharp sigma' => '1', 'thumb panel' => '271', 'unsharp threshold' => '0.05', 'l' => '0', 'SANE version' => '1.0.22', 'Page range default' => 'all', 'downsample' => '', 'restore window' => '1', 'pdf compression' => 'png', 'batch-scan' => 'yes' }; INFO - Found Image::Magick INFO - Found ImageMagick INFO - Found xdg-email INFO - Found cuneiform INFO - Found libtiff WARN - gscan2pdf detected a crashed session, but was unable to restore it as it has been deleted. INFO - Using /tmp/lhYRipMhaP for temporary files INFO - Sane->get_devices returned: $VAR1 = [ { 'name' => 'net:10.2.1.70:hpaio:/usb/Officejet_J5700_series?serial=CN879CV07G04TC', 'model' => 'Officejet_J5700_series', 'type' => 'all-in-one', 'vendor' => 'Hewlett-Packard' } ];
INFO - Starting gscan2pdf 1.0.0 INFO - Log level DEBUG INFO - Using es_ES.UTF-8 locale INFO - Startup LC_NUMERIC C INFO - Reading config from /datos/userhome/.gscan2pdf INFO - Perl version v5.14.2 INFO - Glib-Perl version 1.251 INFO - Built for Glib 2.30.2 INFO - Running with Glib 2.30.2 INFO - Gtk2-Perl version 1.242 INFO - Built for GTK 2.24.8 INFO - Running with GTK 2.24.10 INFO - Using GtkImageView version 1.6.4 INFO - Using Gtk2::ImageView version 0.05 INFO - Using PDF::API2 version 2.019 DEBUG - $VAR1 = { 'ocr panel' => '657', 'frontend' => 'libsane-perl', 'mode' => 'Color', 'Paper' => { 'Legal US' => { 'y' => '356', 'l' => '0', 'x' => '216', 't' => '0' }, 'Carta US' => { 'y' => '279', 'l' => '0', 'x' => '216', 't' => '0' }, 'A4' => { 'y' => '297', 'l' => '0', 'x' => '210', 't' => '0' } }, 'ocr engine' => 'ocropus', 'y' => '297', 'keywords' => '', 'layout' => 'single', 'session' => '/tmp/ROivhoQ_lL', 'cwd' => '/datos/documentos/documentos_escaneados/Facturas Garantias', 'image type' => 'png', 'Paper size' => 'A4', 'subject' => '', 'user_defined_tools' => 'gimp %i', 'startup warning' => '', 'default filename' => '%a %y-%m-%d', 'title' => '', 'rotate facing' => '0', 'source' => 'Auto', 'cache options' => '1', 'author' => '', 'compression' => 'JPEG', 'window_x' => '-2', 'window_y' => '-3', 'quality' => '75', 'date offset' => '0', 'tiff compression' => 'none', 'version' => '1.0.0', 'device' => 'net:10.2.1.70:hpaio:/usb/Officejet_J5700_series?serial=CN879CV07G04TC', 'scan prefix' => '', 'cache' => { 'net:10.2.1.70:hpaio:/usb/Officejet_J5700_series?serial=CN879CV07G04TC' => { 'Color' => 'Usage: scanimage-perl [OPTION]... Start image acquisition on a scanner device and write image data to standard output. Parameters are separated by a blank from single-character options (e.g. -d epson) and by a "=" from multi-character options (e.g. --device-name=epson). -d, --device-name=DEVICE use a given scanner device (e.g. hp:/dev/scanner) --format=pnm|tiff file format of output file -i, --icc-profile=PROFILE include this ICC profile into TIFF file -L, --list-devices show available scanner devices -f, --formatted-device-list=FORMAT similar to -L, but the FORMAT of the output can be specified: %d (device name), %v (vendor), %m (model), %t (type), %i (index number), and %n (newline) -b, --batch[=FORMAT] working in batch mode, FORMAT is `out%d.pnm\' or `out%d.tif\' by default depending on --format --batch-start=# page number to start naming files with --batch-count=# how many pages to scan in batch mode --batch-increment=# increase page number in filename by # --batch-double increment page number by two, same as --batch-increment=2 --batch-prompt ask for pressing a key before scanning a page --accept-md5-only only accept authorization requests using md5 -p, --progress print progress messages -n, --dont-scan only set options, don\'t actually scan -T, --test test backend thoroughly -h, --help display this help message and exit -v, --verbose give even more status messages -B, --buffer-size=# change input buffer size (in kB, default 32) -V, --version print version information Options specific to device `net:10.2.1.70:hpaio:/usb/Officejet_J5700_series?serial=CN879CV07G04TC\': Scan mode: --mode Lineart|Gray|Color [Color] Selects the scan mode (e.g., lineart, monochrome, or color). --resolution 75..2400dpi [75] Sets the resolution of the scanned image. Advanced: --contrast 0..100 [inactive] Controls the contrast of the acquired image. --compression None|JPEG [JPEG] Selects the scanner compression method for faster scans, possibly at the expense of image quality. --jpeg-quality 0..100 [10] Sets the scanner JPEG compression factor. Larger numbers mean better compression, and smaller numbers mean better image quality. --batch-scan[=(yes|no)] [no] Enables continuous scanning with automatic document feeder (ADF). --source Auto|Flatbed|ADF [Auto] Selects the scan source (such as a document-feeder). Geometry: --length-measurement Unknown|Approximate|Padded [Padded] Selects how the scanned image length is measured and reported, which is impossible to know in advance for scrollfed scans. -l 0..215.9mm [0] Top-left x position of scan area. -t 0..381mm [0] Top-left y position of scan area. -x 0..215.9mm [215.9] Width of scan-area. -y 0..381mm [381] Height of scan-area. Type ``scanimage-perl --help -d DEVICE\'\' to get list of all options for DEVICE. List of available devices: net:10.2.1.70:hpaio:/usb/Officejet_J5700_series?serial=CN879CV07G04TC' } }, 'profile' => {}, 'unsharp radius' => '0', 'window_maximize' => '1', 'pid' => '5126', 'unsharp amount' => '1', 'OCR output' => 'replace', 't' => '0', 'OCR on scan' => '', 'Page range' => 'selected', 'default' => { 'hpaio:/usb/Officejet_J5700_series?serial=CN879CV07G04TC' => [ { 'br-x' => '210' }, { 'br-y' => '297' }, { 'resolution' => '300' } ], 'net:10.2.1.70:hpaio:/usb/Officejet_J5700_series?serial=CN879CV07G04TC' => [ { 'br-x' => '210' }, { 'br-y' => '297' }, { 'resolution' => '300' } ] }, 'window_height' => '852', 'pdf font' => '/usr/share/fonts/truetype/msttcorefonts/Andale_Mono.ttf', 'rotate reverse' => '0', 'Dark threshold' => '0.12', 'pages to scan' => 'all', 'resolution' => '300', 'Blank threshold' => '0.005', 'unpaper on scan' => '', 'libsane-perl version' => '0.03', 'x' => '210', 'downsample dpi' => '150', 'window_width' => '1600', 'threshold tool' => '80', 'unsharp sigma' => '1', 'thumb panel' => '271', 'unsharp threshold' => '0.05', 'l' => '0', 'SANE version' => '1.0.22', 'Page range default' => 'all', 'downsample' => '', 'restore window' => '1', 'pdf compression' => 'png', 'batch-scan' => 'yes' }; INFO - Found Image::Magick INFO - Found ImageMagick INFO - Found xdg-email INFO - Found cuneiform INFO - Found libtiff WARN - gscan2pdf detected a crashed session, but was unable to restore it as it has been deleted. INFO - Using /tmp/lhYRipMhaP for temporary files [sanei_debug] Setting debug level of net to 255. [net] sane_init: authorize == null, version_code != null [net] sane_init: SANE net backend version 1.0.14 (AF-indep+IPv6) from sane-backends 1.0.22 [net] sane_init: Client has little endian byte order [net] sane_init: searching for config file [net] net_avahi_browse_callback: NEW: service 'saned' of type '_sane-port._tcp' in domain 'local' [net] sane_init: trying to add 10.2.1.70 [net] add_device: adding backend 10.2.1.70 [net] net_avahi_browse_callback: CACHE_EXHAUSTED [net] net_avahi_browse_callback: ALL_FOR_NOW [net] net_avahi_resolve_callback: service 'saned' of type '_sane-port._tcp' in domain 'local': [net] yoguisu.local:6566 (192.168.1.68) TXT="protovers=1000003" cookie is 0 is_local: 1 our_own: 0 wide_area: 0 multicast: 1 cached: 1 [net] add_device: adding backend yoguisu.local [net] add_device: backend 10.2.1.70 added [net] sane_init: done reading config [net] sane_init: evaluating environment variable SANE_NET_HOSTS [net] sane_init: evaluating environment variable SANE_NET_TIMEOUT [net] sane_init: done [net] sane_get_devices: local_only = 0 [net] connect_dev: trying to connect to 10.2.1.70 [net] connect_dev: [0] connection succeeded (IPv4) [net] connect_dev: sanei_w_init [net] connect_dev: net_init (user=userhome, local version=1.0.3) [net] add_device: backend yoguisu.local added [net] connect_dev: freeing init reply (status=Success, remote version=1.0.3) [net] connect_dev: done [net] sane_get_devices: got 10.2.1.70:hpaio:/usb/Officejet_J5700_series?serial=CN879CV07G04TC [net] sane_get_devices: finished (1 devices) INFO - Sane->get_devices returned: $VAR1 = [ { 'name' => 'net:10.2.1.70:hpaio:/usb/Officejet_J5700_series?serial=CN879CV07G04TC', 'model' => 'Officejet_J5700_series', 'type' => 'all-in-one', 'vendor' => 'Hewlett-Packard' } ]; [net] sane_open("10.2.1.70:hpaio:/usb/Officejet_J5700_series?serial=CN879CV07G04TC") [net] sane_open: host = 10.2.1.70, device = hpaio:/usb/Officejet_J5700_series?serial=CN879CV07G04TC [net] sane_open: device found in list [net] sane_open: net_open [net] sane_open: getting option descriptors [net] fetch_options: 0x7fa90c040f70 [net] fetch_options: get_option_descriptors [net] fetch_options: creating 17 local option descriptors [net] fetch_options: copying 17 option descriptors [net] fetch_options: 17 options fetched [net] sane_open: success [net] sane_get_option_descriptor: option 0 [net] sane_control_option: option 0, action 0 [net] sane_control_option: remote control option [net] sane_control_option: remote done (Success, info 0) [net] sane_control_option: done (Success, info 0) [net] sane_get_option_descriptor: option 1 [net] sane_get_option_descriptor: option 2 [net] sane_get_option_descriptor: option 2 [net] sane_control_option: option 2, action 0 [net] sane_control_option: remote control option [net] sane_control_option: remote done (Success, info 0) [net] sane_control_option: done (Success, info 0) [net] sane_get_option_descriptor: option 3 [net] sane_get_option_descriptor: option 3 [net] sane_control_option: option 3, action 0 [net] sane_control_option: remote control option [net] sane_control_option: remote done (Success, info 0) [net] sane_control_option: done (Success, info 0) [net] sane_get_option_descriptor: option 4 [net] sane_get_option_descriptor: option 5 [net] sane_get_option_descriptor: option 6 [net] sane_get_option_descriptor: option 6 [net] sane_control_option: option 6, action 0 [net] sane_control_option: remote control option [net] sane_control_option: remote done (Success, info 0) [net] sane_control_option: done (Success, info 0) [net] sane_get_option_descriptor: option 7 [net] sane_get_option_descriptor: option 7 [net] sane_control_option: option 7, action 0 [net] sane_control_option: remote control option [net] sane_control_option: remote done (Success, info 0) [net] sane_control_option: done (Success, info 0) [net] sane_get_option_descriptor: option 8 [net] sane_get_option_descriptor: option 8 [net] sane_control_option: option 8, action 0 [net] sane_control_option: remote control option [net] sane_control_option: remote done (Success, info 0) [net] sane_control_option: done (Success, info 0) [net] sane_get_option_descriptor: option 9 [net] sane_get_option_descriptor: option 9 [net] sane_control_option: option 9, action 0 [net] sane_control_option: remote control option [net] sane_control_option: remote done (Success, info 0) [net] sane_control_option: done (Success, info 0) [net] sane_get_option_descriptor: option 10 [net] sane_get_option_descriptor: option 10 [net] sane_control_option: option 10, action 0 [net] sane_control_option: remote control option [net] sane_control_option: auth required [net] do_authorization: dev=0x4f56f90 resource=H�H�{I��L��D��D��H�\$H�l$H�@PL�d$ L�l$(L�t$0H��8��fff.� [net] do_authorization: no auth_callback present [net] do_authorization: relaying authentication data
[saned] main: starting debug mode (level 128) [saned] read_config: searching for config file [saned] read_config: done reading config [saned] saned (AF-indep+IPv6) from sane-backends 1.0.21 starting up [saned] do_bindings: trying to get port for service "sane-port" (getaddrinfo) [saned] do_bindings: [1] socket () using IPv6 [saned] do_bindings: [1] setsockopt () [saned] do_bindings: [1] bind () to port 6566 [saned] do_bindings: [1] listen () [saned] do_bindings: [0] socket () using IPv4 [saned] do_bindings: [0] setsockopt () [saned] do_bindings: [0] bind () to port 6566 [saned] do_bindings: [0] bind failed: Address already in use [saned] run_standalone: spawning Avahi process [saned] run_standalone: waiting for control connection [saned] saned_avahi_callback: AVAHI_CLIENT_S_RUNNING [saned] saned_create_avahi_services: adding service 'saned' [saned] saned_avahi_group_callback: service 'saned' successfully established [saned] handle_connection: processing client connection [saned] check_host: detected an IPv4-mapped address [saned] check_host: access by remote host: ::ffff:10.2.1.68 [saned] check_host: remote host is not IN_LOOPBACK nor IN6_LOOPBACK [saned] check_host: local hostname: yoguisu2 [saned] check_host: local hostname(s) (from DNS): yoguisu2 [saned] check_host: local hostname(s) (from DNS): (null) [saned] check_host: local hostname(s) (from DNS): (null) [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: `# saned.conf' [saned] check_host: config file line: `# Configuration for the saned daemon' [saned] check_host: config file line: `' [saned] check_host: config file line: `## Daemon options' [saned] check_host: config file line: `# Port range for the data connection. Choose a range inside [1024 - 65535].' [saned] check_host: config file line: `# Avoid specifying too large a range, for performance reasons.' [saned] check_host: config file line: `#' [saned] check_host: config file line: `# ONLY use this if your saned server is sitting behind a firewall. If your' [saned] check_host: config file line: `# firewall is a Linux machine, we strongly recommend using the' [saned] check_host: config file line: `# Netfilter nf_conntrack_sane connection tracking module instead.' [saned] check_host: config file line: `#' [saned] check_host: config file line: `# data_portrange = 10000 - 10100' [saned] check_host: config file line: `' [saned] check_host: config file line: `' [saned] check_host: config file line: `## Access list' [saned] check_host: config file line: `# A list of host names, IP addresses or IP subnets (CIDR notation) that' [saned] check_host: config file line: `# are permitted to use local SANE devices. IPv6 addresses must be enclosed' [saned] check_host: config file line: `# in brackets, and should always be specified in their compressed form.' [saned] check_host: config file line: `#' [saned] check_host: config file line: `# The hostname matching is not case-sensitive.' [saned] check_host: config file line: `' [saned] check_host: config file line: `#scan-client.somedomain.firm' [saned] check_host: config file line: `#192.168.0.1' [saned] check_host: config file line: `#192.168.0.1/29' [saned] check_host: config file line: `#[2001:7a8:185e::42:12]' [saned] check_host: config file line: `#[2001:7a8:185e::42:12]/64' [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 10.2.1.68 (in subnet 192.168.1.0/24) [saned] init: access granted [saned] init: access granted to userhome@::ffff:10.2.1.68 [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 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