P1102W not detected through USB with hp-probe or hp-setup in Fedora 16

Bug #918902 reported by Jeff Fortin Tam
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
HPLIP
Fix Released
Undecided
Sanjay Kumar

Bug Description

Hi there, knowing HP's reputation in making Linux-friendly printers I just bought a P1102W. It initially got detected by Fedora but did not actually print. I thus installed hplip and the proprietary plugin, but the printer does not actually get detected so I can't set it up. I really don't want to bring back the printer to the store, help (or even patches to try) is much appreciated.

Output of lsusb:
Bus 007 Device 002: ID 046d:c03d Logitech, Inc. M-BT96a Pilot Optical Mouse
Bus 007 Device 003: ID 413c:2005 Dell Computer Corp. RT7D50 Keyboard
Bus 001 Device 006: ID 03f0:032a Hewlett-Packard

[root@kodiak]# hp-probe
warning: hp-probe should not be run as root/superuser.

HP Linux Imaging and Printing System (ver. 3.11.12)
Printer Discovery Utility ver. 4.1

Enter number 0...2 for connection type (q=quit, enter=usb*) ?
Using connection type: usb

--------------------
| DEVICE DISCOVERY |
--------------------
warning: No devices found on the 'usb' bus. If this isn't the result you are expecting,
warning: check to make sure your devices are properly connected and powered on.
Done.

[root@kodiak]# hp-check-plugin
\Device Plugin is already installed
Done.

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

Hi,

  Connect the printer and Run "hp-setup -g" and put the output here. It should setup the printer.

  Still if you find any issue, post the output of "hp-check".

Thanks.

Revision history for this message
Sanjay Kumar (sanjay-kumar14) wrote :

Hi,

Please send us the output of following command as well.

      lsusb -d 03f0:032a -v

Thanks,
Sanjay

Revision history for this message
Jeff Fortin Tam (kiddo) wrote :

$ lsusb -d 03f0:032a -v

Bus 001 Device 006: ID 03f0:032a Hewlett-Packard
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  idVendor 0x03f0 Hewlett-Packard
  idProduct 0x032a
  bcdDevice 1.00
  iManufacturer 1 Hewlett-Packard
  iProduct 2 HP LaserJet Professional P1102w
  iSerial 3 000000000Q932E4MSI1c
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 32
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xc0
      Self Powered
    MaxPower 98mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 8 Mass Storage
      bInterfaceSubClass 6 SCSI
      bInterfaceProtocol 80 Bulk (Zip)
      iInterface 5 HP MS
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x04 EP 4 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x84 EP 4 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
Device Qualifier (for other device speed):
  bLength 10
  bDescriptorType 6
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  bNumConfigurations 1
Device Status: 0x0001
  Self Powered

Revision history for this message
Jeff Fortin Tam (kiddo) wrote :

$ hp-setup -g

HP Linux Imaging and Printing System (ver. 3.11.12)
Printer/Fax Setup Utility ver. 9.0

hp-setup[23039]: debug: param=
hp-setup[23039]: debug: selected_device_name=None
hp-setup[23039]: debug: Sys.argv=['/usr/bin/hp-setup', '-g'] printer_name=None param= jd_port=1 device_uri=None remove=False
hp-setup[23039]: debug: Starting GUI loop...
Searching... (bus=usb, search=(None), desc=0)
hp-setup[23039]: debug: Probing bus: usb
error: No devices found on bus: usb

# then, when manually telling the gui the exact usb ID to probe:
hp-setup[23039]: debug: Trying USB with bus=0 dev=032...
hp-setup[23039]: debug: Not found.
hp-setup[23039]: debug: Trying serial number 03f0:032a
hp-setup[23039]: debug: Probing bus: usb
hp-setup[23039]: debug: Probing bus: par
error: No devices found on bus: usb

Revision history for this message
Jeff Fortin Tam (kiddo) wrote :
Revision history for this message
Jeff Fortin Tam (kiddo) wrote :

Ok, so by editing /usr/share/hplip/base/device.py and adding a bunch of print statements all over the place, I found out that the "data" variable seems to be empty...

bn: 1
result_code: 0
data:

I'm guessing that this is the reason it fails, and that /usr/lib/python2.7/site-packages/hpmudext.so is the culprit... but other than that, I don't really know.

I've given you the information you requested in previous comments. Anything else needed or anything I can try?

Revision history for this message
Sanjay Kumar (sanjay-kumar14) wrote :

Hi ,

Thanks for providing the information.Smart Installer is enabled in your device. If this is enabled, your device will be detected as CDRom from where you can install the software on windows. Unfortunately we don't support this feature in Linux However disabling it from Linux is under development. If you disable this feature on device, your device will be detected in Linux. So as a workaround to disable this you should have a windows machine and can follow the below steps.
1. Download the Full Driver for Windows from www.hp.com or http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?product=4075452&lc=en&cc=us&dlc=en&lang=en&cc=us
2. Run the exe, extract it to a folder.
3. Go to extracted folder/UTIL directory
4. Connect your device.
5. Run SIUtility.exe and follow the wizard to disable the feature.

Sorry for the inconvenience caused.

Revision history for this message
Jeff Fortin Tam (kiddo) wrote :

Just wanted to confirm that indeed, using the Windows utility (to force the printer to disable its usb modesetting) makes the printer correctly detected in Linux afterwards. I guess the bug should be kept open because of the fact that this is not implemented in hplip yet...

Changed in hplip:
assignee: nobody → Sanjay Kumar (sanjay-kumar14)
status: New → Fix Committed
Revision history for this message
Jeff Fortin Tam (kiddo) wrote :

Was a fix for this truly committed in hplip, or are you just closing the bug report because there's a workaround using WIndows?

Revision history for this message
Sanjay Kumar (sanjay-kumar14) wrote :

No, we are not going to close the bug unless it is fixed in Linux. We will move it to fix released state once we provide the solution from Linux.

Revision history for this message
David Oxland (doxland) wrote :

I recently tried to Download the Full Driver for Windows from www.hp.com or http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?product=4075452&lc=en&cc=us&dlc=en&lang=en&cc=us but the windows m7 machine installed my printer as soon as it was plugged in.
Coming back to Ubuntu with the printer seemed to provide no change except that The printer suddenly spit out a test page.
 It worked for two days and then reverted to cups backend failed.
 I don't know if the change came from having Hplip-isv ppa called for as that did not seem to ever succeed, It just came back with error unableto download, error 404
 so I'm stopped again; Don't know where to turn next.
Any help would be appreciated.
David

Revision history for this message
goutam kodu (goutam-hplip) wrote :

Hi David,

Please provide us the "hp-check -t" command output.

Thanks,
Goutam

Revision history for this message
Jojo (kuzniarpawel) wrote :

I've got the same problem with P1102W.
hp-check included

Revision history for this message
Matthew Roberts (majroberts) wrote :

Has there been any progress in disabling this from Linux? I have the same problem as the OP, and I don't have easy access to a windows machine. I bought this printer because it was listed as having full support through hplip:

http://hplipopensource.com/hplip-web/models/laserjet/hp_laserjet_professional_p1102w.html

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

Smart install disabler support has been provided in the latest release hplip-3.13.2. Please download the latest hplip and install from hplip.net. When connected via USB, if smart install is enabled in the printer, it will show a popup to disable it.

For more info, please visit http://hplipopensource.com/node/367 .

Changed in hplip:
status: Fix Committed → Fix Released
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.