Reply
Thread Tools
blwthompson's Avatar
Posts: 97 | Thanked: 8 times | Joined on Dec 2009
#1
Hi,

i want to change my LED patterins.

I want SMS to be Blue
Emails to be Green
Im to be Red
Phone Calls to be Purple

Can anyone help??



Cheers,

Brendan
 
Posts: 755 | Thanked: 406 times | Joined on Feb 2008 @ UK
#2
These are the default lines in /etc/mce/mce.ini
Code:
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
Change these to:
Code:
PatternCommunicationCall=30;1;0;rb;9d80400002ff03ff02ff03ff71080000;9d800000 
PatternCommunicationIM=30;1;0;r;9d80400002ff03ff02ff03ff71080000;9d800000 
PatternCommunicationSMS=30;1;0;b;9d80400002ff03ff02ff03ff71080000;9d800000 
PatternCommunicationEmail=30;1;0;g;9d80400002ff03ff02ff03ff71080000;9d800000
See here for more information about led patterns.

If you want to know something more specific, please ask.
 

The Following 7 Users Say Thank You to codeMonkey For This Useful Post:
Posts: 273 | Thanked: 113 times | Joined on Feb 2008 @ Germany
#3
Indeed codeMonkey did excellent work in this thread:

http://talk.maemo.org/showthread.php?t=37691&page=5

Best regards,
Corwin
__________________
Hi! I'm a Maemo Greeter!

Useful links for newcomers: New members say hello , New users start here, Community subforum, Beginners' wiki page, Maemo5 101, Frequently Asked Questions (FAQ)
If I can help with anything else, just ask! Please click 'Thanks!' if this post was helpful.
 

The Following 2 Users Say Thank You to Corwin For This Useful Post:
Diamorph's Avatar
Posts: 54 | Thanked: 29 times | Joined on Jan 2010 @ Kaiserslautern - Germany
#4
Hi,

I read every post of how to change the LED Pattern but I don't get the clue.

I want to change the pauses between the pattern espacilly for the SMS, etc...
I came so far:

PatternCommunicationSMS=
30;1;0;b;9d804000

02ff 03ff 02ff 03ff 7108

0000 ;9d80 0000

The red marked has to be the string for the pauses I think.
When I compare this with the device on LED pattern

(PatternDeviceOn=
254;0;0;rgb;9d804000

4220 4320 7f10

0000 ;9d80 0000)

which is longer, I get stuck.
I want a pause between the blue flashing like it is in the charging pattern, but when I see this, I'm completly confused..:

(PatternBatteryCharging=
50;4;0;rg;9d804000

427f 0d7f 7f00 7f00 4200

0000;9d80 0000
)

Can anyone help me please??
The LED Pattern wiki doesn't help me to see thru this...

Sorry for my bad english...

Thanks so far!

Last edited by Diamorph; 2010-01-16 at 23:52.
 
Posts: 376 | Thanked: 511 times | Joined on Aug 2009 @ Greece
#5
Originally Posted by Diamorph View Post
Hi,
I read every post of how to change the LED Pattern but I don't get the cloue.
I want to change the pauses between the pattern espacilly for the SMS, etc...

I came so far:

PatternCommunicationSMS=
30;1;0;b;9d804000
02ff 03ff 02ff 03ff 7108
0000 ;9d80 0000

The red marked has to be the string for the pauses I think.
As mce.ini says, pause is achieved with 00 at the second byte (7108 will have a similar effect if the led is already dark). A good long pause is achieved with 7f00.

The devices' pattern is longer because it says 7f instead of 71.

You can add as many 7f00 as you want to the pattern, creating longer pauses.
 

The Following 2 Users Say Thank You to v13 For This Useful Post:
Diamorph's Avatar
Posts: 54 | Thanked: 29 times | Joined on Jan 2010 @ Kaiserslautern - Germany
#6
Thank you for your quick answer!

I think that I slowly get an idea how this works.

So if I place the three pause stings from charging to the SMS pattern like this:

PatternCommunicationSMS=
30;1;0;b;9d804000
02ff 03ff 02ff 03ff 7f00 7f00 4200
0000 ;9d80 0000

would that work?
I don't want to brick my sweet N900 in the first week so I better ask two times

Thanks!

greez Alex

Last edited by Diamorph; 2010-01-17 at 00:37.
 
Posts: 376 | Thanked: 511 times | Joined on Aug 2009 @ Greece
#7
Originally Posted by Diamorph View Post
Thank you for your quick answer!

I think that I slowly get an idea how this works.

So if I place the three pause stings from charging to the SMS pattern like this:

PatternCommunicationSMS=
30;1;0;b;9d804000
02ff 03ff 02ff 03ff 7f00 7f00 4200
0000 ;9d80 0000

would that work?
I don't want to brick my sweet N900 in the first week so I better ask two times
I suppose yes. I don't believe there is a way to brick your device by changing the LED patter. At worst, you'll have a led that doesn't work until you restore the mce.ini and restart mce. I've experimented quite a lot with the leds and didn't cause any problems, even with really nasty patterns.
 

The Following User Says Thank You to v13 For This Useful Post:
Posts: 515 | Thanked: 193 times | Joined on Oct 2009
#8
Out of interest how will the alerts work with different colours - the colour alert will be from the last event? ie if you get an email, then an sms the led will indicate just a received sms, yes?
 
Posts: 376 | Thanked: 511 times | Joined on Aug 2009 @ Greece
#9
Originally Posted by chrisp7 View Post
Out of interest how will the alerts work with different colours - the colour alert will be from the last event? ie if you get an email, then an sms the led will indicate just a received sms, yes?
AFAIK mce handles conflicts using the priority field. It will show the highest priority event (e.g. when battery is charging but you have an sms it blinks blue).
 

The Following 2 Users Say Thank You to v13 For This Useful Post:
Posts: 755 | Thanked: 406 times | Joined on Feb 2008 @ UK
#10
Originally Posted by Diamorph View Post
9d80 4000 02ff 03ff 02ff 03ff 7f00 7f00 4200 0000

would that work?
This pattern would:
02ff (quickly fade-in to full brightness)
03ff (quickly fade out)
02ff (quickly fade-in to full brightness)
03ff (quickly fade out)
7f00 (pause)
7f00 (pause)
7f00 (pause)
4200 (set brightness to zero - redundant since it's already at zero)
 

The Following 2 Users Say Thank You to codeMonkey For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:51.