More playing around with the scanner today, trying to get devd to recognize it correctly. Somehow I'm missing something here. In principle, this entry in /etc/devd.conf should do the trick:
match "vendor" "0x04b8";
match "product" "0x012a";
action "logger EPSON Scanner connected; chmod 666 /dev/$device-name";
But what I get is the output for the nomatch rule:
Aug 18 10:27:18 eureka kernel: ugen5.7: <EPSON> at usbus5
I haven't found any documentation for the regular expression for the device name, but I've tried various methods, and none seem to match, even if I omit the device-name specification. What's wrong here? There's also the question of why I need to set the permissions: I have 13 other ugen devices, and they all have 666 permissions. But this one gets 600. Is that because it wasn't recognized? I suppose I should take another look at the devfs rules.