Multi-colour LED Development - Desire HD General

OK guys, I emailed HTC about the LED and apparently it is a tri-colour LED
Dear XXX,
Thank you for contacting HTC.
Yes,it is a tri-color LED.
We don't support any software that directly controls it.
To send a reply to this message or let me know I have successfully answered your question log in to our ContactUs site using your email address and your ticket number XXXX.
Sincerely,
Bo
HTC
Click to expand...
Click to collapse
The aim of this being to get our LED to actual output any colour on the spectrum. The LED is capable of it, its just figuring out how to do it. The Desire Classic has the same LED yet they have Blue as one of their colours so we know its possible
Perhaps someone can try this within an app. See what we can get
To define your own color and pattern, define a value for the ledARGB field (for the color), the ledOffMS field (length of time, in milliseconds, to keep the light off), the ledOnMS (length of time, in milliseconds, to keep the light on), and also add "FLAG_SHOW_LIGHTS" to the flags field:
notification.ledARGB = 0xff00ff00;
notification.ledOnMS = 300;
notification.ledOffMS = 1000;
notification.flags |= Notification.FLAG_SHOW_LIGHTS;
Click to expand...
Click to collapse

elmicha said:
Really? Maybe I did not pay enough attention, but I think I didn't see red on the DHD.
The directory /sys/class/leds has these sub-directories/symlinks:
amber
button-backlight
flashlight
green
keyboard-backlight
lcd-backlight
You can write a number to the brightness files therein, like
echo 1 >/sys/class/leds/amber/brightness
echo 1 >/sys/class/leds/green/brightness
Amber and green together is a bit more yellowish than amber alone.
Click to expand...
Click to collapse
Perhaps a place to start?

Evostance said:
Perhaps a place to start?
Click to expand...
Click to collapse
What is the aim? To get different colours for different events? e.g flash green on new email, amber on new call etc, or something else?

A while ago, someone mentioned a second led, next to the proximity/light-sensor. He also made a pic of it, it was definately there. Maybe you could try to incorporate that led in this project as well.

rorydaredkign said:
What is the aim? To get different colours for different events? e.g flash green on new email, amber on new call etc, or something else?
Click to expand...
Click to collapse
Updated the first post

A tri colour LED does not mean it is capable of full spectrum colour.
It means the LED unit has 3 Diodes, each a different colour (probably tied to a common ground). To be able to reproduce all (most) colours the 3 LEDs need to be Red, Green and Blue.
In this instance however, it seems like the 3 colours are Red, Orange and Green.
The hardware controller likely is not capable of adjusting the brightness to each individual diode.

The LED is the same as the one in the Desire Classic which can produce Blue
I did ask HTC for clarification and where to find the files to edit this. They just replied with "HTC does not offer development support" lol

Definitely?
That is good news if its true

vinnieminnie said:
A while ago, someone mentioned a second led, next to the proximity/light-sensor. He also made a pic of it, it was definately there. Maybe you could try to incorporate that led in this project as well.
Click to expand...
Click to collapse
thats wrong..it was the proximity sensor itself. digital cameras are able to make infrared rays visible (normally white).
take your dhd, go into camera, place your tv remote in front of it and press some buttons. you should see a white "dot" on your dhd screen.
+1 for the developement
DN41

JamesBarnes said:
Definitely?
That is good news if its true
Click to expand...
Click to collapse
From what I could gather yup.
I've emailed asking for clarification

Excellent, I hope that turns out to be the case.

DN41 said:
thats wrong..it was the proximity sensor itself. digital cameras are able to make infrared rays visible (normally white).
take your dhd, go into camera, place your tv remote in front of it and press some buttons. you should see a white "dot" on your dhd screen.
+1 for the developement
DN41
Click to expand...
Click to collapse
Even though this would be a clever explanation, that isn't the case. I found the video I was reffering to, here it is.

OK
HTC are being idiots. They won't tell me if a the Tri-Color LED consists of RGB or not, even though I said im trying to develop a LED notifier.
Can someone else please try and ask them. Don't think they liked me ever since I asked about the system files lol

