hp-scan seems to be stuck opening the device. Looking at the code it looks like 
its calling libsane to do so. I tried with 
https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git
And I still have the same problem. I tried unbinding and binding the usb 
interface and still won't work.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to hplip in Ubuntu.
https://bugs.launchpad.net/bugs/1570955

Title:
  hp-scan stops working if I run hp-info (several printer models)

Status in HPLIP:
  New
Status in hplip package in Ubuntu:
  New

Bug description:
  I have:
  Distributor ID:       Ubuntu
  Description:  Ubuntu 14.04.4 LTS
  Release:      14.04
  Codename:     trusty

  I downloaded hplip-3.16.3.run and executed it and it installed hplip. I add a 
USB printer (HP Photosmart B210), and then I run hp-scan and it scans properly. 
I can run hp-scan any number of times with no problem. Each time I run it  I 
get this on dmesg:
  [101238.781550] Did not find alt setting 1 for intf 0, config 1

  Then I run hp-info -i , I get all the printer info, 3 dmesg errors get 
generated:
  [101290.777189] Did not find alt setting 1 for intf 0, config 1
  [101290.777686] Did not find alt setting 1 for intf 0, config 1
  [101290.778184] Did not find alt setting 1 for intf 0, config 1

  And after that, all subsequent calls to hp-scan fail. The first time I type 
hp-scan after having ran hp-info -i , it shows an error:
  Using device hpaio:/usb/Photosmart_Plus_B210_series?serial=CN09F1P57X05J9
  Opening connection to device...
  error: SANE: Error during device I/O (code=9)

  And dmesg also prints:
  [101355.572440] Did not find alt setting 1 for intf 0, config 1

  
  All the subsequent calls to hp-scan will hang up for ever opening connection 
to device.
  and it prints the dmesg error: [101355.572440] Did not find alt setting 1 for 
intf 0, config 1

  At this point I can only kill the process (hp-scan).
  The only way to make it work again is disconnecting the USB cable, and 
connecting it back in. But as soon as I run hp-info it goes bad again.

  The problem does not happen over network. Over network I can always
  scan and also run hp-info (even at the same time).

  I tested with 3.15.11 and 3.15.9 and got the same issue. I will go
  back a little bit more to bisect and post the results later on.

  I got reports on the exact same problems on a Laserjet m1212 (over USB), and 
two deskjet 2132.
  They all print the dmesg error each time hp-info or hp-scan is executed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/1570955/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to