This website requires JavaScript.
Explore
Help
Sign In
forge
/
pmaports
Watch
1
Star
0
Fork
You've already forked pmaports
0
Code
Issues
2
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
ffb351f136
pmaports
/
device
/
testing
/
device-xiaomi-armani
/
device-xiaomi-armani.pre-deinstall
4 lines
82 B
Text
Raw
Normal View
History
Unescape
Escape
Initial porting effort to Xiaomi Redmi 1S (armani) (#1204) The device is Xiaomi Redmi 1S, based on MSM8296 platform, with Qualcomm Snapdragon 400. The kernel is from lineageOS (3.4.0). Some additional patches are needed for successful compilation. The screen dimension is 720x1280. The touchscreen device name is ft5x06_i2c. Use this name for udev instead of hardcoded device path. Also add a workaround for red screen weston by setting weston_pixman to 2 The screen doesn't refresh. Enabling msm-fb-refresher as suggested. Add udev rule to indicate whether the device is in charging state. Green led indicates that the device is charging, whereas red light indicates that the device is discharging. For prima wlan module to work, an initialization procedure is needed ( echo 1 > /dev/wcnss_wlan ), before loading the prima wlan module (wlan.ko). Also build the prima wlan as module. Xiaomi Redmi 1S is using pronto wlan module, which needs some firmware to run. Add the required wifi firmware to enable the wifi interface. Add an openrc service to load wlan module after wcnss_service is initialized.
2018-02-05 19:58:08 +00:00
#!/bin/sh
# Removing wlan module loading
xiaomi-armani: load wlan module on default runlevel Previous post install action results in loading wlan module during sysinit. This is not possible since wlan device is only exposed after wcnss-wlan service. This also delays ssh startup for approximately 3 minutes. Loading wlan module should only be done on default runlevel, after wcnss-wlan service has been started. Also add a reference fb.modes file, although directfb applications still doesn't work and cause the framebuffer driver to crash.
2018-03-29 04:00:01 +00:00
rc-update del wlanarmani default || true
Reference in a new issue
Copy permalink