Ausnahme gefangen: SSL certificate problem: certificate is not yet valid ๐Ÿ“Œ ACPI Volume Control

๐Ÿ  Team IT Security News

TSecurity.de ist eine Online-Plattform, die sich auf die Bereitstellung von Informationen,alle 15 Minuten neuste Nachrichten, Bildungsressourcen und Dienstleistungen rund um das Thema IT-Sicherheit spezialisiert hat.
Ob es sich um aktuelle Nachrichten, Fachartikel, Blogbeitrรคge, Webinare, Tutorials, oder Tipps & Tricks handelt, TSecurity.de bietet seinen Nutzern einen umfassenden รœberblick รผber die wichtigsten Aspekte der IT-Sicherheit in einer sich stรคndig verรคndernden digitalen Welt.

16.12.2023 - TIP: Wer den Cookie Consent Banner akzeptiert, kann z.B. von Englisch nach Deutsch รผbersetzen, erst Englisch auswรคhlen dann wieder Deutsch!

Google Android Playstore Download Button fรผr Team IT Security



๐Ÿ“š ACPI Volume Control


๐Ÿ’ก Newskategorie: Linux Tipps
๐Ÿ”— Quelle: reddit.com

Hi everyone, I recently installed Rocky Linux on a Lenovo Thinkpad T460. I love the OS, it is very stable, smooth, and all the correct drivers are installed by default compared to something like debian or even fedora (despite also being RHEL). I just have one issue, and that is with ACPI events for volume control.

โ€‹

Lenovo Thinkpad T460 Function Keys

I have attached an image of the function keys for the Lenovo T460. The function keys F5 and F6 are used to control brightness. The function key F8 is used to control wifi. These function keys I have successfully mapped to acpi events inside /etc/acpi/events with corresponding acpi actions inside /etc/apci/actions. Essentially, for brightness I have a script that increases/decreases the number in /sys/class/backlight/intel_backlight/brightness. For wifi, I use rfkill to block/unblock the wifi card.

However, for function keys F1-F4, while recognized by acpid (acpi_listen), I have made configuration files in "/etc/acpi/events" and "/etc/acpi/actions", but I am unable to use them to configure my audio settings. Here is a table that organizes the output for each key from "acpi_listen".

โ€‹

Key "acpi_listen" Output
F1 (Audio Sink Mute) button/mute MUTE 00000080 00000000 K
F2 (Audio Sink Volume Down) button/volumedown VOLDN 00000080 00000000 K
F3 (Audio Sink Volume Up) button/volumeup VOLUP 00000080 00000000 K
F4 (Audio Source Mute) button/f20 F20 00000080 00000000 K

As you can see, the function keys are recognized by acpid, and therefore should be mappable. For their mapping, I have created the following events under /etc/acpi/events.

For F1 (Audio Sink Mute):

$ cat /etc/acpi/events/FnF1-mute #FnF1 button/mute MUTE 00000080 00000000 K event=button/mute action=/etc/acpi/actions/FnF1-mute.sh $ cat /etc/acpi/actions/FnF1-mute.sh #!/bin/sh # Mute audio via pulseaudio pactl set-sink-mute @DEFAULT_SINK@ toggle 

For F2 (Audio Sink Volume Down):

$ cat /etc/acpi/events/FnF2-volumedown #FnF2 button/volumedown VOLDN 00000080 00000000 K event=button/volumedown action=/etc/acpi/actions/FnF2-volumedown.sh $ cat /etc/acpi/actions/FnF2-volumedown.sh #!/bin/sh # Decrease the volume via pulseaudio pactl set-sink-volume @DEFAULT_SINK@ -1% 

For F3 (Audio Sink Volume Up):

$ cat /etc/acpi/events/FnF3-volumeup #button/volumeup VOLUP 00000080 00000000 K event=button/mute action=/etc/acpi/actions/FnF3-volumeup.sh $ cat /etc/acpi/actions/FnF3-volumeup.sh #!/bin/sh #Increase the volume via pulseaudio pactl set-sink-volume @DEFAULT_SINK@ +1% 

For F4 (Audio Source Mute):

$ cat /etc/acpi/events/FnF4-micmute #button/f20 F20 00000080 00000000 K event=button/f20 action=/etc/acpi/actions/FnF4-micmute.sh $ cat /etc/acpi/events/FnF4-micmute.sh #!/bin/sh # Mute the mic via pulseaudio pactl set-source-mute @DEFAULT_SOURCE@ toggle 

All of the scripts utilize pulseaudio, and all of them work when run manually. I have also modified the scripts to use alsa (amixer) and still they only work manually, not when addressed via acpid.

I have made sure to have the thinkpad_acpi module enabled, as rocky linux comes with it by default. Here is the output of dmesg for the thinkpad_acpi module:

