Another Common Dialog
Quoted 18 lines · Hin-Tak Leung
Quoted 16 lines · David
Hi Johannes,
Quoted 4 lines
From: Johannes Meixner [mailto:[email protected]] Hello David,
On Apr 17 17:55 Suffield, David wrote (shortened):
Quoted 1 line
Quoted 1 line
As far as I know you cannot derect a scanner
or memory card unit
Quoted 1 line
Quoted 1 line
Quoted 1 line
in a HP all-in-one device on the operating
system level, see
Quoted 3 lines
Quoted 1 line
[...]
Quoted 1 line
All newer HP all-in-ones with photocard readers
enumerate
Quoted 1 line
Quoted 1 line
as Mass Storage device. Some of the first
photocard readers
Quoted 1 line
Quoted 1 line
required 1284.4/MLC, but not anymore.
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
How does the scanner unit enumerate nowadays?
There is no change with scanner USB enumeration. As far as I know there is no well defined "scanner" interface like the "mass storage" interface.
Sorry to catch this thread a little late and missed the earlier exchange... just want to say that the USB specification has an imaging device class (I don't remember the precise name), besides printer and mass storage. The imaging device class is where many usb-capable digital camera/camcorder appears as. I think the class is called ptp but can't remember the name...
granted most scanners uses twain under windows and sane on linux, (and some sort of twain-sane bridge in wine), but often proprietary - somebody correct me. presumably libsane has a way of enumerating scanner devices, if there is no bus contention between accessing other functionalties such as printing and storage?
As far as I remember libsane considers as scanner what has a vendor/product ID pair in the hardcoded list of one of the SANE backends (or even a hardcoded overview list which is part of SANE).
Till
Quoted 10 lines · Hin-Tak Leung
Quoted 7 lines · David
Quoted 3 lines
From: Johannes Meixner [mailto:[email protected]]
How does the scanner unit enumerate nowadays?
There is no change with scanner USB enumeration. As far as I know there is no well defined "scanner" interface like the "mass storage" interface.
Quoted 5 lines
[snip] ... just want to say that the USB specification has an imaging device class (I don't remember the precise name), besides printer and mass storage. The imaging device class is where many usb-capable digital camera/camcorder appears as. I think the class is called ptp but can't remember the name...
There was a scanner device class in a draft of the USB spec (ID = 6) but that never made the cut for the final standard :-( As a result the bulk of the USB scanners now use the vendor specific class (ID = 255). There may be some that use something else but there is NO reliable way you can identify a scanner device short of consulting a database (which needs to be updated continuously to account for new devices hitting the shelves).
FWIW, SCSI devices are a little bit better off but even there all is not well. Although the bulk identify themselves as a SCANNER, there are a number of (Epson and HP) devices that think they are a PROCESSOR.
There has been some discussion regarding SCSI scanner on the sane-devel mailing list in the threads below:
http://lists.alioth.debian.org/pipermail/sane-devel/2009-January/023456.html
http://lists.alioth.debian.org/pipermail/sane-devel/2009-January/023507.html
http://lists.alioth.debian.org/pipermail/sane-devel/2009-January/023528.html
Hope this helps,
Signature · 3 lines
Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation
FSF Associate Member #1962 Help support software freedom
http://www.fsf.org/jf?referrer=1962