<gbkersey>
trying to get touchbar working on Apple MacBook Pro (13-inch, M1, 2020), running kernel 6.16.0-1002-asahi-arm, I see /dev/dri/card[1-3] and it appears card 2 is display-pipe-card... When I run tiny-dfr, I'm getting permission denied.... RW permission is allowed for members of the video group of which my user is a member... any hints?
<tobhe[m]>
hm not sure, unfortunately i don't have a device with touch bar so i never tested that
<tobhe[m]>
could it be we are missing a kernel config option to make it work?
<tobhe[m]>
could you run it with strace to figure out what exactly fails?
<gbkersey>
sure. I suspect that I don't have the correct kernel module loaded... I think the module for this first in mainline 6.15, but I'm not sure of the name of the module.
<john-cabaj[m]>
I think that config option is CONFIG_TOUCHSCREEN_APPLE_Z2 which is set to 'm'
<john-cabaj[m]>
Let me check where the module is
<john-cabaj[m]>
Should be in ./lib/modules/$(uname -r)/kernel/drivers/input/touchscreen/apple_z2.ko.zst
<tobhe[m]>
if you remove the udev rules in /etc/udev/rules.d/99-touchbar* (maybe move them to a backup directory) and reboot, does that change anything?
<gbkersey>
so I cloned tiny-dfr from git.... have the latest from that repo commit a04f1abf4179d0e3c2ddf5c9b1a442b923680ef9 (HEAD -> master, origin/master, origin/HEAD)
<gbkersey>
are there configuration instructions for tiny-dfr somewhere, or I just need to read the source?
<tobhe[m]>
oh questing is Ubuntu 25.10
<tobhe[m]>
so the developement release
<gbkersey>
ya, sorry....
<gbkersey>
I'm an LTS kinda guy
<tobhe[m]>
fair enough 🙂 but good to know the latest one fixes it, backporting it shouldn't be too hard
<tobhe[m]>
I am not aware of any docs unfortunately
<gbkersey>
OK, based on the included svg files, I'm thinking that the touchbar can do more than just function keys... guess I'll dig into the source at some point.