$ dmesg | grep thinkpad [ 6.141329] thinkpad_acpi: ThinkPad ACPI Extras v0.26 [ 6.142450] thinkpad_acpi: http://ibm-acpi.sf.net/ [ 6.143723] thinkpad_acpi: ThinkPad BIOS R06ET64W (1.38 ), EC unknown [ 6.145132] thinkpad_acpi: Lenovo ThinkPad T460, model 20FMS0LG06 [ 6.179525] thinkpad_acpi: radio switch found; radios are enabled [ 6.185779] thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver [ 6.187368] thinkpad_acpi: Disabling thinkpad-acpi brightness events by default... [ 6.204283] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked [ 6.230795] thinkpad_acpi: Standard ACPI backlight interface available, not loading native one [ 6.242915] thinkpad_acpi: battery 2 registered (start 0, stop 100) [ 6.258431] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input21 

I would really appreciate any help on fixing this, as I am genuinely confused. The brightness and wifi scripts work fine via acpi for the hotkeys F5, F6, and F8. I am just unable to adjust audio via hotkeys F1-F4.

submitted by /u/namedPal
[link] [comments] ...



๐Ÿ“Œ Automatic 5 Volume Created [Name:261MB Volume, 47MB Volume 57MB Volume ,65MB Volume, 85MB Volume]


๐Ÿ“ˆ 62.47 Punkte

๐Ÿ“Œ ACPI Volume Control


๐Ÿ“ˆ 38.87 Punkte

๐Ÿ“Œ Boosting Volume with Gnome's volume control


๐Ÿ“ˆ 26.29 Punkte

๐Ÿ“Œ Vuln: Linux Kernel 'drivers/acpi/apei/einj.c' Local Denial of Service Vulnerability


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ Linux Kernel up to 4.12.2 ACPI Table boot.c mp_override_legacy_irq() memory corruption


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ Linux Kernel bis 4.12.2 ACPI Table boot.c mp_override_legacy_irq() Pufferรผberlauf


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ Linux Kernel up to 4.12.9 Operand Cache nseval.c acpi_ns_evaluate() ACPI Table privilege escalation


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ Linux Kernel up to 4.12.9 psobject.c acpi_ps_complete_final_op() ACPI Table privilege escalation


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ Linux Kernel up to 4.12.9 Operand Cache dsutils.c acpi_ds_create_operands() ACPI Table privilege escalation


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ Linux Kernel EINJ drivers/acpi/apei/einj.c einj_error_inject denial of service


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ Linux Kernel bis 4.12.9 Operand Cache dsutils.c acpi_ds_create_operands() ACPI Table erweiterte Rechte


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ Linux Kernel up to 4.14.15 SBS HC printk Call drivers/acpi/sbshc.c acpi_smbus_hc_add information disclosure


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ Linux-Kernel: ACPI-Bug hebelt Schutzmechanismen von UEFI Secure Boot aus


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ Linux-Kernel: ACPI-Bug hebelt Schutzmechanismen von UEFI Secure Boot aus


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ grub2 up to 2.05 ACPI Command memory corruption


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ Linux Kernel bis 4.12.9 psobject.c acpi_ps_complete_final_op() ACPI Table erweiterte Rechte


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ CVE-2022-34889 | Parallels Desktop 17.1.1 ACPI Virtual Device out-of-bounds


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ Ryzen und Epyc: 20 Jahre altes ACPI-Workaround in Linux bremst AMD Zen aus


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ Crack Master x64 v1.5.00 update released. - acpi command added - phy [addr] command added - help updated ReadMe.txt updated


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ Linux Kernel EINJ drivers/acpi/apei/einj.c einj_error_inject Denial of Service


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ Thinkpad T440 Bios ACPI Errors


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ Acpi bios error(bug)


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ Linux Kernel bis 4.14.15 SBS HC printk Call drivers/acpi/sbshc.c acpi_smbus_hc_add Information Disclosure


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ Battery Information with acpi -i


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ Support for ACPI CPPC2 (for Ryzen 3000) in cpufreq?


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ Acpi call returns wlan on lid close


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ What is the output of 'acpi -t'?


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ Oh `acpi`, you're such a diva.


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ Garrett: Why ACPI?


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ CVE-2023-43532 | Qualcomm 7c+ Gen 3 Compute ACPI Config memory corruption


๐Ÿ“ˆ 22.99 Punkte

๐Ÿ“Œ Volume Booster in Windows 10 | Increase Volume Instantly!


๐Ÿ“ˆ 20.82 Punkte

๐Ÿ“Œ [dos] Memcached 1.5.5 - 'Memcrashed ' Insufficient Control of Network Message Volume Denial of Service With Shodan


๐Ÿ“ˆ 15.88 Punkte

๐Ÿ“Œ [dos] Memcached 1.5.5 - 'Memcrashed' Insufficient Control Network Message Volume Denial of Service (1)


๐Ÿ“ˆ 15.88 Punkte

๐Ÿ“Œ Memcached 1.5.5 Memcrashed Insufficient Control of Network Message Volume Denial of Service


๐Ÿ“ˆ 15.88 Punkte

๐Ÿ“Œ #0daytoday #Memcached 1.5.5 - Memcrashed Insufficient Control of Network Message Volume Denial of S [#0day #Exploit]


๐Ÿ“ˆ 15.88 Punkte











matomo