我有兴趣在嵌入式Linux设备中使用Linux USB composite gadget driver g_multi,用于USB以太网和USB串行(以太网USB编译为RNDIS模式;我已禁用它) . 我'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自动为它加载驱动程序 .

我知道原则上OS X具有Ethernet-over-USB的能力,因为它可以自动与Linux USB g_ether 驱动程序一起工作(为RNDIS模式编译) . 同样,OS X与Linux USB g_serial 驱动程序一起使用串行USB连接 - 我可以使用ZOC连接到USB串行端口 . 但是当Linux设备运行 g_multi 时它什么也没做 .

我找不到任何文档说明如何使用OS X来运行运行 g_multi 驱动程序的Linux设备 . 有没有人成功过?

是否可以通过某种简单的OS X驱动程序来完成,它基本上告诉OS X为每个组件功能加载其驱动程序(有点像我用于Windows的INF文件,它只是告诉Windows加载标准Windows以太网驱动程序和串行USB驱动程序?如果是这样,这样做的程序是什么?