Notices


Reply
Thread Tools
pH5's Avatar
Posts: 138 | Thanked: 375 times | Joined on Aug 2009 @ Berlin
#51
Originally Posted by sgleo87 View Post
One thing I did notice is although I changed the LED colors and pattern when turning the device on with this app, it stayed exactly the same and is still the standard white LED pattern (changing the LED pattern for turning the device off worked fine though). Anyone else having this problem?
I didn't reboot until recently, and yes, changing the PowerOn pattern doesn't work here, either. I guess it is hard-coded in the bootloader somewhere...

Originally Posted by BCMM View Post
Using two colour engines is nice, but is there a technical reason that three is not possible? With three, it would be possible to effectively create any pattern by using a red, green and blue line.
Hardware wise, it should be possible to set all three engines to drive the RGB LEDs, sacrificing the keyboard illumination as long as such a pattern would be running. Unfortunately, MCE reserves the third engine for the keyboard LEDs. It is closed source, so I don't see any way to change that.
On the N8x0, all three engines are available for the RGB LEDs.
 

The Following User Says Thank You to pH5 For This Useful Post:
Posts: 8 | Thanked: 14 times | Joined on Apr 2010 @ UK
#52
Ah, that makes things a bit clearer. What about three cycles that do not all overlap (or, equivalently, two engines, but one can change the colour of an engine)? It wouldn't permit everything, but it would allow my example. This might be a stupid question, since I don't really know anything about MCE.
 
LABAUDIO's Avatar
Posts: 315 | Thanked: 71 times | Joined on Oct 2008 @ €@$T Montreal Quebec Canada
#53
i try this python...

executed in terminal run like a charms...
Code:
#!/usr/bin/env python

### proof of concept for the N810 LED control (ld5521) by jott

import pygtk
import hildon
pygtk.require('2.0')
import gtk

class LEDColor:

    def set_color_callback(self, widget, data=None, value=None):
	self.set_color(self.sliders[0].get_level(), self.sliders[1].get_level(), self.sliders[2].get_level())

    def set_color(self,r,g,b):
	self.set_mode("direct")
	value = "%X:%X:%X" % (r,g,b)
        FILE = open("/sys/devices/platform/i2c_omap.2/i2c-0/0-0032/color","w")
	FILE.write(value)
	FILE.close()

    def set_mode(self,mode):
        FILE = open("/sys/devices/platform/i2c_omap.2/i2c-0/0-0032/mode","w")
	FILE.write(mode)
	FILE.close()

    def delete_event(self, widget, event, data=None):
        return False

    def destroy(self, widget, data=None):
	self.set_mode("run")
        gtk.main_quit()

    def __init__(self):
	self.set_color(0,0,0)

        window = gtk.Window(gtk.WINDOW_TOPLEVEL)
        window.connect("delete_event", self.delete_event)
        window.connect("destroy", self.destroy)
        window.set_border_width(10)

        content = gtk.VBox()
        self.sliders = []
        for i in range(0,3):
	    slider = hildon.HVolumebar()
	    adj = slider.get_adjustment()
	    adj.set_all(0, 0, 255, 1, 10)
	    content.pack_start(slider, True, True, 0)
	    slider.set_property("has_mute",False)
	    slider.show()
	    self.sliders.append(slider)

        for i in range(0,3):
    	    self.sliders[i].connect("level_changed", self.set_color_callback, None)

        window.add(content)
        content.show()
        window.show()

    def main(self):
        gtk.main()

if __name__ == "__main__":
    led = LEDColor()
    led.main()
test it!

some more link

N810 LED Blinking

Previous post

http://www.google.com/notebook/publi...TgIgoQ3tW9iP0i

http://talk.maemo.org/showthread.php?t=27818


So like we see in the last link...its is very possible to make...but never be achieved...

If some one feel gratfull
Originally Posted by pH5 View Post
...
On the N8x0, all three engines are available for the RGB LEDs.
i hope is see a LED Patterns Editor for N810 someday...
__________________
N900 Owner N95 + N810
Fremantle Tester
Diablo Dacker
French Noob

BorgTheme ¤ BorgSounds ¤ BorgStartUp ¤ BorgClock
 

