Skip to content

M1 not supported #13

Closed
Closed

Description

@Tuimalila

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

  1. vadimkulishov commented on Sep 7, 2025

    @vadimkulishov

    You're not the only guy with this problem.

    `==============================================
    MacBook Lid Angle Sensor Diagnostic Tool

    System Information:

    • Model: MacBook Air
    • Chip: Apple M1
    • macOS: 15.6.1

    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!
    ==============================================`

  2. jcr- commented on Sep 7, 2025

    @jcr-

    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.

  3. Natha commented on Sep 7, 2025

    @Natha

    Will test it later with my MBP 16" M1 Max. Thanks Lisa 💕

  4. marked Lid Sensor Diag #25 as a duplicate of this issue on Sep 7, 2025
  5. MrJarnould commented on Sep 7, 2025

    @MrJarnould

    ❯ ./diagnose_lid_sensor.sh

    MacBook Lid Angle Sensor Diagnostic Tool

    System Information:

    • Model: MacBook Pro
    • Chip: Apple M1 Max
    • macOS: 15.6.1

    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!

  6. jwildeboer commented on Sep 7, 2025

    @jwildeboer

    ==============================================
    MacBook Lid Angle Sensor Diagnostic Tool

    System Information:

    • Model: MacBook Air
    • Chip: Apple M1
    • macOS: 15.6.1

    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!

  7. xFil2016 commented on Sep 8, 2025

    @xFil2016

    for M1 use this dictionary: NSDictionary *matchingDict = @{
    @"VendorID": @(0x05AC),
    @"ProductID": @(0x8104),
    @"PrimaryUsagePage": @(0x0020),
    @"PrimaryUsage": @(0x008A),
    };

  8. denisbr commented on Sep 8, 2025

    @denisbr

    Worked perfectly for me:

    ==============================================
    MacBook Lid Angle Sensor Diagnostic Tool

    System Information:

    • Model: MacBook Pro
    • Chip: Apple M1 Pro
    • macOS: 15.6.1

    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!

  9. HankLloydRight commented on Sep 8, 2025

    @HankLloydRight

    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

    • Model:
      ./lid: line 14: system_profiler: command not found
    • Chip:
      ./lid: line 15: sw_vers: command not found
    • macOS:**

    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!

  10. RemoPro commented on Sep 8, 2025

    @RemoPro

    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.

    • Only all 14-inch and 16-inch MacBook Pro and MacBook Air since M2 2022 have the new sensor.
  11. fluffy-critter commented on Sep 8, 2025

    @fluffy-critter

    I also have a 2020 13" M1 MacBook pro and it does not find a sensor.

    ==============================================
    MacBook Lid Angle Sensor Diagnostic Tool
    ==============================================
    
    System Information:
    - Model: MacBook Pro
    - Chip: Apple M1
    - macOS: 26.0
    
    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)'
    📊 Found potential sensor-related Apple devices:
    0x5ac    0x341     0x2b       65280     3     0x100000932 SPI       AppleHIDTransportHIDDevice Apple Internal Keyboard / Trackpad (null)    1        
    
    
    ==============================================
    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!
    ==============================================
    
  12. HankLloydRight commented on Sep 8, 2025

    @HankLloydRight

    The MacBook Pro (13-inch, M1, 2020) has the old-style Hall Effect Sensor and therefore that’s expected.

    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.

  13. zai1208 commented on Oct 7, 2025

    @zai1208

    my M1 Macbook Air doesn't work either (yes I'm using macOS 14 as mdm policy doesn't allow updating):

    ==============================================
    MacBook Lid Angle Sensor Diagnostic Tool
    ==============================================
    
    System Information:
    - Model: MacBook Air
    - Chip: Apple M1
    - macOS: 14.4.1
    
    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!
    ==============================================
    
  14. samhenrigold commented on Mar 22, 2026

    @samhenrigold
    Owner

    Updated with some better hardware detection, try with the latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions