ACPI_TOSHIBA(4)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1, nixpkgs unstable

πŸ’» ACPI_TOSHIBA(4) β€” the acpi_toshiba man page, but make it make sense

okay so bestie, this is acpi_toshiba from the Kernel Interfaces Manual, and no cap it's lowkey one of the cutest little drivers in the whole kernel because it literally just... talks to your Toshiba's hardware for you 🫢


✨ NAME ✨

acpi_toshiba β€” the Toshiba HCI interface, aka the thing that lets you poke at your laptop's hardware switches πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

so there's two ways to get this vibe going, and you gotta pick one:

Option A β€” bake it right into the kernel. drop this line in your kernel configuration file:

device acpi_toshiba

Option B β€” be a module girlie πŸ’– load it at boot time as a module and just add this line to loader.conf(5):

acpi_toshiba_load="YES"

both are valid, both are iconic, choose your fighter ✨


🌸 DESCRIPTION 🌸

okay so HCI stands for Hardware Control Interface β€” that's Toshiba's own thang, and the way that… it's somewhat uniform across their models (emphasis on somewhat, bestie, it's giving "close enough" 😭).

the acpi_toshiba driver lets you manipulate all that HCI-controlled hardware using a bunch of sysctl(8) variables. that's it. that's the whole job. iconic honestly πŸ‘‘


πŸ¦‹ SYSCTL VARIABLES πŸ¦‹

here's the roster of sysctls currently implemented β€” every single one, no skips:

  • hw.acpi.toshiba.force_fan β€” forces active cooling on (1) or off (0), and it does not care what the current temperature is. temperature? never heard of her πŸ’€ it just does what you say.
  • hw.acpi.toshiba.video_output β€” sets the active display, and you pick it with a bitwise OR of these bad boys:
    • 0 β€” no display
    • 1 β€” LCD
    • 2 β€” CRT
    • 4 β€” TV-Out
ngl, only some systems support video switching through this hardware-specific driver β€” the Libretto L5 is the example they give. for generic video output support, use the acpi_video(4) driver instead, bestie 🫢
  • hw.acpi.toshiba.lcd_brightness β€” makes the LCD backlight brighter or dimmer. reminder that higher values are brighter ⭐ (yes it's the opposite of cpu_speed below, don't come for me)
  • hw.acpi.toshiba.lcd_backlight β€” turns the LCD backlight on and off. that's it. on. off. main character energy πŸ’…
  • hw.acpi.toshiba.cpu_speed β€” sets the CPU speed to the speed you specify. this gives you functionality similar to the hw.acpi.cpu.throttle_state variable. and heads up: higher sysctl values mean lower CPU speeds πŸ™ˆ so it's the upside-down one, iykyk

and the defaults for all of these can be set in sysctl.conf(5), which gets parsed at boot-time. so you can set your vibe and forget it 🌈


🧚 LOADER TUNABLES 🧚

the hw.acpi.toshiba.enable_fn_keys tunable enables or disables the function keys on the keyboard. and good news β€” function keys are enabled by default ✨

you can flip this behaviour at the loader(8) prompt, or in loader.conf(5). either way, slay.


πŸ”₯ SEE ALSO πŸ”₯

acpi(4), acpi_video(4), loader.conf(5), sysctl.conf(5), sysctl(8)

go read them, they're all part of the friend group πŸ’œ


πŸ‘‘ HISTORY πŸ‘‘

the acpi_toshiba driver first appeared in FreeBSD 5.1. a legend from day one, fr fr.


πŸ“ AUTHORS πŸ“

the acpi_toshiba driver was written by Hiroyuki Aizu <aizu@navi.org> πŸŽ€

and this manual page was written by Philip Paeps <philip@FreeBSD.org> πŸ¦‹

thank you both for your service, we literally would not have this page without you πŸ’–


okay that's the whole thing bestie, you're now fully certified in Toshiba HCI vibes ✨ this page came to you from Debian, dated February 8, 2010, and it lives in section 4 of the ACPI_TOSHIBA(4) manual β€” mwah, go forth and toggle your backlight πŸ’…πŸŽ€

πŸ“¦ where this page comes from