|
#1
|
||||
|
||||
|
the bug with indicator LED not shining anymore when device gets locked in bright daylight (>1000LUX) got identified and fixed:
Create a backup of /usr/lib/mce/modules/libfilter-brightness-als.so, just in case Code:
IroN900:~# ll /usr/lib/mce/modules/libfilter-brightness-als.so -rw-r--r-- 1 root root 36952 2013-11-23 07:45 /usr/lib/mce/modules/libfilter-brightness-als.so IroN900:~# md5sum /usr/lib/mce/modules/libfilter-brightness-als.so b061876d6fe017bd3baeff2600c800e9 /usr/lib/mce/modules 1/libfilter-brightness-als.so cp /usr/lib/mce/modules/libfilter-brightness-als.so \ /usr/lib/mce/modules/libfilter-brightness-als.so_backup save the file with byte changed [edit] (probably needs sed-gnu! busybox sed seems to fail) Code:
IroN900:~# od -A x -tx1 /usr/lib/mce/modules/libfilter-brightness-als.so \
|grep '05 00 00 00 05 00 00 00 00 00 00 00' \
&& sed -i -E 's/\x05\x00\x00\x00\x05\x00\x00\x00\x00\x00\x00\x00/\x05\x00\x00\x00\x05\x00\x00\x00\x05\x00\x00\x00/' \
/usr/lib/mce/modules/libfilter-brightness-als.so \
&&od -A x -tx1 /usr/lib/mce/modules/libfilter-brightness-als.so|grep '0086a0'
0086a0 05 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00
0086a0 05 00 00 00 05 00 00 00 05 00 00 00 00 00 00 00
cheers jOERG http://mg.pov.lt/maemo-ssu-irclog/%2...11-23T06:20:48 Code:
als_profile_struct led_als_profiles_rx51[] = {
{
{ { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 } },
{ 0, 0, 0, 0, 0, 0 }
}, {
{ { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 } },
{ 0, 0, 0, 0, 0, 0 }
}, {
{
{ 32, 64 },
{ 100, 1000 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
}, { 5, 5, 0, 0, 0, 0 }
}, {
{ { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 } },
{ 0, 0, 0, 0, 0, 0 }
}, {
{ { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 } },
{ 0, 0, 0, 0, 0, 0 }
}
};
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms] Hildon Foundation Council inaugural member. MCe.V. foundation member EX Hildon Foundation approved Maemo Administration Coordinator (stepped down due to bullying 2014-04-05) aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/ IRC(freenode): DocScrutinizer* First USB hostmode fanatic, father of H-E-N Last edited by joerg_rw; 2016-02-08 at 14:28. |
| The Following 11 Users Say Thank You to joerg_rw For This Useful Post: | ||
|
#2
|
|||
|
|||
|
care to elaborate how to fix that on the source code level? I will put some time on mce these days and will include that fix.
__________________
Never fear. I is here. 720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900 Nothing is impossible - Stable thumb2 on n900 Community SSU developer kernel-power developer and maintainer |
| The Following 10 Users Say Thank You to freemangordon For This Useful Post: | ||
![]() |
| Tags |
| bugfix, mce-fix, notifier-led |
|
|