HP OfficeJet 6959 io/musb.c 2101: Invalid USB_open: Permission denied

Asked by Frank

My printer "HP OfficeJet 6950" doesn´t work anymore after linux-software-update. I have Linux 22.04. (io/musb.c 2101: Invalid USB_open: Permission denied) What could I do ?

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
brian_p (claremont102) said :
#1

Give the outputs of

  lsusb -v | grep -A 3 bInterfaceClass.*7
  avahi-browse -rt _ipp._tcp
  avahi-browse -rt _uscan._tcp
  driverless

Revision history for this message
Frank (urmel1969) said :
#2

Hello, could you please specify the commands to be executed. I am only a user without special knowledge.

Revision history for this message
brian_p (claremont102) said :
#3

I have specified the four commands to be executed. Copy and paste
their outputs.

Revision history for this message
Frank (urmel1969) said :
#4

ok, here are the outputs:

client-1@Kodiak:~$ lsusb -v | grep -A 3 bInterfaceClass.*7
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
client-1@Kodiak:~$ avahi-browse -rt _ipp._tcp
client-1@Kodiak:~$ avahi-browse -rt _uscan._tcp
client-1@Kodiak:~$ driverless
client-1@Kodiak:~$

Revision history for this message
brian_p (claremont102) said :
#5

> client-1@Kodiak:~$ lsusb -v | grep -A 3 bInterfaceClass.*7
> Couldn't open device, some information will be missing
> Couldn't open device, some information will be missing
> Couldn't open device, some information will be missing
> Couldn't open device, some information will be missing
> Couldn't open device, some information will be missing
> Couldn't open device, some information will be missing

There should be more information than is here. It looks like you have
a defective USB cable/conection. Does

  lsusb

show the printer?

Revision history for this message
Frank (urmel1969) said :
#6

the printer wasn't connected with my laptop

here the log with connected printer in the usb-port:

client-1@Kodiak:~$ lsusb -v | grep -A 3 bInterfaceClass.*7
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
      bInterfaceClass 7 Printer
      bInterfaceSubClass 1 Printer
      bInterfaceProtocol 4
      iInterface 0
--
      bInterfaceClass 7 Printer
      bInterfaceSubClass 1 Printer
      bInterfaceProtocol 2 Bidirectional
      iInterface 0
--
      bInterfaceClass 7 Printer
      bInterfaceSubClass 1 Printer
      bInterfaceProtocol 4
      iInterface 0
Couldn't open device, some information will be missing
--
      bInterfaceClass 7 Printer
      bInterfaceSubClass 1 Printer
      bInterfaceProtocol 4
      iInterface 0
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
client-1@Kodiak:~$ avahi-browse -rt _ipp._tcp
+ lo IPv4 HP OfficeJet 6950 [E26B82] (USB) Internet Printer local
= lo IPv4 HP OfficeJet 6950 [E26B82] (USB) Internet Printer local
   hostname = [Kodiak.local]
   address = [127.0.0.1]
   port = [60000]
   txt = ["air=none" "mopria-certified=1.3" "rp=ipp/print" "priority=50" "kind=document,envelope,photo,postcard" "PaperMax=legal-A4" "URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300-600,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,DM3,FN3,IS1,V1.4" "UUID=5ed080a1-6cd1-55a9-e62f-d776f7d0857a" "Color=T" "Duplex=T" "note=" "qtotal=1" "usb_MDL=OfficeJet 6950" "usb_MFG=HP" "usb_CMD=PCL3GUI,PCL3,PJL,Automatic,JPEG,PCLM,AppleRaster,PWGRaster,DW-PCL,802.11,DESKJET,DYN" "ty=HP OfficeJet 6950" "product=(HP OfficeJet 6950)" "pdl=application/vnd.hp-PCL,image/jpeg,application/PCLm,image/urf,image/pwg-raster,application/octet-stream" "txtvers=1" "adminurl=http://localhost:60000/#hId-pgAirPrint" "Fax=T" "rfo=ipp/faxout" "Scan=T"]
client-1@Kodiak:~$ avahi-browse -rt _uscan._tcp
+ lo IPv4 HP OfficeJet 6950 [E26B82] (USB) _uscan._tcp local
= lo IPv4 HP OfficeJet 6950 [E26B82] (USB) _uscan._tcp local
   hostname = [Kodiak.local]
   address = [127.0.0.1]
   port = [60000]
   txt = ["duplex=F" "is=platen,adf" "cs=color,grayscale" "UUID=5ed080a1-6cd1-55a9-e62f-d776f7d0857a" "adminurl=http://localhost:60000/#hId-pgAirPrint" "representation=http://localhost:60000/webApps/images/printer-small.png" "pdl=application/octet-stream,application/pdf,image/jpeg" "ty=OfficeJet 6950" "rs=eSCL" "vers=2.5" "txtvers=1"]
