Deviceinfo dev touchscreen

From postmarketOS
Jump to: navigation, search

This page is about deviceinfo_dev_touchscreen from the deviceinfo file.

How to find the touchscreen device name?

Initramfs #1 (fastest)

  • Connect to your initramfs via telnet
  • Run ls /dev/input
  • For each device in there, do the following:
    • Run cat /dev/input/$device
    • Tap on the screen and see if you get any output
    • The device where you get output is the touch screen

Initramfs #2

  • 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


Flashing system + libinput list-devices

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.