Here is a bug reported by a Debian user of sane. The error message is
quite difficult to understand. It would be good to have a clearer
message.
If the access permissions for the physical device are inadequate, scanimage
fails with a very misleading error message:
$ scanimage -d hp:/dev/scanner --resolution=300dpi --mode Color > /tmp/ol.pnm
[sanei_init_debug]: Setting debug level of hp to 128.
[hp] attach: opening /dev/scanner
[hp] attach: open failed (Invalid argument)
[hp] attach: opening /dev/scanner
[hp] attach: open failed (Invalid argument)
scanimage: open of device hp:/dev/scanner failed: Invalid argument
When the permissions on /dev/sgc were changed to 666, the problem
went away.
Please change the error message to indicate the nature of any problem
encountered.
-- Kevin Dalley kevind@rahul.net
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com