So I got this HP Omni all in one computer. I wanted it to boot from knoppix 7.7 installed to a flash drive and it wouldn't boot from the boot menu unless I chose the flash drive under the "Legacy boot" section, not the "UEFI boot section".
It's an all in one, so it's like a laptop with an integrated screen and speakers. If you're used to regular monitors, there's no buttons to adjust the brightness and contrast.
So it's xbacklight and xgamma to the rescue.
xbacklight -set 50
xgamma -gamma 0.7
xbacklight -inc 10
to make it a little brighter
xbacklight -dec 10
to make it a little darker
So far it seems to run pretty sweetly under knoppix 7.7. Even the built-in webcam works under /dev/video0 and can be viewed with VLC.
The only thing I don't like is that there isn't a built-in VGA/DVI/HDMI for an external monitor. What if the monitor goes bad?
eDP1 = embedded displayport
xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1920x1080 59.99*+ 59.93
1680x1050 59.95 59.88
1600x1024 60.17
1400x1050 59.98
1280x1024 60.02
1440x900 59.89
1280x960 60.00
1360x768 59.80 59.96
1152x864 60.00
1024x768 60.00
800x600 60.32 56.25
640x480 59.94
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
xrandr can set the gamma as well, for example:
xrandr --output eDP1 --gamma 1.0:1.0:1.0
If you ask xrandr for verbose you get a lot of info:
xrandr --verbose
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected 1920x1080+0+0 (0x4a) normal (normal left inverted right x axis y axis) 0mm x 0mm
Identifier: 0x42
Timestamp: 34664178
Subpixel: unknown
Gamma: 1.0:1.0:1.0
Brightness: 1.0
Clones:
CRTC: 0
CRTCs: 0 1
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
BACKLIGHT: 4
range: (0, 10)
Backlight: 4
range: (0, 10)
scaling mode: Full aspect
supported: None, Full, Center, Full aspect
Broadcast RGB: Automatic
supported: Automatic, Full, Limited 16:235
audio: auto
supported: force-dvi, off, auto, on
1920x1080 (0x4a) 143.600MHz -HSync -VSync *current +preferred
h: width 1920 start 2016 end 2080 total 2176 skew 0 clock 65.99KHz
v: height 1080 start 1088 end 1092 total 1100 clock 59.99Hz
...
hmmmm I wonder if I can adjust the scaling mode, looks interesting.
xrandr --output eDP1 --set "scaling mode" "Full"
xrandr --output eDP1 --set "scaling mode" "Center"
xrandr --output eDP1 --set "scaling mode" "Full aspect"
Cool! It works!
No comments:
Post a Comment