You are not logged in.
Hi,
Have just installed archlinux on my samsung nc10 netbook.
Running xfce4 and need some help on how to get the Fn + the increase/decrease key to work.
Last edited by ftornell (2010-10-22 08:27:04)
[ logicspot.NET | mempad.org ]
Archlinux x64
Offline
Are you running HAL?
Is there a file on your system like /class/backlight/acpi_video0/brightness ??
Last edited by ewaller (2010-10-22 06:35:41)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Hi, there are no file (no folder at all called /class)
Yes, im running hal
[ logicspot.NET | mempad.org ]
Archlinux x64
Offline
It's in /sys/class/....
But I have that file too, and still I have to use custom acpi scripts.
Offline
now I found the backlight folder but its empty...
[ logicspot.NET | mempad.org ]
Archlinux x64
Offline
Can you dig through the output of lshal and see if you have a section pertaining to the backlight? It will look something like this
udi = '/org/freedesktop/Hal/devices/computer_backlight'
info.addons = {'hald-addon-generic-backlight'} (string list)
info.capabilities = {'laptop_panel'} (string list)
info.category = 'laptop_panel' (string)
info.interfaces = {'org.freedesktop.Hal.Device.LaptopPanel'} (string list)
info.parent = '/org/freedesktop/Hal/devices/computer' (string)
info.product = 'Generic Backlight Device' (string)
info.subsystem = 'backlight' (string)
info.udi = '/org/freedesktop/Hal/devices/computer_backlight' (string)
laptop_panel.access_method = 'general' (string)
laptop_panel.brightness_in_hardware = true (bool)
laptop_panel.num_levels = 11 (0xb) (int)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'backlight' (string)
linux.sysfs_path = '/sys/devices/virtual/backlight/acpi_video0' (string)
Also, lets look in the older /proc file system for a handle. What is the output of
sudo find /proc -name brightness -print
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Hi,
lshal did'nt display any backlight information at all...
find /proc -name brightness -print
/proc/acpi/video/GFX0/DD05/brightness
/proc/acpi/video/GFX0/DD04/brightness
/proc/acpi/video/GFX0/DD03/brightness
/proc/acpi/video/GFX0/DD02/brightness
/proc/acpi/video/GFX0/DD01/brightness
[ logicspot.NET | mempad.org ]
Archlinux x64
Offline
Okay, try 'cat'ing each of those files.
On my system, it looks like this:
ewaller@odin:~[1] 1002 %cat /proc/acpi/video/OVGA/DD0*/brightness
<not supported>
<not supported>
levels: 0 10 20 30 40 50 60 70 80 90 100
current: 0
<not supported>
<not supported>
ewaller@odin:~ 1003 %
Note that my card video is OVGA, whereas yours is GFX0.
On my system the interesting one is DD03.
I can set my brightness to (for example) 50% by:
echo 50 > /proc/acpi/video/OVGA/brightness
If you any of your brightness files are 'interesting' and allow you to change the brightness, then we will be able to bind the function keys to an app that will change the settings.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline