Public bug reported:

lsusb
Bus 002 Device 005: ID 0bda:0151 Realtek Semiconductor Corp. Mass Storage 
Device (Multicard Reader)
Bus 002 Device 004: ID 147a:e018 Formosa Industrial Computing, Inc. eHome 
Infrared Receiver
Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 002: ID 03f0:0f0c HP, Inc Wireless Keyboard and Optical Mouse 
receiver
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 04b8:0812 Seiko Epson Corp. MFP Composite Device
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

ls -l /dev/usb/lp* /dev/bus/usb/*/*
crw-rw-r-- 1 root root 189,   0 Jun  6 13:43 /dev/bus/usb/001/001
crw-rw-r-- 1 root lp   189,   2 Jun  6 15:40 /dev/bus/usb/001/003
crw-rw-r-- 1 root root 189, 128 Jun  6 13:43 /dev/bus/usb/002/001
crw-rw-r-- 1 root root 189, 129 Jun  6 13:43 /dev/bus/usb/002/002
crw-rw-r-- 1 root root 189, 131 Jun  6 13:43 /dev/bus/usb/002/004
crw-rw-r-- 1 root root 189, 132 Jun  6 13:43 /dev/bus/usb/002/005
crw-rw-r-- 1 root root 189, 256 Jun  6 13:43 /dev/bus/usb/003/001
crw-rw-r-- 1 root root 189, 384 Jun  6 13:43 /dev/bus/usb/004/001
crw-rw-r-- 1 root root 189, 512 Jun  6 13:43 /dev/bus/usb/005/001
crw-rw-r-- 1 root root 189, 640 Jun  6 13:43 /dev/bus/usb/006/001
crw-rw-r-- 1 root root 189, 768 Jun  6 13:43 /dev/bus/usb/007/001
crw-rw-r-- 1 root root 189, 896 Jun  6 13:43 /dev/bus/usb/008/001
crw-rw-r-- 1 root root 189, 897 Jun  6 13:43 /dev/bus/usb/008/002
crw-rw---- 1 root lp   180,   2 Jun  6 15:40 /dev/usb/lp2

sudo usb_printerid /dev/usb/lp2
GET_DEVICE_ID string:
MFG:EPSON;CMD:ESCPL2,BDC,D4;MDL:Stylus Photo R320;CLS:PRINTER;DES:EPSON Stylus 
Photo R320;

sudo lpinfo -v
file cups-brf:/
direct canon:/dev/usb/lp2
network http
direct epson:/dev/usb/lp2
direct hp
network https
network ipp
network ipps
direct usb://EPSON/Stylus%20Photo%20R320?serial=L17P20504140921110&interface=1
network beh
network socket
network lpd
direct hpfax

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: cups 2.3.1-9ubuntu1.1
ProcVersionSignature: Ubuntu 5.4.0-33.37-generic 5.4.34
Uname: Linux 5.4.0-33-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.2
Architecture: amd64
CasperMD5CheckResult: skip
CupsErrorLog: Error: [Errno 13] Permission denied: '/var/log/cups/error_log'
CurrentDesktop: ubuntu:GNOME
Date: Sat Jun  6 15:48:44 2020
InstallationDate: Installed on 2020-03-31 (66 days ago)
InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64 
(20200203.1)
Lpstat:
 device for EpsonR320: 
usb://EPSON/Stylus%20Photo%20R320?serial=L17P20504140921110
 device for Stylus-Photo-R320: 
usb://EPSON/Stylus%20Photo%20R320?serial=L17P20504140921110&interface=1
MachineType: HP-Pavilion NF398AA-ABU m9565uk
Papersize: a4
PpdFiles: Error: command ['fgrep', '-H', '*NickName', 
'/etc/cups/ppd/Stylus-Photo-R320.ppd'] failed with exit code 2: grep: 
/etc/cups/ppd/Stylus-Photo-R320.ppd: Permission denied
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-33-generic 
root=UUID=6516a65a-169c-45a6-831e-5f71f0bdbcfa ro quiet splash vt.handoff=7
SourcePackage: cups
UpgradeStatus: Upgraded to focal on 2020-05-12 (25 days ago)
dmi.bios.date: 12/16/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 5.35
dmi.board.name: Benicia
dmi.board.vendor: PEGATRON CORPORATION
dmi.board.version: 1.01
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr5.35:bd12/16/2008:svnHP-Pavilion:pnNF398AA-ABUm9565uk:pvr:rvnPEGATRONCORPORATION:rnBenicia:rvr1.01:cvnHewlett-Packard:ct3:cvrChassisVersion:
dmi.product.family: 103C_53316J
dmi.product.name: NF398AA-ABU m9565uk
dmi.product.sku: NF398AA#ABU
dmi.sys.vendor: HP-Pavilion

** Affects: cups (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apparmor apport-bug focal

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

Title:
  fail to add printer

Status in cups package in Ubuntu:
  New

Bug description:
  lsusb
  Bus 002 Device 005: ID 0bda:0151 Realtek Semiconductor Corp. Mass Storage 
Device (Multicard Reader)
  Bus 002 Device 004: ID 147a:e018 Formosa Industrial Computing, Inc. eHome 
Infrared Receiver
  Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 008 Device 002: ID 03f0:0f0c HP, Inc Wireless Keyboard and Optical Mouse 
receiver
  Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Bus 001 Device 003: ID 04b8:0812 Seiko Epson Corp. MFP Composite Device
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

  ls -l /dev/usb/lp* /dev/bus/usb/*/*
  crw-rw-r-- 1 root root 189,   0 Jun  6 13:43 /dev/bus/usb/001/001
  crw-rw-r-- 1 root lp   189,   2 Jun  6 15:40 /dev/bus/usb/001/003
  crw-rw-r-- 1 root root 189, 128 Jun  6 13:43 /dev/bus/usb/002/001
  crw-rw-r-- 1 root root 189, 129 Jun  6 13:43 /dev/bus/usb/002/002
  crw-rw-r-- 1 root root 189, 131 Jun  6 13:43 /dev/bus/usb/002/004
  crw-rw-r-- 1 root root 189, 132 Jun  6 13:43 /dev/bus/usb/002/005
  crw-rw-r-- 1 root root 189, 256 Jun  6 13:43 /dev/bus/usb/003/001
  crw-rw-r-- 1 root root 189, 384 Jun  6 13:43 /dev/bus/usb/004/001
  crw-rw-r-- 1 root root 189, 512 Jun  6 13:43 /dev/bus/usb/005/001
  crw-rw-r-- 1 root root 189, 640 Jun  6 13:43 /dev/bus/usb/006/001
  crw-rw-r-- 1 root root 189, 768 Jun  6 13:43 /dev/bus/usb/007/001
  crw-rw-r-- 1 root root 189, 896 Jun  6 13:43 /dev/bus/usb/008/001
  crw-rw-r-- 1 root root 189, 897 Jun  6 13:43 /dev/bus/usb/008/002
  crw-rw---- 1 root lp   180,   2 Jun  6 15:40 /dev/usb/lp2

  sudo usb_printerid /dev/usb/lp2
  GET_DEVICE_ID string:
  MFG:EPSON;CMD:ESCPL2,BDC,D4;MDL:Stylus Photo R320;CLS:PRINTER;DES:EPSON 
Stylus Photo R320;

  sudo lpinfo -v
  file cups-brf:/
  direct canon:/dev/usb/lp2
  network http
  direct epson:/dev/usb/lp2
  direct hp
  network https
  network ipp
  network ipps
  direct usb://EPSON/Stylus%20Photo%20R320?serial=L17P20504140921110&interface=1
  network beh
  network socket
  network lpd
  direct hpfax

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: cups 2.3.1-9ubuntu1.1
  ProcVersionSignature: Ubuntu 5.4.0-33.37-generic 5.4.34
  Uname: Linux 5.4.0-33-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.2
  Architecture: amd64
  CasperMD5CheckResult: skip
  CupsErrorLog: Error: [Errno 13] Permission denied: '/var/log/cups/error_log'
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Jun  6 15:48:44 2020
  InstallationDate: Installed on 2020-03-31 (66 days ago)
  InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64 
(20200203.1)
  Lpstat:
   device for EpsonR320: 
usb://EPSON/Stylus%20Photo%20R320?serial=L17P20504140921110
   device for Stylus-Photo-R320: 
usb://EPSON/Stylus%20Photo%20R320?serial=L17P20504140921110&interface=1
  MachineType: HP-Pavilion NF398AA-ABU m9565uk
  Papersize: a4
  PpdFiles: Error: command ['fgrep', '-H', '*NickName', 
'/etc/cups/ppd/Stylus-Photo-R320.ppd'] failed with exit code 2: grep: 
/etc/cups/ppd/Stylus-Photo-R320.ppd: Permission denied
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-33-generic 
root=UUID=6516a65a-169c-45a6-831e-5f71f0bdbcfa ro quiet splash vt.handoff=7
  SourcePackage: cups
  UpgradeStatus: Upgraded to focal on 2020-05-12 (25 days ago)
  dmi.bios.date: 12/16/2008
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 5.35
  dmi.board.name: Benicia
  dmi.board.vendor: PEGATRON CORPORATION
  dmi.board.version: 1.01
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Hewlett-Packard
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr5.35:bd12/16/2008:svnHP-Pavilion:pnNF398AA-ABUm9565uk:pvr:rvnPEGATRONCORPORATION:rnBenicia:rvr1.01:cvnHewlett-Packard:ct3:cvrChassisVersion:
  dmi.product.family: 103C_53316J
  dmi.product.name: NF398AA-ABU m9565uk
  dmi.product.sku: NF398AA#ABU
  dmi.sys.vendor: HP-Pavilion

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1882367/+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