Re: [Hplip-help] raise Error(ERROR_DEVICE_IO_ERROR)
Hi Aaron, perfect. I implemented the change and hp-align and hp-clean are working without any problem. Many thanks. Charles On Tue, 18 Jul 2006 15:09:46 -0700 Aaron J Albright [EMAIL PROTECTED] wrote: Charles, We are still investigating, however a work around is this: su cd /usr/share/hplip/data/xml gedit models.xml Locate this section: model name=DESKJET_815C id/id iconDESKJET_840C.png/icon support type=2/ case-model model1Deskjet 815c/model1 /case-model io support=1 mode=0 control=0 mfp-mode=2 scan-port=0/ align type=2/ clean type=1/ color-cal type=0/ status type=1 battery-check=0 dynamic-counters=0/ scan type=0/ fax type=0/ pcard type=0/ copy type=0/ tech class=DJ8xx type=2/ embedded-server type=0/ panel-check type=0/ linefeed-cal type=0/ pq-diag type=0/ r0 agent1 kind=3 type=1 sku=15 (C6615DN)/ agent2 kind=3 type=2 sku=23 (C1823D)/ /r0 /model Change line: io support=1 mode=0 control=0 mfp-mode=2 scan-port=0/ TO: io support=1 mode=1 control=0 mfp-mode=2 scan-port=0/ Save, Exit, restart HPLIP (/etc/init.d/hplip restart) hp-align should work. We are looking into a long term solution as well. Let me know if you have any problems. Aaron Charles Stroom wrote: Hi Aaron, nice and thanks a lot. Charles Stroom email: charles at stremen dot xs4all dot nl --- Original Message on Tue, 18 Jul 2006 14:19:05 PDT Aaron J Albright [EMAIL PROTECTED] wrote: This is a cryptographically signed message in MIME format. --ms070002080103060703070806 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Charles, I can reproduce this. I'll continue to research this and see if there is a resolution. Sorry for the delay. Aaron Charles Stroom wrote: since my problem hasn't been solved yet, I thought to repeat my request for help. My latest email to the list is below. If anyone has further suggestions, I would like to hear them. Cheers Charles --- Forwarded Message Subject: Re: [Hplip-help] raise Error(ERROR_DEVICE_IO_ERROR) From:Charles Stroom [EMAIL PROTECTED] Date:Tue, 11 Jul 2006 00:24:23 +0200 To: hplip-help@lists.sourceforge.net Hi Aaron, I did do this (tail -f /var/log/messages) and got with hp-clean: - Jul 11 00:06:50 corrente kernel: ppdev0: registered pardevice Jul 11 00:06:50 corrente kernel: ppdev0: negotiated back to compatibility m ode because use r-space forgot Jul 11 00:06:50 corrente kernel: ppdev0: unregistered pardevice Jul 11 00:06:50 corrente kernel: ppdev1: claim the port first Jul 11 00:06:50 corrente kernel: ppdev2: claim the port first Jul 11 00:06:50 corrente kernel: ppdev3: claim the port first Jul 11 00:06:50 corrente python: hpssd[5285]: warning: Inrecognized URI: pa rallel:/dev/lp0 Jul 11 00:06:50 corrente python: hpssd[5285]: warning: Inrecognized URI: us b://Lexmark/E23 2 Jul 11 00:06:50 corrente python: hpssd[5285]: warning: Inrecognized URI: fi le:/tmp/printfi le.ps Jul 11 00:06:50 corrente kernel: ppdev0: registered pardevice Jul 11 00:06:50 corrente python: hp-clean[14262]: warning: No status availa ble for device. Jul 11 00:06:50 corrente python: hpssd[5285] error: String query failed for id 0 Jul 11 00:06:50 corrente hpiod: invalid channel descriptor:-1 io/hpiod/syst em.cpp 1351 Jul 11 00:06:50 corrente python: hp-clean[14262] error: Channel write error Jul 11 00:06:50 corrente kernel: ppdev0: negotiated back to compatibility m ode because use r-space forgot Jul 11 00:06:50 corrente kernel: ppdev0: unregistered pardevice - --- with hp-align, it's slightly different: - -- Jul 11 00:16:26 corrente kernel: ppdev0: registered pardevice Jul 11 00:16:26 corrente kernel: ppdev0: negotiated back to compatibility m ode because use r-space forgot Jul 11 00:16:26 corrente kernel: ppdev0: unregistered pardevice Jul 11 00:16:26 corrente kernel: ppdev1: claim the port first Jul 11 00:16:26 corrente kernel: ppdev2: claim the port first Jul 11 00:16:26 corrente kernel: ppdev3: claim the port first Jul 11 00:16:26 corrente python: hpssd[5285]: warning: Inrecognized URI: pa rallel:/dev/lp0 Jul 11 00:16:26 corrente python: hpssd[5285]: warning: Inrecognized URI: us b://Lexmark/E23 2 Jul 11 00:16:26 corrente python: hpssd[5285]: warning: Inrecognized URI: fi le:/tmp/printfi le.ps Jul 11 00:16:26 corrente kernel: ppdev0: registered pardevice Jul 11 00:16:26 corrente python: hp-align[16066]: warning: No status availa ble for device. - -- And yes, print and also using
Re: [Hplip-help] raise Error(ERROR_DEVICE_IO_ERROR)
since my problem hasn't been solved yet, I thought to repeat my request for help. My latest email to the list is below. If anyone has further suggestions, I would like to hear them. Cheers Charles --- Forwarded Message Subject: Re: [Hplip-help] raise Error(ERROR_DEVICE_IO_ERROR) From:Charles Stroom [EMAIL PROTECTED] Date:Tue, 11 Jul 2006 00:24:23 +0200 To: hplip-help@lists.sourceforge.net Hi Aaron, I did do this (tail -f /var/log/messages) and got with hp-clean: - Jul 11 00:06:50 corrente kernel: ppdev0: registered pardevice Jul 11 00:06:50 corrente kernel: ppdev0: negotiated back to compatibility mode because use r-space forgot Jul 11 00:06:50 corrente kernel: ppdev0: unregistered pardevice Jul 11 00:06:50 corrente kernel: ppdev1: claim the port first Jul 11 00:06:50 corrente kernel: ppdev2: claim the port first Jul 11 00:06:50 corrente kernel: ppdev3: claim the port first Jul 11 00:06:50 corrente python: hpssd[5285]: warning: Inrecognized URI: parallel:/dev/lp0 Jul 11 00:06:50 corrente python: hpssd[5285]: warning: Inrecognized URI: usb://Lexmark/E23 2 Jul 11 00:06:50 corrente python: hpssd[5285]: warning: Inrecognized URI: file:/tmp/printfi le.ps Jul 11 00:06:50 corrente kernel: ppdev0: registered pardevice Jul 11 00:06:50 corrente python: hp-clean[14262]: warning: No status available for device. Jul 11 00:06:50 corrente python: hpssd[5285] error: String query failed for id 0 Jul 11 00:06:50 corrente hpiod: invalid channel descriptor:-1 io/hpiod/system.cpp 1351 Jul 11 00:06:50 corrente python: hp-clean[14262] error: Channel write error Jul 11 00:06:50 corrente kernel: ppdev0: negotiated back to compatibility mode because use r-space forgot Jul 11 00:06:50 corrente kernel: ppdev0: unregistered pardevice - --- with hp-align, it's slightly different: - -- Jul 11 00:16:26 corrente kernel: ppdev0: registered pardevice Jul 11 00:16:26 corrente kernel: ppdev0: negotiated back to compatibility mode because use r-space forgot Jul 11 00:16:26 corrente kernel: ppdev0: unregistered pardevice Jul 11 00:16:26 corrente kernel: ppdev1: claim the port first Jul 11 00:16:26 corrente kernel: ppdev2: claim the port first Jul 11 00:16:26 corrente kernel: ppdev3: claim the port first Jul 11 00:16:26 corrente python: hpssd[5285]: warning: Inrecognized URI: parallel:/dev/lp0 Jul 11 00:16:26 corrente python: hpssd[5285]: warning: Inrecognized URI: usb://Lexmark/E23 2 Jul 11 00:16:26 corrente python: hpssd[5285]: warning: Inrecognized URI: file:/tmp/printfi le.ps Jul 11 00:16:26 corrente kernel: ppdev0: registered pardevice Jul 11 00:16:26 corrente python: hp-align[16066]: warning: No status available for device. - -- And yes, print and also using the cups interface works fine. The printer I am trying to access is a deskjet 815C on the parallel parport0 (the Lexmark is on usb). hp-info says: device-urihp:/par/DESKJET_815C?device=/dev/parport0 And btw, my statement below (on the packages) is not correct: some packages are installed (libjpeg-devel-6.2.0-5, libjpeg-6.2.0-739, libusb-0.1.10a-4), but the others are not. Would that be the reason for the problems? Is it a problem that the same printer is still available under a different print queue with Device URI: parallel:/dev/lp0 ? Stopping that print queue has no effect anyhow. Regards, Charles Stroom email: charles at stremen dot xs4all dot nl - --- Original Message on Mon, 10 Jul 2006 13:57:11 PDT Aaron Albright [EMAIL PROTECTED] wrote: Charles, Can you run tail -f /var/log/messages and then try using one of the hp commands? (hp-align, etc) There seems to be some sort of communication problem. But you can print okay? Aaron Charles Stroom wrote: on Mon, 10 Jul 2006 09:06:42 PDT dwelch91 [EMAIL PROTECTED] wrote: Charles Stroom wrote: Checking for library dependencies... Checking for libnetsnmp... error: Not found. Checking for libjpeg... error: Not found. Checking for libusb... error: Not found. Checking for libcrypto... error: Not found. Checking for libpthread... error: Not found. . . . - however, the packages missing above are installed. For example rpm -qa | grep -i snmp net-snmp-devel-5.2.1-10 net-snmp-5.2.1-10.2 rpm -qa | grep -i libjpeg libjpeg-devel-6.2.0-5 libjpeg-6.2.0-739 Any hints from the community? Many thanks Charles email: charles at stremen dot xs4all dot nl Is this Fedora? If so, the errors you got in hp-check are a known problem. It will be fixed in the next release. -Don No, this is SuSE 10.0, with hplip 1.6.6a installed from tarfile. As I said in my original message, hp-clean or similar programs fail when writing to the device (I believe), with messages: . . . File /usr/share/hplip/base/device.py, line 1531
Re: [Hplip-help] raise Error(ERROR_DEVICE_IO_ERROR)
Charles, Can you run tail -f /var/log/messages and then try using one of the hp commands? (hp-align, etc) There seems to be some sort of communication problem. But you can print okay? Aaron Charles Stroom wrote: on Mon, 10 Jul 2006 09:06:42 PDT dwelch91 [EMAIL PROTECTED] wrote: Charles Stroom wrote: Checking for library dependencies... Checking for libnetsnmp... error: Not found. Checking for libjpeg... error: Not found. Checking for libusb... error: Not found. Checking for libcrypto... error: Not found. Checking for libpthread... error: Not found. . . . - however, the packages missing above are installed. For example rpm -qa | grep -i snmp net-snmp-devel-5.2.1-10 net-snmp-5.2.1-10.2 rpm -qa | grep -i libjpeg libjpeg-devel-6.2.0-5 libjpeg-6.2.0-739 Any hints from the community? Many thanks Charles email: charles at stremen dot xs4all dot nl Is this Fedora? If so, the errors you got in hp-check are a known problem. It will be fixed in the next release. -Don No, this is SuSE 10.0, with hplip 1.6.6a installed from tarfile. As I said in my original message, hp-clean or similar programs fail when writing to the device (I believe), with messages: . . . File /usr/share/hplip/base/device.py, line 1531, in writePrint return self.__writeChannel(self.openPrint, data) File /usr/share/hplip/base/device.py, line 1563, in __writeChannel raise Error(ERROR_DEVICE_IO_ERROR) base.g.Error: ('Device I/O error', 12) Still not working. Regards, Charles - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ HPLIP-Help mailing list HPLIP-Help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hplip-help