Re: ulpt/libusb weirdness in -current

2014-08-16 Thread Alessandro DE LAURENZIS
On Fri 15/08 20:08, Alessandro DE LAURENZIS wrote: On Fri 15/08 19:17, Antoine Jacoutot wrote: Actually missing! Is it just my system or... Nah, that's not needed. Still scratching my head... Yeah sorry, I have no other idea for now... Still debugging... I tried to revert to

Re: ulpt/libusb weirdness in -current

2014-08-16 Thread Antoine Jacoutot
Some progresses: I sorted out the things, reistalling from scratch all the packages in cups and hplip ports (with your patch, of course) and now I'm able to install the printer from the CUPS web interface and print too (I verified with the test page and some PDF documents). Cool, that's good.

Re: ulpt/libusb weirdness in -current

2014-08-16 Thread Alessandro DE LAURENZIS
On Sat 16/08 15:31, Antoine Jacoutot wrote: But there is still something weird... When I try to open hp-systray, I receive the following message: warning: No hp: or hpfax: devices found in any installed CUPS queue. Exiting. Well the HP tools are very very Linux centric; so I am not

Re: ulpt/libusb weirdness in -current

2014-08-15 Thread Martin Pieuchot
On 14/08/14(Thu) 17:25, Alessandro DE LAURENZIS wrote: On Thu 14/08 17:17, Antoine Jacoutot wrote: After applying the patch, the printer is still not responding, but the output of /usr/local/libexec/cups/backend/usb is different: root@poseidon:[cups] sudo

Re: ulpt/libusb weirdness in -current

2014-08-15 Thread Alessandro DE LAURENZIS
On Fri 15/08 10:44, Martin Pieuchot wrote: So apparently your device is correctly listed but you cannot open its node. Can you post your dmesg with all these connected device? Hello Martin, in order to sort-out a bit the things, I re-made all my trials disconnecting all the usb devices but

Re: ulpt/libusb weirdness in -current

2014-08-15 Thread Alessandro DE LAURENZIS
On Fri 15/08 11:45, Alessandro DE LAURENZIS wrote: [...] To get more information could recompile the devel/libusb1 package with DEBUG set? This will produce some verbose output when cups will use it. Could you please detail how to set the DEBUG feature? Something like: DEBUG=foo make ?

Re: ulpt/libusb weirdness in -current

2014-08-15 Thread Alessandro DE LAURENZIS
On Fri 15/08 11:45, Alessandro DE LAURENZIS wrote: On Fri 15/08 10:44, Martin Pieuchot wrote: To get more information could recompile the devel/libusb1 package with DEBUG set? This will produce some verbose output when cups will use it. This is the output from

Re: ulpt/libusb weirdness in -current

2014-08-15 Thread Antoine Jacoutot
[...] DEBUG: libusb_get_device_list=9 libusb: 0.019173 debug [libusb_get_device_descriptor] libusb: 0.019182 debug [obsd_get_device_descriptor] libusb: 0.019187 debug [libusb_get_device_descriptor] libusb: 0.019192 debug [obsd_get_device_descriptor] libusb: 0.019200 debug

Re: ulpt/libusb weirdness in -current

2014-08-15 Thread Alessandro DE LAURENZIS
On Fri 15/08 13:26, Antoine Jacoutot wrote: You are still seeing this with the patch I sent yesterday??? As I said (see the end of my previous e-mail), this is obtained with an unpatched CUPS port. Should I revert to the patched version again? -- Alessandro DE LAURENZIS

Re: ulpt/libusb weirdness in -current

2014-08-15 Thread Antoine Jacoutot
On Fri, Aug 15, 2014 at 01:34:08PM +0200, Alessandro DE LAURENZIS wrote: On Fri 15/08 13:26, Antoine Jacoutot wrote: You are still seeing this with the patch I sent yesterday??? As I said (see the end of my previous e-mail), this is obtained with an unpatched CUPS port. Should I revert

Re: ulpt/libusb weirdness in -current

2014-08-15 Thread Alessandro DE LAURENZIS
On Fri 15/08 14:07, Antoine Jacoutot wrote: On Fri, Aug 15, 2014 at 01:34:08PM +0200, Alessandro DE LAURENZIS wrote: On Fri 15/08 13:26, Antoine Jacoutot wrote: You are still seeing this with the patch I sent yesterday??? As I said (see the end of my previous e-mail), this is obtained

Re: ulpt/libusb weirdness in -current

