Re: Confused with scanner and libusb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx> 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
> 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux