USB HP Megatank 5101 scanner not identified...

Good day,

The printer works fine as a printer, copier, Wi-Fi enabled printer. However, when I try xsane, uiscan, or scanner detection from hplip, I get an error saying the scanner can't be found. I've gone through section 9.6.x and everything (I believe) is as it should be. If I use scanimage -L, everything 'looks' fine. I can find the unit at the USB address of 2.2 via usbconfig list and I can print to it. Any insight or information to help troubleshoot?

Thank you,

Paul
 
What does scanimage -L report when it finds the scanner? Sometimes, you need to tell the tools which sane driver to use.
 
scanimage -L
device `hpaio:/usb/Smart_Tank_5100_series?serial=TH53SBT2HJ' is a Hewlett-Packard Smart_Tank_5100_series all-in-one

usbconfig -d 2.2 dump_device_desc
ugen2.2: <Smart Tank 5100 series HP, Inc> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA)

bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x0000 <Probed by interface class>
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x03f0
idProduct = 0x5054
bcdDevice = 0x0100
iManufacturer = 0x0001 <HP>
iProduct = 0x0002 <Smart Tank 5100 series>
iSerialNumber = 0x0003 <TH53SBT2HJ>
bNumConfigurations = 0x0001
 
Using uiscan (hplip) and xsane, I get the following:

failed to open device 'hpaio:/usb/Smart_Tank_5100_series?serial=TH53SBT2HJ': Error during device I/O.

(is this a permission problem?)
 
It looks like it's all about xsane. Both uiscan and xsane call xsane's probe.

Checking the messages it shows:

Dec 17 10:27:33 deborah-ghostbsd xsane[3156]: common/utils.c 245: unable to load library libm.so: Shared object "libm.so" not found, required by "xsane"
Dec 17 10:27:33 deborah-ghostbsd xsane[3156]: common/utils.c 245: unable to load library libm.so.6: Shared object "libm.so.6" not found, required by "xsane"
 
libm.so in FreeBSD is a symlink to libm.so.5 - libm.so.6 is provided by the Linux compatibility layer AFAIK.

Code:
[17:05][fmc000@dabrafenib ~]$ file /usr/lib/libm.so
/usr/lib/libm.so: symbolic link to ../../lib/libm.so.5
[17:05][fmc000@dabrafenib ~]$

[17:07][fmc000@dabrafenib ~]$ pkg provides libm.so.6
Name    : linux_base-rl9-9.7
Comment : Base set of packages needed in Linux mode (Rocky Linux 9.7)
Repo    : FreeBSD-ports
Filename: compat/linux/usr/lib64/libm.so.6
          compat/linux/usr/lib/libm.so.6

Name    : linux_base-c7-7.9.2009_5
Comment : Base set of packages needed in Linux mode (Linux CentOS 7.9.2009)
Repo    : FreeBSD-ports
Filename: compat/linux/usr/lib64/libm.so.6
          compat/linux/usr/lib/libm.so.6
          compat/linux/usr/lib/i686/nosegneg/libm.so.6
[17:07][fmc000@dabrafenib ~]$
 
Yes, I just tracked that down as well. Thank you!

I've tried forcing a reinstall of Rocky linux and xsane. I have the same problem saying it can't find the .so's.

(Also, I was just told this was a 'ghostBSD' machine if that makes any difference.)
 
GhostBSD is not supported here actually. If you look at the Freshports page of xsane you'll see that libm is not even mentioned in the dependencies, probably because it is part of the base system. I tried to support my theory by installing xsane on my machine but it defaults to gtk-2 and gimp-2.24, which is incompatible with gimp-3.0.6 that I use.
 
Does anyone know what the loader settings should be? BTW, although GhostBSD isn't supported here, it looks like FreeBSD may be the only place I can get something of support. ghostbsd.org forums allows me to register but it says it will send a confirmation email but the email never comes so I can't post my issue.
 
Back
Top