lguf-brightness icon indicating copy to clipboard operation
lguf-brightness copied to clipboard

What I have done

Open unknownzerx opened this issue 7 years ago • 2 comments

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.

unknownzerx avatar Mar 03 '17 03:03 unknownzerx

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/

velum avatar Jun 23 '18 16:06 velum

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?

velum avatar Jul 25 '18 15:07 velum