With an Epson Perfection 1250 scanner I needed to get the plustek backend to be used, so following instructions I made this file:
/usr/local/etc/sane.d/plustek.conf:
[usb] Epson 0x04B8
device auto
While doing this I found there was no /dev/sgX or /dev/scanner type device created. The only place it appeared in /dev was as a usb device, but the number changes when unplugged and replaced, and it is in a different directory when a different USB port is used so that is not so helpful:
$ ls -l /dev/bus/usb/006/005
crw-rw-r--+ 1 root scanner 189, 644 Aug 19 13:42 /dev/bus/usb/006/005
$ ls -l /dev/bus/usb/007/002
crw-rw-r--+ 1 root scanner 189, 769 Aug 19 21:25 /dev/bus/usb/007/002
Luckily the "device auto" line works and auto finds the scanner without specifying a particular special device. But I wondered if there is something missing in the Artix config that should be auto creating a more usable / predictable device node.
I also looked at creating the missing thing manually, although didn't pursue it after the scanner worked (although after doing 2 or 3 scans half the image is yellow tinged and the other half red tinged so you have to turn off the scanner and shut xsane then start again), and I found there are 2 man pages for makedev on my OS:
$ pacman -Qo /usr/share/man/man3/gnu_dev_makedev.3.gz
/usr/share/man/man3/gnu_dev_makedev.3.gz is owned by man-pages 5.02-1
$ pacman -Qo /usr/share/man/man3/makedev.3.gz
/usr/share/man/man3/makedev.3.gz is owned by man-pages 5.02-1
But there is no makedev anywhere, so why have the man pages? Or there should be a makedev to go with them. Not much sense like it is I think.