From: Richard J. <ri...@an...> - 2004-03-20 10:46:51
|
Probe for USB-connected devices ([y]/n)? y Probing "/dev/usb/lp0"... *** Found "officejet 4100 series" but failed to communicate with it! *** Elapsed time for this attempt was 6 second(s). *** Check syslog file for ptal-mlcd error messages. *** See hpoj documentation for troubleshooting information. In /var/log/syslog I see: Mar 20 10:37:28 aomori ptal-mlcd: SYSLOG at ExMgr.cpp:652, dev=<mlc:usb:probe>, pid=31144, e=2, t=1079779048 ptal-mlcd successfully initialized. Mar 20 10:37:28 aomori ptal-mlcd: SYSLOG at ExMgr.cpp:652, dev=<mlc:usb:probe>, pid=31151, e=111, t=1079779048 ptal-mlcd successfully initialized. Mar 20 10:37:28 aomori ptal-mlcd: ERROR at ExMgr.cpp:4063, dev=<mlc:usb:probe@/dev/usb/lp0>, pid=31151, e=22, t=1079779048 libusbFindDevice: Couldn't find device! Mar 20 10:37:33 aomori ptal-mlcd: ERROR at transport/ExMlcCommandChannel.cpp:251, dev=<mlc:usb:probe@/dev/usb/lp0>, pid=31151, e=22, t=1079779053 Command reply timeout on port=0, count=1, lastRequest=0x00! Mar 20 10:37:33 aomori ptal-mlcd: ERROR at ExMgr.cpp:871, dev=<mlc:usb:probe@/dev/usb/lp0>, pid=31151, e=22, t=1079779053 exClose(reason=0x3002) Mar 20 10:37:34 aomori ptal-mlcd: SYSLOG at ExMgr.cpp:652, dev=<mlc:usb:probe>, pid=31161, e=111, t=1079779054 ptal-mlcd successfully initialized. Mar 20 10:37:34 aomori ptal-mlcd: ERROR at ExMgr.cpp:2525, dev=<mlc:usb:probe@/dev/usb/lp1>, pid=31161, e=19, t=1079779054 Couldn't find device! Mar 20 10:37:34 aomori ptal-mlcd: SYSLOG at ExMgr.cpp:652, dev=<mlc:usb:probe>, pid=31170, e=111, t=1079779054 ptal-mlcd successfully initialized. Mar 20 10:37:34 aomori ptal-mlcd: ERROR at ExMgr.cpp:2525, dev=<mlc:usb:probe@/dev/usb/lp10>, pid=31170, e=19, t=1079779054 Couldn't find device! Mar 20 10:37:34 aomori ptal-mlcd: SYSLOG at ExMgr.cpp:652, dev=<mlc:usb:probe>, pid=31179, e=111, t=1079779054 ptal-mlcd successfully initialized. [Last two messages repeated several more times] In dmesg there doesn't seem to be anything particularly unusual: usb.c: ignoring set_interface for dev 2, iface 1, alt 0 usb.c: registered new driver usblp usb.c: ignoring set_interface for dev 2, iface 1, alt 0 printer.c: usblp0: USB Bidirectional printer dev 2 if 1 alt 0 printer.c: v0.8:USB Printer Device Class driver I had another HP OfficeJet (45) working on the same USB port until we bought this printer to replace it, so I'm reasonably sure the hardware is OK. Ideas? Rich. -- Richard Jones. http://www.annexia.org/ http://www.j-london.com/ Merjis Ltd. http://www.merjis.com/ - improving website return on investment PTHRLIB is a library for writing small, efficient and fast servers in C. HTTP, CGI, DBI, lightweight threads: http://www.annexia.org/freeware/pthrlib/ |
From: Richard J. <ri...@an...> - 2004-03-20 15:53:34
|
Following the advice here: http://hpoj.sourceforge.net/_todo-0.90.shtml I upgraded to libusb 0.8.1 and the latest CVS version of hpoj, and the OfficeJet 4100 printer *still* doesn't work. Now the device cannot even be found by ptal-init setup, even though the kernel can see it quite happily. Rich. -- Richard Jones. http://www.annexia.org/ http://www.j-london.com/ Merjis Ltd. http://www.merjis.com/ - improving website return on investment "One serious obstacle to the adoption of good programming languages is the notion that everything has to be sacrificed for speed. In computer languages as in life, speed kills." -- Mike Vanier |
From: Cory M. <cor...@hp...> - 2004-03-22 16:22:34
|
How did you upgrade? Also, what distro are you running? Cory hp linux printing team On Sat, 2004-03-20 at 07:53, Richard Jones wrote: > Following the advice here: > > http://hpoj.sourceforge.net/_todo-0.90.shtml > > I upgraded to libusb 0.8.1 and the latest CVS version of hpoj, and the > OfficeJet 4100 printer *still* doesn't work. Now the device cannot > even be found by ptal-init setup, even though the kernel can see it > quite happily. > > Rich. |
From: Richard J. <ri...@an...> - 2004-03-22 16:30:22
|
On Mon, Mar 22, 2004 at 08:22:27AM -0800, Cory Meisch wrote: > How did you upgrade? Also, what distro are you running? Hi Cory, I checked out the version from CVS - this would be Friday or Saturday IIRC. I compiled that. For libusb, I used the latest stable version (0.1.8 - not 0.8.1 as I erroneously said in my previous email). I'm running Debian/stable, but I uninstalled hpoj and removed libusb files by hand before installing the above. Symptoms at the moment: (1) If I reboot, then I can detect the printer using ptal-init setup. Printing doesn't work, with essentially the same error as before. I can get the exact error if you like, but I'll need to wait for a convenient time to reboot my server. (2) After that, running ptal-init setup doesn't see the printer at all, although the kernel can see it. (3) Scanning works (using SANE's scanimage tool). All in all, not much difference between using the CVS version and using the previous hpoj version from Debian. Rich. -- Richard Jones. http://www.annexia.org/ http://www.j-london.com/ Merjis Ltd. http://www.merjis.com/ - improving website return on investment MOD_CAML lets you run type-safe Objective CAML programs inside the Apache webserver. http://www.merjis.com/developers/mod_caml/ |
From: Cory M. <cor...@hp...> - 2004-03-22 19:06:03
|
Can you check the CUPS logs and and dmesg and tell me if you get any error messages there? Also, after you run Ptal-init, how are you then setting up the device? Another thing you might want to do, is start fresh again. Remove all the hpoj stuff. Restart CUPS. Upgrade hpijs with the tar ball. Then install the hpoj-0.91 tar ball (not CVS, even though they should be exactly the same). Restart CUPS with #killall cupsd -HUP and then use the web interface (http://localhost:631) to setup your device... Cory hp linux printing team On Mon, 2004-03-22 at 08:30, Richard Jones wrote: > On Mon, Mar 22, 2004 at 08:22:27AM -0800, Cory Meisch wrote: > > How did you upgrade? Also, what distro are you running? > > Hi Cory, > > I checked out the version from CVS - this would be Friday or Saturday > IIRC. I compiled that. > > For libusb, I used the latest stable version (0.1.8 - not 0.8.1 as I > erroneously said in my previous email). > > I'm running Debian/stable, but I uninstalled hpoj and removed libusb > files by hand before installing the above. > > Symptoms at the moment: > > (1) If I reboot, then I can detect the printer using ptal-init setup. > Printing doesn't work, with essentially the same error as before. I > can get the exact error if you like, but I'll need to wait for a > convenient time to reboot my server. > > (2) After that, running ptal-init setup doesn't see the printer at > all, although the kernel can see it. > > (3) Scanning works (using SANE's scanimage tool). > > All in all, not much difference between using the CVS version and > using the previous hpoj version from Debian. > > Rich. |
From: Darren C. <dc...@ws...> - 2004-03-26 16:46:41
|
Hi all, Searching the archives I find that I an having this exact same problem with my OfficeJet 7110. I am running debian unstable using libusb 0.1.8 (latest stable), hpoj 0.91-4 and hpijs 1.5. ptal-init gives me the Probing "/dev/usb/lp0"... *** Found "officejet 7100 series" but failed to communicate with it! *** Elapsed time for this attempt was 6 second(s). *** Check syslog file for ptal-mlcd error messages. *** See hpoj documentation for troubleshooting information. From dmesg I see no errors, the relevant stuff is usb.c: USB new device connect, assigned device number 2 hub.c: USB hub found hub.c: 4 ports detected hub.c: USB new device connect on bus1/2/2, assigned device number 3 usb.c: USB new device connect, assigned device number 3 usb.c: USB device 3 (vend/prod 0x3f0/0x2611) is not claimed by any active driver. usb.c: registered new driver usblp printer.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 likewise there are now errors in the cups log. In /var/log/messages I see the same as in dmesg. In /var/log/syslog I see: Mar 26 08:39:21 MajorKong ptal-mlcd: SYSLOG at ExMgr.cpp:652, dev=<mlc:usb:probe>, pid=1218, e=2, t=1080319161 ptal-mlcd successfully initialized. Mar 26 08:39:22 MajorKong ptal-mlcd: SYSLOG at ExMgr.cpp:652, dev=<mlc:usb:probe>, pid=1225, e=111, t=1080319162 ptal-mlcd successfully initialized. Mar 26 08:39:22 MajorKong ptal-mlcd: ERROR at ExMgr.cpp:4063, dev=<mlc:usb:probe@/dev/usb/lp0>, pid=1225, e=22, t=1080319162 libusbFindDevice: Couldn't find device! Mar 26 08:39:27 MajorKong ptal-mlcd: ERROR at transport/ExMlcCommandChannel.cpp:251, dev=<mlc:usb:probe@/dev/usb/lp0>, pid=1225, e=22, t=1080319167 Command reply timeout on port=0, count=1, lastRequest=0x00! Mar 26 08:39:27 MajorKong ptal-mlcd: ERROR at ExMgr.cpp:871, dev=<mlc:usb:probe@/dev/usb/lp0>, pid=1225, e=22, t=1080319167 exClose(reason=0x3002) Mar 26 08:39:28 MajorKong ptal-mlcd: SYSLOG at ExMgr.cpp:652, dev=<mlc:usb:probe>, pid=1235, e=111, t=1080319168 ptal-mlcd successfully initialized. Mar 26 08:39:28 MajorKong ptal-mlcd: ERROR at ExMgr.cpp:4063, dev=<mlc:usb:probe@/dev/usb/lp1>, pid=1235, e=22, t=1080319168 libusbFindDevice: Couldn't find device! Mar 26 08:39:33 MajorKong ptal-mlcd: ERROR at transport/ExMlcCommandChannel.cpp:251, dev=<mlc:usb:probe@/dev/usb/lp1>, pid=1235, e=22, t=1080319173 Command reply timeout on port=0, count=1, lastRequest=0x00! which makes me wonder. The usb/lp0 is my officejet and the usb/lp1 is a brother printer that runs perfectly under cups. At the moment the officejet is not added to the cups configuration at all although if I try to add it to cups then I see ptal device not found and if I choose USB Printer #1 then I can print nothing at all... Another possibly related issue is that if I let ptal-init look for parallel devices it claims to find one but there is nothing connected to the parallel port... just tossing that in in case it is of consequence. Has this problem been resolved? Can anyone point me in the right direction? Thanks, Darren On Mar 22, 2004, at 2:05 PM, Cory Meisch wrote: > Can you check the CUPS logs and and dmesg and tell me if you get any > error messages there? Also, after you run Ptal-init, how are you then > setting up the device? > > Another thing you might want to do, is start fresh again. Remove all > the > hpoj stuff. Restart CUPS. Upgrade hpijs with the tar ball. Then install > the hpoj-0.91 tar ball (not CVS, even though they should be exactly the > same). Restart CUPS with #killall cupsd -HUP and then use the web > interface (http://localhost:631) to setup your device... > > Cory > hp linux printing team |
From: Erik <be...@vt...> - 2004-03-24 02:37:53
|
I'm having the same exact problems in debian unstable and hope that once you find a solution you will post it here... As a side note: the printer did work fine under RH 9.0 a couple of months ago. On Mon, 2004-03-22 at 11:30, Richard Jones wrote: > On Mon, Mar 22, 2004 at 08:22:27AM -0800, Cory Meisch wrote: > > How did you upgrade? Also, what distro are you running? > > Hi Cory, > > I checked out the version from CVS - this would be Friday or Saturday > IIRC. I compiled that. > > For libusb, I used the latest stable version (0.1.8 - not 0.8.1 as I > erroneously said in my previous email). > > I'm running Debian/stable, but I uninstalled hpoj and removed libusb > files by hand before installing the above. > > Symptoms at the moment: > > (1) If I reboot, then I can detect the printer using ptal-init setup. > Printing doesn't work, with essentially the same error as before. I > can get the exact error if you like, but I'll need to wait for a > convenient time to reboot my server. > > (2) After that, running ptal-init setup doesn't see the printer at > all, although the kernel can see it. > > (3) Scanning works (using SANE's scanimage tool). > > All in all, not much difference between using the CVS version and > using the previous hpoj version from Debian. > > Rich. |