-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update comments to reflect the fact that file /usr/lib/udev/rules.d/60-ddcutil-usb.rules is no longer installed.
- Loading branch information
Showing
1 changed file
with
16 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,24 @@ | ||
# Rules for USB attached monitors, which are categorized as User Interface Devices. | ||
# Rules for monitors implementing USB communication with their Virtual Control Panel. | ||
|
||
# This sample file can be modified and copied to /etc/udev/rules.d. If file | ||
# /etc/udev/rules.d/60-ddcutil-usb.rules exists, it overrides a file with the | ||
# same name in /usr/lib/udev/rules.d, which is created by ddcutil installation. | ||
# This can be useful in cases where the usual rules do not work as needed, or | ||
# during development. | ||
# This sample file can be modified and copied to /etc/udev/rules.d. | ||
|
||
# If file /etc/udev/rules.d/60-ddcutil-usb.rules exists, it overrides a file with | ||
# the same name in /usr/lib/udev/rules.d. (This file used to be created by ddcutil | ||
# installation.) | ||
|
||
# The simplest solution is to specify a particular monitor device by its vid/pid, | ||
# and then use TAG+="uaccess" to grant the current user read/write access to it. | ||
# The values in this example are for an Apple Cinema Display, model A1082: | ||
# SUBSYSTEM=="usbmisc", ATTRS{idVendor}=="05ac", ATTRS{idProduct}=="9223", TAG+="uaccess" | ||
|
||
# A more general solution is to use ddcutil chkusbmon to check if a USB Human | ||
# Interface device implements the USB Device Class Definition for Human Interface | ||
# Devices. Unfortunately, this has been seen to cause system instability in | ||
# certain ill-defined cases. | ||
|
||
# The usual case, using TAG+="uaccess": Use ddcutil to check if a USB Human | ||
# Interface Device appears to be a monitor. If so, grant the current user | ||
# access to it. | ||
# | ||
# Note this rule may have to be adjusted to reflect the actual path where | ||
# ddcutil is installed. The -v option produces informational messages. | ||
# These are lost when the rule is normally executed by udev, but can be | ||
# helpful when rules are tested using the "udevadm test" command. | ||
# SUBSYSTEM=="usbmisc", KERNEL=="hiddev*", PROGRAM="/usr/bin/ddcutil chkusbmon $env{DEVNAME} -v", TAG+="uaccess" | ||
|
||
# Assign HID monitors to group video, and give RW permission to users in that | ||
# group. Alternatively, you can give everyone RW permission for monitor devices | ||
# by changing 'MODE="0660", GROUP="video"' to 'MODE="0666"'. | ||
# SUBSYSTEM=="usbmisc", KERNEL=="hiddev*", PROGRAM="/usr/bin/ddcutil chkusbmon $env{DEVNAME} -v", MODE="0660", GROUP="video" | ||
|
||
# Identifies a particular monitor device by its vid/pid. | ||
# The values in this example are for an Apple Cinema Display, model A1082. | ||
# SUBSYSTEM=="usbmisc", ATTRS{idVendor}=="05ac", ATTRS{idProduct}=="9223", MODE="0666" | ||
|