Today Xsane refused to detect my HP Officejet 4500 G510g-m printer-cum-scanner-cum-fax. Strangely enough, I can photocopy and print with no issues. I only succeeded to use Xsane as root, and it seems to be a permission problem. hp-doctor complained like this:
- Code: Select all
hp-doctor[22452]: debug: Deskjet-1050-J410-series
hp-doctor[22452]: debug: ------------------------
hp-doctor[22452]: debug: Device URI: hp:/usb/Deskjet_1050_J410_series?serial=CN1AL1N2PM05QT
hp-doctor[22452]: debug: PPD: /etc/cups/ppd/Deskjet-1050-J410-series.ppd
warning: Fail to read ppd=/etc/cups/ppd/Deskjet-1050-J410-series.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/Deskjet-1050-J410-series.ppd
warning: Could not complete Queue(s) configuration check
This was the output of sane-find-scanner:
- Code: Select all
could not open USB device 0x03f0/0x2d12 at 001:006: Access denied (insufficient permissions)
Ownerships and permissions are as follows:
- Code: Select all
[root@localhost ppd]# ll
total 124
-rw-r--r-- 1 root sys 20644 ago 24 2015 Canon-BJC-85.ppd
-rw-r----- 1 root lp 17026 mai 7 09:07 Deskjet-1050-J410-series.ppd
-rw-r----- 1 root lp 17034 mai 7 09:07 Deskjet-1050-J410-series.ppd.O
-rw-r--r-- 1 root sys 2829 set 21 2013 Officejet_4500_G510g-m_fax.ppd
-rw-r----- 1 root lp 26566 mai 7 09:07 Officejet_4500_G510g-m.ppd
-rw-r----- 1 root lp 26574 mai 7 09:07 Officejet_4500_G510g-m.ppd.O
I did a "chown a+r" on the driver file Officejet_4500_G510g-m.ppd, but the issue persists. What permissions and ownerships have you got on your drivers?