Become a leader in the IoT community!
New DevHeads get a 320-point leaderboard boost when joining the DevHeads IoT Integration Community. In addition to learning and advising, active community leaders are rewarded with community recognition and free tech stuff. Start your Legendary Collaboration now!
I dont use mac os, I ve seen this work for similar problems
Just shut down your Mac, then press **shift** plus **control** plus **option** plus **power** for like 10 seconds, release them, and turn your Mac back on
would prefer if i dont need to restart the Mac
in linux it is easy
simply bind and unbind the port
but sadly does not follow the case for MacOS
OH then it wont be as simple as it is on linux
you know about this : `sudo kextunload /System/Library/Extensions/AppleUSBHostPlatformProperties.kext` `sudo kextload /System/Library/Extensions/AppleUSBHostPlatformProperties.kext` @melta101
Have you tried unloading and re-loading the USB Kernel extensions?
In ‘System Settings goto General –> About. At the bottom of the page, there is the ‘System Report’. Open that.
Under ‘Hardware’ Select ‘USB’ , and select your USB Bus. This will tell you what type of Controller you have. e.g., mine is: `Host Controller Driver: AppleUSBEHCIPI7C9X440SL`
that tells me that I am using EHCI controller.
Then, in a terminal, find the kernel extension with
`kextstat -l | grep USB`
Find the extension for your controller. Mine is `com.apple.driver.usb.AppleUSBEHCI`
Then try unloading it and reloading it
`sudo kextunload com.apple.driver.usb.AppleUSBEHCI`
Find the location of the extension
`find /System/Library/Extensions -name “*AppleUSBEHCI*”`
Then re-load it
`sudo kextload /System/Library/Extensions/IOUSBHostFamily.kext/Contents/PlugIns/AppleUSBEHCI.kext`
@melta101 as above and consider using a script since this could disable your keyboard and mouse
also this ‘sudo launchctl start com.apple.usbd’
That’s the advantage of using a Bluetooth Keyboard 😄
i have a iphone and MacOs connected via USB for screen capture of iphone
sometimes the packets just stop in between,
stopping the stream
This however works after a unpluging and repluging
Now as this goes to a server stack with multitude of Iphone, i wouldnt want to unplug and replug
or
reset the whole bus as that would destroy the experience with other iphones
Does the stream stop for the entire bus or just one phone in particular?
1 particular
what sort of social media armageddon are you running streaming multiple screens to a device
Have you looked at a hardware solution such as:
https://eu.mouser.com/new/crowd-supply/crowd-supply-programmable-usb-hub/?srsltid=AfmBOorGCgzdFA_AcePSALT8Sv77iL8I4VDqCEBtov1mohmWbH0JJYpq
We use something like that in our test lab to remotely turn on and off a USB device
😂
i work for app testing platform
and we need to support Iphones Apps
I’m not sure the exact one used – as the lab is in the USA and they are all asleep, so I can’t ask them
Lol makes perfect sense, so app on different iphone software and hardware
let me go through this
i was also thinking of going HW,
Just wanted to save expenses incase Sw soln is possible
Thanks for this
yep
manual
automation
record and replay
all sort
and not only limited to apps
what! you are doing kernels on iphone?
not kernel level,
atleast not now as there are no customer for those
i mean websites, external services, apple ecosystem integration
AH normal dev shop, that’s cool to know! Interesting that you also do embedded stuff
this seems feasible
Maybe a i could create a USB passthrough,
but the question is how do control the reset
as i would rather not connect a GPIO wire to reset.
actually embedded is my main
This one has software control:
https://acroname.com/store/industrial-intelligent-4-port-hub-s77-usbhub-2×4
exactly as my need
but a license for controlling
hmmm..
Maybe could start a side R&D to find ways to interact with the USB Hub, the way these people did
CONTRIBUTE TO THIS THREAD