Closed rageworx closed 1 year ago
It was belonged to permission as sudoer to read USB device description, by these error log.
[ 0.005579] [00003c4d] libusb: debug [linux_get_device_address] scan usb2
[ 0.005596] [00003c4d] libusb: debug [linux_get_device_address] bus=2 dev=1
[ 0.005599] [00003c4d] libusb: debug [linux_enumerate_device] busnum 2 devaddr 1 session_id 513
[ 0.005601] [00003c4d] libusb: debug [linux_enumerate_device] allocating new device for 2/1 (session 513)
[ 0.005652] [00003c4d] libusb: debug [linux_get_device_address] getting address for device: 2-1 detached: 0
[ 0.005656] [00003c4d] libusb: debug [linux_get_device_address] scan 2-1
[ 0.005673] [00003c4d] libusb: debug [linux_get_device_address] bus=2 dev=2
[ 0.005676] [00003c4d] libusb: debug [linux_enumerate_device] busnum 2 devaddr 2 session_id 514
[ 0.005678] [00003c4d] libusb: debug [linux_enumerate_device] allocating new device for 2/2 (session 514)
[ 0.005694] [00003c4d] libusb: debug [linux_get_parent_info] dev 0x1292f20 (2-1) has parent 0x129daf0 (usb2) port 1
[ 0.005701] [00003c4d] libusb: debug [libusb_init_context] installing new context as implicit default
[ 0.005705] [00003c4d] libusb: debug [libusb_get_device_list]
[ 0.005714] [00003c4d] libusb: debug [libusb_get_device_descriptor]
[ 0.005719] [00003c4d] libusb: debug [libusb_open] open 2.2
[ 0.005728] [00003c4d] libusb: error [get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/002/002, errno=13
[ 0.005730] [00003c4d] libusb: error [get_usbfs_fd] libusb requires write access to USB device nodes
[ 0.005732] [00003c4d] libusb: debug [libusb_open] open 2.2 returns -3
Bus 002, Port 001 [8087:8000] (no manufacturer)(no product name)
+ (SN not found)
+ Class = HUB device
+ bcdID = 0200, human readable = USB 2.0
[ 0.005745] [00003c4d] libusb: debug [libusb_get_config_descriptor] index 0
+ config[ 0], interfaces = 1, ID = 0x01, max required power = 0 mA
- interface[0] : alt.settings = 1 -> (ep[0]=1:-)
[ 0.005758] [00003c4d] libusb: debug [libusb_get_device_descriptor]
[ 0.005760] [00003c4d] libusb: debug [libusb_open] open 2.1
[ 0.005766] [00003c4d] libusb: error [get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/002/001, errno=13
[ 0.005769] [00003c4d] libusb: error [get_usbfs_fd] libusb requires write access to USB device nodes
[ 0.005771] [00003c4d] libusb: debug [libusb_open] open 2.1 returns -3
Solved to it's not a bug.
libusb Linux build seems to nothing contains for each device information as text.![image](https://user-images.githubusercontent.com/6948225/224622775-2858e2d5-d4db-4ed2-9750-d795e9e8b489.png)
Is it a bug? or belong to libusb ?