Segfault when no usb drivers installed (within XenServer Ubuntu 12.04.1 Server 32bit VM)

Bug #1122514 reported by Hamish Goodwin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
HPLIP
Confirmed
Undecided
Unassigned

Bug Description

When attempting to scan from an HP OfficeJet 6300 via network using hp-scan or SANE, the drivers appear to try and access libusb which isn't able to initialise as there are no usb devices attached to this Virtual Machine. This causes a segmentation fault and the scan fails.

This also happens when running hp-check. hp-setup works fine and installs the printer/scanner and fax printer.

OS: Ubuntu Server 12.04.1 LTS 32 bit
VM Hypervisor: XenServer 6.1

Revision history for this message
Hamish Goodwin (goodhamish) wrote :
Revision history for this message
Hamish Goodwin (goodhamish) wrote :

Have just found a workaround for this - install the usbip client which installs a virtual usb bus.

Instructions: http://www.howtoforge.com/how-to-set-up-a-usb-over-ip-server-and-client-with-ubuntu-10.04-p2 (only need to install the package and modprobe it and add it to /etc/modules)

Revision history for this message
Sarbeswar Meher (sarbeswar-meher) wrote :

This bug is not related to HPLIP, however a thirdparty USB driver is missing. Changing the status to 'Invalid' as there is no code change required to fix the problem.

Changed in hplip:
status: New → Invalid
Revision history for this message
Tom Noonan II (z-tom-u) wrote :

I disagree: When trying to configure a network scanner, why should hplip require USB support? When the user specifies a network device hplip should not try and initialize the USB bus: it is not the expected or requested behavior.

Why does hplip need libusb to control network devices?

Revision history for this message
Tom Noonan II (z-tom-u) wrote :

Reopening as I believe hplip is calling libusb (resulting in a segmentation fault) in a use case where USB should not be used.

Changed in hplip:
status: Invalid → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.