Skip to content

Commit cab2d00

Browse files
committed
udev: ignore devices capable of IPP over USB, we have ipp-usb for it
1 parent 599d6e2 commit cab2d00

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
1.5.14 changes
22
--------------
33
- set preferred driver for DYMO LabelWriter 400
4+
- udev: ignore devices capable of IPP over USB, we have ipp-usb for it
45

56
1.5.13 changes
67
--------------

udev/70-printers.rules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# UDEV rules for USB devices - ENV variables can be monitored
22
# via 'sudo udevadm monitor --udev --subsystem-match=usb --property'
33
# Low-level USB device add trigger
4-
ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:*", TAG+="systemd", ENV{SYSTEMD_WANTS}="configure-printer@usb-$env{BUSNUM}-$env{DEVNUM}.service"
4+
ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:*", ENV{ID_USB_INTERFACES}!="*:070104:*", TAG+="systemd", ENV{SYSTEMD_WANTS}="configure-printer@usb-$env{BUSNUM}-$env{DEVNUM}.service"
55
# Low-level USB device remove trigger
66
# Interface types:
77
# 7/1/1 - device with unidirectional USB, managed by usb backend
88
# 7/1/2 - device with bidirectional USB, managed by usb backend
99
# 7/1/3 - device with special USB protocol, managed by hp backend
1010
# 7/1/4 - device with IPP over USB protocol, managed by ipp-usb daemon
11-
ACTION=="remove", SUBSYSTEM=="usb", ENV{INTERFACE}=="7/1/*", RUN+="udev-configure-printer remove %p"
11+
ACTION=="remove", SUBSYSTEM=="usb", ENV{INTERFACE}=="7/1/*", ENV{INTERFACE}!="7/1/4", RUN+="udev-configure-printer remove %p"

0 commit comments

Comments
 (0)