Confused with scanner and libusb

gaetan yavorsky gaetan.yavorsky at easy-france.com
Sun Jan 2 12:06:23 UTC 2005


Hi,
Moving from FC1 to FC3
Prior to FC3, I had a script like :
res=`/usr/bin/scanimage --mode Color -d epson:/dev/usb/scanner0 --
resolution 100 |/usr/bin/pnmtojpeg >$1`

Now, scanimage -L shows :device `epson:libusb:002:012' is a Epson
StylusScan2500 flatbed scanner

But the problem is that the libusb:xxx:yyy is changing each time the
scanner is plugged in.
Is there any way to make a symlink to something like /dev/scanner, to
use always the same device ?

Thanks.
Gaetan Yavorsky






More information about the fedora-list mailing list