From adc60e61ad06aee739edf29283998d58e56baeba Mon Sep 17 00:00:00 2001 From: Marcel Bischoff Date: Wed, 30 Dec 2015 22:42:51 +0100 Subject: [PATCH] Add Infrared Receiver category and entry --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 695b02b..1cf4f23 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ For more terminal shell goodness, please also see this list's sister list [Aweso - [Functions](#functions) - [Hardware](#hardware) - [Hardware Information](#hardware-information) + - [Infrared Receiver](#infrared-receiver) - [Power Management](#power-management) - [Input Devices](#input-devices) - [Keyboard](#keyboard) @@ -632,6 +633,19 @@ system_profiler SPDisplaysDataType | grep Resolution sysctl -n machdep.cpu.brand_string ``` +### Infrared Receiver + +```bash +# Status +defaults read /Library/Preferences/com.apple.driver.AppleIRController DeviceEnabled + +# Enable (Default) +defaults write /Library/Preferences/com.apple.driver.AppleIRController DeviceEnabled -int 1 + +# Disable +defaults write /Library/Preferences/com.apple.driver.AppleIRController DeviceEnabled -int 0 +``` + ### Power Management #### Prevent System Sleep