You are not logged in.

#1 2014-10-01 17:35:05

BultiZ
Member
From: Sweden
Registered: 2014-06-08
Posts: 50
Website

Acer C720P Automatic Screen Brightness?

Hello dear archers, i got an pretty slick setup on my Acer C720P.

Arch Linux x64
Chromebook kernel (aur)
BTRFS
Gnome 3.14

Got about everything to work except Touchscreen in google-chrome smile



But now to the problem, on ChromeOS you can get automatic brightness by using that sensor the laptop has.. would it be possible to do something like that in arch too? cause it would probly increase the battery life by huge means for me smile

(Yes ive searched loads on google and the C720/C720P thread here..


Regards. BultiZ

Offline

#2 2014-10-01 17:59:53

SolarBoyMatt
Member
Registered: 2012-01-07
Posts: 263

Re: Acer C720P Automatic Screen Brightness?

The most discussion there's been on this is on this page of the C720 thread and the next page or so.

From what I can tell the sensor module needs to be enabled in the kernel config and built as a module, since it's still in the staging tree. But as far as I know, nobody has currently gone much further with getting it to work, than that. Feel free to try what's suggested on that page, and report your results. I haven't used Gnome in a long time, so I'm not sure if it has any way of using light sensors for backlight adjustment or not.

Last edited by SolarBoyMatt (2014-10-01 19:08:46)

Offline

#3 2014-10-01 19:36:09

BultiZ
Member
From: Sweden
Registered: 2014-06-08
Posts: 50
Website

Re: Acer C720P Automatic Screen Brightness?

Hummff i guess i will check some more in the thread again then... but ppl using kernel 3.17? wheres that from? source + manual patches?

Offline

#4 2014-10-01 19:41:09

SolarBoyMatt
Member
Registered: 2012-01-07
Posts: 263

Re: Acer C720P Automatic Screen Brightness?

linux-mainline in the AUR is currently on the 3.17 branch, so that is the easiest way to use it. You will have to end up recompiling the kernel with ABS + makepkg to test any of this, so I would recommed reading up on the wiki pages that cover this, if you're unfamiliar with the process.

Offline

#5 2014-10-01 20:29:35

BultiZ
Member
From: Sweden
Registered: 2014-06-08
Posts: 50
Website

Re: Acer C720P Automatic Screen Brightness?

hummff oh that ordinary linux-mainline, there is one for chromebook with i guess built in modules.. but i guess i will have to read some more tongue cause failing compiling kernel isnt so fun since it takes some hrs on this hardware tongue

Offline

#6 2014-10-01 20:43:22

BultiZ
Member
From: Sweden
Registered: 2014-06-08
Posts: 50
Website

Re: Acer C720P Automatic Screen Brightness?

Got any list of modules and other things that will be needed to add too linux-mainline for it to work?

Offline

#7 2014-10-01 20:56:08

SolarBoyMatt
Member
Registered: 2012-01-07
Posts: 263

Re: Acer C720P Automatic Screen Brightness?

For linux-mainline the EHCI modules need to be disabled for suspend to function properly. Just disable the ones mentioned in this post.

https://bbs.archlinux.org/viewtopic.php … 8#p1452248

Other than that, everything else should work out of the box on 3.17 on the C720.

Offline

#8 2014-10-01 22:02:30

BultiZ
Member
From: Sweden
Registered: 2014-06-08
Posts: 50
Website

Re: Acer C720P Automatic Screen Brightness?

SolarBoyMatt wrote:

For linux-mainline the EHCI modules need to be disabled for suspend to function properly. Just disable the ones mentioned in this post.

https://bbs.archlinux.org/viewtopic.php … 8#p1452248

Other than that, everything else should work out of the box on 3.17 on the C720.

damn ur great big_smile is there any smart way of doing that so that the settings stick when updating with like yaourt?

Last edited by BultiZ (2014-10-01 22:03:16)

Offline

#9 2014-10-02 13:55:42

SolarBoyMatt
Member
Registered: 2012-01-07
Posts: 263

Re: Acer C720P Automatic Screen Brightness?

I would avoid using yaourt to build the kernel, since it uses /tmp as it's build directory, and the C720 doesn't have enough RAM for that. I keep linux-mainline's source and such in it's own directory in my /home, and when there's an update I just manually update the version number in the PKGBUILD, and re-run makepkg to fetch and build the new source.

Offline

#10 2014-10-06 05:28:48

BultiZ
Member
From: Sweden
Registered: 2014-06-08
Posts: 50
Website

Re: Acer C720P Automatic Screen Brightness?

SolarBoyMatt wrote:

I would avoid using yaourt to build the kernel, since it uses /tmp as it's build directory, and the C720 doesn't have enough RAM for that. I keep linux-mainline's source and such in it's own directory in my /home, and when there's an update I just manually update the version number in the PKGBUILD, and re-run makepkg to fetch and build the new source.

yeah i know that, so i have changed my yaourt tmp to a folder in /home.. maybe not optimal, but the packeges i get from AUR wouldnt compile in /tmp anyway since they are big too smile

So any tips on how to make the above question work?

Offline

#11 2014-10-06 13:58:48

SolarBoyMatt
Member
Registered: 2012-01-07
Posts: 263

Re: Acer C720P Automatic Screen Brightness?

Honestly I don't know of a way, but a few days ago I rebuilt linux-mainline-chromebook from the AUR against the then current 3.17rc7 and enabled this module as part of the build. See my post here: https://bbs.archlinux.org/viewtopic.php … 4#p1462894

Offline

#12 2014-10-08 00:43:37

BultiZ
Member
From: Sweden
Registered: 2014-06-08
Posts: 50
Website

Re: Acer C720P Automatic Screen Brightness?

i guess ill just add "linux-mainline-chromebook" to my system and hope that you will update it atleast sometime again big_smile thx!

Offline

#13 2014-10-08 01:16:04

BultiZ
Member
From: Sweden
Registered: 2014-06-08
Posts: 50
Website

Re: Acer C720P Automatic Screen Brightness?

BultiZ wrote:

i guess ill just add "linux-mainline-chromebook" to my system and hope that you will update it atleast sometime again big_smile thx!


And now back to the "problem" how do i add Automatic screen brightness in gnome 3.14, im building the kernel now with sensor module smile

Offline

Board footer

Powered by FluxBB