Reply
Thread Tools
Posts: 153 | Thanked: 81 times | Joined on Dec 2011 @ P town
#51
Hi shawnjefferson,
I'm using custom brightness from gebeleysis, after using your modules I can't change the screen brightness anymore, it always stay in the brightest (level 5).
Also, I can't turn off the screen using the screen lock anymore.
 
Posts: 254 | Thanked: 509 times | Joined on Nov 2011 @ Canada
#52
Originally Posted by sLumPia View Post
I'm using custom brightness from gebeleysis, after using your modules I can't change the screen brightness anymore, it always stay in the brightest (level 5).
Also, I can't turn off the screen using the screen lock anymore.
Anyone else seeing this behavior? Neither of these things are problems on my device, I can adjust my brightness (I'm not using that app, but I can adjust brightness via status menu widget with no problems.) I also can lock my screen and keypad with the power button menu item, "Lock screen and keys". Is that what you mean?

It also doesn't make much sense, since I didn't change any of those modules. I assumed that these modules would work just fine with the existing mce, but perhaps they don't? I'll test that out on my device.

Anyone try this and write any cool 3-engine LED patterns yet?
 

The Following User Says Thank You to shawnjefferson For This Useful Post:
Posts: 153 | Thanked: 81 times | Joined on Dec 2011 @ P town
#53
Originally Posted by shawnjefferson View Post
I also can lock my screen and keypad with the power button menu item, "Lock screen and keys". Is that what you mean?
Nope, not with "Lock and screen" key when you press power button, but with the button(or switch key) on top of mic and stylus.
 
Posts: 254 | Thanked: 509 times | Joined on Nov 2011 @ Canada
#54
Originally Posted by sLumPia View Post
Nope, not with "Lock and screen" key when you press power button, but with the button(or switch key) on top of mic and stylus.
oh, I'm definitely not seeing that either. Works perfectly fine on my device. When you go back to your old libled.so and libkeypad.so files, it works again fine?
 
Posts: 153 | Thanked: 81 times | Joined on Dec 2011 @ P town
#55
Yes, when I go back to old lib files it normal again.
However, I do restart my phone when revert back to old lib (I didn't restart my phone when applying your lib files).
Maybe later, I will try your lib files and restart my phone, and see if it make any difference.

---edit---
I try to install the new lib files again and reboot the phone, but I still encounter the same result: screen brightness set to the max and lock switch not functioning. I even try power off my phone, pull out the battery and power on again, but it makes no difference.
No body else encounter similar problem? Only me?

I also found something weird.
When I using your new lib files, I lost my internet connection (as in the Internet connection applet show nothing when I pressed it).
When I revert to the old lib files, it come back again. I don't even need to restart my phone.
Attached Images
  

Last edited by sLumPia; 2014-02-04 at 12:57.
 
Posts: 254 | Thanked: 509 times | Joined on Nov 2011 @ Canada
#56
Originally Posted by freemangordon View Post
@shawnjefferson: while you're at it, could you please look at that bug report, please http://talk.maemo.org/showpost.php?p...0&postcount=34
This is definitely a bug in this version of mce. If I go back to the old /sbin/mce file, the keypad unlocks/wakes up the device. I'll try to track it down.

Also, I think it is a good idea to clone the source code at gitorious and do merge requests for whatever you think might be an improvement/bug fix
I've never use git to do any merge requests, only to download code to compile. I'll have to look into how to do that.
 

The Following 4 Users Say Thank You to shawnjefferson For This Useful Post:
DA5's Avatar
Posts: 70 | Thanked: 338 times | Joined on Jan 2013
#57
Originally Posted by sLumPia View Post
Hi shawnjefferson,
I'm using custom brightness from gebeleysis, after using your modules I can't change the screen brightness anymore, it always stay in the brightest (level 5).
Also, I can't turn off the screen using the screen lock anymore.
Originally Posted by shawnjefferson View Post
Anyone else seeing this behavior?
I had the same problem. It turns out copying and pasting the 3Engine mce.ini portion directly from your post inserts the line 800000 into mce.ini, which was preventing mce from properly loading.

Code:
# mce
mce: Could not load mce.ini; Key file contains line '800000' which is not a key-value pair, group, or comment
It should be:

Code:
[LEDPatternLystiRX51-3Engine]
PatternError=0;5;0;100;9d8040007f007f0040ff7f007f000000;9d800000;9d800000
PatternDeviceOn=254;0;0;111;9d804000422043207f100000;9d800000;9d800000
PatternDeviceSoftOff=253;0;0;110;9d804000423f433f7f100000;9d800000;9d800000
PatternPowerOn=9;3;0;111;9d80400042ff02ffc000;9d800000;9d800000
PatternPowerOff=10;3;0;111;9d80400001ff43ff7f007f00c000;9d800000;9d800000
PatternCommunicationCall=30;1;0;001;9d80400002ff03ff02ff03ff71080000;9d800000;9d800000
PatternCommunicationIM=30;1;0;001;9d80400002ff03ff02ff03ff71080000;9d800000;9d800000
PatternCommunicationSMS=30;1;0;001;9d80400002ff03ff02ff03ff71080000;9d800000;9d800000
PatternCommunicationEmail=30;1;0;001;9d80400002ff03ff02ff03ff71080000;9d800000;9d800000
PatternCommonNotification=30;1;0;001;9d80400002ff03ff02ff03ff71080000;9d800000;9d800000
PatternWebcamActive=20;1;0;100;9d80400004ffc0000000;9d800000;9d800000
PatternBatteryCharging=50;4;0;110;9d804000427f0d7f7f007f0042000000;9d800000;9d800000
PatternBatteryFull=40;4;0;010;9d80407f0000;9d800000;9d800000
 

The Following 5 Users Say Thank You to DA5 For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#58
Originally Posted by shawnjefferson View Post
Anyone try this and write any cool 3-engine LED patterns yet?
I think that updating LED Pattern Editor to correctly handle 3 engines may be required before it happens. While one can do patterns via text file editing, it's a PITA to do anything more than something blue, red, or green.

Personally, I've created patterns (2-engine ones) with different colors for all kind of notifications - at the same time time maintaining style of vanilla "general-purpose" notification, and keeping net intensity the same. It's quite minimalistic on surface (I don't like turning my devices into bloody Christmas tree, blinking with all colors of the rainbow), but required some work and tuning under the hood (especially the net intensity thing).

I would love to (ab)use 3th engine for even more diversity between colors for different events, but "mixing" three colors via pure text, without help of LPE graphs, is a no-go.

Cheers,
/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following User Says Thank You to Estel For This Useful Post:
Posts: 153 | Thanked: 81 times | Joined on Dec 2011 @ P town
#59
@DA5,
I've confirm this. After copying 3Engine from your post to mce.ini, I don't encounter the error anymore.
Thanks.
 

The Following 2 Users Say Thank You to sLumPia For This Useful Post:
Posts: 254 | Thanked: 509 times | Joined on Nov 2011 @ Canada
#60
I have done some more experimentation with controlling keypad LEDs, and here's what I think... discussion welcomed:

Controlling keypad LEDs as part of the patterns in MCE.ini

This is easy, and already implemented in the latest version. Here's where the problem lies though: when the pattern is over, your keypad LEDs turn off. The keypad control would turn them back on when any event that normally turns them on happens, like keypad slider change, etc... Getting these two modules (LEDs and keypad) to play nice together seems like quite a bit of work and complex, and I wonder if it's even worth it.

Using patterns for KeyboardOn and KeyboardOFF

I have tried this as well... the problem is also that other patterns can (and should) interrupt the keyboard on pattern, but you don't want your keypad flashing on and off. This is basically the same problem as above, there needs to be quite a bit of logic to make all this work together between the keypad and LED patterns. I don't think it's worth it personally.

What I have currently is a build that manages the keypad LEDs normally (either on or off at the desired brightness level), and also allows the keypad LEDs to be used with patterns, but it doesn't do anything about the state of the keypad LEDs after the pattern is over.

PS. I also looked in the bug that causes the keypad not to wake up the device after idle timeout, but this bug is beyond me... I suspect it's in tklock.c somewhere, but I can't pinpoint it.
 

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

Tags
cssu-mce, fremantle, hdtd thread, htdt detected


 
Forum Jump


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