13

I've got a Dell Latitude E6410 notebook which changes lcd light intensity in response to ambient light levels, so it has to have some photocell. How can I access the data from this photocell? I tried different google searches like lux meter, light intensity monitor and so on and did not find a single right thing.

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
gadelat
  • 505
  • 1
  • 6
  • 15
  • 5
    I'd start my investigations with lspci, lsusb etc. Maybe you can see the device there. – January Oct 12 '12 at 07:47
  • To follow up on @January's comment, use `qdbusviewer` to check the device and simultaneously access its stats through D-Bus. This of course assumes you use Linux. – Deer Hunter Oct 12 '12 at 09:28

2 Answers2

6

Try:

find /proc /sys | grep -ie brightness -e light -e lux -e lumin

On this laptop (a MacBookPro), it reveals (among other things):

/sys/devices/platform/applesmc.768/light

which is neither over PCI or USB.

You could try the same after

sudo modprobe -a tsl2550 isl29003 isl29020 apds9802als apds990x bh1770glc bh1780gli

which are drivers for various ambient light sensors.

You could also try sensors-detect or i2cdetect and see what they find. Possibly some information is made available from the BIOS (see dmidecode, acpidump, acpiextract, iasl).

Stéphane Chazelas
  • 522,931
  • 91
  • 1,010
  • 1,501
2

A few links:

I do not know what the ALS is in your particular case, but as @January said, you may start from the lspci -Q utility output (which requires an Internet connection to query/requery all IDs - use -q for unknown IDs only).

Deer Hunter
  • 1,866
  • 3
  • 20
  • 26