Both sides previous revisionPrevious revision | |
university:tools:pluto:users:customizing [02 Mar 2022 15:24] – [Changing the USB Ethernet Compatibility Mode] Robin Getz | university:tools:pluto:users:customizing [13 Oct 2022 22:55] (current) – [Changing the USB Ethernet Compatibility Mode] Robin Getz |
---|
===== Changing the USB Ethernet Compatibility Mode ===== | ===== Changing the USB Ethernet Compatibility Mode ===== |
| |
Starting with PlutoSDR Firmware version [[https://github.com/analogdevicesinc/plutosdr-fw/releases/tag/v0.33|v0.33]], M2k ([[https://github.com/analogdevicesinc/m2k-fw/releases/tag/v0.27|v0.27]]) there is now support for selecting the USB Ethernet Compatibility Mode by setting/changing the ''usb_ethernet_mode'' variable. | Starting with PlutoSDR Firmware version [[https://github.com/analogdevicesinc/plutosdr-fw/releases/tag/v0.33|v0.33]], M2k ([[https://github.com/analogdevicesinc/m2k-fw/releases/tag/v0.27|v0.27]]) there is now support for selecting the USB Ethernet Compatibility Mode by setting/changing the ''usb_ethernet_mode'' variable. The main industry protocols are (in chronological order): Remote NDIS ([[wp>RNDIS]], a Microsoft vendor protocol), Ethernet Control Model ([[wp>Ethernet_over_USB|ECM]]), and Network Control Model ([[wp>Ethernet_over_USB|NCM]]) - all supported by both Pluto and M2k. You may need to change this based on your host PC operating system type: |
| |
^ ^ Windows ^ Linux ^ MacOS ^ iPadOS ^ Android ^ | ^ ^ Windows ^ Linux ^ MacOS ^ iPadOS ^ Android ^ |
| RNDIS | <fc #00ff00>✔</fc> | <fc #00ff00>✔</fc> | <fc #ff0000>✘</fc> | <fc #ff0000>✘</fc> | <fc #ff0000>✘</fc> | | | RNDIS (default) | <fc #00ff00>✔</fc> | <fc #00ff00>✔</fc> | <fc #ff0000>✘</fc> | <fc #ff0000>✘</fc> | <fc #ff0000>✘</fc> | |
| CDC-NCM | <fc #ff0000>✘</fc> | <fc #00ff00>✔</fc> | <fc #00ff00>✔</fc> | <fc #00ff00>✔</fc> | <fc #ff0000>✘</fc> | | | CDC-NCM | <fc #ff0000>✘</fc> | <fc #00ff00>✔</fc> | <fc #00ff00>✔</fc> | <fc #00ff00>✔</fc> | <fc #ff0000>✘</fc> | |
| CDC-ECM | <fc #ff0000>✘</fc> | <fc #00ff00>✔</fc> | <fc #ff0000>✘</fc> | <fc #ff0000>✘</fc> |<fc #00ff00>✔</fc> | | | CDC-ECM | <fc #ff0000>✘</fc> | <fc #00ff00>✔</fc> | <fc #ff0000>✘</fc> | <fc #ff0000>✘</fc> |<fc #00ff00>✔</fc> | |
| |
The platform you are testing on - needs to support high power USB 2.0 devices (500mA). (iPad will support, iPhone will not). | As you can see - the default of RNDIS does not work on Mac OS (sorry). The platform you are testing on - needs to support high power USB 2.0 devices (500mA). (iPad will support, iPhone will not). |
| |
^ Mode ^ Value ^ | ^ Mode ^ Value of ''usb_ethernet_mode'' variable ^ |
| RNDIS | rndis (or blank) | | | RNDIS | rndis (or blank) | |
| CDC-NCM | ncm | | | CDC-NCM | ncm | |