network scanning not working #2

Closed
opened 2020-07-02 10:09:44 +08:00 by sb10q · 3 comments
Owner

Added this to nixbld:

services.saned.enable = true;
services.saned.extraConfig = "192.168.1.0/24";

On the client machines, xsane fails with an obscure "Error during device I/O" upon startup. As seen in wireshark, the connection is established and there is a little bit of data exchanged.

The scanner otherwise works locally on nixbld using the scanimage command.

Adding this to the client machines does not help:

hardware.sane.enable = true;
hardware.sane.netConf = "192.168.1.1";
Added this to nixbld: ``` services.saned.enable = true; services.saned.extraConfig = "192.168.1.0/24"; ``` On the client machines, xsane fails with an obscure "Error during device I/O" upon startup. As seen in wireshark, the connection is established and there is a little bit of data exchanged. The scanner otherwise works locally on nixbld using the scanimage command. Adding this to the client machines does not help: ``` hardware.sane.enable = true; hardware.sane.netConf = "192.168.1.1"; ```
Contributor

Does the scanner have a network interface? I know Brother devices that can upload scans via SFTP out of the box. That can be automated quite nicely.

Does the scanner have a network interface? I know Brother devices that can upload scans via SFTP out of the box. That can be [automated quite nicely](https://dev.to/jwoudenberg/automatically-ocr-scanned-pdfs-in-nixos-25d).
Author
Owner

No.

No.
Author
Owner

This now works:

xsane "net:192.168.1.1:hpaio:/usb/HP_Color_LaserJet_MFP_M477fdw?serial=VNBKLBM2VN"

This now works: xsane "net:192.168.1.1:hpaio:/usb/HP_Color_LaserJet_MFP_M477fdw?serial=VNBKLBM2VN"
sb10q closed this issue 2024-01-23 17:29:44 +08:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/it-infra#2
No description provided.