RobertCNelson / boot-scripts

Just a bunch of useful scripts placed under /opt/scripts/
125 stars 132 forks source link

USB Ethernet gadget not recognised by recent MacOS releases #113

Open vk3jpk opened 4 years ago

vk3jpk commented 4 years ago

Hi Robert,

I recently acquired some pocketbeagles and found that when connected to a MacOS 10.15.4 system via USB neither of the two USB Ethernet interfaces are recognised i.e. neither RNDIS or CDC-ECM.

However, if I update /opt/scripts/boot/am335x_evm.sh to replace all 4 instances of "ecm.usb0" with "ncm.usb0", I am able to access the pocketbeagle via CDC-NCM from MacOS 10.15.4 successfully.

Could you give some consideration to updating the boot scripts so that the more modern CDC-NCM is used instead of CDC-ECM to allow a good out of the box experience on MacOS? This should not impact Windows users (who use RNDIS) and most Linux systems should work with CDC-NCM too - it certainly works when I attach a pocketbeagle to a Debian Buster system via USB.

James

RobertCNelson commented 4 years ago

@vk3jpk your kidding right that's it? @jadonk and I have been holding off on updating our macos systems, it looked way more involved. Would you please submit a pull request with the rename, and I'll happily merge it.

vk3jpk commented 4 years ago

I have submitted PR #114 to implement this change.

Note that the change has only been tested on pocketbeagle.

James

RobertCNelson commented 4 years ago

thanks @vk3jpk all merged up, i'll do more testing later today on Linux and my old Mac Install (before i upgrade it finally)...