Open Bug 1780391 Opened 3 years ago Updated 2 years ago

Enable USB Debugging is not working on M1 mac

Categories

(DevTools :: about:debugging, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

(Depends on 1 open bug)

Details

STRs:

  • on a M1 mac, with a fresh profile
  • open about:debugging#/setup
  • click "Enable USB Devices"

Expected:
USB should be enabled in the sidebar

Actual:
USB remains disabled

As a workaround you can install adb on the side and start the daemon manually, the existing adb process will then be reused by about:debugging. But we should still fix this. I imagine the version of ADB we ship with the extension is not compatible with M1 macs.

Error logs show Error: ADB Process didn't start from https://searchfox.org/mozilla-central/rev/c11f54459452dd2f9ab2f9bec4ae03127897d256/devtools/client/shared/remote-debugging/adb/adb-process.js#124

The actual error is Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProcess.runAsync] from process.runAsync

The severity field is not set for this bug.
:jdescottes, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jdescottes)
Severity: -- → S3
Depends on: 1780412
Flags: needinfo?(jdescottes)
Priority: -- → P2
Duplicate of this bug: 1798176

Anyone blocked by this, you can install adb separately and run adb start-server. about:debugging should be able to reuse your currently installed adb.

You need to log in before you can comment on or make changes to this bug.