[sane-devel] '--device-name=dev' works but '-d dev' fails

Alain.Cochard at unistra.fr Alain.Cochard at unistra.fr
Fri Sep 12 05:50:22 BST 2025


Hello.

$ scanimage --device-name='airscan:e0:Canon TS5000 series' --format=jpeg > certif.jpg

worked as expected but

$ scanimage -d 'airscan:e0:Canon TS5000 series' --format=jpeg > certif.jpg

failed.  The file is void and I get this message:

scanimage: open of device airscan:e0:Canon TS5000 series failed: Invalid argument

Incidentally:

$ scanimage -L

gives me

device `v4l:/dev/video2' is a Noname Integrated_Webcam_HD: Integrate virtual device
device `v4l:/dev/video0' is a Noname Integrated_Webcam_HD: Integrate virtual device
device `airscan:e0:Canon TS5000 series' is a eSCL Canon TS5000 series ip=192.168.1.4

and it took me a while to find out that I needed the quotes for this command to work:

$ scanimage --help -d 'airscan:e0:Canon TS5000 series'

It makes sense, but it might be mentioned in the man page.

Also

$ scanimage -h -d 'airscan:e0:Canon TS5000 series'

fails (with same message as above) which is surprising.

Regards

$ uname -a
Linux frac 6.14.5-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May  2 14:06:21 UTC 2025 x86_64 GNU/Linux

PS: at http://www.sane-project.org/mailing-lists.html I read

   You need to be subscribed to be able to send mail to this list. If you
   are not subscribed, your mail may be approved by the moderator but that
   can take some time.

which is clear enough.  However, at
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel, I only
see

   You need to be subscribed to be able to send mail to this list.

-- 
EOST (École et Observatoire des Sciences de la Terre) 
ITE (Institut Terre & Environnement) | alain.cochard at unistra.fr
5 rue René Descartes                 | Phone: +33 (0)3 68 85 50 44 
F-67084 Strasbourg Cedex, France     | bureau 110, ancien bât.



More information about the sane-devel mailing list