Repository navigation
Description
I guess no such sensors for M1?
Edit: 13-inch, M1, 2020
`==============================================
MacBook Lid Angle Sensor Diagnostic Tool
System Information:
- Model: MacBook Pro
- Chip: Apple M1
- macOS: 15.6
Step 1: Looking for exact expected sensor...
Command: hidutil list --matching '{"VendorID":0x5ac,"ProductID":0x8104,"PrimaryUsagePage":32,"PrimaryUsage":138}'
❌ Exact match not found. Continuing diagnostics...
Step 2: Looking for any Apple sensors...
Command: hidutil list --matching '{"VendorID":0x5ac,"PrimaryUsagePage":32}'
❌ No Apple sensors found with UsagePage 32
Step 3: Looking for orientation sensors with any ProductID...
Command: hidutil list --matching '{"VendorID":0x5ac,"PrimaryUsagePage":32,"PrimaryUsage":138}'
❌ No orientation sensors found
Step 4: Looking for all Apple 0x8104 devices...
Command: hidutil list --matching '{"VendorID":0x5ac,"ProductID":0x8104}'
❌ No Apple 0x8104 devices found
Step 5: Looking for similar ProductIDs...
Command: hidutil list --matching '{"VendorID":0x5ac}' | grep -E '0x810[0-9A-F]'
❌ No similar ProductIDs found
Step 6: All Apple HID devices (filtered for potential sensors)...
Command: hidutil list --matching '{"VendorID":0x5ac}' | grep -i -E '(sensor|orientation|32|138)'
❌ No sensor-related Apple devices found
==============================================
Diagnostic Summary:
❌ STATUS: No compatible sensor found
This MacBook model may not have an accessible lid angle sensor
Please share this entire output for troubleshooting!`
Activity
vadimkulishov commentedon Sep 7, 2025
You're not the only guy with this problem.
`==============================================
MacBook Lid Angle Sensor Diagnostic Tool
System Information:
Step 1: Looking for exact expected sensor...
Command: hidutil list --matching '{"VendorID":0x5ac,"ProductID":0x8104,"PrimaryUsagePage":32,"PrimaryUsage":138}'
❌ Exact match not found. Continuing diagnostics...
Step 2: Looking for any Apple sensors...
Command: hidutil list --matching '{"VendorID":0x5ac,"PrimaryUsagePage":32}'
❌ No Apple sensors found with UsagePage 32
Step 3: Looking for orientation sensors with any ProductID...
Command: hidutil list --matching '{"VendorID":0x5ac,"PrimaryUsagePage":32,"PrimaryUsage":138}'
❌ No orientation sensors found
Step 4: Looking for all Apple 0x8104 devices...
Command: hidutil list --matching '{"VendorID":0x5ac,"ProductID":0x8104}'
❌ No Apple 0x8104 devices found
Step 5: Looking for similar ProductIDs...
Command: hidutil list --matching '{"VendorID":0x5ac}' | grep -E '0x810[0-9A-F]'
❌ No similar ProductIDs found
Step 6: All Apple HID devices (filtered for potential sensors)...
Command: hidutil list --matching '{"VendorID":0x5ac}' | grep -i -E '(sensor|orientation|32|138)'
❌ No sensor-related Apple devices found
==============================================
Diagnostic Summary:
❌ STATUS: No compatible sensor found
This MacBook model may not have an accessible lid angle sensor
Please share this entire output for troubleshooting!
==============================================`
jcr- commentedon Sep 7, 2025
FWIW working for me for me with Sequoia 15.6.1 on
MacBook Pro 14 with Apple M1 Pro and
MacBook Pro 16 with Apple M1 Max
I don't have access to a straight M1 (non-pr but I think in the MacBook Pro that was only available on the 13-inch. It looks like the two affected machines are 13-inch Pro and Air. This makes me wonder if it is not a limitation of the M1 processor itself but rather the 13-inch and Air chassis that lack the sensor.
Natha commentedon Sep 7, 2025
Will test it later with my MBP 16" M1 Max. Thanks Lisa 💕
MrJarnould commentedon Sep 7, 2025
❯ ./diagnose_lid_sensor.sh
MacBook Lid Angle Sensor Diagnostic Tool
System Information:
Step 1: Looking for exact expected sensor...
Command: hidutil list --matching '{"VendorID":0x5ac,"ProductID":0x8104,"PrimaryUsagePage":32,"PrimaryUsage":138}'
✅ FOUND EXACT MATCH:
Services:
VendorID ProductID LocationID UsagePage Usage RegistryID Transport Class Product UserClass Built-In
0x5ac 0x8104 0x0 32 138 0x100000b7e SPU AppleSPUHIDDriver (null) (null) 1
Devices:
VendorID ProductID LocationID UsagePage Usage RegistryID Transport Class Product UserClass Built-In
0x5ac 0x8104 0x0 32 138 0x100000b51 SPU AppleSPUHIDDevice (null) (null) 1
Your sensor should work!
jwildeboer commentedon Sep 7, 2025
==============================================
MacBook Lid Angle Sensor Diagnostic Tool
System Information:
Step 1: Looking for exact expected sensor...
Command: hidutil list --matching '{"VendorID":0x5ac,"ProductID":0x8104,"PrimaryUsagePage":32,"PrimaryUsage":138}'
❌ Exact match not found. Continuing diagnostics...
Step 2: Looking for any Apple sensors...
Command: hidutil list --matching '{"VendorID":0x5ac,"PrimaryUsagePage":32}'
❌ No Apple sensors found with UsagePage 32
Step 3: Looking for orientation sensors with any ProductID...
Command: hidutil list --matching '{"VendorID":0x5ac,"PrimaryUsagePage":32,"PrimaryUsage":138}'
❌ No orientation sensors found
Step 4: Looking for all Apple 0x8104 devices...
Command: hidutil list --matching '{"VendorID":0x5ac,"ProductID":0x8104}'
❌ No Apple 0x8104 devices found
Step 5: Looking for similar ProductIDs...
Command: hidutil list --matching '{"VendorID":0x5ac}' | grep -E '0x810[0-9A-F]'
❌ No similar ProductIDs found
Step 6: All Apple HID devices (filtered for potential sensors)...
Command: hidutil list --matching '{"VendorID":0x5ac}' | grep -i -E '(sensor|orientation|32|138)'
❌ No sensor-related Apple devices found
==============================================
Diagnostic Summary:
❌ STATUS: No compatible sensor found
This MacBook model may not have an accessible lid angle sensor
Please share this entire output for troubleshooting!
xFil2016 commentedon Sep 8, 2025
for M1 use this dictionary: NSDictionary *matchingDict = @{
@"VendorID": @(0x05AC),
@"ProductID": @(0x8104),
@"PrimaryUsagePage": @(0x0020),
@"PrimaryUsage": @(0x008A),
};
denisbr commentedon Sep 8, 2025
Worked perfectly for me:
==============================================
MacBook Lid Angle Sensor Diagnostic Tool
System Information:
Step 1: Looking for exact expected sensor...
Command: hidutil list --matching '{"VendorID":0x5ac,"ProductID":0x8104,"PrimaryUsagePage":32,"PrimaryUsage":138}'
✅ FOUND EXACT MATCH:
Services:
VendorID ProductID LocationID UsagePage Usage RegistryID Transport Class Product UserClass Built-In
0x5ac 0x8104 0x0 32 138 0x10000079b SPU AppleSPUHIDDriver (null) (null) 1
Devices:
VendorID ProductID LocationID UsagePage Usage RegistryID Transport Class Product UserClass Built-In
0x5ac 0x8104 0x0 32 138 0x1000006ce SPU AppleSPUHIDDevice (null) (null) 1
Your sensor should work!
HankLloydRight commentedon Sep 8, 2025
It works great on my 14" M1 MBP (2021)!
But once I close the lid all the way and re-open it, the audio stops. The angle sensor still works though, just no audio after close->open. If I quit and restart the app, it works again.
I ran the diag script, and this is what I get-- looks like I don't have the right tools to diag:
==============================================
MacBook Lid Angle Sensor Diagnostic Tool
**System Information:
./lid: line 13: system_profiler: command not found
./lid: line 14: system_profiler: command not found
./lid: line 15: sw_vers: command not found
Step 1: Looking for exact expected sensor...
Command: hidutil list --matching '{"VendorID":0x5ac,"ProductID":0x8104,"PrimaryUsagePage":32,"PrimaryUsage":138}'
./lid: line 20: hidutil: command not found
❌ Exact match not found. Continuing diagnostics...
Step 2: Looking for any Apple sensors...
Command: hidutil list --matching '{"VendorID":0x5ac,"PrimaryUsagePage":32}'
./lid: line 34: hidutil: command not found
❌ No Apple sensors found with UsagePage 32
Step 3: Looking for orientation sensors with any ProductID...
Command: hidutil list --matching '{"VendorID":0x5ac,"PrimaryUsagePage":32,"PrimaryUsage":138}'
./lid: line 46: hidutil: command not found
❌ No orientation sensors found
Step 4: Looking for all Apple 0x8104 devices...
Command: hidutil list --matching '{"VendorID":0x5ac,"ProductID":0x8104}'
./lid: line 58: hidutil: command not found
❌ No Apple 0x8104 devices found
Step 5: Looking for similar ProductIDs...
Command: hidutil list --matching '{"VendorID":0x5ac}' | grep -E '0x810[0-9A-F]'
./lid: line 70: hidutil: command not found
❌ No similar ProductIDs found
Step 6: All Apple HID devices (filtered for potential sensors)...
Command: hidutil list --matching '{"VendorID":0x5ac}' | grep -i -E '(sensor|orientation|32|138)'
./lid: line 82: hidutil: command not found
❌ No sensor-related Apple devices found
==============================================
Diagnostic Summary:
❌ STATUS: No compatible sensor found
This MacBook model may not have an accessible lid angle sensor
Please share this entire output for troubleshooting!
RemoPro commentedon Sep 8, 2025
The MacBook Pro (13-inch, M1, 2020) has the old-style Hall Effect Sensor and therefore that’s expected. I did now wrote another issue with a complete list of all compatible models.
fluffy-critter commentedon Sep 8, 2025
I also have a 2020 13" M1 MacBook pro and it does not find a sensor.
HankLloydRight commentedon Sep 8, 2025
I mis-typed... I have a 14" 2021 MBP. The app works, but it flakes out if I close the lid. When I open it, no more sounds until I restart the app.
zai1208 commentedon Oct 7, 2025
my M1 Macbook Air doesn't work either (yes I'm using macOS 14 as mdm policy doesn't allow updating):
samhenrigold commentedon Mar 22, 2026
Updated with some better hardware detection, try with the latest release.