View | Details | Raw Unified | Return to bug 229074 | Differences between
and this patch

Collapse All | Expand All

(-)acpi_ibm.4 (+14 lines)
Lines 273-278 Link Here
273
Speaker volume.
273
Speaker volume.
274
.It Va dev.acpi_ibm.0.mute
274
.It Va dev.acpi_ibm.0.mute
275
Indicates, whether the speakers are muted or not.
275
Indicates, whether the speakers are muted or not.
276
.It Va dev.acpi_ibm.0.mic_mute
277
Indicates, whether the microphone led (present on some model) is on or not. 
278
Note that this does not mean that the microphone input is muted.
276
.It Va dev.acpi_ibm.0.thinklight
279
.It Va dev.acpi_ibm.0.thinklight
277
Indicates, whether the ThinkLight keyboard light is activated or not.
280
Indicates, whether the ThinkLight keyboard light is activated or not.
278
.It Va dev.acpi_ibm.0.bluetooth
281
.It Va dev.acpi_ibm.0.bluetooth
Lines 437-442 Link Here
437
                        MESSAGE="volume unmuted"
440
                        MESSAGE="volume unmuted"
438
                fi
441
                fi
439
                ;;
442
                ;;
443
	0x1b)
444
		LEVEL=`sysctl -n dev.acpi_ibm.0.mic_led`
445
		if [ $LEVEL -eq 0 ]; then
446
			sysctl dev.acpi_ibm.0.mic_led=1
447
			mixer rec 0
448
		fi 
449
		if [ $LEVEL -eq 1 ]; then 
450
			sysctl dev.acpi_ibm.0.mic_led=0
451
			mixer rec 30
452
		fi
453
		;;
440
        *)
454
        *)
441
                ;;
455
                ;;
442
esac
456
esac

Return to bug 229074