free5lot / hid-apple-patched

Allows to swap the Fn key and left Control key and other tweaks on Macbook Pro and Apple keyboards in GNU/Linux
GNU General Public License v2.0
350 stars 61 forks source link

linnux 5.15.5-1 on debian with dkms: iso_layout stopped working #80

Closed kapouer closed 2 years ago

kapouer commented 2 years ago

Hi, i usually set iso_layout to 1, and it sticks:

root@lal:~# cat /sys/module/hid_apple/parameters/iso_layout
1

but after rebooting to latest kernel the "@" and "<" keys are wrong. I checked hid-apple is correctly loaded:

dkms status
hid-apple/1.0, 5.14.0-4-amd64, x86_64: installed
hid-apple/1.0, 5.15.0-2-amd64, x86_64: installed

and dmesg doesn't show anything interesting. (also, I've tried dkms unbuild, remove, and add build again, no luck).

free5lot commented 2 years ago

Hi. Do you have /sys/module/hid_apple/parameters/iso_layout changed after reboot? Do you use config file for hid-apple to set this value?

kapouer commented 2 years ago

cat /sys/module/hid_apple/parameters/iso_layout 1

no i use /etc/sysfs.d/10-hidapple.conf with

module/hid_apple/parameters/iso_layout = 1
module/hid_apple/parameters/fnmode = 1

I worked around this by exchanging the two keys in xkb's ~/.config/xkb/

kapouer commented 2 years ago

Also this is a perixx periboard-325 M W (french) Bus 003 Device 007: ID 05ac:024f Apple, Inc. Aluminium Keyboard (ANSI)

free5lot commented 2 years ago

And the original (not patched) hid-apple module has different behavour with iso_layout? Are you sure? Options fnmode and iso_layout are part of the original hid-apple module.

kapouer commented 2 years ago

No ! Same thing with the original hid-apple.

free5lot commented 2 years ago

No ! Same thing with the original hid-apple.

Well, in that case the problem is not related to this repo (patched version). I recommend you to report your proplem with all details to upstream hid-apple maintainers as they know better what can be wrong with iso_layout.

I'm closing this issue, but feel free to comment here or ask to reopen if necessary.

free5lot commented 2 years ago

P.S. I fixed quote in my last message, please re-read.

kapouer commented 2 years ago

FYI it's been fixed in linux 5.16.7

free5lot commented 2 years ago

FYI it's been fixed in linux 5.16.7

Thanks, good to know.