Bug #313
closedSetting contrast value for SmartXX V3 changes backlight when modchip detection is ON.
100%
Description
If I enable modchip detection in "advancedsettings.xml" with a SmartXX V3, changing contrast value in settings will actually change backlight value.
In "smartxxlcd.cpp" source file, you can see that both "DisplaySetBacklight"(line 414) and "DisplaySetContrast"(line 465) functions output commands to "register" 0xF701 (DISP_O_LIGHT = 0xF701)
Line 465 should be something like: _outp(DISP_O_CONTRAST, itemp);
I guess you could also ditch "itemp" variable and use "iNewLevel&127|128" int "_outp" function.
P.S.: I don't own a real SmartXX V3 but spoofing it with the modchip I currently develop exhibited the described behavior. I attached a "fixed" source file but it is untested as I don't have the necessary setup to build XBMC. I will change that soon!
Files
Updated by dandar3 over 10 years ago
- File smartxxlcd.cpp.patch smartxxlcd.cpp.patch added
Provide .patch from psyko_chewbacca's changes.
Updated by buzz over 10 years ago
- Status changed from New to Closed
- Assignee set to buzz
- % Done changed from 50 to 100
- Resolution set to fixed
thanks. fixed in r32875.