Re: hplip setup problems
Since this problem is most probably not FreeBSD-specific, I filed a bug (209721) with hplip: https://bugs.launchpad.net/hplip/+bug/209721. The patch is attached there too. So my ordeal with this issue is finally closed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hplip setup problems
On Wednesday 26 March 2008 00:21:12 Isaac Mushinsky wrote: I am close to assasinating my HP Photosmart C4280 in frustration. 1. This is an all-in-one device. (I did not try the scanner setup yet) 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. 3. Machine is FreeBSD 7-stable/amd64. 4. hplip is 2.8.2 $ usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: Photosmart C4200 series, HP addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel There is a ppd file for these series with the hplip distribution. hpssd, cups started in the order needed. hp-setup detects the printer, and then says 'Unable to create queue'. CUPS web interface actually adds the printer, but then cannot print test page to it. cups user runs hpssd (I tried root too). /var/log/messages has: Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid serial id string ret=-5 Here is all relevant output: http://omsk.mushinsky.net/hplip-trouble Any help is appreciated. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Here is a patch that seems to work: --- /home/itz/hplip-2.8.2/io/hpmud/musb.c 2008-03-30 06:44:01.0 -0400 +++ work/hplip-2.8.2/io/hpmud/musb.c2008-01-22 19:27:15.0 -0500 @@ -121,12 +121,10 @@ { ret = usb_control_msg(dev, USB_ENDPOINT_IN, USB_REQ_GET_DESCRIPTOR, (USB_DT_STRING 8) + index, 0x409, tbuf, sizeof(tbuf), LIBUSB_CONTROL_REQ_TIMEOUT); - if (ret =0 ) + if (ret==0) { - /* This retry is necessary for lj1000 and lj1005. des 12/12/07 - Also HP Photosmart 42xx seems to suffer transient errors with serial id */ -BUG(get_string_descriptor error result %d, retrying in 2 secs..., ret); -sleep(2); + /* This retry is necessary for lj1000 and lj1005. des 12/12/07 */ + BUG(get_string_descriptor zero result, retrying...); continue; } break; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hplip setup problems
On Thursday 27 March 2008 10:37:48 you wrote: On Thursday 27 March 2008, Isaac Mushinsky wrote: Anish Mistry (the port maintainer) has answered below. It seems that this is a printer defect after all then. I'll try to patch the code to fill in the missing serial id with some fake string, and shall report if I get the thing to work. Is the hp backend the only entry point to libusb, or should I have to patch libusb? e.g. cups or sane apps, can they call libusb directly, or only through hpaio backend? I would rather have a patch to hplip distribution only, because libusb correctly throws an error code for the missing serial id. But if some apps query the device directly, the missing serial id may be a problem, they will all have to all be patched separately. See what you can get to work, and then we can decide on what the proper fix entails. It looks like there is some problem with the C42XX printers that is causing the serial numbers to no be reported. I got a similar report about a HP Photosmart C4200 series a couple weeks ago. Unfortunately I'm VERY busy right now. It will be a couple of week before I can dive into the issue. If you do happen to find a solution, please let me know so I can integrate it into the port and notify others. Thanks, -- Anish Mistry [EMAIL PROTECTED] AM Productions http://am-productions.biz/ I tried to load hplip into debugger, but if I try to trace the problem, it works! Serial number is read correctly. It also seems to work with a non-SMP kernel (at least the race does not show). The printer has the serial number after all. There appears to be some sort of race condition when calling usb_control_msg for product id and then serial id strings in rapid succession in musb.c. I am not sure how to deal with that yet, but pausing in between the calls is a workaround for now. What can be done in between the calls other than close and reopen the device? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hplip setup problems
Yes, of course sleep() works. But I am looking for the *proper* way to fix it. My questions at this point are: 1. Does USB standard permit these sequential requests, or there should be some reset/synch mechanism utilized in between? I could also usb_close() and reopen the device, but is there a softer reset than that? Is the bug really in hplip, or libusb, or sys/dev/usb? 2. If the driver, libusb and hplip are acting properly, then perhaps the race condition is inside the device? i.e. it should be ready to accept the second control msg after the 1st one returned, but for some reason is not really ready. So then it is the printer that violates the protocol, and there is nothing to do on our side but sleep(). Or usb_close(), and reopen, hopefully that will bring the Photosmart to its senses. I am posting this to freebsd-usb as well, people there are probably better equipped to answer this. On Fri, Mar 28, 2008 at 11:42 AM, Anish Mistry [EMAIL PROTECTED] wrote: On Friday 28 March 2008, you wrote: On Thursday 27 March 2008 10:37:48 you wrote: On Thursday 27 March 2008, Isaac Mushinsky wrote: Anish Mistry (the port maintainer) has answered below. It seems that this is a printer defect after all then. I'll try to patch the code to fill in the missing serial id with some fake string, and shall report if I get the thing to work. Is the hp backend the only entry point to libusb, or should I have to patch libusb? e.g. cups or sane apps, can they call libusb directly, or only through hpaio backend? I would rather have a patch to hplip distribution only, because libusb correctly throws an error code for the missing serial id. But if some apps query the device directly, the missing serial id may be a problem, they will all have to all be patched separately. See what you can get to work, and then we can decide on what the proper fix entails. It looks like there is some problem with the C42XX printers that is causing the serial numbers to no be reported. I got a similar report about a HP Photosmart C4200 series a couple weeks ago. Unfortunately I'm VERY busy right now. It will be a couple of week before I can dive into the issue. If you do happen to find a solution, please let me know so I can integrate it into the port and notify others. Thanks, -- Anish Mistry [EMAIL PROTECTED] AM Productions http://am-productions.biz/ I tried to load hplip into debugger, but if I try to trace the problem, it works! Serial number is read correctly. It also seems to work with a non-SMP kernel (at least the race does not show). The printer has the serial number after all. There appears to be some sort of race condition when calling usb_control_msg for product id and then serial id strings in rapid succession in musb.c. I am not sure how to deal with that yet, but pausing in between the calls is a workaround for now. What can be done in between the calls other than close and reopen the device? You could try to call sleep() to see if that fixes it. man 3 sleep -- Anish Mistry [EMAIL PROTECTED] AM Productions http://am-productions.biz/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hplip setup problems
Anish Mistry (the port maintainer) has answered below. It seems that this is a printer defect after all then. I'll try to patch the code to fill in the missing serial id with some fake string, and shall report if I get the thing to work. Is the hp backend the only entry point to libusb, or should I have to patch libusb? e.g. cups or sane apps, can they call libusb directly, or only through hpaio backend? I would rather have a patch to hplip distribution only, because libusb correctly throws an error code for the missing serial id. But if some apps query the device directly, the missing serial id may be a problem, they will all have to all be patched separately. It looks like there is some problem with the C42XX printers that is causing the serial numbers to no be reported. I got a similar report about a HP Photosmart C4200 series a couple weeks ago. Unfortunately I'm VERY busy right now. It will be a couple of week before I can dive into the issue. If you do happen to find a solution, please let me know so I can integrate it into the port and notify others. Thanks, -- Anish Mistry [EMAIL PROTECTED] AM Productions http://am-productions.biz/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hplip setup problems
On Thursday 27 March 2008, Isaac Mushinsky wrote: Anish Mistry (the port maintainer) has answered below. It seems that this is a printer defect after all then. I'll try to patch the code to fill in the missing serial id with some fake string, and shall report if I get the thing to work. Is the hp backend the only entry point to libusb, or should I have to patch libusb? e.g. cups or sane apps, can they call libusb directly, or only through hpaio backend? I would rather have a patch to hplip distribution only, because libusb correctly throws an error code for the missing serial id. But if some apps query the device directly, the missing serial id may be a problem, they will all have to all be patched separately. See what you can get to work, and then we can decide on what the proper fix entails. It looks like there is some problem with the C42XX printers that is causing the serial numbers to no be reported. I got a similar report about a HP Photosmart C4200 series a couple weeks ago. Unfortunately I'm VERY busy right now. It will be a couple of week before I can dive into the issue. If you do happen to find a solution, please let me know so I can integrate it into the port and notify others. Thanks, -- Anish Mistry [EMAIL PROTECTED] AM Productions http://am-productions.biz/ -- Anish Mistry [EMAIL PROTECTED] AM Productions http://am-productions.biz/ signature.asc Description: This is a digitally signed message part.
Re: hplip setup problems
Isaac Mushinsky wrote: Anish Mistry (the port maintainer) has answered below. It seems that this is a printer defect after all then. I'll try to patch the code to fill in the missing serial id with some fake string, and shall report if I get the thing to work. Is the hp backend the only entry point to libusb, or should I have to patch libusb? e.g. cups or sane apps, can they call libusb directly, or only through hpaio backend? I would rather have a patch to hplip distribution only, because libusb correctly throws an error code for the missing serial id. But if some apps query the device directly, the missing serial id may be a problem, they will all have to all be patched separately. I wouldn't touch HPLIP. If something is wrong report upstream. They should patch. No you do not have to patch any applications. Look at the files usr/src/sys/dev/usb/usbdevs usr//src/sys/dev/usb/ugen.c (I think that this one needs to be patched) usr/src/sys/dev/usb/uscanner.c Cheers, OKO It looks like there is some problem with the C42XX printers that is causing the serial numbers to no be reported. I got a similar report about a HP Photosmart C4200 series a couple weeks ago. Unfortunately I'm VERY busy right now. It will be a couple of week before I can dive into the issue. If you do happen to find a solution, please let me know so I can integrate it into the port and notify others. Thanks, -- Anish Mistry [EMAIL PROTECTED] AM Productions http://am-productions.biz/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hplip setup problems
On Wednesday 26 March 2008 00:21:12 Isaac Mushinsky wrote: I am close to assasinating my HP Photosmart C4280 in frustration. 1. This is an all-in-one device. (I did not try the scanner setup yet) 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. 3. Machine is FreeBSD 7-stable/amd64. 4. hplip is 2.8.2 $ usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: Photosmart C4200 series, HP addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel There is a ppd file for these series with the hplip distribution. hpssd, cups started in the order needed. hp-setup detects the printer, and then says 'Unable to create queue'. CUPS web interface actually adds the printer, but then cannot print test page to it. cups user runs hpssd (I tried root too). /var/log/messages has: Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid serial id string ret=-5 Here is all relevant output: http://omsk.mushinsky.net/hplip-trouble Any help is appreciated. Thanks. Here are debug msgs from libusb: usb_os_find_devices: Found /dev/ugen0 on /dev/usb3 usb_control_msg: 128 6 512 0 0x7fffdea0 8 1000 usb_control_msg: 128 6 512 0 0x800d80100 124 1000 usb_control_msg: 128 6 770 1033 0x7fffde10 255 5000 usb_control_msg: 128 6 771 1033 0x7fffde10 255 5000 USB error: error sending control message: Input/output error error: Unable to communicate with device (code=12): hp:/usb/Photosmart_C4200_series?serial=0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hplip setup problems
fOn Wed, 26 Mar 2008, Isaac Mushinsky wrote: I am close to assasinating my HP Photosmart C4280 in frustration. 1. This is an all-in-one device. (I did not try the scanner setup yet) 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. So far as I can determine, there is no reason to avoid uscanner in the kernel --- uscanner does not/should not grab the scanner function of your all-in-one. It should then be possible to attach your single function scanner with sane --- although it is sensible to get hplip up without that complication first. 3. Machine is FreeBSD 7-stable/amd64. 4. hplip is 2.8.2 $ usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: Photosmart C4200 series, HP addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel There is a ppd file for these series with the hplip distribution. hpssd, cups started in the order needed. hp-setup detects the printer, and then says 'Unable to create queue'. CUPS web interface actually adds the printer, but then cannot print test page to it. cups user runs hpssd (I tried root too). /var/log/messages has: Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid serial id string ret=-5 Here is all relevant output: http://omsk.mushinsky.net/hplip-trouble A lot of stuff advertised here doesn't seem to be visible/existent to lynx. devfd.rules looks right check group --- have you added whoever is using the printer to group cups (at least root and/or toor to print the test page)? since you say you cannot print the test page, I assume you ran hp-setup from a gui and can get into cups admin afterwards --- have you set the printer you defined in hp-setup as the default printer in cups admin? Is the printer ready (accepting jobs) according to cups admin? if your failed test pages are showing up in the job queue, it may be desirable to kill some of them in case you do something that does make it work. Any help is appreciated. Thanks. That's all I can think of off the top of my head. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hplip setup problems
On Wednesday 26 March 2008 02:49:52 you wrote: fOn Wed, 26 Mar 2008, Isaac Mushinsky wrote: I am close to assasinating my HP Photosmart C4280 in frustration. 1. This is an all-in-one device. (I did not try the scanner setup yet) 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. So far as I can determine, there is no reason to avoid uscanner in the kernel --- uscanner does not/should not grab the scanner function of your all-in-one. It should then be possible to attach your single function scanner with sane --- although it is sensible to get hplip up without that complication first. 3. Machine is FreeBSD 7-stable/amd64. 4. hplip is 2.8.2 $ usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: Photosmart C4200 series, HP addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel There is a ppd file for these series with the hplip distribution. hpssd, cups started in the order needed. hp-setup detects the printer, and then says 'Unable to create queue'. CUPS web interface actually adds the printer, but then cannot print test page to it. cups user runs hpssd (I tried root too). /var/log/messages has: Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid serial id string ret=-5 Here is all relevant output: http://omsk.mushinsky.net/hplip-trouble A lot of stuff advertised here doesn't seem to be visible/existent to lynx. devfd.rules looks right check group --- have you added whoever is using the printer to group cups (at least root and/or toor to print the test page)? yes since you say you cannot print the test page, I assume you ran hp-setup from a gui and can get into cups admin afterwards --- have you set the printer you defined in hp-setup as the default printer in cups admin? Is the printer ready (accepting jobs) according to cups admin? yes, cups thinks the printer is up and 'ready', and accepts jobs for it. if your failed test pages are showing up in the job queue, it may be desirable to kill some of them in case you do something that does make it work. Any help is appreciated. Thanks. That's all I can think of off the top of my head. I think the trouble is somewhere in usb or libusb: hp:/usb/Photosmart_C4200_series?serial=0 does not look right. The libusb exception seems to occur while trying to obtain the 'serial number'. Whatever that means -- is the device expected to provide it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hplip setup problems
Isaac Mushinsky wrote: On Wednesday 26 March 2008 02:49:52 you wrote: fOn Wed, 26 Mar 2008, Isaac Mushinsky wrote: I am close to assasinating my HP Photosmart C4280 in frustration. 1. This is an all-in-one device. (I did not try the scanner setup yet) 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. So far as I can determine, there is no reason to avoid uscanner in the kernel --- uscanner does not/should not grab the scanner function of your all-in-one. It should then be possible to attach your single function scanner with sane --- although it is sensible to get hplip up without that complication first. 3. Machine is FreeBSD 7-stable/amd64. 4. hplip is 2.8.2 $ usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: Photosmart C4200 series, HP addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel There is a ppd file for these series with the hplip distribution. hpssd, cups started in the order needed. hp-setup detects the printer, and then says 'Unable to create queue'. CUPS web interface actually adds the printer, but then cannot print test page to it. cups user runs hpssd (I tried root too). /var/log/messages has: Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid serial id string ret=-5 Here is all relevant output: http://omsk.mushinsky.net/hplip-trouble A lot of stuff advertised here doesn't seem to be visible/existent to lynx. devfd.rules looks right check group --- have you added whoever is using the printer to group cups (at least root and/or toor to print the test page)? yes since you say you cannot print the test page, I assume you ran hp-setup from a gui and can get into cups admin afterwards --- have you set the printer you defined in hp-setup as the default printer in cups admin? Is the printer ready (accepting jobs) according to cups admin? yes, cups thinks the printer is up and 'ready', and accepts jobs for it. if your failed test pages are showing up in the job queue, it may be desirable to kill some of them in case you do something that does make it work. Any help is appreciated. Thanks. That's all I can think of off the top of my head. I think the trouble is somewhere in usb or libusb: hp:/usb/Photosmart_C4200_series?serial=0 does not look right. The libusb exception seems to occur while trying to obtain the 'serial number'. Whatever that means -- is the device expected to provide it? My understanding is that you didn't succeed to print from that printer. You have to get printing function first before you can get scanning. It is easily to use your device as only printer if you live ulpt driver inside the kernel but ugen driver is used to communicate and give you information as the ink level for instance. If you live ulpt driver you will not be able to scan libusb is used to communicate with the scanner. That is one of two ways that scanners talk to kernel. Could you give me the output of # /usr/local/libexec/cups/backend/hp (make sure you have the right path this is mine on OpenBSD 4.3 current) If you get something like direct hp Unknown HP printer (*HPLIP*) means that ugen driver cannot get VedorName and Product ID Give me also outputs of #hp-info and #hp-check -t Out of curiosity what is the output of #sane-find-scanner ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hplip setup problems
On Wednesday 26 March 2008 04:29:45 you wrote: Isaac Mushinsky wrote: On Wednesday 26 March 2008 02:49:52 you wrote: fOn Wed, 26 Mar 2008, Isaac Mushinsky wrote: I am close to assasinating my HP Photosmart C4280 in frustration. 1. This is an all-in-one device. (I did not try the scanner setup yet) 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. So far as I can determine, there is no reason to avoid uscanner in the kernel --- uscanner does not/should not grab the scanner function of your all-in-one. It should then be possible to attach your single function scanner with sane --- although it is sensible to get hplip up without that complication first. 3. Machine is FreeBSD 7-stable/amd64. 4. hplip is 2.8.2 $ usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: Photosmart C4200 series, HP addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel There is a ppd file for these series with the hplip distribution. hpssd, cups started in the order needed. hp-setup detects the printer, and then says 'Unable to create queue'. CUPS web interface actually adds the printer, but then cannot print test page to it. cups user runs hpssd (I tried root too). /var/log/messages has: Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid serial id string ret=-5 Here is all relevant output: http://omsk.mushinsky.net/hplip-trouble A lot of stuff advertised here doesn't seem to be visible/existent to lynx. devfd.rules looks right check group --- have you added whoever is using the printer to group cups (at least root and/or toor to print the test page)? yes since you say you cannot print the test page, I assume you ran hp-setup from a gui and can get into cups admin afterwards --- have you set the printer you defined in hp-setup as the default printer in cups admin? Is the printer ready (accepting jobs) according to cups admin? yes, cups thinks the printer is up and 'ready', and accepts jobs for it. if your failed test pages are showing up in the job queue, it may be desirable to kill some of them in case you do something that does make it work. Any help is appreciated. Thanks. That's all I can think of off the top of my head. I think the trouble is somewhere in usb or libusb: hp:/usb/Photosmart_C4200_series?serial=0 does not look right. The libusb exception seems to occur while trying to obtain the 'serial number'. Whatever that means -- is the device expected to provide it? My understanding is that you didn't succeed to print from that printer. You have to get printing function first before you can get scanning. It is easily to use your device as only printer if you live ulpt driver inside the kernel but ugen driver is used to communicate and give you information as the ink level for instance. If you live ulpt driver you will not be able to scan libusb is used to communicate with the scanner. That is one of two ways that scanners talk to kernel. Could you give me the output of All of these things I posted on http://omsk.mushinsky.net/hplip-trouble # /usr/local/libexec/cups/backend/hp (make sure you have the right path this is mine on OpenBSD 4.3 current) You already saw that: doesn't hp-setup call it? Added it to exhibit page too: $ /usr/local/libexec/cups/backend/hp usb_set_debug: Setting debugging level to 4 (on) usb_os_find_busses: Found /dev/usb0 usb_os_find_busses: Found /dev/usb1 usb_os_find_busses: Found /dev/usb2 usb_os_find_busses: Found /dev/usb3 usb_os_find_busses: Found /dev/usb4 usb_os_find_busses: Found /dev/usb5 usb_os_find_busses: Found /dev/usb6 usb_os_find_busses: Found /dev/usb7 usb_os_find_devices: Found /dev/ugen0 on /dev/usb3 usb_control_msg: 128 6 512 0 0x7fff8600 8 1000 usb_control_msg: 128 6 512 0 0x802213080 124 1000 usb_control_msg: 128 6 770 1033 0x7fff8570 255 5000 usb_control_msg: 128 6 771 1033 0x7fff8570 255 5000 USB error: error sending control message: Input/output error direct hp:/usb/Photosmart_C4200_series?serial=0 HP Photosmart C4200 series HP Photosmart C4200 series USB 0 HPLIP MFG:HP;MDL:Photosmart C4200 series;CLS:PRINTER;DES:Photosmart C4200 series;SN:; You have new mail in /var/mail/root If you get something like direct hp Unknown HP printer (*HPLIP*) means that ugen driver cannot get VedorName and Product ID Give me also outputs of #hp-info ~ hp-info HP Linux Imaging and Printing System (ver. 2.8.2) Device Information Utility ver. 3.4 Copyright (c) 2001-7 Hewlett-Packard Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See
Re: hplip setup problems
On Wednesday 26 March 2008 04:29:45 you wrote: Isaac Mushinsky wrote: On Wednesday 26 March 2008 02:49:52 you wrote: fOn Wed, 26 Mar 2008, Isaac Mushinsky wrote: I am close to assasinating my HP Photosmart C4280 in frustration. 1. This is an all-in-one device. (I did not try the scanner setup yet) 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. So far as I can determine, there is no reason to avoid uscanner in the kernel --- uscanner does not/should not grab the scanner function of your all-in-one. It should then be possible to attach your single function scanner with sane --- although it is sensible to get hplip up without that complication first. 3. Machine is FreeBSD 7-stable/amd64. 4. hplip is 2.8.2 $ usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: Photosmart C4200 series, HP addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel There is a ppd file for these series with the hplip distribution. hpssd, cups started in the order needed. hp-setup detects the printer, and then says 'Unable to create queue'. CUPS web interface actually adds the printer, but then cannot print test page to it. cups user runs hpssd (I tried root too). /var/log/messages has: Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid serial id string ret=-5 Here is all relevant output: http://omsk.mushinsky.net/hplip-trouble A lot of stuff advertised here doesn't seem to be visible/existent to lynx. devfd.rules looks right check group --- have you added whoever is using the printer to group cups (at least root and/or toor to print the test page)? yes since you say you cannot print the test page, I assume you ran hp-setup from a gui and can get into cups admin afterwards --- have you set the printer you defined in hp-setup as the default printer in cups admin? Is the printer ready (accepting jobs) according to cups admin? yes, cups thinks the printer is up and 'ready', and accepts jobs for it. if your failed test pages are showing up in the job queue, it may be desirable to kill some of them in case you do something that does make it work. Any help is appreciated. Thanks. That's all I can think of off the top of my head. I think the trouble is somewhere in usb or libusb: hp:/usb/Photosmart_C4200_series?serial=0 does not look right. The libusb exception seems to occur while trying to obtain the 'serial number'. Whatever that means -- is the device expected to provide it? My understanding is that you didn't succeed to print from that printer. You have to get printing function first before you can get scanning. It is easily to use your device as only printer if you live ulpt driver inside the kernel but ugen driver is used to communicate and give you information as the ink level for instance. If you live ulpt driver you will not be able to scan libusb is used to communicate with the scanner. That is one of two ways that scanners talk to kernel. Could you give me the output of All of these things I posted on http://omsk.mushinsky.net/hplip-trouble # /usr/local/libexec/cups/backend/hp (make sure you have the right path this is mine on OpenBSD 4.3 current) You already saw that: doesn't hp-setup call it? Added it to exhibit page too: $ /usr/local/libexec/cups/backend/hp usb_set_debug: Setting debugging level to 4 (on) usb_os_find_busses: Found /dev/usb0 usb_os_find_busses: Found /dev/usb1 usb_os_find_busses: Found /dev/usb2 usb_os_find_busses: Found /dev/usb3 usb_os_find_busses: Found /dev/usb4 usb_os_find_busses: Found /dev/usb5 usb_os_find_busses: Found /dev/usb6 usb_os_find_busses: Found /dev/usb7 usb_os_find_devices: Found /dev/ugen0 on /dev/usb3 usb_control_msg: 128 6 512 0 0x7fff8600 8 1000 usb_control_msg: 128 6 512 0 0x802213080 124 1000 usb_control_msg: 128 6 770 1033 0x7fff8570 255 5000 usb_control_msg: 128 6 771 1033 0x7fff8570 255 5000 USB error: error sending control message: Input/output error direct hp:/usb/Photosmart_C4200_series?serial=0 HP Photosmart C4200 series HP Photosmart C4200 series USB 0 HPLIP MFG:HP;MDL:Photosmart C4200 series;CLS:PRINTER;DES:Photosmart C4200 series;SN:; You have new mail in /var/mail/root If you get something like direct hp Unknown HP printer (*HPLIP*) means that ugen driver cannot get VedorName and Product ID Give me also outputs of #hp-info ~ hp-info HP Linux Imaging and Printing System (ver. 2.8.2) Device Information Utility ver. 3.4 Copyright (c) 2001-7 Hewlett-Packard Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See
Re: hplip setup problems
On Wednesday 26 March 2008 00:21:12 Isaac Mushinsky wrote: I am close to assasinating my HP Photosmart C4280 in frustration. 1. This is an all-in-one device. (I did not try the scanner setup yet) 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. 3. Machine is FreeBSD 7-stable/amd64. 4. hplip is 2.8.2 $ usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: Photosmart C4200 series, HP addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel There is a ppd file for these series with the hplip distribution. hpssd, cups started in the order needed. hp-setup detects the printer, and then says 'Unable to create queue'. CUPS web interface actually adds the printer, but then cannot print test page to it. cups user runs hpssd (I tried root too). /var/log/messages has: Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid serial id string ret=-5 Here is all relevant output: http://omsk.mushinsky.net/hplip-trouble Any help is appreciated. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] What is interesting is that the failure of usb_control_msg happens only when 'serial number' is requested. The function had been called successfully before that. # export USB_DEBUG=4 # hp-info HP Linux Imaging and Printing System (ver. 2.8.2) Device Information Utility ver. 3.4 Copyright (c) 2001-7 Hewlett-Packard Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. usb_set_debug: Setting debugging level to 4 (on) usb_os_find_busses: Found /dev/usb0 usb_os_find_busses: Found /dev/usb1 usb_os_find_busses: Found /dev/usb2 usb_os_find_busses: Found /dev/usb3 usb_os_find_busses: Found /dev/usb4 usb_os_find_busses: Found /dev/usb5 usb_os_find_busses: Found /dev/usb6 usb_os_find_busses: Found /dev/usb7 usb_os_find_devices: Found /dev/ugen0 on /dev/usb3 usb_control_msg: 128 6 512 0 0x7fff5a20 8 1000 usb_control_msg: 128 6 512 0 0x800d80100 124 1000 usb_control_msg: 128 6 770 1033 0x7fff5990 255 5000 usb_control_msg: 128 6 771 1033 0x7fff5990 255 5000 USB error: error sending control message: Input/output error Using device: hp:/usb/Photosmart_C4200_series?serial=0 hp:/usb/Photosmart_C4200_series?serial=0 usb_set_debug: Setting debugging level to 4 (on) usb_os_find_busses: Found /dev/usb0 usb_os_find_busses: Found /dev/usb1 usb_os_find_busses: Found /dev/usb2 usb_os_find_busses: Found /dev/usb3 usb_os_find_busses: Found /dev/usb4 usb_os_find_busses: Found /dev/usb5 usb_os_find_busses: Found /dev/usb6 usb_os_find_busses: Found /dev/usb7 usb_os_find_devices: Found /dev/ugen0 on /dev/usb3 usb_control_msg: 128 6 770 1033 0x7fffde60 255 5000 usb_control_msg: 128 6 771 1033 0x7fffde60 255 5000 USB error: error sending control message: Input/output error error: Unable to communicate with device (code=12): hp:/usb/Photosmart_C4200_series?serial=0 error: Error opening device (Device not found). Exiting. /var/log/messages: Mar 26 09:17:14 omsk kernel: ugen0: HP Photosmart C4200 series, class 0/0, rev 2.00/1.00, addr 2 on uhub3 Mar 26 09:17:23 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor -5: Input/output error Mar 26 09:17:23 omsk python: io/hpmud/musb.c 1951: invalid serial id string ret=-5 Mar 26 09:17:23 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor -5: Input/output error Mar 26 09:17:23 omsk python: io/hpmud/musb.c 615: invalid serial id string ret=-5 Mar 26 09:17:23 omsk python: io/hpmud/musb.c 1057: unable to open hp:/usb/Photosmart_C4200_series?serial=0 Mar 26 09:17:23 omsk python: hp-info[1074]: error: Unable to communicate with device (code=12): hp:/usb/Photosmart_C4200_series?serial=0 Mar 26 09:17:23 omsk python: hp-info[1074]: error: Error opening device (Device not found). Exiting. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hplip setup problems
Isaac Mushinsky wrote: Obviously the device can not communicate with the kernel. My first hunch would be to blame on ugen driver of BSD but look at this lines from hp-check that I copied from you message. You are missing slue of REQUIRED libraries. Are you running CUPS development version. You are not supposed to do that. You can try to install each of the missing libraries by hand and then try hp-setup. Something is very WRONG with your installation. Even better. If you have a spare machine to for testing. Try one more time to install things. Install firstly CUPS and SANE-backends and then install HPLIP (nothing else). If you see the same output from hp-check try installing missing libraries by hand. If after all everything works I would reports HPLIP port as broken as the required libraries should be installed as dependencies. On the positive side SANE seems see the scanner. Can you scan? Checking output of 'scanimage -L'... device `hpaio:/usb/Photosmart_C4200_series?serial=0' is a Hewlett-Packard Photosmart_C4200_series all-in-one found USB scanner (vendor=0x03f0 [HP], product=0x5c11 [Photosmart C4200 series]) at libusb:/dev/usb3:/dev/ugen0 Checking for dependency: cups-devel- Common Unix Printing System development files... error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP. Checking for dependency: libcrypto - OpenSSL cryptographic library... error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. Checking for dependency: libjpeg - JPEG library... error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. Checking for dependency: libnetsnmp-devel - SNMP networking library development files... error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. Checking for dependency: libpthread - POSIX threads library... error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this Checking for dependency: libusb - USB library... error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. Checking for dependency: make - GNU make utility to maintain groups of programs... error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP. dependency is installed before installing or running HPLIP. Checking for dependency: python-devel - Python development files... error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP. On Wednesday 26 March 2008 04:29:45 you wrote: Isaac Mushinsky wrote: On Wednesday 26 March 2008 02:49:52 you wrote: fOn Wed, 26 Mar 2008, Isaac Mushinsky wrote: I am close to assasinating my HP Photosmart C4280 in frustration. 1. This is an all-in-one device. (I did not try the scanner setup yet) 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. So far as I can determine, there is no reason to avoid uscanner in the kernel --- uscanner does not/should not grab the scanner function of your all-in-one. It should then be possible to attach your single function scanner with sane --- although it is sensible to get hplip up without that complication first. 3. Machine is FreeBSD 7-stable/amd64. 4. hplip is 2.8.2 $ usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: Photosmart C4200 series, HP addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel There is a ppd file for these series with the hplip distribution. hpssd, cups started in the order needed. hp-setup detects the printer, and then says 'Unable to create queue'. CUPS web interface actually adds the printer, but then cannot print test page to it. cups user runs hpssd (I tried root too). /var/log/messages has: Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid serial id string ret=-5 Here is all relevant output: http://omsk.mushinsky.net/hplip-trouble A lot of stuff advertised here doesn't seem to be visible/existent to lynx. devfd.rules looks right check group --- have you added whoever is using the printer to group cups (at least root and/or toor to print the test page)? yes since you say you cannot print the test page, I assume you ran hp-setup from a gui and can get into cups admin afterwards --- have you set the printer you defined in
Re: hplip setup problems
Isaac Mushinsky wrote: On Wednesday 26 March 2008 00:21:12 Isaac Mushinsky wrote: I am close to assasinating my HP Photosmart C4280 in frustration. 1. This is an all-in-one device. (I did not try the scanner setup yet) 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. 3. Machine is FreeBSD 7-stable/amd64. 4. hplip is 2.8.2 $ usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: Photosmart C4200 series, HP addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel There is a ppd file for these series with the hplip distribution. hpssd, cups started in the order needed. hp-setup detects the printer, and then says 'Unable to create queue'. CUPS web interface actually adds the printer, but then cannot print test page to it. cups user runs hpssd (I tried root too). /var/log/messages has: Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid serial id string ret=-5 Here is all relevant output: http://omsk.mushinsky.net/hplip-trouble Any help is appreciated. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] What is interesting is that the failure of usb_control_msg happens only when 'serial number' is requested. The function had been called successfully before that. I do not know if it has something to do with my previous observation that you are missing slue of libraries? But hp-check has to give you all REQUIRED outputs OK before we start blaming drivers. I am ready to believe that if you have all libraries installed manually and normal CUPS (please no develop version) that the things might work. Best, Predrag # export USB_DEBUG=4 # hp-info HP Linux Imaging and Printing System (ver. 2.8.2) Device Information Utility ver. 3.4 Copyright (c) 2001-7 Hewlett-Packard Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. usb_set_debug: Setting debugging level to 4 (on) usb_os_find_busses: Found /dev/usb0 usb_os_find_busses: Found /dev/usb1 usb_os_find_busses: Found /dev/usb2 usb_os_find_busses: Found /dev/usb3 usb_os_find_busses: Found /dev/usb4 usb_os_find_busses: Found /dev/usb5 usb_os_find_busses: Found /dev/usb6 usb_os_find_busses: Found /dev/usb7 usb_os_find_devices: Found /dev/ugen0 on /dev/usb3 usb_control_msg: 128 6 512 0 0x7fff5a20 8 1000 usb_control_msg: 128 6 512 0 0x800d80100 124 1000 usb_control_msg: 128 6 770 1033 0x7fff5990 255 5000 usb_control_msg: 128 6 771 1033 0x7fff5990 255 5000 USB error: error sending control message: Input/output error Using device: hp:/usb/Photosmart_C4200_series?serial=0 hp:/usb/Photosmart_C4200_series?serial=0 usb_set_debug: Setting debugging level to 4 (on) usb_os_find_busses: Found /dev/usb0 usb_os_find_busses: Found /dev/usb1 usb_os_find_busses: Found /dev/usb2 usb_os_find_busses: Found /dev/usb3 usb_os_find_busses: Found /dev/usb4 usb_os_find_busses: Found /dev/usb5 usb_os_find_busses: Found /dev/usb6 usb_os_find_busses: Found /dev/usb7 usb_os_find_devices: Found /dev/ugen0 on /dev/usb3 usb_control_msg: 128 6 770 1033 0x7fffde60 255 5000 usb_control_msg: 128 6 771 1033 0x7fffde60 255 5000 USB error: error sending control message: Input/output error error: Unable to communicate with device (code=12): hp:/usb/Photosmart_C4200_series?serial=0 error: Error opening device (Device not found). Exiting. /var/log/messages: Mar 26 09:17:14 omsk kernel: ugen0: HP Photosmart C4200 series, class 0/0, rev 2.00/1.00, addr 2 on uhub3 Mar 26 09:17:23 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor -5: Input/output error Mar 26 09:17:23 omsk python: io/hpmud/musb.c 1951: invalid serial id string ret=-5 Mar 26 09:17:23 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor -5: Input/output error Mar 26 09:17:23 omsk python: io/hpmud/musb.c 615: invalid serial id string ret=-5 Mar 26 09:17:23 omsk python: io/hpmud/musb.c 1057: unable to open hp:/usb/Photosmart_C4200_series?serial=0 Mar 26 09:17:23 omsk python: hp-info[1074]: error: Unable to communicate with device (code=12): hp:/usb/Photosmart_C4200_series?serial=0 Mar 26 09:17:23 omsk python: hp-info[1074]: error: Error opening device (Device not found). Exiting. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list
Re: hplip setup problems
On Wed, Mar 26, 2008 at 3:49 PM, Predrag Punosevac [EMAIL PROTECTED] wrote: Isaac Mushinsky wrote: Obviously the device can not communicate with the kernel. My first hunch would be to blame on ugen driver of BSD but look at this lines from hp-check that I copied from you message. You are missing slue of REQUIRED libraries. Well, hp-check seems broken, so I wouldn't take it all that seriously. It probably only works on linux. How can it complain of missing libusb and then proceed to use it? hplip finds the device correctly, and gets the vendor/product id. The immediate show stopper is failure to get serial number of the device. Or is it? it seems to be the only place where a libusb call fails. I am not sure if it is HP's fault or an hplip/io/hpmud problem, though. Are you running CUPS development version. I am running on a standard cups from ports. It was installed as requirement by KDE or something. Besides, there seems to be no problem with cups itself. You are not supposed to do that. You can try to install each of the missing libraries by hand and then try hp-setup. Something is very WRONG with your installation. Even better. If you have a spare machine to for testing. Try one more time to install things. Install firstly CUPS and SANE-backends and then install HPLIP (nothing else). If you see the same output from hp-check try installing missing libraries by hand. If after all everything works I would reports HPLIP port as broken as the required libraries should be installed as dependencies. On the positive side SANE seems see the scanner. Can you scan? Didn't even try to scan yet. It doesn't matter at this point. I have another (film) scanner that works, though. hplip printer driver seems to see the printer too, seeing is clearly not the problem. Checking output of 'scanimage -L'... device `hpaio:/usb/Photosmart_C4200_series?serial=0' is a Hewlett-Packard Photosmart_C4200_series all-in-one found USB scanner (vendor=0x03f0 [HP], product=0x5c11 [Photosmart C4200 series]) at libusb:/dev/usb3:/dev/ugen0 Checking for dependency: cups-devel- Common Unix Printing System development files... error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP. Checking for dependency: libcrypto - OpenSSL cryptographic library... error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. Checking for dependency: libjpeg - JPEG library... error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. Checking for dependency: libnetsnmp-devel - SNMP networking library development files... error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. Checking for dependency: libpthread - POSIX threads library... error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this Checking for dependency: libusb - USB library... error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. Checking for dependency: make - GNU make utility to maintain groups of programs... error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP. dependency is installed before installing or running HPLIP. Checking for dependency: python-devel - Python development files... error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP. On Wednesday 26 March 2008 04:29:45 you wrote: Isaac Mushinsky wrote: On Wednesday 26 March 2008 02:49:52 you wrote: fOn Wed, 26 Mar 2008, Isaac Mushinsky wrote: I am close to assasinating my HP Photosmart C4280 in frustration. 1. This is an all-in-one device. (I did not try the scanner setup yet) 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. So far as I can determine, there is no reason to avoid uscanner in the kernel --- uscanner does not/should not grab the scanner function of your all-in-one. It should then be possible to attach your single function scanner with sane --- although it is sensible to get hplip up without that complication first. 3. Machine is FreeBSD 7-stable/amd64. 4. hplip is 2.8.2 $ usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: Photosmart C4200 series, HP addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel There is a ppd file for these series with the hplip distribution. hpssd,
Re: hplip setup problems
Isaac Mushinsky wrote: On Wed, Mar 26, 2008 at 3:49 PM, Predrag Punosevac [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Isaac Mushinsky wrote: Obviously the device can not communicate with the kernel. My first hunch would be to blame on ugen driver of BSD but look at this lines from hp-check that I copied from you message. You are missing slue of REQUIRED libraries. Well, hp-check seems broken, so I wouldn't take it all that seriously. It probably only works on linux. How can it complain of missing libusb and then proceed to use it? Actually that is a new information to me. On my OpenBSD 4.3 current hp-check works like a charm. You can manually check if you have each one of those libraries. You are probably right about the fact that failure to get serial device number is the show stopper but that seems that points again to inability of ugen driver to fully communicate with the printer. I started dusting of my C skills (in the real life I am a mathematician) in particularly because I want look those drivers for USB devices. Sorry, I could not be of more help. As I said earlier you can use printing function if you leave ulpt driver but that definitely kills the purpose of having all-in-one device. Best, Predrag hplip finds the device correctly, and gets the vendor/product id. The immediate show stopper is failure to get serial number of the device. Or is it? it seems to be the only place where a libusb call fails. I am not sure if it is HP's fault or an hplip/io/hpmud problem, though. Are you running CUPS development version. I am running on a standard cups from ports. It was installed as requirement by KDE or something. Besides, there seems to be no problem with cups itself. You are not supposed to do that. You can try to install each of the missing libraries by hand and then try hp-setup. Something is very WRONG with your installation. Even better. If you have a spare machine to for testing. Try one more time to install things. Install firstly CUPS and SANE-backends and then install HPLIP (nothing else). If you see the same output from hp-check try installing missing libraries by hand. If after all everything works I would reports HPLIP port as broken as the required libraries should be installed as dependencies. On the positive side SANE seems see the scanner. Can you scan? Didn't even try to scan yet. It doesn't matter at this point. I have another (film) scanner that works, though. hplip printer driver seems to see the printer too, seeing is clearly not the problem. Checking output of 'scanimage -L'... device `hpaio:/usb/Photosmart_C4200_series?serial=0' is a Hewlett-Packard Photosmart_C4200_series all-in-one found USB scanner (vendor=0x03f0 [HP], product=0x5c11 [Photosmart C4200 series]) at libusb:/dev/usb3:/dev/ugen0 Checking for dependency: cups-devel- Common Unix Printing System development files... error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP. Checking for dependency: libcrypto - OpenSSL cryptographic library... error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. Checking for dependency: libjpeg - JPEG library... error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. Checking for dependency: libnetsnmp-devel - SNMP networking library development files... error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. Checking for dependency: libpthread - POSIX threads library... error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this Checking for dependency: libusb - USB library... error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. Checking for dependency: make - GNU make utility to maintain groups of programs... error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP. dependency is installed before installing or running HPLIP. Checking for dependency: python-devel - Python development files... error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP. On Wednesday 26 March 2008 04:29:45 you wrote: Isaac Mushinsky wrote: On Wednesday 26 March 2008 02:49:52 you wrote: fOn Wed, 26 Mar 2008,
Re: hplip setup problems
On Wednesday 26 March 2008 00:21:12 Isaac Mushinsky wrote: I am close to assasinating my HP Photosmart C4280 in frustration. 1. This is an all-in-one device. (I did not try the scanner setup yet) 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. 3. Machine is FreeBSD 7-stable/amd64. 4. hplip is 2.8.2 $ usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: Photosmart C4200 series, HP addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel There is a ppd file for these series with the hplip distribution. hpssd, cups started in the order needed. hp-setup detects the printer, and then says 'Unable to create queue'. CUPS web interface actually adds the printer, but then cannot print test page to it. cups user runs hpssd (I tried root too). /var/log/messages has: Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid serial id string ret=-5 Here is all relevant output: http://omsk.mushinsky.net/hplip-trouble Any help is appreciated. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] final piece of information: sane cannot open the HP all-in-one as a scanner with same error (getting serial id). However, my Nikon LS40-ED (a 35mm film scanner) works fine. So the problem is apparently not my installation or libusb. ~ sane-find-scanner # sane-find-scanner will now attempt to detect your scanner. If the # result is different from what you expected, first make sure your # scanner is powered up and properly connected to your computer. # No SCSI scanners found. If you expected something different, make sure that # you have loaded a kernel SCSI driver for your SCSI adapter. found USB scanner (vendor=0x04b0 [Nikon], product=0x4000 [LS-40 ED]) at libusb:/dev/usb2:/dev/ugen1 found USB scanner (vendor=0x03f0 [HP], product=0x5c11 [Photosmart C4200 series]) at libusb:/dev/usb3:/dev/ugen0 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage. # Not checking for parallel port scanners. # Most Scanners connected to the parallel port or other proprietary ports # can't be detected by this program. # You may want to run this program as root to find all devices. Once you # found the scanner devices, be sure to adjust access permissions as # necessary. The Nikon scanner works, the HP device fails to return serial id as above. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hplip setup problems
Isaac Mushinsky wrote: On Wednesday 26 March 2008 00:21:12 Isaac Mushinsky wrote: I am close to assasinating my HP Photosmart C4280 in frustration. 1. This is an all-in-one device. (I did not try the scanner setup yet) 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. 3. Machine is FreeBSD 7-stable/amd64. 4. hplip is 2.8.2 $ usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: Photosmart C4200 series, HP addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel There is a ppd file for these series with the hplip distribution. hpssd, cups started in the order needed. hp-setup detects the printer, and then says 'Unable to create queue'. CUPS web interface actually adds the printer, but then cannot print test page to it. cups user runs hpssd (I tried root too). /var/log/messages has: Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid serial id string ret=-5 Here is all relevant output: http://omsk.mushinsky.net/hplip-trouble Any help is appreciated. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] final piece of information: sane cannot open the HP all-in-one as a scanner with same error (getting serial id). However, my Nikon LS40-ED (a 35mm film scanner) works fine. So the problem is apparently not my installation or libusb. I would not bet my life on it. There are two ways on which sane-backend talk to scanners. Libusb is one of the ways. I have two Epson scanners. One of them does use libusb one of them doesn't not. How do I know. Well in OpenBSD when the scanner uses libusb you have to remove uscanner driver from the kernel in order to use it. Cheers, Predrag ~ sane-find-scanner # sane-find-scanner will now attempt to detect your scanner. If the # result is different from what you expected, first make sure your # scanner is powered up and properly connected to your computer. # No SCSI scanners found. If you expected something different, make sure that # you have loaded a kernel SCSI driver for your SCSI adapter. found USB scanner (vendor=0x04b0 [Nikon], product=0x4000 [LS-40 ED]) at libusb:/dev/usb2:/dev/ugen1 found USB scanner (vendor=0x03f0 [HP], product=0x5c11 [Photosmart C4200 series]) at libusb:/dev/usb3:/dev/ugen0 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage. # Not checking for parallel port scanners. # Most Scanners connected to the parallel port or other proprietary ports # can't be detected by this program. # You may want to run this program as root to find all devices. Once you # found the scanner devices, be sure to adjust access permissions as # necessary. The Nikon scanner works, the HP device fails to return serial id as above. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hplip setup problems
On Wednesday 26 March 2008 23:31:26 you wrote: Isaac Mushinsky wrote: On Wednesday 26 March 2008 00:21:12 Isaac Mushinsky wrote: I am close to assasinating my HP Photosmart C4280 in frustration. 1. This is an all-in-one device. (I did not try the scanner setup yet) 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. 3. Machine is FreeBSD 7-stable/amd64. 4. hplip is 2.8.2 $ usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: Photosmart C4200 series, HP addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel There is a ppd file for these series with the hplip distribution. hpssd, cups started in the order needed. hp-setup detects the printer, and then says 'Unable to create queue'. CUPS web interface actually adds the printer, but then cannot print test page to it. cups user runs hpssd (I tried root too). /var/log/messages has: Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid serial id string ret=-5 Here is all relevant output: http://omsk.mushinsky.net/hplip-trouble Any help is appreciated. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] final piece of information: sane cannot open the HP all-in-one as a scanner with same error (getting serial id). However, my Nikon LS40-ED (a 35mm film scanner) works fine. So the problem is apparently not my installation or libusb. I would not bet my life on it. There are two ways on which sane-backend talk to scanners. Libusb is one of the ways. I have two Epson scanners. One of them does use libusb one of them doesn't not. How do I know. Well in OpenBSD when the scanner uses libusb you have to remove uscanner driver from the kernel in order to use it. Cheers, Predrag ~ sane-find-scanner # sane-find-scanner will now attempt to detect your scanner. If the # result is different from what you expected, first make sure your # scanner is powered up and properly connected to your computer. # No SCSI scanners found. If you expected something different, make sure that # you have loaded a kernel SCSI driver for your SCSI adapter. found USB scanner (vendor=0x04b0 [Nikon], product=0x4000 [LS-40 ED]) at libusb:/dev/usb2:/dev/ugen1 found USB scanner (vendor=0x03f0 [HP], product=0x5c11 [Photosmart C4200 series]) at libusb:/dev/usb3:/dev/ugen0 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage. # Not checking for parallel port scanners. # Most Scanners connected to the parallel port or other proprietary ports # can't be detected by this program. # You may want to run this program as root to find all devices. Once you # found the scanner devices, be sure to adjust access permissions as # necessary. The Nikon scanner works, the HP device fails to return serial id as above. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I do not have uscanner loaded, so assume it must be libusb. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hplip setup problems
On Wednesday 26 March 2008 23:31:26 Predrag Punosevac wrote: Isaac Mushinsky wrote: On Wednesday 26 March 2008 00:21:12 Isaac Mushinsky wrote: I am close to assasinating my HP Photosmart C4280 in frustration. 1. This is an all-in-one device. (I did not try the scanner setup yet) 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. 3. Machine is FreeBSD 7-stable/amd64. 4. hplip is 2.8.2 $ usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: Photosmart C4200 series, HP addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel There is a ppd file for these series with the hplip distribution. hpssd, cups started in the order needed. hp-setup detects the printer, and then says 'Unable to create queue'. CUPS web interface actually adds the printer, but then cannot print test page to it. cups user runs hpssd (I tried root too). /var/log/messages has: Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid serial id string ret=-5 Here is all relevant output: http://omsk.mushinsky.net/hplip-trouble Any help is appreciated. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] final piece of information: sane cannot open the HP all-in-one as a scanner with same error (getting serial id). However, my Nikon LS40-ED (a 35mm film scanner) works fine. So the problem is apparently not my installation or libusb. I would not bet my life on it. There are two ways on which sane-backend talk to scanners. Libusb is one of the ways. I have two Epson scanners. One of them does use libusb one of them doesn't not. How do I know. Well in OpenBSD when the scanner uses libusb you have to remove uscanner driver from the kernel in order to use it. Cheers, Predrag ~ sane-find-scanner # sane-find-scanner will now attempt to detect your scanner. If the # result is different from what you expected, first make sure your # scanner is powered up and properly connected to your computer. # No SCSI scanners found. If you expected something different, make sure that # you have loaded a kernel SCSI driver for your SCSI adapter. found USB scanner (vendor=0x04b0 [Nikon], product=0x4000 [LS-40 ED]) at libusb:/dev/usb2:/dev/ugen1 found USB scanner (vendor=0x03f0 [HP], product=0x5c11 [Photosmart C4200 series]) at libusb:/dev/usb3:/dev/ugen0 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage. # Not checking for parallel port scanners. # Most Scanners connected to the parallel port or other proprietary ports # can't be detected by this program. # You may want to run this program as root to find all devices. Once you # found the scanner devices, be sure to adjust access permissions as # necessary. The Nikon scanner works, the HP device fails to return serial id as above. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have a spare partition, so when I have the time I'll try to install linux on it and see. This printer is listed as supported and 'working perfectly' on linuxprinting.org Also, I loaded ulpt and it is able to talk to the printer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hplip setup problems
Isaac Mushinsky wrote: On Wednesday 26 March 2008 23:31:26 Predrag Punosevac wrote: Isaac Mushinsky wrote: On Wednesday 26 March 2008 00:21:12 Isaac Mushinsky wrote: I am close to assasinating my HP Photosmart C4280 in frustration. 1. This is an all-in-one device. (I did not try the scanner setup yet) 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. 3. Machine is FreeBSD 7-stable/amd64. 4. hplip is 2.8.2 $ usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: Photosmart C4200 series, HP addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel There is a ppd file for these series with the hplip distribution. hpssd, cups started in the order needed. hp-setup detects the printer, and then says 'Unable to create queue'. CUPS web interface actually adds the printer, but then cannot print test page to it. cups user runs hpssd (I tried root too). /var/log/messages has: Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid serial id string ret=-5 Here is all relevant output: http://omsk.mushinsky.net/hplip-trouble Any help is appreciated. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] final piece of information: sane cannot open the HP all-in-one as a scanner with same error (getting serial id). However, my Nikon LS40-ED (a 35mm film scanner) works fine. So the problem is apparently not my installation or libusb. I would not bet my life on it. There are two ways on which sane-backend talk to scanners. Libusb is one of the ways. I have two Epson scanners. One of them does use libusb one of them doesn't not. How do I know. Well in OpenBSD when the scanner uses libusb you have to remove uscanner driver from the kernel in order to use it. Cheers, Predrag ~ sane-find-scanner # sane-find-scanner will now attempt to detect your scanner. If the # result is different from what you expected, first make sure your # scanner is powered up and properly connected to your computer. # No SCSI scanners found. If you expected something different, make sure that # you have loaded a kernel SCSI driver for your SCSI adapter. found USB scanner (vendor=0x04b0 [Nikon], product=0x4000 [LS-40 ED]) at libusb:/dev/usb2:/dev/ugen1 found USB scanner (vendor=0x03f0 [HP], product=0x5c11 [Photosmart C4200 series]) at libusb:/dev/usb3:/dev/ugen0 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage. # Not checking for parallel port scanners. # Most Scanners connected to the parallel port or other proprietary ports # can't be detected by this program. # You may want to run this program as root to find all devices. Once you # found the scanner devices, be sure to adjust access permissions as # necessary. The Nikon scanner works, the HP device fails to return serial id as above. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have a spare partition, so when I have the time I'll try to install linux on it and see. This printer is listed as supported and 'working perfectly' on linuxprinting.org Also, I loaded ulpt and it is able to talk to the printer. That is the whole point of the discussion. HPLIP is written for Linux and at least my experience with HPLIP on Ubuntu you just plug things and they work. So the problem is definitely not in HPLIP but in configuration and possibly FreeBSD drivers. Using Ubuntu will also not help you with FreeBSD configuration. Cheers, Predrag P. S. One way of approaching the problem is to attach that all-in-one device on Linux machine and use it on your FreeBSD machine via the network. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
hplip setup problems
I am close to assasinating my HP Photosmart C4280 in frustration. 1. This is an all-in-one device. (I did not try the scanner setup yet) 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. 3. Machine is FreeBSD 7-stable/amd64. 4. hplip is 2.8.2 $ usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: Photosmart C4200 series, HP addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel There is a ppd file for these series with the hplip distribution. hpssd, cups started in the order needed. hp-setup detects the printer, and then says 'Unable to create queue'. CUPS web interface actually adds the printer, but then cannot print test page to it. cups user runs hpssd (I tried root too). /var/log/messages has: Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid serial id string ret=-5 Here is all relevant output: http://omsk.mushinsky.net/hplip-trouble Any help is appreciated. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hplip setup problems
Isaac Mushinsky wrote: I am close to assasinating my HP Photosmart C4280 in frustration. 1. This is an all-in-one device. (I did not try the scanner setup yet) 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. 3. Machine is FreeBSD 7-stable/amd64. 4. hplip is 2.8.2 $ usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: Photosmart C4200 series, HP addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel There is a ppd file for these series with the hplip distribution. hpssd, cups started in the order needed. hp-setup detects the printer, and then says 'Unable to create queue'. Do you have correct permissions on device nodes? CUPS web interface actually adds the printer, but then cannot print test page to it. cups user runs hpssd (I tried root too). /var/log/messages has: Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid serial id string ret=-5 Here is all relevant output: http://omsk.mushinsky.net/hplip-trouble Any help is appreciated. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hplip setup problems
Do you have correct permissions on device nodes? I think so, see the lsdevs output at the link provided. The permissions are even more liberal; I'll change them back when the problem is fixed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]