Notebookforums
 
 Home 
       
 Forums 
 
 Guides 
   
Old 04-22-2005, 02:44 AM   #1
Ozy311
Registered User

Join Date: Apr 2005
Location: Goodyear, AZ
Posts: 199
Credits: -289
 
Ozy311 is a n00b, but everyone loves n00bs!
XPS2 LED control via commandline

The program to control the LED is called Gaming.exe located in the Quickset folder. I was wondering if anyone knew of a way to change the LED colors via a command line. I know it sounds silly, but i'd like to be able to have icons on my desktop to turn them off, change colors and other things.

Thanks
Ozy311 is offline   Reply With Quote

Old 04-22-2005, 02:49 AM   #2
Shinji_U
Dell Inspiron 9300 User
 
Shinji_U's Avatar

Join Date: Jan 2005
Location: Singapore
Posts: 412
Credits: 161
 
Shinji_U is a n00b, but everyone loves n00bs!
If only Dell were to open source the LED source then there will be lots of plugins around... like the very often asked "can the LEDs dance to my music?", or even use the LEDs to display GPU/CPU speed... ha ahaa

__________________
Intel Pentium M 740, 1.73GHz, 2MB Cache, 533MHz FSB
Samsung 17" WUXGA (1920x1200)
Hynix 1024MB 533MHz DDR2 SDRAM
Hitachi 60GB 5400RPM Ultra ATA Hard Drive
NEC 6500A 8X DVD+/-RW with Dual Layer writing capabilities
Atheros AR5212A 108Mbps Super-G MiniPCI Wireless Card
NVIDIA GeForce Go 6800 256MB
Razor Diamondback 1600DPI
3D Mark 05 - 4417
Shinji_U is offline   Reply With Quote
Old 04-22-2005, 11:24 AM   #3
thehappyman
SuperCharged
 
thehappyman's Avatar

Join Date: Mar 2005
Location: Orlando, Florida
Posts: 490
Credits: -210
 
thehappyman is a n00b, but everyone loves n00bs!
Softwate LED control

I will bet this is right around the corner !!!!
thehappyman is offline   Reply With Quote
Old 04-22-2005, 12:18 PM   #4
crashnburn
Registered User

Join Date: Apr 2005
Posts: 451
Credits: 314
 
crashnburn is a n00b, but everyone loves n00bs!
There are a few easy ways of finding out how.
- ApiMonitor
-RegitryMonitor
-FileMonitor

etc.. hook them to the process /exe doing it.. u might get some visibility..

also.. you can disassemble the exe / file to see what registers or location need to be manipulated.

once u have DISSECTED the 'items'...

then you can write a little app.. to do so..
crashnburn is offline   Reply With Quote
Old 04-22-2005, 08:19 PM   #5
jdkulp
Registered User

Join Date: Mar 2005
Posts: 20
Credits: -345
 
jdkulp is a n00b, but everyone loves n00bs!
In windows, this should be fairly easy. All the communication is done through the APPDRV.sys device driver. A CreateFileA for \\.\APPDRV should open it and then control through DeviceIOControl. The above APIMONITOR app can easily show the buffers going into and out of the device driver.

It seems the control code is 0x22209C
The buffer is 22 bytes long. The same buffer is used for in and out.

The first 9 bytes have data, the last are all 0.

Bytes 1 - 4 : 04000600 Don't know what these are.
Bytes 5-7 : Led color for the three zones
Byte 8: brightness
Byte 9: save as bootup value (1/0)

