Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. 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.

Scheduled Pinned Locked Moved Uncategorized
thinkpadfreebsd
4 Posts 4 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • evgandr@mastodon.bsd.cafeE This user is from outside of this forum
    evgandr@mastodon.bsd.cafeE This user is from outside of this forum
    evgandr@mastodon.bsd.cafe
    wrote last edited by
    #1

    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

    Link Preview Image
    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.

    favicon

    Dragon’s notes (eugene-andrienko.com)

    #ThinkPad #FreeBSD

    kedara@mastodon.bsd.cafeK aethiemurr@mastodon.mlA napierge@mastodon.bsd.cafeN 3 Replies Last reply
    1
    0
    • evgandr@mastodon.bsd.cafeE evgandr@mastodon.bsd.cafe

      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

      Link Preview Image
      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.

      favicon

      Dragon’s notes (eugene-andrienko.com)

      #ThinkPad #FreeBSD

      kedara@mastodon.bsd.cafeK This user is from outside of this forum
      kedara@mastodon.bsd.cafeK This user is from outside of this forum
      kedara@mastodon.bsd.cafe
      wrote last edited by
      #2

      @evgandr this was on my todo list to checkout, so very timely for me! Thank you, I'll read it and try it out 👍

      1 Reply Last reply
      0
      • evgandr@mastodon.bsd.cafeE evgandr@mastodon.bsd.cafe

        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

        Link Preview Image
        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.

        favicon

        Dragon’s notes (eugene-andrienko.com)

        #ThinkPad #FreeBSD

        aethiemurr@mastodon.mlA This user is from outside of this forum
        aethiemurr@mastodon.mlA This user is from outside of this forum
        aethiemurr@mastodon.ml
        wrote last edited by
        #3

        @evgandr слушай, а прикольно, как минимум то, что они затащили под переменные ядра на acpi_ibm или чего-то там. Если оно реализуется без правки таблиц и поддерживает оборудование -- так вообще прелесть.
        Хотя видеть системные скрипты на tcsh, ну... как-то диковато. 🙂
        До doas что-то не доберусь попробовать. как оно?

        1 Reply Last reply
        0
        • evgandr@mastodon.bsd.cafeE evgandr@mastodon.bsd.cafe

          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

          Link Preview Image
          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.

          favicon

          Dragon’s notes (eugene-andrienko.com)

          #ThinkPad #FreeBSD

          napierge@mastodon.bsd.cafeN This user is from outside of this forum
          napierge@mastodon.bsd.cafeN This user is from outside of this forum
          napierge@mastodon.bsd.cafe
          wrote last edited by
          #4

          @evgandr cool that is exactly what I am missing. Is it something similar on openbsd?

          1 Reply Last reply
          0
          • stefano@mastodon.bsd.cafeS stefano@mastodon.bsd.cafe shared this topic
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups