m451dn disconnect/reconnect error

Asked by Florin Gherendi

on Ubuntu 11.10, when the printer USB cable is disconnected and then reconnected (or the printer stopped and turned back on), it no longer communicates with the OS unless I restart the computer. When reconnected, HPLIP gives the error message "/dev/sr1 already mounted on /media/HP install busy" and the status window then displays "device communication error". I see that actually there is the smart install mounted as FUSE filesystem; this one is readable after reconnect but the printer still does not communicate and cannot be used. The only workaround I found is deleting and re-detecting printer after restarting the computer. It happens every time after turning the printer off before the computer shutdown. Is there any other solution to solve this?

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Sanjay Kumar
Solved:
Last query:
Last reply:
Revision history for this message
Best Sanjay Kumar (sanjay-kumar14) said :
#1

Hi,
Thanks for reporting the issue in HPLIP. Can you do following things.
1)Run in terminal : $ lsusb
                         (It will display one device as Hewlett-Packard.)
                         e.g. Bus 001 Device 002: ID 03f0:002a Hewlett-Packard
2) Now Run in teminal : $ lsusb -d 03f0:002a -v
If bNumInterfaces = 1, then smart install feature has been enabled. 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 as of now. If you disable this feature on device, your device will be detected in Linux. 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
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.

Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#2

=> After that download and install the latest HPLIP release from
http://hplipopensource.com/hplip-web/install/install/index.html (automatic installer) or
http://hplipopensource.com/hplip-web/install/manual/index.html (manual installation, if automatic installer does not work)

=> run "hp-check --fix" command in the terminal if manual installation is done

=> Reconfigure prnt queue with the commands in the terminal mentioned below.
       => system-config-printer (remove all print queues)
      => su -c "hp-plugin"
             or
      => sudo hp-plugin (This will download right plugin)
       => hp-setup (It should not be run in a root mode. This command is adding print queue, make sure you select ppd name having "-ps" or "hpcups" substring)
=>Try printing now.

Revision history for this message
Florin Gherendi (florin-gf) said :
#3

Thanks Sanjay Kumar, that solved my question.

Revision history for this message
Florin Gherendi (florin-gf) said :
#4

Indeed, it was the smart install feature. Thank you! :) But the windows driver was not necessary to disable it, I could do it from the printer Service menu. Did not need to do changes with hplip, only re-detect the printer from the GUI utility. Now it works like a charm! :)