Bug 288852 - Brightness get crazy (Bightness Up-down-Up-down) ...making system unusable
Summary: Brightness get crazy (Bightness Up-down-Up-down) ...making system unusable
Status: RESOLVED FIXED
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: powermanagement-daemon (show other bugs)
Version: 4.8.2
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Dario Freddi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-12 22:57 UTC by maxime.haselbauer
Modified: 2013-05-01 11:26 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.10


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description maxime.haselbauer 2011-12-12 22:57:56 UTC
Version:           unspecified (using KDE 4.7.3) 
OS:                Linux

This occur when :
When the computer is not Plugged in alternative Current (when plugged, I can't change the brightness)
AND WHEN
I go away for a while and the system want to lower the brightness down of my laptop to lower powerconsumption when computer is not use
Or when I try to change the brightness with hotkeys, as well as slider of the battery management 

WHAT HAPPEN
The brighntess goes down and up and down and up etc... it shows the brightness control bar but you can't stop it either with hotkeys, nor with the slider of battery management applet. 
I once had ksysguard on and I saw that the CPU is working at 100%, hence the computer become unusable ....( I have to shut down with the switch...) hence i categorized as a Major Bug

Reproducible: Always

Steps to Reproduce:
Just unplugg my laptop and don't touch it for a small while...


Expected Results:  
Should simply not happen

netbook                   
    description: Computer
    width: 32 bits
  *-core
       description: Motherboard
       physical id: 0
     *-memory
          description: System memory
          physical id: 0
          size: 1015MiB
     *-cpu
          product: Intel(R) Atom(TM) CPU N450   @ 1.66GHz
          vendor: Intel Corp.
          physical id: 1
          bus info: cpu@0
          version: 6.12.10
          serial: 0001-06CA-0000-0000-0000-0000
          size: 1667MHz
          capacity: 1667MHz
          width: 64 bits
          capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx x86-64 constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm cpufreq
          configuration: id=0
        *-logicalcpu:0
             description: Logical CPU
             physical id: 0.1
             width: 64 bits
             capabilities: logical
        *-logicalcpu:1
             description: Logical CPU
             physical id: 0.2
             width: 64 bits
             capabilities: logical
     *-pci
          description: Host bridge
          product: N10 Family DMI Bridge
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 00
          width: 32 bits
          clock: 33MHz
          configuration: driver=agpgart-intel
          resources: irq:0
        *-display:0
             description: VGA compatible controller
             product: N10 Family Integrated Graphics Controller
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: vga_controller bus_master cap_list rom
             configuration: driver=i915 latency=0
             resources: irq:45 memory:f0300000-f037ffff ioport:18d0(size=8) memory:d0000000-dfffffff memory:f0000000-f00fffff
        *-display:1 UNCLAIMED
             description: Display controller
             product: N10 Family Integrated Graphics Controller
             vendor: Intel Corporation
             physical id: 2.1
             bus info: pci@0000:00:02.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master cap_list
             configuration: latency=0
             resources: memory:f0380000-f03fffff
        *-multimedia
             description: Audio device
             product: N10/ICH 7 Family High Definition Audio Controller
             vendor: Intel Corporation
             physical id: 1b
             bus info: pci@0000:00:1b.0
             version: 02
             width: 64 bits
             clock: 33MHz
             capabilities: bus_master cap_list
             configuration: driver=HDA Intel latency=0
             resources: irq:47 memory:f0400000-f0403fff
        *-pci:0
             description: PCI bridge
             product: N10/ICH 7 Family PCI Express Port 1
             vendor: Intel Corporation
             physical id: 1c
             bus info: pci@0000:00:1c.0
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: pci normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:40 ioport:5000(size=4096) memory:f0100000-f01fffff ioport:40a00000(size=2097152)
           *-network
                description: Wireless interface
                product: AR9285 Wireless Network Adapter (PCI-Express)
                vendor: Atheros Communications Inc.
                physical id: 0
                bus info: pci@0000:05:00.0
                logical name: wlan0
                version: 01
                serial: 78:e4:00:50:38:5c
                width: 64 bits
                clock: 33MHz
                capabilities: bus_master cap_list ethernet physical wireless
                configuration: broadcast=yes driver=ath9k driverversion=3.0.0-14-generic firmware=N/A ip=192.168.1.65 latency=0 multicast=yes wireless=IEEE 802.11bgn
                resources: irq:16 memory:f0100000-f010ffff
        *-pci:1
             description: PCI bridge
             product: N10/ICH 7 Family PCI Express Port 2
             vendor: Intel Corporation
             physical id: 1c.1
             bus info: pci@0000:00:1c.1
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: pci normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:41 ioport:4000(size=4096) memory:40600000-407fffff ioport:40800000(size=2097152)
        *-pci:2
             description: PCI bridge
             product: N10/ICH 7 Family PCI Express Port 3
             vendor: Intel Corporation
             physical id: 1c.2
             bus info: pci@0000:00:1c.2
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: pci normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:42 ioport:2000(size=4096) memory:f0200000-f02fffff ioport:40400000(size=2097152)
           *-network
                description: Ethernet interface
                product: 88E8040 PCI-E Fast Ethernet Controller
                vendor: Marvell Technology Group Ltd.
                physical id: 0
                bus info: pci@0000:09:00.0
                logical name: eth0
                version: 00
                serial: 00:24:54:74:f0:ca
                capacity: 100Mbit/s
                width: 64 bits
                clock: 33MHz
                capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
                configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.28 firmware=N/A latency=0 multicast=yes port=twisted pair
                resources: irq:44 memory:f0200000-f0203fff ioport:2000(size=256)
        *-pci:3
             description: PCI bridge
             product: N10/ICH 7 Family PCI Express Port 4
             vendor: Intel Corporation
             physical id: 1c.3
             bus info: pci@0000:00:1c.3
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: pci normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:43 ioport:3000(size=4096) memory:40000000-401fffff ioport:40200000(size=2097152)
        *-usb:0
             description: USB Controller
             product: N10/ICH 7 Family USB UHCI Controller #1
             vendor: Intel Corporation
             physical id: 1d
             bus info: pci@0000:00:1d.0
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: uhci bus_master
             configuration: driver=uhci_hcd latency=0
             resources: irq:23 ioport:1820(size=32)
        *-usb:1
             description: USB Controller
             product: N10/ICH 7 Family USB UHCI Controller #2
             vendor: Intel Corporation
             physical id: 1d.1
             bus info: pci@0000:00:1d.1
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: uhci bus_master
             configuration: driver=uhci_hcd latency=0
             resources: irq:19 ioport:1840(size=32)
        *-usb:2
             description: USB Controller
             product: N10/ICH 7 Family USB UHCI Controller #3
             vendor: Intel Corporation
             physical id: 1d.2
             bus info: pci@0000:00:1d.2
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: uhci bus_master
             configuration: driver=uhci_hcd latency=0
             resources: irq:18 ioport:1860(size=32)
        *-usb:3
             description: USB Controller
             product: N10/ICH 7 Family USB UHCI Controller #4
             vendor: Intel Corporation
             physical id: 1d.3
             bus info: pci@0000:00:1d.3
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: uhci bus_master
             configuration: driver=uhci_hcd latency=0
             resources: irq:16 ioport:1880(size=32)
        *-usb:4
             description: USB Controller
             product: N10/ICH 7 Family USB2 EHCI Controller
             vendor: Intel Corporation
             physical id: 1d.7
             bus info: pci@0000:00:1d.7
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: ehci bus_master cap_list
             configuration: driver=ehci_hcd latency=0
             resources: irq:23 memory:f0604000-f06043ff
        *-pci:4
             description: PCI bridge
             product: 82801 Mobile PCI Bridge
             vendor: Intel Corporation
             physical id: 1e
             bus info: pci@0000:00:1e.0
             version: e2
             width: 32 bits
             clock: 33MHz
             capabilities: pci subtractive_decode bus_master cap_list
        *-isa
             description: ISA bridge
             product: NM10 Family LPC Controller
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@0000:00:1f.0
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master cap_list
             configuration: latency=0
        *-storage
             description: SATA controller
             product: N10/ICH7 Family SATA AHCI Controller
             vendor: Intel Corporation
             physical id: 1f.2
             bus info: pci@0000:00:1f.2
             version: 02
             width: 32 bits
             clock: 66MHz
             capabilities: storage ahci_1.0 bus_master cap_list
             configuration: driver=ahci latency=0
             resources: irq:46 ioport:18e8(size=8) ioport:18dc(size=4) ioport:18e0(size=8) ioport:18d8(size=4) ioport:18c0(size=16) memory:f0604400-f06047ff
        *-serial UNCLAIMED
             description: SMBus
             product: N10/ICH 7 Family SMBus Controller
             vendor: Intel Corporation
             physical id: 1f.3
             bus info: pci@0000:00:1f.3
             version: 02
             width: 32 bits
             clock: 33MHz
             configuration: latency=0
             resources: ioport:18a0(size=32)
  *-network DISABLED
       description: Ethernet interface
       physical id: 1
       logical name: usb0
       serial: 02:5b:41:9b:2e:14
       capabilities: ethernet physical
       configuration: broadcast=yes driver=cdc_ether driverversion=22-Aug-2005 firmware=CDC Ethernet Device multicast=yes
Comment 1 Frank Schaefer 2012-02-16 19:55:32 UTC
I can confirm this bug, exactly the same happens with my Samsung NF310 netbook.

dmesg shows lots of

   ACPI: Failed to switch the brightness

messages.
I can stop the flickering by setting a value manually via console.
Doesn't happen with GNOME.
KDE-version is 4.7.2, openSUSE 12.1.
Comment 2 Peer Frank 2012-04-30 20:25:44 UTC
same flickering with FN-brighter (or via battery monitor slider), no reaction with FN-darker
on a Samsung Chronos 7 notebook
Comment 3 Peer Frank 2012-04-30 20:31:21 UTC
I confirm flickering with FN-"brighter" (or via battery monitor slider), no reaction with FN-"darker"
on a Samsung Chronos 7 notebook
Linux 3.1.10-1.9-desktop x86_64
KDE:  4.8.2 (4.8.2) "release 494"
no hint on message.log
Comment 4 Peer Frank 2012-09-13 13:51:28 UTC
I updated to OpenSuse 12.2 (linux 3.4.6): problem solved, screen brightness can be adjusted as expected with FN keys or slider in the power widget !
(kde 4.9.1 Samsung Chronos 7 notebook)
Comment 5 auxsvr 2012-12-09 18:22:04 UTC
This is *not* solved! It just occurred here on openSUSE 12.1, KDE 4.9.4. I suspect there is some race between kded services that set the brightness, because pressing the keys to adjust brightness is not always accompanied with display of the brightness level, and with previous versions of KDE attempting to adjust brightness by one step would result in adjusting it twice, once as expected and another time higher or lower at random! This is very annoying and I'm surprised it has persisted for so long.

A possible workaround for the "strobe effect" is to kill kded.
Comment 6 Simon Solinas 2012-12-14 18:15:53 UTC
This bug appeared to me too, on arch and chakra with KDE 4.9.4 update.
Comment 7 Simon Solinas 2013-01-05 23:12:44 UTC
Bug is still present in both KDE 4.9.5 and KDE 4.10 RC2.
Comment 8 andriy zubenko 2013-01-06 08:50:02 UTC
Bug present in Arch, KDE 4.9.4 and 4.9.5.... and also 4.10 rc
Comment 9 Orion Poplawski 2013-02-08 22:40:20 UTC
Similar here with 4.9.5 on Fedora 17, Dell Inspiron 1470
Comment 10 Simon Solinas 2013-02-09 16:53:40 UTC
On KDE SC 4.10.0 bug is no longer present.
Comment 11 Alex Fiestas 2013-03-10 16:23:23 UTC
This bug should be fixed in 4.10.0, can anybody reproduce it?
Comment 12 Alex Fiestas 2013-03-12 12:57:18 UTC
Setting it as needs info
Comment 13 maxime.haselbauer 2013-03-24 21:36:56 UTC
I cant't confirm or infirm as I can not change the brightness due to a fancy new bug anyway......

For each bug solve two new bugs incoming...
Comment 14 Peer Frank 2013-03-24 22:17:30 UTC
no problems on my Samsung Chronos 7 notebook since Sep2012.
Meanwhile I'm running OpenSuse 12.3, Linux 3.7.10-1.1 and KDE 4.10.1
Comment 15 Frank Schaefer 2013-05-01 11:26:33 UTC
Works fine with Kubuntu 13.04 (KDE 4.10.2).