yeah there was a discussion some days ago..
it's definitely the proximity sensor!
DN41

DN41 said:
thats wrong..it was the proximity sensor itself. digital cameras are able to make infrared rays visible (normally white).
take your dhd, go into camera, place your tv remote in front of it and press some buttons. you should see a white "dot" on your dhd screen.
+1 for the developement
DN41
Click to expand...
Click to collapse
that's what i usually do to check controllers, and everyone wonders if i'm crazy

one idea can be to disable the LED support for PM8053 and see if the notification LED is still working.
If this shows that the notification LED is driven by the PM8053, you can put some printk into the leds-pm8058.c file to see if the RGB mode is used.
...

Evostance what's the email to contact HTC?

vinnieminnie said:
Even though this would be a clever explanation, that isn't the case. I found the video I was reffering to, here it is.
Click to expand...
Click to collapse
That is probably either the proximity sensor or the light sensor (the one that adjusts auto brightness).
Edit: After some extensive testing using the finger-over-sensor-test, I have concluded that the light from the video is coming from the proximity sensor and that the other sensor (the rightmost one) is the brightness sensor.
I really don't believe that it is another LED.

kamranh3 said:
Evostance what's the email to contact HTC?
Click to expand...
Click to collapse
They use a ticket system on their site. Google htc support
Sent from my Desire HD using Tapatalk

Here we are:
Ciao xxxx, Grazie per aver contattato il nostro supporto tecnico. Il nostro obiettivo e' offrirle un servizio di alta qualità e rispondere a tutte le sue domande. Recentemente ci ha scritto riguardo il led del Desire HD : di seguito La informiamo che i colori del lED disponibili sono il Verde, Rosoo e Rosso arancione , per sviluppare altri Led Le suggeriamo di visitare il sito www.htcdevelopers.com.
The led is red, green and orange.
Rodomar705.
Translation by Mod:
Hello xxxx, Thank you for contacting our technical support. Our aim 'to offer a high quality service and answer all your questions. Recently we wrote about led the Desire HD: Please note that the following LED colors available are Green, Orange and Red Roso, to develop other Led suggest you visit the site www.htcdevelopers.com.
Sent from my Desire HD using Tapatalk

Related

led question

is there any possibility to turn the led red when I receive a sms? now it blinks red only to missed calls and other notifications, but not to sms.
on the modaco - forum anyone has developed a tool, that change the leds of the Kaiser..
but there is not so much "free changeability" in this program..
maybe it will also work in trinity.. but no warranty
here you can find it
but i will develop a program which changes the leds like i want ;-)
[EDIT]
oh.. i saw, that its a new version since Dec, 31 2007 ;-)
i will also try that again ;-)
yes, it works on trinity, thank you very much. though I can`t change the led color in red for sms, it is a pretty cool tool.
Alexandru_unicul said:
yes, it works on trinity, thank you very much. though I can`t change the led color in red for sms, it is a pretty cool tool.
Click to expand...
Click to collapse
Perhaps I am not understanding the problem, but have you tried "Settings", "Sound and notifications", "Notifications", "Event" - there you can choose sound, led and vibration action whenever you receive a SMS (or any other event).....!?
I have set my device to vibrate and then flash the red LED for an unlimited time, whenever I receive a SMS or mail...
Regards,
theknf
Black Trinity
MARY 3.3.5
Radio 1.50
my version of firmware does not have led option for sms income... anyway, phone alarm seems to resolve all my wishes, and far beyond that

MDA Touch Plus, quick question.

Does anybody know if T-Mobile have changed anything on their version of the Touch Plus? For instance have they gone to work on all the icons and made them that ghastly pink colour which they insist on using? If they have is it much trouble to change them?
Hmm, I think I've managed to answer my own question by reading this thread.
http://forum.xda-developers.com/showthread.php?p=1762200#post1762200
Can anybody confirm if this works for the Dual?
I have the same 'problem' with my t-mobile branded Niki. For as far as I've searched this forum and other websites concearning the niki i've found nothing yet. I've found something in the Elf forum but the menu is slightly different. Maybe someone with an unbranded niki could post all the .brn and .png files from the windows dir? You could really help us a lot!
Actually it's not too bad. Home screen is basically all grey/black and the touch-flow interface is the same, except for the blue highlights on the standard HTC icons are pink on the MDA Touch plus.
Nowhere near as offensive as the Orange homescreen, but I guess that's easily turned off.
animus404 said:
Hmm, I think I've managed to answer my own question by reading this thread.
http://forum.xda-developers.com/showthread.php?p=1762200#post1762200
Can anybody confirm if this works for the Dual?
Click to expand...
Click to collapse
Thought of that before, didn't work I didn't do a soft-reset but just pulled out my battery I guess T-mobile modified the main ROM.
00se7en said:
Actually it's not too bad. Home screen is basically all grey/black and the touch-flow interface is the same, except for the blue highlights on the standard HTC icons are pink on the MDA Touch plus.
Nowhere near as offensive as the Orange homescreen, but I guess that's easily turned off.
Click to expand...
Click to collapse
Agreed - a pretty subtle make over from t-mobile, especially on the home screen. A mate has an orange kaiser and virtually anything worth having has been mucked about with.
00se7en said:
Actually it's not too bad. Home screen is basically all grey/black and the touch-flow interface is the same, except for the blue highlights on the standard HTC icons are pink on the MDA Touch plus.
Nowhere near as offensive as the Orange homescreen, but I guess that's easily turned off.
Click to expand...
Click to collapse
Agreed - a pretty subtle make over from t-mobile, especially on the home screen. A mate has an orange kaiser and virtually anything worth having has been mucked about with.

Disco D-Pad

How can i to change the sequence of flashing lights on the d-pad for a text message, incoming call, email, charging.... etc... are there any .cab or even reg edits that allows you to do this?
what would it take to make an app that lets you choose the pattern or sequence that the LEDs lit up and be totally customizable. the ability to make your d pad light up like a christmas tree when you get a text would be a pretty cool application (touch diamond or touch pro specifically)
p.s. i did search, and i'm not looking for juggalo's notification enhancements app... even though its amazing in itself, its not what i'm going for( but thanks juggalo - you've produced some great stuff)... im also not looking for anything that will change the colors... just the patterns of the white LEDs on the d-pad.
thank you in advance!
P.S. even if you don't know of a .cab, i would love input on how it could be done and the problems that one would face developing it. if there isn't this app out there maybe one of the dev-gods here can toss some info or input this way. say something if you think this would be a decent app to make... from the devs i've talked to apparently it should be entirely possible and is probably just a .dll (driver) like the touch pro's camera LED.
meetdave said:
How can i to change the sequence of flashing lights on the d-pad for a text message, incoming call, email, charging.... etc... are there any .cab or even reg edits that allows you to do this?
what would it take to make an app that lets you choose the pattern or sequence that the LEDs lit up and be totally customizable. the ability to make your d pad light up like a christmas tree when you get a text would be a pretty cool application (touch diamond or touch pro specifically)
p.s. i did search, and i'm not looking for juggalo's notification enhancements app... even though its amazing in itself, its not what i'm going for( but thanks juggalo - you've produced some great stuff)... im also not looking for anything that will change the colors... just the patterns of the white LEDs on the d-pad.
thank you in advance!
P.S. even if you don't know of a .cab, i would love input on how it could be done and the problems that one would face developing it. if there isn't this app out there maybe one of the dev-gods here can toss some info or input this way. say something if you think this would be a decent app to make... from the devs i've talked to apparently it should be entirely possible and is probably just a .dll (driver) like the touch pro's camera LED.
Click to expand...
Click to collapse
ya i think tht would be totally cool....dev gods.....kindly work on this
meetdave said:
p.s. i did search, and i'm not looking for juggalo's notification enhancements app... even though its amazing in itself, its not what i'm going for( but thanks juggalo - you've produced some great stuff)... im also not looking for anything that will change the colors... just the patterns of the white LEDs on the d-pad.
Click to expand...
Click to collapse
Can you provide a link to the app by juggalo?

Customize LED

I want to customize the LED for status of signal (green if available, orange if non signal), for missed calls or missed SMS.
Any have the solution?
Not yet, but I have noticed that there are actually two light 'bars' one on each side of the ear piece, I am looking into it.
Bupahs said:
Not yet, but I have noticed that there are actually two light 'bars' one on each side of the ear piece, I am looking into it.
Click to expand...
Click to collapse
yes sir.
it should be : [light] speaker [light]
Bupahs said:
Not yet, but I have noticed that there are actually two light 'bars' one on each side of the ear piece, I am looking into it.
Click to expand...
Click to collapse
SoCalSpecialist said:
yes sir.
it should be : [light] speaker [light]
Click to expand...
Click to collapse
The right hand 'light' isn't the light you might think
It's a light sensor which measures the light conditions where the keyboard will be turned on when it's too dark...
so it's not a light, but a SENSOR
greetzz
Pietje_1985 said:
The right hand 'light' isn't the light you might think
It's a light sensor which measures the light conditions where the keyboard will be turned on when it's too dark...
so it's not a light, but a SENSOR
greetzz
Click to expand...
Click to collapse
yeah, I figured that out lol, had to get a hold of a spec sheet but its not a light, it is the sensor
Hello, are there some news for the LED?
I own the European Version of the Maple (Snap)
and the indicator LED stops flashing after 10minutes, even if i
have not read my messages/missed calls.
I want the LED to flash until i take care...is there a way?
thnx in advance,
RB
Randel Burton said:
Hello, are there some news for the LED?
I own the European Version of the Maple (Snap)
and the indicator LED stops flashing after 10minutes, even if i
have not read my messages/missed calls.
I want the LED to flash until i take care...is there a way?
thnx in advance,
RB
Click to expand...
Click to collapse
I am working on this as I find time. Can you look in the registry at HKCU/Control Panel/Notifications/Led and tell me what the value of the TimeOut is set at?
Value LED Time out
Can you look in the registry at HKCU/Control Panel/Notifications/Led and tell me what the value of the TimeOut is set at?
In my HTC Snap the Value data is 30, but I don't think my Led is flashing voor 30 minutes.
Is this the right value?
famod said:
Can you look in the registry at HKCU/Control Panel/Notifications/Led and tell me what the value of the TimeOut is set at?
In my HTC Snap the Value data is 30, but I don't think my Led is flashing voor 30 minutes.
Is this the right value?
Click to expand...
Click to collapse
That is the correct value. I am still looking through the registry, but it may be something in a dll which would really be crummy.
Randel Burton said:
Hello, are there some news for the LED?
I own the European Version of the Maple (Snap)
and the indicator LED stops flashing after 10minutes, even if i
have not read my messages/missed calls.
I want the LED to flash until i take care...is there a way?
thnx in advance,
RB
Click to expand...
Click to collapse
Hallo,
i have the same Problem with der HTC Snap Status LED.
Have you found an Solution?
Maloja
cswroe said:
I am working on this as I find time. Can you look in the registry at HKCU/Control Panel/Notifications/Led and tell me what the value of the TimeOut is set at?
Click to expand...
Click to collapse
Very cool..looking forward and wish u lots of free time
My TimeOut value is 30, too.
It seems that the secret may be in allledmgr.dll
I am totally unfamiliar with editing dll files so if someone wants to take a try at it, go ahead. It looks like this file contains the flash rates, colors, etc.
No sooner did I give up and it came to me that what we need is not there rather than change what is there.
If you want the LED to blink until you acknowledge the message/notification you need to add a DWORD entry to the following paths in the registry. The DWORD that you want to add will be named "Duration" (without the quotes) and give it a DWORD Data of "0" (zero without the quotes).
For SMS: HKEY_CURRENT_USER\ControlPanel\Notifications\{A877D65B-239C-47a7-9304-0D347F580408}
For Missed Call: HKEY_CURRENT_USER\ControlPanel\Notifications\{A877D660-239C-47a7-9304-0D347F580408}
For Reminders: HKEY_CURRENT_USER\ControlPanel\Notifications\{15F11F90-8A5F-454c-89FC-BA9B7AAB0CAD}
The above work on my device. I do not use the built in VM or Email, so I can not confirm the following two entries so if someone would like to try and let us know, I would greatly appreciate it.
For Email: HKEY_CURRENT_USER\ControlPanel\Notifications\{A877D65A-239C-47a7-9304-0D347F580408}
For Voicemail: HKEY_CURRENT_USER\ControlPanel\Notifications\{A877D661-239C-47a7-9304-0D347F580408}
I still believe the secret to the colors reside in the dll posted above.
Hello,
many thanks for your help.
It functions very well.
Greeting
Maloja
LED blinking
No change over here!
Also the suggestion of Ookba to use automatic keylock doesn't make the timeout of blinking any longer.
famod said:
No change over here!
Also the suggestion of Ookba to use automatic keylock doesn't make the timeout of blinking any longer.
Click to expand...
Click to collapse
Interesting. Are you using Ookba's Rom?
I would check to make sure that you are in the right location and that the Value is correct. I will make a file that will do it automatically when I get a chance. The locations are so similar I was putting my values in the wrong location at first.
cswroe said:
Interesting. Are you using Ookba's Rom?
I would check to make sure that you are in the right location and that the Value is correct. I will make a file that will do it automatically when I get a chance. The locations are so similar I was putting my values in the wrong location at first.
Click to expand...
Click to collapse
I'm sorry, on the right place everything is blinking oké. Thanks
cswroe said:
...
If you want the LED to blink until you acknowledge the message/notification you need to add a DWORD entry to the following paths in the registry. ...
Click to expand...
Click to collapse
Thank you mucho!
Works fine on my Euopean (GER) Snap. Finally! THANKS AGAIN!
Somebody know if this works with 6.5, too?
Randel Burton said:
Thank you mucho!
Works fine on my Euopean (GER) Snap. Finally! THANKS AGAIN!
Somebody know if this works with 6.5, too?
Click to expand...
Click to collapse
I am using 6.5 and it works fine.

