summaryrefslogtreecommitdiff
path: root/source/x/xcm/xcm.udev.rules.diff
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2018-11-12 02:29:48 +0000
committerEric Hameleers <alien@slackware.com>2018-11-12 08:59:45 +0100
commitcb1323a95c7d3275677760efd96a3eb9824c8aa8 (patch)
tree2303fbf6036ef6791974cd7cf60754aeecf765cc /source/x/xcm/xcm.udev.rules.diff
parent374248fe50672549bd1e5cd53ddb5bdfdcc66b65 (diff)
downloadcurrent-cb1323a95c7d3275677760efd96a3eb9824c8aa8.tar.gz
Mon Nov 12 02:29:48 UTC 201820181112022948
a/quota-4.04-x86_64-2.txz: Rebuilt. Fixed high CPU usage. Thanks to allend. ap/nano-3.2-x86_64-1.txz: Upgraded. x/libXcm-0.5.4-x86_64-1.txz: Upgraded. x/xcm-0.5.4-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/x/xcm/xcm.udev.rules.diff')
-rw-r--r--source/x/xcm/xcm.udev.rules.diff17
1 files changed, 17 insertions, 0 deletions
diff --git a/source/x/xcm/xcm.udev.rules.diff b/source/x/xcm/xcm.udev.rules.diff
new file mode 100644
index 00000000..1a0c1b95
--- /dev/null
+++ b/source/x/xcm/xcm.udev.rules.diff
@@ -0,0 +1,17 @@
+--- ./scripts/90-xcm-i2c.rules.orig 2016-12-09 15:50:46.000000000 -0600
++++ ./scripts/90-xcm-i2c.rules 2018-11-11 15:25:36.438669935 -0600
+@@ -1,8 +1,11 @@
+ # load the device node kernel module
+-SUBSYSTEM=="i2c-adapter", ACTION=="add", RUN+="/sbin/modprobe i2c-dev"
++#SUBSYSTEM=="i2c-adapter", ACTION=="add", RUN+="/sbin/modprobe i2c-dev"
+
+-# openSUSE_11.3 preferes:
+-SUBSYSTEM=="i2c", RUN+="/sbin/modprobe -bv i2c-dev"
++# openSUSE_11.3 prefers:
++#SUBSYSTEM=="i2c", RUN+="/sbin/modprobe -bv i2c-dev"
++
++# Here's what Slackware uses:
++SUBSYSTEM=="i2c", RUN+="/sbin/modprobe -b i2c-dev"
+
+ # match only DDC devices
+ KERNEL=="i2c-[0-9]*", ACTION=="add", PROGRAM=="/usr/bin/xcmddc --i2c /dev/%k --identify", RESULT=="0", GROUP="video", MODE="0660"