On 10/25/06, Johannes Meixner <[EMAIL PROTECTED]> wrote:
Unfortunately, it does require a database of models to know which have scanners and further which scanners are supported (which HPLIP has in the way of XML files (currently)). But, I guess I don't understand the request. Isn't it the backend's job (hpaio: in this case) to detect scanners? Each backend gets called with the sane_get_devices() API to ennumerate the available devices. For HPLIP, hpaio: does this. Why would knowledge of specific devices be hard coded into the generic sane-find-scanner?
We will have to check the code to see under what condition(s) this error message is generated. I will probably have to wait for Dave to return to the office to get a definitive answer, next week.
Yes, I agree, this would be a great feature. Since we adopted this code from HPOJ, we took it pretty much as-is, without this feature. I will certainly add this request to our TODO list.
Thanks,
Don
Hello,
On Oct 24 17:03 Robert Smits wrote (shortened):
> I have an HP 3300 USB scanner/printer at the office. Until recently it worked
> just fine, scanning and printing from my SuSE 9.3 installation.
>
> Upgrading the computer to SuSE 10.1 has broken my box. I can get the printer
> to work but Yast can never find the scanner at all, and even installing the
> scanner doesn't seem to work.
YaST cannot autodetect scanners in HP all in one devices
(see the YaST help text) because those devices show up as
plain printers at the USB and YaST relies on "sane-find-scanner"
regarding scanner detection.
Nevertheless you can set up a scanner in a HP all in one device
by manually selecting the model in the YaST scanner setup.
All what YaST does is to enable and start the matching services
(either ptal or hplip) and activate the matching SANE backend
(either hpoj or hpaio).
To HP:
Perhaps you can suggest a patch for "sane-find-scanner"
so that it can even autodetect HP all in one devices?
Is there any scanner-specific hint in the USB device infos
(i.e. in what "lsusb -v" shows) for HP all in one devices
to distinguish a HP all in one device from a plain HP printer
(except form a hardcoded list of product IDs)?
Unfortunately, it does require a database of models to know which have scanners and further which scanners are supported (which HPLIP has in the way of XML files (currently)). But, I guess I don't understand the request. Isn't it the backend's job (hpaio: in this case) to detect scanners? Each backend gets called with the sane_get_devices() API to ennumerate the available devices. For HPLIP, hpaio: does this. Why would knowledge of specific devices be hard coded into the generic sane-find-scanner?
> I have installed the latest HPLIP 1.69 driver (with kpackage, and that seemed
> to go just fine. I installed the printer both from Yast and CUPS but nothing
> ever seems able to find the scanner.
>From where did you get "the latest HPLIP 1.69 driver"
(excat URL)?
How exactly did you install it (exact messages from the
installation tool)?
Note what I wrote and what I always write on this list
regarding new HPLIP versions for older Suse Linux versions:
------------------------------------------------------------------------
HPLIP 1.6.10 packages built for Suse Linux 10.1
for 32-bit Intel compatible (i586) and for 64-bit AMD (x86_64)
are available for testing (and only for testing) at
ftp://ftp.suse.com/pub/people/jsmeix/unsupported/hplip/10.1/
There are incompatibilities with our official HPLIP
packages in Suse Linux 10.1.
Be prepared that your existing configuration may no longer work
with the new packages and/or that there may be no YaST support
for the new packages, see for example
https://bugzilla.novell.com/show_bug.cgi?id=184798
Note the "unsupported" and read the README:
ftp://ftp.suse.com/pub/people/jsmeix/unsupported/hplip/10.1/RPMS/README
------------------------------------------------------------------------
> labour:~ # lpstat -v
> device for HP3300: hp:/usb/HP_LaserJet_3300_3310_3320?serial=00SGL1C10HF8
> labour:~ # scanimage -L
> device `hpaio:/usb/HP_LaserJet_3300_3310_3320?serial=00SGL1C10HF8' is a hp
> HP_LaserJet_3300_3310_3320 multi-function peripheral
Everything looks o.k. regarding the plain setup of the device.
You do have a print queue "HP3300"
and the SANE backend hpaio is activated and it recognizes the
scanner unit in the HP all in one device.
> labour:~ # scanimage
> scanimage: sane_start: Document feeder out of documents
> labour:~ #
>
> That's odd because this printer/scanner doesn't have a document feeder,
> although I understand it was available as an option.
This shows that the SANE backend hpaio is correctly set up
because it does run and communicate with the device.
But for an unknown reason it reports the "Document feeder
out of documents" error.
I assume you have placed a document on the flatbed scanning unit
but nevertheless it seems the hpaio backend insists to get the
document via the optional document feeder?
We will have to check the code to see under what condition(s) this error message is generated. I will probably have to wait for Dave to return to the office to get a definitive answer, next week.
To HP:
As far as I know the hpaio backend does not support the usual
SANE debugging mode via
-------------------------------------------------------------------------
export SANE_DEBUG_HPAIO=128
scanimage -T -d hpaio:/usb/HP_LaserJet_3300_3310_3320?serial=00SGL1C10HF8
-------------------------------------------------------------------------
see
http://en.opensuse.org/SDB:Configuring_Scanners_from_SUSE_LINUX_9.2
"Trouble-Shooting (Debugging)"
I think it would be really helpful if the hpaio backend supports
the usual SANE debugging mode (instead of having to search
through tons of system mesages in /var/log/messages).
Yes, I agree, this would be a great feature. Since we adopted this code from HPOJ, we took it pretty much as-is, without this feature. I will certainly add this request to our TODO list.
Thanks,
Don
Kind Regards
Johannes Meixner
--
SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: [EMAIL PROTECTED]
90409 Nuernberg, Germany WWW: http://www.suse.de/
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ HPLIP-Help mailing list HPLIP-Help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hplip-help