Jump to content

Deviceinfo dev touchscreen

From postmarketOS Wiki
Revision as of 21:29, 31 August 2017 by Ollieparanoid (talk | contribs) (Add libinput-list-devices method)

This page is about deviceinfo_dev_touchscreen from the deviceinfo file.

How to find the touchscreen device name? (initramfs only)

  • Connect to your initramfs via telnet
  • Run ls /dev/input
  • Try out one after another:
    • Change deviceinfo_dev_touchscreen in your deviceinfo
    • Rebuild the deviceinfo package, initramfs and flash:
 pmbootstrap checksum device-nokia-rx51
 pmbootstrap build --force device-nokia-rx51
 pmbootstrap initfs # rebuild initramfs
 pmbootstrap flasher boot_kernel


How to find the touchscreen device name? (flashing system)

Alternatively, run pmbootstrap install --no-fde and flash the system partition again. The initramfs will boot through without asking you for a password (because you disabled encryption). Then you can use the program libinput-list-devices to get the list of devices - with probably more useful names.

When you have the right device name, put it into your deviceinfo (as outlined above), then re-flash the encrypted system image. It should work now.