AirSane
AirSane copied to clipboard
Please update on Feeder usability- does it work?
I tried this a while back and had a comment posted here was told the sheet feeder did not work. That I think was over a year ago. That comment was still active and I added a reply to a couple days ago asking if the feeder now works but now the whole thread seems to have disappeared.
Please clarify sheet feeder functionality
I ask this because I have a Brother MFC2760 that has never been able to use the sheetfeeder via AirSane. The Brother is using the SANE-AIRSCAN driver with WSD protocol. I just upgraded to debian 11 on Pi 3B+ and the result is the same . I only get the first page. Just tested on OSX 10.15 and Mopria again. Does not matter if I save as PDF or JPG the result is the same., with only getting first page.
I know this is a problem. In the meantime, I got helpful information about this issue in #109, so I may be able to fix it.
In the latest commit, I have modified AirSane to improve behavior with ADFs. Please give it a try.
Ok I updated earlier today probably within an hour of your post and It did not work . I had no time to troubleshoot till now
here is the status of airsane Service ` ● airsaned.service - AirSane Imaging Service Loaded: loaded (/lib/systemd/system/airsaned.service; bad; preset: enabled) Active: active (running) since Sun 2023-10-15 13:08:53 PDT; 6h ago Process: 529 ExecStartPre=/bin/sleep 15 (code=exited, status=0/SUCCESS) Main PID: 1211 (airsaned) Tasks: 5 (limit: 779) CPU: 175ms CGroup: /system.slice/airsaned.service └─1211 /usr/local/bin/airsaned "--interface=*" --listen-port=8090 --access-log= --hotplug=true --mdns-announce=true --announce-secure=false --unix-socket= --web-interface=true --random-paths=false --compatible-path=true --lo>
Oct 15 13:08:38 raspberrypi systemd[1]: Starting airsaned.service - AirSane Imaging Service... Oct 15 13:08:53 raspberrypi systemd[1]: Started airsaned.service - AirSane Imaging Service. Oct 15 13:12:00 raspberrypi airsaned[1211]: Warning: Error 404 when requesting "/eSCL/ScannerCapabilities" Oct 15 13:12:06 raspberrypi airsaned[1211]: Warning: Error 404 when requesting "/eSCL/ScannerCapabilities" Oct 15 13:12:15 raspberrypi airsaned[1211]: Warning: Error 404 when requesting "/eSCL/ScannerCapabilities" ~ `
So I then went to http://10.0.0.250:8090/eSCL/ScannerCapabilities
and see this in a web browser `Error 404: Not Found
when processing request:
GET /eSCL/ScannerCapabilities HTTP/1.1 host: 10.0.0.250:8090 user-agent: Mozilla/5.0(X11;Linuxx86_64;rv:109.0)Gecko/20100101Firefox/118.0 accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8 accept-language: en-US,en;q=0.5 accept-encoding: gzip,deflate connection: keep-alive upgrade-insecure-requests: 1`
to hell with inserting code on here! Nothing seems to work.
I thought I would add the following which may be helpful. I wont even try to enter it as code as it never seems to work anyway!
scanimage --help -d 'airscan:w0:Brother MFC-7360N' Usage: scanimage [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|png|jpeg|pdf 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' out%d.tif'
out%d.png' or out%d.jpg' by default depending on --format
This option is incompatible with --output-file. --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-print print image filenames to stdout
--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
-o, --output-file=PATH save output to the given file instead of stdout.
This option is incompatible with --batch.
-n, --dont-scan only set options, don't actually scan
-T, --test test backend thoroughly
-A, --all-options list all available backend options
-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
Output format is not set, using pnm as a default.
Options specific to device `airscan:w0:Brother MFC-7360N': Standard: --resolution 100|200|300dpi [300] Sets the resolution of the scanned image. --mode Color|Gray [Color] Selects the scan mode (e.g., lineart, monochrome, or color). --source Flatbed|ADF [Flatbed] Selects the scan source (such as a document-feeder). Geometry: -l 0..215.9mm [0] Top-left x position of scan area. -t 0..297.18mm [0] Top-left y position of scan area. -x 0..215.9mm [215.9] Width of scan-area. -y 0..297.18mm [297.18] Height of scan-area. Enhancement: --brightness -100..100% (in steps of 1) [0] Controls the brightness of the acquired image. --contrast -100..100% (in steps of 1) [0] Controls the contrast of the acquired image. --shadow 0..100% (in steps of 1) [0] Selects what radiance level should be considered "black". --highlight 0..100% (in steps of 1) [100] Selects what radiance level should be considered "white". --analog-gamma 0.0999908..4 [1] Analog gamma-correction --negative[=(yes|no)] [no] Swap black and white
Are you sure you have LOCAL_SCANNERS_ONLY=false in your /etc/default/airsaned ?
If you run airsaned from the command line, and don't specify the compatible_path argument, you will also not be able to access the first scanner at /eSCL.
I understand this is annoying, therefore I have now made compatible_path the default.
Well my new install of Bullseye is now crashed on my Pi. When I get back to reinstalling, will test again.