2014-08-15 Thread Martin Pieuchot
On 15/08/14(Fri) 14:37, Alessandro DE LAURENZIS wrote: On Fri 15/08 14:07, Antoine Jacoutot wrote: On Fri, Aug 15, 2014 at 01:34:08PM +0200, Alessandro DE LAURENZIS wrote: On Fri 15/08 13:26, Antoine Jacoutot wrote: You are still seeing this with the patch I sent yesterday??? As I

Re: ulpt/libusb weirdness in -current

2014-08-15 Thread Antoine Jacoutot
I can confirm that with my patch, my HP printer is now working over USB as well. Alessandro could you re-install your printer under cups and enable debug in cups (you can do that from the web iface) then send the output of /var/log/cups/error_log Thanks. -- Antoine

Re: ulpt/libusb weirdness in -current

2014-08-15 Thread Antoine Jacoutot
On Fri, Aug 15, 2014 at 05:15:22PM +0200, Alessandro DE LAURENZIS wrote: See below, after a couple of Print test page failures (reported as No profiles specified in PPD in the web interface). I also deleted and reinstalled (from ports) hplip-common, hplip and hplip-gui. D

Re: ulpt/libusb weirdness in -current

2014-08-15 Thread Alessandro DE LAURENZIS
On Fri 15/08 17:39, Antoine Jacoutot wrote: D [15/Aug/2014:17:06:30 +0200] [CGI] /usr/local/share/cups/drivers/pscript5.dll: No such file or directory Well, that does not look good :-) Actually missing! Is it just my system or... D [15/Aug/2014:17:06:55 +0200] [Job 2] GPL Ghostscript

Re: ulpt/libusb weirdness in -current

2014-08-15 Thread Antoine Jacoutot
Actually missing! Is it just my system or... Nah, that's not needed. Still scratching my head... Yeah sorry, I have no other idea for now... -- Antoine

Re: ulpt/libusb weirdness in -current

2014-08-15 Thread Alessandro DE LAURENZIS
On Fri 15/08 19:17, Antoine Jacoutot wrote: Actually missing! Is it just my system or... Nah, that's not needed. Still scratching my head... Yeah sorry, I have no other idea for now... Still debugging... I tried to revert to hplip 3.14.1 (adapting the port from 5.5), but the behavior

Re: ulpt/libusb weirdness in -current

2014-08-14 Thread Antoine Jacoutot
On Thu, Aug 14, 2014 at 02:41:42PM +0200, Alessandro DE LAURENZIS wrote: Dear misc@ readers, Still unable to make my old HP Deskjet F4280 printer working on -current (all was ok in 5.5). ulpt is disabled during boot stage; the printer is correctly installed (through the CUPS web

Re: ulpt/libusb weirdness in -current

2014-08-14 Thread Antoine Jacoutot
On Thu, Aug 14, 2014 at 03:08:29PM +0200, Alessandro DE LAURENZIS wrote: On Thu 14/08 14:46, Antoine Jacoutot wrote: Can you try this patch: --- backend/usb-libusb.c.orig Mon Dec 9 20:26:47 2013 +++ backend/usb-libusb.cThu Aug 14 14:45:19 2014 @@ -1473,9 +1473,14 @@

Re: ulpt/libusb weirdness in -current

2014-08-14 Thread Antoine Jacoutot
Your patch doesn't apply cleanly to cups-1.7.5, which is now in the tree: It applies fine here. How did you patch the port? root@poseidon:[cups] make extract === Checking files for cups-1.7.5-source `/usr/ports/distfiles/cups-1.7.5-source.tar.bz2' is up to date. (SHA256)

Re: ulpt/libusb weirdness in -current

2014-08-14 Thread Alessandro DE LAURENZIS
On Thu 14/08 15:59, Antoine Jacoutot wrote: Your patch doesn't apply cleanly to cups-1.7.5, which is now in the tree: It applies fine here. How did you patch the port? My bad. After applying the patch, the printer is still not responding, but the output of

Re: ulpt/libusb weirdness in -current

2014-08-14 Thread Antoine Jacoutot
After applying the patch, the printer is still not responding, but the output of /usr/local/libexec/cups/backend/usb is different: root@poseidon:[cups] sudo /usr/local/libexec/cups/backend/usb DEBUG: Loading USB quirks from /usr/local/share/cups/usb. DEBUG: Loaded 68 quirks. DEBUG:

Re: ulpt/libusb weirdness in -current

2014-08-14 Thread Alessandro DE LAURENZIS
On Thu 14/08 17:17, Antoine Jacoutot wrote: After applying the patch, the printer is still not responding, but the output of /usr/local/libexec/cups/backend/usb is different: root@poseidon:[cups] sudo /usr/local/libexec/cups/backend/usb DEBUG: Loading USB quirks from