HP Envy 7640 cannot be detected by HPLIP 3.15.2

Asked by HS Wong

After the latest HPLIP upgrade on my PC workstation running Ubuntu 14.04, the above printer (connected by USB) can no longer be detected by HPLIP.

1. The printer was set up earlier about a month back with an older version of HPLIP on Ubuntu 14.04 and both printing and scanning worked fine then.

2. Even after the problem with HPLib, the printer can still print using the previously configured printer driver from applications like google chrome and Libre Office. CUPS can detect the printer properly

3. XSane can no longer detect the printer hence I cannot use the scanner anymore.

4. Results of checks as follows:
> lsmod | grep usb
usblp 18277 0

> lsusb
Bus 001 Device 006: ID 03f0:dc11 Hewlett-Packard

> ls -l /dev/usb/lp* /dev/bus/usb/*/*
crw-rw-r-- 1 root root 189, 0 Feb 15 09:51 /dev/bus/usb/001/001
crw-rw-r--+ 1 root lp 189, 5 Feb 15 09:58 /dev/bus/usb/001/006
crw-rw-r-- 1 root root 189, 128 Feb 15 09:51 /dev/bus/usb/002/001
crw-rw-r-- 1 root root 189, 129 Feb 15 09:51 /dev/bus/usb/002/002
crw-rw-r-- 1 root root 189, 256 Feb 15 09:51 /dev/bus/usb/003/001
crw-rw-r-- 1 root root 189, 384 Feb 15 09:51 /dev/bus/usb/004/001
crw-rw-r-- 1 root root 189, 512 Feb 15 09:51 /dev/bus/usb/005/001
crw-rw-r-- 1 root root 189, 513 Feb 15 09:51 /dev/bus/usb/005/002
crw-rw-r-- 1 root root 189, 514 Feb 15 09:51 /dev/bus/usb/005/003
crw-rw---- 1 root lp 180, 0 Feb 15 09:57 /dev/usb/lp0
crw-rw---- 1 root lp 180, 1 Feb 15 09:57 /dev/usb/lp1

> sudo usb_printerid /dev/usb/lp0
GET_DEVICE_ID string:
MFG:HP;MDL:ENVY 7640 series;CMD:PCL3GUI,PCL3,PJL,Automatic,JPEG,PCLM,AppleRaster,DW-PCL,802.11,802.3,DESKJET,DYN;CLS:PRINTER;DES:E4W43A;CID:HPIJVIPAV4;LEDMDIS:USB#FF#CC#00,USB#07#01#02,USB#FF#04#01;IPP-HTTP:T;IPP-E:FF-CC-00,07-01-02,FF-04-01;SN:TH49N260BG063T;S:038088C484400001002c240005ac1400050;Z:05000009000009,12000,17000000000000,180;

> sudo usb_printerid /dev/usb/lp1
GET_DEVICE_ID string:
MFG:HP;MDL:ENVY 7640 series FAX;CMD:PCL3GUI,PCL3,PJL,Automatic,JPEG,PCLM,AppleRaster,DW-PCL,802.11,802.3,DESKJET,DYN;CLS:PRINTER;DES:E4W43A;CID:HPIJFAXAV2;LEDMDIS:USB#FF#CC#00,USB#07#01#02,USB#FF#04#01;IPP-HTTP:T;IPP-E:FF-CC-00,07-01-02,FF-04-01;SN:TH49N260BG063T;S:038088C484400001002c240005ac1400050;Z:05000009000009,12000,17000000000000,180;

> hp-info -i

HP Linux Imaging and Printing System (ver. 3.15.2)
Device Information Utility ver. 5.2

Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

error: No device selected/specified or that supports this functionality.

> lpinfo -v
network ipps
network ipp14
network http
network https
network ipp
serial serial:/dev/ttyS0?baud=115200
network socket
direct usb://HP/ENVY%207640%20series?serial=TH49N260BG063T&interface=1
network lpd
direct usb://HP/ENVY%207640%20series%20FAX?serial=TH49N260BG063T&interface=3
direct parallel:/dev/lp0
direct hp
direct hpfax
network smb
network dnssd://HP%20ENVY%207640%20series%20%5BD8D8CD%5D._ipp._tcp.local/
network socket://192.168.1.10:9100

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
goutam kodu (goutam-hplip) said :
#1

Hi,

Can you please try running command 'hp-setup' in terminal to configure the printer.

Let us know if the printer is detected and configured.

provide us 'hp-scan -i -g' command output ?

Rgds,
goutam

-------- Original message --------
From: HS Wong <email address hidden>
Date: 15/02/2015 7:42 AM (GMT+05:30)
To: <email address hidden>
Subject: [Question #262136]: HP Envy 7640 cannot be detected by HPLIP 3.15.2

New question #262136 on HPLIP:
https://answers.launchpad.net/hplip/+question/262136

After the latest HPLIP upgrade on my PC workstation running Ubuntu 14.04, the above printer (connected by USB) can no longer be detected by HPLIP.

1. The printer was set up earlier about a month back with an older version of HPLIP on Ubuntu 14.04 and both printing and scanning worked fine then.

2. Even after the problem with HPLib,  the printer can still print using the previously configured printer driver from applications like google chrome and Libre Office. CUPS can detect the printer properly

3. XSane can no longer detect the printer hence I cannot use the scanner anymore.

4. Results of checks as follows:
> lsmod | grep usb
usblp                  18277  0

> lsusb
Bus 001 Device 006: ID 03f0:dc11 Hewlett-Packard

> ls -l /dev/usb/lp* /dev/bus/usb/*/*
crw-rw-r--  1 root root 189,   0 Feb 15 09:51 /dev/bus/usb/001/001
crw-rw-r--+ 1 root lp   189,   5 Feb 15 09:58 /dev/bus/usb/001/006
crw-rw-r--  1 root root 189, 128 Feb 15 09:51 /dev/bus/usb/002/001
crw-rw-r--  1 root root 189, 129 Feb 15 09:51 /dev/bus/usb/002/002
crw-rw-r--  1 root root 189, 256 Feb 15 09:51 /dev/bus/usb/003/001
crw-rw-r--  1 root root 189, 384 Feb 15 09:51 /dev/bus/usb/004/001
crw-rw-r--  1 root root 189, 512 Feb 15 09:51 /dev/bus/usb/005/001
crw-rw-r--  1 root root 189, 513 Feb 15 09:51 /dev/bus/usb/005/002
crw-rw-r--  1 root root 189, 514 Feb 15 09:51 /dev/bus/usb/005/003
crw-rw----  1 root lp   180,   0 Feb 15 09:57 /dev/usb/lp0
crw-rw----  1 root lp   180,   1 Feb 15 09:57 /dev/usb/lp1

> sudo usb_printerid /dev/usb/lp0
GET_DEVICE_ID string:
MFG:HP;MDL:ENVY 7640 series;CMD:PCL3GUI,PCL3,PJL,Automatic,JPEG,PCLM,AppleRaster,DW-PCL,802.11,802.3,DESKJET,DYN;CLS:PRINTER;DES:E4W43A;CID:HPIJVIPAV4;LEDMDIS:USB#FF#CC#00,USB#07#01#02,USB#FF#04#01;IPP-HTTP:T;IPP-E:FF-CC-00,07-01-02,FF-04-01;SN:TH49N260BG063T;S:038088C484400001002c240005ac1400050;Z:05000009000009,12000,17000000000000,180;

> sudo usb_printerid /dev/usb/lp1
GET_DEVICE_ID string:
MFG:HP;MDL:ENVY 7640 series FAX;CMD:PCL3GUI,PCL3,PJL,Automatic,JPEG,PCLM,AppleRaster,DW-PCL,802.11,802.3,DESKJET,DYN;CLS:PRINTER;DES:E4W43A;CID:HPIJFAXAV2;LEDMDIS:USB#FF#CC#00,USB#07#01#02,USB#FF#04#01;IPP-HTTP:T;IPP-E:FF-CC-00,07-01-02,FF-04-01;SN:TH49N260BG063T;S:038088C484400001002c240005ac1400050;Z:05000009000009,12000,17000000000000,180;

> hp-info -i

HP Linux Imaging and Printing System (ver. 3.15.2)
Device Information Utility ver. 5.2

Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

error: No device selected/specified or that supports this functionality.

> lpinfo -v
network ipps
network ipp14
network http
network https
network ipp
serial serial:/dev/ttyS0?baud=115200
network socket
direct usb://HP/ENVY%207640%20series?serial=TH49N260BG063T&interface=1
network lpd
direct usb://HP/ENVY%207640%20series%20FAX?serial=TH49N260BG063T&interface=3
direct parallel:/dev/lp0
direct hp
direct hpfax
network smb
network dnssd://HP%20ENVY%207640%20series%20%5BD8D8CD%5D._ipp._tcp.local/
network socket://192.168.1.10:9100

--
You received this question notification because you are a member of HP
Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
HS Wong (hoongshenwong) said :
#2

Hi,

Running hp-setup gives an error message: error: No devices found on bus: usb

Running hp-scan -i -g gives the following:

hp-scan[2821]: debug: getDeviceUri(None, None, ['hpaio'], {'scan-type': (<built-in function gt>, 0)}, , True)
hp-scan[2821]: debug: Mode=0
hp-scan[2821]: debug: hp:/usb/ENVY_7640_series?serial=TH49N260BG063T: back_end:hp is_hp:True bus:usb model:ENVY_7640_series serial:TH49N260BG063T dev_file: host: zc: port:1
hp-scan[2821]: debug: Cache miss: envy_7640_series
hp-scan[2821]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-scan[2821]: debug: Searching for section [envy_7640_series] in file /usr/share/hplip/data/models/models.dat
hp-scan[2821]: debug: Not found.
hp-scan[2821]: debug: hpfax:/usb/ENVY_7640_series?serial=TH49N260BG063T: back_end:hpfax is_hp:True bus:usb model:ENVY_7640_series serial:TH49N260BG063T dev_file: host: zc: port:1
hp-scan[2821]: debug: {}
error: No device selected/specified or that supports this functionality.

Revision history for this message
HS Wong (hoongshenwong) said :
#3

> ls -la /usr/share/hplip/data/models/models.dat
-rw-r--r-- 1 root root 1000160 May 14 2014 /usr/share/hplip/data/models/models.dat

Revision history for this message
HS Wong (hoongshenwong) said :
#4

I replaced the models.dat file from the 3.15.2 distribution and it fixed the problem. Thanks

Revision history for this message
Suma Byrappa (suma-byrappa) said :
#5

Hi Wong,

Why did you have to replace the models.dat file? Upgrading to the latest hplip version should have copied this file there. Did you see any error or warning messages during upgrade?

Thanks,
Suma

Revision history for this message
HS Wong (hoongshenwong) said :
#6

Not sure what happened, I used the Ubuntu software center to remove and install hplip, but somehow the software was upgraded to 3.15.2 but models.dat was a much older version.

I did not get any specific error messages during that particular update but had previous periodic updates with error messages, none specific to hplip though.

Revision history for this message
Suma Byrappa (suma-byrappa) said :
#7

OK. Thanks for the clarification.

Regards,
Suma

Revision history for this message
HS Wong (hoongshenwong) said :
#8

Hi, with the latest Ubuntu yesterday (1-Aug), the file models.dat was corrupted and I lost my printer model 7640 from the file again. The file has been updated as 30-Jul-2015 but looks like the backup file I had of the 14-May-2014. It appears the version control on this file has some problems?

Revision history for this message
goutam (goutamkk) said :
#9

Hi Wong,

We will surely took into this issue and try to reproduce it in our lab.
But you can manually download the latest hplip-3.15.7.run file from http://hplipopensource.com/hplip-web/gethplip.html and run command 'sh hplip-3.15.7.run' in terminal to install the package.

During the installation it would ask for user input :
Do you want to ('i'= Remove and Install*, 'o'= Overwrite, 'q'= Quit)?
choose 'i' (Remove and install)

This should successfully replace the models.dat with the latest.

Thanks,
Goutam

Can you help with this problem?

Provide an answer of your own, or ask HS Wong for more information if necessary.

To post a message you must log in.