Send Key Green End KEy REd

Can someone please post the reg edits or whatever it is that makes the Send Key Green and the End KEy Red like in the new Tmobile 6.5 Leaked. .....
Maybe I'm wrong, but I have a feeling that it's all about the LED color and not some wise settings.
So if you or some friend of yours are skilled enough to be able to change the white smd led-s with one green and one red, than you're done.
Here's the solution here:
Link
player911 said:
Here's the solution here:
Link
Click to expand...
Click to collapse
Nice Solution. I've got the T-Mo ROM but I might try it anyways, see if it works better.
Umm, if a ROM can change the color of thee LEDs, then you definitely don't need markers or new LEDs. Unless TMO is using some special LEDs.
Ok let's just end this now. The T-Mo rom does not change the keys. my keys are still white.
http://www.wmexperts.com/windows-mobile-65-t-mobile-touch-pro-2-also-leaked
Interesting. I wonder where their list of official changes comes from then...
Here are the possible answers.
1. They are Wrong.
2. I am wrong. (I will come back and eat crow if I am)
3. New phones sold with windows mobile 6.5 will have green and red lit buttons.
Yeah, I really don't know. I'm just interested.
sancmat said:
Here are the possible answers.
1. They are Wrong.
2. I am wrong. (I will come back and eat crow if I am)
3. New phones sold with windows mobile 6.5 will have green and red lit buttons.
Click to expand...
Click to collapse
I'm guessing that's it.
At the bottom of the list of changes, it says "Home Key change to Microsoft Flag." I don't know about you guys, but that would be a hardware change in the T-Mobile TP2 Home button (it's not like a ROM can change the picture on the hardware button).
So I guess the change to green/red colors will only occur for newly sold TP2s once the official ROM gets officially released.
I think the new ROM changes the answer/end TOUCH BUTTONS to green and red in the software. It's been so long since I used the 6.1 stock ROM, I don't remember what the default colors were.

Categories

Resources