Enable systemd-baclight@intel_backlight instead of systemd-backlight@acpi_video0

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
5
down vote

favorite












I have 2 files in /sys/class/backlight/ - acpi_video0 and intel_backlight. intel_backlight is the one which controls my screen brightness (echo/cat), however acpi_video0 is the default.



By default the service systemd-backlight@acpi_video0.service is enabled which should save/restore brightness at shutdown/startup, but it doesn't work since it points to the wrong file.



When trying to enable systemd-backlight@intel_backlight.service instead, but I get this message:



The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).


How do I fix this?










share|improve this question














bumped to the homepage by Community♦ yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • Side question: Is it normal to have two files in /sys/class/backlight/?
    – orschiro
    Apr 3 '14 at 6:47










  • Don't know if it's normal but I have 2 dirs there on my laptop on default install.
    – Babken Vardanyan
    Apr 3 '14 at 10:07














up vote
5
down vote

favorite












I have 2 files in /sys/class/backlight/ - acpi_video0 and intel_backlight. intel_backlight is the one which controls my screen brightness (echo/cat), however acpi_video0 is the default.



By default the service systemd-backlight@acpi_video0.service is enabled which should save/restore brightness at shutdown/startup, but it doesn't work since it points to the wrong file.



When trying to enable systemd-backlight@intel_backlight.service instead, but I get this message:



The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).


How do I fix this?










share|improve this question














bumped to the homepage by Community♦ yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • Side question: Is it normal to have two files in /sys/class/backlight/?
    – orschiro
    Apr 3 '14 at 6:47










  • Don't know if it's normal but I have 2 dirs there on my laptop on default install.
    – Babken Vardanyan
    Apr 3 '14 at 10:07












up vote
5
down vote

favorite









up vote
5
down vote

favorite











I have 2 files in /sys/class/backlight/ - acpi_video0 and intel_backlight. intel_backlight is the one which controls my screen brightness (echo/cat), however acpi_video0 is the default.



By default the service systemd-backlight@acpi_video0.service is enabled which should save/restore brightness at shutdown/startup, but it doesn't work since it points to the wrong file.



When trying to enable systemd-backlight@intel_backlight.service instead, but I get this message:



The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).


How do I fix this?










share|improve this question













I have 2 files in /sys/class/backlight/ - acpi_video0 and intel_backlight. intel_backlight is the one which controls my screen brightness (echo/cat), however acpi_video0 is the default.



By default the service systemd-backlight@acpi_video0.service is enabled which should save/restore brightness at shutdown/startup, but it doesn't work since it points to the wrong file.



When trying to enable systemd-backlight@intel_backlight.service instead, but I get this message:



The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).


How do I fix this?







arch-linux systemd






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 25 '14 at 15:57









Babken Vardanyan

495615




495615





bumped to the homepage by Community♦ yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community♦ yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.













  • Side question: Is it normal to have two files in /sys/class/backlight/?
    – orschiro
    Apr 3 '14 at 6:47










  • Don't know if it's normal but I have 2 dirs there on my laptop on default install.
    – Babken Vardanyan
    Apr 3 '14 at 10:07
















  • Side question: Is it normal to have two files in /sys/class/backlight/?
    – orschiro
    Apr 3 '14 at 6:47










  • Don't know if it's normal but I have 2 dirs there on my laptop on default install.
    – Babken Vardanyan
    Apr 3 '14 at 10:07















Side question: Is it normal to have two files in /sys/class/backlight/?
– orschiro
Apr 3 '14 at 6:47




Side question: Is it normal to have two files in /sys/class/backlight/?
– orschiro
Apr 3 '14 at 6:47












Don't know if it's normal but I have 2 dirs there on my laptop on default install.
– Babken Vardanyan
Apr 3 '14 at 10:07




Don't know if it's normal but I have 2 dirs there on my laptop on default install.
– Babken Vardanyan
Apr 3 '14 at 10:07










1 Answer
1






active

oldest

votes

















up vote
0
down vote













It may be that you're just missing the backlight: part of the command:



# systemctl enable systemd-backlight@backlight:intel_backlight.service


You may also need to escape the :, i.e.:



# systemctl enable systemd-backlight@backlight:intel_backlight.service


Since you have two folders in /sys/class/backlight/, you probably have two graphics cards. The Arch wiki suggests adding one of the following kernel parameters in your bootloader:



acpi_backlight=video
acpi_backlight=vendor
acpi_backlight=native
acpi_backlight=none





share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f110890%2fenable-systemd-baclightintel-backlight-instead-of-systemd-backlightacpi-video0%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    It may be that you're just missing the backlight: part of the command:



    # systemctl enable systemd-backlight@backlight:intel_backlight.service


    You may also need to escape the :, i.e.:



    # systemctl enable systemd-backlight@backlight:intel_backlight.service


    Since you have two folders in /sys/class/backlight/, you probably have two graphics cards. The Arch wiki suggests adding one of the following kernel parameters in your bootloader:



    acpi_backlight=video
    acpi_backlight=vendor
    acpi_backlight=native
    acpi_backlight=none





    share|improve this answer
























      up vote
      0
      down vote













      It may be that you're just missing the backlight: part of the command:



      # systemctl enable systemd-backlight@backlight:intel_backlight.service


      You may also need to escape the :, i.e.:



      # systemctl enable systemd-backlight@backlight:intel_backlight.service


      Since you have two folders in /sys/class/backlight/, you probably have two graphics cards. The Arch wiki suggests adding one of the following kernel parameters in your bootloader:



      acpi_backlight=video
      acpi_backlight=vendor
      acpi_backlight=native
      acpi_backlight=none





      share|improve this answer






















        up vote
        0
        down vote










        up vote
        0
        down vote









        It may be that you're just missing the backlight: part of the command:



        # systemctl enable systemd-backlight@backlight:intel_backlight.service


        You may also need to escape the :, i.e.:



        # systemctl enable systemd-backlight@backlight:intel_backlight.service


        Since you have two folders in /sys/class/backlight/, you probably have two graphics cards. The Arch wiki suggests adding one of the following kernel parameters in your bootloader:



        acpi_backlight=video
        acpi_backlight=vendor
        acpi_backlight=native
        acpi_backlight=none





        share|improve this answer












        It may be that you're just missing the backlight: part of the command:



        # systemctl enable systemd-backlight@backlight:intel_backlight.service


        You may also need to escape the :, i.e.:



        # systemctl enable systemd-backlight@backlight:intel_backlight.service


        Since you have two folders in /sys/class/backlight/, you probably have two graphics cards. The Arch wiki suggests adding one of the following kernel parameters in your bootloader:



        acpi_backlight=video
        acpi_backlight=vendor
        acpi_backlight=native
        acpi_backlight=none






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 1 '15 at 20:21









        David Kennedy

        86571436




        86571436



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f110890%2fenable-systemd-baclightintel-backlight-instead-of-systemd-backlightacpi-video0%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?