Unfortunately, that doesn't help me much since I'm looking for a linux solution. I'm assuming the device driver interprets that buffer into something else and writes to the SM bios. The good news is the device driver is only 16K in size, not 550K like gaming.exe. That should be a lot less work for someone that is good with a disassembler and knows something about device drivers. Unfortunately, that's not me. :-(

Dan
iXPS Gen 2
jdkulp is offline   Reply With Quote
Old 04-22-2005, 08:39 PM   #6
Ozy311
Registered User

Join Date: Apr 2005
Location: Goodyear, AZ
Posts: 199
Credits: -289
 
Ozy311 is a n00b, but everyone loves n00bs!
Wow, since i'm not a coder, there is 0% chance for me to use that great info into reality. How much would you want in $ to write us a command line exe for that?
Ozy311 is offline   Reply With Quote
Old 04-23-2005, 03:14 AM   #7
crashnburn
Registered User

Join Date: Apr 2005
Posts: 451
Credits: 314
 
crashnburn is a n00b, but everyone loves n00bs!
If someone can do the groundwork of investigation .. I think it is too easy to do. I can do it... for you.. no charge . But the analysis and hooking into determining what method and dll / exe calls are being made might take a bit of effort.

This can be done without any coding skills.
crashnburn is offline   Reply With Quote
Old 04-23-2005, 03:57 AM   #8
Heinrich
Registered User

Join Date: Mar 2004
Posts: 647
Credits: -130
 
Heinrich is a n00b, but everyone loves n00bs!
Maybe the DELL lurkers who are here might help. NAHH..that would mean providing good customer service and support to end users.
Heinrich is offline   Reply With Quote
Old 04-23-2005, 08:33 AM   #9
jdkulp
Registered User

Join Date: Mar 2005
Posts: 20
Credits: -345
 
jdkulp is a n00b, but everyone loves n00bs!
If no-one does it by next weekend, I'll give it a try. The problem is I have no experience writing Windows programs. All my experience is with OS/2, Linux, and Java. The bigger problem, however, is I don't have any sort of compiler for Windows. I'll poke around at work and see if I can borrow a MSVC 7.1 CD for next weekend.

Dan
iXPS Gen 2
jdkulp is offline   Reply With Quote
Old 02-19-2006, 06:04 PM   #10
jhannes
Registered User

Join Date: Feb 2006
Posts: 1
Credits: -350
 
jhannes is a n00b, but everyone loves n00bs!
Program available

In case anyone is stilling following this thread: I used the excellent tips from user jdkulp and created a simple program in C that allows you to modify the LEDs on the Dell XPS from the command line.

The solution is available both in C-code (about 100 LOC) and an executable from my blog. Now I can do "xps_led_control -front 1 -top 3 -side 3 -bright 3" from the command line.

Enjoy!
jhannes is offline   Reply With Quote
Old 02-19-2006, 06:10 PM   #11
th33viln3ss
cl0wn$
 
th33viln3ss's Avatar

Join Date: Feb 2006
Location: Santa Monica
Posts: 4,256
Credits: 1,325
 
th33viln3ss is a n00b, but everyone loves n00bs!
I'll take it... My M170 is on the way... thanx!
th33viln3ss is offline   Reply With Quote
Old 02-19-2006, 06:43 PM   #12
IllKillYou
Trust No One.
 
IllKillYou's Avatar

Join Date: Jul 2005
Posts: 4,602
Credits: 903
 
IllKillYou is a n00b, but everyone loves n00bs!
Wow, talk about reviving an old thread
__________________
IllKillYou is offline   Reply With Quote
Old 02-19-2006, 06:58 PM   #13
boomheadshot45
Don Draper, boss.
 
boomheadshot45's Avatar

Join Date: Feb 2006
Location: Where In-N-Out is god.
Posts: 5,765
Credits: 1,649
 
boomheadshot45 has all your base
thanx if i every get a xps 170 i will use this thanx
__________________


boomheadshot45 is offline   Reply With Quote
Old 04-20-2006, 09:57 AM   #14
josfaber
Registered User

Join Date: Apr 2006
Posts: 2
Credits: -350
 
josfaber is a n00b, but everyone loves n00bs!
winamp plug

josfaber is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Record for XPS2 on 3dmark05 6818 points with the XPS2 beasts! 1badta Dell Home (Inspiron, XPS, Studio) 54 07-30-2005 08:35 AM
XPS2 Fan Speeds & Control Ripper3785 Dell Home (Inspiron, XPS, Studio) 0 04-08-2005 12:18 PM
differences between home office XPS2 and small business XPS2 T4sys Dell Home (Inspiron, XPS, Studio) 6 03-02-2005 07:36 AM
CATALYST Control Center vs. ATI Control Panels zacharac Drivers 2 12-18-2004 04:01 AM
Remote Control 8890 to control dvd features? BenderNYC Sager & Clevo Notebooks 0 09-09-2003 03:01 PM



All times are GMT -6. The time now is 07:05 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright © 2001-2010 NotebookForums LLC