<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<pre wrap=""><!---->Hello again Richard, thanks for the quick reply!
</pre>
<br>
<pre wrap="">&gt; You want to look
&gt; at /usr/share/hal/scripts/hal-system-lcd-set-brightness, although you do
&gt; need some stuff in acpi.c to pick up the type and add the correct
&gt; capability. I can help you with this.

Thought so... looking at the script alone seemed like a waste of time, since
I didn't know the source of the environment variables controlling it.


&gt; No problem, all I need from you is:

&gt; * The command as root you use to change the lcd brightness,...

# echo $value &gt; /proc/acpi/video/VGA/LCD/brightness

&gt; * The number of brightness states, e.g. my toshiba goes from brightness
&gt; 0-7 so it has 8 states.

$value in the above statement goes from 1 upto 8 (8 states)

&gt; * The command as root you use to get the current brightness, which for
&gt; you is probably "cat /proc/acpi/video/VGA/LCD/brightness"

# cat /proc/acpi/video/VGA/LCD/brightness
levels:  8 4 1 2 3 4 5 6 7 8
current: 4

one note: after booting the laptop, I have to initialize this by setting the
brightness, otherwise it replies current: 0 (which is an impossible value).

&gt; * The make and model of your laptop.

Fujitsu Siemens Stylistic ST4121

# lshw
says something like:
  description: Notebook
  product: STYLISTIC ST Series
  vendor: FUJITSU SIEMENS
  version: T41__


Thanks again for your help! If there's any code I should test, I'll be happy to
check out CVS and/or patch my current source (debian package 0.5.7).

- J&aacute;n



</pre>
</body>
</html>