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
On Sun, 02 Jan 2005 13:06:23 +0100, gaetan yavorsky gaetan.yavorsky@easy-france.com wrote:
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
Take a look at this thread. http://www.fedoraforum.org/forum/showthread.php?t=26744
gaetan.yavorsky@easy-france.com wrote:
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
Take a look at this thread.
Thanks for the link. Up to now, iscan is working whith my scanner. (but scanimage & xsane already did !) My problem is to know the scanner device in a shell script. For example, what is the device I have to specify to scanimage in my script. Before, I simply specified /dev/usb/scanner0 and it was working even I unplugged & plugged the scanner. Now, the device detected by scanimage -L is never the same.
Le dimanche 02 janvier 2005 à 07:18 -0500, John Cox a écrit :
gaetan.yavorsky@easy-france.com wrote:
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
Take a look at this thread.