]> Frank Brehm's Git Trees - config/bruni/etc-mint-new1.git/commitdiff
daily autocommit
authorroot <root@bruni.home.brehm-online.com>
Wed, 26 Jan 2022 06:35:40 +0000 (07:35 +0100)
committerFrank Brehm <root@bruni.home.brehm-online.com>
Wed, 26 Jan 2022 06:35:40 +0000 (07:35 +0100)
.etckeeper
systemd/system/multi-user.target.wants/snap-core-11798.mount [deleted symlink]
systemd/system/multi-user.target.wants/snap-core-12603.mount [new symlink]
systemd/system/snap-core-11798.mount [deleted file]
systemd/system/snap-core-12603.mount [new file with mode: 0644]
udev/rules.d/70-snap.core.rules

index 4eb197b9e2bda652a04722f24b4e57e493f00380..e0e7a39a83a6f38887a761b407991ccffa4f8d34 100755 (executable)
@@ -3030,8 +3030,8 @@ maybe chmod 0755 'systemd/system/remote-fs.target.wants'
 maybe chmod 0755 'systemd/system/rescue.target.wants'
 maybe chmod 0755 'systemd/system/sleep.target.wants'
 maybe chmod 0644 'systemd/system/snap-bare-5.mount'
-maybe chmod 0644 'systemd/system/snap-core-11798.mount'
 maybe chmod 0644 'systemd/system/snap-core-11993.mount'
+maybe chmod 0644 'systemd/system/snap-core-12603.mount'
 maybe chmod 0644 'systemd/system/snap-core18-2253.mount'
 maybe chmod 0644 'systemd/system/snap-core18-2284.mount'
 maybe chmod 0644 'systemd/system/snap-drawio-139.mount'
diff --git a/systemd/system/multi-user.target.wants/snap-core-11798.mount b/systemd/system/multi-user.target.wants/snap-core-11798.mount
deleted file mode 120000 (symlink)
index 3ddeeb9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/etc/systemd/system/snap-core-11798.mount
\ No newline at end of file
diff --git a/systemd/system/multi-user.target.wants/snap-core-12603.mount b/systemd/system/multi-user.target.wants/snap-core-12603.mount
new file mode 120000 (symlink)
index 0000000..34863b1
--- /dev/null
@@ -0,0 +1 @@
+/etc/systemd/system/snap-core-12603.mount
\ No newline at end of file
diff --git a/systemd/system/snap-core-11798.mount b/systemd/system/snap-core-11798.mount
deleted file mode 100644 (file)
index 88b28d9..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-[Unit]
-Description=Mount unit for core, revision 11798
-Before=snapd.service
-After=zfs-mount.service
-
-[Mount]
-What=/var/lib/snapd/snaps/core_11798.snap
-Where=/snap/core/11798
-Type=squashfs
-Options=nodev,ro,x-gdu.hide,x-gvfs-hide
-LazyUnmount=yes
-
-[Install]
-WantedBy=multi-user.target
diff --git a/systemd/system/snap-core-12603.mount b/systemd/system/snap-core-12603.mount
new file mode 100644 (file)
index 0000000..df4d5b6
--- /dev/null
@@ -0,0 +1,14 @@
+[Unit]
+Description=Mount unit for core, revision 12603
+Before=snapd.service
+After=zfs-mount.service
+
+[Mount]
+What=/var/lib/snapd/snaps/core_12603.snap
+Where=/snap/core/12603
+Type=squashfs
+Options=nodev,ro,x-gdu.hide,x-gvfs-hide
+LazyUnmount=yes
+
+[Install]
+WantedBy=multi-user.target
index ca2c1da1d94c374353a1d39302fdade1f2ae80ba..908096f8e04e48c754f8f8dbcef1d8bf33db994d 100644 (file)
@@ -983,12 +983,28 @@ LABEL="mm_zte_port_types_end"
 # that don't have this tag.  MM will still get the udev 'add' event for the
 # device a short while later and then process it as normal.
 
-ACTION!="add|change|move", GOTO="mm_candidate_end"
+ACTION!="add|change|move|bind", GOTO="mm_candidate_end"
+
+# Opening bound but disconnected Bluetooth RFCOMM ttys would initiate the
+# connection. Don't do that.
+KERNEL=="rfcomm*", DEVPATH=="*/virtual/*", GOTO="mm_candidate_end"
 
 SUBSYSTEM=="tty", ENV{ID_MM_CANDIDATE}="1"
 SUBSYSTEM=="net", ENV{ID_MM_CANDIDATE}="1"
-KERNEL=="cdc-wdm*", SUBSYSTEM=="usb", ENV{ID_MM_CANDIDATE}="1"
-KERNEL=="cdc-wdm*", SUBSYSTEM=="usbmisc", ENV{ID_MM_CANDIDATE}="1"
+KERNEL=="cdc-wdm[0-9]*", SUBSYSTEM=="usb", ENV{ID_MM_CANDIDATE}="1"
+KERNEL=="cdc-wdm[0-9]*", SUBSYSTEM=="usbmisc", ENV{ID_MM_CANDIDATE}="1"
+
+# WWAN subsystem port handling
+#  - All USB devices ignored for now, only PCI devices expected
+#  - Only "wwan_port" device types processed (single ports); we fully ignore
+#    the "wwan_dev" device type (full device, not just one port)
+SUBSYSTEMS=="usb", GOTO="mm_candidate_end"
+SUBSYSTEM=="wwan", ENV{DEVTYPE}=="wwan_dev", GOTO="mm_candidate_end"
+SUBSYSTEM=="wwan", ENV{ID_MM_CANDIDATE}="1"
+SUBSYSTEM=="wwan", KERNEL=="*MBIM", ENV{ID_MM_PORT_TYPE_MBIM}="1"
+SUBSYSTEM=="wwan", KERNEL=="*QMI", ENV{ID_MM_PORT_TYPE_QMI}="1"
+SUBSYSTEM=="wwan", KERNEL=="*AT", ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"
+SUBSYSTEM=="wwan", KERNEL=="*QCDM", ENV{ID_MM_PORT_TYPE_QCDM}="1"
 
 LABEL="mm_candidate_end"