Quantcast

More recent build of hplip?

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

More recent build of hplip?

peter.verthez
Hi,

Would it be possible to provide a more recent build of hplip?  

The currently available build is 3.11.3a-1, and with that I could successfully scan from my laptop with my HP PSC printer connected to my Synology NAS.   However, I had to replace that printer due to a malfunction, and now I have an HP PhotoSmart 5520, which is only supported from hplip 3.12.6 (latest version is 3.13.11).  

I tried simply copying over the models.dat file from the installation on my laptop, but it's apparently not as easy as that.  GIMP on my laptop then finds the scanner, but the scanning dialog complains about invalid field values.  

So I guess I really need a complete update of the hplip package.  The currently available package is 2.5 years old, so I suppose it's due for an update...

Thanks in advance,
Peter.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: More recent build of hplip?

Craig Noble
Which Synology NAS do you have?

Cheers,
Craig.

--- In [hidden email], <peter.verthez@...> wrote:

>
> Hi,
>
> Would it be possible to provide a more recent build of hplip?
>
> The currently available build is 3.11.3a-1, and with that I could successfully scan from my laptop with my HP PSC printer connected to my Synology NAS.   However, I had to replace that printer due to a malfunction, and now I have an HP PhotoSmart 5520, which is only supported from hplip 3.12.6 (latest version is 3.13.11).
>
> I tried simply copying over the models.dat file from the installation on my laptop, but it's apparently not as easy as that.  GIMP on my laptop then finds the scanner, but the scanning dialog complains about invalid field values.
>
> So I guess I really need a complete update of the hplip package.  The currently available package is 2.5 years old, so I suppose it's due for an update...
>
> Thanks in advance,
> Peter.
>


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: More recent build of hplip?

peter.verthez
On 29-12-13 04:39, ipsen200 wrote:
> Which Synology NAS do you have?

It's a Synology DS112 running DSM 4.2.

When running ipkg update, it gets its updates from
http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/Packages.gz

Cheers,
Peter.


>
> Cheers,
> Craig.
>
> --- In [hidden email], <peter.verthez@...> wrote:
>> Hi,
>>
>> Would it be possible to provide a more recent build of hplip?
>>
>> The currently available build is 3.11.3a-1, and with that I could successfully scan from my laptop with my HP PSC printer connected to my Synology NAS.   However, I had to replace that printer due to a malfunction, and now I have an HP PhotoSmart 5520, which is only supported from hplip 3.12.6 (latest version is 3.13.11).
>>
>> I tried simply copying over the models.dat file from the installation on my laptop, but it's apparently not as easy as that.  GIMP on my laptop then finds the scanner, but the scanning dialog complains about invalid field values.
>>
>> So I guess I really need a complete update of the hplip package.  The currently available package is 2.5 years old, so I suppose it's due for an update...
>>
>> Thanks in advance,
>> Peter.
>>
>


--
===================================================================
Peter Verthez                                     Software engineer
Email:                               mailto:[hidden email]
WWW:                                    http://www.peterverthez.net
PGP key:        on homepage (see above) or http://www.keyserver.net
===================================================================

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: More recent build of hplip? [2 Attachments]

Alex Potapenko
In reply to this post by peter.verthez
I've managed to upgrade hplip to the latest version. I can't test it, but
it builds fine and *might* work ok. See hplip makefile attached, together
with it's additional dependency libusb1. You can build them yourself *or *tell
me which syno feed you're using and trust me to do it for you. Anyway, it
would be nice if you could test it.


2013/12/28 <[hidden email]>

>
>
> Hi,
>
> Would it be possible to provide a more recent build of hplip?
>
> The currently available build is 3.11.3a-1, and with that I could
> successfully scan from my laptop with my HP PSC printer connected to my
> Synology NAS.   However, I had to replace that printer due to a
> malfunction, and now I have an HP PhotoSmart 5520, which is only supported
> from hplip 3.12.6 (latest version is 3.13.11).
>
> I tried simply copying over the models.dat file from the installation on
> my laptop, but it's apparently not as easy as that.  GIMP on my laptop then
> finds the scanner, but the scanning dialog complains about invalid field
> values.
>
> So I guess I really need a complete update of the hplip package.  The
> currently available package is 2.5 years old, so I suppose it's due for an
> update...
>
> Thanks in advance,
> Peter.
>  
>



