chmod og= /usr/lib/cups/backend/usb
chmod: cannot access ‘/usr/lib/cups/backend/usb’: No such file or directory
Then
pacman -Qk | grep -v 'missing files' > missing
and I had to reinstall for I do not know which time libcups plus hunspell and lshw
This allowed the chmod command and now the printer is working.
Thank you very much gyus!
chmod og= /usr/lib/cups/backend/usb
This forces cups to access the printer as root (I have had a lot of problems with some but not all usb printer not detected without this).
]]>Bus 002 Device 005: ID 04b8:083f Seiko Epson Corp. PX-A620 [Stylus CX3900/DX4000/DX4050]
idVendor=04b8 (your diff)
idProduct=082f " "
sudo nano /etc/udev/rules.d/10-usbprinter.rules
ATTR{idVendor}=="04b8", ATTR{idProduct}=="083f", MODE:="0660", GROUP:="lp"
sudo systemctl stop org.cups.cupsd.service
sudo systemctl disable org.cups.cupsd.service
reboot
sudo pacman -S cups cups-filters cups-pdf cups-pk-helper system-config-printer
sudo systemctl daemon-reload
sudo systemctl enable org.cups.cupsd.service
sudo systemctl start org.cups.cupsd.service
Executing this command
sudo journalctl -b -p err | less
gives
Feb 15 15:35:38 ahp systemd-udevd[167]: specified group 'plugdev' unknown
Feb 15 15:35:43 ahp systemd-rfkill[260]: Failed to parse state file /var/lib/systemd/rfkill/pci-0000:04:00.0:wlan: Invalid argument
Feb 15 15:36:55 ahp pppd[1033]: Cannot determine ethernet address for proxy ARP
Feb 15 15:47:53 ahp udev-configure-printer[1180]: no corresponding CUPS device found
Then
sudo systemctl status org.cups.cupsd.service
org.cups.cupsd.service - CUPS Scheduler
Loaded: loaded (/usr/lib/systemd/system/org.cups.cupsd.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2016-02-15 15:35:49 EET; 20min ago
Docs: man:cupsd(8)
Main PID: 359 (cupsd)
CGroup: /system.slice/org.cups.cupsd.service
└─359 /usr/bin/cupsd -l
Feb 15 15:35:49 ahp systemd[1]: Started CUPS Scheduler.
And
sudo journalctl -xe
Feb 15 15:50:28 ahp sudo[1209]: pam_unix(sudo:session): session closed for user root
Feb 15 15:50:42 ahp systemd[1]: Starting Cleanup of Temporary Directories...
-- Subject: Unit systemd-tmpfiles-clean.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-tmpfiles-clean.service has begun starting up.
Feb 15 15:50:42 ahp systemd[1]: Started Cleanup of Temporary Directories.
-- Subject: Unit systemd-tmpfiles-clean.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-tmpfiles-clean.service has finished starting up.
--
-- The start-up result is done.
Feb 15 15:55:27 ahp sudo[1499]: vb : TTY=pts/0 ; PWD=/home/vb ; USER=root ; COMMAND=/usr/bin/s
Feb 15 15:55:27 ahp sudo[1499]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 15 15:55:27 ahp sudo[1499]: pam_unix(sudo:session): session closed for user root
Feb 15 15:56:11 ahp sudo[1508]: vb : TTY=pts/0 ; PWD=/home/vb ; USER=root ; COMMAND=/usr/bin/s
Feb 15 15:56:11 ahp sudo[1508]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 15 15:56:11 ahp sudo[1508]: pam_unix(sudo:session): session closed for user root
Feb 15 15:57:06 ahp sudo[1742]: vb : TTY=pts/0 ; PWD=/home/vb ; USER=root ; COMMAND=/usr/bin/j
Feb 15 15:57:06 ahp sudo[1742]: pam_unix(sudo:session): session opened for user root by (uid=0)
then it apparently has a wired network port - if it does, can you try if using a wired connection works instead of usb?
]]>cat /etc/modprobe.d/modprobe.conf ... blacklist usblp
Have you tried without the blacklist (reboot after removing it)?
https://wiki.archlinux.org/index.php/CU … B_printers says
"As of cups version 1.6.0, it should no longer be necessary to blacklist the usblp kernel module"
lpinfo -v | grep -i 'Brother'
web interface gives
Available Printers
No printers found.
p.s. log gives the same output.
]]>Then tried
ServerName localhost:631
in /etc/cups/client.conf
Don't do that - the client,conf file is used when you want your print jobs routing through another cups server on your network: you should revert that file back to defaults.
Are you using the brother-brgenml1 driver from the AUR - https://aur.archlinux.org/packages/brother-brgenml1/ ?
After adding that, are you setting up your printer via the cups web interface at http://localhost:631 ?
]]>I have problems with printing (Brother-2240) on every cups update. Having seen this before (my previous post regarding cups https://bbs.archlinux.org/viewtopic.php?id=202925) I deleted the printer via the cups web interface and tried to add it again. Now cups can't even see the printer. It is not shown in the list of devices.
I did
pacman -Rsc cups
rm -r /etc/cups
rm -r /etc/cupshelpers
pacman -S cups cups-filters libcups ghostscript foomatic-db foomatic-db-engine foomatic-db-nonfree
Then tried
ServerName localhost:631
in /etc/cups/client.conf
Nothing worked.
Here is the log
E [12/Feb/2016:13:40:05 +0200] [CGI] Unable to scan \"@LOCAL\"!
E [12/Feb/2016:13:48:10 +0200] [CGI] Unable to scan \"@LOCAL\"!
E [12/Feb/2016:13:49:18 +0200] [CGI] Unable to scan \"@LOCAL\"!
E [12/Feb/2016:14:06:50 +0200] [CGI] Unable to scan \"@LOCAL\"!
and some info
lpinfo -v
network beh
network socket
network ipp
network https
network ipps
network http
network lpd
network smb
cat /etc/modprobe.d/modprobe.conf
blacklist kvm
blacklist kvm_intel
blacklist uvcvideo
blacklist i2c_hid
blacklist rt28xxpci
blacklist usblp
lsusb
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 05c8:0357 Cheng Uei Precision Industry Co., Ltd (Foxlink)
Bus 001 Device 007: ID 04f9:0045 Brother Industries, Ltd
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 19d2:0031 ZTE WCDMA Technologies MSM MF110/MF627/MF636
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Any ideas are highly appreciated!
]]>