marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | "Does XXX work yet?": https://alx.sh/fs | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-alt #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
freeaks has quit [Quit: Textual IRC Client: www.textualapp.com]
rvalue has quit [Ping timeout: 480 seconds]
anders__2 has joined #asahi
rvalue has joined #asahi
anders_2 has quit [Ping timeout: 480 seconds]
anders2 has joined #asahi
anders__2 has quit [Ping timeout: 480 seconds]
jeisom__ has quit [Ping timeout: 480 seconds]
ten157237743246305 has quit [Remote host closed the connection]
ten157237743246305 has joined #asahi
capin has joined #asahi
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
KxCORP has quit [Quit: Bye!]
KxCORP has joined #asahi
capin has quit [Quit: WeeChat 4.2.1]
Bertrand___ has quit [Ping timeout: 480 seconds]
Bertrand___ has joined #asahi
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #asahi
bruse has joined #asahi
bruse has quit [Ping timeout: 480 seconds]
jeisom__ has joined #asahi
jeisom__ has quit []
skipwich has quit [Quit: DISCONNECT]
skipwich has joined #asahi
jeisom has joined #asahi
Brainium has quit [Quit: Konversation terminated!]
calcium has quit [Quit: leaving]
calcium has joined #asahi
scsh has quit [Quit: scsh]
scsh has joined #asahi
calcium has quit [Quit: leaving]
calcium has joined #asahi
Bertrand___ has quit [Read error: Connection reset by peer]
Bertrand___ has joined #asahi
bruse has joined #asahi
bruse has quit [Ping timeout: 480 seconds]
JayBeeFOSS has quit [Remote host closed the connection]
JayBeeFOSS has joined #asahi
c10l has quit [Quit: Ping timeout (120 seconds)]
c10l has joined #asahi
jeisom has quit [Ping timeout: 480 seconds]
possiblemeatball has quit [Quit: Quit]
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
shiggitay has quit [Ping timeout: 480 seconds]
tdr has left #asahi [Leaving]
Bertrand___ has quit [Remote host closed the connection]
Bertrand___ has joined #asahi
john-cabaj has quit [Ping timeout: 480 seconds]
c10l has quit [Quit: Ping timeout (120 seconds)]
c10l has joined #asahi
bruse has joined #asahi
bruse has quit [Ping timeout: 480 seconds]
Bertrand___ has quit [Ping timeout: 480 seconds]
Bertrand___ has joined #asahi
Bertrand___ has quit [Read error: Connection reset by peer]
Bertrand___ has joined #asahi
bruse has joined #asahi
bruse has quit [Ping timeout: 480 seconds]
buroa5 has joined #asahi
buroa has quit [Ping timeout: 480 seconds]
buroa5 is now known as buroa
Bertrand___ has quit [Ping timeout: 480 seconds]
Bertrand___ has joined #asahi
millenialhacker has joined #asahi
millenialhacker has quit [Quit: Konversation terminated!]
bruse has joined #asahi
bruse has quit [Ping timeout: 480 seconds]
c10l has quit [Read error: Connection reset by peer]
Bertrand___ has quit [Ping timeout: 480 seconds]
Bertrand___ has joined #asahi
bruse has joined #asahi
Szadek636700707897255 has joined #asahi
bruse has quit [Ping timeout: 480 seconds]
Szadek63670070789725 has quit [Ping timeout: 480 seconds]
Bertrand___ has quit [Ping timeout: 480 seconds]
gonzo_ has joined #asahi
calcium has quit [Quit: leaving]
mkurz has quit [Ping timeout: 480 seconds]
calcium has joined #asahi
Bertrand___ has joined #asahi
mkurz has joined #asahi
Bertrand___ has quit [Read error: Connection reset by peer]
Bertrand___ has joined #asahi
Brainium has joined #asahi
bruse has joined #asahi
bruse has quit [Ping timeout: 480 seconds]
c10l has joined #asahi
atomic-bomb123 has joined #asahi
<atomic-bomb123> hi
<atomic-bomb123> has anyone here managed to change the touchpad sensitivity using a hwdb entry? I remember I tried this long ago but I couldn't get it to work.
<atomic-bomb123> what I mean by sensitivity is the amount of pressure to register as a tap when tap to click is enabled
<atomic-bomb123> apparently the LIBINPUT_ATTR_PRESSURE_RANGE property should work for this
<atomic-bomb123> I can see the values I want are registered as up/down in the output of `libinput measure touchpad-pressure` if I set the `--touch-thresholds=xx:xx` to the values I want but I'm not sure of the hwdb match selector I should use, libinput documentation website and man page have different formats, some starting with "libinput", "touchpad" as well as "dmi" so I don't know which one I'm supposed to use or if it's hardware specific which one should/can be
jeisom has joined #asahi
<chadmed> the driver does not support this yet
<Zeroine> aw =/, well thanks
<chadmed> oh actually it should
<chadmed> sorry i misinterpreted what you were trying to do
<atomic-bomb123> oh
vmeson has quit [Ping timeout: 480 seconds]
atomic-bomb123 has quit [Remote host closed the connection]
<chadmed> its not going to be dmi because these machines dont have dmi
<Zeroine> yeah, thought so because I couldn't find it
<Zeroine> the new property should be showing up in `udevadm info -q property /sys/class/input/eventX` right? There's no LIBINPUT_ATTR_PRESSURE_RANGE for me after reloading the hwdb with `systemd-hwdb reload`, `udevadm trigger /sys/class/input/eventX` and restarting the compositor
<Zeroine> I'll send the hwdb I'm using 1 sec
atomic-bomb123 has joined #asahi
Bertrand___ has quit [Read error: Connection reset by peer]
Bertrand___ has joined #asahi
<atomic-bomb123> here's what it looks like and the bus, vendor and product ID for the touchpad I found using evemu-describe https://bpa.st/T6TXC
<atomic-bomb123> and if I test it, a tap pressure is unchanged and registers a click/down at much lower pressure than what it registered as down in `libinput measure touchpad-pressure --touch-thresholds 80:40`
atomic-bomb123 has quit [Remote host closed the connection]
atomic-bomb123 has joined #asahi
<atomic-bomb123> tried it without the "libinput" prefix as well like in `man hwdb` and nothing changed either
<chadmed> did you trigger a reload of udev?
<chadmed> also please check that the click is actually registered by libinput as a mouse click and not just the haptic
<chadmed> i dont think changing the haptic is actually implemented yet
<atomic-bomb123> by reload you mean the `systemd-hwdb reload` and `udevadm trigger /sys/class/input/eventX`? then yes.
<atomic-bomb123> I don't understand what you mean by the haptic/mouse click thing
<chadmed> is a click actually being registered at the "wrong" threshold?
<atomic-bomb123> a click on the touchpad? it looks like it's unchanged, it doesn't need any extra pressure, just after I press it so it makes the sound it acts as a click
<atomic-bomb123> and a tap is also unchanged, no extra pressure needed, just a light tap will act as a click, which is what I don't want
<PaulFertser> The sound is fake click, it's that haptic feedback.
<chadmed> yeah this is what im trying to get at
<atomic-bomb123> yeah I knew that but what about it?
<chadmed> it cant be changed and has nothing to do with that libinput attribute
<chadmed> libinput has some vestigial support for so-called clickpads but its immature and not exposed in any DE yet
<PaulFertser> You're changing sensitivity of the library but the haptic feedback might still be there, it's generated separately and is unaffected by your tweaks.
<chadmed> we need to work on that
<chadmed> im pretty sure the driver/touchpad firmware sends a click event itself anyway, which means we need to implement the functionality to change the trackpad's idea of that threshold
<PaulFertser> First time I played with mac clickpad I really had hard time believing it's not a true click, it feels so real, amazing idea and implementation.
<atomic-bomb123> but I wanna change the tap pressure not the click pressure
<atomic-bomb123> by click I mean like the one with haptic feedback
<atomic-bomb123> it's not possible to then?
<atomic-bomb123> sorry if I am causing confusion =///
<PaulFertser> Do you want to disable UI reaction to light taps altogether?
<chadmed> also did you restart your session
<atomic-bomb123> no no, I enabled tap to click in the sway compositor but the taps are so sensitive they make me click away from what I'm typing pretty often
<atomic-bomb123> that's why I wanted to change the sensitivity to lower so I need to tap harder for it to cause a click somewhere
<PaulFertser> With "evtest" you can observe data as it comes from the kernel directly. Then you can probably read through libinput sources or enable some debug there to see how the settings affect processing.
<atomic-bomb123> chadmed: yeah I restarted my compositor and tried rebooting as well after the hwdb reload
<atomic-bomb123> PaulFertser: thanks, I'll try that
<PaulFertser> atomic-bomb123: sorry it's not really an answer but at least that would give you an idea if the hardware provides different reports for different lightness of taps and related info.
kraem has quit [Remote host closed the connection]
<atomic-bomb123> yeah =)
<PaulFertser> Because libinput can only work with the stream as produced by the kernel so peeking inside there as the first step of investigating sounds natural.
<atomic-bomb123> do any of you use tap to click on asahi by the way? no issues like this?
<chadmed> i personally cant stand tap to click so i dont use it
<chadmed> but it should work regardless
<atomic-bomb123> ah
<PaulFertser> I guess atomic-bomb123 has it working but the problem is probably palm detection not disabling it during typing?
kraem has joined #asahi
<PaulFertser> Or how do you manage to tap accidentally?
<atomic-bomb123> yeah
<atomic-bomb123> on macos I didn't have these accidental taps, maybe they have better palm detection, I don't know
<PaulFertser> You macbook folks have touchpads too big :)
<atomic-bomb123> haha I guess yeah
<PaulFertser> I think libinput calls it "dwt" aka "disable while typing" feature and there was some post about it being inadequate for mac hardware.
<PaulFertser> chaos_princess: you once mentioned you can try helping with finding posts on social.treehouse.systems , I have a feeling there was something insightful about palm detection / disable while typing.
eroc1990 has quit [Read error: Connection reset by peer]
<chaos_princess> mind giving a few more keywords to look for?
eroc1990 has joined #asahi
<PaulFertser> chaos_princess: libinput , touch.*pad , click.*pad
<janneg> there is https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/897 which possibly could be reverted after the touchpad size probing was added
<PaulFertser> IIRC it was about disabing software palm detection in favour of some feature that firmware provides better. But it might be the post also had some other essential hints regarding the topic.
<PaulFertser> It was by m arcan or someone else in the core team.
<PaulFertser> that MR is likely related but IIRC the post was a bit more elaborate
<chaos_princess> sorry, can't find anything relevant
<PaulFertser> chaos_princess: thanks for trying!
atomic-bomb123 has quit [Remote host closed the connection]
bruse has joined #asahi
bruse has quit [Ping timeout: 480 seconds]
Brainium has quit [Quit: Konversation terminated!]
Brainium has joined #asahi
possiblemeatball has joined #asahi
possiblemeatball1 has joined #asahi
possiblemeatball has quit [Read error: Connection reset by peer]
<pitust> dooes the m1n1 hypervisor adjust SPSel in any of the exception vectors? it seems to me that it just goes with whatever the guest stack is, which is obviously broken...
creechy has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
<sven> m1n1 works quite fine so it can’t be „obviously broken“
<sven> why do you think it needs to adjust spsel?
shiggitay has joined #asahi
creechy has joined #asahi
gonzo_ has quit [Remote host closed the connection]
shiggitay has quit [Ping timeout: 480 seconds]
bruse has joined #asahi
johey has joined #asahi
bruse has quit [Ping timeout: 480 seconds]
bruse has joined #asahi
bruse has quit [Ping timeout: 480 seconds]
hightower2 has quit [Ping timeout: 480 seconds]
julio7359 has joined #asahi
hightower2 has joined #asahi
Zeroine is now known as Guest1486
Zeroine has joined #asahi
Zeroine has quit [Quit: WeeChat 4.2.1]
thansen has quit [Read error: Connection reset by peer]
thansen has joined #asahi
rvalue has quit [Ping timeout: 480 seconds]
<pitust> sven: if EL1 set SPSel=0 then entered possibly malicious EL0, then EL0 does something that goes to EL2, m1n1 seems to put random stuff on top of the stack?
opticron has quit [Ping timeout: 480 seconds]
<pitust> my understanding is linux runs with SPSel=1
rvalue has joined #asahi
opticron has joined #asahi
kraem has quit [Remote host closed the connection]
<sven> right, but in exception entry the old pstate is copied to SPSR_EL and then pstate.sp is set to one so all that doesn’t matter
<sven> *on
bruse has joined #asahi
kraem has joined #asahi
<pitust> ohhh okay
bruse has quit [Ping timeout: 480 seconds]
thansen has quit [Read error: Connection reset by peer]
thansen has joined #asahi
NateWeav has quit [Ping timeout: 480 seconds]
gspbirel56 has quit [Quit: see you soon!]
gspbirel56 has joined #asahi
Juesto is now known as Juest
axt has joined #asahi
millenialhacker has joined #asahi
millenialhacker has quit [Remote host closed the connection]
cisco87 has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi
kdb424 has quit [Quit: The Lounge - https://thelounge.chat]
millenialhacker has quit [Ping timeout: 480 seconds]
NateWeav has joined #asahi
bruse has joined #asahi
bruse has quit [Ping timeout: 480 seconds]
bruse has joined #asahi
opticron has quit [Ping timeout: 480 seconds]
opticron has joined #asahi
bruse has quit [Ping timeout: 480 seconds]
vmeson has joined #asahi
ctusif^ has joined #asahi
kdb424 has joined #asahi
linuxgemini has quit [Quit: getting (hopefully fresh) air o/]
WindowPa- has joined #asahi
possiblemeatball1 has quit [Remote host closed the connection]
WindowPain has quit [Ping timeout: 480 seconds]
linuxgemini has joined #asahi
julio7359 has quit [Ping timeout: 480 seconds]
usr has joined #asahi
sinxccc has joined #asahi
usr has quit [Quit: WeeChat 4.2.1]
bpye has quit [Quit: Ping timeout (120 seconds)]
bpye has joined #asahi
bruse has joined #asahi
bruse has quit [Ping timeout: 480 seconds]