--
Best regards,
Alex Potapenko
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: More recent build of hplip?

Paul Sokolovsky
Hello,

On Sun, 29 Dec 2013 16:06:52 +0200
Alex Potapenko <[hidden email]> wrote:

> I've managed to upgrade hplip to the latest version. I can't test it,
> but it builds fine and *might* work ok. See hplip makefile attached,
> together with it's additional dependency libusb1. You can build them
> yourself *or *tell me which syno feed you're using and trust me to do
> it for you. Anyway, it would be nice if you could test it.

libusb1 is on its own a very worthy addition - there's currently only
libusb 0.1 package is Optware, which none of contemporary software
uses. I hope to try it over holidays. One quick comment is that
libusb1.mk contains superfluous (and potentially confusing) comments
(referencing SANE, etc.)

>
>
> 2013/12/28 <[hidden email]>
>
> >
> >
> > Hi,
> >
> > Would it be possible to provide a more recent build of hplip?
> >
> > The currently available build is 3.11.3a-1, and with that I could
> > successfully scan from my laptop with my HP PSC printer connected
> > to my Synology NAS.   However, I had to replace that printer due to
> > a malfunction, and now I have an HP PhotoSmart 5520, which is only
> > supported from hplip 3.12.6 (latest version is 3.13.11).
> >
> > I tried simply copying over the models.dat file from the
> > installation on my laptop, but it's apparently not as easy as
> > that.  GIMP on my laptop then finds the scanner, but the scanning
> > dialog complains about invalid field values.
> >
> > So I guess I really need a complete update of the hplip package.
> > The currently available package is 2.5 years old, so I suppose it's
> > due for an update...
> >
> > Thanks in advance,
> > Peter.
> >  
> >
>
>
>
> --
> Best regards,
> Alex Potapenko



