Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fn-lock-enable fail #59

Open
githublaohu opened this issue Aug 13, 2023 · 9 comments
Open

fn-lock-enable fail #59

githublaohu opened this issue Aug 13, 2023 · 9 comments

Comments

@githublaohu
Copy link

OS:Ubuntu22.04

keyboard: TrackPoint Keyboard II and ThinkPad Compact Bluetooth Keyboard with TrackPoint

Scheme 1

open@open:/source/tp-compact-keyboard/tp-compact-bt-keyboard$ sudo ./tp-compact-keyboard --fn-lock-disable
ThinkPad Compact Bluetooth Keyboard with TrackPoint No keyboard found!
hidraw2
Disabling Fn lock for /dev/hidraw2...
open@open:/lsource/tp-compact-keyboard/tp-compact-bt-keyboard$ sudo ./tp-compact-keyboard --fn-lock-enable
ThinkPad Compact Bluetooth Keyboard with TrackPoint No keyboard found!
hidraw2
Enabling Fn lock for /dev/hidraw2..

Scheme 2

root@open:/source/tp-compact-keyboard/tp-compact-bt-keyboard# echo 0 > /sys/bus/hid/devices/0005\:17EF\:60E1.0007/fn_lock
root@open:/source/tp-compact-keyboard/tp-compact-bt-keyboard# cat /sys/bus/hid/devices/0005\:17EF\:60E1.0007/fn_lock
0

@jeroney
Copy link
Contributor

jeroney commented Aug 13, 2023 via email

@githublaohu
Copy link
Author

ubuntu kenrnel

Linux open 6.2.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jul 13 16:27:29 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

@jeroney
Copy link
Contributor

jeroney commented Aug 13, 2023 via email

@githublaohu
Copy link
Author

How can I manually disable it

        echo Enabling native mode for F7/F9/F11 for /dev/$HIDRAW...
        /bin/echo -ne "\x18\x01\x03" | dd of=/dev/$HIDRAW 2>/dev/null

Is that so?

@jeroney
Copy link
Contributor

jeroney commented Aug 16, 2023 via email

@githublaohu
Copy link
Author

why
`
root@open:/lsource/tp-compact-keyboard/tp-compact-bt-keyboard# echo 1 > /sys/bus/hid/devices/0005:17EF:60E1.0020/fn_lock
root@open:/lsource/tp-compact-keyboard/tp-compact-bt-keyboard# /bin/echo -ne "\x18\x05\x01" | dd of=/dev/hidraw2
记录了0+1 的读入
记录了0+1 的写出
3字节已复制,2.9186e-05 s,103 kB/s

`

@githublaohu
Copy link
Author

How can I check if the driver is installed

@githublaohu
Copy link
Author

Hello, I have three generations of TP compact keyboards, and the first generation settings are effective.

root@open:/sys/bus/hid/devices/0005:17EF:6048.0022# echo 1 > fn_lock
root@open:/sys/bus/hid/devices/0005:17EF:6048.0022# cat fn_lock 
1

Both the second and third generations failed

@githublaohu
Copy link
Author

May I ask where the udev rules for TrackPoint Keyboard II can be found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants