what is the DEXT class for ACM data driver for creating nub?

Hi all


I am trying to Write a Serial/ACM driver for mac os Catalina Since all these kind of drivers has to be moved to User Space (as per wwdc 2019).

I am new to kext/dext.

In kext, for ACM data driver we created nub using IOModemSerialStreamSync class.

In case of dext which class we will use for the same purpose?


Thanks in advance.

Replies

Hi seeni,


Did you find any clue for this?

Cause I am looking for the same thing.

I am trying to change kext to dext.

IOModemSerialStreamSync and IOSerialStreamSync class should be replaced..


Thanks.


I also encountered the same problem, have you solved it? If there is a solution, please contact me, thank you.
Hello,

To use SerialDriverKit you should subclass from IOUserUSBSerial. IOModemSerialStreamSync and IOSerialStreamSync are not available in DriverKit. If you are trying to make your Serial device, such as a modem, appear in Network Preferences you'll need to add the "HiddenPort" property and set it to False.
How to add this HiddenPort property ?
I have added that property in the Plist .
Used Boolen type and set it to False

Reset the driver Extension, rebooted my iMac and then activated the extension. But I can't find my device in Network Preferences.
Do we need to add this hidden port Property somewhere else