client-1@Kodiak:~$ driverless
ipp://HP%20OfficeJet%206950%20%5BE26B82%5D%20(USB)._ipp._tcp.local/
client-1@Kodiak:~$

Revision history for this message
brian_p (claremont102) said :
#7

> here the log with connected printer in the usb-port:

Much, much better. We can work with your info.

Execute this command to set up a print queue:

  lpadmin -p OfficeJet6950 -v "ipp://HP%20OfficeJet%206950%20%5BE26B82%5D%20(USB)._ipp._tcp.local/" -E -m everywhere

Test printing with

  lp -d OfficeJet6950 /etc/nsswitch.conf

How's that?

Revision history for this message
Frank (urmel1969) said :
#8

client-1@Kodiak:~$ lpadmin -p OfficeJet6950 -v
"ipp://HP%20OfficeJet%206950%20%5BE26B82%5D%20(USB)._ipp._tcp.local/" -E -m everywhere
lpadmin: Geräte-URI nach der "-v" Option erwartet.
Verwendung: lpadmin [Optionen] -d Ziel
            lpadmin [Optionen] -p Ziel
            lpadmin [Optionen] -p Ziel -c Klasse
            lpadmin [Optionen] -p Ziel -r Klasse
            lpadmin [Optionen] -x Ziel
Optionen:
-c Klasse Füge das genannte Ziel zu einer Klasse hinzu
-d Ziel Bestimme das benannte Ziel als Voreinstellung für den Server
-D Beschreibung Angabe der Textbeschreibung des Druckers
-E Verbindung zum Server verschlüsseln
-E Freigabe für Aufträge an den Drucker einschalten (nach -p)
-h Server[:Port] Verbinde mit genanntem Server und Port
-i ppd-Datei Gib eine PPD-Datei für den Drucker an
-L Ort Textbeschreibung für den Ort des Druckers
-m Modell Gib eine Standard-Model/PPD-Datei für den Drucker an
-m everywhere Gib an dass der Drucker mit IPP Everywhere kompatibel ist
-o name-default=value Specify the default value for the named option
-o Name=Value Specify the default value for the named PPD option
-o cupsIPPSupplies=false
                        Disable supply level reporting via IPP
-o cupsSNMPSupplies=false
                        Disable supply level reporting via SNMP
-o job-k-limit=N Specify the kilobyte limit for per-user quotas
-o job-page-limit=N Specify the page limit for per-user quotas
-o job-quota-period=N Specify the per-user quota period in seconds
-o printer-error-policy=name
                        Specify the printer error policy
-o printer-is-shared=true
                        Share the printer
-o printer-op-policy=name
                        Specify the printer operation policy
-p Ziel Gebe das benannte Ziel an/füge hinzu
-r class Remove the named destination from a class
-R name-default Entferne voreingestellten Wert für die angegebene Option
-u allow:all Erlaube allen Benutzern das Drucken
-u allow:list Allow the list of users or groups (@name) to print
-u deny:list Prevent the list of users or groups (@name) to print
-U Benutzername Angabe des Benutzernamens zur Authentifizierung
-v Geräte-uri Gib die Geräte-URI für den Drucker an
-x Ziel Entferne das genannte Ziel
bash: ipp://HP%20OfficeJet%206950%20%5BE26B82%5D%20(USB)._ipp._tcp.local/: Datei oder Verzeichnis nicht gefunden
client-1@Kodiak:~$ lp -d OfficeJet6950 /etc/nsswitch.conf
lp: Fehler - Der Drucker oder die Klasse existiert nicht.
client-1@Kodiak:~$

Revision history for this message
brian_p (claremont102) said :
#9

> lpadmin: Geräte-URI nach der "-v" Option erwartet.

I hope you put the complete command all on one line.

Revision history for this message
Frank (urmel1969) said :
#10

client-1@Kodiak:~$ lpadmin -p OfficeJet6950 -v
"ipp://HP%20OfficeJet%206950%20%5BE26B82%5D%20(USB)._ipp._tcp.local/" -E
-m everywhere
lpadmin: Geräte-URI nach der "-v" Option erwartet.
Verwendung: lpadmin [Optionen] -d Ziel
            lpadmin [Optionen] -p Ziel
            lpadmin [Optionen] -p Ziel -c Klasse
            lpadmin [Optionen] -p Ziel -r Klasse
            lpadmin [Optionen] -x Ziel
