LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-23-2009, 04:56 AM   #1
LEICIF
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Rep: Reputation: 0
Doubt with LCD backlight and Linux


Hello,

Let me introduce myself, my name is John and I am here to look for answers, if is possible.

I have developed a embedded system with Geode LX800 and all works fine.
But now I have a doubt.

If is possible to controlled backlight signal enable from user program???

I have looked for information about it but I dont understand well if it is possible.

Best regards.
 
Old 11-23-2009, 06:34 AM   #2
uppman
Member
 
Registered: Jul 2008
Location: Stockholm, Sweden
Distribution: Slackware 13.1 32-bit
Posts: 145

Rep: Reputation: 24
Hi and welcome to LQ!

You could try one of the following:

Console:

echo "7" > /sys/devices/virtual/backlight/acpi_video0/brightness

In X:

xrandr --output DFP5 --gamma 1:1:1

/Magnus
 
Old 11-23-2009, 06:57 AM   #3
LEICIF
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by uppman View Post
Hi and welcome to LQ!

You could try one of the following:

Console:

echo "7" > /sys/devices/virtual/backlight/acpi_video0/brightness

In X:

xrandr --output DFP5 --gamma 1:1:1

/Magnus
Hello Magnus,

In my laptop works fine, but in my embedded system does not work.
I have supposed that it is possible to access backlight using /dev/fb0, but I can not find any example to handle it.

Anyway, thanks a lot.
 
Old 11-25-2009, 04:07 AM   #4
uppman
Member
 
Registered: Jul 2008
Location: Stockholm, Sweden
Distribution: Slackware 13.1 32-bit
Posts: 145

Rep: Reputation: 24
What kind of graphic adapter is in the embedded system?

You probably need to look in the kernel source/docs to find out how that specific adapter works.

Perhaps you can try this kernel module for Nvidia:

http://aur.archlinux.org/packages.php?ID=25467

There is something called matrox-tools which should work with Matrox cards:

http://viz.aset.psu.edu/ga5in/MediaCenter.html

# apt-get install matrox-tools fbset

tweak contrast, saturation, hue and brightness:

# matrox 0x1e 0xd0
# #matrox 0x20 0xff
# #matrox 0x22 0xff

/Magnus
 
Old 11-25-2009, 10:48 AM   #5
LEICIF
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by uppman View Post
What kind of graphic adapter is in the embedded system?
Hello,

I use GEODE LX800, and It has own graphic adapter.

I have tried to access GPIO signal to handle backlight enable, but I don't if it is a good idea.

Best regards.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 get LCD monitor backlight OFF with xlock jonr Mandriva 6 06-24-2009 10:59 AM
help on laptop's LCD backlight fastestOS Slackware 2 08-25-2008 04:37 AM
LCD backlight control on linux conejoroy Linux - Laptop and Netbook 0 03-17-2008 05:39 AM
No LCD backlight after resume from suspend BogusTrumper Linux - Software 4 04-18-2007 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:28 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