Comment # 17 on bug 1217492 from Lin Ma
(In reply to P from comment #14)
> Created attachment 872322 [details]
> /var/log/libvirt/qemu/USB_Test.log

Thanks for the information.

The USB_Test.log looks missing some of important and basic trace events. E.g:
usb_host_detach_kernel, usb_host_claim_interface and usb_host_parse_config.

Likely reason is:
when qemu tried to get the configuration descriptor for this usb
device(1cf1:0030) by calling function libusb_get_active_config_descriptor, The
function returned a non-zero value.
If this guess is correct, that means there is something wrong while libusb
reads the basic information of this particular usb device, and we should look
for a possible fix from libusb's angle.

Could you please help to run this test to observe the output?
1. make sure that package gcc and package libusb-1_0-devel are installed on
your leap 15.5 host, and the version of libusb is v1.0.24.
2. Compile the attached .c file and run the generated binary as a priviledged
user:
gcc test_libusb_get_active_config_desc.c -o test_libusb_get_active_config_desc
-lusb-1.0 && \
./test_libusb_get_active_config_desc


The correct output looks like:
rc = 0
Active Configuration:
  Configuration Value: 1
  Number of Interfaces: 1

But the expected output for your usb device(1cf1:0030) against libusb v1.0.24
should look like:
rc = a negative number
Error getting active configuration descriptor


You are receiving this mail because: