hp-makeuri USB invalid vendor id/Device not found

Asked by Ian Macky

I'm still trying to get my Brother MFC-8220 working via USB after installing Ubuntu 16.04. It worked fine before, but now can't be communicated with:

# lsusb
Bus 001 Device 003: ID 04f9:0150 Brother Industries, Ltd MFC-8220 Port(FaxModem)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

but...

# hp-makeuri -ldebug 001:003

HP Linux Imaging and Printing System (ver. 3.17.9)
Device URI Creation Utility ver. 5.0

Copyright (c) 2001-15 HP 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: Device not found

...and I see in /var/log/syslog:

Mar 1 09:40:46 spunky python: io/hpmud/musb.c 2183: [3768] hpmud_make_usb_uri() bus=001 dev=003
Mar 1 09:40:46 spunky python: io/hpmud/musb.c 2271: invalid vendor id: 1273
Mar 1 09:40:46 spunky hp-makeuri: hp-makeuri[3768]: error: Device not found

...yet ID 04f9:0150 *is* in /var/lib/usbutils/usb.ids

In CUPS, if I add the printer manually (since Find New Printers says "No printers found") using URI hp://usb/Brother/MFC-8220?serial=000J4J171991, then trying to print the test page results in this in syslog:

Mar 1 10:04:01 spunky hp[3904]: io/hpmud/model.c 532: no usb/Brother/MFC-8220 attributes found in /usr/share/hplip/data/models/models.dat
Mar 1 10:04:01 spunky hp[3904]: io/hpmud/model.c 543: no usb/Brother/MFC-8220 attributes found in /usr/share/hplip/data/models/unreleased/unreleased.dat
Mar 1 10:04:01 spunky hp[3904]: io/hpmud/hpmud.c 334: invalid uri hp://usb/Brother/MFC-8220?serial=000J4J171991
Mar 1 10:04:01 spunky hp[3904]: prnt/backend/hp.c 824: ERROR: open device failed stat=4: hp://usb/Brother/MFC-8220?serial=000J4J171991

# ls -l /usr/share/hplip/data/models/models.dat
-rw-r--r-- 1 root root 1085521 Mar 28 2016 /usr/share/hplip/data/models/models.dat

The models.dat file comes from libsane-hpaio apparently:

# dpkg -S /usr/share/hplip/data/models/models.dat
libsane-hpaio:i386: /usr/share/hplip/data/models/models.dat

Re-installing libsane-hpaio made no difference.

Any ideas what's wrong? I've spent many hours trying to get this printer working again; very frustrating since everything worked just fine before!

Thanks...

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Why do you expect that you can use a printer manufactured by brother with the tools for HP?
You probably need http://support.brother.com/g/s/id/linux/en/index.html

Revision history for this message
Ian Macky (ian.macky) said :
#2

CUPS is only providing two choices when trying to add a new local printer: HPLIP and serial. "Find New Printers" does not see it; the first error that shows up in syslog when you try that is from udev-configure-printer: "Failed to fetch Device ID".

Yes, I have seen Brother's support pages, and have an open support ticket. They have not been able to help.

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Did you install all driver files for your device from the Brother support pages?

Revision history for this message
Ian Macky (ian.macky) said :
#4

Yes, the PPD provided by Brother is installed as directed (in /usr/share/ppd since this is Ubuntu):

-rw-r--r-- 1 root root 18963 Mar 1 07:19 /usr/share/ppd/BR8220_2_GPL.ppd

When I do CUPS->Add Printer, there are only three options for Local Printers:
    * HP Printer (HPLIP)
    * Serial Port #1
    * HP Fax (HPLIP)

If I select HP Printer (since you can't proceed without choosing something), then set the connection as "usb://Brother/MFC-8220" (as per Brother's instructions) and browse the PPD file, then it reads the PPD and sets the default options, but never is able to communicate with the printer. If I try to print a test page (Maintenance->Print Test Page) then the print job just sits in the queue and never prints; status is reported as "Waiting for printer to become available" and no new messages appear in syslog.

Can you help with this problem?

Provide an answer of your own, or ask Ian Macky for more information if necessary.

To post a message you must log in.