-
Notifications
You must be signed in to change notification settings - Fork 415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hidapi does not recognize a device on a Mac M2 under Sonoma 14.7.2, but on Linux and Windows in Parallels #715
Comments
The manufacturer is Apple, and the bus is probably not USB, so that's expected on macOS.
Is it run on that mac machine? Maybe you've passed the USB device into you VM env and the host USB/HID driver gets disabled? What is the output of |
Hi,
Yes. Same machine.
Oops. Nah, I disabled the USB access before, of course. What is more, a lot of programs can access the Atmel-ICE, e.g., avrdude and MPLABX.
Here we go (and the Atmel-ICE is enumerated):
|
I guess, this is a Mac problem and not a problem of the library. The Mac tool |
Hmm, this is very strange. Do you have other Macs to check whether this is specific to macOS 14 or Apple Silicon CPU. Atmel ICE is supported by avrdude under Linux/Windows/macOS/FreeBSD/etc, using hidapi. There is a bug with TPI parts but I have not heard issues like what you have mentioned here. Unfortunately I do not have Atmel ICE myself to check on my Mac Mini M1 (running macOS 15.2 now). Reference: |
BTW, is it possible for you to upgrade your macOS version to the latest 15.2 verion and try again? Apple is not really that good in terms of legacy USB device support compared to Windows and Linux and often there are breaking changes from time to time. But often the bug got fixed in later release. |
I upgraded on my Intel Mac from Ventura to Sonoma, and the Atmel-ICE is still listed when using hidapitester or hidutil. So, it does not seem to be an OS problem. I'll try upgrading to 15.2. on my ARM Mac hoping that the problem vanishes. |
Hi, The upgrade to 15.2 on my ARM Mac did not help. |
It is a mystery to me, why the enumeration of hid devices leaves out the Atmel-ICE only on ARM Macs. However, I guess, I found a way around it (using what avrdude apparently does). If the hidapi enumeration fails, it goes through all USB devices and looks for the right VID:PID pair. |
Turned out that it was just an issue of an old extension that grabbed the device. |
Sounds about right. Thank's for letting us know. |
Hi,
I try to work with an Atmel-ICE device (hardware debugger), and it is not recognized on my M2 Mac under Sonoma 14.7.2. Running hidapitester and hidapi_enum.py gives very fishy results:
So, no ATMEL-ICE, but a lot of devices with a VIDPID of 0:0. BTW, the correct entry (recorded under Ubuntu 24.04 (ARM64) run in the Paralleles Emulator) looks like that:
Also under Windows11(ARM), and on my Intel-Mac, everything works. So, I am at loss here.
Cheers,
Bernhard
The text was updated successfully, but these errors were encountered: