Active Topics

 


Reply
Thread Tools
Posts: 117 | Thanked: 10 times | Joined on Oct 2009 @ Wolverhampton
#11
You can scroll to the right in that picture...
 

The Following User Says Thank You to Pedrolot For This Useful Post:
munky261's Avatar
Posts: 1,674 | Thanked: 171 times | Joined on Mar 2007 @ Anderson, IN
#12
there is still no r, g, or b when I scroll
__________________
There is only one Return, and it's not of the King, it's of the Jedi.
 
Posts: 755 | Thanked: 406 times | Joined on Feb 2008 @ UK
#13
Munky: The n810 uses a different scheme for creating patterns. The details of how to use it are in the mce.ini file.


Again, be careful editing this file.
 
munky261's Avatar
Posts: 1,674 | Thanked: 171 times | Joined on Mar 2007 @ Anderson, IN
#14
I have read it, but dont quite understand it. The patterns for call, chat, and email are exactly the same at present...so, Im asking, what do i need to change to make call red and chat green? Can someone that know tell me exatly what I need to type to change only the color, and not the flashing pattern?
__________________
There is only one Return, and it's not of the King, it's of the Jedi.
 
Posts: 273 | Thanked: 113 times | Joined on Feb 2008 @ Germany
#15
I just fired up my good old trusty N810 to check It seems to have a different controller with a different notation:

Code:
[LEDPatternNJoyRX44]

# Patterns used if the device has an RGB LED connected to an NJoy controller
# Please prefix pattern names with Pattern to avoid name space clashes
#
# Priority (0 - highest, 255 - lowest)
# ScreenOn - 0 only show pattern when the display is off
#            1 show pattern even when the display is on
#            2 only show pattern when the display is off, including acting dead
#            3 show pattern even when the display is on, including acting dead
#            4 only show pattern if the display is off, or if in acting dead
# Timeout in seconds before pattern is disabled, 0 for infinite
# R-channel pattern in NJoy format (16 commands at most)
# G-channel pattern in NJoy format (16 commands at most)
# B-channel pattern in NJoy format (16 commands at most)
#
# 0000 -- Jump to the start of the pattern for the channel
# 40xx -- Set channel brightness
# xxyy -- Increment/decrement
#      xx determines the speed;
#         01-3f -- short step time (granularity 0.49ms)
#         41-7f -- long step time (granularity 15.6ms)
#      yy determines the increment/decrement steps
#         00-7f -- increment steps 00 = 0 steps, 7f = 127 steps
#         80-ff -- decrement steps 80 = 0 steps, ff = 127 steps
#
#         Use 0 steps to create pauses
#         Two consecutive increment/decrement sequences are needed
#         to cover the entire range from 0-255
# c000 -- End pattern execution
# e002 -- Send red trigger
# e004 -- Send green trigger
# e008 -- Send blue trigger
# e080 -- Wait for red trigger
# e100 -- Wait for green trigger
# e200 -- Wait for blue trigger
PatternError=0;1;0;40002000200040ff200020000000;0000;0000
PatternDeviceOn=254;0;0;4000205f20df7f007f007f007f000000;4000205f20df7f007f007f007f000000;4000205f20df7f007f007f007f000000
PatternDeviceSoftOff=253;0;0;4000203f20bf7f007f007f007f007f000000;4000203f20bf7f007f007f007f007f000000;0000
PatternPowerOn=10;3;0;4000207f207f01ff01ffc000;4000207f207f01ff01ffc000;4000207f207f01ff01ffc000
PatternPowerOff=9;3;0;4000017f017f36ff36ff7f00c000;4000017f017f36ff36ff7f00c000;4000017f017f36ff36ff7f00c000
PatternCommunicationCall=30;1;0;0000;0000;40007f00017f017f050001ff01ff0000
PatternCommunicationChat=30;1;0;0000;0000;40007f00017f017f050001ff01ff0000
PatternCommunicationEmail=30;1;0;0000;0000;40007f00017f017f050001ff01ff0000
PatternCommonNotification=30;1;0;0000;0000;40007f00017f017f050001ff01ff0000
PatternWebcamActive=20;1;0;4000027f027fc000;0000;0000
PatternBatteryCharging=50;4;0;0000;4000257f06ff7f0041000000;0000
PatternBatteryFull=40;4;0;0000;407f0000;0000
PatternPsychedelia=250;1;0;4000167f167f17ff17ff0000;40001300197f197f15ff15ff0000;4000237f237f130022ff22ff13000000

# This example pattern has a priority of 42 (all patterns with a *lower*
# priority value will have precedence), and will flash in yellow
# This pattern will be visible even when the display is on.
PatternExample=42;1;30;4000167f167f17ff17ff0000;4000167f167f17ff17ff0000;0000

The explaination in the upper part corresponds to the lines below. The bold part seems to be for the color:

Code:
# R-channel pattern in NJoy format (16 commands at most)
# G-channel pattern in NJoy format (16 commands at most)
# B-channel pattern in NJoy format (16 commands at most)

This means the underlined part:

Code:
PatternCommunicationCall=30;1;0;0000;0000;40007f00017f017f050001ff01ff0000

Call is also blue on the N810, right? This is because we have 0000 for Red, 0000 for Green and 'something' for Blue.

You could search for patterns with red ('PatternError') or green ('PatternBatteryFull') and copy the underlined part I mentioned above responsible for the color from the pattern with the color you want to the pattern you wish to change. Do not copy the other parts of the line as they determine rythm and priority and you only want to change the color! This way you should be able to change the colors.

This should do what you want, although I am giving no warranties whatsoever. It is the whole 'Pattern' block, changed call to red, chat to green. Not sure, though, why green is so short:
Code:
PatternError=0;1;0;40002000200040ff200020000000;0000;0000
PatternDeviceOn=254;0;0;4000205f20df7f007f007f007f000000;4000205f20df7f007f007f007f000000;4000205f20df7f007f007f007f000000
PatternDeviceSoftOff=253;0;0;4000203f20bf7f007f007f007f007f000000;4000203f20bf7f007f007f007f007f000000;0000
PatternPowerOn=10;3;0;4000207f207f01ff01ffc000;4000207f207f01ff01ffc000;4000207f207f01ff01ffc000
PatternPowerOff=9;3;0;4000017f017f36ff36ff7f00c000;4000017f017f36ff36ff7f00c000;4000017f017f36ff36ff7f00c000
PatternCommunicationCall=30;1;0;40002000200040ff200020000000;0000;0000
PatternCommunicationChat=30;1;0;0000;407f0000;0000
PatternCommunicationEmail=30;1;0;0000;0000;40007f00017f017f050001ff01ff0000
PatternCommonNotification=30;1;0;0000;0000;40007f00017f017f050001ff01ff0000
PatternWebcamActive=20;1;0;4000027f027fc000;0000;0000
PatternBatteryCharging=50;4;0;0000;4000257f06ff7f0041000000;0000
PatternBatteryFull=40;4;0;0000;407f0000;0000
PatternPsychedelia=250;1;0;4000167f167f17ff17ff0000;40001300197f197f15ff15ff0000;4000237f237f130022ff22ff13000000

BUT:
Be REALLY careful! I am really, really not being nasty here, but maybe you should not edit the file.

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.

Last edited by Corwin; 2009-12-22 at 14:23.
 

The Following 3 Users Say Thank You to Corwin For This Useful Post:
munky261's Avatar
Posts: 1,674 | Thanked: 171 times | Joined on Mar 2007 @ Anderson, IN
#16
I do not intend on editing the file unless someone can tell me exactly what needs to be typed for only the color to change.
__________________
There is only one Return, and it's not of the King, it's of the Jedi.
 
Posts: 273 | Thanked: 113 times | Joined on Feb 2008 @ Germany
#17
Did that above... BTW, in case you find a post helpful, there IS a 'Thanks!' button
__________________
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.

Last edited by Corwin; 2009-12-22 at 14:38.
 

The Following User Says Thank You to Corwin For This Useful Post:
Posts: 755 | Thanked: 406 times | Joined on Feb 2008 @ UK
#18
Corwin's instructions there are good, but I don't have an n810 to test on.

The basic structure is:
PatternName=Priority;ScreenOnVariable;TimeOut;Red channel pattern;Green channel pattern;Blue channel pattern

So in Corwin's example above he's switched the instructions from the blue channel to the red channel - which should make the led flash red instead of blue.
 

The Following User Says Thank You to codeMonkey For This Useful Post:
munky261's Avatar
Posts: 1,674 | Thanked: 171 times | Joined on Mar 2007 @ Anderson, IN
#19
I changed the pattern for call, and it still flashes blue.
__________________
There is only one Return, and it's not of the King, it's of the Jedi.
 
Posts: 273 | Thanked: 113 times | Joined on Feb 2008 @ Germany
#20
Did you reboot the device?
__________________
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 User Says Thank You to Corwin For This Useful Post:
Reply


 
Forum Jump


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