Well, we wouldn't copy the files one-by one. We'd
pkgutil --expand-full the package and then
cp -R them over the system, I would imagine. I personally haven't worked up the courage to mess with it again after having to reinstall my OS last week.
[doublepost=1540270760][/doublepost]Hey everybody! This applies to very few people, but I'm going to document it since someone might come across this in the future.
I recently tried uploading code to an Arduino for the first time since installing Mojave, and, well, it didn't work. More precisely, I got this error.
View attachment 797603
Code:
stk500_recv(): programmer is not responding
stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
I tried a good old
ioreg.
View attachment 797604
Then, going off what I saw there, I replaced
AppleUSBACM.kext from High Sierra and rebuilt the prelinkedkernel.
Solved!
View attachment 797605
And you can see a couple things are different -- it's called
usbmodem411 rather than
usbmodem4101 and the
ioreg output is also different. Interestingly, there's a new element in the tree:
IOModemSerialStreamSync. Related to the "not in sync" errors? In any case, it's working beautifully now.
View attachment 797606
Anyways, so sorry for the long post that is most likely spam to 99% of people. I hope this helps somebody, though. I am just glad to be able to program my trusty Arduino Uno again
@dosdude1 Worth adding to the patcher, deselected by default of course?
Edit: For clarity, all of this is on a MacBook7,1 that already requires replacement of
IOUSBFamily and
IOUSBHostFamily. Most likely, a newer system not needing these patches, will also not need this one.