pmaports/device/device-huawei-angler/90-android-touch-dev.rules
zhuowei 0ed89b5621 angler: support Wi-Fi and graphics (#555)
* Package Broadcom Wi-Fi firmware from AOSP

This uses a mirror of AOSP's platform/hardware/broadcom/wlan repo at version
android-8.0.0_r12 (6c8ef5b600cec5d36a54a0276fe8c97b9ab8d6bb).

This is needed as Nexus 6P uses a BCM4358, and the blob available in Alpine's
linux-firmware package is old and vulnerable to Broadpwn. See #513.

* device: angler: enable Wi-Fi and graphics output

Changes:

- Set resolution on bootup

This is copied from the Nexus 5's init script.

- Add Wi-Fi calibration file and change firmware path

This is also based on the Nexus 5's implementation.

- Enable CONFIG_VT and NFS in the kernel

- Explicitly use identity touchscreen calibration

- Rename the touchscreen udev rules

- Enable msm-fb-refresher
2017-09-27 17:41:25 +00:00

7 lines
339 B
Text

# udev rules file
# All device names can be read from weston's logfile (/tmp/weston.log in postmarketOS)
# Use default calibration for now.
SUBSYSTEM=="input", ATTRS{name}=="synaptics_dsx", \
ENV{ID_INPUT}="1", ENV{ID_INPUT_TOUCHSCREEN}="1" \
ENV{ID_INPUT_TOUCHPAD}="" ENV{ID_INPUT_KEY}="" \
ENV{LIBINPUT_CALIBRATION_MATRIX}="1 0 0 0 1 0"