[josh@stanton:~]$ scanimage -L
device `v4l:/dev/video2' is a Noname Integrated Camera: Integrated I virtual device
device `v4l:/dev/video0' is a Noname Integrated Camera: Integrated C virtual device
device `escl:https://10.0.0.11:443' is a ESCL Home Office Laserjet platen,adf scanner
I’m not sure if the “ESCL” portion is an issue. I can’t remember if that was displayed in Fedora.
But, anytime I try and actually do a scan, that scanner cannot be opened:
Also, I tried the sane-extra-config.nix from the Wiki, but I can’t get it right. I just get this on rebuild:
[root@stanton:/etc/nixos]# nixos-rebuild switch
building Nix...
building the system configuration...
error: store path 'dzjbsdmbn1nix36hzm3nrwg8z6vvmhaq-' has an empty name
(use '--show-trace' to show detailed location information)
So, what’s next? I’m still pretty new to the nix config, but not to Linux in general.
I got it working last night. Randomly found a Youtube video where a guy showed his config and mentioned that he added this stuff to the avahi service to get scanning to work:
The publish section is what I did not have before. Now when I search for scanners:
$ scanimage -L
device `hpaio:/net/HP_ColorLaserJet_MFP_M278-M281?ip=10.0.0.11' is a Hewlett-Packard HP_ColorLaserJet_MFP_M278-M281 all-in-one
device `v4l:/dev/video2' is a Noname Integrated Camera: Integrated I virtual device
device `v4l:/dev/video0' is a Noname Integrated Camera: Integrated C virtual device
device `escl:https://10.0.0.11:443' is a ESCL Home Office Laserjet platen,adf scanner
The first device hpaio appears that did not before. And scanning works.