FreeBSD Bugzilla – Attachment 195325 Details for
Bug 229074
[acpi_ibm] [patch] Add support for Thinkpads Mic led
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add documentation of dev.acpi_ibm.0.mic_led
add-doc-acpi-ibm-0.mic.led.patch (text/plain), 963 bytes, created by
Ali Abdallah
on 2018-07-21 13:34:30 UTC
(
hide
)
Description:
Add documentation of dev.acpi_ibm.0.mic_led
Filename:
MIME Type:
Creator:
Ali Abdallah
Created:
2018-07-21 13:34:30 UTC
Size:
963 bytes
patch
obsolete
>Index: acpi_ibm.4 >=================================================================== >--- acpi_ibm.4 (revision 336446) >+++ acpi_ibm.4 (working copy) >@@ -273,6 +273,9 @@ > Speaker volume. > .It Va dev.acpi_ibm.0.mute > Indicates, whether the speakers are muted or not. >+.It Va dev.acpi_ibm.0.mic_mute >+Indicates, whether the microphone led (present on some model) is on or not. >+Note that this does not mean that the microphone input is muted. > .It Va dev.acpi_ibm.0.thinklight > Indicates, whether the ThinkLight keyboard light is activated or not. > .It Va dev.acpi_ibm.0.bluetooth >@@ -437,6 +440,17 @@ > MESSAGE="volume unmuted" > fi > ;; >+ 0x1b) >+ LEVEL=`sysctl -n dev.acpi_ibm.0.mic_led` >+ if [ $LEVEL -eq 0 ]; then >+ sysctl dev.acpi_ibm.0.mic_led=1 >+ mixer rec 0 >+ fi >+ if [ $LEVEL -eq 1 ]; then >+ sysctl dev.acpi_ibm.0.mic_led=0 >+ mixer rec 30 >+ fi >+ ;; > *) > ;; > esac
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 229074
:
194314
|
194338
|
195237
| 195325