[SLE] hplip-0.9.11 on 10.1
Recently installed 10.1 after accidental blowing away 10.0. So far glad I did it, but on 10.0 I was able to install hplip-0.9.11 and get full functionality of HP Device Manager. With 10.1 I get the following: ncc1701f:/opt/hplip-0.9.11 # make Making all in . make[1]: Entering directory `/opt/hplip-0.9.11' if gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"0.9.11\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 0.9.11\" -DPACKAGE_BUGREPORT=\"0.9.11.11\" -DPACKAGE=\"hplip\" -DVERSION=\"0.9.11 \" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBUSB=1 -DSTDC_HEADERS=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_PPORT=1 -DHAVE_LIBSNMP=1 -I. -I. -Iprnt/hpijs -Iip -g -O2 -MT usbext.o -MD -MP -MF ".deps/usbext.Tpo" -c -o usbext.o `test -f 'io/hpiod/usbext.c' || echo './'`io/hpiod/usbext.c; \ then mv -f ".deps/usbext.Tpo" ".deps/usbext.Po"; else rm -f ".deps/usbext.Tpo"; exit 1; fi In file included from io/hpiod/usbext.h:37, from io/hpiod/usbext.c:27: /usr/include/linux/usbdevice_fs.h:49: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘*’ token /usr/include/linux/usbdevice_fs.h:56: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘*’ token /usr/include/linux/usbdevice_fs.h:66: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘*’ token /usr/include/linux/usbdevice_fs.h:100: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘*’ token /usr/include/linux/usbdevice_fs.h:116: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘*’ token make[1]: *** [usbext.o] Error 1 make[1]: Leaving directory `/opt/hplip-0.9.11' make: *** [all-recursive] Error 1 Any suggestions? I have my Multifunction printer (HP-PSC2610v) as a network printer through 100Base-T. I'm able to print but I would like the latest version of hplip so that I can use the other features of it, such as FAX, Scanner and memory card reader. TIA -- Scott Castaline aka Bad2theBone Hey, I was born crazy, what's your excuse?!?! -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Hello, On Jun 9 11:23 Scott Castaline wrote (shortened):
ncc1701f:/opt/hplip-0.9.11 # make ... /usr/include/linux/usbdevice_fs.h:49: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
-------------------------------------------------------------------- --- io/hpiod/usbext.h.orig 2006-05-19 15:59:46.000000000 +0200 +++ io/hpiod/usbext.h 2006-05-19 16:00:57.000000000 +0200 @@ -34,6 +34,7 @@ #if defined(__APPLE__) && defined(__MACH__) #else +#include <linux/compiler.h> #include <linux/usbdevice_fs.h> #ifdef __cplusplus -------------------------------------------------------------------- You may have to remove ~/.hplip.conf to run newest HPLIP - there are some incompatibilities with older HPLIP versions. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/ -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Mon, 2006-06-12 at 10:49 +0200, Johannes Meixner wrote:
Hello,
On Jun 9 11:23 Scott Castaline wrote (shortened):
ncc1701f:/opt/hplip-0.9.11 # make ... /usr/include/linux/usbdevice_fs.h:49: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
-------------------------------------------------------------------- --- io/hpiod/usbext.h.orig 2006-05-19 15:59:46.000000000 +0200 +++ io/hpiod/usbext.h 2006-05-19 16:00:57.000000000 +0200 @@ -34,6 +34,7 @@
#if defined(__APPLE__) && defined(__MACH__) #else +#include <linux/compiler.h> #include <linux/usbdevice_fs.h>
#ifdef __cplusplus --------------------------------------------------------------------
You may have to remove ~/.hplip.conf to run newest HPLIP - there are some incompatibilities with older HPLIP versions.
Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/
I removed hplip.conf from /etc/hp. stopped both hplip and cupsd redid rpm -Uhv for the 0.9.11 rpm file reran ldconf reran SuSEconfig restarted hplip & cupsd (I noticed that hpssd gave back an ok status, but hpiod gave back a FAILED status) still can't configure hpfax on the web interface. also when I try to use the CLI commands (hp-setup, hp-makeuri <ip-address of printer> I get respective command not found - which worked fine for 10.0) I then as root went back to /opt where I had unpacked the original source tar ball and reran ./configure and then make which produced the same error as before. Any sugg. IANAP so I'm not sure what you were trying to point out in your excerpt. TIA -- Scott Castaline aka Bad 2theBone Hey, I was born crazy, what's your excuse?!?! -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Hello, On Jun 12 17:03 Scott Castaline wrote (shortened):
... hpiod gave back a FAILED status
Without an exact error message I cannot help you. A general reminder: If you use software packages which you did not get from our official software sources (our CDs or DVDs or our official software updates) and/or if you use self-compiled software, we do not provide support for such software (except via special support contracts).
IANAP so I'm not sure what you were trying to point out in your excerpt.
It is a patch. This is not the right place to explain compilation of software in detail. If you don't know what to do with patches, I suggest to give up to compile it from source. You may better try ftp://ftp.suse.com/pub/people/jsmeix/unsupported/hplip/ This is no official software source, note the "unsupported" and read the README. Or simply wait until HPLIP with fax support is well included in our future products (until then you can do faxing stand-alone directly at the device). Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/ -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Tue, 2006-06-13 at 11:30 +0200, Johannes Meixner wrote:
Hello,
On Jun 12 17:03 Scott Castaline wrote (shortened):
... hpiod gave back a FAILED status
Without an exact error message I cannot help you.
A general reminder: If you use software packages which you did not get from our official software sources (our CDs or DVDs or our official software updates) and/or if you use self-compiled software, we do not provide support for such software (except via special support contracts).
IANAP so I'm not sure what you were trying to point out in your excerpt.
It is a patch. This is not the right place to explain compilation of software in detail. If you don't know what to do with patches, I suggest to give up to compile it from source.
You may better try ftp://ftp.suse.com/pub/people/jsmeix/unsupported/hplip/ This is no official software source, note the "unsupported" and read the README.
Or simply wait until HPLIP with fax support is well included in our future products (until then you can do faxing stand-alone directly at the device).
Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/
I'm a happy camper once again. I hadn't checked the ftp site that you referenced since early yesterday. I didn't think that a fix would be out so fast. Thanks again, but just out of curiosity, what changed between 10.0 and 10.1 that would affect hplip? -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Hello, On Jun 13 12:20 Scott Castaline wrote (shortened):
just out of curiosity, what changed between 10.0 and 10.1 that would affect hplip?
I don't know what you mean. For me both new versions work well both for 10.0 and 10.1. For your information: There is a usblp<->usbfs/libusb conflict: The current HPLIP "hp" backend removes HP USB-printers from the USB device list (it uses libusb) so that the CUPS usb backend will no longer work with those printers. Remember that during startup of cupsd all backends are executed so that at the moment no HP USB-printer works with the CUPS usb backend if HPLIP is installed. According to the HPLIP developers this will change the future: ------------------------------------------------------------------------- HPLIP developer wrote (shortened):
I have fixed this in the "hp" backend for the next release. A device discovery in the "hp" backend will no longer remove the usblp for that URI. But, any other I/O (ie: printing, toolbox or scanning) will remove usblp for that URI which would disable the "usb" backend for that URI.
Could you explain why the "usb" backend and the "hp" backend can no longer co-exist for "real" I/O?
When they cannot co-exist for "real" I/O, there will be the problem that a queue can be set up using "usb" because it can detect the printer and a second queue for the same device can be set up using "hp" because it also detects the device but then the "usb"-queue stops to work as soon as the "hp"-queue was used once.
[...] Yes, this is a general kernel problem. You cannot have two different drivers (kernel modules) talking to the same USB device. In this case usblp and usbfs (ie: libusb). I have talked to Michael Sweet, and he is planning on releasing a libusb version of the CUPS "usb" backend. Once both backends use libusb the problem goes away. ------------------------------------------------------------------------- Kind Regards, Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/ -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Wed, 2006-06-14 at 12:04 +0200, Johannes Meixner wrote:
Hello,
On Jun 13 12:20 Scott Castaline wrote (shortened):
just out of curiosity, what changed between 10.0 and 10.1 that would affect hplip?
I don't know what you mean. For me both new versions work well both for 10.0 and 10.1.
For your information:
There is a usblp<->usbfs/libusb conflict:
The current HPLIP "hp" backend removes HP USB-printers from the USB device list (it uses libusb) so that the CUPS usb backend will no longer work with those printers. Remember that during startup of cupsd all backends are executed so that at the moment no HP USB-printer works with the CUPS usb backend if HPLIP is installed.
According to the HPLIP developers this will change the future: ------------------------------------------------------------------------- HPLIP developer wrote (shortened):
I have fixed this in the "hp" backend for the next release. A device discovery in the "hp" backend will no longer remove the usblp for that URI. But, any other I/O (ie: printing, toolbox or scanning) will remove usblp for that URI which would disable the "usb" backend for that URI.
Could you explain why the "usb" backend and the "hp" backend can no longer co-exist for "real" I/O?
When they cannot co-exist for "real" I/O, there will be the problem that a queue can be set up using "usb" because it can detect the printer and a second queue for the same device can be set up using "hp" because it also detects the device but then the "usb"-queue stops to work as soon as the "hp"-queue was used once.
[...]
Yes, this is a general kernel problem. You cannot have two different drivers (kernel modules) talking to the same USB device. In this case usblp and usbfs (ie: libusb).
I have talked to Michael Sweet, and he is planning on releasing a libusb version of the CUPS "usb" backend. Once both backends use libusb the problem goes away. -------------------------------------------------------------------------
Kind Regards, Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/
Thanks for the response. I'm very happy withit status quo since I don't use the usb interface, but go through the net iface. -- Scott Castaline aka Bad2theBone Hey, I was born crazy, what's your excuse?!?! -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (2)
-
Johannes Meixner
-
Scott Castaline