device-sony-amami: Xperia Z1 compact needs /etc/fb.modes for charging-sdl

This commit is contained in:
Valentin Marinov 2018-10-16 08:56:53 +03:00 committed by Oliver Smith
parent 6c015c95ae
commit 9666ffaa98
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 13 additions and 3 deletions

View file

@ -1,6 +1,6 @@
pkgname=device-sony-amami
pkgver=2
pkgrel=1
pkgrel=2
pkgdesc="Sony Xperia Z1 Compact"
url="https://postmarketos.org"
arch="noarch"
@ -13,7 +13,7 @@ subpackages="
$pkgname-kernel-mainline:kernel_mainline
$pkgname-nonfree-firmware:nonfree_firmware
"
source="deviceinfo 90-android-touch-dev.rules"
source="deviceinfo 90-android-touch-dev.rules fb.modes"
options="!check"
package() {
@ -21,6 +21,8 @@ package() {
"$pkgdir/etc/deviceinfo"
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
install -D -m644 "$srcdir"/fb.modes \
"$pkgdir"/etc/fb.modes
}
kernel_downstream() {
@ -42,4 +44,5 @@ nonfree_firmware() {
}
sha512sums="9ef2676a185b0ac6340ccadb6951ef572dcd5839161b5fcb967889f476046ad39bba60e04b9a5a65e206879f0add1b1ff8d9269c944be2c236ab10b52f8c92e2 deviceinfo
8b6034c0338ab4c7d648f47983aad6da07e427e7dba47baabf85a1b3ddeeda47c8d7fbcd547a302c9a759b2943ee30d3e82c3b368d8582833a058e4671638a9e 90-android-touch-dev.rules"
8b6034c0338ab4c7d648f47983aad6da07e427e7dba47baabf85a1b3ddeeda47c8d7fbcd547a302c9a759b2943ee30d3e82c3b368d8582833a058e4671638a9e 90-android-touch-dev.rules
4dc5b6a2d9de6b97e4033b14771b8a6afe922afcd0bc4c97481cfad775726109dd0570058b94b2cd805691343076e7d4d886218787ba883cc31dd1e6e3abb0af fb.modes"

View file

@ -0,0 +1,7 @@
mode "720x1280-1"
# D: 2.336 MHz, H: 2.704 kHz, V: 1.965 Hz
geometry 720 1280 720 3840 16
timings 428000 4 136 1 94 4 1
accel false
rgba 8/0,8/8,8/16,8/24
endmode