Wrote new article — about how to use some ThinkPad-specific keys with FreeBSD.
-
Wrote new article — about how to use some ThinkPad-specific keys with FreeBSD. Most of the Fn-keys and volume control separate keys could be uses "as is" — the OS passes the proper and well-known keycodes (like XF86audioMute, etc) to the X server. But some keys needs some "black magic" (devd and acpi_ibm kernel module).
The bonus point — how to use ThinkLight to signal about low battery level with Morse code

FreeBSD and Thinkpad-specific keys and indicators
Thinkpad laptops, e.g. mine Thinkpad X220, has a lot of functional keys. Some of them work without any problems — they are passed by the underlying kernel to the X server and it recognizes them as a usual key symbols: XF86AudioMute, XF86AudioRaiseVolume, XF86AudioNext, etc. But some special keys are not passed to the X server from the underlying OS layers.
Dragon’s notes (eugene-andrienko.com)
-
Wrote new article — about how to use some ThinkPad-specific keys with FreeBSD. Most of the Fn-keys and volume control separate keys could be uses "as is" — the OS passes the proper and well-known keycodes (like XF86audioMute, etc) to the X server. But some keys needs some "black magic" (devd and acpi_ibm kernel module).
The bonus point — how to use ThinkLight to signal about low battery level with Morse code

FreeBSD and Thinkpad-specific keys and indicators
Thinkpad laptops, e.g. mine Thinkpad X220, has a lot of functional keys. Some of them work without any problems — they are passed by the underlying kernel to the X server and it recognizes them as a usual key symbols: XF86AudioMute, XF86AudioRaiseVolume, XF86AudioNext, etc. But some special keys are not passed to the X server from the underlying OS layers.
Dragon’s notes (eugene-andrienko.com)
@evgandr this was on my todo list to checkout, so very timely for me! Thank you, I'll read it and try it out

-
Wrote new article — about how to use some ThinkPad-specific keys with FreeBSD. Most of the Fn-keys and volume control separate keys could be uses "as is" — the OS passes the proper and well-known keycodes (like XF86audioMute, etc) to the X server. But some keys needs some "black magic" (devd and acpi_ibm kernel module).
The bonus point — how to use ThinkLight to signal about low battery level with Morse code

FreeBSD and Thinkpad-specific keys and indicators
Thinkpad laptops, e.g. mine Thinkpad X220, has a lot of functional keys. Some of them work without any problems — they are passed by the underlying kernel to the X server and it recognizes them as a usual key symbols: XF86AudioMute, XF86AudioRaiseVolume, XF86AudioNext, etc. But some special keys are not passed to the X server from the underlying OS layers.
Dragon’s notes (eugene-andrienko.com)
@evgandr слушай, а прикольно, как минимум то, что они затащили под переменные ядра на acpi_ibm или чего-то там. Если оно реализуется без правки таблиц и поддерживает оборудование -- так вообще прелесть.
Хотя видеть системные скрипты на tcsh, ну... как-то диковато.
До doas что-то не доберусь попробовать. как оно? -
Wrote new article — about how to use some ThinkPad-specific keys with FreeBSD. Most of the Fn-keys and volume control separate keys could be uses "as is" — the OS passes the proper and well-known keycodes (like XF86audioMute, etc) to the X server. But some keys needs some "black magic" (devd and acpi_ibm kernel module).
The bonus point — how to use ThinkLight to signal about low battery level with Morse code

FreeBSD and Thinkpad-specific keys and indicators
Thinkpad laptops, e.g. mine Thinkpad X220, has a lot of functional keys. Some of them work without any problems — they are passed by the underlying kernel to the X server and it recognizes them as a usual key symbols: XF86AudioMute, XF86AudioRaiseVolume, XF86AudioNext, etc. But some special keys are not passed to the X server from the underlying OS layers.
Dragon’s notes (eugene-andrienko.com)
@evgandr cool that is exactly what I am missing. Is it something similar on openbsd?
-
S stefano@mastodon.bsd.cafe shared this topic