fwupd icon indicating copy to clipboard operation
fwupd copied to clipboard

genesys: usbhub: replace to use hid proxy

Open adamgene opened this issue 5 months ago • 4 comments

there is private flag to use proxy for open.

Type of pull request:

Continue #9300. There is a private flag to use proxy for open. And should add emulation test with HID.

adamgene avatar Oct 07 '25 08:10 adamgene

@hughsie The USB hub uses physical child HID to send reports for writing firmware. And I modified to use proxy HID. Therefore, should I fwupdmgr emulation-tag hub and HID? I tried tagging them but cannot emulation.

adamgene avatar Oct 07 '25 08:10 adamgene

should I fwupdmgr emulation-tag hub and HID

I think what should happen is you tag the child for emulation and the proxy gets tagged as well.

hughsie avatar Oct 07 '25 08:10 hughsie

@adamgene can you rebase this against main and try again please. I think 1f2293c9c502211942ba80a209673afe04add3c8 and 36f52fd7ef6fd373257f8cc8dd6aa56532651bff might help a lot.

hughsie avatar Nov 18 '25 11:11 hughsie

@adamgene can you rebase this against main and try again please. I think 1f2293c and 36f52fd might help a lot.

I tried and still failed. The attached file setup.txt shows JSON changed for phase setup removed some UsbEvents. Those events triggered in vfunc->setup().

adamgene avatar Dec 10 '25 07:12 adamgene