Dell XPS Vanity Lights

Dell XPS Vanity Lights

I have a Dell Inspiron XPS Gen 2 laptop. Long name for a big laptop.

It has some “vanity lights” on the lid, in the vents and speaker grilles. They are controllable via options in the BIOS and with a Windows based application. When I bought it the first thing I did was install Linux so I have never had the chance to play with controlling the lights from within the OS, only at boot-time from the BIOS.

Until now!

Yesterday I emailed Richard Hughes (he of Gnome Power Manager and general laptop-cleverness fame) and asked if he knew how it might be possible to control the LEDs from within Linux. He pointed me to Matt Domsch at Dell who is a Software Architect within Dell Linux Solutions. Michael Brown – also at Dell, looks after the libsmbios libraries, tools and mailing lists. Within a few hours Matt told me it’s already been done, there is a tool that can potentially manipulate the lights from within Linux! This made me quite happy.

A guy called Ed H wrote a tool and gave the code to the community (yay, free software rules!) which can change the colour of the LEDs, make them brighter, dimmer and so on. Here’s what it looks like when you monkey around with it :)

Here’s a video showing what it looks like when it’s going:-

Note: Had some problems with the avi and mov, let me know if you can’t play them. I don’t have an Apple or Windows machine in the house, so can’t test.

In the video I ran the utility in strobe mode, then made the lights go blue with the brightness climbing then dropping to give a fade up and down effect, then switched to red for the same. Finally I had the lights blink on and off repeatedly.

Now of course what to do with this new functionality? Here’s some ideas:-

  • Notify when new email arrives
  • Alert when a highlight word is said on IRC
  • Reminder of calendar events
  • Alerts when system resources are low
  • Indicate when remote systems are unavailable
  • Alert when battery is low – possibly a dumb one, that :)
  • …? What else?

Unfortunately it’s not quick to change the light or brightness, so changing rapidly in time with music is probably not going to work.

At least now people at my local LUG can’t tell me the lights are pointless!

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
This entry was posted in Advocacy, Fun, Linux, Ubuntu. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

9 Comments

  1. Anonymous
    Posted April 20, 2007 at 8:55 pm | Permalink

    You could have the brightness correspond with how much battery is remaining. That way you’ll know how much power is left, and it won’t use as much near the end.

  2. Alan Pope
    Posted April 20, 2007 at 9:12 pm | Permalink

    I suspect the LEDs don’t actually draw that much especially when compared with the 17″ panel :S

  3. Anonymous
    Posted April 20, 2007 at 7:01 pm | Permalink

    You might want to fix the video links, as they all point to lights.avi.

  4. Alan Pope
    Posted April 20, 2007 at 7:08 pm | Permalink

    I have been told the avi and mov don’t play well, so will re-encode them. For now it’s just the ogg.

  5. Posted April 20, 2007 at 7:15 pm | Permalink

    > …? What else?

    There’s been quite a lot of work done in the Home Automation (HA) community, about what meaning can be conveyed with a single light.

    One of the neatest applications I ever saw was to run a hall way (multi-coloured) LED on a cycle.

    - By default, the LED would stay off

    - If the external temperature were sub-zero the light would go blue (networked external temp sensor)
    - If the garage door were left open the light would go red (networked external relay contact)
    - If something else, and I forget what, happened, the light would go green

    - If several of the conditions were met, then the appropriate colours would cycle about 5 seconds per colour… so if the garage door were open, and it was -2, then it would be -5 sec RED -5 sec BLUE – 5 sec RED – 5 sec BLUE in a loop.

    It appeared that three colours were about all that a “normal human” could parse reliably…

    Mark

      More from author
  6. Posted April 20, 2007 at 10:15 pm | Permalink

    I binary clock comes to mind…
    I’m not sure if you have enough LEDs, or if it will be more then a “geek toy”, but it exists: http://www.thinkgeek.com/homeoffice/lights/59e0/

    Oh, and btw, the link to your blog is broken from “planet.ubuntu.com” RSS (bloglines sends me to an invalid URL).

      More from author
  7. Posted April 21, 2007 at 2:01 pm | Permalink

    Great news, I was wishing for this for a long time, but never bothered to find out.
    Also, the model name for that notebook is M1710.

      More from author
  8. Posted October 10, 2007 at 9:44 am | Permalink

    The lights *are* kinda pointless even if you can find a use for them. Bwahhaaha!

      More from author
  9. Dougle
    Posted July 22, 2007 at 4:46 pm | Permalink

    Winamp on windows has a great plugin able to switch the colours and brightness quick enough for music visualisation, so definatly possible.

    I’d love to see a system using bluemon so that the lights flash red for X repetitions as you walk away to show that the laptop is locked up and the same (maybe green) when you walk back in range.

    If a movie is being played in full screen the lights on the back could approximate the average colour on the screen so that it lights up the area behind the laptop (e.g. wall or boss’ face) giving a kind of ambiant light effect, i think sony have done some sort of thing like this on one of their new TVs.

    Great work by Ed H.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Additional comments powered by BackType