[sane-devel] Block device USB port

Josu Lazkano josu.lazkano at gmail.com
Sat Jan 16 12:08:21 UTC 2010


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"
>



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


More information about the sane-devel mailing list