brightness keys at Toshiba Satellite A660

Hi, i have some problems with brightness. Buttons are work , but nothing change. I tried to add “acpi_backlight=vendor acpi_osi=Linux” at grub cmd line , but it had ho effect.

What openSUSE version, and KDE or Gnome? Information as to what grapics card/chip, and name of graphics driver in use, would also be helpful.

What circumstances tell you that the buttons are working?

opensuse 12.2 , KDE4 version 4.8.5 , NVIDIA GeForce GT 330M with nouveau driver. When i press FN + britness buttons - britness scale appears.

Assuming you haven’t tried the command line with xbacklight, enter it in Konsole as your normal user and tell us what it reports.

Output: No outputs have backlights property

That’s a pity if it reported the backlight setting, you could at least control it using that command and its options.

Have you anything in /sys/class/backlight/acpi_video0 directory? As well as directories, there could be some files with brightness as part of their names.

Also, look to see if you have a “video” module loaded. You can display all modules with command: lsmod

IIRC this command might save the searching: lsmod | grep video

If you have it loaded, the right-hand column should show what other driver module is using it. Report back on what you find.

I don’t have such file or directory, ls /sys/class/backlight shows only nv_backlight and toshiba soft links.

lsmod outputed that: uvcvideo, videobuf2_vmalloc, nouveau, video processor.

In my opinion, You should install the proprietary driver (via repository or via “the hard way”).
Then add the following string to the device section of your xorg.conf file (or similar file in the /etc/X11/xorg.conf.d directory):
Option “RegistryDwords” “EnableBrightnessControl=1”

I don’t have Nvidia or graphics driver here, so I can’t be sure if that’s normal for a working setup. Googling the problem did reveal another with your laptop and the problem (different distro) but no solution, just users scratching around those directories without much to go on.

