litrik / eclipse-xps

Automatically exported from code.google.com/p/eclipse-xps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for Linux

GoogleCodeExporter opened this issue · comments

The native code to turn on the LEDs is only supported on Windows. It would
be nice if we could get this to work on Linux as well.

Original issue reported on code.google.com by lit...@gmail.com on 19 Feb 2007 at 6:53

The only platform-specific code is in
http://eclipse-xps.googlecode.com/svn/trunk/com.litrik.eclipse.xps/src/com/litri
k/eclipse/xps/core/LEDs.c


I have no experience developing Windows applications nor Linux applications. 
But I
guess the key will be to find the equivalent of CreateFileA("\\.\APPDRV",...) 
and 
DeviceIoControl(...) under Linux.

Original comment by lit...@gmail.com on 19 Feb 2007 at 7:03

I might warn you there there is no ready information on how to get the lights 
to work
under Linux. I tried looking for this when I wrote the original 
xps_led_control.c,
but I couldn't find it.

The code depends on C:\Windows\System32\drivers\APPDRV.SYS, which comes from 
Dell. I
don't think it's available under Linux.

Original comment by jhan...@gmail.com on 3 Mar 2007 at 3:19

It looks like we're one step closer to getting Linux support.

Dell is working on an SMBIOS library for Linux. This library supposedly allows 
you to
control the LEDs under Linux. Full details are at
http://linux.dell.com/libsmbios/main/index.html

This information was originally found at 
http://litrik.blogspot.com/2007/02/xps-leds-under-linux.html#comment-33375143352
10332286
and
http://www.brodwall.com/johannes/blog/2006/02/20/dell-xps-vanity-lights-blink/#c
omment-3102

Original comment by lit...@gmail.com on 20 Mar 2007 at 6:09

It looks like we're one step closer to getting Linux support.

Dell is working on an SMBIOS library for Linux. This library supposedly allows 
you to
control the LEDs under Linux. Full details are at
http://linux.dell.com/libsmbios/main/index.html

This information was originally found at 
http://litrik.blogspot.com/2007/02/xps-leds-under-linux.html#comment-33375143352
10332286
and
http://www.brodwall.com/johannes/blog/2006/02/20/dell-xps-vanity-lights-blink/#c
omment-3102

Original comment by lit...@gmail.com on 20 Mar 2007 at 6:11

Original comment by lit...@gmail.com on 13 Sep 2007 at 6:40

  • Added labels: Priority-Low
  • Removed labels: Priority-Medium