[sane-devel] Block device USB port

Josu Lazkano josu.lazkano at gmail.com
Sat Jan 16 13:00:30 UTC 2010


Thanks for the reply.

Sorry about my ignorance, but I don't know what is the "backend". I am new
on this item.

Thanks for all.

2010/1/16 stef <stef.dev at free.fr>

> Le samedi 16 janvier 2010 13:08:21 Josu Lazkano, vous avez écrit :
> > Thanks for the reply, on the Desktop PC I just have one scanner, but on
> the
> > laptop when I make a "scanimage -L" it detects first the webcam, so I
> must
> > add the "-d" argument.
> >
> > Regards.
> >
> > 2010/1/16 m. allan noah <kitno455 at gmail.com>
> >
> > > if you only have one scanner, you dont need to use the -d argument.
> > >
> > > allan
> > >
> > > On Sat, Jan 16, 2010 at 6:27 AM, Josu Lazkano <josu.lazkano at gmail.com>
> > >
> > > wrote:
> > > > Hello everybody! I have a HP ScanJet 2400 scanner. I can scan
> normally
> > >
> > > with
> > >
> > > > this command:
> > > >
> > > > scanimage -d hp2400:libusb:001:006 --format=tiff > Desktop/image.tiff
> > > >
> > > > But if I change the scanner USB port, the device address change:
> > > >
> > > > $ scanimage -L
> > > > device `hp2400:libusb:001:004' is a Hewlett-Packard hp2400 flatbed
> > >
> > > scanner
> > >
> > > > $ scanimage -L
> > > > device `hp2400:libusb:001:005' is a Hewlett-Packard hp2400 flatbed
> > >
> > > scanner
> > >
> > > > $ scanimage -L
> > > > device `hp2400:libusb:001:006' is a Hewlett-Packard hp2400 flatbed
> > >
> > > scanner
> > >
> > > > I use the "scanimage" command on a script, so if I change the USB
> port
> > > > I must edit script.
> > > >
> > > > Is possible to assign always the same port?
> > > >
> > > > Thanks for all!!!
> > > >
> > > > --
> > > > Josu Lazkano
> > > >
> > > > --
> > > > sane-devel mailing list: sane-devel at lists.alioth.debian.org
> > > > http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> > > > Unsubscribe: Send mail with subject "unsubscribe your_password"
> > > >             to sane-devel-request at lists.alioth.debian.org
> > >
> > > --
> > > "The truth is an offense, but not a sin"
> >
>
>         Hello,
>
>        some backends let you use the '-d backendname' option to choose the
> frist
> scanner supported by the backend. The genesys backend does this but doesn't
> support the HP2400 yet. May be the backend you use support this ?
>
> Regards,
>         Stef
>



-- 
Josu Lazkano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20100116/e001f5d1/attachment.htm>


More information about the sane-devel mailing list