ebrke Posted February 24, 2020 Posted February 24, 2020 I have been having difficulty scanning with my ancient HP 1220 printer/scanner combo for a really long time. It's connected USB. Seems to be I never had issued when it was connected using parallel port, but I no longer have a parallel port available. There are no printing issues, the hardware is old but still functional. I'd like to try to solve this, but I'm starting to wonder if that's possible. I haven't even attempted to use hp-lip, as I know from past experience it doesn't help. System recognizes scanner, and I'm just using scanimage from CLI. Scanning is intermittent. Usually I can only scan one item after a complicated process of power cycling printer and rebooting the system. Occasionally I can get two scans before the failure. Here are the messages from a failed attempt: Quote 2020-02-23T14:04:39.824915-05:00 linux-1byq scanimage: io/hpmud/musb.c 427: Found interface conf=0, iface=0, altset=1, index=1 2020-02-23T14:04:39.825275-05:00 linux-1byq scanimage: io/hpmud/musb.c 389: Active kernel driver on interface=0 ret=0 2020-02-23T14:04:39.825472-05:00 linux-1byq scanimage: io/hpmud/musb.c 535: claimed 7/1/2 interface 2020-02-23T14:04:39.825980-05:00 linux-1byq scanimage: io/hpmud/musb.c 780: read actual device_id successfully fd=1 len=127 2020-02-23T14:04:39.826316-05:00 linux-1byq scanimage: io/hpmud/musb.c 561: released 7/1/2 interface 2020-02-23T14:04:39.826467-05:00 linux-1byq scanimage: io/hpmud/musb.c 427: Found interface conf=0, iface=0, altset=1, index=1 2020-02-23T14:04:39.826623-05:00 linux-1byq scanimage: io/hpmud/musb.c 389: Active kernel driver on interface=0 ret=0 2020-02-23T14:04:39.826792-05:00 linux-1byq scanimage: io/hpmud/musb.c 535: claimed 7/1/2 interface 2020-02-23T14:04:39.827337-05:00 linux-1byq scanimage: io/hpmud/musb.c 780: read actual device_id successfully fd=1 len=127 2020-02-23T14:04:39.827528-05:00 linux-1byq scanimage: io/hpmud/musb.c 561: released 7/1/2 interface 2020-02-23T14:04:39.827688-05:00 linux-1byq scanimage: io/hpmud/musb.c 960: new HP-MESSAGE channel=1 clientCnt=1 channelCnt=1 2020-02-23T14:04:39.827843-05:00 linux-1byq scanimage: io/hpmud/musb.c 427: Found interface conf=0, iface=0, altset=0, index=2 2020-02-23T14:04:39.827996-05:00 linux-1byq scanimage: io/hpmud/musb.c 389: Active kernel driver on interface=0 ret=0 2020-02-23T14:04:39.828147-05:00 linux-1byq scanimage: io/hpmud/musb.c 535: claimed 7/1/3 interface 2020-02-23T14:05:24.000104-05:00 linux-1byq scanimage: io/hpmud/mlc.c 179: unable to read MlcReverseCmd header: Resource temporarily unavailable 2020-02-23T14:05:24.000540-05:00 linux-1byq scanimage: io/hpmud/musb.c 1715: invalid MlcCredit from peripheral, trying miser 2020-02-23T14:06:09.000150-05:00 linux-1byq scanimage: io/hpmud/mlc.c 179: unable to read MlcReverseCmd header: Resource temporarily unavailable 2020-02-23T14:06:09.000508-05:00 linux-1byq scanimage: io/hpmud/musb.c 1720: invalid MlcCredit from peripheral 2020-02-23T14:06:09.000710-05:00 linux-1byq scanimage: io/hpmud/pml.c 374: SetPml channel_write failed ret=12 2020-02-23T14:06:09.001861-05:00 linux-1byq scanimage: io/hpmud/musb.c 561: released 7/1/3 interface 2020-02-23T14:06:10.002206-05:00 linux-1byq scanimage: io/hpmud/musb.c 975: removed HP-MESSAGE channel=1 clientCnt=0 channelCnt=0 2020-02-23T14:06:10.002534-05:00 linux-1byq scanimage: io/hpmud/hpmud.c 373: device_cleanup: device uri=hp:/usb/HP_LaserJet_1220?serial=00CNCZ009434 2020-02-23T14:06:10.002769-05:00 linux-1byq scanimage: io/hpmud/hpmud.c 385: device_cleanup: close device dd=1... 2020-02-23T14:06:10.002917-05:00 linux-1byq scanimage: io/hpmud/hpmud.c 387: device_cleanup: done closing device dd=1 The only info I can find when searching on this issue is that it can be USB related; advice was get a new hub or cable. Seems to me this would just be a 4-pin A-male to B-male cable, but my hardware knowledge isn't that great. Anyone have any cable recommendations or general thoughts? Quote
V.T. Eric Layton Posted February 24, 2020 Posted February 24, 2020 Q1. What drivers are you using for the printer? Q2. What does this show you (with your printer ON)? ~:$ lsusb My output for that command showing my printer: vtel57@ericsbane07~:$ lsusb Bus 001 Device 004: ID 03f0:cc11 Hewlett-Packard Q3. Did set up/manage your combo printer using CUPS via your browser? Or is printing handled by systemD in OpenSuSE these days? If the latter, I'm out of here. I'll have to let Josh or someone else finish this troubleshooting. Q4. Do you have some other scanning app to try. Scanimage definitely seems to be finding/losing things in that post above. I use XSane on Slack. Is it available to you on OpenSuSE? I doubt very seriously you have a bad cable; however, it does happen occasionally... as does bad USB ports on your system. Try swapping to another USB port on your system first before running out and buying a cable. Looks like a standard baloney USB cable: They're relatively cheap on eBay and Amazon... $5 - $10 or so. Quote
ebrke Posted February 25, 2020 Author Posted February 25, 2020 Driver: HP LaserJet 1220 - CUPS+Gutenprint v5.2.14 lsusb gives me Bus 002 Device 003: ID 03f0:0417 Hewlett-Packard LaserJet 1200 series Current printer definition created using CUPS. I've also created printers using SUSE's YaST software and the hp-lip software. I have tried xSane. No difference. SUSE offers something called Simple Scan. No difference. I've tried various USB ports--no difference. No matter what I try, I get one or two scans and then have to power cycle printer and restart system to get any more. As I said, I'm starting to doubt this can be resolved. I'm just thankful I don't need to scan very often. Quote
V.T. Eric Layton Posted February 25, 2020 Posted February 25, 2020 I wonder if the scanner portion of the printer is having hardware issues? Anyway, last resort... new USB cable. Quote
ebrke Posted February 25, 2020 Author Posted February 25, 2020 (edited) Okay, there appears to be nothing wrong with the scanner portion of the printer. I decided to start from scratch on my backup laptop, which I don't use too often and which usually doesn't have a printer connected. The system auto-configured the printer when it was detected and I decided to see what that got me. Scanimage -L found the scanner, and when I scanned a document from CLI I was able to do six(!) consecutive scans without an issue. I haven't been able to get more than two with the printer connected to the main laptop, and that was rare as it was usually only one. When I have a few minutes I'm going to delete all the printer/scanner definitions from my main laptop and see if the process that worked on the backup laptop gives the same results on the main laptop. I did see something briefly when I was searching for info on the error message about certain motherboards having some difficulty with something to do with the error message, but I can't remember any details unfortunately. I'll be interested to see if I can get a working scan setup on the main laptop. It's some progress anyway. Thanks for your input, Eric. Edited February 25, 2020 by ebrke 1 Quote
ebrke Posted February 26, 2020 Author Posted February 26, 2020 Final outcome seems to be that the scanner portion of my ancient HP multi-function is only functional with one of my Lenovo laptops. The Thinkpad continues to be unable to scan more than once without failing, and when it fails it leaves the scanner device in a state that requires a power-cycle so it will function with the other Lenovo laptop. At least I have a functional scanner as long as my backup laptop stays alive. I wouldn't care so much if I knew why this happens. I HATE stuff like this that seems random and illogical! Quote
V.T. Eric Layton Posted February 26, 2020 Posted February 26, 2020 If it works fine on one laptop but not on another, logic would tell you that something is wrong with the laptop, not the scanner. That "something" could be drivers, operating system, kernel module differences, library differences, CUPS version differences, etc. Yeah, carp like this used to drive me nuts, too. Nowadays, I'm too old and lazy er... laid back to let it bother me much. 1 Quote
ebrke Posted February 26, 2020 Author Posted February 26, 2020 Quote That "something" could be drivers, operating system, kernel module differences, library differences, CUPS version differences, etc. That's what's driving me crazy. Both machines are running OpenSUSE 15.1 installed on the main machine about 10 days after installation on backup laptop, which is the one that scans without issues. I don't see any differences other than the laptop hardware itself. Oh well. Quote
V.T. Eric Layton Posted February 27, 2020 Posted February 27, 2020 Meh... have a nice hot cup of cocoa and settle in your comfy chair with a good book. Quote
raymac46 Posted February 29, 2020 Posted February 29, 2020 (edited) I assume you have tried a different USB port on the Thinkpad. Maybe the Thinkpad is more sensitive to glitches in the USB cable. What you are seeing is a timeout issue with USB and from what I read it's a bigger problem with scanning than printing. Really might be time to get a new wifi capable all-in-one after 18 years or so. Just don't expect the new one to last as long. I'm now on my 3rd in 10 years. It prints great photos though. https://support.hp.com/ca-en/product/hp-envy-photo-7100-all-in-one-printer-series/9073119 Edited February 29, 2020 by raymac46 Quote
ebrke Posted February 29, 2020 Author Posted February 29, 2020 Unfortunately, a new wi-fi capable multifunction is not in the financial cards. Also, since I'm still operating with cat-5 cables and a non-wireless router, I'm afraid it would be of little use to me. Quote
raymac46 Posted February 29, 2020 Posted February 29, 2020 Where I am it's almost impossible to get a gateway that isn't a wifi-modem combination. My ISP provides me with a Hitron CGNM-3552 wifi gateway. It has a 4 port switch on board for Ethernet as well. Quote
V.T. Eric Layton Posted February 29, 2020 Posted February 29, 2020 Same here. I'm hard-wired on the systems in the house, but my shop system connects via wireless provided by my ISP router. If I'm not out in the shop, though, the wireless is turned off. The only device I use it for inside is my Nook. And the only reason I ever need to connect it up with wifi is to synchronize its clock, which doesn't keep time too well. Quote
raymac46 Posted March 1, 2020 Posted March 1, 2020 I am pretty much the reverse. My main desktop is wired in but the stuff in the basement is all wifi as are any laptops. I also have family visitors who show up with notebooks, tablets, smartphones and expect to connect. I haven't replaced my (old & now disconnected) router because the Hitron provides pretty good connections anywhere in the house. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.