Open unknownzerx opened 7 years ago
Woudn't it be possible to use WireShark on macOS to capture the USB traffic?
See this link: https://aud-ios.com/2017/10/22/usb-monitoring-with-wireshark/
I tried capturing traffic using wireshark and was hoping to see data coming from the USB when the lighting of the room would change, but nothing. I was able to capture traffic from this forked project https://github.com/csujedihy/LG-Ultrafine-Brightness though when modifying the screen brightness. I don't know why I did not see any traffic coming from the light sensor. If someone else is able to, could you please post the traffic you capture?
The brightness is controlled by a specific USB device integrated with the display. Vendor ID: 034E, Product ID: 9A40.
The latest Boot Camp supports adjusting the brightness of this display (in 'Boot Camp Control Panel'). I captured USB traffic with 'USBPcap' in Windows, analysed with 'Wireshark' and made this program to reproduce those USB traffic.
PS: I found no way to capture USB data in macOS.