jwise / HoRNDIS

Android USB tethering driver for Mac OS X
Other
3k stars 330 forks source link

Unable to load 9.2 HoRNDIS on MAC Ventura (M2) 13.2.1 (22D68) #163

Open tbonemain opened 1 year ago

tbonemain commented 1 year ago

This in needed for DJI Assistant 2 install. https://www.dji.com/downloads/softwares/assistant-dji-2 I get this error when its loading HoRNDIS:

This package is incompatible with this version of macOS. The package is trying to install content to the system volume. Contact the software manufacturer for assistance.

I tried getting latest 9.2 version here: https://www.joshuawise.com/horndis#available_versions

And get a different error: The installation failed. The installer encountered an error that cause the install to fail. Please contact the software manufacturer for assistance.

MacBook Air 2022 OSX 13.2.1 (22D68) Apple M2

raziele-dev commented 1 year ago

Please help having the same issue. Thank you very much.

budgetdevv commented 1 year ago

Likewise

Prince-Mendiratta commented 1 year ago

++

budgetdevv commented 1 year ago

+1

Traace commented 1 year ago

I don't think users are still allowed to load 3rd party kext drivers with MacOS Ventura. It got replaced with DriverKit extensions (dext). This project would need a rewrite to support dext, but I doubt that will happen.

Ask DJI to deliver a software update, their last update is from 2018. Before MacOS Ventura or ARM Macs even existed...

coryking commented 1 year ago

For what it's worth I have a PlutoSDR and the first thing it says in order to use my device is to install this driver.

maximveksler commented 1 year ago

This in needed for DJI Assistant 2 install. https://www.dji.com/downloads/softwares/assistant-dji-2 I get this error when its loading HoRNDIS:

This package is incompatible with this version of macOS. The package is trying to install content to the system volume. Contact the software manufacturer for assistance.

I tried getting latest 9.2 version here: https://www.joshuawise.com/horndis#available_versions

And get a different error: The installation failed. The installer encountered an error that cause the install to fail. Please contact the software manufacturer for assistance.

MacBook Air 2022 OSX 13.2.1 (22D68) Apple M2

I would strongly suggest contacting DJI and have them sponsor this open source project.

d235j commented 1 year ago

As a former contributor I think it would be worth updating the README to indicate that this driver is obsolete and unsupported. It will never work reliably on newer macOS versions, and is likely to increase system instability in general.

The correct fix is for device vendors to update their firmware to support USB CDC-NCM and/or ECM, which is the standardized mechanism for USB-Ethernet and does not require a driver on macOS. This mechanism works on newer versions of Windows (Windows 10 May 2019 Update or later), but RNDIS can be enabled alongside on the device/firmware side for older versions.

Support for this mechanism is present in the Linux kernel and merely requires appropriate configuration, again on the device/firmware side. Newer BeagleBone images have this.

PlutoSDR has this too and it is now enabled by default. but it’s not enabled by default or side-by-side. See https://wiki.analog.com/university/tools/pluto/users/customizing for details. They need to update their documentation here, as HoRNDIS is unsupported and won’t work reliably.

DJI firmware also does not have CDC-NCM support. I’ve tried to contact DJI multiple times to get them to make this change but they don’t seem interested.

jwise commented 1 year ago

I also would suggest contacting DJI in the same way.

Actually, DJI is basically why I do not maintain this project anymore. I recently even bought myself a Mac Studio but I don't really plan to do anything with forward porting this.

I have often fantasized about setting up an autoresponder to people who mail me about help getting HoRNDIS to work with their DJI products on modern Macs, telling them that DJI has profited off of my work and never sent me so much as a thank you, let alone offering to financially support the development of it, and that if they need support with their DJI products, they should call DJI. DJI is probably lucky that I just can't be bothered. Life is too long to pick fights like that.