Optionen:
-c Klasse Füge das genannte Ziel zu einer Klasse hinzu
-d Ziel Bestimme das benannte Ziel als Voreinstellung für den Server
-D Beschreibung Angabe der Textbeschreibung des Druckers
-E Verbindung zum Server verschlüsseln
-E Freigabe für Aufträge an den Drucker einschalten (nach -p)
-h Server[:Port] Verbinde mit genanntem Server und Port
-i ppd-Datei Gib eine PPD-Datei für den Drucker an
-L Ort Textbeschreibung für den Ort des Druckers
-m Modell Gib eine Standard-Model/PPD-Datei für den Drucker an
-m everywhere Gib an dass der Drucker mit IPP Everywhere kompatibel ist
-o name-default=value Specify the default value for the named option
-o Name=Value Specify the default value for the named PPD option
-o cupsIPPSupplies=false
                        Disable supply level reporting via IPP
-o cupsSNMPSupplies=false
                        Disable supply level reporting via SNMP
-o job-k-limit=N Specify the kilobyte limit for per-user quotas
-o job-page-limit=N Specify the page limit for per-user quotas
-o job-quota-period=N Specify the per-user quota period in seconds
-o printer-error-policy=name
                        Specify the printer error policy
-o printer-is-shared=true
                        Share the printer
-o printer-op-policy=name
                        Specify the printer operation policy
-p Ziel Gebe das benannte Ziel an/füge hinzu
-r class Remove the named destination from a class
-R name-default Entferne voreingestellten Wert für die angegebene Option
-u allow:all Erlaube allen Benutzern das Drucken
-u allow:list Allow the list of users or groups (@name) to print
-u deny:list Prevent the list of users or groups (@name) to print
-U Benutzername Angabe des Benutzernamens zur Authentifizierung
-v Geräte-uri Gib die Geräte-URI für den Drucker an
-x Ziel Entferne das genannte Ziel
bash: ipp://HP%20OfficeJet%206950%20%5BE26B82%5D%20(USB)._ipp._tcp.local/: Datei oder Verzeichnis nicht gefunden
-m: Befehl nicht gefunden.
client-1@Kodiak:~$ lp -d OfficeJet6950 /etc/nsswitch.conf
lp: Fehler - Der Drucker oder die Klasse existiert nicht.
client-1@Kodiak:~$

Revision history for this message
Frank (urmel1969) said :
#11

client-1@Kodiak:~$ lpadmin -p OfficeJet6950 -v "ipp://HP%20OfficeJet%206950%20%5BE26B82%5D%20(USB)._ipp._tcp.local/" -E -m everywhere
client-1@Kodiak:~$ lp -d OfficeJet6950 /etc/nsswitch.conf
Anfrage-ID ist OfficeJet6950-38 (1 Datei(en))
client-1@Kodiak:~$

Revision history for this message
Frank (urmel1969) said :
#12

09:57:00 hp: prnt/backend/hp.c 825: INFO: open device failed stat=12: hp:/usb/OfficeJet_6950?serial=TH04G5N0Q9; will retry in 30 seconds...
09:51:04 hpfax: [38730]: error: Failed to create /var/spool/cups/tmp/.hplip
09:10:32 colord-sane: io/hpmud/musb.c 2101: Invalid usb_open: Permission denied

Revision history for this message
brian_p (claremont102) said :
#13

> client-1@Kodiak:~$ lp -d OfficeJet6950 /etc/nsswitch.conf
> Anfrage-ID ist OfficeJet6950-38 (1 Datei(en))

The file was sent. Did it print?

Revision history for this message
Frank (urmel1969) said :
#14

Print job is received. Status: Processing in progress. But the printer isn't printing.

Revision history for this message
Frank (urmel1969) said :
#15

17:08:31 hpfax: [4043]: error: Failed to create /var/spool/cups/tmp/.hplip
17:03:25 gdm-session-wor: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
17:03:23 systemd: Failed to start Application launched by gnome-session-binary.
17:03:18 gdm-session-wor: gkr-pam: unable to locate daemon control file
17:02:40 colord-sane: io/hpmud/musb.c 2101: Invalid usb_open: Permission denied

Can you help with this problem?

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

To post a message you must log in.