lentinj / tp-compact-keyboard

Fn-Lock switcher for ThinkPad Compact Bluetooth Keyboard with TrackPoint
GNU General Public License v2.0
350 stars 33 forks source link

Thinkpad 2 (Bluetooth) keepboard - FN Lock not working. #60

Open joergi opened 9 months ago

joergi commented 9 months ago

I use a Thinkpad compact 2 Bluetooth keyboard.

I added a udev rule:

#ThinkPad TrackPoint Keyboard I & II USB
SUBSYSTEM=="hid", \
DRIVER=="lenovo", \
ATTRS{idVendor}=="17ef", ATTRS{idProduct}=="6047|60ee", \
ATTR{fn_lock}="0"

#ThinkPad TrackPoint Keyboard I & II Bluetooth
SUBSYSTEM=="input", \
ATTRS{id/vendor}=="17ef", ATTRS{id/product}=="6048|60e1", \
TEST=="/sys/$devpath/device/fn_lock", \
RUN+="/bin/sh -c 'echo 0 > \"/sys/$devpath/device/fn_lock\"'"

in a file called /etc/udev/rules.d/99-thinkpad-trackpoint-disable-fn-lock.rules

I also did

sudo su
udevadm control --reload-rules && udevadm trigger

but I still get the error:

./tp-compact-keyboard --fn-lock-enable
No keyboard found!

the keyboard is working super fine, just the FN Lock is not working

uname -r
6.5.0-15-generic

I'm on Ubuntu 22.04 LTS version

zijian-x commented 9 months ago

Mine too not working since like a month as it's always on and cannot be turned off, what gives? Did you figure out a solution?

joergi commented 8 months ago

Mine too not working since like a month as it's always on and cannot be turned off, what gives? Did you figure out a solution?

unfortunately not. I was not able to get it running at all yet.

did you got it running ?