04-23-2023, 01:32 PM
(04-23-2023, 09:58 AM)Thisone Wrote: Is there anything specific i have to do during the installation, to use the Pine Touch Display as Display?
It certainly won't work with the RC1 installer as that doesn't have the 6.1.20-2 kernel.
The daily build should have the needed kernel module, but I recommend forgetting about running Debian Installer with the Touch Display as that looks way too complicated.
Once Debian is installed, then try to make the Touch Display work ...
(04-23-2023, 11:11 AM)Thisone Wrote: Or the better question is, how do i use the Display with Debian?
... as I just noticed something which I didn't before.
Next to the needed kernel module, you also need to have the touchscreen 'enabled' in the Device Tree (which describes the hardware).
While I had seen that that was added in the upstream kernel what I failed to notice before is the
Code:
status = "disabled"
But how to do that is a bit tricky ... at least for me as I'm just starting to learn about these things.
It's probably best to create a new/separate topic for that (or heavily modify the title of this thread).
If you install the 'device-tree-compiler' package on your system, you get f.e. the 'fdtget' and 'fdtput' (some doc) with which you can read and write (respectively) to the device tree.
While that may be useful to directly try it, I don't know if that would survive a reboot. It may be possible to 'script' it ones you've found the exact sequence of commands to do that, but it isn't the most user friendly.
Another option is to modify Device Tree source code files (which are in the Linux kernel) and then build (and deploy) the modified dtb files (from dts(i) files).
And then there's a 3rd option and that's actually the best suited: Device Tree Overlays.
But there are some issues with that as it doesn't just work with the upstream and thus Debian kernel (OOTB).
Getting started with fdtget/fdtput is possibly doable. Modifying kernel source code and building custom dtbs is likely doable for me, but there are some possible drawbacks to that solution. It could also have a rather steep learning curve, especially if you're not used to compiling from source.
I don't know enough about DTO and how to make that work, so you need to ask someone else for that.
It's probably a worthwhile topic to discuss (and answer by someone who does have the required knowledge) as this is a useful general thing which applies to all (?) devices that use Device Trees (~ all ARM devices, amongst others).
But GPIO should just work OOTB once you've installed the Debian system.