$ lsusb | sort; echo; lsusb -t
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 058f:a014 Alcor Micro Corp. Asus Integrated Webcam
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 006: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 003 Device 007: ID 0738:1731 Mad Catz, Inc.
Bus 003 Device 008: ID 045e:078c Microsoft Corp.
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
|__ Port 3: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 1: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 2: Dev 8, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
|__ Port 3: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 3: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M
lsmod | sort
aesni_intel 372736 6
ahci 40960 3
asus_nb_wmi 32768 0
asus_wmi 36864 1 asus_nb_wmi
async_memcpy 20480 2 raid456,async_raid6_recov
async_pq 24576 2 raid456,async_raid6_recov
async_raid6_recov 24576 1 raid456
async_tx 20480 5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
async_xor 20480 3 async_pq,raid456,async_raid6_recov
at24 24576 0
ath 36864 3 ath9k_common,ath9k,ath9k_hw
ath9k 151552 0
ath9k_common 36864 1 ath9k
ath9k_hw 483328 2 ath9k_common,ath9k
auth_rpcgss 114688 1 nfsd
autofs4 45056 2
blake2b_generic 20480 0
btrfs 1290240 0
ccm 20480 6
cec 53248 2 drm_kms_helper,i915
cfg80211 778240 4 ath9k_common,ath9k,ath,mac80211
coretemp 20480 0
crc32_pclmul 16384 0
crct10dif_pclmul 16384 1
cryptd 24576 3 crypto_simd,ghash_clmulni_intel
crypto_simd 16384 1 aesni_intel
dm_crypt 49152 1
drm 552960 14 drm_kms_helper,i915,ttm,nouveau
drm_kms_helper 217088 2 i915,nouveau
efi_pstore 16384 0
fb_sys_fops 16384 1 drm_kms_helper
ghash_clmulni_intel 16384 0
glue_helper 16384 1 aesni_intel
grace 16384 2 nfsd,lockd
hid 135168 2 usbhid,hid_generic
hid_generic 16384 0
i2c_algo_bit 16384 2 i915,nouveau
i2c_i801 32768 0
i2c_smbus 20480 1 i2c_i801
i915 2195456 60
input_leds 16384 0
intel_cstate 20480 0
intel_powerclamp 20480 0
intel_rapl_common 28672 1 intel_rapl_msr
intel_rapl_msr 20480 0
ip_tables 32768 0
joydev 24576 0
kvm 712704 1 kvm_intel
kvm_intel 286720 0
ledtrig_audio 16384 1 snd_hda_codec_generic
libahci 36864 1 ahci
libarc4 16384 1 mac80211
libcrc32c 16384 2 btrfs,raid456
linear 20480 0
lockd 102400 1 nfsd
lp 20480 0
lpc_ich 24576 0
mac80211 905216 1 ath9k
mac_hid 16384 0
mc 57344 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
mei 106496 3 mei_hdcp,mei_me
mei_hdcp 24576 0
mei_me 40960 1
Module Size Used by
multipath 20480 0
mxm_wmi 16384 1 nouveau
nfs_acl 16384 1 nfsd
nfsd 462848 13
nls_iso8859_1 16384 1
nouveau 1998848 1
parport 65536 3 parport_pc,lp,ppdev
parport_pc 45056 0
ppdev 24576 0
psmouse 155648 0
r8169 77824 0
raid0 24576 0
raid10 57344 0
raid1 49152 0
raid456 155648 0
raid6_pq 114688 4 async_pq,btrfs,raid456,async_raid6_recov
rapl 20480 0
rc_core 57344 1 cec
realtek 24576 1
rtsx_pci 81920 1 rtsx_pci_sdmmc
rtsx_pci_sdmmc 28672 0
sch_fq_codel 20480 2
serio_raw 20480 0
snd 94208 20 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
snd_hda_codec 139264 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_codec_generic 81920 1 snd_hda_codec_realtek
snd_hda_codec_hdmi 61440 1
snd_hda_codec_realtek 126976 1
snd_hda_core 94208 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hda_intel 53248 5
snd_hwdep 20480 1 snd_hda_codec
snd_intel_dspcfg 24576 1 snd_hda_intel
snd_pcm 114688 5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_rawmidi 36864 1 snd_seq_midi
snd_seq 69632 2 snd_seq_midi,snd_seq_midi_event
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
snd_seq_midi 20480 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_timer 40960 2 snd_seq,snd_pcm
soundcore 16384 1 snd
sparse_keymap 16384 1 asus_wmi
sunrpc 487424 18 nfsd,auth_rpcgss,lockd,nfs_acl
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
ttm 102400 1 nouveau
usbhid 57344 0
uvcvideo 98304 2
vboxdrv 516096 2 vboxnetadp,vboxnetflt
vboxnetadp 28672 0
vboxnetflt 28672 0
video 49152 3 asus_wmi,i915,nouveau
videobuf2_common 53248 2 videobuf2_v4l2,uvcvideo
videobuf2_memops 20480 1 videobuf2_vmalloc
videobuf2_v4l2 24576 1 uvcvideo
videobuf2_vmalloc 20480 1 uvcvideo
videodev 237568 5 videobuf2_v4l2,uvcvideo,videobuf2_common
wmi 32768 4 asus_wmi,wmi_bmof,mxm_wmi,nouveau
wmi_bmof 16384 0
x86_pkg_temp_thermal 20480 0
xhci_pci 20480 0
xhci_pci_renesas 20480 1 xhci_pci
xor 24576 2 async_xor,btrfs
x_tables 45056 1 ip_tables
dmesg | grep -i usb
[ 0.449328] ACPI: bus type USB registered
[ 0.449328] usbcore: registered new interface driver usbfs
[ 0.449328] usbcore: registered new interface driver hub
[ 0.449328] usbcore: registered new device driver usb
[ 0.559672] pci 0000:00:1a.0: quirk_usb_early_handoff+0x0/0x662 took 20810 usecs
[ 0.583666] pci 0000:00:1d.0: quirk_usb_early_handoff+0x0/0x662 took 23412 usecs
[ 0.851829] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.851975] ehci-pci 0000:00:1a.0: new USB bus registered, assigned bus number 1
[ 0.871558] ehci-pci 0000:00:1a.0: USB 2.0 started, EHCI 1.00
[ 0.871633] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.08
[ 0.871635] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.871636] usb usb1: Product: EHCI Host Controller
[ 0.871637] usb usb1: Manufacturer: Linux 5.8.0-40-generic ehci_hcd
[ 0.871638] usb usb1: SerialNumber: 0000:00:1a.0
[ 0.871883] hub 1-0:1.0: USB hub found
[ 0.872143] ehci-pci 0000:00:1d.0: new USB bus registered, assigned bus number 2
[ 0.891555] ehci-pci 0000:00:1d.0: USB 2.0 started, EHCI 1.00
[ 0.891623] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.08
[ 0.891625] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.891626] usb usb2: Product: EHCI Host Controller
[ 0.891627] usb usb2: Manufacturer: Linux 5.8.0-40-generic ehci_hcd
[ 0.891628] usb usb2: SerialNumber: 0000:00:1d.0
[ 0.891811] hub 2-0:1.0: USB hub found
[ 0.891943] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.891962] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.207577] usb 1-1: new high-speed USB device number 2 using ehci-pci
[ 1.223584] usb 2-1: new high-speed USB device number 2 using ehci-pci
[ 1.363937] usb 1-1: New USB device found, idVendor=8087, idProduct=0024, bcdDevice= 0.00
[ 1.363940] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.364227] hub 1-1:1.0: USB hub found
[ 1.375725] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 3
[ 1.377007] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.08
[ 1.377009] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.377011] usb usb3: Product: xHCI Host Controller
[ 1.377012] usb usb3: Manufacturer: Linux 5.8.0-40-generic xhci-hcd
[ 1.377014] usb usb3: SerialNumber: 0000:00:14.0
[ 1.377136] hub 3-0:1.0: USB hub found
[ 1.377343] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 4
[ 1.377346] xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed
[ 1.377387] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.08
[ 1.377389] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.377390] usb usb4: Product: xHCI Host Controller
[ 1.377392] usb usb4: Manufacturer: Linux 5.8.0-40-generic xhci-hcd
[ 1.377393] usb usb4: SerialNumber: 0000:00:14.0
[ 1.377493] hub 4-0:1.0: USB hub found
[ 1.383936] usb 2-1: New USB device found, idVendor=8087, idProduct=0024, bcdDevice= 0.00
[ 1.383939] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.384089] hub 2-1:1.0: USB hub found
[ 1.651528] usb 1-1.3: new high-speed USB device number 3 using ehci-pci
[ 1.895797] usb 1-1.3: New USB device found, idVendor=058f, idProduct=a014, bcdDevice= 0.03
[ 1.895799] usb 1-1.3: New USB device strings: Mfr=3, Product=1, SerialNumber=0
[ 1.895801] usb 1-1.3: Product: ASUS USB2.0 WebCam
[ 1.895802] usb 1-1.3: Manufacturer: 04G6200086K1AN26Q000VTM
[ 1.987586] usb 3-1: new full-speed USB device number 2 using xhci_hcd
[ 2.137673] usb 3-1: not running at top speed; connect to a high speed hub
[ 2.142739] usb 3-1: New USB device found, idVendor=22b8, idProduct=2e82, bcdDevice= 4.14
[ 2.142741] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.142742] usb 3-1: Product: moto g(8) power
[ 2.142744] usb 3-1: Manufacturer: motorola
[ 2.142745] usb 3-1: SerialNumber: ZY227V7S69
[ 2.271649] usb 3-3: new high-speed USB device number 3 using xhci_hcd
[ 2.420131] usb 3-3: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11
[ 2.420136] usb 3-3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.420139] usb 3-3: Product: USB 2.0 Hub
[ 2.420693] hub 3-3:1.0: USB hub found
[ 2.807553] usb 3-3.1: new full-speed USB device number 4 using xhci_hcd
[ 3.010143] usb 3-3.1: New USB device found, idVendor=0738, idProduct=1731, bcdDevice= 1.00
[ 3.010149] usb 3-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.010152] usb 3-3.1: Product: Mad Catz RAT4
[ 3.010156] usb 3-3.1: Manufacturer: Mad Catz
[ 3.010160] usb 3-3.1: SerialNumber: \xef\xbf\xbf\xef\xbf\xbf\xef\xbf\xbf\xef\xbf\xbf\xef\xbf\xbf\xef\xbf\xbf\xef\xbf\xbf\xef\xbf\xbf
[ 3.027402] usbhid 3-3.1:1.0: can't add hid device: -32
[ 3.027411] usbhid: probe of 3-3.1:1.0 failed with error -32
[ 3.028537] usbhid 3-3.1:1.1: can't add hid device: -32
[ 3.028543] usbhid: probe of 3-3.1:1.1 failed with error -32
[ 3.028557] usbcore: registered new interface driver usbhid
[ 3.028558] usbhid: USB HID core driver
[ 3.191548] usb 3-3.2: new low-speed USB device number 5 using xhci_hcd
[ 3.398047] usb 3-3.2: New USB device found, idVendor=045e, idProduct=078c, bcdDevice= 1.11
[ 3.398052] usb 3-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.398055] usb 3-3.2: Product: USB Keyboard
[ 3.398057] usb 3-3.2: Manufacturer: LITEON Technology
[ 3.413664] input: LITEON Technology USB Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3.2/3-3.2:1.0/0003:045E:078C.0001/input/input14
[ 3.472053] hid-generic 0003:045E:078C.0001: input,hidraw0: USB HID v1.10 Keyboard [LITEON Technology USB Keyboard] on usb-0000:00:14.0-3.2/input0
[ 182.518503] uvcvideo: Found UVC 1.00 device ASUS USB2.0 WebCam (058f:a014)
[ 182.526537] input: ASUS USB2.0 WebCam: ASUS USB2.0 as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/input/input16
[ 182.526664] usbcore: registered new interface driver uvcvideo
[ 182.526665] USB Video Class driver (1.1.1)
[ 185.685795] audit: type=1400 audit(1611666988.278:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ippusbxd" pid=1148 comm="apparmor_parser"
[ 212.841168] usb 3-3: USB disconnect, device number 3
[ 212.841174] usb 3-3.1: USB disconnect, device number 4
[ 212.841819] usb 3-3.2: USB disconnect, device number 5
[ 213.451635] usb 3-3: new high-speed USB device number 6 using xhci_hcd
[ 213.599865] usb 3-3: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11
[ 213.599870] usb 3-3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 213.599873] usb 3-3: Product: USB 2.0 Hub
[ 213.600510] hub 3-3:1.0: USB hub found
[ 213.987643] usb 3-3.1: new full-speed USB device number 7 using xhci_hcd
[ 214.190930] usb 3-3.1: New USB device found, idVendor=0738, idProduct=1731, bcdDevice= 1.00
[ 214.190935] usb 3-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 214.190938] usb 3-3.1: Product: Mad Catz RAT4
[ 214.190940] usb 3-3.1: Manufacturer: Mad Catz
[ 214.190942] usb 3-3.1: SerialNumber: \xef\xbf\xbf\xef\xbf\xbf\xef\xbf\xbf\xef\xbf\xbf\xef\xbf\xbf\xef\xbf\xbf\xef\xbf\xbf\xef\xbf\xbf
[ 214.198326] input: Mad Catz Mad Catz RAT4 as /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3.1/3-3.1:1.0/0003:0738:1731.0002/input/input20
[ 214.198939] hid-generic 0003:0738:1731.0002: input,hidraw0: USB HID v1.11 Mouse [Mad Catz Mad Catz RAT4] on usb-0000:00:14.0-3.1/input0
[ 214.202163] hid-generic 0003:0738:1731.0003: hiddev0,hidraw1: USB HID v1.11 Device [Mad Catz Mad Catz RAT4] on usb-0000:00:14.0-3.1/input1
[ 214.379640] usb 3-3.2: new low-speed USB device number 8 using xhci_hcd
[ 214.585737] usb 3-3.2: New USB device found, idVendor=045e, idProduct=078c, bcdDevice= 1.11
[ 214.585742] usb 3-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 214.585744] usb 3-3.2: Product: USB Keyboard
[ 214.585747] usb 3-3.2: Manufacturer: LITEON Technology
[ 214.594214] input: LITEON Technology USB Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3.2/3-3.2:1.0/0003:045E:078C.0004/input/input21
[ 214.652410] hid-generic 0003:045E:078C.0004: input,hidraw2: USB HID v1.10 Keyboard [LITEON Technology USB Keyboard] on usb-0000:00:14.0-3.2/input0
[ 8058.733305] usb 3-1: USB disconnect, device number 2
~$ webcam
reading config file: /home/monordi/.webcamrc
libv4l2: error setting pixformat: Device or resource busy
ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=640;fmt.pix.height=480;fmt.pix.pixelformat=0x56595559 [YUYV];fmt.pix.field=NONE;fmt.pix.bytesperline=1280;fmt.pix.sizeimage=614400;fmt.pix.colorspace=SRGB;fmt.pix.priv=4276996862): Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=640;fmt.pix.height=480;fmt.pix.pixelformat=0x56595559 [YUYV];fmt.pix.field=NONE;fmt.pix.bytesperline=1280;fmt.pix.sizeimage=614400;fmt.pix.colorspace=SRGB;fmt.pix.priv=4276996862): Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=640;fmt.pix.height=480;fmt.pix.pixelformat=0x56595559 [YUYV];fmt.pix.field=NONE;fmt.pix.bytesperline=1280;fmt.pix.sizeimage=614400;fmt.pix.colorspace=SRGB;fmt.pix.priv=4276996862): Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=640;fmt.pix.height=480;fmt.pix.pixelformat=0x56595559 [YUYV];fmt.pix.field=NONE;fmt.pix.bytesperline=1280;fmt.pix.sizeimage=614400;fmt.pix.colorspace=SRGB;fmt.pix.priv=4276996862): Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=640;fmt.pix.height=480;fmt.pix.pixelformat=0x56595559 [YUYV];fmt.pix.field=NONE;fmt.pix.bytesperline=1280;fmt.pix.sizeimage=614400;fmt.pix.colorspace=SRGB;fmt.pix.priv=4276996862): Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=640;fmt.pix.height=480;fmt.pix.pixelformat=0x56595559 [YUYV];fmt.pix.field=NONE;fmt.pix.bytesperline=1280;fmt.pix.sizeimage=614400;fmt.pix.colorspace=SRGB;fmt.pix.priv=4276996862): Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=640;fmt.pix.height=480;fmt.pix.pixelformat=0x56595559 [YUYV];fmt.pix.field=NONE;fmt.pix.bytesperline=1280;fmt.pix.sizeimage=614400;fmt.pix.colorspace=SRGB;fmt.pix.priv=4276996862): Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=640;fmt.pix.height=480;fmt.pix.pixelformat=0x56595559 [YUYV];fmt.pix.field=NONE;fmt.pix.bytesperline=1280;fmt.pix.sizeimage=614400;fmt.pix.colorspace=SRGB;fmt.pix.priv=4276996862): Device or resource busy
can't get rgb24 data