Displaying 4 results from an estimated 4 matches for "conf_desc".
Did you mean:
conf_def
2023 Nov 05
1
Passing hid_rep_index to libusb_get_config_descriptor is wrong?
...upsdebugx(2, "Reading first configuration descriptor");
ret = libusb_get_config_descriptor(device,
- (uint8_t)usb_subdriver.hid_rep_index,
+ 0, //(uint8_t)usb_subdriver.hid_rep_index,
&conf_desc);
/*ret = libusb_get_active_config_descriptor(device,
&conf_desc);*/
When running from commit ab55bc0 on master, I end up with
usb_subdriver.hid_rep_index = 2 and libusb_get_config_descriptor returns
is -5 (Entity not found), conf_desc is not filled in and then it ends up
in...
2023 Nov 05
1
Passing hid_rep_index to libusb_get_config_descriptor is wrong?
...debugx(2, "Reading first configuration descriptor");
> ret = libusb_get_config_descriptor(device,
> - (uint8_t)usb_subdriver.hid_rep_index,
> + 0, //(uint8_t)usb_subdriver.hid_rep_index,
> &conf_desc);
> /*ret = libusb_get_active_config_descriptor(device,
> &conf_desc);*/
>
> When running from commit ab55bc0 on master, I end up with
> usb_subdriver.hid_rep_index = 2 and libusb_get_config_descriptor returns
> is -5 (Entity not found), conf_desc is not fill...
2023 Nov 05
1
Passing hid_rep_index to libusb_get_config_descriptor is wrong?
...Reading first configuration descriptor");
>> ret = libusb_get_config_descriptor(device,
>> - (uint8_t)usb_subdriver.hid_rep_index,
>> + 0, //(uint8_t)usb_subdriver.hid_rep_index,
>> &conf_desc);
>> /*ret = libusb_get_active_config_descriptor(device,
>> &conf_desc);*/
>>
>> When running from commit ab55bc0 on master, I end up with
>> usb_subdriver.hid_rep_index = 2 and libusb_get_config_descriptor returns
>> is -5 (Entity not found...
2023 Nov 05
1
Passing hid_rep_index to libusb_get_config_descriptor is wrong?
...nfiguration descriptor");
>>> ret = libusb_get_config_descriptor(device,
>>> - (uint8_t)usb_subdriver.hid_rep_index,
>>> + 0, //(uint8_t)usb_subdriver.hid_rep_index,
>>> &conf_desc);
>>> /*ret = libusb_get_active_config_descriptor(device,
>>> &conf_desc);*/
>>>
>>> When running from commit ab55bc0 on master, I end up with
>>> usb_subdriver.hid_rep_index = 2 and libusb_get_config_descriptor
>>> returns...