--
Best regards,
 Paul                          mailto:[hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: More recent build of hplip?

Alex Potapenko
Hello Paul,

Sorry for the sane-related comments. I used libusb.mk as a basis for
writing libusb1.mk, and replaced the header comments containing libusb
package versions history with the usual stuff, like the one in template.mk.
Took it from sane-backends.mk, since I was upgrading it to v1.0.24 a little
earlier. Just forgot to replace all occurrences



Peter,

I've built hplip-3.13.11 and libusb-1.0.9 for cs08q1armel target. You can
give them a go if you want to:

http://www.mediafire.com/download/14d0b0pgj15ohfq/libusb1_1.0.9-1_arm.ipk
http://www.mediafire.com/download/9vwxdh4mww3h2i3/hplip_3.13.11-1_arm.ipk

Hope it works
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: More recent build of hplip? [1 Attachment]

Alex Potapenko
I also made another mistake: a trailing slash in the LIBUSB1_SITE variable
value, leading to a double slash in the address passed on to wget and an
HTTP 404 error as a result.

That being sad, here's the fixed version


2013/12/29 Alex Potapenko <[hidden email]>

> Hello Paul,
>
> Sorry for the sane-related comments. I used libusb.mk as a basis for
> writing libusb1.mk, and replaced the header comments containing libusb
> package versions history with the usual stuff, like the one in template.mk.
> Took it from sane-backends.mk, since I was upgrading it to v1.0.24 a
> little earlier. Just forgot to replace all occurrences
>
>
>
> Peter,
>
> I've built hplip-3.13.11 and libusb-1.0.9 for cs08q1armel target. You can
> give them a go if you want to:
>
> http://www.mediafire.com/download/14d0b0pgj15ohfq/libusb1_1.0.9-1_arm.ipk
> http://www.mediafire.com/download/9vwxdh4mww3h2i3/hplip_3.13.11-1_arm.ipk
>
> Hope it works
>



--
Best regards,
Alex Potapenko
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: More recent build of hplip? [1 Attachment]

Craig Noble
Alex,

While libusb1 is a great addition, it's not needed to build the most recent hplip.

You can use the configure option "--enable-libusb01_build".

Makefile attached.

Also, did you find out who to get a key from? I have several patches for broken download links.

Cheers,
Craig.




On Sunday, December 29, 2013 5:46 PM, Alex Potapenko <[hidden email]> wrote:

 
[Attachment(s) from Alex Potapenko included below]
I also made another mistake: a trailing slash in the LIBUSB1_SITE variable value, leading to a double slash in the address passed on to wget and an HTTP 404 error as a result.

That being sad, here's the fixed version




2013/12/29 Alex Potapenko <[hidden email]>

Hello Paul,

>
>
>Sorry for the sane-related comments. I used libusb.mk as a basis for writing libusb1.mk, and replaced the header comments containing libusb package versions history with the usual stuff, like the one in template.mk. Took it from sane-backends.mk, since I was upgrading it to v1.0.24 a little earlier. Just forgot to replace all occurrences
>
>
>
>
>
>
>Peter,
>
>
>I've built hplip-3.13.11 and libusb-1.0.9 for cs08q1armel target. You can give them a go if you want to:
>
>
>http://www.mediafire.com/download/14d0b0pgj15ohfq/libusb1_1.0.9-1_arm.ipk
>
>http://www.mediafire.com/download/9vwxdh4mww3h2i3/hplip_3.13.11-1_arm.ipk
>
>
>
>Hope it works


--
Best regards,
Alex Potapenko
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: More recent build of hplip?

Craig Noble
In reply to this post by Alex Potapenko
Alex,

Peter tried my hplip package earlier and reported an issue with the network backend. Can you confirm that your build has configured with "--enable-network-build", it should be default, but if it can't find net-snmp in the staging dir then it'll silently drop it from the build.

Add net-snmp to the depends and net-snmp-stage to the configure section to make sure it'll build cleanly from scratch.

Cheers,
Craig.




On Sunday, December 29, 2013 5:32 PM, Alex Potapenko <[hidden email]> wrote:

 
Hello Paul,

Sorry for the sane-related comments. I used libusb.mk as a basis for writing libusb1.mk, and replaced the header comments containing libusb package versions history with the usual stuff, like the one in template.mk. Took it from sane-backends.mk, since I was upgrading it to v1.0.24 a little earlier. Just forgot to replace all occurrences



Peter,

I've built hplip-3.13.11 and libusb-1.0.9 for cs08q1armel target. You can give them a go if you want to:

http://www.mediafire.com/download/14d0b0pgj15ohfq/libusb1_1.0.9-1_arm.ipk

http://www.mediafire.com/download/9vwxdh4mww3h2i3/hplip_3.13.11-1_arm.ipk


Hope it works
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: More recent build of hplip?

Alex Potapenko
Craig,

Thank you for your "--enable-libusb01_build" tip, it does configure with
libusb01 fine, no need for libusb1 here. However, your makefile is missing
some important stuff. The reason I do so much patching after running
configure script is to make sure that instead of standard "/usr", "/etc",
"/var" locations all settings and files are installed and later at run time
properly addressed to under "/opt". I grepped through python scripts, c++/c
sources and Makefile to find which files need to be patched for this, and
how. I'm guessing that network backend issue Peter had may be related to
patching Makefile.am only and then reconfiguring.

According to config.log, net-snmp is properly recognized as usable by the
configure script. My best guess about Peter's problems is, however vague it
is, that something is just looking for something else in a wrong place.



And no, I haven't acquired a developer certificate yet


2013/12/30 Craig Noble <[hidden email]>

>
>
> Alex,
>
> Peter tried my hplip package earlier and reported an issue with the
> network backend. Can you confirm that your build has configured with
> "--enable-network-build", it should be default, but if it can't find
> net-snmp in the staging dir then it'll silently drop it from the build.
>
> Add net-snmp to the depends and net-snmp-stage to the configure section to
> make sure it'll build cleanly from scratch.
>
> Cheers,
> Craig.
>
>
>   On Sunday, December 29, 2013 5:32 PM, Alex Potapenko <
> [hidden email]> wrote:
>
>  Hello Paul,
>
> Sorry for the sane-related comments. I used libusb.mk as a basis for
> writing libusb1.mk, and replaced the header comments containing libusb
> package versions history with the usual stuff, like the one in template.mk.
> Took it from sane-backends.mk, since I was upgrading it to v1.0.24 a
> little earlier. Just forgot to replace all occurrences
>
>
>
> Peter,
>
> I've built hplip-3.13.11 and libusb-1.0.9 for cs08q1armel target. You can
> give them a go if you want to:
>
> http://www.mediafire.com/download/14d0b0pgj15ohfq/libusb1_1.0.9-1_arm.ipk
> http://www.mediafire.com/download/9vwxdh4mww3h2i3/hplip_3.13.11-1_arm.ipk
>
> Hope it works
>
>
>    
>



--
Best regards,
Alex Potapenko
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: More recent build of hplip?

Alex Potapenko
Here's libusb01 version of hplip:
http://www.mediafire.com/download/f6dla9c66rkoa5e/hplip_3.13.11-1_arm_linusb01.ipk

and here's the makefile:
http://pastebin.com/BrVEXLC0


2013/12/30 Alex Potapenko <[hidden email]>

> Craig,
>
> Thank you for your "--enable-libusb01_build" tip, it does configure with
> libusb01 fine, no need for libusb1 here. However, your makefile is missing
> some important stuff. The reason I do so much patching after running
> configure script is to make sure that instead of standard "/usr", "/etc",
> "/var" locations all settings and files are installed and later at run time
> properly addressed to under "/opt". I grepped through python scripts, c++/c
> sources and Makefile to find which files need to be patched for this, and
> how. I'm guessing that network backend issue Peter had may be related to
> patching Makefile.am only and then reconfiguring.
>
> According to config.log, net-snmp is properly recognized as usable by the
> configure script. My best guess about Peter's problems is, however vague it
> is, that something is just looking for something else in a wrong place.
>
>
>
> And no, I haven't acquired a developer certificate yet
>
>
> 2013/12/30 Craig Noble <[hidden email]>
>
>>
>>
>> Alex,
>>
>> Peter tried my hplip package earlier and reported an issue with the
>> network backend. Can you confirm that your build has configured with
>> "--enable-network-build", it should be default, but if it can't find
>> net-snmp in the staging dir then it'll silently drop it from the build.
>>
>> Add net-snmp to the depends and net-snmp-stage to the configure section
>> to make sure it'll build cleanly from scratch.
>>
>> Cheers,
>> Craig.
>>
>>
>>   On Sunday, December 29, 2013 5:32 PM, Alex Potapenko <
>> [hidden email]> wrote:
>>
>>  Hello Paul,
>>
>> Sorry for the sane-related comments. I used libusb.mk as a basis for
>> writing libusb1.mk, and replaced the header comments containing libusb
>> package versions history with the usual stuff, like the one in
>> template.mk. Took it from sane-backends.mk, since I was upgrading it to
>> v1.0.24 a little earlier. Just forgot to replace all occurrences
>>
>>
>>
>> Peter,
>>
>> I've built hplip-3.13.11 and libusb-1.0.9 for cs08q1armel target. You can
>> give them a go if you want to:
>>
>> http://www.mediafire.com/download/14d0b0pgj15ohfq/libusb1_1.0.9-1_arm.ipk
>> http://www.mediafire.com/download/9vwxdh4mww3h2i3/hplip_3.13.11-1_arm.ipk
>>
>> Hope it works
>>
>>
>>    
>>
>
>
>
> --
> Best regards,
> Alex Potapenko
>



--
Best regards,
Alex Potapenko
Loading...