BTW, its better if you post the results of that lsmod output (the relevant bit) directly by copying from the terminal and pasting it between code tags in the post editor (select the ouput and click on “#”).

Hopefully someone with Nvidia installed (quite a few on the forum) and working backlight control, will take a look at their loaded video modules and that directory to see what they have to compare with yours.

Also use the forum search facility to see if there are any relevant threads, if you haven’t already. :slight_smile:

I did it , but i cant find xorg.conf

consused:

Module                  Size  Used by
fuse                   86852  3 
nvidia              11288143  42 
af_packet              39358  4 
xt_tcpudp              12884  2 
xt_pkttype             12504  3 
xt_LOG                 17471  10 
xt_limit               12711  10 
rfcomm                 72935  8 
bnep                   19584  2 
ip6t_REJECT            12939  3 
nf_conntrack_ipv6      14497  3 
nf_defrag_ipv6         18107  1 nf_conntrack_ipv6
ip6table_raw           12683  1 
ipt_REJECT             12541  3 
iptable_raw            12678  1 
xt_CT                  12717  4 
iptable_filter         12810  1 
ip6table_mangle        12700  0 
nf_conntrack_netbios_ns    12665  0 
nf_conntrack_broadcast    12589  1 nf_conntrack_netbios_ns
nf_conntrack_ipv4      15005  3 
nf_defrag_ipv4         12729  1 nf_conntrack_ipv4
ip_tables              27239  2 iptable_raw,iptable_filter
xt_conntrack           12760  6 
nf_conntrack           97545  6 nf_conntrack_ipv6,xt_CT,nf_conntrack_netbios_ns,nf_conntrack_broadcast,nf_conntrack_ipv4,xt_conntrack
ip6table_filter        12815  1 
ip6_tables             27207  3 ip6table_raw,ip6table_mangle,ip6table_filter
x_tables               33967  15 xt_tcpudp,xt_pkttype,xt_LOG,xt_limit,ip6t_REJECT,ip6table_raw,ipt_REJECT,iptable_raw,xt_CT,iptable_filter,ip6table_mangle,ip_tables,xt_conntrack,ip6table_filter,ip6_tables
cpufreq_conservative    13783  0 
cpufreq_userspace      13162  0 
cpufreq_powersave      12618  0 
snd_hda_codec_hdmi     36102  4 
snd_hda_codec_realtek    81862  1 
snd_hda_intel          33312  2 
snd_hda_codec         136135  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep              13602  1 snd_hda_codec
snd_pcm               109282  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
ir_lirc_codec          13021  0 
lirc_dev               19980  1 ir_lirc_codec
uvcvideo               76392  0 
videobuf2_core         32851  1 uvcvideo
arc4                   12529  2 
snd_seq                69746  0 
ir_mce_kbd_decoder     13248  0 
brcmsmac              568746  0 
sdhci_pci              22792  0 
snd_timer              29370  2 snd_pcm,snd_seq
ir_sanyo_decoder       12839  0 
ir_sony_decoder        12713  0 
brcmutil               14755  1 brcmsmac
crc8                   12893  1 brcmsmac
cordic                 12535  1 brcmsmac
videodev              111306  1 uvcvideo
b43                   386979  0 
mac80211              555559  2 brcmsmac,b43
cfg80211              208339  3 brcmsmac,b43,mac80211
snd_seq_device         14497  1 snd_seq
ir_jvc_decoder         12751  0 
sdhci                  38242  1 sdhci_pci
snd                    87206  13 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
ir_rc6_decoder         12874  0 
ir_rc5_decoder         12710  0 
ssb                    66990  1 b43
pcmcia                 65856  2 b43,ssb
pcmcia_core            27629  1 pcmcia
ir_nec_decoder         12915  0 
rc_rc6_mce             12502  0 
ene_ir                 29014  0 
btusb                  23835  0 
bluetooth             321927  24 rfcomm,bnep,btusb
iTCO_wdt               17948  0 
bcma                   35637  2 brcmsmac,b43
toshiba_acpi           22675  0 
mmc_core              117686  4 sdhci_pci,b43,sdhci,ssb
sg                     36394  0 
r8169                  61164  0 
mei                    80083  0 
videobuf2_vmalloc      13020  1 uvcvideo
sr_mod                 22295  0 
iTCO_vendor_support    13718  1 iTCO_wdt
sparse_keymap          13890  1 toshiba_acpi
intel_ips              18453  0 
wmi                    19070  1 toshiba_acpi
jmb38x_ms              18663  0 
memstick               16796  1 jmb38x_ms
acpi_cpufreq           18857  1 
cdrom                  46687  1 sr_mod
mperf                  12667  1 acpi_cpufreq
coretemp               13444  0 
i2c_i801               17779  0 
rc_core                31880  11 ir_lirc_codec,ir_mce_kbd_decoder,ir_sanyo_decoder,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_rc5_decoder,ir_nec_decoder,rc_rc6_mce,ene_ir
rfkill                 26009  5 cfg80211,bluetooth,toshiba_acpi
videobuf2_memops       13608  1 videobuf2_vmalloc
soundcore              15047  1 snd
snd_page_alloc         18484  2 snd_hda_intel,snd_pcm
joydev                 17457  0 
pcspkr                 12718  0 
crc32c_intel           12901  0 
toshiba_bluetooth      12807  0 
battery                18691  0 
video                  19345  0 
button                 13906  0 
ac                     13097  0 
microcode              35772  0 
autofs4                42753  2 
processor              44907  1 acpi_cpufreq
thermal_sys            24703  2 video,processor
scsi_dh_alua           17121  0 
scsi_dh_rdac           17408  0 
scsi_dh_hp_sw          12894  0 
scsi_dh_emc            17258  0 
scsi_dh                14554  4 scsi_dh_alua,scsi_dh_rdac,scsi_dh_hp_sw,scsi_dh_emc

Thanks. There won’t be an xorg.conf file by default.

You are looking for the file /etc/X11/xorg.conf.d/50-device.conf in which to place that Option line. It probably needs the driver statement specifying the correct driver’s name before it.

Could you show me an example, i cant understand what means “driver statement” :slight_smile:

Your 50-device.conf file by default contains this:

#Section "Device"
#  Identifier "Default Device"
#
#  #Driver "radeon"
#
#  ## Required magic for radeon/radeonhd drivers; output name
#  ## (here: "DVI-0") can be figured out via 'xrandr -q'
#  #Option "monitor-DVI-0" "Default Monitor"
#
#EndSection

The “#” at the start of each line makes it a comment. You see the line with “# #Driver “radeon”” ? That’s a commented-out Driver statement.

The line with “# #Option “monitor-DVI-0” “Default Monitor””? Yes, now you see that is an inactive Option statement, such as the one you were given earlier.

So, you can either uncomment and update the relative statements in place, or leave them as is and add a new section after all the comments, e.g.

 Section "Device"
   Identifier "Default Device"
    Driver "*yourdrivername*"
    Option "RegistryDwords" "EnableBrightnessControl=1"
 EndSection

Before editing the file, save a copy in your home dir. If you make a mess of the edit or it doesn’t work, then you can just overwrite it with that copy.

Those lines need to be active (uncommented). That should be enough but I cannot be sure as I don’t have Nvidia. As suggested by @PiElle, it’s the driver name of the proprietary driver, to be inserted between the quotes in the Driver statement.

Once you have saved the edited .conf file, reboot as normal. Let us know how it goes. :slight_smile:

Thanks for your help. New driver was installed and ,conf file modified like this:

 Section "Device"
   Identifier "Default Device"
    Driver "*nvidia*"
    Option "RegistryDwords" "EnableBrightnessControl=1"
 EndSection

Reboot and nothing changed except brightness buttons arent work now, no scale appears. All i need is to increase brightness because its too dark by default.

Hello,

I have the exactly opposite problem - the brightness stays at maximum, and there is no way I can change it. The function keys don’t work, and the slider in the power settings don’t work either.

Tried other distros, experimented with many options in /etc/default/grub, tried and openSUSE 12.2 KDE, and after it didn’t work - I decided to try 12.3 - KDE again - mostly because of the so recent kernel and packages. Unfortunately - exactly the same thing.

I’m on Toshiba Satellite P855-108 with i7 processor and NVidia GT 640M video card.