Open daenney opened 4 years ago
This is likely related to the discussion at these:
This happens because colord-sane
always scans all SANE devices, instead of handling a device that’s just been added. You’ll see the same effect from running scanimage -L
. I wonder if it would be possible to have colord-sane
only check the new device or handle the removed device when it’s invoked as a result of a udev
rule...
Since installing colord with SANE support for a scanner, whenever I unsuspend my desktop our all-in-one printer suddenly gets woken up. A bit of wiresharking later and we figured out that this happens b/c my desktop connects to port 9400 on the target printer.
I can observe this behaviour by running
while true; do ss -antp | grep 9400 && sleep 1; done
and then suspending and waking up my desktop. This results in:Though I can understand colord being interested in the scanner, I don't understand why it does this every time I unsuspend my desktop. I would expect it to not interact with the device until I actually start something like simple-scan.
Is there some configuration that lets me turn off this behaviour?
This happens on an Arch Linux box with: