Giter VIP home page Giter VIP logo

Comments (6)

Hummer12007 avatar Hummer12007 commented on June 25, 2024 1

https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux is the better way, exposing everything we need via the backlight sysfs interface that brightnessctl uses.

from brightnessctl.

lamyergeier avatar lamyergeier commented on June 25, 2024

@Hummer12007 I installed Ubuntu – Details of package ddcci-dkms in focal sudo apt install ddcci-dkms, and restarted. I am trying to set the brightness of my external monitor connected with HDMI cable to 50%

$ xrandr -q | grep " connected"
eDP-1-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
HDMI-1-1 connected primary 1920x1200+1920+0 (normal left inverted right x axis y axis) 519mm x 324mm

$ brightnessctl -d=hdmi* s 50
Device '=hdmi*' not found.

$ brightnessctl -d=HDMI-1-1 s 50
Device '=HDMI-1-1' not found.

Any suggestions?

from brightnessctl.

Hummer12007 avatar Hummer12007 commented on June 25, 2024

Check brightnessctl -l output for the correct device name.

from brightnessctl.

lamyergeier avatar lamyergeier commented on June 25, 2024
$ brightnessctl -l
Available devices:
Device 'intel_backlight' of class 'backlight':
        Current brightness: 4638 (95%)
        Max brightness: 4882

Device 'asus-wireless::airplane' of class 'leds':
        Current brightness: 0 (0%)
        Max brightness: 1

Device 'input3::numlock' of class 'leds':
        Current brightness: 1 (100%)
        Max brightness: 1

Device 'input28::numlock' of class 'leds':
        Current brightness: 1 (100%)
        Max brightness: 1

Device 'ath9k-phy0' of class 'leds':
        Current brightness: 255 (100%)
        Max brightness: 255

Device 'input3::capslock' of class 'leds':
        Current brightness: 0 (0%)
        Max brightness: 1

Device 'input28::capslock' of class 'leds':
        Current brightness: 0 (0%)
        Max brightness: 1

Device 'input28::scrolllock' of class 'leds':
        Current brightness: 0 (0%)
        Max brightness: 1

Device 'input28::kana' of class 'leds':
        Current brightness: 0 (0%)
        Max brightness: 1

Device 'input3::scrolllock' of class 'leds':
        Current brightness: 0 (0%)
        Max brightness: 1

Device 'input28::compose' of class 'leds':
        Current brightness: 0 (0%)
        Max brightness: 1
$ brightnessctl -d=intel_backlight s 50%
Device '=intel_backlight' not found.

$ brightnessctl -d=ath9k-phy0 s 50%
Device '=ath9k-phy0' not found.

$ brightnessctl -d='ath9k-phy0' s 50%
Device '=ath9k-phy0' not found.

For my laptop screen

$ brightnessctl s 50%
Updated device 'intel_backlight':
Device 'intel_backlight' of class 'backlight':
        Current brightness: 2441 (50%)
        Max brightness: 4882

$ brightnessctl -d='intel_backlight' s 80%
Device '=intel_backlight' not found.

@Hummer12007, we can see that the device name output from -l option doesn't work! Moreover I don't think that it even includes my external monitor connected with HDMI cable!

from brightnessctl.

Hummer12007 avatar Hummer12007 commented on June 25, 2024

It's -d ath9k-phy0 (or --device=ath9k-phy0) instead

from brightnessctl.

lamyergeier avatar lamyergeier commented on June 25, 2024

@Hummer12007 This device is for Wireless. As, I said before the external monitor is not even listed in the list of devices!

from brightnessctl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.