The Following User Says Thank You to LABAUDIO For This Useful Post:
M A S T E R's Avatar
Posts: 149 | Thanked: 18 times | Joined on Dec 2009 @ Dallas
#54
Does anyone know if this will be put in Testing anytime soon or did the author decide not to fix bugs and leave it for others to mess with??

Looks cool and fun but i try to do what i can to not touch devel things unless several people say its a good app that just hasnt gone through the process.

-MASTER
__________________
Learn more about me here:
/Emmanuel "MASTER" Rodriguez
XBOX GT: o M A S T E R o / CGS MASTER
http://YouTube.com/DOAUMASTER
http://MySpace.com/_DOAMASTER_
http://Twitter.com/oMASTERo
http://mast3r.tumblr.com
http://DOACentral.com
http://DFWGames.com "Bringing Gamers Together"
National Video Game Association
 
pH5's Avatar
Posts: 138 | Thanked: 375 times | Joined on Aug 2009 @ Berlin
#55
Originally Posted by BCMM View Post
What about three cycles that do not all overlap (or, equivalently, two engines, but one can change the colour of an engine)? It wouldn't permit everything, but it would allow my example.
Unfortunately, it's not possible to do that in hardware. The engine patterns can't change the muxing. And it's not possible in software either, because we can't modify MCE to support this.

Originally Posted by LABAUDIO View Post
i hope is see a LED Patterns Editor for N810 someday...
Originally Posted by M A S T E R View Post
Does anyone know if this will be put in Testing anytime soon or did the author decide not to fix bugs and leave it for others to mess with??
Messing with welcome!

It's all just a matter of free time. I figured I should at least fix the bug tracker entry and finish the copy & paste implementation before submitting to the QA process, so here you are. New version 0.0.3-1, still N900 only, for now. I promoted this one to extras-testing.

Last edited by pH5; 2010-05-11 at 20:19.
 

The Following 2 Users Say Thank You to pH5 For This Useful Post:
Posts: 92 | Thanked: 9 times | Joined on Apr 2010
#56
can anyone temme if it is possible to get the blueish white light like when you switch on your phone for your im or messages? i tried rgb together but it isnt like the light that you see when you press and hold the power button for switching on the device. and how do i led colour for when your phone is on standby, like when you lock you phone.


-Thanks !

Last edited by xperto; 2010-05-11 at 20:25.
 
LABAUDIO's Avatar
Posts: 315 | Thanked: 71 times | Joined on Oct 2008 @ €@$T Montreal Quebec Canada
#57
Originally Posted by xperto View Post
can anyone temme if it is possible to get the blueish white light like when you switch on your phone for your im or messages? i tried rgb together but it isnt like the light that you see when you press and hold the power button for switching on the device. and how do i led colour for when your phone is on standby, like when you lock you phone.


-Thanks !
There is a line where you blueish white color is :
Code:
PatternPowerOn=9;3;0;rgb;9d80400042ff02ffc000;9d800000
the digit in bold is the colors commands...

your im and chat line (and other notifications lines) is there :

Code:
PatternCommunicationIM=30;1;0;b;9d80400002ff03ff02ff03ff71080000;9d800000
PatternCommunicationSMS=30;1;0;b;9d80400002ff03ff02ff03ff71080000;9d800000
PatternCommunicationEmail=30;1;0;b;9d80400002ff03ff02ff03ff71080000;9d800000
PatternCommonNotification=30;1;0;b;9d80400002ff03ff02ff03ff71080000;9d800000

again the colors commands be bold....

so what you need its to replace the ''colors commands digits'' of your choice

for more reference see

Led Pattern ¤ N900 ¤ Wiki

cheers
__________________
N900 Owner N95 + N810
Fremantle Tester
Diablo Dacker
French Noob

BorgTheme ¤ BorgSounds ¤ BorgStartUp ¤ BorgClock
 

The Following 2 Users Say Thank You to LABAUDIO For This Useful Post:
Posts: 47 | Thanked: 21 times | Joined on Jan 2010
#58
Originally Posted by BCMM View Post
Using two colour engines is nice, but is there a technical reason that three is not possible? With three, it would be possible to effectively create any pattern by using a red, green and blue line.

For example, it is, as far as I can see, impossible to cycled through a rainbow of colours, but it could be done with three engines.
It should be possible! if you manually change the pattern.ini you can make it look like a traffic light. So it should be possible! dont ask me how though...
 
