Ambient light sensor configuration?

Sam Varshavchik mrsam at courier-mta.com
Sat Dec 15 00:48:09 UTC 2007


David Timms writes:

> Sam Varshavchik wrote:
>> Tomasz Torcz writes:
>>>
>>> Dnia 13-12-2007, czw o godzinie 07:12 -0500, Sam Varshavchik pisze:
>>>> >  /apps/gnome-panel-manager/ambient
>>>>
>>>> The only applet I see is the "Brightness" applet, I don't have any 
>>>> "Ambient" applet. Is that in a separate package? yum shows nothing 
>> Grepping through the various kernel modules, the only culprit I can find 
>> is a "tsl2550.ko' -- a "TSL2550 ambient light sensor driver", but I 
>> don't have this module loaded at all
>> 
>> Strange mystery.
> Perhaps it is a direct hardware controlled function that only operates 
> once the cpu is running in protected mode {ring 3}, or acpi/dmi function 
> that operates once the kernel loads drivers for such.
> 
> If the second is the case you could try kernel parameters to disable 
> acpi (for a giggle).

What a laugh, indeed. Turning off ACPI did disable this pesky ambient light 
sensor.

… and made the LCD backlight come up at about the 70% brightness level. 
Unfortunately, I need to keep my eyes in working order, for the foreseeable 
future, so I need 100% brightness.

And, of course, since ACPI is disabled, gnome-power-management no longer had 
knobs to adjust the brightness level.

Hardy, har har, indeed.

> There might be direct control available from the /proc file system ?

I find nothing obvious in /proc/acpi, aside from someone's idea of a 
practical joke that I already bugzillaed a month or so, ago:

$ ls -al /proc/acpi/video
total 0
dr-xr-xr-x  4 root root 0 2007-12-14 19:42 .
dr-xr-xr-x 11 root root 0 2007-12-14 19:38 ..
dr-xr-xr-x  5 root root 0 2007-12-14 19:44 VGA
dr-xr-xr-x  5 root root 0 2007-12-14 19:44 VGA

Yes, I have two /proc/acpi/video/VGA directories.

> By the way, what manu/model is it ?

Whitebox laptop. dmidecode sez:

Handle 0x0001, DMI type 1, 25 bytes.
System Information
        Manufacturer: ASUSTeK Computer Inc.        
        Product Name: M7V       
        Version: 1.0       
        Serial Number: SSN12345678901234567
        UUID: 28CE5D8A-0000-0080-385D-0017312C16F2
        Wake-up Type: Power Switch

Love that serial number.

There's nothing in dmidecode's output that references anything that might 
shed some light on this.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20071214/98c26086/attachment-0001.sig>


More information about the fedora-list mailing list