Add device-specific configs for osk-sdl (#615)
This commit is contained in:
parent
4b67d15535
commit
91b846db30
13 changed files with 42 additions and 18 deletions
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-lg-mako
|
||||
pkgver=2
|
||||
pkgrel=9
|
||||
pkgrel=10
|
||||
pkgdesc="Google Nexus 4"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -9,7 +9,7 @@ depends="linux-lg-mako mkbootimg"
|
|||
makedepends=""
|
||||
install=""
|
||||
subpackages=""
|
||||
source="deviceinfo initfs-hook.sh 90-android-touch-dev.rules profile.sh udev-v4l-hack.sh"
|
||||
source="deviceinfo initfs-hook.sh 90-android-touch-dev.rules profile.sh udev-v4l-hack.sh pointercal fb.modes"
|
||||
options="!check"
|
||||
|
||||
build() {
|
||||
|
@ -25,12 +25,16 @@ package() {
|
|||
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
||||
install -D -m644 "$srcdir"/profile.sh \
|
||||
"$pkgdir"/etc/profile.d/00-$pkgname.sh
|
||||
install -D -m644 "$srcdir"/udev-v4l-hack.sh \
|
||||
"$pkgdir"/etc/profile.d/00-udev-v4l-hack.sh
|
||||
install -D -m644 "$srcdir"/pointercal \
|
||||
"$pkgdir"/etc/pointercal
|
||||
install -D -m644 "$srcdir"/fb.modes \
|
||||
"$pkgdir"/etc/fb.modes
|
||||
}
|
||||
|
||||
sha512sums="cbfc1af79cd91bd62adccf22cbfa00f1d6edf35a9e6893a90e09852c014224b2593523ef3eeacd2c05a7a711f0c88c48dc09a7665aaac71e5abe632c71c607aa deviceinfo
|
||||
sha512sums="6d1bdf9037a8b19475e315c637b65d8f6785b8b57e05d61c1c088fb57cbd6bf1be2aa0c538ed64c582f49b4e2e16b848db58ac062159a2812221a6d9c1e0b6d7 deviceinfo
|
||||
8590967fa10388a890fdfafdb1070b9ab22dc89e06a3a8834806c772191e3b67de7b914b0d68e5ddf581cee715cb90f3f24abcb8762c415ff328c6da23e55d52 initfs-hook.sh
|
||||
ee25f3d0377f027d108593eb7953b8db49d7f05a5c36a0c8ca7e7849d15e3c217bc1ac97d77a66e28d2db4b81c0f50b905639911276da40321d2b6cca7f797df 90-android-touch-dev.rules
|
||||
d04013c17caf77a87ebea167dbe48f7efa9c9d3123c5743d359f3ea8ccc6b268fa021535a4bf8291eb4a352f0c92f6eb527da0db340421f53bc1cc439a453306 profile.sh
|
||||
4f528656c4febb18742e89552dfe7fdc824ed4ad6ad2777d20b4f55040edd93d8e3ea657baabcdbe77bd0fb4bd3d23e5e0b2dae574f0df6723b2e26216ee81e1 udev-v4l-hack.sh"
|
||||
4f528656c4febb18742e89552dfe7fdc824ed4ad6ad2777d20b4f55040edd93d8e3ea657baabcdbe77bd0fb4bd3d23e5e0b2dae574f0df6723b2e26216ee81e1 udev-v4l-hack.sh
|
||||
52b1465c75c51e2dc2e351a0609220af04b939b9edf7fca844cc00bb9eeb4e71f53e34817ba094e477fc43bf15101fcfd07963c791a36be5c52f199bba6a6d9d pointercal
|
||||
217bdf692ade75d57968299e29e9379ffcfc97addf735663b3e1e7dfce049f9d13b26347b4405ac724ae5fac2946012dcc58014b23b8df357e225b6718dbc0a6 fb.modes"
|
||||
|
|
|
@ -5,7 +5,6 @@ deviceinfo_format_version="0"
|
|||
deviceinfo_name="Google Nexus 4"
|
||||
deviceinfo_manufacturer="LG"
|
||||
deviceinfo_date=""
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_nonfree="????"
|
||||
deviceinfo_dtb=""
|
||||
deviceinfo_modules_initfs=""
|
||||
|
@ -14,9 +13,11 @@ deviceinfo_external_disk_install="false"
|
|||
deviceinfo_flash_methods="fastboot"
|
||||
deviceinfo_arch="armhf"
|
||||
|
||||
# Splash screen
|
||||
# Device related
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_screen_width="768"
|
||||
deviceinfo_screen_height="1280"
|
||||
deviceinfo_dev_touchscreen="/dev/input/event2"
|
||||
|
||||
# Fastboot related
|
||||
deviceinfo_generate_bootimg="true"
|
||||
|
|
7
device/device-lg-mako/fb.modes
Normal file
7
device/device-lg-mako/fb.modes
Normal file
|
@ -0,0 +1,7 @@
|
|||
mode "768x1280-0"
|
||||
# D: 0.002 MHz, H: 0.002 kHz, V: 0.002 Hz
|
||||
geometry 768 1280 768 1280 16
|
||||
timings 453770000 180 8 22 8 4 2
|
||||
accel false
|
||||
rgba 8/24,8/16,8/8,8/0
|
||||
endmode
|
1
device/device-lg-mako/pointercal
Normal file
1
device/device-lg-mako/pointercal
Normal file
|
@ -0,0 +1 @@
|
|||
33530 -135 -964096 114 32899 -1376992 65536 768 1280
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-nokia-rx51
|
||||
pkgver=1
|
||||
pkgrel=17
|
||||
pkgrel=18
|
||||
pkgdesc="Nokia N900"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -18,6 +18,7 @@ source="
|
|||
acpi_handler.sh
|
||||
acpi.map
|
||||
keymaps/rx51_us.map
|
||||
pointercal
|
||||
$install
|
||||
"
|
||||
options="!check"
|
||||
|
@ -37,6 +38,8 @@ package() {
|
|||
"$pkgdir"/boot/boot.scr
|
||||
install -D -m644 "$srcdir"/backlight-enable.sh \
|
||||
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}-backlight.sh
|
||||
install -D -m644 "$srcdir"/pointercal \
|
||||
"$pkgdir"/etc/pointercal
|
||||
|
||||
# Udev rules
|
||||
install -D -m644 "$srcdir"/90-touchscreen-dev.rules \
|
||||
|
@ -56,7 +59,7 @@ package() {
|
|||
"$pkgdir"/usr/share/bkeymaps/us/rx51_us.bmap.gz
|
||||
}
|
||||
|
||||
sha512sums="0c88afd6169f22f75f50c8475690b447eedbe29b24d7feb425dd2725f9a32482602cee32d0cfd6028f59cde03343a07bc5f951904a72ca4f62c460a79b2a4b00 deviceinfo
|
||||
sha512sums="7585e3aa89fc6576c70219e15d32af5fe333e2f7379a76e702ffaa959cbcd3e86ee243094abef3cf779545eda9677d55dea4b8c0396ab70191359b35883685c4 deviceinfo
|
||||
1b89309dd4fe7ee0ba37c6224a0152d6864bb1c7bc4e96918a57e01bebc4173559855ae9673887223de4a8baa3191c8ad88ec8594776a4110cdb19a7be790db4 uboot-script.cmd
|
||||
3d55e34b95791636e44a5f41754f3d0de039dbba41f7a556d43a95c9e64afcfa930046b4b96b40020b6f196096ffba93514682927e32fa4488686fdd19c6da5a backlight-enable.sh
|
||||
d303734dd49fe75a299ca723f4da52bc0cda2775683c54aa736aabf397db4ae8deb6d912d4116800cf2ba17f3a2987ab3e839652879b8ab023b4a91a55849f08 90-touchscreen-dev.rules
|
||||
|
@ -64,4 +67,5 @@ d303734dd49fe75a299ca723f4da52bc0cda2775683c54aa736aabf397db4ae8deb6d912d4116800
|
|||
df5dcae9a32d04ba2fed8b4dbb8722f8d56d063a288dfbaeca37806bdbb8ba4de639b392859b9f24040a1032456d5dcd754f51314e3ab66515b91ae1e03c93a7 acpi_handler.sh
|
||||
7761aec6e6e219245b006e7bdc1d19812e9c5915cf3e64bb3dd46bb4b5570c1715650b53a1fc1007cb814076b5d81be0a66ba7ebf06d9a1fa4e364725c3ee633 acpi.map
|
||||
c9ff8b5968fe94007e1139db5ae76f3ee6c214356bff297b9672276c6adb332ba2342b6ca54cf7992d6556f3c68a13ef49ae5e61abe86154935514034170e228 rx51_us.map
|
||||
143c21f0b18a016d37cb44178e9daea09f128a90769b48353c03c3f245cb9b1f7e773b9ccee084973fc78ddd7a18c2642e54888a85bda7c7daecddc9a8c62eff pointercal
|
||||
12d5c1cc4295bbcaad5f0aa7dc73055ed062e53be2d249c2d067624da8fe373fc3c49f68462797d0fc3b9a79079ca657aece77437319dc9772c2624844873891 device-nokia-rx51.post-install"
|
||||
|
|
|
@ -15,6 +15,8 @@ deviceinfo_external_disk_install="true"
|
|||
deviceinfo_flash_methods="0xFFFF"
|
||||
deviceinfo_generate_legacy_uboot_initfs="true"
|
||||
deviceinfo_arch="armhf"
|
||||
deviceinfo_dev_touchscreen="/dev/input/event3"
|
||||
deviceinfo_dev_keyboard="/dev/input/event1"
|
||||
deviceinfo_swap_size_recommended="1024"
|
||||
|
||||
# Splash screen
|
||||
|
|
1
device/device-nokia-rx51/pointercal
Normal file
1
device/device-nokia-rx51/pointercal
Normal file
|
@ -0,0 +1 @@
|
|||
14100 12 -2857148 -5 -8992 33467656 65536 800 480
|
|
@ -32,7 +32,7 @@ package() {
|
|||
"$pkgdir"/etc/modules-load.d/00-${pkgname}.conf
|
||||
}
|
||||
|
||||
sha512sums="7e11955f8db3ce3a2645d8efe162d1a1989ed79373b16384360301d2b84e26fa244696ad420d83cba2ad80a5663967394e3ea6a7d066c7e49d1cbbcb87dda0e3 deviceinfo
|
||||
sha512sums="a71af1256822f5ad966433bff63a4f749eeae1c166a4613987f490362dbcc3031acb6e7380f35bbd07d6a410c7728fe5b355b18e0cf122902c4b8a90e6166e4c deviceinfo
|
||||
098187f6ab56d2542f98f1b5fbcf493431f665a4300db05e859357366e39b02a3d508bfd94c1d1bd7c669261e7ef0d4e1aef1fdbb15541fe34f3f48a6caa247f initfs-hook.sh
|
||||
ffa8ba47539f0b4a931c560811d7842c7f5270631066c270322859c1ef77e63fba09a8462c2533bd6d095056b2c7936c2d4fc4e225f3cff45169f121bf93d8ed 90-android-touch-dev.rules
|
||||
61e8becbf6fa7c1c6c42e481083f5981ae7af33a48cbc53e817d8ac2c6a8e4f67a54b32ae3b8f5f25f7b412165a849dc93a629110dc47b0d16927bf2a12eb7e1 modules-load.conf"
|
||||
|
|
|
@ -5,7 +5,6 @@ deviceinfo_format_version="0"
|
|||
deviceinfo_name="Galaxy S Advance"
|
||||
deviceinfo_manufacturer="Samsung"
|
||||
deviceinfo_date=""
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_nonfree="????"
|
||||
deviceinfo_dtb=""
|
||||
deviceinfo_modules_initfs=""
|
||||
|
@ -14,9 +13,11 @@ deviceinfo_external_disk_install="true"
|
|||
deviceinfo_flash_methods="heimdall-isorec"
|
||||
deviceinfo_arch="armhf"
|
||||
|
||||
# Splash screen
|
||||
# Device related
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_screen_width="480"
|
||||
deviceinfo_screen_height="800"
|
||||
deviceinfo_dev_touchscreen="/dev/input/event2"
|
||||
|
||||
# Heimdall related
|
||||
deviceinfo_flash_heimdall_partition_kernel="Kernel"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-samsung-i9100
|
||||
pkgver=1
|
||||
pkgrel=11
|
||||
pkgrel=12
|
||||
pkgdesc="Samsung Galaxy SII"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -27,6 +27,6 @@ package() {
|
|||
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
||||
}
|
||||
|
||||
sha512sums="f40ad78047359105471625a60ceb6958ea907476293ae3289c36f385988c8dedee6f6b6311b2cdd7570b8369eb8e0e6e30f2b04cfb8549fdfc653898f959b5a9 deviceinfo
|
||||
sha512sums="6ca79453a09003d959319374d0abaac28676601f075404db078cd3757e6eab231770669b9af3c7493ac328ff16657288dcef191bd5a47a5273cd56ce7bf2366e deviceinfo
|
||||
8aead706ddb118a44de7d049f07d10a27e727d17724058d132e4ec4fa73fed29c9ccfe03f02aca459c922ec0fbba24e171fe3c76e33f7c5462631e3dd5506e36 90-android-touch-dev.rules
|
||||
03da52725e676bc7db371cbf4b60bff8689eca469dae96a02ca7d6c194ed9f8c4ec9d19d1ac9212eeba0b73384fd213e86f2b93da94f37e5abe4cc3339281205 device-samsung-i9100.post-install"
|
||||
|
|
|
@ -5,7 +5,6 @@ deviceinfo_format_version="0"
|
|||
deviceinfo_name="Galaxy SII"
|
||||
deviceinfo_manufacturer="Samsung"
|
||||
deviceinfo_date=""
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_nonfree="????"
|
||||
deviceinfo_dtb=""
|
||||
deviceinfo_modules_initfs=""
|
||||
|
@ -14,9 +13,12 @@ deviceinfo_external_disk_install="true"
|
|||
deviceinfo_flash_methods="heimdall-isorec"
|
||||
deviceinfo_arch="armhf"
|
||||
|
||||
# Splash screen
|
||||
# Device related
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_screen_width="480"
|
||||
deviceinfo_screen_height="800"
|
||||
deviceinfo_dev_touchscreen="/dev/input/event2"
|
||||
|
||||
|
||||
# Heimdall related
|
||||
deviceinfo_flash_heimdall_partition_kernel="KERNEL"
|
||||
|
|
|
@ -32,7 +32,7 @@ package() {
|
|||
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
||||
}
|
||||
|
||||
sha512sums="48d66379b833fdef65de3cefa82eeb25c10cce156caf579d936cf089a0ce9cf1b447f40ccd89dfeb6c8919a47209f110829fa4cd4acdd1c0e02cdb188aeeb07a deviceinfo
|
||||
sha512sums="aa0f09fe3c32dc19ff7f012c6ee5a32bdfb333e45ed78ed2074371a520fbd1d2a8d8a24a004e948082b3cc2d9374c5f86427f3b27d8dc1a69d9666966977cfc8 deviceinfo
|
||||
27e89ef3102a89e99065ea12cd36d8ebe1c7e95f2f7082c0e7e3e280fcd2473aa197538bae18ac8995ddf3a7dd962622a56a6f0c037ad193fa9bba95bbb7ee9c bcmdhd.cal
|
||||
8590967fa10388a890fdfafdb1070b9ab22dc89e06a3a8834806c772191e3b67de7b914b0d68e5ddf581cee715cb90f3f24abcb8762c415ff328c6da23e55d52 initfs-hook.sh
|
||||
f8c85b0ffcee751ee30d5f1fd8ed8e8413d9599875839fbc9bcfd85f08dbf203fecbd171fc3fe4e2742c5b8243132f6110142ff41193d6ad7df29b411516e199 90-android-touch-dev.rules"
|
||||
|
|
|
@ -13,6 +13,7 @@ deviceinfo_external_disk="false"
|
|||
deviceinfo_external_disk_install="false"
|
||||
deviceinfo_flash_methods="fastboot"
|
||||
deviceinfo_arch="armhf"
|
||||
deviceinfo_dev_touchscreen="/dev/input/event1"
|
||||
|
||||
# Splash screen
|
||||
deviceinfo_screen_width="720"
|
||||
|
|
Loading…
Reference in a new issue