Posts: 243 | Thanked: 146 times | Joined on Dec 2009 @ Knowhere
#59
Originally Posted by dof250 View Post
It should be possible! if you manually change the pattern.ini you can make it look like a traffic light. So it should be possible! dont ask me how though...
http://wiki.maemo.org/LED_patterns

Lots of great community made patterns there.
__________________
Please don't clutter the forum with questions that have been answered many times previously. Either use Power Search or check the following useful threads.

http://wiki.maemo.org/Frequently_asked_questions
http://en.wikipedia.org/wiki/Nokia_N900
http://wiki.maemo.org/N900
 
LABAUDIO's Avatar
Posts: 315 | Thanked: 71 times | Joined on Oct 2008 @ €@$T Montreal Quebec Canada
#60
Like you see in this

Default LED Patterns for Nokia N900

Code:
PatternError=0;5;0;r;9d8040007f007f0040ff7f007f000000;9d800000
PatternDeviceOn=254;0;0;rgb;9d804000422043207f100000;9d800000
PatternDeviceSoftOff=253;0;0;rg;9d804000423f433f7f100000;9d800000
PatternPowerOn=9;3;0;rgb;9d80400042ff02ffc000;9d800000
PatternPowerOff=10;3;0;rgb;9d80400001ff43ff7f007f00c000;9d800000
PatternCommunicationCall=30;1;0;b;9d80400002ff03ff02ff03ff71080000;9d800000
PatternCommunicationIM=30;1;0;b;9d80400002ff03ff02ff03ff71080000;9d800000
PatternCommunicationSMS=30;1;0;b;9d80400002ff03ff02ff03ff71080000;9d800000
PatternCommunicationEmail=30;1;0;b;9d80400002ff03ff02ff03ff71080000;9d800000
PatternCommonNotification=30;1;0;b;9d80400002ff03ff02ff03ff71080000;9d800000
PatternWebcamActive=20;1;0;r;9d80400004ffc0000000;9d800000
PatternBatteryCharging=50;4;0;rg;9d804000427f0d7f7f007f0042000000;9d800000
PatternBatteryFull=40;4;0;g;9d80407f0000;9d800000
i wanna point your attention in bold value up here

this value is a Priority

0-255, 0 is highest, 255 is lowest.

Since currently only a single pattern at a time can be displayed, this is used to assign importance to the LED patterns. Although only a single LED pattern can be displayed at any time, multiple patterns may be active, the pattern with the highest priority being displayed.

A common example of this is where the n900 is on charge, the battery is full (starting PatternBatteryFull with a priority of 40), and an SMS message is received (PatternCommunicationSMS with a priority of 30). On receipt of the SMS, the LED begins to display the flashing blue led of an SMS. Once that SMS has been dismissed, the green LED of the full battery notification is again displayed.

in ligth of that

i wanna change some priority value but some change dont work

here we go :

Code:
PatternDeviceOn=254;0;0;rgb;9d804000422043207f100000;9d800000

PatternCommunicationIM=30;1;0;b;9d80400002ff03ff02ff03ff71080000;9d800000
So like you see in this, the deviceOn pattern be lowest priority then Im pattern...

so when i was in chat, contact or in im windows, and my tablet go sleep(cause no activitiy), the deviceOn pattern dont be trigged like supposed......cause IM priority look disable the deviceOn one...weird...

so cause i want my DeviceOn pattern be lighted in priority in front of ImPattern or mail pattern... i change the priority value of DeviceOn pattern for 29...(29 its one less the Notifications pattherns priority(30)

Code:
PatternDeviceOn=29;0;0;rgb;9d804000422043207f100000;9d800000
PatternCommunicationIM=30;1;0;b;9d80400002ff03ff02ff03ff71080000;9d800000
like this iam surely suppose to trigger DeviceOn in front of NotificationsPatterns...
but nothing work there too...

i have a n810 and is the same default priority then n900...

iam curious to see if someone test it this issue for future purpose..and solutions maybe

tx
__________________
N900 Owner N95 + N810
Fremantle Tester
Diablo Dacker
French Noob

BorgTheme ¤ BorgSounds ¤ BorgStartUp ¤ BorgClock
 

The Following User Says Thank You to LABAUDIO For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 09:55.