Re: [PATCH] usb: gadget: composite: fix OS descriptors w_value logic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "Andrzej" == Andrzej Pietrasiewicz <andrzej.p@xxxxxxxxxxxxx> writes:

 > Hi Peter,
 > W dniu 4.04.2024 o 12:06, Peter Korsgaard pisze:
 >> The OS descriptors logic had the high/low byte of w_value inverted, causing
 >> the extended properties to not be accessible for interface != 0.

 > Out of curiosity - did you run into problems running some USB gadget,
 > and if yes, what was it? Or is this patch a result of a code and documentation
 > review without actually running a gadget?

I had issues with getting Windows to accept the OS descriptors when the
function I wanted to use with WinUSB was not the first (= interface 0)
function in a composite device together with HID and mass storage.

-- 
Bye, Peter Korsgaard





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux