Snazim se zprovoznit tiskarnu Canon i-SENSYS MF4370dn pod Debian 11
ale nefunguje tisk pres USB/sit. Skaner funguje pres USB v poradku,
pres sit jsem nezkousel. Fax neni pripojeny k tel. lince.
Bohuzel nemam s tiskem pod Linuxem zadne zkusenosti
Ovladace "UFR II/UFRII LT Printer Driver for Linux V5.40" jsem nainstalavol odsud
https://asia.canon/en/support/0100924010curl --doh-url https://doh.mullvad.net/dns-query -kLO https://gdlp01.c-wss.com/gds/0/0100009240/21/linux-UFRII-drv-v540-uken-19.tar.gz
tar -xvzf linux-UFRII-drv-v540-uken-19.tar.gz
cd linux-UFRII-drv-v540-uken
sudo ./install.sh
Vse probehlo v poradku, system vidi tiskarnu, ale pri pokusu o vytisteni "Testovaci stranky" se to v myjobs zastavi
Tiskarna je v systemu pod Device URI:
usb://Canon/MF4360-4390%20(UFRII%20LT)?serial=SJFXXXXXXXXXD&interface=1
pro sit:
socket://192.168.1.107:9100
V dmesg logu to hlasilo tohle:
[Thu Dec 2 12:08:48 2021] audit: type=1400 audit(1638443328.253:28): apparmor="DENIED" operation="capable" profile="/usr/sbin/cupsd" pid=4180 comm="cupsd" capability=12 capname="net_admin"
[Thu Dec 2 12:08:48 2021] audit: type=1400 audit(1638443328.265:29): apparmor="DENIED" operation="open" profile="/usr/sbin/cups-browsed" name="/usr/local/lib/AppProtection/libAppProtection.so.21.11.0.3" pid=4186 comm="cups-browsed" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[Thu Dec 2 12:08:48 2021] audit: type=1400 audit(1638443328.481:30): apparmor="DENIED" operation="capable" profile="/usr/sbin/cupsd" pid=4188 comm="cupsd" capability=12 capname="net_admin"
[Thu Dec 2 12:08:48 2021] audit: type=1400 audit(1638443328.493:31): apparmor="DENIED" operation="open" profile="/usr/sbin/cups-browsed" name="/usr/local/lib/AppProtection/libAppProtection.so.21.11.0.3" pid=4193 comm="cups-browsed" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[Thu Dec 2 12:08:48 2021] audit: type=1400 audit(1638443328.545:32): apparmor="DENIED" operation="capable" profile="/usr/sbin/cups-browsed" pid=4193 comm="cups-browsed" capability=23 capname="sys_nice"
[Thu Dec 2 12:13:54 2021] audit: type=1400 audit(1638443635.011:33): apparmor="DENIED" operation="open" profile="/usr/sbin/cups-browsed" name="/usr/local/lib/AppProtection/libAppProtection.so.21.11.0.3" pid=4252 comm="cups-browsed" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[Thu Dec 2 12:13:54 2021] audit: type=1400 audit(1638443635.067:34): apparmor="DENIED" operation="capable" profile="/usr/sbin/cups-browsed" pid=4252 comm="cups-browsed" capability=23 capname="sys_nice"
Takze jsem nainstaloval:
sudo apt install apparmor-utils -y
sudo aa-complain cupsd
sudo aa-complain cups-browsed
ted je v logu tohle:
[Thu Dec 2 14:07:39 2021] audit: type=1400 audit(1638450459.643:25): apparmor="ALLOWED" operation="capable" profile="/usr/sbin/cupsd" pid=653 comm="cupsd" capability=12 capname="net_admin"
[Thu Dec 2 14:07:39 2021] audit: type=1400 audit(1638450459.651:26): apparmor="ALLOWED" operation="open" profile="/usr/sbin/cups-browsed" name="/usr/local/lib/AppProtection/libAppProtection.so.21.11.0.3" pid=706 comm="cups-browsed" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[Thu Dec 2 14:07:39 2021] audit: type=1400 audit(1638450459.651:27): apparmor="ALLOWED" operation="file_mmap" profile="/usr/sbin/cups-browsed" name="/usr/local/lib/AppProtection/libAppProtection.so.21.11.0.3" pid=706 comm="cups-browsed" requested_mask="rm" denied_mask="rm" fsuid=0 ouid=0
Ale vysledek je ten samy, tisk nefunguje
Nefunguje ani pristup na
http://localhost:631/Takze jsem zkousel tohle:
sudo cupsctl WebInterface=yes
sudo cupsctl --debug-logging
sudo service cups restart
sudo service cups status[/code
Ale ani tohle nepomohlo :(
Tady je vypis:
[code]$ sudo cupsctl
[sudo] password for xxxxx:
_debug_logging=1
_remote_admin=0
_remote_any=0
_share_printers=0
_user_cancel_any=0
BrowseLocalProtocols=dnssd
DefaultAuthType=Basic
ErrorPolicy=retry-job
JobPrivateAccess=default
JobPrivateValues=default
MaxLogSize=0
PageLogFormat=
SubscriptionPrivateAccess=default
SubscriptionPrivateValues=default
WebInterface=yes
V dmesg ale pise tohle, pri pokusu o tisk:
[Thu Dec 2 14:18:30 2021] usblp3: nonzero read bulk status received: -71
[Thu Dec 2 14:18:30 2021] usblp2: removed
[Thu Dec 2 14:18:31 2021] usblp 1-2:1.1: usblp2: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x04A9 pid 0x26EC
[Thu Dec 2 14:18:31 2021] usblp3: removed
[Thu Dec 2 14:18:31 2021] usblp 1-2:1.2: usblp3: USB Bidirectional printer dev 2 if 2 alt 0 proto 2 vid 0x04A9 pid 0x26EC
[Thu Dec 2 14:25:40 2021] usblp2: removed
[Thu Dec 2 14:25:48 2021] usblp 1-2:1.1: usblp2: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x04A9 pid 0x26EC
[Thu Dec 2 14:25:48 2021] usblp2: removed
[Thu Dec 2 14:25:48 2021] usblp3: removed
[Thu Dec 2 14:25:48 2021] usb 1-2: reset high-speed USB device number 2 using xhci_hcd
[Thu Dec 2 14:25:48 2021] usblp 1-2:1.1: usblp2: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x04A9 pid 0x26EC
[Thu Dec 2 14:25:48 2021] usblp 1-2:1.2: usblp3: USB Bidirectional printer dev 2 if 2 alt 0 proto 2 vid 0x04A9 pid 0x26EC
Diagnosticky log je zde:
http://paste.debian.net/hidden/2b8a2da0/