-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/etc/mce/mce.ini.d/70-razr.ini.leste | ||
/lib/udev/rules.d/50-iio-sensors.rules.leste |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
leste-config-razr/* / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# MCE configuration for razr xt910 xt912 | ||
# DO NOT EDIT THIS FILE!! | ||
# Copy keys you want to change to 99-user.ini and edit them there | ||
|
||
[Modules] | ||
|
||
ModulesDevice=led-sw;led-dbus;button-backlight;iio-accelerometer;iio-als;evdevvibrator;iio-proximity;quirks-mapphone;battery-guard | ||
|
||
[IioAls] | ||
|
||
# bionic als reports lux but the values are very wrong corrected here | ||
CalScale = 25 | ||
|
||
[Backlights] | ||
|
||
# A list of all sysfs led names that should be configured | ||
ConfiguredLights=button-backlight | ||
|
||
# format = | ||
# hidden by slider ; | ||
# backlight is of main keyboard ; | ||
# led stays on when display is dimmed ; | ||
# led is locked to initial als state ; | ||
# fade time (ms) ; | ||
# als brightness profile to be used | ||
button-backlight=0;0;0;0;0;1 | ||
|
||
[LEDGenericSoftware] | ||
|
||
RedSysfs=status-led:red | ||
GreenSysfs=status-led:green | ||
BlueSysfs=status-led:blue | ||
|
||
# hardcoded in cpcap-charger.ko, so disabled here | ||
PatternBatteryCharging=50;3;0;0;0;0;0;0 | ||
PatternBatteryFull=40;3;0;0;0;0;0;0 | ||
|
||
[Battery] | ||
CriticalVoltage=3350 | ||
|
2 changes: 2 additions & 0 deletions
2
leste-config-razr/lib/udev/rules.d/50-iio-sensors.rules.leste
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
SUBSYSTEM=="iio", ENV{OF_NAME}=="isl29030", ENV{PROXIMITY_NEAR_LEVEL}+="200" | ||
SUBSYSTEM=="iio", ENV{OF_NAME}=="accelerometer", ENV{ACCEL_MOUNT_MATRIX}="-1, 0, 0; 0, -1, 0; 0, 0, 1" |