LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-22-2014, 04:49 PM   #1
Abscissa256
Member
 
Registered: Aug 2011
Posts: 79

Rep: Reputation: Disabled
How to make system use intel_backlight instad of acpi_video0?


On my laptop, the screen's backlight brightness can be adjusted via "/sys/class/backlight/intel_backlight/". But, I also have a "/sys/class/backlight/acpi_video0/" which has no effect whatsoever.

Unfortunately, everything in the system tries to adjust acpi_video0 instead of intel_backlight. So the only way I can adjust the brightness is by doing it manually.
3.14-2-amd64
I realize I can make a simple script to modify intel_backlight and setup a global key combination to trigger the script. But I'd rather do a more "proper" fix.

So, how can I *correctly* tell my system to use intel_backlight? (Or fix acpi_video0 so that it does work, if that's a non-hackish thing to do. I really don't know anything about acpi_video0.)

If it matters, I'm on Debian Testing, Kernel 3.14-2-amd64

Last edited by Abscissa256; 09-22-2014 at 04:52 PM.
 
Old 09-26-2014, 04:16 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,291

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
A symlink or three? There is 'lndir' which is used
lndir dir1 dir2
which makes a tree of symlinks of dir1 in the directory dir2
 
Old 09-26-2014, 03:10 PM   #3
Abscissa256
Member
 
Registered: Aug 2011
Posts: 79

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
A symlink or three? There is 'lndir' which is used
lndir dir1 dir2
which makes a tree of symlinks of dir1 in the directory dir2
Maybe, I don't know, but when it comes to my drivers I'd rather not start throwing guesses at the wall without hearing from someone who (unlike me) actually has some understanding of them. Is there seriously nobody familiar with "/sys/class/backlight/" and how it's supposed to work? Somebody has to, it didn't just pop into existance!
 
Old 09-27-2014, 02:41 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,291

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
The kernel guys replaced /proc/acpi with /sys in one of their major rewrites. Search the LKML archives.

/sys is poorly documented in searchable stuff. The fact is, the rest of /sys doesn't matter - it's the bit you want that matters. Look around in /sys - they are not afraid of symlinks.
 
1 members found this post helpful.
Old 10-28-2014, 03:26 PM   #5
Abscissa256
Member
 
Registered: Aug 2011
Posts: 79

Original Poster
Rep: Reputation: Disabled
Seems to have been fixed now in the current Debian Testing which now uses kernel 3.16-3-amd64. (I'm assuming it was the kernel update that fixed it.) The "acpi_video0" doesn't even exist for me anymore, and even the keyboard's brightness buttons are now working automagically. Nice.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to make a system call to list out all the connected devices to a system nitingarg2012 Linux - Kernel 1 04-10-2011 02:45 PM
Reiserfs Journal warning when booting system after grub, is it make system slow ??? b-RAM Linux - Server 4 07-20-2009 08:07 PM
BASH: instad of echo-ing, I just want to assing to a bash variable... how?? rylan76 Linux - Newbie 9 11-28-2008 08:46 AM
make a .img file for custom liveCD, dd?? (Also, how to make your system very small) 1veedo Linux - Newbie 6 05-07-2006 05:52 PM
'make' and 'make install' commands dont work on my system? ginda Linux - Newbie 9 04-18-2004 11:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration