Xfce Forum

Sub domains
 

You are not logged in.

#1 2015-03-28 19:56:33

johnywhy
Member
Registered: 2011-10-09
Posts: 283

Cannot Adjust Brightness

Hi

Unable to adjust brightness on xfce. (This is for all the time, NOT for only when i'm away from keyboard).

i do not notice a 'LCD brightness panel' plugin or 'power manager' plugin anyplace in xfce control panel.

Have done some research, found out the following so far:


from https://forum.xfce.org/viewtopic.php?pid=34303:

cat /proc/cmdline

returns:

video=640x480 psubdir=slim005frugal pmedia=atahd pfix=fsck

this:

lspci -k | grep -iA2 VGA

returns:

00:02.0 VGA compatible controller: Intel Corporation Ivy Bridge Graphics Controller (rev 09)
	Subsystem: ASUSTeK Computer Inc. Device 117d
00:14.0 USB Controller: Intel Corporation Panther Point USB xHCI Host Controller (rev 04)

this:

for interface in /sys/class/backlight/*; do echo -e "\n $interface"; cat $interface/{brightness,max_brightness,actual_brightness}; done

returns:

 /sys/class/backlight/*
cat: /sys/class/backlight/*/brightness: No such file or directory
cat: /sys/class/backlight/*/max_brightness: No such file or directory
cat: /sys/class/backlight/*/actual_brightness: No such file or directory

this:

lsmod

returns:

Module                  Size  Used by
cpufreq_ondemand        3892  2 
acpi_cpufreq            4068  0 
mperf                    803  1 acpi_cpufreq
iptable_mangle           800  0 
iptable_nat             2233  0 
nf_nat                  9317  1 iptable_nat
ipt_REJECT              1420  1 
nf_conntrack_ftp        4024  0 
nf_conntrack_irc        2364  0 
iptable_filter           692  1 
xt_state                 676  4 
nf_conntrack_ipv4       6066  7 iptable_nat,nf_nat
nf_conntrack           36675  6 iptable_nat,nf_nat,nf_conntrack_ftp,nf_conntrack_irc,xt_state,nf_conntrack_ipv4
nf_defrag_ipv4           702  1 nf_conntrack_ipv4
ip_tables               6893  3 iptable_mangle,iptable_nat,iptable_filter
fan                     1456  0 
snd_hda_codec_hdmi     17321  1 
snd_hda_codec_realtek   128604  1 
ums_cypress             1648  0 
uvcvideo               44769  0 
videodev               55434  1 uvcvideo
pcspkr                  1016  0 
arc4                     880  2 
snd_hda_intel          16244  2 
snd_hda_codec          50512  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               3222  1 snd_hda_codec
rt2800pci               5532  0 
rt2800lib              31987  1 rt2800pci
crc_ccitt               1027  1 rt2800lib
rt2x00pci               3495  1 rt2800pci
rt2x00lib              24357  3 rt2800pci,rt2800lib,rt2x00pci
mac80211              134899  3 rt2800lib,rt2x00pci,rt2x00lib
snd_pcm_oss            25981  0 
snd_mixer_oss           8957  1 snd_pcm_oss
cfg80211              113559  2 rt2x00lib,mac80211
eeprom_93cx6             932  1 rt2800pci
snd_pcm                43118  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy            796  0 
snd_seq_oss            18223  0 
snd_seq_midi            2872  0 
snd_seq_midi_event      3127  2 snd_seq_oss,snd_seq_midi
snd_rawmidi            10847  1 snd_seq_midi
snd_seq                29947  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_seq_device          3125  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
i2c_i801                5816  0 
i2c_core               11456  2 videodev,i2c_i801
snd_timer              10702  2 snd_pcm,snd_seq
snd                    31703  17 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_seq_device,snd_timer
soundcore               3276  1 snd
snd_page_alloc          4581  2 snd_hda_intel,snd_pcm
shpchp                 16683  0 
asus_wmi                8992  0 
rfkill                  8718  2 cfg80211,asus_wmi
sparse_keymap           1937  1 asus_wmi
wmi                     5391  1 asus_wmi
intel_agp               7292  0 
intel_gtt               8261  2 intel_agp
agpgart                17927  2 intel_agp,intel_gtt
battery                 7300  0 
evdev                   5272  1 
thermal                 5344  0 
video                   8758  0 
button                  2986  0 
processor              20684  3 acpi_cpufreq
thermal_sys             8708  4 fan,thermal,video,processor
hwmon                    846  2 asus_wmi,thermal_sys
ac                      1988  0 
fuse                   47694  3 
aufs                  122079  98 
squashfs               18881  2

this:

xfce4-power-manager --dump

returns:

bash: xfce4-power-manager: command not found

from:
http://ubuntuforums.org/showthread.php?t=1907928&page=5

xrandr -q | grep " connected"

returns:

xrandr: Failed to get size of gamma for output default
default connected 1368x768+0+0 0mm x 0mm

this:

xrandr --output LVDS1 --brightness 0.5

returns:

xrandr: Failed to get size of gamma for output default
warning: output LVDS1 not found; ignoring
xrandr: Need crtc to set gamma on.

this:

xrandr --output default --brightness 0.5

has no impact on brightness, and returns:

xrandr: Gamma size is 0.


from:
http://stackoverflow.com/questions/6625 … s-on-linux

xbacklight -set 100

returns:

bash: xbacklight: command not found

this:

xrandr --output eDP1 --brightness 0.9

returns:

warning: output eDP1 not found;

this:

xrandr --output default --brightness 0.9

returns:

xrandr: Gamma size is 0.

this:

echo -n 10 > /sys/devices/virtual/backlight/acpi_video0/brightness

returns:

bash: /sys/devices/virtual/backlight/acpi_video0/brightness: No such file or directory

from:
http://hackingzones.com/increasedecreas … trackkali/
and
https://forum.xfce.org/viewtopic.php?pid=34305#p34305
and
https://wiki.ubuntu.com/Kernel/KernelBootParameters

--i cannot find the "quiet splash" line in the grub file. Here is my current grub entry:

title Puppy slim 005 (sda1/slim005frugal)
  uuid 3fa4812b-034d-4003-9d8a-d322a6e754cf
  kernel /slim005frugal/vmlinuz   psubdir=slim005frugal pmedia=atahd pfix=fsck
  initrd /slim005frugal/initrd.gz

changing brightness in xfce Settings Editor/xfce4-desktop/backdrop/screen0/monitor0/brightness, affects brightness of wallpaper only.


i noticed this directory is empty:
/sys/class/backlight

i noticed this directory does not exist:
/sys/devices/virtual/backlight


thx!

Last edited by johnywhy (2015-03-28 20:01:56)


arch xfce x86_64

Offline

#2 2015-03-28 21:34:20

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,931

Re: Cannot Adjust Brightness

Which distro are you using? Based on your grub file, Puppy linux?

Its interesting that xfce4-power-manager is not installed. Are you sure that Xfce is properly installed? What does the following return:

xfce4-about -V

As for your brightness issue, the fact that you have no backlight interfaces (/sys/class/backlight) indicates that this is a systemic issue (outside of Xfce). Xfce (and xfce4-power-manager) will need to have access to a backlight interface to be able to adjust brightness. You'll need to get this resolved first.

Note: "xrandr -q" will give you a listing of identified outputs and the Xorg log file will give some insight into how these outputs (displays) are being configured.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2015-03-30 06:05:02

johnywhy
Member
Registered: 2011-10-09
Posts: 283

Re: Cannot Adjust Brightness

hi

# xfce4-about -V
xfce4-about 4.8.3 (Xfce 4.10)

Copyright (c) 2008-2011
	The Xfce development team. All rights reserved.

Please report bugs to <http://bugzilla.xfce.org>.
Translators list from 2011-09-18 00:00:09.

puppy is a tiny Linux distro, so maybe the designer of my puppy decided to exclude that part. Or maybe the build tools did it without anybody knowing.

is it possible to add just the missing components?

thx for reply!

Last edited by johnywhy (2015-03-30 06:08:13)


arch xfce x86_64

Offline

#4 2015-03-30 10:32:03

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,931

Re: Cannot Adjust Brightness

johnywhy wrote:

is it possible to add just the missing components?

I guess you could, but I don't think it will help. Your system doesn't expose a backlight interface. It doesn't look like your using the intel video driver (maybe just VESA?). You'll need to get that set up first, and perhaps the Puppy forums is the best place to get help for that.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Board footer

Powered by FluxBB