Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: PowerDevil (KDE 4.2): Unable to set screen brightness

  1. #11

    Default Re: PowerDevil (KDE 4.2): Unable to set screen brightness

    Yes, the slider is stuck in all profiles.

    Here's my KDE 4 output:
    Code:
    homoludens@linux-chameleon:~> kde4-config -v
    Qt: 4.4.3
    KDE: 4.2.4 (KDE 4.2.4) "release 2"
    kde4-config: 1.0
    The KDE 4.2 repos are activated in my laptop.

    I've been wondering whether the problem somehow has to do with whether or not one activates the setting "Let PowerDevil manage screen powersaving", but apparently it doesn't matter whether I switch it on or off.

  2. #12
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,377
    Blog Entries
    1

    Default Re: PowerDevil (KDE 4.2): Unable to set screen brightness

    FWIW, I can report the same problem re screen brightness slider (ThnikPad Z60m with KDE 4.2.4). I haven't worried about it because I can still adjust brightness via keyboard.

  3. #13
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: PowerDevil (KDE 4.2): Unable to set screen brightness

    This is me making the adjustments
    carl4926 - Powerdevil Slider
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  4. #14

    Default Re: PowerDevil (KDE 4.2): Unable to set screen brightness

    This is me being unable to make the adjustments ...





    deano_ferrari, thanks for the post. I wonder what the difference is between your installation and mine on the one hand, and caf4926's installation on the other ... I assume we're all running openSUSE 11.1 / KDE 4.2? Are you using a multilanguage environment and/or CJK languages?

  5. #15
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: PowerDevil (KDE 4.2): Unable to set screen brightness

    Well my sig does show me as kde4.3 beta, which is correct!

    But 4.2 was fine for me also only a short time ago.

    What about if you create a new user, did you try that?
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  6. #16
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,377
    Blog Entries
    1

    Default Re: PowerDevil (KDE 4.2): Unable to set screen brightness

    I just wonder if its a hardware related (kernel support) issue. Now, I don't pretend to know a lot about this, but I've had had a quick look at /proc/acpi/video/ and I have and LCD0 directory with 'brightness' file contained. I get:

    cat /proc/acpi/video/VID1/LCD0/brightness
    <not supported>
    Could this be the problem?

  7. #17
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,377
    Blog Entries
    1

    Default Re: PowerDevil (KDE 4.2): Unable to set screen brightness

    There is a KDE command line tool called solid-powermanagement which can be used to query various power management settings:

    dean@linux:~> solid-powermanagement --commands

    Syntax:

    solid-powermanagement query (suspend|scheme|cpufreq)
    # List a particular set of information regarding power management.
    # - If the 'suspend' option is specified, give the list of suspend
    # methods supported by the system
    # - If the 'scheme' option is specified, give the list of
    # supported power management schemes supported by this system
    # - If the 'cpufreq' option is specified, give the list of
    # supported CPU frequency policies

    solid-powermanagement set (scheme|cpufreq) 'value'
    # Set power management options of the system.
    # - If the 'scheme' option is specified, the power management
    # scheme set corresponds to 'value'
    # - If the 'cpufreq' option is specified, the CPU frequency policy
    # set corresponds to 'value'

    solid-powermanagement suspend 'method'
    # Suspend the computer using the given 'method'.

    solid-powermanagement brightness (set|get) 'value'
    # Set and get brightness options of the system.
    # - If the 'set' option is specified, the brightness is
    # set to 'value' (as a percentage)
    # - If the 'get' option is specified, the current brightness
    # is returned (as a percentage)'

    However, I get strange errors if I try to set or get brightness values. For example:


    dean@linux:~> solid-powermanagement brightness set 50
    Setting brightness to 50%
    Fatal Error: Accessed global static 'KCatalogStaticData *catalogStaticData()' after destruction. Defined at /usr/src/packages/BUILD/kdelibs-4.2.4/kdecore/localization/kcatalog.cpp:72
    Aborted

  8. #18

    Default Re: PowerDevil (KDE 4.2): Unable to set screen brightness

    Thanks for the interesting posts, deano_ferrari.

    (1) I assume the file on my laptop that corresponds to yours in /proc/acpi/video is /proc/acpi/video/GRFX/LCD1. 'cat brightness' yields the same value: <not supported>.

    (2) I also get error messages when reading / setting screen brightness using the solid-powermanagement command. However, despite the 'aborted' message, the brightness level is actually adjusted:

    Code:
    homoludens@linux-chameleon:/proc/acpi/video/GRFX/LCD1> solid-powermanagement brightness get
    
    Brightness is 80%
    Fatal Error: Accessed global static 'KCatalogStaticData *catalogStaticData()' after destruction. Defined at /usr/src/packages/BUILD/kdelibs-4.2.4/kdecore/localization/kcatalog.cpp:72
    Aborted
    
    /* I was correct in my assumption that my screen brightness level is stuck at 80%! ;) */
    
    homoludens@linux-chameleon:/proc/acpi/video/GRFX/LCD1> solid-powermanagement brightness set 30
    Setting brightness to 30%
    Fatal Error: Accessed global static 'KCatalogStaticData *catalogStaticData()' after destruction. Defined at /usr/src/packages/BUILD/kdelibs-4.2.4/kdecore/localization/kcatalog.cpp:72
    Aborted
    
    homoludens@linux-chameleon:/proc/acpi/video/GRFX/LCD1> solid-powermanagement brightness set 100
    Setting brightness to 100%
    Fatal Error: Accessed global static 'KCatalogStaticData *catalogStaticData()' after destruction. Defined at /usr/src/packages/BUILD/kdelibs-4.2.4/kdecore/localization/kcatalog.cpp:72
    Aborted
    Does this information help in any way?

  9. #19
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: PowerDevil (KDE 4.2): Unable to set screen brightness

    Do you have kde3 or gnome installed also?
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  10. #20
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,377
    Blog Entries
    1

    Default Re: PowerDevil (KDE 4.2): Unable to set screen brightness

    Do you have kde3 or gnome installed also?
    Yes, I have KDE 3 as well (although rarely used now).

    (2) I also get error messages when reading / setting screen brightness using the solid-powermanagement command. However, despite the 'aborted' message, the brightness level is actually adjusted:
    How curious. (Mine does not get adjusted, although it says it does).

    What I do now know, from a search on 'powerdevil', 'solid-powermanagement', 'screen brightness', (and similar terms), is that there are quite a number KDE4 bug reports around concerning the issue -specific to particular hardware.

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •