Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mac OS X driver to work with Linux USB composite gadget driver g_multi

I'm interested in using the Linux USB composite gadget driver g_multi in an embedded Linux device, for Ethernet-over-USB and serial-over-USB (the Ethernet-over-USB is compiled for RNDIS mode; I'm not interested in the mass storage function, so I've disabled it). I've tested it, and got it working fine with both Windows and Linux. However, brief testing with Mac OS X shows that OS X doesn't automatically load the drivers for it.

I know that in principle OS X has the capability for Ethernet-over-USB, because it works automatically with the Linux USB g_ether driver (compiled for RNDIS mode). Likewise OS X works with serial-over-USB with the Linux USB g_serial driver—I can connect to the USB serial port with ZOC. But it does nothing when the Linux device is running g_multi.

I can't find any documentation that says how OS X might be made to work with a Linux device running the g_multi driver. Has anyone succeeded in doing so?

Can it be done with some sort of simple OS X driver that basically tells OS X to load its drivers for each of the component functions (a bit like the INF files I'm using for Windows, which just tell Windows to load the standard Windows driver for Ethernet- and serial-over-USB)? If so, what is the procedure for doing that?

like image 796
Craig McQueen Avatar asked Apr 01 '13 23:04

Craig McQueen


1 Answers

RNDIS is unfortunately not supported by MAC OS. You need a 3rd party driver, like https://www.joshuawise.com/horndis.

like image 157
rundekugel Avatar answered Nov 15 '22 06:11

rundekugel