SONY(4)
πΈ NAME πΈ
sony β Sony Miscellaneous Controller
okay so this is the sony(4) page from the Kernel Interfaces Manual, and it's giving main character energy for a controller that lives in some Sony notebook computers. bestie, we're about to talk about the sysctl(8) interface that the sony driver uses to access/modify settings of some built-in devices. vibe check: it's a Sony controller, and yes, that's the whole name. π
β¨ SYNOPSIS β¨
sony* at acpi?
π DESCRIPTION π
Some Sony notebook computers have a controller that handles various built-in devices. The sony driver provides support for accessing/modifying the settings of some of these devices via the sysctl(8) interface. β¨
The following sysctl(8) variables are available, and yes bestie, they're literally listed right here:
hw.sony0.brt[R/W]β Controls current LCD brightness. Range[0-8]. πhw.sony0.pbr[R/W]β Controls power on LCD brightness. Range[0-8]. β‘hw.sony0.cdp[R/W]β Controls CD power. πΏhw.sony0.pid[R/O]β Unknown (the page literally says Unknown, iykyk). π«₯hw.sony0.ctr[R/W]β Unknown. π«₯hw.sony0.pcr[R/W]β Unknown. π«₯hw.sony0.cmi[R/W]β Unknown. π«₯hw.sony0.ams[R/W]β Audio control (mute when0). πhw.sony0.hke[R/O]β Indicates a Host Key Event. Bits are set when an event occurs and cleared when this value is read. The following table describes the bit set for each button pressed β no cap, bestie: π0x1000β S1 button0x0800β S2 button0x0200β Fn + F10 (magnify)0x0100β Mute button0x0020β Fn + F12 (suspend to disk)0x0010β Fn + F7 (LCD/external monitor)0x0008β Fn + F6 (brighter backlight)0x0004β Fn + F5 (darker backlight)0x0002β Fn + F4 (volume up)0x0001β Fn + F3 (volume down)
π SEE ALSO π
acpi(4)i386/spic(4)
go read these too, bestie, slay π«Ά
π¦ HISTORY π¦
The sony driver appeared in NetBSD 4.0. β
π AUTHORS π
- Sami Kantoluoto for the original driver and manual information. π
- Christos Zoulas for cleaning up the driver and this manual page. π«Ά
π BUGS π
- The
sonydriver just parses integer values from theacpi(4)tree. It could be more intelligent and parse other controls. π - The
sysctl(8)interface is not great. The names of thesysctl(8)tree are not self-explanatory. π - No validity checks are performed on the user input. Playing with random values and/or unknown controls can harm your machine. β οΈ
- The name of the driver is too generic. π
π source/version: Debian Β· date: August 25, 2020 β mwah, that's the footer, bye bestie π
periodt
π¦ where this page comes from
- nixpkgs unstable: netbsd-source 11.0
- Copyright (c) 2005 The NetBSD Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms