![]() ![]() acdcontrol /dev/hiddev0 -10 Decrement current brightness by 10. acdcontrol /dev/hiddev0 +10 Increment current brightness by 10. Note, that brightness setting depends on your model. acdcontrol /dev/hiddev0 Read current brightness parameter acdcontrol /dev/hiddev0 160 Set brightness to 160. acdcontrol -detect /dev/hiddev* Perform detection, which HID device is actually your display to be controlled. In the following examples I assume that your HID device is /dev/hiddev0. ![]() See also: -brief option and "Known Limitations" section. I set 0, however, to see films in the darkness. I use Apple Cinema 20" (clear plastic) and I'm feeling comfortable with Note, that not every value toggles the backlight power different Apple Display models haveĭifferent granularity. (Note: You have to place - before the negative value!)īrightness is a parameter ranged. If brightness starts with + or -, the current brightness is When this option is specified, the operation is to set brightness, otherwise, the currentīrightness is retrieved. I'llĪppreciate if you submit your information in the forum for any display that works hid deviceĭevice that represents your Apple Cinema display. Not mean that it won't work it simply means that I did not tested it on such a device. l, -list-all Lists all "officially" supported monitors and quits. Use any number of files if you are not sure that your monitor(s) are supported. In this mode no writes are performed to device so you can d, -detect Run program in the detection mode. a, -about Show information about the program, some credits and thanks. h, -help Show short help message and quit. Parameters -s, -silent Suppress non-functional program output -b, -brief Print brightness value only when in query mode, otherwise ignored. The program checks whether the device is Apple display and warns about it. NOTE: It should be safe to run the program on other device than Apple Cinema/Studio display as Or change the ownership: sudo chown :users /dev/usb/hiddevX The world: sudo chmod a+rw /dev/usb/hiddevX If you have no such permissions, you can either grant read/write permission to NOTE: You must have write permissions to this device in order to control the display being a (requires that docker, docker-compose is installed) Usage. acd-compile.sh script, that will execute the docker-compose.yml file. Have installed packages necessary for compiling (e.g. Apple Cinema Display Brightness Control CompilingĬhange to program directory and compile it: cd acdcontrolĪ new file acdcontrol should appear in the same directory. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |