Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
11-03-2014, 06:46 PM
|
#16
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,006
|
Quote:
It did!. Now in system setting I have a bar, that I can move and change the brightness!. Thanks man, your'e awesomest
|
Fantastic! I'm glad to have been of help.
I'll remember that 
|
|
|
09-28-2022, 08:46 AM
|
#17
|
LQ Newbie
Registered: Sep 2022
Posts: 1
Rep:
|
Quote:
Originally Posted by orcaja
It worked!. Now in system settings I have a bar, that I can move and change the brightness!. Thanks man, your'e the awesomest 
I owe you a beer.
/Joc
|
I am still unable to control the screen brightness. Can you please mention how you finally figured out the way. Can you tell the flow of commands used. Thanks in advance
|
|
|
09-28-2022, 01:29 PM
|
#18
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,006
|
Best to start your own new thread, rather than tacking on to an eight year old thread like this. Lots will have changed, and you also need to provide relevant hardware details.
Last edited by ferrari; 10-01-2022 at 10:04 PM.
|
|
|
10-01-2022, 07:14 PM
|
#19
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,496
|
Code:
> inxi -Gxx
Graphics:
Device-1: Intel 4th Generation Core Processor Family Integrated Graphics
vendor: Micro-Star MSI driver: i915 v: kernel arch: Gen-7.5 ports:
active: HDMI-A-1 empty: HDMI-A-2,VGA-1 bus-ID: 00:02.0 chip-ID: 8086:041e
Display: x11 server: X.Org v: 1.20.3 driver: X: loaded: modesetting
unloaded: fbdev,vesa alternate: intel gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1200 s-dpi: 120
Monitor-1: HDMI-A-1 mapped: HDMI-1 model: Samsung SMS24A850
res: 1920x1200 dpi: 94 diag: 611mm (24.1")
OpenGL: renderer: Mesa Intel HD Graphics 4400 (HSW GT2) v: 4.6 Mesa
21.2.4 compat-v: 3.1 direct render: Yes
Above describes my graphics, similar to OP's. Below makes my display output much darker.
Code:
> xrandr --output HDMI-1 --brightness 0.7
Normal brightness is restored by a setting of 1.0.
|
|
|
10-01-2022, 09:33 PM
|
#20
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
Not exactly the same thing, but after setting up redshift and tuning it properly I do not need to adjust it by hand any more.
|
|
|
10-01-2022, 09:41 PM
|
#21
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
Then there is ddcutil, it can communicate with monitor and change quite a few values. See below, it is ddcutil run on one of my displays.
Code:
# ddcutil getvcp KNOWN
VCP code 0x02 (New control value ): One or more new control values have been saved (0x02)
VCP code 0x0b (Color temperature increment ): 100 degree(s) Kelvin
VCP code 0x0c (Color temperature request ): 3000 + 100 * (feature 0B color temp increment) degree(s) Kelvin
VCP code 0x10 (Brightness ): current value = 40, max value = 100
VCP code 0x12 (Contrast ): current value = 60, max value = 100
VCP code 0x14 (Select color preset ): !!! UNABLE TO FORMAT OUTPUT. mh=0x00, ml=0x0b, sh=0x00, sl=0x00
VCP code 0x16 (Video gain: Red ): current value = 100, max value = 100
VCP code 0x18 (Video gain: Green ): current value = 100, max value = 100
VCP code 0x1a (Video gain: Blue ): current value = 100, max value = 100
VCP code 0x1e (Auto setup ): Auto setup not active (sl=0x00)
VCP code 0x52 (Active control ): Value: 0x62
VCP code 0x60 (Input Source ): Invalid value (sl=0x00)
VCP code 0x62 (Audio speaker volume ): Volume level: 60 (00x3c)
VCP code 0x6c (Video black level: Red ): current value = 50, max value = 100
VCP code 0x6e (Video black level: Green ): current value = 50, max value = 100
VCP code 0x70 (Video black level: Blue ): current value = 50, max value = 100
VCP code 0x86 (Display Scaling ): Linear expansion (compression) on h and v axes (sl=0x08)
VCP code 0x8d (Audio mute/Screen blank ): Unmute the audio (sl=0x02), Invalid value (sh=0x00)
VCP code 0xac (Horizontal frequency ): 23364 hz
VCP code 0xae (Vertical frequency ): 60.00 hz
VCP code 0xb6 (Display technology type ): LCD (active matrix) (sl=0x03)
VCP code 0xc0 (Display usage time ): Usage time (hours) = 8983 (0x002317) mh=0xff, ml=0xff, sh=0x23, sl=0x17
VCP code 0xc6 (Application enable key ): 0x006f
VCP code 0xc8 (Display controller type ): Mfg: Mstar (sl=0x05), controller number: mh=0xff, ml=0x16, sh=0x00
VCP code 0xc9 (Display firmware level ): 0.1
VCP code 0xca (OSD/Button Control ): OSD enabled, button events enabled (sl=0x02), Host control of power unsupported (sh=0x00)
VCP code 0xcc (OSD Language ): English (sl=0x02)
VCP code 0xd6 (Power mode ): DPM: On, DPMS: Off (sl=0x01)
VCP code 0xdf (VCP Version ): 2.2
|
|
|
10-01-2022, 09:48 PM
|
#22
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
And another utility, does the same, ddccontrol.
I use these utilities to switch the input, I have Mac Mini connected to my main monitor, when I want to use it then instead of going into clumsy menus I issue a saved command. Then, when I'm finished with Mac I execute proper command from there to switch back to my Gentoo desktop.
Code:
= VESA standard monitor
> Color settings
> Brightness and Contrast
> id=brightness, name=Brightness, address=0x10, delay=-1ms, type=0
supported, value=75, maximum=100
> id=contrast, name=Contrast, address=0x12, delay=-1ms, type=0
supported, value=75, maximum=100
> Color maximum level
> id=red, name=Red maximum level, address=0x16, delay=-1ms, type=0
supported, value=100, maximum=100
> id=green, name=Green maximum level, address=0x18, delay=-1ms, type=0
supported, value=100, maximum=100
> id=blue, name=Blue maximum level, address=0x1a, delay=-1ms, type=0
supported, value=100, maximum=100
> Position and size
> Position
> id=hpos, name=Horizontal Position, address=0x20, delay=-1ms, type=0
supported, value=50, maximum=100
> id=vpos, name=Vertical Position, address=0x30, delay=-1ms, type=0
supported, value=50, maximum=100
> Automatic adjustments
> id=auto, name=Automatically adjust, address=0x1e, delay=1000ms, type=1
Possible values:
> id=pos - name=H/V Position, value=1
supported, value=0, maximum=1
> Screen purity
> Image setup
> id=coarse, name=Image Lock Coarse (Clock), address=0xe, delay=-1ms, type=0
supported, value=50, maximum=100
> id=fine, name=Image Lock Fine (Clock Phase), address=0x3e, delay=-1ms, type=0
supported, value=83, maximum=100
> Input settings
> Input sources
> id=inputsource, name=Input Source Select (Main), address=0x60, delay=-1ms, type=2
Possible values:
> id=analog - name=Analog, value=1
> id=digital - name=Digital, value=3
supported, value=1, maximum=4
> Others
> Restore defaults
> id=defaults, name=Restore Factory Defaults, address=0x4, delay=2000ms, type=1
Possible values:
> id=default - name=Restore Factory Defaults, value=1
supported, value=0, maximum=1
> id=defaultluma, name=Restore Brightness and Contrast, address=0x5, delay=2000ms, type=1
Possible values:
> id=default - name=Restore Brightness and Contrast, value=1
supported, value=0, maximum=1
> id=defaultgeom, name=Restore Factory Default Geometry, address=0x6, delay=2000ms, type=1
Possible values:
> id=default - name=Restore Factory Default Geometry, value=1
supported, value=0, maximum=1
> id=defaultcolor, name=Restore Factory Default Color, address=0x8, delay=2000ms, type=1
Possible values:
> id=default - name=Restore Factory Default Color, value=1
supported, value=0, maximum=1
> OSD
> id=newcontrolvalue, name=New Control Value, address=0x2, delay=-1ms, type=2
Possible values:
> id=nochanges - name=No changes, value=1
> id=changed - name=Some values changed, value=2
supported, value=1, maximum=2
> Power control
> id=dpms, name=DPMS Control, address=0xd6, delay=-1ms, type=2
Possible values:
> id=on - name=On, value=1
> id=standby - name=Standby, value=4
supported, value=1, maximum=5
|
|
|
All times are GMT -5. The time now is 04:31 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|