Setup issues with m232-m237 on Fedora 39, hplip 3.23.12

Asked by Sam Varshavchik

I tried, first, to set it up via an Ethernet connection.

hplip saw the printer, configured it, and was able to print.

I then tried to set up scanning. The "Scan" button in the HP Device Manager ended up downloading a driver, eventually running xsane. Xsane sees the scanner, but attempting a preview hangs, and eventually brings up an I/O error dialog. scanimage -L sees it, but not airscan:

# scanimage -L
device `airscan:e1:HP LaserJet MFP M234dw (CB1249)' is a eSCL HP LaserJet MFP M234dw (CB1249) ip=192.168.0.19
device `hpaio:/net/HP_LaserJet_MFP_M232-M237?ip=192.168.0.19' is a Hewlett-Packard HP_LaserJet_MFP_M232-M237 all-in-one
device `hpaio:/net/laserjet_mfp_m232-m237?ip=192.168.0.19&queue=false' is a Hewlett-Packard laserjet_mfp_m232-m237 all-in-one
[root@monster ~]# airscan-discover
[devices]
  HP LaserJet MFP M234dw (CB1249) = http://192.168.0.19:8080/eSCL/, eSCL
  HP LaserJet MFP M234dw (CB1249) = https://192.168.0.19:443/eSCL/, eSCL
  HP LaserJet MFP M234dw (CB1249) = http://192.168.0.19:53048/, WSD
  HP LaserJet MFP M234dw (CB1249) = http://[fe80::d2ad:8ff:fecb:1249%254]:53048/, WSD

I thought that scanning over an Ethernet wasn't supported, perhaps. Next, I unplugged Ethernet and plugged in this printer via USB. The results:

Cups sees the printer. In print setting I can print a test page. Initially, hplip shows the printer is down with status 5002. If I manually stop it and start it, hplip now shows the printer as available, for some period of time. Eventually hplip once again shows "Device is busy, powered down, or unplugged" and throws a temper tantrum.

Even while the printer's status is ok, the "Scan" button results in xsane failing to start completely, with an"Error during device I/O". O don't know if it's important or not, but I got this error once when I set it up the first time as a network connection, followed by hplip prompting me to download a binary blob driver. It went through those motions and apparently succeeded, but scanning did not work. Now, after I removed the network printer and added it via USB I did not get the prompt to download a binary driver.

And the output from scanimage and airscan-discover is, now:

[root@monster ~]# scanimage -L
device `airscan:e0:HP LaserJet MFP M234dw (CB1249) (USB)' is a eSCL HP LaserJet MFP M234dw (CB1249) (USB) ip=127.0.0.1
device `hpaio:/usb/HP_LaserJet_MFP_M232-M237?serial=VNN3N12158' is a Hewlett-Packard HP_LaserJet_MFP_M232-M237 all-in-one
device `hpaio:/net/laserjet_mfp_m232-m237?ip=127.0.0.1&queue=false' is a Hewlett-Packard laserjet_mfp_m232-m237 all-in-one
[root@monster ~]# airscan-discover
[devices]
  HP LaserJet MFP M234dw (CB1249) (USB) = http://127.0.0.1:60000/eSCL/, eSCL

Not sure why it's still showing the network connection, that I unplugged.

Running xsane manually: it shows the printer available as "hpaio:/usb..." and "hpaio:/net..." (even though it's unplugged).

Selecting the USB connection in xsane results in an immediate "Error during device I/O".

How do I get scanning to work, as either a USB or a network connection?

Question information

Language:
English Edit question
Status:
Expired
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sam Varshavchik (mrsam) said :
#1

I just saw that in the initial airscan-discover run, when the m232-m237 was plugged in via eithernet, 192.168.0.19 is the IP address of the m232-m237, but it's showing up as a different m234dw printer. There's an m234dw on the same network. Perhaps things are getting confused because of the two printers?

Revision history for this message
Sam Varshavchik (mrsam) said :
#2

Correction: the other printer is m118-119, so the m234dw label is probably correct.

As I mentioned, when I have this printer connected via ethernet, xsane comes up but hangs during the preview. While it's hanging, if I open the printer in my browser it's device status page shows "Scanning to computer", and the cancel button is red. But xsane hangs and comes back with a Device I/O error.

Revision history for this message
Sam Varshavchik (mrsam) said :
#3

Saw the following getting dumped to syslog, while xsane was hanging:

Mar 21 11:20:05 monster xsane[199081]: http.c 322: invalid http_status=503

Something is not happy. I don't see anything relevant in the system settings, related to scanning permissions.

Revision history for this message
Sam Varshavchik (mrsam) said :
#4

Running "hp-scan" works over ethernet. It still fails with a USB connection:

-----------------
| SELECT DEVICE |
-----------------

  Num Scan device URI
  -------- -------------------------------------------------------------
  0 hpaio:/usb/HP_LaserJet_MFP_M232-M237?serial=VNN3N12158
  1* hpaio:/net/HP_LaserJet_MFP_M232-M237?ip=192.168.0.19
  2 hpaio:/net/laserjet_mfp_m232-m237?ip=192.168.0.19&queue=false
  3 hpaio:/net/laserjet_mfp_m232-m237?ip=127.0.0.1&queue=false

Enter number 0...3 for device (q=quit, <enter>=default: 1*) ?0
warning: No destinations specified. Adding 'file' destination by default.
Using device hpaio:/usb/HP_LaserJet_MFP_M232-M237?serial=VNN3N12158
Opening connection to device...
error: SANE: Error during device I/O (code=9)

With device 1 I get a working scan, but running xsane it hangs and aborts with an error.

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.