[sane-devel] Block device USB port

Josu Lazkano josu.lazkano at gmail.com
Sat Jan 16 11:27:14 UTC 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20100116/9d28bf00/attachment-0001.htm>


More information about the sane-devel mailing list