linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Kernel Oops while disconnecting USB peripheral (always)
@ 2012-07-23  3:42 Sarbojit Ganguly
  2012-07-23  5:50 ` Daniel Mack
  0 siblings, 1 reply; 15+ messages in thread
From: Sarbojit Ganguly @ 2012-07-23  3:42 UTC (permalink / raw)
  To: gregkh; +Cc: linux-usb, linux-kernel

Dear all,

Problem description:

A 4 port USB hub which when disconnected yields an Oops.
The USB hub connects the following peripherals:
1. USB keyboard
2. USB mouse
3. USB webcam + microphone built-in

The details of lsusb are provided.

This problem occurs when any USB device is removed (mass storage/usb
input devices etc.)

Kernel version:
Linux version 3.5.0 (sarbojit@Phrozen) (gcc version 4.6.3
(Ubuntu/Linaro 4.6.3-1ubuntu5) ) #2 SMP Sun Jul 22 23:41:08 IST 2012

CONFIG_DEBUG_PAGEALLOC=y has been turned on along with other kernel debug flags.

Output of ver_linux script:

If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

Linux Phrozen 3.5.0 #2 SMP Sun Jul 22 23:41:08 IST 2012 x86_64 x86_64
x86_64 GNU/Linux

Gnu C                  4.6
Gnu make               3.81
binutils               2.22
util-linux             2.20.1
mount                  support
module-init-tools      3.16
e2fsprogs              1.42
PPP                    2.4.5
Linux C Library        2.15
Dynamic linker (ldd)   2.15
Procps                 3.2.8
Net-tools              1.60
Kbd                    1.15.2
Sh-utils               8.13
wireless-tools         30
Modules Loaded         arc4 rt2800pci rt2800lib crc_ccitt rt2x00pci
rt2x00lib mac80211 snd_hda_codec_realtek i915 snd_hda_intel
snd_hda_codec snd_usb_audio snd_pcm snd_hwdep snd_usbmidi_lib
snd_seq_midi snd_rawmidi drm_kms_helper uvcvideo drm
snd_seq_midi_event joydev snd_seq videobuf2_core cfg80211 snd_timer
videodev jmb38x_ms videobuf2_vmalloc videobuf2_memops psmouse
snd_seq_device snd snd_page_alloc serio_raw soundcore bnep parport_pc
memstick eeprom_93cx6 ppdev i2c_algo_bit hid_generic rfcomm bluetooth
lp parport mxm_wmi acer_wmi sparse_keymap wmi mac_hid video usbhid hid
sdhci_pci sdhci r8169


Here is the syslog:

Jul 23 07:38:22 Phrozen kernel: [ 1691.529418] usb 2-3: USB
disconnect, device number 2
Jul 23 07:38:22 Phrozen kernel: [ 1691.529427] usb 2-3.1: USB
disconnect, device number 3
Jul 23 07:38:22 Phrozen kernel: [ 1691.538766] usb 2-3.2: USB
disconnect, device number 4
Jul 23 07:38:22 Phrozen kernel: [ 1691.552751] BUG: unable to handle
kernel paging request at ffff880135366ac8
Jul 23 07:38:22 Phrozen kernel: [ 1691.552827] IP:
[<ffffffffa02a9648>] snd_usb_audio_disconnect.isra.2+0x128/0x1b0
[snd_usb_audio]
Jul 23 07:38:22 Phrozen kernel: [ 1691.552912] PGD 1c0c063 PUD
baf6e067 PMD bb118067 PTE 8000000135366160
Jul 23 07:38:22 Phrozen kernel: [ 1691.552984] Oops: 0000 [#1] SMP
DEBUG_PAGEALLOC
Jul 23 07:38:22 Phrozen kernel: [ 1691.553038] CPU 1
Jul 23 07:38:22 Phrozen kernel: [ 1691.553057] Modules linked in: arc4
rt2800pci rt2800lib crc_ccitt rt2x00pci rt2x00lib mac80211 i915
snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_usb_audio joydev
snd_pcm snd_hwdep snd_usbmidi_lib snd_seq_midi snd_rawmidi uvcvideo
snd_seq_midi_event drm_kms_helper drm cfg80211 videobuf2_core videodev
snd_seq snd_timer snd_seq_device snd videobuf2_vmalloc psmouse
snd_page_alloc jmb38x_ms soundcore memstick videobuf2_memops serio_raw
i2c_algo_bit hid_generic eeprom_93cx6 parport_pc bnep ppdev rfcomm
bluetooth lp parport acer_wmi mxm_wmi sparse_keymap mac_hid video wmi
usbhid hid sdhci_pci sdhci r8169
Jul 23 07:38:22 Phrozen kernel: [ 1691.553773]
Jul 23 07:38:22 Phrozen kernel: [ 1691.553780] Pid: 21, comm: khubd
Not tainted 3.5.0 #2 Acer       Aspire 4730Z    /Aspire 4730Z
Jul 23 07:38:22 Phrozen kernel: [ 1691.553862] RIP:
0010:[<ffffffffa02a9648>]  [<ffffffffa02a9648>]
snd_usb_audio_disconnect.isra.2+0x128/0x1b0 [snd_usb_audio]
Jul 23 07:38:22 Phrozen kernel: [ 1691.553966] RSP:
0018:ffff880139547b50  EFLAGS: 00010282
Jul 23 07:38:22 Phrozen kernel: [ 1691.554012] RAX: 0000000000000001
RBX: ffff880135277800 RCX: 0000000000016f88
Jul 23 07:38:22 Phrozen kernel: [ 1691.554068] RDX: 000000000000e62b
RSI: 0000000000000000 RDI: 0000000000000202
Jul 23 07:38:22 Phrozen kernel: [ 1691.554125] RBP: ffff880139547b80
R08: 0000000000000364 R09: ffff88013fbfafd0
Jul 23 07:38:22 Phrozen kernel: [ 1691.554180] R10: 000000000000007b
R11: 0000000000000001 R12: ffff880135277870
Jul 23 07:38:22 Phrozen kernel: [ 1691.554238] R13: ffff88013450ac00
R14: ffff880135366ac8 R15: ffff8801352778d8
Jul 23 07:38:22 Phrozen kernel: [ 1691.554294] FS:
0000000000000000(0000) GS:ffff88013fc80000(0000)
knlGS:0000000000000000
Jul 23 07:38:22 Phrozen kernel: [ 1691.554362] CS:  0010 DS: 0000 ES:
0000 CR0: 000000008005003b
Jul 23 07:38:22 Phrozen kernel: [ 1691.554407] CR2: ffff880135366ac8
CR3: 00000001366a6000 CR4: 00000000000407e0
Jul 23 07:38:22 Phrozen kernel: [ 1691.554464] DR0: 0000000000000000
DR1: 0000000000000000 DR2: 0000000000000000
Jul 23 07:38:22 Phrozen kernel: [ 1691.554519] DR3: 0000000000000000
DR6: 00000000ffff0ff0 DR7: 0000000000000400
Jul 23 07:38:22 Phrozen kernel: [ 1691.554577] Process khubd (pid: 21,
threadinfo ffff880139546000, task ffff880139badcc0)
Jul 23 07:38:22 Phrozen kernel: [ 1691.554637] Stack:
Jul 23 07:38:22 Phrozen kernel: [ 1691.554657]  ffff88013271a000
ffff880132478c30 ffff880132478c00 ffff88013271a000
Jul 23 07:38:22 Phrozen kernel: [ 1691.554736]  ffffffffa02bd718
00000000ffffffea ffff880139547b90 ffffffffa02a96ea
Jul 23 07:38:22 Phrozen kernel: [ 1691.554814]  ffff880139547be0
ffffffff814b069d ffff880139547be0 0000000081414108
Jul 23 07:38:22 Phrozen kernel: [ 1691.554889] Call Trace:
Jul 23 07:38:22 Phrozen kernel: [ 1691.554926]  [<ffffffffa02a96ea>]
usb_audio_disconnect+0x1a/0x20 [snd_usb_audio]
Jul 23 07:38:22 Phrozen kernel: [ 1691.554994]  [<ffffffff814b069d>]
usb_unbind_interface+0x5d/0x1b0
Jul 23 07:38:22 Phrozen kernel: [ 1691.555050]  [<ffffffff814097cc>]
__device_release_driver+0x7c/0xe0
Jul 23 07:38:22 Phrozen kernel: [ 1691.555102]  [<ffffffff8140985c>]
device_release_driver+0x2c/0x40
Jul 23 07:38:22 Phrozen kernel: [ 1691.555155]  [<ffffffff81409264>]
bus_remove_device+0xe4/0x120
Jul 23 07:38:22 Phrozen kernel: [ 1691.555206]  [<ffffffff81406a03>]
device_del+0x123/0x1b0
Jul 23 07:38:22 Phrozen kernel: [ 1691.555256]  [<ffffffff814ae1af>]
usb_disable_device+0xaf/0x1f0
Jul 23 07:38:22 Phrozen kernel: [ 1691.555306]  [<ffffffff814a6d20>]
usb_disconnect+0x90/0x120
Jul 23 07:38:22 Phrozen kernel: [ 1691.555353]  [<ffffffff814a6d09>]
usb_disconnect+0x79/0x120
Jul 23 07:38:22 Phrozen kernel: [ 1691.555399]  [<ffffffff814a7d88>]
hub_port_connect_change+0xa8/0x6c0
Jul 23 07:38:22 Phrozen kernel: [ 1691.555453]  [<ffffffff814a8733>]
hub_events+0x393/0x5b0
Jul 23 07:38:22 Phrozen kernel: [ 1691.555500]  [<ffffffff814a8985>]
hub_thread+0x35/0x1a0
Jul 23 07:38:22 Phrozen kernel: [ 1691.555545]  [<ffffffff81076d70>] ?
__init_waitqueue_head+0x40/0x40
Jul 23 07:38:22 Phrozen kernel: [ 1691.555598]  [<ffffffff814a8950>] ?
hub_events+0x5b0/0x5b0
Jul 23 07:38:22 Phrozen kernel: [ 1691.555646]  [<ffffffff810762d3>]
kthread+0x93/0xa0
Jul 23 07:38:22 Phrozen kernel: [ 1691.555692]  [<ffffffff8166f864>]
kernel_thread_helper+0x4/0x10
Jul 23 07:38:22 Phrozen kernel: [ 1691.555744]  [<ffffffff81076240>] ?
__init_kthread_worker+0x40/0x40
Jul 23 07:38:22 Phrozen kernel: [ 1691.555795]  [<ffffffff8166f860>] ?
gs_change+0x13/0x13
Jul 23 07:38:22 Phrozen kernel: [ 1691.555839] Code: 00 48 39 c2 75 ad
4c 8b b3 d8 00 00 00 4c 8d bb d8 00 00 00 4d 39 fe 74 1a 66 2e 0f 1f
84 00 00 00 00 00 4c 89 f7 e8 18 24 00 00 <4d> 8b 36 4d 39 fe 75 f0 4c
8b b3 f0 00 00 00 4c 8d bb f0 00 00
Jul 23 07:38:22 Phrozen kernel: [ 1691.556149] RIP
[<ffffffffa02a9648>] snd_usb_audio_disconnect.isra.2+0x128/0x1b0
[snd_usb_audio]
Jul 23 07:38:22 Phrozen kernel: [ 1691.556149]  RSP <ffff880139547b50>
Jul 23 07:38:22 Phrozen kernel: [ 1691.556149] CR2: ffff880135366ac8
Jul 23 07:38:22 Phrozen kernel: [ 1691.585993] ---[ end trace
5c54ad131247c0a7 ]---
Jul 23 07:39:47 Phrozen kernel: imklog 5.8.6, log source = /proc/kmsg started.
Jul 23 07:39:47 Phrozen rsyslogd: [origin software="rsyslogd"
swVersion="5.8.6" x-pid="563" x-info="http://www.rsyslog.com"] start
Jul 23 07:39:47 Phrozen rsyslogd: rsyslogd's groupid changed to 103
Jul 23 07:39:47 Phrozen rsyslogd: rsyslogd's userid changed to 101
Jul 23 07:39:47 Phrozen rsyslogd-2039: Could not open output pipe
'/dev/xconsole' [try http://www.rsyslog.com/e/2039 ]
Jul 23 07:39:47 Phrozen bluetoothd[556]: Failed to init alert plugin
Jul 23 07:39:47 Phrozen bluetoothd[556]: Failed to init time plugin
Jul 23 07:39:47 Phrozen bluetoothd[556]: Failed to init proximity plugin
Jul 23 07:39:47 Phrozen bluetoothd[556]: Failed to init gatt_example plugin


One more:

Jul 23 08:45:43 Phrozen kernel: [ 3878.550604] VFS: Busy inodes after
unmount of sdb1. Self-destruct in 5 seconds.  Have a nice day...
Jul 23 08:45:43 Phrozen kernel: [ 3878.551053] BUG: unable to handle
kernel NULL pointer dereference at 00000000000001e8
Jul 23 08:45:43 Phrozen kernel: [ 3878.551178] IP:
[<ffffffff811fdb16>] ext3_evict_inode+0x46/0x2c0
Jul 23 08:45:43 Phrozen kernel: [ 3878.551275] PGD bb57e067 PUD bb4a2067 PMD 0
Jul 23 08:45:43 Phrozen kernel: [ 3878.551346] Oops: 0000 [#1] SMP
DEBUG_PAGEALLOC
Jul 23 08:45:43 Phrozen kernel: [ 3878.551438] CPU 1
Jul 23 08:45:43 Phrozen kernel: [ 3878.551470] Modules linked in: uas
usb_storage snd_usb_audio snd_usbmidi_lib hid_generic usbhid hid arc4
rt2800pci rt2800lib crc_ccitt rt2x00pci rt2x00lib mac80211
snd_hda_codec_realtek i915 snd_hda_intel snd_hda_codec snd_hwdep
snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event drm_kms_helper
joydev snd_seq cfg80211 snd_timer snd_seq_device snd drm uvcvideo
jmb38x_ms videobuf2_core soundcore snd_page_alloc memstick videodev
psmouse eeprom_93cx6 videobuf2_vmalloc i2c_algo_bit videobuf2_memops
serio_raw rfcomm parport_pc bnep ppdev bluetooth lp parport mxm_wmi
acer_wmi sparse_keymap video mac_hid wmi sdhci_pci sdhci r8169
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] Pid: 13148, comm:
gvfsd-trash Not tainted 3.5.0 #2 Acer       Aspire 4730Z    /Aspire
4730Z
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] RIP:
0010:[<ffffffff811fdb16>]  [<ffffffff811fdb16>]
ext3_evict_inode+0x46/0x2c0
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] RSP:
0000:ffff8800bb517e48  EFLAGS: 00010287
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] RAX: 0000000000004000
RBX: ffff880132d288b0 RCX: ffff88013ff83000
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] RDX: 0000000000000000
RSI: 3e772dc354865807 RDI: ffff880132d288b0
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] RBP: ffff8800bb517e68
R08: e000000000000000 R09: c038000000000000
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] R10: feaf2dc354865807
R11: 7fffffffffffffff R12: 0000000000000000
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] R13: 0000000000000005
R14: ffff8801324189a0 R15: ffff8801347336a0
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] FS:
00007f0d9e5247c0(0000) GS:ffff88013fc80000(0000)
knlGS:0000000000000000
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] CS:  0010 DS: 0000 ES:
0000 CR0: 0000000080050033
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] CR2: 00000000000001e8
CR3: 00000000bb426000 CR4: 00000000000407e0
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] DR0: 0000000000000000
DR1: 0000000000000000 DR2: 0000000000000000
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] DR3: 0000000000000000
DR6: 00000000ffff0ff0 DR7: 0000000000000400
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] Process gvfsd-trash
(pid: 13148, threadinfo ffff8800bb516000, task ffff88013189dcc0)
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] Stack:
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  ffff880132d288b0
ffff880132d289e8 ffffffff81824ca0 ffff8801324189a0
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  ffff8800bb517e98
ffffffff8119a268 ffff880132d288b0 ffff880132d288b0
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  ffff880132d28938
ffffffff81824ca0 ffff8800bb517ec8 ffffffff8119a452
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] Call Trace:
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  [<ffffffff8119a268>]
evict+0xb8/0x1c0
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  [<ffffffff8119a452>]
iput_final+0xe2/0x1f0
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  [<ffffffff8119a59e>]
iput+0x3e/0x50
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  [<ffffffff811c0630>]
fsnotify_destroy_mark+0x170/0x180
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  [<ffffffff811c2738>]
sys_inotify_rm_watch+0x78/0xd0
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  [<ffffffff8166e569>]
system_call_fastpath+0x16/0x1b
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] Code: 48 45 31 e4 45 85
ed 0f 84 66 01 00 00 0f b7 03 48 8b 53 28 48 8b 92 70 03 00 00 25 00
f0 00 00 3d 00 80 00 00 0f 84 ea 01 00 00 <4c> 8b b2 e8 01 00 00 4c 8d
ab 80 01 00 00 4d 85 f6 74 17 3d 00
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] RIP
[<ffffffff811fdb16>] ext3_evict_inode+0x46/0x2c0
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  RSP <ffff8800bb517e48>
Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] CR2: 00000000000001e8
Jul 23 08:45:43 Phrozen kernel: [ 3878.590676] ---[ end trace
3128f11f8290fec4 ]---
Jul 23 08:47:11 Phrozen kernel: imklog 5.8.6, log source = /proc/kmsg started.
Jul 23 08:47:11 Phrozen rsyslogd: [origin software="rsyslogd"
swVersion="5.8.6" x-pid="592" x-info="http://www.rsyslog.com"] start
Jul 23 08:47:11 Phrozen rsyslogd: rsyslogd's groupid changed to 103
Jul 23 08:47:11 Phrozen rsyslogd: rsyslogd's userid changed to 101
Jul 23 08:47:11 Phrozen rsyslogd-2039: Could not open output pipe
'/dev/xconsole' [try http://www.rsyslog.com/e/2039 ]


CPU-Info
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Pentium(R) Dual-Core CPU       T4200  @ 2.00GHz
stepping	: 10
microcode	: 0xa07
cpu MHz		: 2000.000
cache size	: 1024 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni
dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm
dtherm
bogomips	: 3989.98
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Pentium(R) Dual-Core CPU       T4200  @ 2.00GHz
stepping	: 10
microcode	: 0xa07
cpu MHz		: 2000.000
cache size	: 1024 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni
dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm
dtherm
bogomips	: 3989.98
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:


lsusb -vvv output


Bus 001 Device 002: ID 064e:a103 Suyin Corp. Acer/HP Integrated Webcam [CN0314]
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x064e Suyin Corp.
  idProduct          0xa103 Acer/HP Integrated Webcam [CN0314]
  bcdDevice            1.00
  iManufacturer           2 SuYin
  iProduct                1 Acer Crystal Eye webcam
  iSerial                 3 CN0314-SN30-OV03-VA-R02.03.02
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          544
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         2
      bFunctionClass         14 Video
      bFunctionSubClass       3 Video Interface Collection
      bFunctionProtocol       0
      iFunction               5 Acer Crystal Eye webcam
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      1 Video Control
      bInterfaceProtocol      0
      iInterface              5 Acer Crystal Eye webcam
      VideoControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdUVC               1.00
        wTotalLength          104
        dwClockFrequency       15.000000MHz
        bInCollection           1
        baInterfaceNr( 0)       1
      VideoControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             2
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               5
        iTerminal               0
      VideoControl Interface Descriptor:
        bLength                26
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 4
        guidExtensionCode         {7033f028-1163-2e4a-ba2c-6890eb334016}
        bNumControl             8
        bNrPins                 1
        baSourceID( 0)          3
        bControlSize            1
        bmControls( 0)       0x0f
        iExtension              0
      VideoControl Interface Descriptor:
        bLength                26
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 5
        guidExtensionCode         {3fae1228-d7bc-114e-a357-6f1edef7d61d}
        bNumControl             8
        bNrPins                 1
        baSourceID( 0)          4
        bControlSize            1
        bmControls( 0)       0xff
        iExtension              0
      VideoControl Interface Descriptor:
        bLength                18
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Camera Sensor
        bAssocTerminal          0
        iTerminal               0
        wObjectiveFocalLengthMin      0
        wObjectiveFocalLengthMax      0
        wOcularFocalLength            0
        bControlSize                  3
        bmControls           0x00000000
      VideoControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      5 (PROCESSING_UNIT)
      Warning: Descriptor too short
        bUnitID                 3
        bSourceID               1
        wMaxMultiplier          0
        bControlSize            3
        bmControls     0x000025bf
          Brightness
          Contrast
          Hue
          Saturation
          Sharpness
          Gamma
          White Balance Component
          Backlight Compensation
          Power Line Frequency
          White Balance Component, Auto
        iProcessing             0
        bmVideoStandards     0x31
          None
          NTSC - 625/50
          PAL - 525/60
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               6
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      VideoStreaming Interface Descriptor:
        bLength                            14
        bDescriptorType                    36
        bDescriptorSubtype                  1 (INPUT_HEADER)
        bNumFormats                         1
        wTotalLength                      297
        bEndPointAddress                  129
        bmInfo                              0
        bTerminalLink                       2
        bStillCaptureMethod                 0
        bTriggerSupport                     1
        bTriggerUsage                       1
        bControlSize                        1
        bmaControls( 0)                    27
      VideoStreaming Interface Descriptor:
        bLength                            27
        bDescriptorType                    36
        bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)
        bFormatIndex                        1
        bNumFrameDescriptors                5
        guidFormat
{59555932-0000-1000-8000-00aa00389b71}
        bBitsPerPixel                      16
        bDefaultFrameIndex                  1
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 2 fields
          Field 1 first: No
          Field pattern: Field 1 only
          bCopyProtect                      0
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         1
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                  3072000
        dwMaxBitRate                 18432000
        dwMaxVideoFrameBufferSize      614400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         2
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            352
        wHeight                           288
        dwMinBitRate                  1013760
        dwMaxBitRate                  6082560
        dwMaxVideoFrameBufferSize      202752
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         3
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            320
        wHeight                           240
        dwMinBitRate                   768000
        dwMaxBitRate                  4608000
        dwMaxVideoFrameBufferSize      153600
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         4
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            176
        wHeight                           144
        dwMinBitRate                   253440
        dwMaxBitRate                  1520640
        dwMaxVideoFrameBufferSize       50688
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         5
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            160
        wHeight                           120
        dwMinBitRate                   192000
        dwMaxBitRate                  1152000
        dwMaxVideoFrameBufferSize       38400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     1 (BT.709,sRGB)
        bTransferCharacteristics            1 (BT.709)
        bMatrixCoefficients                 4 (SMPTE 170M (BT.601))
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0080  1x 128 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0100  1x 256 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       3
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0320  1x 800 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       4
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0b20  2x 800 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       5
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x1320  3x 800 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       6
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x1400  3x 1024 bytes
        bInterval               1
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0002
  (Bus Powered)
  Remote Wakeup Enabled

Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x05e3 Genesys Logic, Inc.
  idProduct          0x0608 USB-2.0 4-Port HUB
  bcdDevice           77.64
  iManufacturer           0
  iProduct                1 USB2.0 Hub
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x00e0
    Ganged power switching
    Ganged overcurrent protection
    TT think time 32 FS bits
    Port indicators
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    100 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0303 lowspeed power enable connect
   Port 2: 0000.0507 highspeed power suspend enable connect
   Port 3: 0000.0100 power
   Port 4: 0000.0103 power enable connect
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.05
  iManufacturer           3 Linux 3.5.0 ehci_hcd
  iProduct                2 EHCI Host Controller
  iSerial                 1 0000:00:1a.7
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0503 highspeed power enable connect
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
Device Status:     0x0001
  Self Powered

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.05
  iManufacturer           3 Linux 3.5.0 ehci_hcd
  iProduct                2 EHCI Host Controller
  iSerial                 1 0000:00:1d.7
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength              11
  bDescriptorType      41
  nNbrPorts             8
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00 0x00
  PortPwrCtrlMask    0xff 0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
   Port 3: 0000.0503 highspeed power enable connect
   Port 4: 0000.0100 power
   Port 5: 0000.0100 power
   Port 6: 0000.0100 power
   Port 7: 0000.0100 power
   Port 8: 0000.0100 power
Device Status:     0x0001
  Self Powered

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            3.05
  iManufacturer           3 Linux 3.5.0 uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:00:1a.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
Device Status:     0x0001
  Self Powered

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            3.05
  iManufacturer           3 Linux 3.5.0 uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:00:1a.1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
Device Status:     0x0001
  Self Powered

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            3.05
  iManufacturer           3 Linux 3.5.0 uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:00:1d.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
Device Status:     0x0001
  Self Powered

Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            3.05
  iManufacturer           3 Linux 3.5.0 uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:00:1d.1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
Device Status:     0x0001
  Self Powered

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            3.05
  iManufacturer           3 Linux 3.5.0 uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:00:1d.2
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
Device Status:     0x0001
  Self Powered

Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            3.05
  iManufacturer           3 Linux 3.5.0 uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:00:1d.3
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
Device Status:     0x0001
  Self Powered

Bus 002 Device 003: ID 045e:0047 Microsoft Corp. IntelliMouse Explorer 3.0
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x045e Microsoft Corp.
  idProduct          0x0047 IntelliMouse Explorer 3.0
  bcdDevice            3.00
  iManufacturer           1 Microsoft
  iProduct                3 Microsoft 5-Button Mouse with IntelliEye(TM)
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      72
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              10
Device Status:     0x0000
  (Bus Powered)

Bus 002 Device 004: ID 0c45:62e0 Microdia MSI Starcam Racer
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x0c45 Microdia
  idProduct          0x62e0 MSI Starcam Racer
  bcdDevice            1.00
  iManufacturer           2 Sonix Technology Co., Ltd.
  iProduct                1 USB 2.0 Camera
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength         1051
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              250mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         2
      bFunctionClass         14 Video
      bFunctionSubClass       3 Video Interface Collection
      bFunctionProtocol       0
      iFunction               5 USB Camera
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      1 Video Control
      bInterfaceProtocol      0
      iInterface              5 USB Camera
      VideoControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdUVC               1.00
        wTotalLength          103
        dwClockFrequency       15.000000MHz
        bInCollection           1
        baInterfaceNr( 0)       1
      VideoControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             2
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               5
        iTerminal               0
      VideoControl Interface Descriptor:
        bLength                26
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 4
        guidExtensionCode         {7033f028-1163-2e4a-ba2c-6890eb334016}
        bNumControl             8
        bNrPins                 1
        baSourceID( 0)          3
        bControlSize            1
        bmControls( 0)       0x3f
        iExtension              0
      VideoControl Interface Descriptor:
        bLength                26
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 5
        guidExtensionCode         {3fae1228-d7bc-114e-a357-6f1edef7d61d}
        bNumControl             8
        bNrPins                 1
        baSourceID( 0)          4
        bControlSize            1
        bmControls( 0)       0x00
        iExtension              0
      VideoControl Interface Descriptor:
        bLength                18
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Camera Sensor
        bAssocTerminal          0
        iTerminal               0
        wObjectiveFocalLengthMin      0
        wObjectiveFocalLengthMax      0
        wOcularFocalLength            0
        bControlSize                  3
        bmControls           0x0002002e
          Auto-Exposure Mode
          Auto-Exposure Priority
          Exposure Time (Absolute)
          Focus (Absolute)
          Focus, Auto
      VideoControl Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      5 (PROCESSING_UNIT)
      Warning: Descriptor too short
        bUnitID                 3
        bSourceID               1
        wMaxMultiplier          0
        bControlSize            2
        bmControls     0x0000177f
          Brightness
          Contrast
          Hue
          Saturation
          Sharpness
          Gamma
          White Balance Temperature
          Backlight Compensation
          Gain
          Power Line Frequency
          White Balance Temperature, Auto
        iProcessing             0
        bmVideoStandards     0x 0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               6
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      VideoStreaming Interface Descriptor:
        bLength                            15
        bDescriptorType                    36
        bDescriptorSubtype                  1 (INPUT_HEADER)
        bNumFormats                         2
        wTotalLength                      692
        bEndPointAddress                  129
        bmInfo                              0
        bTerminalLink                       2
        bStillCaptureMethod                 2
        bTriggerSupport                     1
        bTriggerUsage                       1
        bControlSize                        1
        bmaControls( 0)                    27
        bmaControls( 1)                    27
      VideoStreaming Interface Descriptor:
        bLength                            27
        bDescriptorType                    36
        bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)
        bFormatIndex                        1
        bNumFrameDescriptors                6
        guidFormat
{59555932-0000-1000-8000-00aa00389b71}
        bBitsPerPixel                      16
        bDefaultFrameIndex                  1
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 2 fields
          Field 1 first: No
          Field pattern: Field 1 only
          bCopyProtect                      0
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         1
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                  3072000
        dwMaxBitRate                 18432000
        dwMaxVideoFrameBufferSize      614400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         2
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            352
        wHeight                           288
        dwMinBitRate                  1013760
        dwMaxBitRate                  6082560
        dwMaxVideoFrameBufferSize      202752
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         3
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            320
        wHeight                           240
        dwMinBitRate                   768000
        dwMaxBitRate                  4608000
        dwMaxVideoFrameBufferSize      153600
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         4
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            176
        wHeight                           144
        dwMinBitRate                   253440
        dwMaxBitRate                  1520640
        dwMaxVideoFrameBufferSize       50688
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         5
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            160
        wHeight                           120
        dwMinBitRate                   192000
        dwMaxBitRate                  1152000
        dwMaxVideoFrameBufferSize       38400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         6
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                           1280
        wHeight                          1024
        dwMinBitRate                 13107200
        dwMaxBitRate                 23592960
        dwMaxVideoFrameBufferSize     2621440
        dwDefaultFrameInterval        1111111
        bFrameIntervalType                  2
        dwFrameInterval( 0)           1111111
        dwFrameInterval( 1)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  3 (STILL_IMAGE_FRAME)
        bEndpointAddress                    0
        bNumImageSizePatterns               6
        wWidth( 0)                       1280
        wHeight( 0)                      1024
        wWidth( 1)                        640
        wHeight( 1)                       480
        wWidth( 2)                        352
        wHeight( 2)                       288
        wWidth( 3)                        320
        wHeight( 3)                       240
        wWidth( 4)                        176
        wHeight( 4)                       144
        wWidth( 5)                        160
        wHeight( 5)                       120
        bNumCompressionPatterns             6
      VideoStreaming Interface Descriptor:
        bLength                            11
        bDescriptorType                    36
        bDescriptorSubtype                  6 (FORMAT_MJPEG)
        bFormatIndex                        2
        bNumFrameDescriptors                6
        bFlags                              0
          Fixed-size samples: No
        bDefaultFrameIndex                  1
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 1 fields
          Field 1 first: No
          Field pattern: Field 1 only
          bCopyProtect                      0
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         1
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                   384000
        dwMaxBitRate                  2304000
        dwMaxVideoFrameBufferSize       76800
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         2
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            352
        wHeight                           288
        dwMinBitRate                   126720
        dwMaxBitRate                   760320
        dwMaxVideoFrameBufferSize       25344
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         3
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            320
        wHeight                           240
        dwMinBitRate                    96000
        dwMaxBitRate                   576000
        dwMaxVideoFrameBufferSize       19200
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         4
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            176
        wHeight                           144
        dwMinBitRate                    31680
        dwMaxBitRate                   190080
        dwMaxVideoFrameBufferSize        6336
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         5
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            160
        wHeight                           120
        dwMinBitRate                    24000
        dwMaxBitRate                   144000
        dwMaxVideoFrameBufferSize        4800
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            38
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         6
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                           1280
        wHeight                          1024
        dwMinBitRate                  1638400
        dwMaxBitRate                  4915200
        dwMaxVideoFrameBufferSize      327680
        dwDefaultFrameInterval         666666
        bFrameIntervalType                  3
        dwFrameInterval( 0)            666666
        dwFrameInterval( 1)           1000000
        dwFrameInterval( 2)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            31
        bDescriptorType                    36
        bDescriptorSubtype                  3 (STILL_IMAGE_FRAME)
        bEndpointAddress                    0
        bNumImageSizePatterns               6
        wWidth( 0)                       1280
        wHeight( 0)                      1024
        wWidth( 1)                        640
        wHeight( 1)                       480
        wWidth( 2)                        352
        wHeight( 2)                       288
        wWidth( 3)                        320
        wHeight( 3)                       240
        wWidth( 4)                        176
        wHeight( 4)                       144
        wWidth( 5)                        160
        wHeight( 5)                       120
        bNumCompressionPatterns             6
        bCompression( 0)                    0
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     1 (BT.709,sRGB)
        bTransferCharacteristics            1 (BT.709)
        bMatrixCoefficients                 4 (SMPTE 170M (BT.601))
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0080  1x 128 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0100  1x 256 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       3
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0320  1x 800 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       4
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0b20  2x 800 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       5
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x1320  3x 800 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       6
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x1400  3x 1024 bytes
        bInterval               1
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         2
      bInterfaceCount         2
      bFunctionClass          1 Audio
      bFunctionSubClass       0
      bFunctionProtocol       0
      iFunction               4 USB Audio Device
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0
      iInterface              4 USB Audio Device
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength           41
        bInCollection           1
        baInterfaceNr( 0)       3
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Microphone
        bAssocTerminal          0
        bNrChannels             1
        wChannelConfig     0x0000
        iChannelNames           0
        iTerminal               0
      AudioControl Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 2
        bSourceID               1
        bControlSize            2
        bmaControls( 0)      0x01
        bmaControls( 0)      0x00
          Mute Control
        bmaControls( 1)      0x02
        bmaControls( 1)      0x00
          Volume Control
        iFeature                0
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               2
        iTerminal               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           3
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                14
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            2 Discrete
        tSamFreq[ 0]         8000
        tSamFreq[ 1]        16000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0190  1x 400 bytes
        bInterval               4
        bRefresh                0
        bSynchAddress           0
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0002
  (Bus Powered)
  Remote Wakeup Enabled

Bus 002 Device 005: ID 03eb:0902 Atmel Corp. 4-Port Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0         8
  idVendor           0x03eb Atmel Corp.
  idProduct          0x0902 4-Port Hub
  bcdDevice            1.00
  iManufacturer           0
  iProduct                2 USB 2.0 Hub
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval             255
        ** UNRECOGNIZED:  09 29 04 09 00 32 64 00 1e
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    100 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0x1e
 Hub Port Status:
   Port 1: 0000.0303 lowspeed power enable connect
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
Device Status:     0x0001
  Self Powered

Bus 002 Device 006: ID 413c:2003 Dell Computer Corp. Keyboard
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x413c Dell Computer Corp.
  idProduct          0x2003 Keyboard
  bcdDevice            3.06
  iManufacturer           1 Dell
  iProduct                2
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower               70mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      65
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              24
Device Status:     0x0000
  (Bus Powered)

--
Regards,
Sarbojit

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Kernel Oops while disconnecting USB peripheral (always)
  2012-07-23  3:42 Kernel Oops while disconnecting USB peripheral (always) Sarbojit Ganguly
@ 2012-07-23  5:50 ` Daniel Mack
  2012-07-23  6:03   ` Sarbojit Ganguly
  0 siblings, 1 reply; 15+ messages in thread
From: Daniel Mack @ 2012-07-23  5:50 UTC (permalink / raw)
  To: Sarbojit Ganguly; +Cc: gregkh, linux-usb, linux-kernel, Takashi Iwai

On 23.07.2012 05:42, Sarbojit Ganguly wrote:
> Dear all,
> 
> Problem description:
> 
> A 4 port USB hub which when disconnected yields an Oops.
> The USB hub connects the following peripherals:
> 1. USB keyboard
> 2. USB mouse
> 3. USB webcam + microphone built-in
> 
> The details of lsusb are provided.
> 
> This problem occurs when any USB device is removed (mass storage/usb
> input devices etc.)

Are you sure about this? The stack trace clearly blames the audio
driver. Can you provide one that happens without the webcam in the game?


Daniel


> 
> Kernel version:
> Linux version 3.5.0 (sarbojit@Phrozen) (gcc version 4.6.3
> (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #2 SMP Sun Jul 22 23:41:08 IST 2012
> 
> CONFIG_DEBUG_PAGEALLOC=y has been turned on along with other kernel debug flags.
> 
> Output of ver_linux script:
> 
> If some fields are empty or look unusual you may have an old version.
> Compare to the current minimal requirements in Documentation/Changes.
> 
> Linux Phrozen 3.5.0 #2 SMP Sun Jul 22 23:41:08 IST 2012 x86_64 x86_64
> x86_64 GNU/Linux
> 
> Gnu C                  4.6
> Gnu make               3.81
> binutils               2.22
> util-linux             2.20.1
> mount                  support
> module-init-tools      3.16
> e2fsprogs              1.42
> PPP                    2.4.5
> Linux C Library        2.15
> Dynamic linker (ldd)   2.15
> Procps                 3.2.8
> Net-tools              1.60
> Kbd                    1.15.2
> Sh-utils               8.13
> wireless-tools         30
> Modules Loaded         arc4 rt2800pci rt2800lib crc_ccitt rt2x00pci
> rt2x00lib mac80211 snd_hda_codec_realtek i915 snd_hda_intel
> snd_hda_codec snd_usb_audio snd_pcm snd_hwdep snd_usbmidi_lib
> snd_seq_midi snd_rawmidi drm_kms_helper uvcvideo drm
> snd_seq_midi_event joydev snd_seq videobuf2_core cfg80211 snd_timer
> videodev jmb38x_ms videobuf2_vmalloc videobuf2_memops psmouse
> snd_seq_device snd snd_page_alloc serio_raw soundcore bnep parport_pc
> memstick eeprom_93cx6 ppdev i2c_algo_bit hid_generic rfcomm bluetooth
> lp parport mxm_wmi acer_wmi sparse_keymap wmi mac_hid video usbhid hid
> sdhci_pci sdhci r8169
> 
> 
> Here is the syslog:
> 
> Jul 23 07:38:22 Phrozen kernel: [ 1691.529418] usb 2-3: USB
> disconnect, device number 2
> Jul 23 07:38:22 Phrozen kernel: [ 1691.529427] usb 2-3.1: USB
> disconnect, device number 3
> Jul 23 07:38:22 Phrozen kernel: [ 1691.538766] usb 2-3.2: USB
> disconnect, device number 4
> Jul 23 07:38:22 Phrozen kernel: [ 1691.552751] BUG: unable to handle
> kernel paging request at ffff880135366ac8
> Jul 23 07:38:22 Phrozen kernel: [ 1691.552827] IP:
> [<ffffffffa02a9648>] snd_usb_audio_disconnect.isra.2+0x128/0x1b0
> [snd_usb_audio]
> Jul 23 07:38:22 Phrozen kernel: [ 1691.552912] PGD 1c0c063 PUD
> baf6e067 PMD bb118067 PTE 8000000135366160
> Jul 23 07:38:22 Phrozen kernel: [ 1691.552984] Oops: 0000 [#1] SMP
> DEBUG_PAGEALLOC
> Jul 23 07:38:22 Phrozen kernel: [ 1691.553038] CPU 1
> Jul 23 07:38:22 Phrozen kernel: [ 1691.553057] Modules linked in: arc4
> rt2800pci rt2800lib crc_ccitt rt2x00pci rt2x00lib mac80211 i915
> snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_usb_audio joydev
> snd_pcm snd_hwdep snd_usbmidi_lib snd_seq_midi snd_rawmidi uvcvideo
> snd_seq_midi_event drm_kms_helper drm cfg80211 videobuf2_core videodev
> snd_seq snd_timer snd_seq_device snd videobuf2_vmalloc psmouse
> snd_page_alloc jmb38x_ms soundcore memstick videobuf2_memops serio_raw
> i2c_algo_bit hid_generic eeprom_93cx6 parport_pc bnep ppdev rfcomm
> bluetooth lp parport acer_wmi mxm_wmi sparse_keymap mac_hid video wmi
> usbhid hid sdhci_pci sdhci r8169
> Jul 23 07:38:22 Phrozen kernel: [ 1691.553773]
> Jul 23 07:38:22 Phrozen kernel: [ 1691.553780] Pid: 21, comm: khubd
> Not tainted 3.5.0 #2 Acer       Aspire 4730Z    /Aspire 4730Z
> Jul 23 07:38:22 Phrozen kernel: [ 1691.553862] RIP:
> 0010:[<ffffffffa02a9648>]  [<ffffffffa02a9648>]
> snd_usb_audio_disconnect.isra.2+0x128/0x1b0 [snd_usb_audio]
> Jul 23 07:38:22 Phrozen kernel: [ 1691.553966] RSP:
> 0018:ffff880139547b50  EFLAGS: 00010282
> Jul 23 07:38:22 Phrozen kernel: [ 1691.554012] RAX: 0000000000000001
> RBX: ffff880135277800 RCX: 0000000000016f88
> Jul 23 07:38:22 Phrozen kernel: [ 1691.554068] RDX: 000000000000e62b
> RSI: 0000000000000000 RDI: 0000000000000202
> Jul 23 07:38:22 Phrozen kernel: [ 1691.554125] RBP: ffff880139547b80
> R08: 0000000000000364 R09: ffff88013fbfafd0
> Jul 23 07:38:22 Phrozen kernel: [ 1691.554180] R10: 000000000000007b
> R11: 0000000000000001 R12: ffff880135277870
> Jul 23 07:38:22 Phrozen kernel: [ 1691.554238] R13: ffff88013450ac00
> R14: ffff880135366ac8 R15: ffff8801352778d8
> Jul 23 07:38:22 Phrozen kernel: [ 1691.554294] FS:
> 0000000000000000(0000) GS:ffff88013fc80000(0000)
> knlGS:0000000000000000
> Jul 23 07:38:22 Phrozen kernel: [ 1691.554362] CS:  0010 DS: 0000 ES:
> 0000 CR0: 000000008005003b
> Jul 23 07:38:22 Phrozen kernel: [ 1691.554407] CR2: ffff880135366ac8
> CR3: 00000001366a6000 CR4: 00000000000407e0
> Jul 23 07:38:22 Phrozen kernel: [ 1691.554464] DR0: 0000000000000000
> DR1: 0000000000000000 DR2: 0000000000000000
> Jul 23 07:38:22 Phrozen kernel: [ 1691.554519] DR3: 0000000000000000
> DR6: 00000000ffff0ff0 DR7: 0000000000000400
> Jul 23 07:38:22 Phrozen kernel: [ 1691.554577] Process khubd (pid: 21,
> threadinfo ffff880139546000, task ffff880139badcc0)
> Jul 23 07:38:22 Phrozen kernel: [ 1691.554637] Stack:
> Jul 23 07:38:22 Phrozen kernel: [ 1691.554657]  ffff88013271a000
> ffff880132478c30 ffff880132478c00 ffff88013271a000
> Jul 23 07:38:22 Phrozen kernel: [ 1691.554736]  ffffffffa02bd718
> 00000000ffffffea ffff880139547b90 ffffffffa02a96ea
> Jul 23 07:38:22 Phrozen kernel: [ 1691.554814]  ffff880139547be0
> ffffffff814b069d ffff880139547be0 0000000081414108
> Jul 23 07:38:22 Phrozen kernel: [ 1691.554889] Call Trace:
> Jul 23 07:38:22 Phrozen kernel: [ 1691.554926]  [<ffffffffa02a96ea>]
> usb_audio_disconnect+0x1a/0x20 [snd_usb_audio]
> Jul 23 07:38:22 Phrozen kernel: [ 1691.554994]  [<ffffffff814b069d>]
> usb_unbind_interface+0x5d/0x1b0
> Jul 23 07:38:22 Phrozen kernel: [ 1691.555050]  [<ffffffff814097cc>]
> __device_release_driver+0x7c/0xe0
> Jul 23 07:38:22 Phrozen kernel: [ 1691.555102]  [<ffffffff8140985c>]
> device_release_driver+0x2c/0x40
> Jul 23 07:38:22 Phrozen kernel: [ 1691.555155]  [<ffffffff81409264>]
> bus_remove_device+0xe4/0x120
> Jul 23 07:38:22 Phrozen kernel: [ 1691.555206]  [<ffffffff81406a03>]
> device_del+0x123/0x1b0
> Jul 23 07:38:22 Phrozen kernel: [ 1691.555256]  [<ffffffff814ae1af>]
> usb_disable_device+0xaf/0x1f0
> Jul 23 07:38:22 Phrozen kernel: [ 1691.555306]  [<ffffffff814a6d20>]
> usb_disconnect+0x90/0x120
> Jul 23 07:38:22 Phrozen kernel: [ 1691.555353]  [<ffffffff814a6d09>]
> usb_disconnect+0x79/0x120
> Jul 23 07:38:22 Phrozen kernel: [ 1691.555399]  [<ffffffff814a7d88>]
> hub_port_connect_change+0xa8/0x6c0
> Jul 23 07:38:22 Phrozen kernel: [ 1691.555453]  [<ffffffff814a8733>]
> hub_events+0x393/0x5b0
> Jul 23 07:38:22 Phrozen kernel: [ 1691.555500]  [<ffffffff814a8985>]
> hub_thread+0x35/0x1a0
> Jul 23 07:38:22 Phrozen kernel: [ 1691.555545]  [<ffffffff81076d70>] ?
> __init_waitqueue_head+0x40/0x40
> Jul 23 07:38:22 Phrozen kernel: [ 1691.555598]  [<ffffffff814a8950>] ?
> hub_events+0x5b0/0x5b0
> Jul 23 07:38:22 Phrozen kernel: [ 1691.555646]  [<ffffffff810762d3>]
> kthread+0x93/0xa0
> Jul 23 07:38:22 Phrozen kernel: [ 1691.555692]  [<ffffffff8166f864>]
> kernel_thread_helper+0x4/0x10
> Jul 23 07:38:22 Phrozen kernel: [ 1691.555744]  [<ffffffff81076240>] ?
> __init_kthread_worker+0x40/0x40
> Jul 23 07:38:22 Phrozen kernel: [ 1691.555795]  [<ffffffff8166f860>] ?
> gs_change+0x13/0x13
> Jul 23 07:38:22 Phrozen kernel: [ 1691.555839] Code: 00 48 39 c2 75 ad
> 4c 8b b3 d8 00 00 00 4c 8d bb d8 00 00 00 4d 39 fe 74 1a 66 2e 0f 1f
> 84 00 00 00 00 00 4c 89 f7 e8 18 24 00 00 <4d> 8b 36 4d 39 fe 75 f0 4c
> 8b b3 f0 00 00 00 4c 8d bb f0 00 00
> Jul 23 07:38:22 Phrozen kernel: [ 1691.556149] RIP
> [<ffffffffa02a9648>] snd_usb_audio_disconnect.isra.2+0x128/0x1b0
> [snd_usb_audio]
> Jul 23 07:38:22 Phrozen kernel: [ 1691.556149]  RSP <ffff880139547b50>
> Jul 23 07:38:22 Phrozen kernel: [ 1691.556149] CR2: ffff880135366ac8
> Jul 23 07:38:22 Phrozen kernel: [ 1691.585993] ---[ end trace
> 5c54ad131247c0a7 ]---
> Jul 23 07:39:47 Phrozen kernel: imklog 5.8.6, log source = /proc/kmsg started.
> Jul 23 07:39:47 Phrozen rsyslogd: [origin software="rsyslogd"
> swVersion="5.8.6" x-pid="563" x-info="http://www.rsyslog.com"] start
> Jul 23 07:39:47 Phrozen rsyslogd: rsyslogd's groupid changed to 103
> Jul 23 07:39:47 Phrozen rsyslogd: rsyslogd's userid changed to 101
> Jul 23 07:39:47 Phrozen rsyslogd-2039: Could not open output pipe
> '/dev/xconsole' [try http://www.rsyslog.com/e/2039 ]
> Jul 23 07:39:47 Phrozen bluetoothd[556]: Failed to init alert plugin
> Jul 23 07:39:47 Phrozen bluetoothd[556]: Failed to init time plugin
> Jul 23 07:39:47 Phrozen bluetoothd[556]: Failed to init proximity plugin
> Jul 23 07:39:47 Phrozen bluetoothd[556]: Failed to init gatt_example plugin
> 
> 
> One more:
> 
> Jul 23 08:45:43 Phrozen kernel: [ 3878.550604] VFS: Busy inodes after
> unmount of sdb1. Self-destruct in 5 seconds.  Have a nice day...
> Jul 23 08:45:43 Phrozen kernel: [ 3878.551053] BUG: unable to handle
> kernel NULL pointer dereference at 00000000000001e8
> Jul 23 08:45:43 Phrozen kernel: [ 3878.551178] IP:
> [<ffffffff811fdb16>] ext3_evict_inode+0x46/0x2c0
> Jul 23 08:45:43 Phrozen kernel: [ 3878.551275] PGD bb57e067 PUD bb4a2067 PMD 0
> Jul 23 08:45:43 Phrozen kernel: [ 3878.551346] Oops: 0000 [#1] SMP
> DEBUG_PAGEALLOC
> Jul 23 08:45:43 Phrozen kernel: [ 3878.551438] CPU 1
> Jul 23 08:45:43 Phrozen kernel: [ 3878.551470] Modules linked in: uas
> usb_storage snd_usb_audio snd_usbmidi_lib hid_generic usbhid hid arc4
> rt2800pci rt2800lib crc_ccitt rt2x00pci rt2x00lib mac80211
> snd_hda_codec_realtek i915 snd_hda_intel snd_hda_codec snd_hwdep
> snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event drm_kms_helper
> joydev snd_seq cfg80211 snd_timer snd_seq_device snd drm uvcvideo
> jmb38x_ms videobuf2_core soundcore snd_page_alloc memstick videodev
> psmouse eeprom_93cx6 videobuf2_vmalloc i2c_algo_bit videobuf2_memops
> serio_raw rfcomm parport_pc bnep ppdev bluetooth lp parport mxm_wmi
> acer_wmi sparse_keymap video mac_hid wmi sdhci_pci sdhci r8169
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] Pid: 13148, comm:
> gvfsd-trash Not tainted 3.5.0 #2 Acer       Aspire 4730Z    /Aspire
> 4730Z
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] RIP:
> 0010:[<ffffffff811fdb16>]  [<ffffffff811fdb16>]
> ext3_evict_inode+0x46/0x2c0
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] RSP:
> 0000:ffff8800bb517e48  EFLAGS: 00010287
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] RAX: 0000000000004000
> RBX: ffff880132d288b0 RCX: ffff88013ff83000
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] RDX: 0000000000000000
> RSI: 3e772dc354865807 RDI: ffff880132d288b0
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] RBP: ffff8800bb517e68
> R08: e000000000000000 R09: c038000000000000
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] R10: feaf2dc354865807
> R11: 7fffffffffffffff R12: 0000000000000000
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] R13: 0000000000000005
> R14: ffff8801324189a0 R15: ffff8801347336a0
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] FS:
> 00007f0d9e5247c0(0000) GS:ffff88013fc80000(0000)
> knlGS:0000000000000000
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] CS:  0010 DS: 0000 ES:
> 0000 CR0: 0000000080050033
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] CR2: 00000000000001e8
> CR3: 00000000bb426000 CR4: 00000000000407e0
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] DR0: 0000000000000000
> DR1: 0000000000000000 DR2: 0000000000000000
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] DR3: 0000000000000000
> DR6: 00000000ffff0ff0 DR7: 0000000000000400
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] Process gvfsd-trash
> (pid: 13148, threadinfo ffff8800bb516000, task ffff88013189dcc0)
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] Stack:
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  ffff880132d288b0
> ffff880132d289e8 ffffffff81824ca0 ffff8801324189a0
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  ffff8800bb517e98
> ffffffff8119a268 ffff880132d288b0 ffff880132d288b0
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  ffff880132d28938
> ffffffff81824ca0 ffff8800bb517ec8 ffffffff8119a452
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] Call Trace:
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  [<ffffffff8119a268>]
> evict+0xb8/0x1c0
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  [<ffffffff8119a452>]
> iput_final+0xe2/0x1f0
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  [<ffffffff8119a59e>]
> iput+0x3e/0x50
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  [<ffffffff811c0630>]
> fsnotify_destroy_mark+0x170/0x180
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  [<ffffffff811c2738>]
> sys_inotify_rm_watch+0x78/0xd0
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  [<ffffffff8166e569>]
> system_call_fastpath+0x16/0x1b
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] Code: 48 45 31 e4 45 85
> ed 0f 84 66 01 00 00 0f b7 03 48 8b 53 28 48 8b 92 70 03 00 00 25 00
> f0 00 00 3d 00 80 00 00 0f 84 ea 01 00 00 <4c> 8b b2 e8 01 00 00 4c 8d
> ab 80 01 00 00 4d 85 f6 74 17 3d 00
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] RIP
> [<ffffffff811fdb16>] ext3_evict_inode+0x46/0x2c0
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  RSP <ffff8800bb517e48>
> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] CR2: 00000000000001e8
> Jul 23 08:45:43 Phrozen kernel: [ 3878.590676] ---[ end trace
> 3128f11f8290fec4 ]---
> Jul 23 08:47:11 Phrozen kernel: imklog 5.8.6, log source = /proc/kmsg started.
> Jul 23 08:47:11 Phrozen rsyslogd: [origin software="rsyslogd"
> swVersion="5.8.6" x-pid="592" x-info="http://www.rsyslog.com"] start
> Jul 23 08:47:11 Phrozen rsyslogd: rsyslogd's groupid changed to 103
> Jul 23 08:47:11 Phrozen rsyslogd: rsyslogd's userid changed to 101
> Jul 23 08:47:11 Phrozen rsyslogd-2039: Could not open output pipe
> '/dev/xconsole' [try http://www.rsyslog.com/e/2039 ]
> 
> 
> CPU-Info
> processor	: 0
> vendor_id	: GenuineIntel
> cpu family	: 6
> model		: 23
> model name	: Pentium(R) Dual-Core CPU       T4200  @ 2.00GHz
> stepping	: 10
> microcode	: 0xa07
> cpu MHz		: 2000.000
> cache size	: 1024 KB
> physical id	: 0
> siblings	: 2
> core id		: 0
> cpu cores	: 2
> apicid		: 0
> initial apicid	: 0
> fpu		: yes
> fpu_exception	: yes
> cpuid level	: 13
> wp		: yes
> flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
> pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
> lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni
> dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm
> dtherm
> bogomips	: 3989.98
> clflush size	: 64
> cache_alignment	: 64
> address sizes	: 36 bits physical, 48 bits virtual
> power management:
> 
> processor	: 1
> vendor_id	: GenuineIntel
> cpu family	: 6
> model		: 23
> model name	: Pentium(R) Dual-Core CPU       T4200  @ 2.00GHz
> stepping	: 10
> microcode	: 0xa07
> cpu MHz		: 2000.000
> cache size	: 1024 KB
> physical id	: 0
> siblings	: 2
> core id		: 1
> cpu cores	: 2
> apicid		: 1
> initial apicid	: 1
> fpu		: yes
> fpu_exception	: yes
> cpuid level	: 13
> wp		: yes
> flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
> pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
> lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni
> dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm
> dtherm
> bogomips	: 3989.98
> clflush size	: 64
> cache_alignment	: 64
> address sizes	: 36 bits physical, 48 bits virtual
> power management:
> 
> 
> lsusb -vvv output
> 
> 
> Bus 001 Device 002: ID 064e:a103 Suyin Corp. Acer/HP Integrated Webcam [CN0314]
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               2.00
>   bDeviceClass          239 Miscellaneous Device
>   bDeviceSubClass         2 ?
>   bDeviceProtocol         1 Interface Association
>   bMaxPacketSize0        64
>   idVendor           0x064e Suyin Corp.
>   idProduct          0xa103 Acer/HP Integrated Webcam [CN0314]
>   bcdDevice            1.00
>   iManufacturer           2 SuYin
>   iProduct                1 Acer Crystal Eye webcam
>   iSerial                 3 CN0314-SN30-OV03-VA-R02.03.02
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength          544
>     bNumInterfaces          2
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0x80
>       (Bus Powered)
>     MaxPower              500mA
>     Interface Association:
>       bLength                 8
>       bDescriptorType        11
>       bFirstInterface         0
>       bInterfaceCount         2
>       bFunctionClass         14 Video
>       bFunctionSubClass       3 Video Interface Collection
>       bFunctionProtocol       0
>       iFunction               5 Acer Crystal Eye webcam
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass        14 Video
>       bInterfaceSubClass      1 Video Control
>       bInterfaceProtocol      0
>       iInterface              5 Acer Crystal Eye webcam
>       VideoControl Interface Descriptor:
>         bLength                13
>         bDescriptorType        36
>         bDescriptorSubtype      1 (HEADER)
>         bcdUVC               1.00
>         wTotalLength          104
>         dwClockFrequency       15.000000MHz
>         bInCollection           1
>         baInterfaceNr( 0)       1
>       VideoControl Interface Descriptor:
>         bLength                 9
>         bDescriptorType        36
>         bDescriptorSubtype      3 (OUTPUT_TERMINAL)
>         bTerminalID             2
>         wTerminalType      0x0101 USB Streaming
>         bAssocTerminal          0
>         bSourceID               5
>         iTerminal               0
>       VideoControl Interface Descriptor:
>         bLength                26
>         bDescriptorType        36
>         bDescriptorSubtype      6 (EXTENSION_UNIT)
>         bUnitID                 4
>         guidExtensionCode         {7033f028-1163-2e4a-ba2c-6890eb334016}
>         bNumControl             8
>         bNrPins                 1
>         baSourceID( 0)          3
>         bControlSize            1
>         bmControls( 0)       0x0f
>         iExtension              0
>       VideoControl Interface Descriptor:
>         bLength                26
>         bDescriptorType        36
>         bDescriptorSubtype      6 (EXTENSION_UNIT)
>         bUnitID                 5
>         guidExtensionCode         {3fae1228-d7bc-114e-a357-6f1edef7d61d}
>         bNumControl             8
>         bNrPins                 1
>         baSourceID( 0)          4
>         bControlSize            1
>         bmControls( 0)       0xff
>         iExtension              0
>       VideoControl Interface Descriptor:
>         bLength                18
>         bDescriptorType        36
>         bDescriptorSubtype      2 (INPUT_TERMINAL)
>         bTerminalID             1
>         wTerminalType      0x0201 Camera Sensor
>         bAssocTerminal          0
>         iTerminal               0
>         wObjectiveFocalLengthMin      0
>         wObjectiveFocalLengthMax      0
>         wOcularFocalLength            0
>         bControlSize                  3
>         bmControls           0x00000000
>       VideoControl Interface Descriptor:
>         bLength                12
>         bDescriptorType        36
>         bDescriptorSubtype      5 (PROCESSING_UNIT)
>       Warning: Descriptor too short
>         bUnitID                 3
>         bSourceID               1
>         wMaxMultiplier          0
>         bControlSize            3
>         bmControls     0x000025bf
>           Brightness
>           Contrast
>           Hue
>           Saturation
>           Sharpness
>           Gamma
>           White Balance Component
>           Backlight Compensation
>           Power Line Frequency
>           White Balance Component, Auto
>         iProcessing             0
>         bmVideoStandards     0x31
>           None
>           NTSC - 625/50
>           PAL - 525/60
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x83  EP 3 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0010  1x 16 bytes
>         bInterval               6
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        1
>       bAlternateSetting       0
>       bNumEndpoints           0
>       bInterfaceClass        14 Video
>       bInterfaceSubClass      2 Video Streaming
>       bInterfaceProtocol      0
>       iInterface              0
>       VideoStreaming Interface Descriptor:
>         bLength                            14
>         bDescriptorType                    36
>         bDescriptorSubtype                  1 (INPUT_HEADER)
>         bNumFormats                         1
>         wTotalLength                      297
>         bEndPointAddress                  129
>         bmInfo                              0
>         bTerminalLink                       2
>         bStillCaptureMethod                 0
>         bTriggerSupport                     1
>         bTriggerUsage                       1
>         bControlSize                        1
>         bmaControls( 0)                    27
>       VideoStreaming Interface Descriptor:
>         bLength                            27
>         bDescriptorType                    36
>         bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)
>         bFormatIndex                        1
>         bNumFrameDescriptors                5
>         guidFormat
> {59555932-0000-1000-8000-00aa00389b71}
>         bBitsPerPixel                      16
>         bDefaultFrameIndex                  1
>         bAspectRatioX                       0
>         bAspectRatioY                       0
>         bmInterlaceFlags                 0x00
>           Interlaced stream or variable: No
>           Fields per frame: 2 fields
>           Field 1 first: No
>           Field pattern: Field 1 only
>           bCopyProtect                      0
>       VideoStreaming Interface Descriptor:
>         bLength                            50
>         bDescriptorType                    36
>         bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
>         bFrameIndex                         1
>         bmCapabilities                   0x00
>           Still image unsupported
>         wWidth                            640
>         wHeight                           480
>         dwMinBitRate                  3072000
>         dwMaxBitRate                 18432000
>         dwMaxVideoFrameBufferSize      614400
>         dwDefaultFrameInterval         333333
>         bFrameIntervalType                  6
>         dwFrameInterval( 0)            333333
>         dwFrameInterval( 1)            400000
>         dwFrameInterval( 2)            500000
>         dwFrameInterval( 3)            666666
>         dwFrameInterval( 4)           1000000
>         dwFrameInterval( 5)           2000000
>       VideoStreaming Interface Descriptor:
>         bLength                            50
>         bDescriptorType                    36
>         bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
>         bFrameIndex                         2
>         bmCapabilities                   0x00
>           Still image unsupported
>         wWidth                            352
>         wHeight                           288
>         dwMinBitRate                  1013760
>         dwMaxBitRate                  6082560
>         dwMaxVideoFrameBufferSize      202752
>         dwDefaultFrameInterval         333333
>         bFrameIntervalType                  6
>         dwFrameInterval( 0)            333333
>         dwFrameInterval( 1)            400000
>         dwFrameInterval( 2)            500000
>         dwFrameInterval( 3)            666666
>         dwFrameInterval( 4)           1000000
>         dwFrameInterval( 5)           2000000
>       VideoStreaming Interface Descriptor:
>         bLength                            50
>         bDescriptorType                    36
>         bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
>         bFrameIndex                         3
>         bmCapabilities                   0x00
>           Still image unsupported
>         wWidth                            320
>         wHeight                           240
>         dwMinBitRate                   768000
>         dwMaxBitRate                  4608000
>         dwMaxVideoFrameBufferSize      153600
>         dwDefaultFrameInterval         333333
>         bFrameIntervalType                  6
>         dwFrameInterval( 0)            333333
>         dwFrameInterval( 1)            400000
>         dwFrameInterval( 2)            500000
>         dwFrameInterval( 3)            666666
>         dwFrameInterval( 4)           1000000
>         dwFrameInterval( 5)           2000000
>       VideoStreaming Interface Descriptor:
>         bLength                            50
>         bDescriptorType                    36
>         bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
>         bFrameIndex                         4
>         bmCapabilities                   0x00
>           Still image unsupported
>         wWidth                            176
>         wHeight                           144
>         dwMinBitRate                   253440
>         dwMaxBitRate                  1520640
>         dwMaxVideoFrameBufferSize       50688
>         dwDefaultFrameInterval         333333
>         bFrameIntervalType                  6
>         dwFrameInterval( 0)            333333
>         dwFrameInterval( 1)            400000
>         dwFrameInterval( 2)            500000
>         dwFrameInterval( 3)            666666
>         dwFrameInterval( 4)           1000000
>         dwFrameInterval( 5)           2000000
>       VideoStreaming Interface Descriptor:
>         bLength                            50
>         bDescriptorType                    36
>         bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
>         bFrameIndex                         5
>         bmCapabilities                   0x00
>           Still image unsupported
>         wWidth                            160
>         wHeight                           120
>         dwMinBitRate                   192000
>         dwMaxBitRate                  1152000
>         dwMaxVideoFrameBufferSize       38400
>         dwDefaultFrameInterval         333333
>         bFrameIntervalType                  6
>         dwFrameInterval( 0)            333333
>         dwFrameInterval( 1)            400000
>         dwFrameInterval( 2)            500000
>         dwFrameInterval( 3)            666666
>         dwFrameInterval( 4)           1000000
>         dwFrameInterval( 5)           2000000
>       VideoStreaming Interface Descriptor:
>         bLength                             6
>         bDescriptorType                    36
>         bDescriptorSubtype                 13 (COLORFORMAT)
>         bColorPrimaries                     1 (BT.709,sRGB)
>         bTransferCharacteristics            1 (BT.709)
>         bMatrixCoefficients                 4 (SMPTE 170M (BT.601))
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        1
>       bAlternateSetting       1
>       bNumEndpoints           1
>       bInterfaceClass        14 Video
>       bInterfaceSubClass      2 Video Streaming
>       bInterfaceProtocol      0
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            5
>           Transfer Type            Isochronous
>           Synch Type               Asynchronous
>           Usage Type               Data
>         wMaxPacketSize     0x0080  1x 128 bytes
>         bInterval               1
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        1
>       bAlternateSetting       2
>       bNumEndpoints           1
>       bInterfaceClass        14 Video
>       bInterfaceSubClass      2 Video Streaming
>       bInterfaceProtocol      0
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            5
>           Transfer Type            Isochronous
>           Synch Type               Asynchronous
>           Usage Type               Data
>         wMaxPacketSize     0x0100  1x 256 bytes
>         bInterval               1
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        1
>       bAlternateSetting       3
>       bNumEndpoints           1
>       bInterfaceClass        14 Video
>       bInterfaceSubClass      2 Video Streaming
>       bInterfaceProtocol      0
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            5
>           Transfer Type            Isochronous
>           Synch Type               Asynchronous
>           Usage Type               Data
>         wMaxPacketSize     0x0320  1x 800 bytes
>         bInterval               1
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        1
>       bAlternateSetting       4
>       bNumEndpoints           1
>       bInterfaceClass        14 Video
>       bInterfaceSubClass      2 Video Streaming
>       bInterfaceProtocol      0
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            5
>           Transfer Type            Isochronous
>           Synch Type               Asynchronous
>           Usage Type               Data
>         wMaxPacketSize     0x0b20  2x 800 bytes
>         bInterval               1
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        1
>       bAlternateSetting       5
>       bNumEndpoints           1
>       bInterfaceClass        14 Video
>       bInterfaceSubClass      2 Video Streaming
>       bInterfaceProtocol      0
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            5
>           Transfer Type            Isochronous
>           Synch Type               Asynchronous
>           Usage Type               Data
>         wMaxPacketSize     0x1320  3x 800 bytes
>         bInterval               1
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        1
>       bAlternateSetting       6
>       bNumEndpoints           1
>       bInterfaceClass        14 Video
>       bInterfaceSubClass      2 Video Streaming
>       bInterfaceProtocol      0
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            5
>           Transfer Type            Isochronous
>           Synch Type               Asynchronous
>           Usage Type               Data
>         wMaxPacketSize     0x1400  3x 1024 bytes
>         bInterval               1
> Device Qualifier (for other device speed):
>   bLength                10
>   bDescriptorType         6
>   bcdUSB               2.00
>   bDeviceClass          239 Miscellaneous Device
>   bDeviceSubClass         2 ?
>   bDeviceProtocol         1 Interface Association
>   bMaxPacketSize0        64
>   bNumConfigurations      1
> Device Status:     0x0002
>   (Bus Powered)
>   Remote Wakeup Enabled
> 
> Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               2.00
>   bDeviceClass            9 Hub
>   bDeviceSubClass         0 Unused
>   bDeviceProtocol         1 Single TT
>   bMaxPacketSize0        64
>   idVendor           0x05e3 Genesys Logic, Inc.
>   idProduct          0x0608 USB-2.0 4-Port HUB
>   bcdDevice           77.64
>   iManufacturer           0
>   iProduct                1 USB2.0 Hub
>   iSerial                 0
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           25
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0xe0
>       Self Powered
>       Remote Wakeup
>     MaxPower              100mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass         9 Hub
>       bInterfaceSubClass      0 Unused
>       bInterfaceProtocol      0 Full speed (or root) hub
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0001  1x 1 bytes
>         bInterval              12
> Hub Descriptor:
>   bLength               9
>   bDescriptorType      41
>   nNbrPorts             4
>   wHubCharacteristic 0x00e0
>     Ganged power switching
>     Ganged overcurrent protection
>     TT think time 32 FS bits
>     Port indicators
>   bPwrOn2PwrGood       50 * 2 milli seconds
>   bHubContrCurrent    100 milli Ampere
>   DeviceRemovable    0x00
>   PortPwrCtrlMask    0xff
>  Hub Port Status:
>    Port 1: 0000.0303 lowspeed power enable connect
>    Port 2: 0000.0507 highspeed power suspend enable connect
>    Port 3: 0000.0100 power
>    Port 4: 0000.0103 power enable connect
> Device Qualifier (for other device speed):
>   bLength                10
>   bDescriptorType         6
>   bcdUSB               2.00
>   bDeviceClass            9 Hub
>   bDeviceSubClass         0 Unused
>   bDeviceProtocol         0 Full speed (or root) hub
>   bMaxPacketSize0        64
>   bNumConfigurations      1
> Device Status:     0x0001
>   Self Powered
> 
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               2.00
>   bDeviceClass            9 Hub
>   bDeviceSubClass         0 Unused
>   bDeviceProtocol         0 Full speed (or root) hub
>   bMaxPacketSize0        64
>   idVendor           0x1d6b Linux Foundation
>   idProduct          0x0002 2.0 root hub
>   bcdDevice            3.05
>   iManufacturer           3 Linux 3.5.0 ehci_hcd
>   iProduct                2 EHCI Host Controller
>   iSerial                 1 0000:00:1a.7
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           25
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0xe0
>       Self Powered
>       Remote Wakeup
>     MaxPower                0mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass         9 Hub
>       bInterfaceSubClass      0 Unused
>       bInterfaceProtocol      0 Full speed (or root) hub
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0004  1x 4 bytes
>         bInterval              12
> Hub Descriptor:
>   bLength               9
>   bDescriptorType      41
>   nNbrPorts             4
>   wHubCharacteristic 0x000a
>     No power switching (usb 1.0)
>     Per-port overcurrent protection
>   bPwrOn2PwrGood       10 * 2 milli seconds
>   bHubContrCurrent      0 milli Ampere
>   DeviceRemovable    0x00
>   PortPwrCtrlMask    0xff
>  Hub Port Status:
>    Port 1: 0000.0503 highspeed power enable connect
>    Port 2: 0000.0100 power
>    Port 3: 0000.0100 power
>    Port 4: 0000.0100 power
> Device Status:     0x0001
>   Self Powered
> 
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               2.00
>   bDeviceClass            9 Hub
>   bDeviceSubClass         0 Unused
>   bDeviceProtocol         0 Full speed (or root) hub
>   bMaxPacketSize0        64
>   idVendor           0x1d6b Linux Foundation
>   idProduct          0x0002 2.0 root hub
>   bcdDevice            3.05
>   iManufacturer           3 Linux 3.5.0 ehci_hcd
>   iProduct                2 EHCI Host Controller
>   iSerial                 1 0000:00:1d.7
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           25
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0xe0
>       Self Powered
>       Remote Wakeup
>     MaxPower                0mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass         9 Hub
>       bInterfaceSubClass      0 Unused
>       bInterfaceProtocol      0 Full speed (or root) hub
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0004  1x 4 bytes
>         bInterval              12
> Hub Descriptor:
>   bLength              11
>   bDescriptorType      41
>   nNbrPorts             8
>   wHubCharacteristic 0x000a
>     No power switching (usb 1.0)
>     Per-port overcurrent protection
>   bPwrOn2PwrGood       10 * 2 milli seconds
>   bHubContrCurrent      0 milli Ampere
>   DeviceRemovable    0x00 0x00
>   PortPwrCtrlMask    0xff 0xff
>  Hub Port Status:
>    Port 1: 0000.0100 power
>    Port 2: 0000.0100 power
>    Port 3: 0000.0503 highspeed power enable connect
>    Port 4: 0000.0100 power
>    Port 5: 0000.0100 power
>    Port 6: 0000.0100 power
>    Port 7: 0000.0100 power
>    Port 8: 0000.0100 power
> Device Status:     0x0001
>   Self Powered
> 
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               1.10
>   bDeviceClass            9 Hub
>   bDeviceSubClass         0 Unused
>   bDeviceProtocol         0 Full speed (or root) hub
>   bMaxPacketSize0        64
>   idVendor           0x1d6b Linux Foundation
>   idProduct          0x0001 1.1 root hub
>   bcdDevice            3.05
>   iManufacturer           3 Linux 3.5.0 uhci_hcd
>   iProduct                2 UHCI Host Controller
>   iSerial                 1 0000:00:1a.0
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           25
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0xe0
>       Self Powered
>       Remote Wakeup
>     MaxPower                0mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass         9 Hub
>       bInterfaceSubClass      0 Unused
>       bInterfaceProtocol      0 Full speed (or root) hub
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0002  1x 2 bytes
>         bInterval             255
> Hub Descriptor:
>   bLength               9
>   bDescriptorType      41
>   nNbrPorts             2
>   wHubCharacteristic 0x000a
>     No power switching (usb 1.0)
>     Per-port overcurrent protection
>   bPwrOn2PwrGood        1 * 2 milli seconds
>   bHubContrCurrent      0 milli Ampere
>   DeviceRemovable    0x00
>   PortPwrCtrlMask    0xff
>  Hub Port Status:
>    Port 1: 0000.0100 power
>    Port 2: 0000.0100 power
> Device Status:     0x0001
>   Self Powered
> 
> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               1.10
>   bDeviceClass            9 Hub
>   bDeviceSubClass         0 Unused
>   bDeviceProtocol         0 Full speed (or root) hub
>   bMaxPacketSize0        64
>   idVendor           0x1d6b Linux Foundation
>   idProduct          0x0001 1.1 root hub
>   bcdDevice            3.05
>   iManufacturer           3 Linux 3.5.0 uhci_hcd
>   iProduct                2 UHCI Host Controller
>   iSerial                 1 0000:00:1a.1
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           25
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0xe0
>       Self Powered
>       Remote Wakeup
>     MaxPower                0mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass         9 Hub
>       bInterfaceSubClass      0 Unused
>       bInterfaceProtocol      0 Full speed (or root) hub
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0002  1x 2 bytes
>         bInterval             255
> Hub Descriptor:
>   bLength               9
>   bDescriptorType      41
>   nNbrPorts             2
>   wHubCharacteristic 0x000a
>     No power switching (usb 1.0)
>     Per-port overcurrent protection
>   bPwrOn2PwrGood        1 * 2 milli seconds
>   bHubContrCurrent      0 milli Ampere
>   DeviceRemovable    0x00
>   PortPwrCtrlMask    0xff
>  Hub Port Status:
>    Port 1: 0000.0100 power
>    Port 2: 0000.0100 power
> Device Status:     0x0001
>   Self Powered
> 
> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               1.10
>   bDeviceClass            9 Hub
>   bDeviceSubClass         0 Unused
>   bDeviceProtocol         0 Full speed (or root) hub
>   bMaxPacketSize0        64
>   idVendor           0x1d6b Linux Foundation
>   idProduct          0x0001 1.1 root hub
>   bcdDevice            3.05
>   iManufacturer           3 Linux 3.5.0 uhci_hcd
>   iProduct                2 UHCI Host Controller
>   iSerial                 1 0000:00:1d.0
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           25
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0xe0
>       Self Powered
>       Remote Wakeup
>     MaxPower                0mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass         9 Hub
>       bInterfaceSubClass      0 Unused
>       bInterfaceProtocol      0 Full speed (or root) hub
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0002  1x 2 bytes
>         bInterval             255
> Hub Descriptor:
>   bLength               9
>   bDescriptorType      41
>   nNbrPorts             2
>   wHubCharacteristic 0x000a
>     No power switching (usb 1.0)
>     Per-port overcurrent protection
>   bPwrOn2PwrGood        1 * 2 milli seconds
>   bHubContrCurrent      0 milli Ampere
>   DeviceRemovable    0x00
>   PortPwrCtrlMask    0xff
>  Hub Port Status:
>    Port 1: 0000.0100 power
>    Port 2: 0000.0100 power
> Device Status:     0x0001
>   Self Powered
> 
> Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               1.10
>   bDeviceClass            9 Hub
>   bDeviceSubClass         0 Unused
>   bDeviceProtocol         0 Full speed (or root) hub
>   bMaxPacketSize0        64
>   idVendor           0x1d6b Linux Foundation
>   idProduct          0x0001 1.1 root hub
>   bcdDevice            3.05
>   iManufacturer           3 Linux 3.5.0 uhci_hcd
>   iProduct                2 UHCI Host Controller
>   iSerial                 1 0000:00:1d.1
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           25
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0xe0
>       Self Powered
>       Remote Wakeup
>     MaxPower                0mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass         9 Hub
>       bInterfaceSubClass      0 Unused
>       bInterfaceProtocol      0 Full speed (or root) hub
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0002  1x 2 bytes
>         bInterval             255
> Hub Descriptor:
>   bLength               9
>   bDescriptorType      41
>   nNbrPorts             2
>   wHubCharacteristic 0x000a
>     No power switching (usb 1.0)
>     Per-port overcurrent protection
>   bPwrOn2PwrGood        1 * 2 milli seconds
>   bHubContrCurrent      0 milli Ampere
>   DeviceRemovable    0x00
>   PortPwrCtrlMask    0xff
>  Hub Port Status:
>    Port 1: 0000.0100 power
>    Port 2: 0000.0100 power
> Device Status:     0x0001
>   Self Powered
> 
> Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               1.10
>   bDeviceClass            9 Hub
>   bDeviceSubClass         0 Unused
>   bDeviceProtocol         0 Full speed (or root) hub
>   bMaxPacketSize0        64
>   idVendor           0x1d6b Linux Foundation
>   idProduct          0x0001 1.1 root hub
>   bcdDevice            3.05
>   iManufacturer           3 Linux 3.5.0 uhci_hcd
>   iProduct                2 UHCI Host Controller
>   iSerial                 1 0000:00:1d.2
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           25
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0xe0
>       Self Powered
>       Remote Wakeup
>     MaxPower                0mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass         9 Hub
>       bInterfaceSubClass      0 Unused
>       bInterfaceProtocol      0 Full speed (or root) hub
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0002  1x 2 bytes
>         bInterval             255
> Hub Descriptor:
>   bLength               9
>   bDescriptorType      41
>   nNbrPorts             2
>   wHubCharacteristic 0x000a
>     No power switching (usb 1.0)
>     Per-port overcurrent protection
>   bPwrOn2PwrGood        1 * 2 milli seconds
>   bHubContrCurrent      0 milli Ampere
>   DeviceRemovable    0x00
>   PortPwrCtrlMask    0xff
>  Hub Port Status:
>    Port 1: 0000.0100 power
>    Port 2: 0000.0100 power
> Device Status:     0x0001
>   Self Powered
> 
> Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               1.10
>   bDeviceClass            9 Hub
>   bDeviceSubClass         0 Unused
>   bDeviceProtocol         0 Full speed (or root) hub
>   bMaxPacketSize0        64
>   idVendor           0x1d6b Linux Foundation
>   idProduct          0x0001 1.1 root hub
>   bcdDevice            3.05
>   iManufacturer           3 Linux 3.5.0 uhci_hcd
>   iProduct                2 UHCI Host Controller
>   iSerial                 1 0000:00:1d.3
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           25
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0xe0
>       Self Powered
>       Remote Wakeup
>     MaxPower                0mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass         9 Hub
>       bInterfaceSubClass      0 Unused
>       bInterfaceProtocol      0 Full speed (or root) hub
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0002  1x 2 bytes
>         bInterval             255
> Hub Descriptor:
>   bLength               9
>   bDescriptorType      41
>   nNbrPorts             2
>   wHubCharacteristic 0x000a
>     No power switching (usb 1.0)
>     Per-port overcurrent protection
>   bPwrOn2PwrGood        1 * 2 milli seconds
>   bHubContrCurrent      0 milli Ampere
>   DeviceRemovable    0x00
>   PortPwrCtrlMask    0xff
>  Hub Port Status:
>    Port 1: 0000.0100 power
>    Port 2: 0000.0100 power
> Device Status:     0x0001
>   Self Powered
> 
> Bus 002 Device 003: ID 045e:0047 Microsoft Corp. IntelliMouse Explorer 3.0
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               1.10
>   bDeviceClass            0 (Defined at Interface level)
>   bDeviceSubClass         0
>   bDeviceProtocol         0
>   bMaxPacketSize0         8
>   idVendor           0x045e Microsoft Corp.
>   idProduct          0x0047 IntelliMouse Explorer 3.0
>   bcdDevice            3.00
>   iManufacturer           1 Microsoft
>   iProduct                3 Microsoft 5-Button Mouse with IntelliEye(TM)
>   iSerial                 0
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           34
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0xa0
>       (Bus Powered)
>       Remote Wakeup
>     MaxPower              100mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass         3 Human Interface Device
>       bInterfaceSubClass      1 Boot Interface Subclass
>       bInterfaceProtocol      2 Mouse
>       iInterface              0
>         HID Device Descriptor:
>           bLength                 9
>           bDescriptorType        33
>           bcdHID               1.10
>           bCountryCode            0 Not supported
>           bNumDescriptors         1
>           bDescriptorType        34 Report
>           wDescriptorLength      72
>          Report Descriptors:
>            ** UNAVAILABLE **
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0004  1x 4 bytes
>         bInterval              10
> Device Status:     0x0000
>   (Bus Powered)
> 
> Bus 002 Device 004: ID 0c45:62e0 Microdia MSI Starcam Racer
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               2.00
>   bDeviceClass          239 Miscellaneous Device
>   bDeviceSubClass         2 ?
>   bDeviceProtocol         1 Interface Association
>   bMaxPacketSize0        64
>   idVendor           0x0c45 Microdia
>   idProduct          0x62e0 MSI Starcam Racer
>   bcdDevice            1.00
>   iManufacturer           2 Sonix Technology Co., Ltd.
>   iProduct                1 USB 2.0 Camera
>   iSerial                 0
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength         1051
>     bNumInterfaces          4
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0x80
>       (Bus Powered)
>     MaxPower              250mA
>     Interface Association:
>       bLength                 8
>       bDescriptorType        11
>       bFirstInterface         0
>       bInterfaceCount         2
>       bFunctionClass         14 Video
>       bFunctionSubClass       3 Video Interface Collection
>       bFunctionProtocol       0
>       iFunction               5 USB Camera
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass        14 Video
>       bInterfaceSubClass      1 Video Control
>       bInterfaceProtocol      0
>       iInterface              5 USB Camera
>       VideoControl Interface Descriptor:
>         bLength                13
>         bDescriptorType        36
>         bDescriptorSubtype      1 (HEADER)
>         bcdUVC               1.00
>         wTotalLength          103
>         dwClockFrequency       15.000000MHz
>         bInCollection           1
>         baInterfaceNr( 0)       1
>       VideoControl Interface Descriptor:
>         bLength                 9
>         bDescriptorType        36
>         bDescriptorSubtype      3 (OUTPUT_TERMINAL)
>         bTerminalID             2
>         wTerminalType      0x0101 USB Streaming
>         bAssocTerminal          0
>         bSourceID               5
>         iTerminal               0
>       VideoControl Interface Descriptor:
>         bLength                26
>         bDescriptorType        36
>         bDescriptorSubtype      6 (EXTENSION_UNIT)
>         bUnitID                 4
>         guidExtensionCode         {7033f028-1163-2e4a-ba2c-6890eb334016}
>         bNumControl             8
>         bNrPins                 1
>         baSourceID( 0)          3
>         bControlSize            1
>         bmControls( 0)       0x3f
>         iExtension              0
>       VideoControl Interface Descriptor:
>         bLength                26
>         bDescriptorType        36
>         bDescriptorSubtype      6 (EXTENSION_UNIT)
>         bUnitID                 5
>         guidExtensionCode         {3fae1228-d7bc-114e-a357-6f1edef7d61d}
>         bNumControl             8
>         bNrPins                 1
>         baSourceID( 0)          4
>         bControlSize            1
>         bmControls( 0)       0x00
>         iExtension              0
>       VideoControl Interface Descriptor:
>         bLength                18
>         bDescriptorType        36
>         bDescriptorSubtype      2 (INPUT_TERMINAL)
>         bTerminalID             1
>         wTerminalType      0x0201 Camera Sensor
>         bAssocTerminal          0
>         iTerminal               0
>         wObjectiveFocalLengthMin      0
>         wObjectiveFocalLengthMax      0
>         wOcularFocalLength            0
>         bControlSize                  3
>         bmControls           0x0002002e
>           Auto-Exposure Mode
>           Auto-Exposure Priority
>           Exposure Time (Absolute)
>           Focus (Absolute)
>           Focus, Auto
>       VideoControl Interface Descriptor:
>         bLength                11
>         bDescriptorType        36
>         bDescriptorSubtype      5 (PROCESSING_UNIT)
>       Warning: Descriptor too short
>         bUnitID                 3
>         bSourceID               1
>         wMaxMultiplier          0
>         bControlSize            2
>         bmControls     0x0000177f
>           Brightness
>           Contrast
>           Hue
>           Saturation
>           Sharpness
>           Gamma
>           White Balance Temperature
>           Backlight Compensation
>           Gain
>           Power Line Frequency
>           White Balance Temperature, Auto
>         iProcessing             0
>         bmVideoStandards     0x 0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x83  EP 3 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0010  1x 16 bytes
>         bInterval               6
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        1
>       bAlternateSetting       0
>       bNumEndpoints           0
>       bInterfaceClass        14 Video
>       bInterfaceSubClass      2 Video Streaming
>       bInterfaceProtocol      0
>       iInterface              0
>       VideoStreaming Interface Descriptor:
>         bLength                            15
>         bDescriptorType                    36
>         bDescriptorSubtype                  1 (INPUT_HEADER)
>         bNumFormats                         2
>         wTotalLength                      692
>         bEndPointAddress                  129
>         bmInfo                              0
>         bTerminalLink                       2
>         bStillCaptureMethod                 2
>         bTriggerSupport                     1
>         bTriggerUsage                       1
>         bControlSize                        1
>         bmaControls( 0)                    27
>         bmaControls( 1)                    27
>       VideoStreaming Interface Descriptor:
>         bLength                            27
>         bDescriptorType                    36
>         bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)
>         bFormatIndex                        1
>         bNumFrameDescriptors                6
>         guidFormat
> {59555932-0000-1000-8000-00aa00389b71}
>         bBitsPerPixel                      16
>         bDefaultFrameIndex                  1
>         bAspectRatioX                       0
>         bAspectRatioY                       0
>         bmInterlaceFlags                 0x00
>           Interlaced stream or variable: No
>           Fields per frame: 2 fields
>           Field 1 first: No
>           Field pattern: Field 1 only
>           bCopyProtect                      0
>       VideoStreaming Interface Descriptor:
>         bLength                            50
>         bDescriptorType                    36
>         bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
>         bFrameIndex                         1
>         bmCapabilities                   0x00
>           Still image unsupported
>         wWidth                            640
>         wHeight                           480
>         dwMinBitRate                  3072000
>         dwMaxBitRate                 18432000
>         dwMaxVideoFrameBufferSize      614400
>         dwDefaultFrameInterval         333333
>         bFrameIntervalType                  6
>         dwFrameInterval( 0)            333333
>         dwFrameInterval( 1)            400000
>         dwFrameInterval( 2)            500000
>         dwFrameInterval( 3)            666666
>         dwFrameInterval( 4)           1000000
>         dwFrameInterval( 5)           2000000
>       VideoStreaming Interface Descriptor:
>         bLength                            50
>         bDescriptorType                    36
>         bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
>         bFrameIndex                         2
>         bmCapabilities                   0x00
>           Still image unsupported
>         wWidth                            352
>         wHeight                           288
>         dwMinBitRate                  1013760
>         dwMaxBitRate                  6082560
>         dwMaxVideoFrameBufferSize      202752
>         dwDefaultFrameInterval         333333
>         bFrameIntervalType                  6
>         dwFrameInterval( 0)            333333
>         dwFrameInterval( 1)            400000
>         dwFrameInterval( 2)            500000
>         dwFrameInterval( 3)            666666
>         dwFrameInterval( 4)           1000000
>         dwFrameInterval( 5)           2000000
>       VideoStreaming Interface Descriptor:
>         bLength                            50
>         bDescriptorType                    36
>         bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
>         bFrameIndex                         3
>         bmCapabilities                   0x00
>           Still image unsupported
>         wWidth                            320
>         wHeight                           240
>         dwMinBitRate                   768000
>         dwMaxBitRate                  4608000
>         dwMaxVideoFrameBufferSize      153600
>         dwDefaultFrameInterval         333333
>         bFrameIntervalType                  6
>         dwFrameInterval( 0)            333333
>         dwFrameInterval( 1)            400000
>         dwFrameInterval( 2)            500000
>         dwFrameInterval( 3)            666666
>         dwFrameInterval( 4)           1000000
>         dwFrameInterval( 5)           2000000
>       VideoStreaming Interface Descriptor:
>         bLength                            50
>         bDescriptorType                    36
>         bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
>         bFrameIndex                         4
>         bmCapabilities                   0x00
>           Still image unsupported
>         wWidth                            176
>         wHeight                           144
>         dwMinBitRate                   253440
>         dwMaxBitRate                  1520640
>         dwMaxVideoFrameBufferSize       50688
>         dwDefaultFrameInterval         333333
>         bFrameIntervalType                  6
>         dwFrameInterval( 0)            333333
>         dwFrameInterval( 1)            400000
>         dwFrameInterval( 2)            500000
>         dwFrameInterval( 3)            666666
>         dwFrameInterval( 4)           1000000
>         dwFrameInterval( 5)           2000000
>       VideoStreaming Interface Descriptor:
>         bLength                            50
>         bDescriptorType                    36
>         bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
>         bFrameIndex                         5
>         bmCapabilities                   0x00
>           Still image unsupported
>         wWidth                            160
>         wHeight                           120
>         dwMinBitRate                   192000
>         dwMaxBitRate                  1152000
>         dwMaxVideoFrameBufferSize       38400
>         dwDefaultFrameInterval         333333
>         bFrameIntervalType                  6
>         dwFrameInterval( 0)            333333
>         dwFrameInterval( 1)            400000
>         dwFrameInterval( 2)            500000
>         dwFrameInterval( 3)            666666
>         dwFrameInterval( 4)           1000000
>         dwFrameInterval( 5)           2000000
>       VideoStreaming Interface Descriptor:
>         bLength                            34
>         bDescriptorType                    36
>         bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
>         bFrameIndex                         6
>         bmCapabilities                   0x00
>           Still image unsupported
>         wWidth                           1280
>         wHeight                          1024
>         dwMinBitRate                 13107200
>         dwMaxBitRate                 23592960
>         dwMaxVideoFrameBufferSize     2621440
>         dwDefaultFrameInterval        1111111
>         bFrameIntervalType                  2
>         dwFrameInterval( 0)           1111111
>         dwFrameInterval( 1)           2000000
>       VideoStreaming Interface Descriptor:
>         bLength                            30
>         bDescriptorType                    36
>         bDescriptorSubtype                  3 (STILL_IMAGE_FRAME)
>         bEndpointAddress                    0
>         bNumImageSizePatterns               6
>         wWidth( 0)                       1280
>         wHeight( 0)                      1024
>         wWidth( 1)                        640
>         wHeight( 1)                       480
>         wWidth( 2)                        352
>         wHeight( 2)                       288
>         wWidth( 3)                        320
>         wHeight( 3)                       240
>         wWidth( 4)                        176
>         wHeight( 4)                       144
>         wWidth( 5)                        160
>         wHeight( 5)                       120
>         bNumCompressionPatterns             6
>       VideoStreaming Interface Descriptor:
>         bLength                            11
>         bDescriptorType                    36
>         bDescriptorSubtype                  6 (FORMAT_MJPEG)
>         bFormatIndex                        2
>         bNumFrameDescriptors                6
>         bFlags                              0
>           Fixed-size samples: No
>         bDefaultFrameIndex                  1
>         bAspectRatioX                       0
>         bAspectRatioY                       0
>         bmInterlaceFlags                 0x00
>           Interlaced stream or variable: No
>           Fields per frame: 1 fields
>           Field 1 first: No
>           Field pattern: Field 1 only
>           bCopyProtect                      0
>       VideoStreaming Interface Descriptor:
>         bLength                            50
>         bDescriptorType                    36
>         bDescriptorSubtype                  7 (FRAME_MJPEG)
>         bFrameIndex                         1
>         bmCapabilities                   0x00
>           Still image unsupported
>         wWidth                            640
>         wHeight                           480
>         dwMinBitRate                   384000
>         dwMaxBitRate                  2304000
>         dwMaxVideoFrameBufferSize       76800
>         dwDefaultFrameInterval         333333
>         bFrameIntervalType                  6
>         dwFrameInterval( 0)            333333
>         dwFrameInterval( 1)            400000
>         dwFrameInterval( 2)            500000
>         dwFrameInterval( 3)            666666
>         dwFrameInterval( 4)           1000000
>         dwFrameInterval( 5)           2000000
>       VideoStreaming Interface Descriptor:
>         bLength                            50
>         bDescriptorType                    36
>         bDescriptorSubtype                  7 (FRAME_MJPEG)
>         bFrameIndex                         2
>         bmCapabilities                   0x00
>           Still image unsupported
>         wWidth                            352
>         wHeight                           288
>         dwMinBitRate                   126720
>         dwMaxBitRate                   760320
>         dwMaxVideoFrameBufferSize       25344
>         dwDefaultFrameInterval         333333
>         bFrameIntervalType                  6
>         dwFrameInterval( 0)            333333
>         dwFrameInterval( 1)            400000
>         dwFrameInterval( 2)            500000
>         dwFrameInterval( 3)            666666
>         dwFrameInterval( 4)           1000000
>         dwFrameInterval( 5)           2000000
>       VideoStreaming Interface Descriptor:
>         bLength                            50
>         bDescriptorType                    36
>         bDescriptorSubtype                  7 (FRAME_MJPEG)
>         bFrameIndex                         3
>         bmCapabilities                   0x00
>           Still image unsupported
>         wWidth                            320
>         wHeight                           240
>         dwMinBitRate                    96000
>         dwMaxBitRate                   576000
>         dwMaxVideoFrameBufferSize       19200
>         dwDefaultFrameInterval         333333
>         bFrameIntervalType                  6
>         dwFrameInterval( 0)            333333
>         dwFrameInterval( 1)            400000
>         dwFrameInterval( 2)            500000
>         dwFrameInterval( 3)            666666
>         dwFrameInterval( 4)           1000000
>         dwFrameInterval( 5)           2000000
>       VideoStreaming Interface Descriptor:
>         bLength                            50
>         bDescriptorType                    36
>         bDescriptorSubtype                  7 (FRAME_MJPEG)
>         bFrameIndex                         4
>         bmCapabilities                   0x00
>           Still image unsupported
>         wWidth                            176
>         wHeight                           144
>         dwMinBitRate                    31680
>         dwMaxBitRate                   190080
>         dwMaxVideoFrameBufferSize        6336
>         dwDefaultFrameInterval         333333
>         bFrameIntervalType                  6
>         dwFrameInterval( 0)            333333
>         dwFrameInterval( 1)            400000
>         dwFrameInterval( 2)            500000
>         dwFrameInterval( 3)            666666
>         dwFrameInterval( 4)           1000000
>         dwFrameInterval( 5)           2000000
>       VideoStreaming Interface Descriptor:
>         bLength                            50
>         bDescriptorType                    36
>         bDescriptorSubtype                  7 (FRAME_MJPEG)
>         bFrameIndex                         5
>         bmCapabilities                   0x00
>           Still image unsupported
>         wWidth                            160
>         wHeight                           120
>         dwMinBitRate                    24000
>         dwMaxBitRate                   144000
>         dwMaxVideoFrameBufferSize        4800
>         dwDefaultFrameInterval         333333
>         bFrameIntervalType                  6
>         dwFrameInterval( 0)            333333
>         dwFrameInterval( 1)            400000
>         dwFrameInterval( 2)            500000
>         dwFrameInterval( 3)            666666
>         dwFrameInterval( 4)           1000000
>         dwFrameInterval( 5)           2000000
>       VideoStreaming Interface Descriptor:
>         bLength                            38
>         bDescriptorType                    36
>         bDescriptorSubtype                  7 (FRAME_MJPEG)
>         bFrameIndex                         6
>         bmCapabilities                   0x00
>           Still image unsupported
>         wWidth                           1280
>         wHeight                          1024
>         dwMinBitRate                  1638400
>         dwMaxBitRate                  4915200
>         dwMaxVideoFrameBufferSize      327680
>         dwDefaultFrameInterval         666666
>         bFrameIntervalType                  3
>         dwFrameInterval( 0)            666666
>         dwFrameInterval( 1)           1000000
>         dwFrameInterval( 2)           2000000
>       VideoStreaming Interface Descriptor:
>         bLength                            31
>         bDescriptorType                    36
>         bDescriptorSubtype                  3 (STILL_IMAGE_FRAME)
>         bEndpointAddress                    0
>         bNumImageSizePatterns               6
>         wWidth( 0)                       1280
>         wHeight( 0)                      1024
>         wWidth( 1)                        640
>         wHeight( 1)                       480
>         wWidth( 2)                        352
>         wHeight( 2)                       288
>         wWidth( 3)                        320
>         wHeight( 3)                       240
>         wWidth( 4)                        176
>         wHeight( 4)                       144
>         wWidth( 5)                        160
>         wHeight( 5)                       120
>         bNumCompressionPatterns             6
>         bCompression( 0)                    0
>       VideoStreaming Interface Descriptor:
>         bLength                             6
>         bDescriptorType                    36
>         bDescriptorSubtype                 13 (COLORFORMAT)
>         bColorPrimaries                     1 (BT.709,sRGB)
>         bTransferCharacteristics            1 (BT.709)
>         bMatrixCoefficients                 4 (SMPTE 170M (BT.601))
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        1
>       bAlternateSetting       1
>       bNumEndpoints           1
>       bInterfaceClass        14 Video
>       bInterfaceSubClass      2 Video Streaming
>       bInterfaceProtocol      0
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            5
>           Transfer Type            Isochronous
>           Synch Type               Asynchronous
>           Usage Type               Data
>         wMaxPacketSize     0x0080  1x 128 bytes
>         bInterval               1
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        1
>       bAlternateSetting       2
>       bNumEndpoints           1
>       bInterfaceClass        14 Video
>       bInterfaceSubClass      2 Video Streaming
>       bInterfaceProtocol      0
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            5
>           Transfer Type            Isochronous
>           Synch Type               Asynchronous
>           Usage Type               Data
>         wMaxPacketSize     0x0100  1x 256 bytes
>         bInterval               1
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        1
>       bAlternateSetting       3
>       bNumEndpoints           1
>       bInterfaceClass        14 Video
>       bInterfaceSubClass      2 Video Streaming
>       bInterfaceProtocol      0
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            5
>           Transfer Type            Isochronous
>           Synch Type               Asynchronous
>           Usage Type               Data
>         wMaxPacketSize     0x0320  1x 800 bytes
>         bInterval               1
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        1
>       bAlternateSetting       4
>       bNumEndpoints           1
>       bInterfaceClass        14 Video
>       bInterfaceSubClass      2 Video Streaming
>       bInterfaceProtocol      0
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            5
>           Transfer Type            Isochronous
>           Synch Type               Asynchronous
>           Usage Type               Data
>         wMaxPacketSize     0x0b20  2x 800 bytes
>         bInterval               1
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        1
>       bAlternateSetting       5
>       bNumEndpoints           1
>       bInterfaceClass        14 Video
>       bInterfaceSubClass      2 Video Streaming
>       bInterfaceProtocol      0
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            5
>           Transfer Type            Isochronous
>           Synch Type               Asynchronous
>           Usage Type               Data
>         wMaxPacketSize     0x1320  3x 800 bytes
>         bInterval               1
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        1
>       bAlternateSetting       6
>       bNumEndpoints           1
>       bInterfaceClass        14 Video
>       bInterfaceSubClass      2 Video Streaming
>       bInterfaceProtocol      0
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            5
>           Transfer Type            Isochronous
>           Synch Type               Asynchronous
>           Usage Type               Data
>         wMaxPacketSize     0x1400  3x 1024 bytes
>         bInterval               1
>     Interface Association:
>       bLength                 8
>       bDescriptorType        11
>       bFirstInterface         2
>       bInterfaceCount         2
>       bFunctionClass          1 Audio
>       bFunctionSubClass       0
>       bFunctionProtocol       0
>       iFunction               4 USB Audio Device
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        2
>       bAlternateSetting       0
>       bNumEndpoints           0
>       bInterfaceClass         1 Audio
>       bInterfaceSubClass      1 Control Device
>       bInterfaceProtocol      0
>       iInterface              4 USB Audio Device
>       AudioControl Interface Descriptor:
>         bLength                 9
>         bDescriptorType        36
>         bDescriptorSubtype      1 (HEADER)
>         bcdADC               1.00
>         wTotalLength           41
>         bInCollection           1
>         baInterfaceNr( 0)       3
>       AudioControl Interface Descriptor:
>         bLength                12
>         bDescriptorType        36
>         bDescriptorSubtype      2 (INPUT_TERMINAL)
>         bTerminalID             1
>         wTerminalType      0x0201 Microphone
>         bAssocTerminal          0
>         bNrChannels             1
>         wChannelConfig     0x0000
>         iChannelNames           0
>         iTerminal               0
>       AudioControl Interface Descriptor:
>         bLength                11
>         bDescriptorType        36
>         bDescriptorSubtype      6 (FEATURE_UNIT)
>         bUnitID                 2
>         bSourceID               1
>         bControlSize            2
>         bmaControls( 0)      0x01
>         bmaControls( 0)      0x00
>           Mute Control
>         bmaControls( 1)      0x02
>         bmaControls( 1)      0x00
>           Volume Control
>         iFeature                0
>       AudioControl Interface Descriptor:
>         bLength                 9
>         bDescriptorType        36
>         bDescriptorSubtype      3 (OUTPUT_TERMINAL)
>         bTerminalID             3
>         wTerminalType      0x0101 USB Streaming
>         bAssocTerminal          0
>         bSourceID               2
>         iTerminal               0
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        3
>       bAlternateSetting       0
>       bNumEndpoints           0
>       bInterfaceClass         1 Audio
>       bInterfaceSubClass      2 Streaming
>       bInterfaceProtocol      0
>       iInterface              0
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        3
>       bAlternateSetting       1
>       bNumEndpoints           1
>       bInterfaceClass         1 Audio
>       bInterfaceSubClass      2 Streaming
>       bInterfaceProtocol      0
>       iInterface              0
>       AudioStreaming Interface Descriptor:
>         bLength                 7
>         bDescriptorType        36
>         bDescriptorSubtype      1 (AS_GENERAL)
>         bTerminalLink           3
>         bDelay                  1 frames
>         wFormatTag              1 PCM
>       AudioStreaming Interface Descriptor:
>         bLength                14
>         bDescriptorType        36
>         bDescriptorSubtype      2 (FORMAT_TYPE)
>         bFormatType             1 (FORMAT_TYPE_I)
>         bNrChannels             1
>         bSubframeSize           2
>         bBitResolution         16
>         bSamFreqType            2 Discrete
>         tSamFreq[ 0]         8000
>         tSamFreq[ 1]        16000
>       Endpoint Descriptor:
>         bLength                 9
>         bDescriptorType         5
>         bEndpointAddress     0x84  EP 4 IN
>         bmAttributes            5
>           Transfer Type            Isochronous
>           Synch Type               Asynchronous
>           Usage Type               Data
>         wMaxPacketSize     0x0190  1x 400 bytes
>         bInterval               4
>         bRefresh                0
>         bSynchAddress           0
>         AudioControl Endpoint Descriptor:
>           bLength                 7
>           bDescriptorType        37
>           bDescriptorSubtype      1 (EP_GENERAL)
>           bmAttributes         0x01
>             Sampling Frequency
>           bLockDelayUnits         0 Undefined
>           wLockDelay              0 Undefined
> Device Qualifier (for other device speed):
>   bLength                10
>   bDescriptorType         6
>   bcdUSB               2.00
>   bDeviceClass          239 Miscellaneous Device
>   bDeviceSubClass         2 ?
>   bDeviceProtocol         1 Interface Association
>   bMaxPacketSize0        64
>   bNumConfigurations      1
> Device Status:     0x0002
>   (Bus Powered)
>   Remote Wakeup Enabled
> 
> Bus 002 Device 005: ID 03eb:0902 Atmel Corp. 4-Port Hub
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               1.10
>   bDeviceClass            9 Hub
>   bDeviceSubClass         0 Unused
>   bDeviceProtocol         0 Full speed (or root) hub
>   bMaxPacketSize0         8
>   idVendor           0x03eb Atmel Corp.
>   idProduct          0x0902 4-Port Hub
>   bcdDevice            1.00
>   iManufacturer           0
>   iProduct                2 USB 2.0 Hub
>   iSerial                 0
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           34
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0xe0
>       Self Powered
>       Remote Wakeup
>     MaxPower              100mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass         9 Hub
>       bInterfaceSubClass      0 Unused
>       bInterfaceProtocol      0 Full speed (or root) hub
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0001  1x 1 bytes
>         bInterval             255
>         ** UNRECOGNIZED:  09 29 04 09 00 32 64 00 1e
> Hub Descriptor:
>   bLength               9
>   bDescriptorType      41
>   nNbrPorts             4
>   wHubCharacteristic 0x0009
>     Per-port power switching
>     Per-port overcurrent protection
>   bPwrOn2PwrGood       50 * 2 milli seconds
>   bHubContrCurrent    100 milli Ampere
>   DeviceRemovable    0x00
>   PortPwrCtrlMask    0x1e
>  Hub Port Status:
>    Port 1: 0000.0303 lowspeed power enable connect
>    Port 2: 0000.0100 power
>    Port 3: 0000.0100 power
>    Port 4: 0000.0100 power
> Device Status:     0x0001
>   Self Powered
> 
> Bus 002 Device 006: ID 413c:2003 Dell Computer Corp. Keyboard
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               1.10
>   bDeviceClass            0 (Defined at Interface level)
>   bDeviceSubClass         0
>   bDeviceProtocol         0
>   bMaxPacketSize0         8
>   idVendor           0x413c Dell Computer Corp.
>   idProduct          0x2003 Keyboard
>   bcdDevice            3.06
>   iManufacturer           1 Dell
>   iProduct                2
>   iSerial                 0
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           34
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0xa0
>       (Bus Powered)
>       Remote Wakeup
>     MaxPower               70mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass         3 Human Interface Device
>       bInterfaceSubClass      1 Boot Interface Subclass
>       bInterfaceProtocol      1 Keyboard
>       iInterface              0
>         HID Device Descriptor:
>           bLength                 9
>           bDescriptorType        33
>           bcdHID               1.10
>           bCountryCode            0 Not supported
>           bNumDescriptors         1
>           bDescriptorType        34 Report
>           wDescriptorLength      65
>          Report Descriptors:
>            ** UNAVAILABLE **
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0008  1x 8 bytes
>         bInterval              24
> Device Status:     0x0000
>   (Bus Powered)
> 
> --
> Regards,
> Sarbojit
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Kernel Oops while disconnecting USB peripheral (always)
  2012-07-23  5:50 ` Daniel Mack
@ 2012-07-23  6:03   ` Sarbojit Ganguly
  2012-07-23 14:47     ` Alan Stern
  0 siblings, 1 reply; 15+ messages in thread
From: Sarbojit Ganguly @ 2012-07-23  6:03 UTC (permalink / raw)
  To: Daniel Mack; +Cc: gregkh, linux-usb, linux-kernel, Takashi Iwai

Hello Daniel,

That is why I provided two stacks,

1st one is when I tried to remove the USB hub (which connects a webcam
+ microphone)
2nd one is when I tried to remove an USB powered external HDD.

Just to make sure whether the problem is with USB sound or the USB subsystem.

On 23 July 2012 11:20, Daniel Mack <zonque@gmail.com> wrote:
> On 23.07.2012 05:42, Sarbojit Ganguly wrote:
>> Dear all,
>>
>> Problem description:
>>
>> A 4 port USB hub which when disconnected yields an Oops.
>> The USB hub connects the following peripherals:
>> 1. USB keyboard
>> 2. USB mouse
>> 3. USB webcam + microphone built-in
>>
>> The details of lsusb are provided.
>>
>> This problem occurs when any USB device is removed (mass storage/usb
>> input devices etc.)
>
> Are you sure about this? The stack trace clearly blames the audio
> driver. Can you provide one that happens without the webcam in the game?
>
>
> Daniel
>
>
>>
>> Kernel version:
>> Linux version 3.5.0 (sarbojit@Phrozen) (gcc version 4.6.3
>> (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #2 SMP Sun Jul 22 23:41:08 IST 2012
>>
>> CONFIG_DEBUG_PAGEALLOC=y has been turned on along with other kernel debug flags.
>>
>> Output of ver_linux script:
>>
>> If some fields are empty or look unusual you may have an old version.
>> Compare to the current minimal requirements in Documentation/Changes.
>>
>> Linux Phrozen 3.5.0 #2 SMP Sun Jul 22 23:41:08 IST 2012 x86_64 x86_64
>> x86_64 GNU/Linux
>>
>> Gnu C                  4.6
>> Gnu make               3.81
>> binutils               2.22
>> util-linux             2.20.1
>> mount                  support
>> module-init-tools      3.16
>> e2fsprogs              1.42
>> PPP                    2.4.5
>> Linux C Library        2.15
>> Dynamic linker (ldd)   2.15
>> Procps                 3.2.8
>> Net-tools              1.60
>> Kbd                    1.15.2
>> Sh-utils               8.13
>> wireless-tools         30
>> Modules Loaded         arc4 rt2800pci rt2800lib crc_ccitt rt2x00pci
>> rt2x00lib mac80211 snd_hda_codec_realtek i915 snd_hda_intel
>> snd_hda_codec snd_usb_audio snd_pcm snd_hwdep snd_usbmidi_lib
>> snd_seq_midi snd_rawmidi drm_kms_helper uvcvideo drm
>> snd_seq_midi_event joydev snd_seq videobuf2_core cfg80211 snd_timer
>> videodev jmb38x_ms videobuf2_vmalloc videobuf2_memops psmouse
>> snd_seq_device snd snd_page_alloc serio_raw soundcore bnep parport_pc
>> memstick eeprom_93cx6 ppdev i2c_algo_bit hid_generic rfcomm bluetooth
>> lp parport mxm_wmi acer_wmi sparse_keymap wmi mac_hid video usbhid hid
>> sdhci_pci sdhci r8169
>>
>>
>> Here is the syslog:
>>
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.529418] usb 2-3: USB
>> disconnect, device number 2
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.529427] usb 2-3.1: USB
>> disconnect, device number 3
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.538766] usb 2-3.2: USB
>> disconnect, device number 4
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.552751] BUG: unable to handle
>> kernel paging request at ffff880135366ac8
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.552827] IP:
>> [<ffffffffa02a9648>] snd_usb_audio_disconnect.isra.2+0x128/0x1b0
>> [snd_usb_audio]
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.552912] PGD 1c0c063 PUD
>> baf6e067 PMD bb118067 PTE 8000000135366160
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.552984] Oops: 0000 [#1] SMP
>> DEBUG_PAGEALLOC
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.553038] CPU 1
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.553057] Modules linked in: arc4
>> rt2800pci rt2800lib crc_ccitt rt2x00pci rt2x00lib mac80211 i915
>> snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_usb_audio joydev
>> snd_pcm snd_hwdep snd_usbmidi_lib snd_seq_midi snd_rawmidi uvcvideo
>> snd_seq_midi_event drm_kms_helper drm cfg80211 videobuf2_core videodev
>> snd_seq snd_timer snd_seq_device snd videobuf2_vmalloc psmouse
>> snd_page_alloc jmb38x_ms soundcore memstick videobuf2_memops serio_raw
>> i2c_algo_bit hid_generic eeprom_93cx6 parport_pc bnep ppdev rfcomm
>> bluetooth lp parport acer_wmi mxm_wmi sparse_keymap mac_hid video wmi
>> usbhid hid sdhci_pci sdhci r8169
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.553773]
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.553780] Pid: 21, comm: khubd
>> Not tainted 3.5.0 #2 Acer       Aspire 4730Z    /Aspire 4730Z
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.553862] RIP:
>> 0010:[<ffffffffa02a9648>]  [<ffffffffa02a9648>]
>> snd_usb_audio_disconnect.isra.2+0x128/0x1b0 [snd_usb_audio]
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.553966] RSP:
>> 0018:ffff880139547b50  EFLAGS: 00010282
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.554012] RAX: 0000000000000001
>> RBX: ffff880135277800 RCX: 0000000000016f88
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.554068] RDX: 000000000000e62b
>> RSI: 0000000000000000 RDI: 0000000000000202
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.554125] RBP: ffff880139547b80
>> R08: 0000000000000364 R09: ffff88013fbfafd0
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.554180] R10: 000000000000007b
>> R11: 0000000000000001 R12: ffff880135277870
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.554238] R13: ffff88013450ac00
>> R14: ffff880135366ac8 R15: ffff8801352778d8
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.554294] FS:
>> 0000000000000000(0000) GS:ffff88013fc80000(0000)
>> knlGS:0000000000000000
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.554362] CS:  0010 DS: 0000 ES:
>> 0000 CR0: 000000008005003b
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.554407] CR2: ffff880135366ac8
>> CR3: 00000001366a6000 CR4: 00000000000407e0
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.554464] DR0: 0000000000000000
>> DR1: 0000000000000000 DR2: 0000000000000000
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.554519] DR3: 0000000000000000
>> DR6: 00000000ffff0ff0 DR7: 0000000000000400
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.554577] Process khubd (pid: 21,
>> threadinfo ffff880139546000, task ffff880139badcc0)
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.554637] Stack:
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.554657]  ffff88013271a000
>> ffff880132478c30 ffff880132478c00 ffff88013271a000
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.554736]  ffffffffa02bd718
>> 00000000ffffffea ffff880139547b90 ffffffffa02a96ea
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.554814]  ffff880139547be0
>> ffffffff814b069d ffff880139547be0 0000000081414108
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.554889] Call Trace:
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.554926]  [<ffffffffa02a96ea>]
>> usb_audio_disconnect+0x1a/0x20 [snd_usb_audio]
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.554994]  [<ffffffff814b069d>]
>> usb_unbind_interface+0x5d/0x1b0
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.555050]  [<ffffffff814097cc>]
>> __device_release_driver+0x7c/0xe0
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.555102]  [<ffffffff8140985c>]
>> device_release_driver+0x2c/0x40
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.555155]  [<ffffffff81409264>]
>> bus_remove_device+0xe4/0x120
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.555206]  [<ffffffff81406a03>]
>> device_del+0x123/0x1b0
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.555256]  [<ffffffff814ae1af>]
>> usb_disable_device+0xaf/0x1f0
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.555306]  [<ffffffff814a6d20>]
>> usb_disconnect+0x90/0x120
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.555353]  [<ffffffff814a6d09>]
>> usb_disconnect+0x79/0x120
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.555399]  [<ffffffff814a7d88>]
>> hub_port_connect_change+0xa8/0x6c0
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.555453]  [<ffffffff814a8733>]
>> hub_events+0x393/0x5b0
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.555500]  [<ffffffff814a8985>]
>> hub_thread+0x35/0x1a0
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.555545]  [<ffffffff81076d70>] ?
>> __init_waitqueue_head+0x40/0x40
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.555598]  [<ffffffff814a8950>] ?
>> hub_events+0x5b0/0x5b0
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.555646]  [<ffffffff810762d3>]
>> kthread+0x93/0xa0
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.555692]  [<ffffffff8166f864>]
>> kernel_thread_helper+0x4/0x10
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.555744]  [<ffffffff81076240>] ?
>> __init_kthread_worker+0x40/0x40
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.555795]  [<ffffffff8166f860>] ?
>> gs_change+0x13/0x13
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.555839] Code: 00 48 39 c2 75 ad
>> 4c 8b b3 d8 00 00 00 4c 8d bb d8 00 00 00 4d 39 fe 74 1a 66 2e 0f 1f
>> 84 00 00 00 00 00 4c 89 f7 e8 18 24 00 00 <4d> 8b 36 4d 39 fe 75 f0 4c
>> 8b b3 f0 00 00 00 4c 8d bb f0 00 00
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.556149] RIP
>> [<ffffffffa02a9648>] snd_usb_audio_disconnect.isra.2+0x128/0x1b0
>> [snd_usb_audio]
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.556149]  RSP <ffff880139547b50>
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.556149] CR2: ffff880135366ac8
>> Jul 23 07:38:22 Phrozen kernel: [ 1691.585993] ---[ end trace
>> 5c54ad131247c0a7 ]---
>> Jul 23 07:39:47 Phrozen kernel: imklog 5.8.6, log source = /proc/kmsg started.
>> Jul 23 07:39:47 Phrozen rsyslogd: [origin software="rsyslogd"
>> swVersion="5.8.6" x-pid="563" x-info="http://www.rsyslog.com"] start
>> Jul 23 07:39:47 Phrozen rsyslogd: rsyslogd's groupid changed to 103
>> Jul 23 07:39:47 Phrozen rsyslogd: rsyslogd's userid changed to 101
>> Jul 23 07:39:47 Phrozen rsyslogd-2039: Could not open output pipe
>> '/dev/xconsole' [try http://www.rsyslog.com/e/2039 ]
>> Jul 23 07:39:47 Phrozen bluetoothd[556]: Failed to init alert plugin
>> Jul 23 07:39:47 Phrozen bluetoothd[556]: Failed to init time plugin
>> Jul 23 07:39:47 Phrozen bluetoothd[556]: Failed to init proximity plugin
>> Jul 23 07:39:47 Phrozen bluetoothd[556]: Failed to init gatt_example plugin
>>
>>
>> One more:
>>
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.550604] VFS: Busy inodes after
>> unmount of sdb1. Self-destruct in 5 seconds.  Have a nice day...
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.551053] BUG: unable to handle
>> kernel NULL pointer dereference at 00000000000001e8
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.551178] IP:
>> [<ffffffff811fdb16>] ext3_evict_inode+0x46/0x2c0
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.551275] PGD bb57e067 PUD bb4a2067 PMD 0
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.551346] Oops: 0000 [#1] SMP
>> DEBUG_PAGEALLOC
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.551438] CPU 1
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.551470] Modules linked in: uas
>> usb_storage snd_usb_audio snd_usbmidi_lib hid_generic usbhid hid arc4
>> rt2800pci rt2800lib crc_ccitt rt2x00pci rt2x00lib mac80211
>> snd_hda_codec_realtek i915 snd_hda_intel snd_hda_codec snd_hwdep
>> snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event drm_kms_helper
>> joydev snd_seq cfg80211 snd_timer snd_seq_device snd drm uvcvideo
>> jmb38x_ms videobuf2_core soundcore snd_page_alloc memstick videodev
>> psmouse eeprom_93cx6 videobuf2_vmalloc i2c_algo_bit videobuf2_memops
>> serio_raw rfcomm parport_pc bnep ppdev bluetooth lp parport mxm_wmi
>> acer_wmi sparse_keymap video mac_hid wmi sdhci_pci sdhci r8169
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] Pid: 13148, comm:
>> gvfsd-trash Not tainted 3.5.0 #2 Acer       Aspire 4730Z    /Aspire
>> 4730Z
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] RIP:
>> 0010:[<ffffffff811fdb16>]  [<ffffffff811fdb16>]
>> ext3_evict_inode+0x46/0x2c0
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] RSP:
>> 0000:ffff8800bb517e48  EFLAGS: 00010287
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] RAX: 0000000000004000
>> RBX: ffff880132d288b0 RCX: ffff88013ff83000
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] RDX: 0000000000000000
>> RSI: 3e772dc354865807 RDI: ffff880132d288b0
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] RBP: ffff8800bb517e68
>> R08: e000000000000000 R09: c038000000000000
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] R10: feaf2dc354865807
>> R11: 7fffffffffffffff R12: 0000000000000000
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] R13: 0000000000000005
>> R14: ffff8801324189a0 R15: ffff8801347336a0
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] FS:
>> 00007f0d9e5247c0(0000) GS:ffff88013fc80000(0000)
>> knlGS:0000000000000000
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] CS:  0010 DS: 0000 ES:
>> 0000 CR0: 0000000080050033
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] CR2: 00000000000001e8
>> CR3: 00000000bb426000 CR4: 00000000000407e0
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] DR0: 0000000000000000
>> DR1: 0000000000000000 DR2: 0000000000000000
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] DR3: 0000000000000000
>> DR6: 00000000ffff0ff0 DR7: 0000000000000400
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] Process gvfsd-trash
>> (pid: 13148, threadinfo ffff8800bb516000, task ffff88013189dcc0)
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] Stack:
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  ffff880132d288b0
>> ffff880132d289e8 ffffffff81824ca0 ffff8801324189a0
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  ffff8800bb517e98
>> ffffffff8119a268 ffff880132d288b0 ffff880132d288b0
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  ffff880132d28938
>> ffffffff81824ca0 ffff8800bb517ec8 ffffffff8119a452
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] Call Trace:
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  [<ffffffff8119a268>]
>> evict+0xb8/0x1c0
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  [<ffffffff8119a452>]
>> iput_final+0xe2/0x1f0
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  [<ffffffff8119a59e>]
>> iput+0x3e/0x50
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  [<ffffffff811c0630>]
>> fsnotify_destroy_mark+0x170/0x180
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  [<ffffffff811c2738>]
>> sys_inotify_rm_watch+0x78/0xd0
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  [<ffffffff8166e569>]
>> system_call_fastpath+0x16/0x1b
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] Code: 48 45 31 e4 45 85
>> ed 0f 84 66 01 00 00 0f b7 03 48 8b 53 28 48 8b 92 70 03 00 00 25 00
>> f0 00 00 3d 00 80 00 00 0f 84 ea 01 00 00 <4c> 8b b2 e8 01 00 00 4c 8d
>> ab 80 01 00 00 4d 85 f6 74 17 3d 00
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] RIP
>> [<ffffffff811fdb16>] ext3_evict_inode+0x46/0x2c0
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029]  RSP <ffff8800bb517e48>
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.552029] CR2: 00000000000001e8
>> Jul 23 08:45:43 Phrozen kernel: [ 3878.590676] ---[ end trace
>> 3128f11f8290fec4 ]---
>> Jul 23 08:47:11 Phrozen kernel: imklog 5.8.6, log source = /proc/kmsg started.
>> Jul 23 08:47:11 Phrozen rsyslogd: [origin software="rsyslogd"
>> swVersion="5.8.6" x-pid="592" x-info="http://www.rsyslog.com"] start
>> Jul 23 08:47:11 Phrozen rsyslogd: rsyslogd's groupid changed to 103
>> Jul 23 08:47:11 Phrozen rsyslogd: rsyslogd's userid changed to 101
>> Jul 23 08:47:11 Phrozen rsyslogd-2039: Could not open output pipe
>> '/dev/xconsole' [try http://www.rsyslog.com/e/2039 ]
>>
>>
>> CPU-Info
>> processor     : 0
>> vendor_id     : GenuineIntel
>> cpu family    : 6
>> model         : 23
>> model name    : Pentium(R) Dual-Core CPU       T4200  @ 2.00GHz
>> stepping      : 10
>> microcode     : 0xa07
>> cpu MHz               : 2000.000
>> cache size    : 1024 KB
>> physical id   : 0
>> siblings      : 2
>> core id               : 0
>> cpu cores     : 2
>> apicid                : 0
>> initial apicid        : 0
>> fpu           : yes
>> fpu_exception : yes
>> cpuid level   : 13
>> wp            : yes
>> flags         : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
>> pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
>> lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni
>> dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm
>> dtherm
>> bogomips      : 3989.98
>> clflush size  : 64
>> cache_alignment       : 64
>> address sizes : 36 bits physical, 48 bits virtual
>> power management:
>>
>> processor     : 1
>> vendor_id     : GenuineIntel
>> cpu family    : 6
>> model         : 23
>> model name    : Pentium(R) Dual-Core CPU       T4200  @ 2.00GHz
>> stepping      : 10
>> microcode     : 0xa07
>> cpu MHz               : 2000.000
>> cache size    : 1024 KB
>> physical id   : 0
>> siblings      : 2
>> core id               : 1
>> cpu cores     : 2
>> apicid                : 1
>> initial apicid        : 1
>> fpu           : yes
>> fpu_exception : yes
>> cpuid level   : 13
>> wp            : yes
>> flags         : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
>> pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
>> lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni
>> dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm
>> dtherm
>> bogomips      : 3989.98
>> clflush size  : 64
>> cache_alignment       : 64
>> address sizes : 36 bits physical, 48 bits virtual
>> power management:
>>
>>
>> lsusb -vvv output
>>
>>
>> Bus 001 Device 002: ID 064e:a103 Suyin Corp. Acer/HP Integrated Webcam [CN0314]
>> Device Descriptor:
>>   bLength                18
>>   bDescriptorType         1
>>   bcdUSB               2.00
>>   bDeviceClass          239 Miscellaneous Device
>>   bDeviceSubClass         2 ?
>>   bDeviceProtocol         1 Interface Association
>>   bMaxPacketSize0        64
>>   idVendor           0x064e Suyin Corp.
>>   idProduct          0xa103 Acer/HP Integrated Webcam [CN0314]
>>   bcdDevice            1.00
>>   iManufacturer           2 SuYin
>>   iProduct                1 Acer Crystal Eye webcam
>>   iSerial                 3 CN0314-SN30-OV03-VA-R02.03.02
>>   bNumConfigurations      1
>>   Configuration Descriptor:
>>     bLength                 9
>>     bDescriptorType         2
>>     wTotalLength          544
>>     bNumInterfaces          2
>>     bConfigurationValue     1
>>     iConfiguration          0
>>     bmAttributes         0x80
>>       (Bus Powered)
>>     MaxPower              500mA
>>     Interface Association:
>>       bLength                 8
>>       bDescriptorType        11
>>       bFirstInterface         0
>>       bInterfaceCount         2
>>       bFunctionClass         14 Video
>>       bFunctionSubClass       3 Video Interface Collection
>>       bFunctionProtocol       0
>>       iFunction               5 Acer Crystal Eye webcam
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        0
>>       bAlternateSetting       0
>>       bNumEndpoints           1
>>       bInterfaceClass        14 Video
>>       bInterfaceSubClass      1 Video Control
>>       bInterfaceProtocol      0
>>       iInterface              5 Acer Crystal Eye webcam
>>       VideoControl Interface Descriptor:
>>         bLength                13
>>         bDescriptorType        36
>>         bDescriptorSubtype      1 (HEADER)
>>         bcdUVC               1.00
>>         wTotalLength          104
>>         dwClockFrequency       15.000000MHz
>>         bInCollection           1
>>         baInterfaceNr( 0)       1
>>       VideoControl Interface Descriptor:
>>         bLength                 9
>>         bDescriptorType        36
>>         bDescriptorSubtype      3 (OUTPUT_TERMINAL)
>>         bTerminalID             2
>>         wTerminalType      0x0101 USB Streaming
>>         bAssocTerminal          0
>>         bSourceID               5
>>         iTerminal               0
>>       VideoControl Interface Descriptor:
>>         bLength                26
>>         bDescriptorType        36
>>         bDescriptorSubtype      6 (EXTENSION_UNIT)
>>         bUnitID                 4
>>         guidExtensionCode         {7033f028-1163-2e4a-ba2c-6890eb334016}
>>         bNumControl             8
>>         bNrPins                 1
>>         baSourceID( 0)          3
>>         bControlSize            1
>>         bmControls( 0)       0x0f
>>         iExtension              0
>>       VideoControl Interface Descriptor:
>>         bLength                26
>>         bDescriptorType        36
>>         bDescriptorSubtype      6 (EXTENSION_UNIT)
>>         bUnitID                 5
>>         guidExtensionCode         {3fae1228-d7bc-114e-a357-6f1edef7d61d}
>>         bNumControl             8
>>         bNrPins                 1
>>         baSourceID( 0)          4
>>         bControlSize            1
>>         bmControls( 0)       0xff
>>         iExtension              0
>>       VideoControl Interface Descriptor:
>>         bLength                18
>>         bDescriptorType        36
>>         bDescriptorSubtype      2 (INPUT_TERMINAL)
>>         bTerminalID             1
>>         wTerminalType      0x0201 Camera Sensor
>>         bAssocTerminal          0
>>         iTerminal               0
>>         wObjectiveFocalLengthMin      0
>>         wObjectiveFocalLengthMax      0
>>         wOcularFocalLength            0
>>         bControlSize                  3
>>         bmControls           0x00000000
>>       VideoControl Interface Descriptor:
>>         bLength                12
>>         bDescriptorType        36
>>         bDescriptorSubtype      5 (PROCESSING_UNIT)
>>       Warning: Descriptor too short
>>         bUnitID                 3
>>         bSourceID               1
>>         wMaxMultiplier          0
>>         bControlSize            3
>>         bmControls     0x000025bf
>>           Brightness
>>           Contrast
>>           Hue
>>           Saturation
>>           Sharpness
>>           Gamma
>>           White Balance Component
>>           Backlight Compensation
>>           Power Line Frequency
>>           White Balance Component, Auto
>>         iProcessing             0
>>         bmVideoStandards     0x31
>>           None
>>           NTSC - 625/50
>>           PAL - 525/60
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x83  EP 3 IN
>>         bmAttributes            3
>>           Transfer Type            Interrupt
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0010  1x 16 bytes
>>         bInterval               6
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        1
>>       bAlternateSetting       0
>>       bNumEndpoints           0
>>       bInterfaceClass        14 Video
>>       bInterfaceSubClass      2 Video Streaming
>>       bInterfaceProtocol      0
>>       iInterface              0
>>       VideoStreaming Interface Descriptor:
>>         bLength                            14
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  1 (INPUT_HEADER)
>>         bNumFormats                         1
>>         wTotalLength                      297
>>         bEndPointAddress                  129
>>         bmInfo                              0
>>         bTerminalLink                       2
>>         bStillCaptureMethod                 0
>>         bTriggerSupport                     1
>>         bTriggerUsage                       1
>>         bControlSize                        1
>>         bmaControls( 0)                    27
>>       VideoStreaming Interface Descriptor:
>>         bLength                            27
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)
>>         bFormatIndex                        1
>>         bNumFrameDescriptors                5
>>         guidFormat
>> {59555932-0000-1000-8000-00aa00389b71}
>>         bBitsPerPixel                      16
>>         bDefaultFrameIndex                  1
>>         bAspectRatioX                       0
>>         bAspectRatioY                       0
>>         bmInterlaceFlags                 0x00
>>           Interlaced stream or variable: No
>>           Fields per frame: 2 fields
>>           Field 1 first: No
>>           Field pattern: Field 1 only
>>           bCopyProtect                      0
>>       VideoStreaming Interface Descriptor:
>>         bLength                            50
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
>>         bFrameIndex                         1
>>         bmCapabilities                   0x00
>>           Still image unsupported
>>         wWidth                            640
>>         wHeight                           480
>>         dwMinBitRate                  3072000
>>         dwMaxBitRate                 18432000
>>         dwMaxVideoFrameBufferSize      614400
>>         dwDefaultFrameInterval         333333
>>         bFrameIntervalType                  6
>>         dwFrameInterval( 0)            333333
>>         dwFrameInterval( 1)            400000
>>         dwFrameInterval( 2)            500000
>>         dwFrameInterval( 3)            666666
>>         dwFrameInterval( 4)           1000000
>>         dwFrameInterval( 5)           2000000
>>       VideoStreaming Interface Descriptor:
>>         bLength                            50
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
>>         bFrameIndex                         2
>>         bmCapabilities                   0x00
>>           Still image unsupported
>>         wWidth                            352
>>         wHeight                           288
>>         dwMinBitRate                  1013760
>>         dwMaxBitRate                  6082560
>>         dwMaxVideoFrameBufferSize      202752
>>         dwDefaultFrameInterval         333333
>>         bFrameIntervalType                  6
>>         dwFrameInterval( 0)            333333
>>         dwFrameInterval( 1)            400000
>>         dwFrameInterval( 2)            500000
>>         dwFrameInterval( 3)            666666
>>         dwFrameInterval( 4)           1000000
>>         dwFrameInterval( 5)           2000000
>>       VideoStreaming Interface Descriptor:
>>         bLength                            50
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
>>         bFrameIndex                         3
>>         bmCapabilities                   0x00
>>           Still image unsupported
>>         wWidth                            320
>>         wHeight                           240
>>         dwMinBitRate                   768000
>>         dwMaxBitRate                  4608000
>>         dwMaxVideoFrameBufferSize      153600
>>         dwDefaultFrameInterval         333333
>>         bFrameIntervalType                  6
>>         dwFrameInterval( 0)            333333
>>         dwFrameInterval( 1)            400000
>>         dwFrameInterval( 2)            500000
>>         dwFrameInterval( 3)            666666
>>         dwFrameInterval( 4)           1000000
>>         dwFrameInterval( 5)           2000000
>>       VideoStreaming Interface Descriptor:
>>         bLength                            50
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
>>         bFrameIndex                         4
>>         bmCapabilities                   0x00
>>           Still image unsupported
>>         wWidth                            176
>>         wHeight                           144
>>         dwMinBitRate                   253440
>>         dwMaxBitRate                  1520640
>>         dwMaxVideoFrameBufferSize       50688
>>         dwDefaultFrameInterval         333333
>>         bFrameIntervalType                  6
>>         dwFrameInterval( 0)            333333
>>         dwFrameInterval( 1)            400000
>>         dwFrameInterval( 2)            500000
>>         dwFrameInterval( 3)            666666
>>         dwFrameInterval( 4)           1000000
>>         dwFrameInterval( 5)           2000000
>>       VideoStreaming Interface Descriptor:
>>         bLength                            50
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
>>         bFrameIndex                         5
>>         bmCapabilities                   0x00
>>           Still image unsupported
>>         wWidth                            160
>>         wHeight                           120
>>         dwMinBitRate                   192000
>>         dwMaxBitRate                  1152000
>>         dwMaxVideoFrameBufferSize       38400
>>         dwDefaultFrameInterval         333333
>>         bFrameIntervalType                  6
>>         dwFrameInterval( 0)            333333
>>         dwFrameInterval( 1)            400000
>>         dwFrameInterval( 2)            500000
>>         dwFrameInterval( 3)            666666
>>         dwFrameInterval( 4)           1000000
>>         dwFrameInterval( 5)           2000000
>>       VideoStreaming Interface Descriptor:
>>         bLength                             6
>>         bDescriptorType                    36
>>         bDescriptorSubtype                 13 (COLORFORMAT)
>>         bColorPrimaries                     1 (BT.709,sRGB)
>>         bTransferCharacteristics            1 (BT.709)
>>         bMatrixCoefficients                 4 (SMPTE 170M (BT.601))
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        1
>>       bAlternateSetting       1
>>       bNumEndpoints           1
>>       bInterfaceClass        14 Video
>>       bInterfaceSubClass      2 Video Streaming
>>       bInterfaceProtocol      0
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            5
>>           Transfer Type            Isochronous
>>           Synch Type               Asynchronous
>>           Usage Type               Data
>>         wMaxPacketSize     0x0080  1x 128 bytes
>>         bInterval               1
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        1
>>       bAlternateSetting       2
>>       bNumEndpoints           1
>>       bInterfaceClass        14 Video
>>       bInterfaceSubClass      2 Video Streaming
>>       bInterfaceProtocol      0
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            5
>>           Transfer Type            Isochronous
>>           Synch Type               Asynchronous
>>           Usage Type               Data
>>         wMaxPacketSize     0x0100  1x 256 bytes
>>         bInterval               1
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        1
>>       bAlternateSetting       3
>>       bNumEndpoints           1
>>       bInterfaceClass        14 Video
>>       bInterfaceSubClass      2 Video Streaming
>>       bInterfaceProtocol      0
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            5
>>           Transfer Type            Isochronous
>>           Synch Type               Asynchronous
>>           Usage Type               Data
>>         wMaxPacketSize     0x0320  1x 800 bytes
>>         bInterval               1
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        1
>>       bAlternateSetting       4
>>       bNumEndpoints           1
>>       bInterfaceClass        14 Video
>>       bInterfaceSubClass      2 Video Streaming
>>       bInterfaceProtocol      0
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            5
>>           Transfer Type            Isochronous
>>           Synch Type               Asynchronous
>>           Usage Type               Data
>>         wMaxPacketSize     0x0b20  2x 800 bytes
>>         bInterval               1
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        1
>>       bAlternateSetting       5
>>       bNumEndpoints           1
>>       bInterfaceClass        14 Video
>>       bInterfaceSubClass      2 Video Streaming
>>       bInterfaceProtocol      0
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            5
>>           Transfer Type            Isochronous
>>           Synch Type               Asynchronous
>>           Usage Type               Data
>>         wMaxPacketSize     0x1320  3x 800 bytes
>>         bInterval               1
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        1
>>       bAlternateSetting       6
>>       bNumEndpoints           1
>>       bInterfaceClass        14 Video
>>       bInterfaceSubClass      2 Video Streaming
>>       bInterfaceProtocol      0
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            5
>>           Transfer Type            Isochronous
>>           Synch Type               Asynchronous
>>           Usage Type               Data
>>         wMaxPacketSize     0x1400  3x 1024 bytes
>>         bInterval               1
>> Device Qualifier (for other device speed):
>>   bLength                10
>>   bDescriptorType         6
>>   bcdUSB               2.00
>>   bDeviceClass          239 Miscellaneous Device
>>   bDeviceSubClass         2 ?
>>   bDeviceProtocol         1 Interface Association
>>   bMaxPacketSize0        64
>>   bNumConfigurations      1
>> Device Status:     0x0002
>>   (Bus Powered)
>>   Remote Wakeup Enabled
>>
>> Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
>> Device Descriptor:
>>   bLength                18
>>   bDescriptorType         1
>>   bcdUSB               2.00
>>   bDeviceClass            9 Hub
>>   bDeviceSubClass         0 Unused
>>   bDeviceProtocol         1 Single TT
>>   bMaxPacketSize0        64
>>   idVendor           0x05e3 Genesys Logic, Inc.
>>   idProduct          0x0608 USB-2.0 4-Port HUB
>>   bcdDevice           77.64
>>   iManufacturer           0
>>   iProduct                1 USB2.0 Hub
>>   iSerial                 0
>>   bNumConfigurations      1
>>   Configuration Descriptor:
>>     bLength                 9
>>     bDescriptorType         2
>>     wTotalLength           25
>>     bNumInterfaces          1
>>     bConfigurationValue     1
>>     iConfiguration          0
>>     bmAttributes         0xe0
>>       Self Powered
>>       Remote Wakeup
>>     MaxPower              100mA
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        0
>>       bAlternateSetting       0
>>       bNumEndpoints           1
>>       bInterfaceClass         9 Hub
>>       bInterfaceSubClass      0 Unused
>>       bInterfaceProtocol      0 Full speed (or root) hub
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            3
>>           Transfer Type            Interrupt
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0001  1x 1 bytes
>>         bInterval              12
>> Hub Descriptor:
>>   bLength               9
>>   bDescriptorType      41
>>   nNbrPorts             4
>>   wHubCharacteristic 0x00e0
>>     Ganged power switching
>>     Ganged overcurrent protection
>>     TT think time 32 FS bits
>>     Port indicators
>>   bPwrOn2PwrGood       50 * 2 milli seconds
>>   bHubContrCurrent    100 milli Ampere
>>   DeviceRemovable    0x00
>>   PortPwrCtrlMask    0xff
>>  Hub Port Status:
>>    Port 1: 0000.0303 lowspeed power enable connect
>>    Port 2: 0000.0507 highspeed power suspend enable connect
>>    Port 3: 0000.0100 power
>>    Port 4: 0000.0103 power enable connect
>> Device Qualifier (for other device speed):
>>   bLength                10
>>   bDescriptorType         6
>>   bcdUSB               2.00
>>   bDeviceClass            9 Hub
>>   bDeviceSubClass         0 Unused
>>   bDeviceProtocol         0 Full speed (or root) hub
>>   bMaxPacketSize0        64
>>   bNumConfigurations      1
>> Device Status:     0x0001
>>   Self Powered
>>
>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> Device Descriptor:
>>   bLength                18
>>   bDescriptorType         1
>>   bcdUSB               2.00
>>   bDeviceClass            9 Hub
>>   bDeviceSubClass         0 Unused
>>   bDeviceProtocol         0 Full speed (or root) hub
>>   bMaxPacketSize0        64
>>   idVendor           0x1d6b Linux Foundation
>>   idProduct          0x0002 2.0 root hub
>>   bcdDevice            3.05
>>   iManufacturer           3 Linux 3.5.0 ehci_hcd
>>   iProduct                2 EHCI Host Controller
>>   iSerial                 1 0000:00:1a.7
>>   bNumConfigurations      1
>>   Configuration Descriptor:
>>     bLength                 9
>>     bDescriptorType         2
>>     wTotalLength           25
>>     bNumInterfaces          1
>>     bConfigurationValue     1
>>     iConfiguration          0
>>     bmAttributes         0xe0
>>       Self Powered
>>       Remote Wakeup
>>     MaxPower                0mA
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        0
>>       bAlternateSetting       0
>>       bNumEndpoints           1
>>       bInterfaceClass         9 Hub
>>       bInterfaceSubClass      0 Unused
>>       bInterfaceProtocol      0 Full speed (or root) hub
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            3
>>           Transfer Type            Interrupt
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0004  1x 4 bytes
>>         bInterval              12
>> Hub Descriptor:
>>   bLength               9
>>   bDescriptorType      41
>>   nNbrPorts             4
>>   wHubCharacteristic 0x000a
>>     No power switching (usb 1.0)
>>     Per-port overcurrent protection
>>   bPwrOn2PwrGood       10 * 2 milli seconds
>>   bHubContrCurrent      0 milli Ampere
>>   DeviceRemovable    0x00
>>   PortPwrCtrlMask    0xff
>>  Hub Port Status:
>>    Port 1: 0000.0503 highspeed power enable connect
>>    Port 2: 0000.0100 power
>>    Port 3: 0000.0100 power
>>    Port 4: 0000.0100 power
>> Device Status:     0x0001
>>   Self Powered
>>
>> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> Device Descriptor:
>>   bLength                18
>>   bDescriptorType         1
>>   bcdUSB               2.00
>>   bDeviceClass            9 Hub
>>   bDeviceSubClass         0 Unused
>>   bDeviceProtocol         0 Full speed (or root) hub
>>   bMaxPacketSize0        64
>>   idVendor           0x1d6b Linux Foundation
>>   idProduct          0x0002 2.0 root hub
>>   bcdDevice            3.05
>>   iManufacturer           3 Linux 3.5.0 ehci_hcd
>>   iProduct                2 EHCI Host Controller
>>   iSerial                 1 0000:00:1d.7
>>   bNumConfigurations      1
>>   Configuration Descriptor:
>>     bLength                 9
>>     bDescriptorType         2
>>     wTotalLength           25
>>     bNumInterfaces          1
>>     bConfigurationValue     1
>>     iConfiguration          0
>>     bmAttributes         0xe0
>>       Self Powered
>>       Remote Wakeup
>>     MaxPower                0mA
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        0
>>       bAlternateSetting       0
>>       bNumEndpoints           1
>>       bInterfaceClass         9 Hub
>>       bInterfaceSubClass      0 Unused
>>       bInterfaceProtocol      0 Full speed (or root) hub
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            3
>>           Transfer Type            Interrupt
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0004  1x 4 bytes
>>         bInterval              12
>> Hub Descriptor:
>>   bLength              11
>>   bDescriptorType      41
>>   nNbrPorts             8
>>   wHubCharacteristic 0x000a
>>     No power switching (usb 1.0)
>>     Per-port overcurrent protection
>>   bPwrOn2PwrGood       10 * 2 milli seconds
>>   bHubContrCurrent      0 milli Ampere
>>   DeviceRemovable    0x00 0x00
>>   PortPwrCtrlMask    0xff 0xff
>>  Hub Port Status:
>>    Port 1: 0000.0100 power
>>    Port 2: 0000.0100 power
>>    Port 3: 0000.0503 highspeed power enable connect
>>    Port 4: 0000.0100 power
>>    Port 5: 0000.0100 power
>>    Port 6: 0000.0100 power
>>    Port 7: 0000.0100 power
>>    Port 8: 0000.0100 power
>> Device Status:     0x0001
>>   Self Powered
>>
>> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> Device Descriptor:
>>   bLength                18
>>   bDescriptorType         1
>>   bcdUSB               1.10
>>   bDeviceClass            9 Hub
>>   bDeviceSubClass         0 Unused
>>   bDeviceProtocol         0 Full speed (or root) hub
>>   bMaxPacketSize0        64
>>   idVendor           0x1d6b Linux Foundation
>>   idProduct          0x0001 1.1 root hub
>>   bcdDevice            3.05
>>   iManufacturer           3 Linux 3.5.0 uhci_hcd
>>   iProduct                2 UHCI Host Controller
>>   iSerial                 1 0000:00:1a.0
>>   bNumConfigurations      1
>>   Configuration Descriptor:
>>     bLength                 9
>>     bDescriptorType         2
>>     wTotalLength           25
>>     bNumInterfaces          1
>>     bConfigurationValue     1
>>     iConfiguration          0
>>     bmAttributes         0xe0
>>       Self Powered
>>       Remote Wakeup
>>     MaxPower                0mA
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        0
>>       bAlternateSetting       0
>>       bNumEndpoints           1
>>       bInterfaceClass         9 Hub
>>       bInterfaceSubClass      0 Unused
>>       bInterfaceProtocol      0 Full speed (or root) hub
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            3
>>           Transfer Type            Interrupt
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0002  1x 2 bytes
>>         bInterval             255
>> Hub Descriptor:
>>   bLength               9
>>   bDescriptorType      41
>>   nNbrPorts             2
>>   wHubCharacteristic 0x000a
>>     No power switching (usb 1.0)
>>     Per-port overcurrent protection
>>   bPwrOn2PwrGood        1 * 2 milli seconds
>>   bHubContrCurrent      0 milli Ampere
>>   DeviceRemovable    0x00
>>   PortPwrCtrlMask    0xff
>>  Hub Port Status:
>>    Port 1: 0000.0100 power
>>    Port 2: 0000.0100 power
>> Device Status:     0x0001
>>   Self Powered
>>
>> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> Device Descriptor:
>>   bLength                18
>>   bDescriptorType         1
>>   bcdUSB               1.10
>>   bDeviceClass            9 Hub
>>   bDeviceSubClass         0 Unused
>>   bDeviceProtocol         0 Full speed (or root) hub
>>   bMaxPacketSize0        64
>>   idVendor           0x1d6b Linux Foundation
>>   idProduct          0x0001 1.1 root hub
>>   bcdDevice            3.05
>>   iManufacturer           3 Linux 3.5.0 uhci_hcd
>>   iProduct                2 UHCI Host Controller
>>   iSerial                 1 0000:00:1a.1
>>   bNumConfigurations      1
>>   Configuration Descriptor:
>>     bLength                 9
>>     bDescriptorType         2
>>     wTotalLength           25
>>     bNumInterfaces          1
>>     bConfigurationValue     1
>>     iConfiguration          0
>>     bmAttributes         0xe0
>>       Self Powered
>>       Remote Wakeup
>>     MaxPower                0mA
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        0
>>       bAlternateSetting       0
>>       bNumEndpoints           1
>>       bInterfaceClass         9 Hub
>>       bInterfaceSubClass      0 Unused
>>       bInterfaceProtocol      0 Full speed (or root) hub
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            3
>>           Transfer Type            Interrupt
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0002  1x 2 bytes
>>         bInterval             255
>> Hub Descriptor:
>>   bLength               9
>>   bDescriptorType      41
>>   nNbrPorts             2
>>   wHubCharacteristic 0x000a
>>     No power switching (usb 1.0)
>>     Per-port overcurrent protection
>>   bPwrOn2PwrGood        1 * 2 milli seconds
>>   bHubContrCurrent      0 milli Ampere
>>   DeviceRemovable    0x00
>>   PortPwrCtrlMask    0xff
>>  Hub Port Status:
>>    Port 1: 0000.0100 power
>>    Port 2: 0000.0100 power
>> Device Status:     0x0001
>>   Self Powered
>>
>> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> Device Descriptor:
>>   bLength                18
>>   bDescriptorType         1
>>   bcdUSB               1.10
>>   bDeviceClass            9 Hub
>>   bDeviceSubClass         0 Unused
>>   bDeviceProtocol         0 Full speed (or root) hub
>>   bMaxPacketSize0        64
>>   idVendor           0x1d6b Linux Foundation
>>   idProduct          0x0001 1.1 root hub
>>   bcdDevice            3.05
>>   iManufacturer           3 Linux 3.5.0 uhci_hcd
>>   iProduct                2 UHCI Host Controller
>>   iSerial                 1 0000:00:1d.0
>>   bNumConfigurations      1
>>   Configuration Descriptor:
>>     bLength                 9
>>     bDescriptorType         2
>>     wTotalLength           25
>>     bNumInterfaces          1
>>     bConfigurationValue     1
>>     iConfiguration          0
>>     bmAttributes         0xe0
>>       Self Powered
>>       Remote Wakeup
>>     MaxPower                0mA
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        0
>>       bAlternateSetting       0
>>       bNumEndpoints           1
>>       bInterfaceClass         9 Hub
>>       bInterfaceSubClass      0 Unused
>>       bInterfaceProtocol      0 Full speed (or root) hub
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            3
>>           Transfer Type            Interrupt
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0002  1x 2 bytes
>>         bInterval             255
>> Hub Descriptor:
>>   bLength               9
>>   bDescriptorType      41
>>   nNbrPorts             2
>>   wHubCharacteristic 0x000a
>>     No power switching (usb 1.0)
>>     Per-port overcurrent protection
>>   bPwrOn2PwrGood        1 * 2 milli seconds
>>   bHubContrCurrent      0 milli Ampere
>>   DeviceRemovable    0x00
>>   PortPwrCtrlMask    0xff
>>  Hub Port Status:
>>    Port 1: 0000.0100 power
>>    Port 2: 0000.0100 power
>> Device Status:     0x0001
>>   Self Powered
>>
>> Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> Device Descriptor:
>>   bLength                18
>>   bDescriptorType         1
>>   bcdUSB               1.10
>>   bDeviceClass            9 Hub
>>   bDeviceSubClass         0 Unused
>>   bDeviceProtocol         0 Full speed (or root) hub
>>   bMaxPacketSize0        64
>>   idVendor           0x1d6b Linux Foundation
>>   idProduct          0x0001 1.1 root hub
>>   bcdDevice            3.05
>>   iManufacturer           3 Linux 3.5.0 uhci_hcd
>>   iProduct                2 UHCI Host Controller
>>   iSerial                 1 0000:00:1d.1
>>   bNumConfigurations      1
>>   Configuration Descriptor:
>>     bLength                 9
>>     bDescriptorType         2
>>     wTotalLength           25
>>     bNumInterfaces          1
>>     bConfigurationValue     1
>>     iConfiguration          0
>>     bmAttributes         0xe0
>>       Self Powered
>>       Remote Wakeup
>>     MaxPower                0mA
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        0
>>       bAlternateSetting       0
>>       bNumEndpoints           1
>>       bInterfaceClass         9 Hub
>>       bInterfaceSubClass      0 Unused
>>       bInterfaceProtocol      0 Full speed (or root) hub
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            3
>>           Transfer Type            Interrupt
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0002  1x 2 bytes
>>         bInterval             255
>> Hub Descriptor:
>>   bLength               9
>>   bDescriptorType      41
>>   nNbrPorts             2
>>   wHubCharacteristic 0x000a
>>     No power switching (usb 1.0)
>>     Per-port overcurrent protection
>>   bPwrOn2PwrGood        1 * 2 milli seconds
>>   bHubContrCurrent      0 milli Ampere
>>   DeviceRemovable    0x00
>>   PortPwrCtrlMask    0xff
>>  Hub Port Status:
>>    Port 1: 0000.0100 power
>>    Port 2: 0000.0100 power
>> Device Status:     0x0001
>>   Self Powered
>>
>> Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> Device Descriptor:
>>   bLength                18
>>   bDescriptorType         1
>>   bcdUSB               1.10
>>   bDeviceClass            9 Hub
>>   bDeviceSubClass         0 Unused
>>   bDeviceProtocol         0 Full speed (or root) hub
>>   bMaxPacketSize0        64
>>   idVendor           0x1d6b Linux Foundation
>>   idProduct          0x0001 1.1 root hub
>>   bcdDevice            3.05
>>   iManufacturer           3 Linux 3.5.0 uhci_hcd
>>   iProduct                2 UHCI Host Controller
>>   iSerial                 1 0000:00:1d.2
>>   bNumConfigurations      1
>>   Configuration Descriptor:
>>     bLength                 9
>>     bDescriptorType         2
>>     wTotalLength           25
>>     bNumInterfaces          1
>>     bConfigurationValue     1
>>     iConfiguration          0
>>     bmAttributes         0xe0
>>       Self Powered
>>       Remote Wakeup
>>     MaxPower                0mA
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        0
>>       bAlternateSetting       0
>>       bNumEndpoints           1
>>       bInterfaceClass         9 Hub
>>       bInterfaceSubClass      0 Unused
>>       bInterfaceProtocol      0 Full speed (or root) hub
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            3
>>           Transfer Type            Interrupt
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0002  1x 2 bytes
>>         bInterval             255
>> Hub Descriptor:
>>   bLength               9
>>   bDescriptorType      41
>>   nNbrPorts             2
>>   wHubCharacteristic 0x000a
>>     No power switching (usb 1.0)
>>     Per-port overcurrent protection
>>   bPwrOn2PwrGood        1 * 2 milli seconds
>>   bHubContrCurrent      0 milli Ampere
>>   DeviceRemovable    0x00
>>   PortPwrCtrlMask    0xff
>>  Hub Port Status:
>>    Port 1: 0000.0100 power
>>    Port 2: 0000.0100 power
>> Device Status:     0x0001
>>   Self Powered
>>
>> Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> Device Descriptor:
>>   bLength                18
>>   bDescriptorType         1
>>   bcdUSB               1.10
>>   bDeviceClass            9 Hub
>>   bDeviceSubClass         0 Unused
>>   bDeviceProtocol         0 Full speed (or root) hub
>>   bMaxPacketSize0        64
>>   idVendor           0x1d6b Linux Foundation
>>   idProduct          0x0001 1.1 root hub
>>   bcdDevice            3.05
>>   iManufacturer           3 Linux 3.5.0 uhci_hcd
>>   iProduct                2 UHCI Host Controller
>>   iSerial                 1 0000:00:1d.3
>>   bNumConfigurations      1
>>   Configuration Descriptor:
>>     bLength                 9
>>     bDescriptorType         2
>>     wTotalLength           25
>>     bNumInterfaces          1
>>     bConfigurationValue     1
>>     iConfiguration          0
>>     bmAttributes         0xe0
>>       Self Powered
>>       Remote Wakeup
>>     MaxPower                0mA
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        0
>>       bAlternateSetting       0
>>       bNumEndpoints           1
>>       bInterfaceClass         9 Hub
>>       bInterfaceSubClass      0 Unused
>>       bInterfaceProtocol      0 Full speed (or root) hub
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            3
>>           Transfer Type            Interrupt
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0002  1x 2 bytes
>>         bInterval             255
>> Hub Descriptor:
>>   bLength               9
>>   bDescriptorType      41
>>   nNbrPorts             2
>>   wHubCharacteristic 0x000a
>>     No power switching (usb 1.0)
>>     Per-port overcurrent protection
>>   bPwrOn2PwrGood        1 * 2 milli seconds
>>   bHubContrCurrent      0 milli Ampere
>>   DeviceRemovable    0x00
>>   PortPwrCtrlMask    0xff
>>  Hub Port Status:
>>    Port 1: 0000.0100 power
>>    Port 2: 0000.0100 power
>> Device Status:     0x0001
>>   Self Powered
>>
>> Bus 002 Device 003: ID 045e:0047 Microsoft Corp. IntelliMouse Explorer 3.0
>> Device Descriptor:
>>   bLength                18
>>   bDescriptorType         1
>>   bcdUSB               1.10
>>   bDeviceClass            0 (Defined at Interface level)
>>   bDeviceSubClass         0
>>   bDeviceProtocol         0
>>   bMaxPacketSize0         8
>>   idVendor           0x045e Microsoft Corp.
>>   idProduct          0x0047 IntelliMouse Explorer 3.0
>>   bcdDevice            3.00
>>   iManufacturer           1 Microsoft
>>   iProduct                3 Microsoft 5-Button Mouse with IntelliEye(TM)
>>   iSerial                 0
>>   bNumConfigurations      1
>>   Configuration Descriptor:
>>     bLength                 9
>>     bDescriptorType         2
>>     wTotalLength           34
>>     bNumInterfaces          1
>>     bConfigurationValue     1
>>     iConfiguration          0
>>     bmAttributes         0xa0
>>       (Bus Powered)
>>       Remote Wakeup
>>     MaxPower              100mA
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        0
>>       bAlternateSetting       0
>>       bNumEndpoints           1
>>       bInterfaceClass         3 Human Interface Device
>>       bInterfaceSubClass      1 Boot Interface Subclass
>>       bInterfaceProtocol      2 Mouse
>>       iInterface              0
>>         HID Device Descriptor:
>>           bLength                 9
>>           bDescriptorType        33
>>           bcdHID               1.10
>>           bCountryCode            0 Not supported
>>           bNumDescriptors         1
>>           bDescriptorType        34 Report
>>           wDescriptorLength      72
>>          Report Descriptors:
>>            ** UNAVAILABLE **
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            3
>>           Transfer Type            Interrupt
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0004  1x 4 bytes
>>         bInterval              10
>> Device Status:     0x0000
>>   (Bus Powered)
>>
>> Bus 002 Device 004: ID 0c45:62e0 Microdia MSI Starcam Racer
>> Device Descriptor:
>>   bLength                18
>>   bDescriptorType         1
>>   bcdUSB               2.00
>>   bDeviceClass          239 Miscellaneous Device
>>   bDeviceSubClass         2 ?
>>   bDeviceProtocol         1 Interface Association
>>   bMaxPacketSize0        64
>>   idVendor           0x0c45 Microdia
>>   idProduct          0x62e0 MSI Starcam Racer
>>   bcdDevice            1.00
>>   iManufacturer           2 Sonix Technology Co., Ltd.
>>   iProduct                1 USB 2.0 Camera
>>   iSerial                 0
>>   bNumConfigurations      1
>>   Configuration Descriptor:
>>     bLength                 9
>>     bDescriptorType         2
>>     wTotalLength         1051
>>     bNumInterfaces          4
>>     bConfigurationValue     1
>>     iConfiguration          0
>>     bmAttributes         0x80
>>       (Bus Powered)
>>     MaxPower              250mA
>>     Interface Association:
>>       bLength                 8
>>       bDescriptorType        11
>>       bFirstInterface         0
>>       bInterfaceCount         2
>>       bFunctionClass         14 Video
>>       bFunctionSubClass       3 Video Interface Collection
>>       bFunctionProtocol       0
>>       iFunction               5 USB Camera
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        0
>>       bAlternateSetting       0
>>       bNumEndpoints           1
>>       bInterfaceClass        14 Video
>>       bInterfaceSubClass      1 Video Control
>>       bInterfaceProtocol      0
>>       iInterface              5 USB Camera
>>       VideoControl Interface Descriptor:
>>         bLength                13
>>         bDescriptorType        36
>>         bDescriptorSubtype      1 (HEADER)
>>         bcdUVC               1.00
>>         wTotalLength          103
>>         dwClockFrequency       15.000000MHz
>>         bInCollection           1
>>         baInterfaceNr( 0)       1
>>       VideoControl Interface Descriptor:
>>         bLength                 9
>>         bDescriptorType        36
>>         bDescriptorSubtype      3 (OUTPUT_TERMINAL)
>>         bTerminalID             2
>>         wTerminalType      0x0101 USB Streaming
>>         bAssocTerminal          0
>>         bSourceID               5
>>         iTerminal               0
>>       VideoControl Interface Descriptor:
>>         bLength                26
>>         bDescriptorType        36
>>         bDescriptorSubtype      6 (EXTENSION_UNIT)
>>         bUnitID                 4
>>         guidExtensionCode         {7033f028-1163-2e4a-ba2c-6890eb334016}
>>         bNumControl             8
>>         bNrPins                 1
>>         baSourceID( 0)          3
>>         bControlSize            1
>>         bmControls( 0)       0x3f
>>         iExtension              0
>>       VideoControl Interface Descriptor:
>>         bLength                26
>>         bDescriptorType        36
>>         bDescriptorSubtype      6 (EXTENSION_UNIT)
>>         bUnitID                 5
>>         guidExtensionCode         {3fae1228-d7bc-114e-a357-6f1edef7d61d}
>>         bNumControl             8
>>         bNrPins                 1
>>         baSourceID( 0)          4
>>         bControlSize            1
>>         bmControls( 0)       0x00
>>         iExtension              0
>>       VideoControl Interface Descriptor:
>>         bLength                18
>>         bDescriptorType        36
>>         bDescriptorSubtype      2 (INPUT_TERMINAL)
>>         bTerminalID             1
>>         wTerminalType      0x0201 Camera Sensor
>>         bAssocTerminal          0
>>         iTerminal               0
>>         wObjectiveFocalLengthMin      0
>>         wObjectiveFocalLengthMax      0
>>         wOcularFocalLength            0
>>         bControlSize                  3
>>         bmControls           0x0002002e
>>           Auto-Exposure Mode
>>           Auto-Exposure Priority
>>           Exposure Time (Absolute)
>>           Focus (Absolute)
>>           Focus, Auto
>>       VideoControl Interface Descriptor:
>>         bLength                11
>>         bDescriptorType        36
>>         bDescriptorSubtype      5 (PROCESSING_UNIT)
>>       Warning: Descriptor too short
>>         bUnitID                 3
>>         bSourceID               1
>>         wMaxMultiplier          0
>>         bControlSize            2
>>         bmControls     0x0000177f
>>           Brightness
>>           Contrast
>>           Hue
>>           Saturation
>>           Sharpness
>>           Gamma
>>           White Balance Temperature
>>           Backlight Compensation
>>           Gain
>>           Power Line Frequency
>>           White Balance Temperature, Auto
>>         iProcessing             0
>>         bmVideoStandards     0x 0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x83  EP 3 IN
>>         bmAttributes            3
>>           Transfer Type            Interrupt
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0010  1x 16 bytes
>>         bInterval               6
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        1
>>       bAlternateSetting       0
>>       bNumEndpoints           0
>>       bInterfaceClass        14 Video
>>       bInterfaceSubClass      2 Video Streaming
>>       bInterfaceProtocol      0
>>       iInterface              0
>>       VideoStreaming Interface Descriptor:
>>         bLength                            15
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  1 (INPUT_HEADER)
>>         bNumFormats                         2
>>         wTotalLength                      692
>>         bEndPointAddress                  129
>>         bmInfo                              0
>>         bTerminalLink                       2
>>         bStillCaptureMethod                 2
>>         bTriggerSupport                     1
>>         bTriggerUsage                       1
>>         bControlSize                        1
>>         bmaControls( 0)                    27
>>         bmaControls( 1)                    27
>>       VideoStreaming Interface Descriptor:
>>         bLength                            27
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)
>>         bFormatIndex                        1
>>         bNumFrameDescriptors                6
>>         guidFormat
>> {59555932-0000-1000-8000-00aa00389b71}
>>         bBitsPerPixel                      16
>>         bDefaultFrameIndex                  1
>>         bAspectRatioX                       0
>>         bAspectRatioY                       0
>>         bmInterlaceFlags                 0x00
>>           Interlaced stream or variable: No
>>           Fields per frame: 2 fields
>>           Field 1 first: No
>>           Field pattern: Field 1 only
>>           bCopyProtect                      0
>>       VideoStreaming Interface Descriptor:
>>         bLength                            50
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
>>         bFrameIndex                         1
>>         bmCapabilities                   0x00
>>           Still image unsupported
>>         wWidth                            640
>>         wHeight                           480
>>         dwMinBitRate                  3072000
>>         dwMaxBitRate                 18432000
>>         dwMaxVideoFrameBufferSize      614400
>>         dwDefaultFrameInterval         333333
>>         bFrameIntervalType                  6
>>         dwFrameInterval( 0)            333333
>>         dwFrameInterval( 1)            400000
>>         dwFrameInterval( 2)            500000
>>         dwFrameInterval( 3)            666666
>>         dwFrameInterval( 4)           1000000
>>         dwFrameInterval( 5)           2000000
>>       VideoStreaming Interface Descriptor:
>>         bLength                            50
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
>>         bFrameIndex                         2
>>         bmCapabilities                   0x00
>>           Still image unsupported
>>         wWidth                            352
>>         wHeight                           288
>>         dwMinBitRate                  1013760
>>         dwMaxBitRate                  6082560
>>         dwMaxVideoFrameBufferSize      202752
>>         dwDefaultFrameInterval         333333
>>         bFrameIntervalType                  6
>>         dwFrameInterval( 0)            333333
>>         dwFrameInterval( 1)            400000
>>         dwFrameInterval( 2)            500000
>>         dwFrameInterval( 3)            666666
>>         dwFrameInterval( 4)           1000000
>>         dwFrameInterval( 5)           2000000
>>       VideoStreaming Interface Descriptor:
>>         bLength                            50
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
>>         bFrameIndex                         3
>>         bmCapabilities                   0x00
>>           Still image unsupported
>>         wWidth                            320
>>         wHeight                           240
>>         dwMinBitRate                   768000
>>         dwMaxBitRate                  4608000
>>         dwMaxVideoFrameBufferSize      153600
>>         dwDefaultFrameInterval         333333
>>         bFrameIntervalType                  6
>>         dwFrameInterval( 0)            333333
>>         dwFrameInterval( 1)            400000
>>         dwFrameInterval( 2)            500000
>>         dwFrameInterval( 3)            666666
>>         dwFrameInterval( 4)           1000000
>>         dwFrameInterval( 5)           2000000
>>       VideoStreaming Interface Descriptor:
>>         bLength                            50
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
>>         bFrameIndex                         4
>>         bmCapabilities                   0x00
>>           Still image unsupported
>>         wWidth                            176
>>         wHeight                           144
>>         dwMinBitRate                   253440
>>         dwMaxBitRate                  1520640
>>         dwMaxVideoFrameBufferSize       50688
>>         dwDefaultFrameInterval         333333
>>         bFrameIntervalType                  6
>>         dwFrameInterval( 0)            333333
>>         dwFrameInterval( 1)            400000
>>         dwFrameInterval( 2)            500000
>>         dwFrameInterval( 3)            666666
>>         dwFrameInterval( 4)           1000000
>>         dwFrameInterval( 5)           2000000
>>       VideoStreaming Interface Descriptor:
>>         bLength                            50
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
>>         bFrameIndex                         5
>>         bmCapabilities                   0x00
>>           Still image unsupported
>>         wWidth                            160
>>         wHeight                           120
>>         dwMinBitRate                   192000
>>         dwMaxBitRate                  1152000
>>         dwMaxVideoFrameBufferSize       38400
>>         dwDefaultFrameInterval         333333
>>         bFrameIntervalType                  6
>>         dwFrameInterval( 0)            333333
>>         dwFrameInterval( 1)            400000
>>         dwFrameInterval( 2)            500000
>>         dwFrameInterval( 3)            666666
>>         dwFrameInterval( 4)           1000000
>>         dwFrameInterval( 5)           2000000
>>       VideoStreaming Interface Descriptor:
>>         bLength                            34
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
>>         bFrameIndex                         6
>>         bmCapabilities                   0x00
>>           Still image unsupported
>>         wWidth                           1280
>>         wHeight                          1024
>>         dwMinBitRate                 13107200
>>         dwMaxBitRate                 23592960
>>         dwMaxVideoFrameBufferSize     2621440
>>         dwDefaultFrameInterval        1111111
>>         bFrameIntervalType                  2
>>         dwFrameInterval( 0)           1111111
>>         dwFrameInterval( 1)           2000000
>>       VideoStreaming Interface Descriptor:
>>         bLength                            30
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  3 (STILL_IMAGE_FRAME)
>>         bEndpointAddress                    0
>>         bNumImageSizePatterns               6
>>         wWidth( 0)                       1280
>>         wHeight( 0)                      1024
>>         wWidth( 1)                        640
>>         wHeight( 1)                       480
>>         wWidth( 2)                        352
>>         wHeight( 2)                       288
>>         wWidth( 3)                        320
>>         wHeight( 3)                       240
>>         wWidth( 4)                        176
>>         wHeight( 4)                       144
>>         wWidth( 5)                        160
>>         wHeight( 5)                       120
>>         bNumCompressionPatterns             6
>>       VideoStreaming Interface Descriptor:
>>         bLength                            11
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  6 (FORMAT_MJPEG)
>>         bFormatIndex                        2
>>         bNumFrameDescriptors                6
>>         bFlags                              0
>>           Fixed-size samples: No
>>         bDefaultFrameIndex                  1
>>         bAspectRatioX                       0
>>         bAspectRatioY                       0
>>         bmInterlaceFlags                 0x00
>>           Interlaced stream or variable: No
>>           Fields per frame: 1 fields
>>           Field 1 first: No
>>           Field pattern: Field 1 only
>>           bCopyProtect                      0
>>       VideoStreaming Interface Descriptor:
>>         bLength                            50
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  7 (FRAME_MJPEG)
>>         bFrameIndex                         1
>>         bmCapabilities                   0x00
>>           Still image unsupported
>>         wWidth                            640
>>         wHeight                           480
>>         dwMinBitRate                   384000
>>         dwMaxBitRate                  2304000
>>         dwMaxVideoFrameBufferSize       76800
>>         dwDefaultFrameInterval         333333
>>         bFrameIntervalType                  6
>>         dwFrameInterval( 0)            333333
>>         dwFrameInterval( 1)            400000
>>         dwFrameInterval( 2)            500000
>>         dwFrameInterval( 3)            666666
>>         dwFrameInterval( 4)           1000000
>>         dwFrameInterval( 5)           2000000
>>       VideoStreaming Interface Descriptor:
>>         bLength                            50
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  7 (FRAME_MJPEG)
>>         bFrameIndex                         2
>>         bmCapabilities                   0x00
>>           Still image unsupported
>>         wWidth                            352
>>         wHeight                           288
>>         dwMinBitRate                   126720
>>         dwMaxBitRate                   760320
>>         dwMaxVideoFrameBufferSize       25344
>>         dwDefaultFrameInterval         333333
>>         bFrameIntervalType                  6
>>         dwFrameInterval( 0)            333333
>>         dwFrameInterval( 1)            400000
>>         dwFrameInterval( 2)            500000
>>         dwFrameInterval( 3)            666666
>>         dwFrameInterval( 4)           1000000
>>         dwFrameInterval( 5)           2000000
>>       VideoStreaming Interface Descriptor:
>>         bLength                            50
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  7 (FRAME_MJPEG)
>>         bFrameIndex                         3
>>         bmCapabilities                   0x00
>>           Still image unsupported
>>         wWidth                            320
>>         wHeight                           240
>>         dwMinBitRate                    96000
>>         dwMaxBitRate                   576000
>>         dwMaxVideoFrameBufferSize       19200
>>         dwDefaultFrameInterval         333333
>>         bFrameIntervalType                  6
>>         dwFrameInterval( 0)            333333
>>         dwFrameInterval( 1)            400000
>>         dwFrameInterval( 2)            500000
>>         dwFrameInterval( 3)            666666
>>         dwFrameInterval( 4)           1000000
>>         dwFrameInterval( 5)           2000000
>>       VideoStreaming Interface Descriptor:
>>         bLength                            50
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  7 (FRAME_MJPEG)
>>         bFrameIndex                         4
>>         bmCapabilities                   0x00
>>           Still image unsupported
>>         wWidth                            176
>>         wHeight                           144
>>         dwMinBitRate                    31680
>>         dwMaxBitRate                   190080
>>         dwMaxVideoFrameBufferSize        6336
>>         dwDefaultFrameInterval         333333
>>         bFrameIntervalType                  6
>>         dwFrameInterval( 0)            333333
>>         dwFrameInterval( 1)            400000
>>         dwFrameInterval( 2)            500000
>>         dwFrameInterval( 3)            666666
>>         dwFrameInterval( 4)           1000000
>>         dwFrameInterval( 5)           2000000
>>       VideoStreaming Interface Descriptor:
>>         bLength                            50
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  7 (FRAME_MJPEG)
>>         bFrameIndex                         5
>>         bmCapabilities                   0x00
>>           Still image unsupported
>>         wWidth                            160
>>         wHeight                           120
>>         dwMinBitRate                    24000
>>         dwMaxBitRate                   144000
>>         dwMaxVideoFrameBufferSize        4800
>>         dwDefaultFrameInterval         333333
>>         bFrameIntervalType                  6
>>         dwFrameInterval( 0)            333333
>>         dwFrameInterval( 1)            400000
>>         dwFrameInterval( 2)            500000
>>         dwFrameInterval( 3)            666666
>>         dwFrameInterval( 4)           1000000
>>         dwFrameInterval( 5)           2000000
>>       VideoStreaming Interface Descriptor:
>>         bLength                            38
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  7 (FRAME_MJPEG)
>>         bFrameIndex                         6
>>         bmCapabilities                   0x00
>>           Still image unsupported
>>         wWidth                           1280
>>         wHeight                          1024
>>         dwMinBitRate                  1638400
>>         dwMaxBitRate                  4915200
>>         dwMaxVideoFrameBufferSize      327680
>>         dwDefaultFrameInterval         666666
>>         bFrameIntervalType                  3
>>         dwFrameInterval( 0)            666666
>>         dwFrameInterval( 1)           1000000
>>         dwFrameInterval( 2)           2000000
>>       VideoStreaming Interface Descriptor:
>>         bLength                            31
>>         bDescriptorType                    36
>>         bDescriptorSubtype                  3 (STILL_IMAGE_FRAME)
>>         bEndpointAddress                    0
>>         bNumImageSizePatterns               6
>>         wWidth( 0)                       1280
>>         wHeight( 0)                      1024
>>         wWidth( 1)                        640
>>         wHeight( 1)                       480
>>         wWidth( 2)                        352
>>         wHeight( 2)                       288
>>         wWidth( 3)                        320
>>         wHeight( 3)                       240
>>         wWidth( 4)                        176
>>         wHeight( 4)                       144
>>         wWidth( 5)                        160
>>         wHeight( 5)                       120
>>         bNumCompressionPatterns             6
>>         bCompression( 0)                    0
>>       VideoStreaming Interface Descriptor:
>>         bLength                             6
>>         bDescriptorType                    36
>>         bDescriptorSubtype                 13 (COLORFORMAT)
>>         bColorPrimaries                     1 (BT.709,sRGB)
>>         bTransferCharacteristics            1 (BT.709)
>>         bMatrixCoefficients                 4 (SMPTE 170M (BT.601))
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        1
>>       bAlternateSetting       1
>>       bNumEndpoints           1
>>       bInterfaceClass        14 Video
>>       bInterfaceSubClass      2 Video Streaming
>>       bInterfaceProtocol      0
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            5
>>           Transfer Type            Isochronous
>>           Synch Type               Asynchronous
>>           Usage Type               Data
>>         wMaxPacketSize     0x0080  1x 128 bytes
>>         bInterval               1
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        1
>>       bAlternateSetting       2
>>       bNumEndpoints           1
>>       bInterfaceClass        14 Video
>>       bInterfaceSubClass      2 Video Streaming
>>       bInterfaceProtocol      0
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            5
>>           Transfer Type            Isochronous
>>           Synch Type               Asynchronous
>>           Usage Type               Data
>>         wMaxPacketSize     0x0100  1x 256 bytes
>>         bInterval               1
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        1
>>       bAlternateSetting       3
>>       bNumEndpoints           1
>>       bInterfaceClass        14 Video
>>       bInterfaceSubClass      2 Video Streaming
>>       bInterfaceProtocol      0
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            5
>>           Transfer Type            Isochronous
>>           Synch Type               Asynchronous
>>           Usage Type               Data
>>         wMaxPacketSize     0x0320  1x 800 bytes
>>         bInterval               1
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        1
>>       bAlternateSetting       4
>>       bNumEndpoints           1
>>       bInterfaceClass        14 Video
>>       bInterfaceSubClass      2 Video Streaming
>>       bInterfaceProtocol      0
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            5
>>           Transfer Type            Isochronous
>>           Synch Type               Asynchronous
>>           Usage Type               Data
>>         wMaxPacketSize     0x0b20  2x 800 bytes
>>         bInterval               1
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        1
>>       bAlternateSetting       5
>>       bNumEndpoints           1
>>       bInterfaceClass        14 Video
>>       bInterfaceSubClass      2 Video Streaming
>>       bInterfaceProtocol      0
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            5
>>           Transfer Type            Isochronous
>>           Synch Type               Asynchronous
>>           Usage Type               Data
>>         wMaxPacketSize     0x1320  3x 800 bytes
>>         bInterval               1
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        1
>>       bAlternateSetting       6
>>       bNumEndpoints           1
>>       bInterfaceClass        14 Video
>>       bInterfaceSubClass      2 Video Streaming
>>       bInterfaceProtocol      0
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            5
>>           Transfer Type            Isochronous
>>           Synch Type               Asynchronous
>>           Usage Type               Data
>>         wMaxPacketSize     0x1400  3x 1024 bytes
>>         bInterval               1
>>     Interface Association:
>>       bLength                 8
>>       bDescriptorType        11
>>       bFirstInterface         2
>>       bInterfaceCount         2
>>       bFunctionClass          1 Audio
>>       bFunctionSubClass       0
>>       bFunctionProtocol       0
>>       iFunction               4 USB Audio Device
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        2
>>       bAlternateSetting       0
>>       bNumEndpoints           0
>>       bInterfaceClass         1 Audio
>>       bInterfaceSubClass      1 Control Device
>>       bInterfaceProtocol      0
>>       iInterface              4 USB Audio Device
>>       AudioControl Interface Descriptor:
>>         bLength                 9
>>         bDescriptorType        36
>>         bDescriptorSubtype      1 (HEADER)
>>         bcdADC               1.00
>>         wTotalLength           41
>>         bInCollection           1
>>         baInterfaceNr( 0)       3
>>       AudioControl Interface Descriptor:
>>         bLength                12
>>         bDescriptorType        36
>>         bDescriptorSubtype      2 (INPUT_TERMINAL)
>>         bTerminalID             1
>>         wTerminalType      0x0201 Microphone
>>         bAssocTerminal          0
>>         bNrChannels             1
>>         wChannelConfig     0x0000
>>         iChannelNames           0
>>         iTerminal               0
>>       AudioControl Interface Descriptor:
>>         bLength                11
>>         bDescriptorType        36
>>         bDescriptorSubtype      6 (FEATURE_UNIT)
>>         bUnitID                 2
>>         bSourceID               1
>>         bControlSize            2
>>         bmaControls( 0)      0x01
>>         bmaControls( 0)      0x00
>>           Mute Control
>>         bmaControls( 1)      0x02
>>         bmaControls( 1)      0x00
>>           Volume Control
>>         iFeature                0
>>       AudioControl Interface Descriptor:
>>         bLength                 9
>>         bDescriptorType        36
>>         bDescriptorSubtype      3 (OUTPUT_TERMINAL)
>>         bTerminalID             3
>>         wTerminalType      0x0101 USB Streaming
>>         bAssocTerminal          0
>>         bSourceID               2
>>         iTerminal               0
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        3
>>       bAlternateSetting       0
>>       bNumEndpoints           0
>>       bInterfaceClass         1 Audio
>>       bInterfaceSubClass      2 Streaming
>>       bInterfaceProtocol      0
>>       iInterface              0
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        3
>>       bAlternateSetting       1
>>       bNumEndpoints           1
>>       bInterfaceClass         1 Audio
>>       bInterfaceSubClass      2 Streaming
>>       bInterfaceProtocol      0
>>       iInterface              0
>>       AudioStreaming Interface Descriptor:
>>         bLength                 7
>>         bDescriptorType        36
>>         bDescriptorSubtype      1 (AS_GENERAL)
>>         bTerminalLink           3
>>         bDelay                  1 frames
>>         wFormatTag              1 PCM
>>       AudioStreaming Interface Descriptor:
>>         bLength                14
>>         bDescriptorType        36
>>         bDescriptorSubtype      2 (FORMAT_TYPE)
>>         bFormatType             1 (FORMAT_TYPE_I)
>>         bNrChannels             1
>>         bSubframeSize           2
>>         bBitResolution         16
>>         bSamFreqType            2 Discrete
>>         tSamFreq[ 0]         8000
>>         tSamFreq[ 1]        16000
>>       Endpoint Descriptor:
>>         bLength                 9
>>         bDescriptorType         5
>>         bEndpointAddress     0x84  EP 4 IN
>>         bmAttributes            5
>>           Transfer Type            Isochronous
>>           Synch Type               Asynchronous
>>           Usage Type               Data
>>         wMaxPacketSize     0x0190  1x 400 bytes
>>         bInterval               4
>>         bRefresh                0
>>         bSynchAddress           0
>>         AudioControl Endpoint Descriptor:
>>           bLength                 7
>>           bDescriptorType        37
>>           bDescriptorSubtype      1 (EP_GENERAL)
>>           bmAttributes         0x01
>>             Sampling Frequency
>>           bLockDelayUnits         0 Undefined
>>           wLockDelay              0 Undefined
>> Device Qualifier (for other device speed):
>>   bLength                10
>>   bDescriptorType         6
>>   bcdUSB               2.00
>>   bDeviceClass          239 Miscellaneous Device
>>   bDeviceSubClass         2 ?
>>   bDeviceProtocol         1 Interface Association
>>   bMaxPacketSize0        64
>>   bNumConfigurations      1
>> Device Status:     0x0002
>>   (Bus Powered)
>>   Remote Wakeup Enabled
>>
>> Bus 002 Device 005: ID 03eb:0902 Atmel Corp. 4-Port Hub
>> Device Descriptor:
>>   bLength                18
>>   bDescriptorType         1
>>   bcdUSB               1.10
>>   bDeviceClass            9 Hub
>>   bDeviceSubClass         0 Unused
>>   bDeviceProtocol         0 Full speed (or root) hub
>>   bMaxPacketSize0         8
>>   idVendor           0x03eb Atmel Corp.
>>   idProduct          0x0902 4-Port Hub
>>   bcdDevice            1.00
>>   iManufacturer           0
>>   iProduct                2 USB 2.0 Hub
>>   iSerial                 0
>>   bNumConfigurations      1
>>   Configuration Descriptor:
>>     bLength                 9
>>     bDescriptorType         2
>>     wTotalLength           34
>>     bNumInterfaces          1
>>     bConfigurationValue     1
>>     iConfiguration          0
>>     bmAttributes         0xe0
>>       Self Powered
>>       Remote Wakeup
>>     MaxPower              100mA
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        0
>>       bAlternateSetting       0
>>       bNumEndpoints           1
>>       bInterfaceClass         9 Hub
>>       bInterfaceSubClass      0 Unused
>>       bInterfaceProtocol      0 Full speed (or root) hub
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            3
>>           Transfer Type            Interrupt
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0001  1x 1 bytes
>>         bInterval             255
>>         ** UNRECOGNIZED:  09 29 04 09 00 32 64 00 1e
>> Hub Descriptor:
>>   bLength               9
>>   bDescriptorType      41
>>   nNbrPorts             4
>>   wHubCharacteristic 0x0009
>>     Per-port power switching
>>     Per-port overcurrent protection
>>   bPwrOn2PwrGood       50 * 2 milli seconds
>>   bHubContrCurrent    100 milli Ampere
>>   DeviceRemovable    0x00
>>   PortPwrCtrlMask    0x1e
>>  Hub Port Status:
>>    Port 1: 0000.0303 lowspeed power enable connect
>>    Port 2: 0000.0100 power
>>    Port 3: 0000.0100 power
>>    Port 4: 0000.0100 power
>> Device Status:     0x0001
>>   Self Powered
>>
>> Bus 002 Device 006: ID 413c:2003 Dell Computer Corp. Keyboard
>> Device Descriptor:
>>   bLength                18
>>   bDescriptorType         1
>>   bcdUSB               1.10
>>   bDeviceClass            0 (Defined at Interface level)
>>   bDeviceSubClass         0
>>   bDeviceProtocol         0
>>   bMaxPacketSize0         8
>>   idVendor           0x413c Dell Computer Corp.
>>   idProduct          0x2003 Keyboard
>>   bcdDevice            3.06
>>   iManufacturer           1 Dell
>>   iProduct                2
>>   iSerial                 0
>>   bNumConfigurations      1
>>   Configuration Descriptor:
>>     bLength                 9
>>     bDescriptorType         2
>>     wTotalLength           34
>>     bNumInterfaces          1
>>     bConfigurationValue     1
>>     iConfiguration          0
>>     bmAttributes         0xa0
>>       (Bus Powered)
>>       Remote Wakeup
>>     MaxPower               70mA
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        0
>>       bAlternateSetting       0
>>       bNumEndpoints           1
>>       bInterfaceClass         3 Human Interface Device
>>       bInterfaceSubClass      1 Boot Interface Subclass
>>       bInterfaceProtocol      1 Keyboard
>>       iInterface              0
>>         HID Device Descriptor:
>>           bLength                 9
>>           bDescriptorType        33
>>           bcdHID               1.10
>>           bCountryCode            0 Not supported
>>           bNumDescriptors         1
>>           bDescriptorType        34 Report
>>           wDescriptorLength      65
>>          Report Descriptors:
>>            ** UNAVAILABLE **
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            3
>>           Transfer Type            Interrupt
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0008  1x 8 bytes
>>         bInterval              24
>> Device Status:     0x0000
>>   (Bus Powered)
>>
>> --
>> Regards,
>> Sarbojit
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at  http://www.tux.org/lkml/
>>
>
>



-- 
Regards,
Sarbojit

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Kernel Oops while disconnecting USB peripheral (always)
  2012-07-23  6:03   ` Sarbojit Ganguly
@ 2012-07-23 14:47     ` Alan Stern
  2012-07-23 14:54       ` Daniel Mack
  2012-07-23 15:04       ` Sarbojit Ganguly
  0 siblings, 2 replies; 15+ messages in thread
From: Alan Stern @ 2012-07-23 14:47 UTC (permalink / raw)
  To: Sarbojit Ganguly
  Cc: Daniel Mack, gregkh, linux-usb, linux-kernel, Takashi Iwai

On Mon, 23 Jul 2012, Sarbojit Ganguly wrote:

> Hello Daniel,
> 
> That is why I provided two stacks,
> 
> 1st one is when I tried to remove the USB hub (which connects a webcam
> + microphone)
> 2nd one is when I tried to remove an USB powered external HDD.
> 
> Just to make sure whether the problem is with USB sound or the USB subsystem.

Do you stop all the programs that are using the USB devices before 
unplugging the hub?  Do you unmount the USB HDD first?

The first crash shows a problem in the snd-usb-audio driver.

The second crash shows a problem in the VFS layer or in ext3, not in 
the USB stack.

Alan Stern


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Kernel Oops while disconnecting USB peripheral (always)
  2012-07-23 14:47     ` Alan Stern
@ 2012-07-23 14:54       ` Daniel Mack
  2012-07-23 15:05         ` Sarbojit Ganguly
  2012-07-28 12:27         ` Bjørn Mork
  2012-07-23 15:04       ` Sarbojit Ganguly
  1 sibling, 2 replies; 15+ messages in thread
From: Daniel Mack @ 2012-07-23 14:54 UTC (permalink / raw)
  To: Alan Stern
  Cc: Sarbojit Ganguly, gregkh, linux-usb, linux-kernel, Takashi Iwai

On 23.07.2012 16:47, Alan Stern wrote:
> On Mon, 23 Jul 2012, Sarbojit Ganguly wrote:
>> That is why I provided two stacks,
>>
>> 1st one is when I tried to remove the USB hub (which connects a webcam
>> + microphone)
>> 2nd one is when I tried to remove an USB powered external HDD.
>>
>> Just to make sure whether the problem is with USB sound or the USB subsystem.
> 
> Do you stop all the programs that are using the USB devices before 
> unplugging the hub?  Do you unmount the USB HDD first?
> 
> The first crash shows a problem in the snd-usb-audio driver.
> 
> The second crash shows a problem in the VFS layer or in ext3, not in 
> the USB stack.

I dare to doubt there are two severe bugs of that kind that are 100%
reproducible. I haven't had a  hotplug crash in any of the two drivers
for a long time, and I use both of them extensively.

I rather assume there's something else failing, probably some host
controller issue that corrupts mempory? Can anyone else reproduce this
maybe?



Daniel


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Kernel Oops while disconnecting USB peripheral (always)
  2012-07-23 14:47     ` Alan Stern
  2012-07-23 14:54       ` Daniel Mack
@ 2012-07-23 15:04       ` Sarbojit Ganguly
  2012-07-23 15:07         ` Daniel Mack
  2012-07-28 11:13         ` Daniel Mack
  1 sibling, 2 replies; 15+ messages in thread
From: Sarbojit Ganguly @ 2012-07-23 15:04 UTC (permalink / raw)
  To: Alan Stern; +Cc: Daniel Mack, gregkh, linux-usb, linux-kernel, Takashi Iwai

On 23 July 2012 20:17, Alan Stern <stern@rowland.harvard.edu> wrote:
> On Mon, 23 Jul 2012, Sarbojit Ganguly wrote:
>
>> Hello Daniel,
>>
>> That is why I provided two stacks,
>>
>> 1st one is when I tried to remove the USB hub (which connects a webcam
>> + microphone)
>> 2nd one is when I tried to remove an USB powered external HDD.
>>
>> Just to make sure whether the problem is with USB sound or the USB subsystem.
>
> Do you stop all the programs that are using the USB devices before
> unplugging the hub?  Do you unmount the USB HDD first?

Yes Alan, I did unmount the HDD

>
> The first crash shows a problem in the snd-usb-audio driver.
>
> The second crash shows a problem in the VFS layer or in ext3, not in
> the USB stack.

Yes the issue is in evict() api which gets called when USB disconnect
is triggered.
>
> Alan Stern
>

Even I was confused in the beginning but after thorough check I
confirmed its presence. I reverted back to my distro's stock kernel
(3.2.0-26-generic) where the issue does not recur.

I could not analysed further (due to my limited knowledge of USB).



-- 
Regards,
Sarbojit

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Kernel Oops while disconnecting USB peripheral (always)
  2012-07-23 14:54       ` Daniel Mack
@ 2012-07-23 15:05         ` Sarbojit Ganguly
  2012-07-28 12:27         ` Bjørn Mork
  1 sibling, 0 replies; 15+ messages in thread
From: Sarbojit Ganguly @ 2012-07-23 15:05 UTC (permalink / raw)
  To: Daniel Mack; +Cc: Alan Stern, gregkh, linux-usb, linux-kernel, Takashi Iwai

On 23 July 2012 20:24, Daniel Mack <zonque@gmail.com> wrote:
> On 23.07.2012 16:47, Alan Stern wrote:
>> On Mon, 23 Jul 2012, Sarbojit Ganguly wrote:
>>> That is why I provided two stacks,
>>>
>>> 1st one is when I tried to remove the USB hub (which connects a webcam
>>> + microphone)
>>> 2nd one is when I tried to remove an USB powered external HDD.
>>>
>>> Just to make sure whether the problem is with USB sound or the USB subsystem.
>>
>> Do you stop all the programs that are using the USB devices before
>> unplugging the hub?  Do you unmount the USB HDD first?
>>
>> The first crash shows a problem in the snd-usb-audio driver.
>>
>> The second crash shows a problem in the VFS layer or in ext3, not in
>> the USB stack.
>
> I dare to doubt there are two severe bugs of that kind that are 100%
> reproducible. I haven't had a  hotplug crash in any of the two drivers
> for a long time, and I use both of them extensively.
>
> I rather assume there's something else failing, probably some host
> controller issue that corrupts mempory? Can anyone else reproduce this
> maybe?
>
>
>
> Daniel
>

I will be happy to provide my .config if that is required. I think
that might help in narrowing down the bug

-- 
Regards,
Sarbojit

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Kernel Oops while disconnecting USB peripheral (always)
  2012-07-23 15:04       ` Sarbojit Ganguly
@ 2012-07-23 15:07         ` Daniel Mack
  2012-07-28 11:13         ` Daniel Mack
  1 sibling, 0 replies; 15+ messages in thread
From: Daniel Mack @ 2012-07-23 15:07 UTC (permalink / raw)
  To: Sarbojit Ganguly
  Cc: Alan Stern, gregkh, linux-usb, linux-kernel, Takashi Iwai

On 23.07.2012 17:04, Sarbojit Ganguly wrote:
> On 23 July 2012 20:17, Alan Stern <stern@rowland.harvard.edu> wrote:

> Yes the issue is in evict() api which gets called when USB disconnect
> is triggered.
>>
>> Alan Stern
>>
> 
> Even I was confused in the beginning but after thorough check I
> confirmed its presence. I reverted back to my distro's stock kernel
> (3.2.0-26-generic) where the issue does not recur.
> 
> I could not analysed further (due to my limited knowledge of USB).

If you could bisect the problem, that would help a lot.


Daniel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Kernel Oops while disconnecting USB peripheral (always)
  2012-07-23 15:04       ` Sarbojit Ganguly
  2012-07-23 15:07         ` Daniel Mack
@ 2012-07-28 11:13         ` Daniel Mack
  1 sibling, 0 replies; 15+ messages in thread
From: Daniel Mack @ 2012-07-28 11:13 UTC (permalink / raw)
  To: Sarbojit Ganguly
  Cc: Alan Stern, gregkh, linux-usb, linux-kernel, Takashi Iwai

On 23.07.2012 17:04, Sarbojit Ganguly wrote:
> On 23 July 2012 20:17, Alan Stern <stern@rowland.harvard.edu> wrote:
>> On Mon, 23 Jul 2012, Sarbojit Ganguly wrote:
>>
>>> Hello Daniel,
>>>
>>> That is why I provided two stacks,
>>>
>>> 1st one is when I tried to remove the USB hub (which connects a webcam
>>> + microphone)
>>> 2nd one is when I tried to remove an USB powered external HDD.
>>>
>>> Just to make sure whether the problem is with USB sound or the USB subsystem.
>>
>> Do you stop all the programs that are using the USB devices before
>> unplugging the hub?  Do you unmount the USB HDD first?
> 
> Yes Alan, I did unmount the HDD
> 
>>
>> The first crash shows a problem in the snd-usb-audio driver.
>>
>> The second crash shows a problem in the VFS layer or in ext3, not in
>> the USB stack.
> 
> Yes the issue is in evict() api which gets called when USB disconnect
> is triggered.
>>
>> Alan Stern
>>
> 
> Even I was confused in the beginning but after thorough check I
> confirmed its presence. I reverted back to my distro's stock kernel
> (3.2.0-26-generic) where the issue does not recur.
> 
> I could not analysed further (due to my limited knowledge of USB).
> 

Did you succeed in bisecting this problem down? From what I can tell,
there hasn't been any similar report on LKML yet. That makes traking the
problem on your machine even more important as you can reproduce it
reliably.


Thanks,
Daniel


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Kernel Oops while disconnecting USB peripheral (always)
  2012-07-23 14:54       ` Daniel Mack
  2012-07-23 15:05         ` Sarbojit Ganguly
@ 2012-07-28 12:27         ` Bjørn Mork
  2012-07-28 12:52           ` Daniel Mack
  1 sibling, 1 reply; 15+ messages in thread
From: Bjørn Mork @ 2012-07-28 12:27 UTC (permalink / raw)
  To: Daniel Mack
  Cc: Alan Stern, Sarbojit Ganguly, gregkh, linux-usb, linux-kernel,
	Takashi Iwai

Daniel Mack <zonque@gmail.com> writes:
> On 23.07.2012 16:47, Alan Stern wrote:
>> On Mon, 23 Jul 2012, Sarbojit Ganguly wrote:
>>> That is why I provided two stacks,
>>>
>>> 1st one is when I tried to remove the USB hub (which connects a webcam
>>> + microphone)
>>> 2nd one is when I tried to remove an USB powered external HDD.
>>>
>>> Just to make sure whether the problem is with USB sound or the USB subsystem.
>> 
>> Do you stop all the programs that are using the USB devices before 
>> unplugging the hub?  Do you unmount the USB HDD first?
>> 
>> The first crash shows a problem in the snd-usb-audio driver.
>> 
>> The second crash shows a problem in the VFS layer or in ext3, not in 
>> the USB stack.
>
> I dare to doubt there are two severe bugs of that kind that are 100%
> reproducible. I haven't had a  hotplug crash in any of the two drivers
> for a long time, and I use both of them extensively.

Actually, based on the recent usb_wwan experience, I'd say that two such
bugs isn't as unlikely as it may seem at first.  Even three if we add
the now fixed usb_wwan (or six, if we count the three drivers affected
by the usb_wwan bug).  There are probably even more.

The reason is this change:

 0998d0631 device-core: Ensure drvdata = NULL when no driver is bound


It will make bugs like this suddenly 100% reproducible.  But the bugs
*are* in the drivers, and may have been there for a long time.  The
drivers have been accessing drvdata after unbinding.  They just didn't
crash prior to that commit.

But the commit is correct, and a very much needed improvement if my
assumptions are correct.  The drivers need fixing and this just makes it
evident.

> I rather assume there's something else failing, probably some host
> controller issue that corrupts mempory? Can anyone else reproduce this
> maybe?

You could of course do like me and bisect, but if you end up with commit
0998d0631 then you haven't really learned more than confirming my guess.


Bjørn

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Kernel Oops while disconnecting USB peripheral (always)
  2012-07-28 12:27         ` Bjørn Mork
@ 2012-07-28 12:52           ` Daniel Mack
  2012-07-28 13:25             ` Bjørn Mork
  2012-07-28 16:19             ` Alan Stern
  0 siblings, 2 replies; 15+ messages in thread
From: Daniel Mack @ 2012-07-28 12:52 UTC (permalink / raw)
  To: Bjørn Mork
  Cc: Alan Stern, Sarbojit Ganguly, gregkh, linux-usb, linux-kernel,
	Takashi Iwai

On 28.07.2012 14:27, Bjørn Mork wrote:
> Daniel Mack <zonque@gmail.com> writes:
>> On 23.07.2012 16:47, Alan Stern wrote:
>>> On Mon, 23 Jul 2012, Sarbojit Ganguly wrote:
>>>> That is why I provided two stacks,
>>>>
>>>> 1st one is when I tried to remove the USB hub (which connects a webcam
>>>> + microphone)
>>>> 2nd one is when I tried to remove an USB powered external HDD.
>>>>
>>>> Just to make sure whether the problem is with USB sound or the USB subsystem.
>>>
>>> Do you stop all the programs that are using the USB devices before 
>>> unplugging the hub?  Do you unmount the USB HDD first?
>>>
>>> The first crash shows a problem in the snd-usb-audio driver.
>>>
>>> The second crash shows a problem in the VFS layer or in ext3, not in 
>>> the USB stack.
>>
>> I dare to doubt there are two severe bugs of that kind that are 100%
>> reproducible. I haven't had a  hotplug crash in any of the two drivers
>> for a long time, and I use both of them extensively.
> 
> Actually, based on the recent usb_wwan experience, I'd say that two such
> bugs isn't as unlikely as it may seem at first.  Even three if we add
> the now fixed usb_wwan (or six, if we count the three drivers affected
> by the usb_wwan bug).  There are probably even more.
> 
> The reason is this change:
> 
>  0998d0631 device-core: Ensure drvdata = NULL when no driver is bound
> 
> 
> It will make bugs like this suddenly 100% reproducible.  But the bugs
> *are* in the drivers, and may have been there for a long time.  The
> drivers have been accessing drvdata after unbinding.  They just didn't
> crash prior to that commit.
> 
> But the commit is correct, and a very much needed improvement if my
> assumptions are correct.  The drivers need fixing and this just makes it
> evident.

Hmm, interesting. Thanks for sharing this. I personally never saw this
bug kicking in, but if I understand your findings correctly, we would
need something like the following patch for snd-usb and the storage driver?

Sarbojit, could you give this a test and see whether your kernel still
crashes in any of the two drivers?


Thanks,
Daniel



diff --git a/sound/usb/card.c b/sound/usb/card.c
index d5b5c33..0e8caaa 100644
--- a/sound/usb/card.c
+++ b/sound/usb/card.c
@@ -555,7 +555,7 @@ static void snd_usb_audio_disconnect(struct
usb_device *dev,
        struct snd_card *card;
        struct list_head *p;

-       if (chip == (void *)-1L)
+       if (chip == (void *)-1L || chip == NULL)
                return;

        card = chip->card;
@@ -610,6 +610,7 @@ static void usb_audio_disconnect(struct
usb_interface *intf)
 {
        snd_usb_audio_disconnect(interface_to_usbdev(intf),
                                 usb_get_intfdata(intf));
+       usb_set_intfdata(intf, NULL);
 }

 #ifdef CONFIG_PM
diff --git a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c
index d012fe4..36862ee 100644
--- a/drivers/usb/storage/usb.c
+++ b/drivers/usb/storage/usb.c
@@ -1025,9 +1025,14 @@ void usb_stor_disconnect(struct usb_interface *intf)
 {
        struct us_data *us = usb_get_intfdata(intf);

+       if (!us)
+               return;
+
        US_DEBUGP("storage_disconnect() called\n");
        quiesce_and_remove_host(us);
        release_everything(us);
+
+       usb_set_intfdata(intf, NULL);
 }
 EXPORT_SYMBOL_GPL(usb_stor_disconnect);



^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: Kernel Oops while disconnecting USB peripheral (always)
  2012-07-28 12:52           ` Daniel Mack
@ 2012-07-28 13:25             ` Bjørn Mork
  2012-07-28 13:30               ` Daniel Mack
  2012-07-28 16:19             ` Alan Stern
  1 sibling, 1 reply; 15+ messages in thread
From: Bjørn Mork @ 2012-07-28 13:25 UTC (permalink / raw)
  To: Daniel Mack
  Cc: Alan Stern, Sarbojit Ganguly, gregkh, linux-usb, linux-kernel,
	Takashi Iwai

Daniel Mack <zonque@gmail.com> writes:
> On 28.07.2012 14:27, Bjørn Mork wrote:
>
>> The reason is this change:
>> 
>>  0998d0631 device-core: Ensure drvdata = NULL when no driver is bound
>> 
>> 
>> It will make bugs like this suddenly 100% reproducible.  But the bugs
>> *are* in the drivers, and may have been there for a long time.  The
>> drivers have been accessing drvdata after unbinding.  They just didn't
>> crash prior to that commit.

I just realized that I might have been concluding too quickly here, as
usual.. 

The crashes referred to in this thread were not NULL pointer
dereferences, which makes it less likely that this change is the
cause. Could of course still be related somehow, but not directly.


>> But the commit is correct, and a very much needed improvement if my
>> assumptions are correct.  The drivers need fixing and this just makes it
>> evident.
>
> Hmm, interesting. Thanks for sharing this. I personally never saw this
> bug kicking in, but if I understand your findings correctly, we would
> need something like the following patch for snd-usb and the storage driver?
>
> Sarbojit, could you give this a test and see whether your kernel still
> crashes in any of the two drivers?
>
>
> Thanks,
> Daniel
>
>
>
> diff --git a/sound/usb/card.c b/sound/usb/card.c
> index d5b5c33..0e8caaa 100644
> --- a/sound/usb/card.c
> +++ b/sound/usb/card.c
> @@ -555,7 +555,7 @@ static void snd_usb_audio_disconnect(struct
> usb_device *dev,
>         struct snd_card *card;
>         struct list_head *p;
>
> -       if (chip == (void *)-1L)
> +       if (chip == (void *)-1L || chip == NULL)
>                 return;

I may be wrong, but I don't think you need this is disconnect.  The
driver will not be unbound until after disconnect returns.

But IMHO, the usage of (void *)-1L as invalid drvdata marker in that
driver should be replaced with NULL.  suspend/resume may also be unsafe
for example.


>         card = chip->card;
> @@ -610,6 +610,7 @@ static void usb_audio_disconnect(struct
> usb_interface *intf)
>  {
>         snd_usb_audio_disconnect(interface_to_usbdev(intf),
>                                  usb_get_intfdata(intf));
> +       usb_set_intfdata(intf, NULL);


This can't harm, but is not necessary given that it now will be taken
care of by the driver core.


>  }
>
>  #ifdef CONFIG_PM
> diff --git a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c
> index d012fe4..36862ee 100644
> --- a/drivers/usb/storage/usb.c
> +++ b/drivers/usb/storage/usb.c
> @@ -1025,9 +1025,14 @@ void usb_stor_disconnect(struct usb_interface *intf)
>  {
>         struct us_data *us = usb_get_intfdata(intf);
>
> +       if (!us)
> +               return;
> +
>         US_DEBUGP("storage_disconnect() called\n");
>         quiesce_and_remove_host(us);
>         release_everything(us);
> +
> +       usb_set_intfdata(intf, NULL);
>  }
>  EXPORT_SYMBOL_GPL(usb_stor_disconnect);


I don't really think you need those changes for the same reasons I gave
above.

Sorry if my comment just confused the search for this bug.  bisecting it
is probably the easiest way to locate it after all.



Bjørn

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Kernel Oops while disconnecting USB peripheral (always)
  2012-07-28 13:25             ` Bjørn Mork
@ 2012-07-28 13:30               ` Daniel Mack
  0 siblings, 0 replies; 15+ messages in thread
From: Daniel Mack @ 2012-07-28 13:30 UTC (permalink / raw)
  To: Bjørn Mork
  Cc: Alan Stern, Sarbojit Ganguly, gregkh, linux-usb, linux-kernel,
	Takashi Iwai

On 28.07.2012 15:25, Bjørn Mork wrote:
> Daniel Mack <zonque@gmail.com> writes:
>> On 28.07.2012 14:27, Bjørn Mork wrote:
>>
>>> The reason is this change:
>>>
>>>  0998d0631 device-core: Ensure drvdata = NULL when no driver is bound
>>>
>>>
>>> It will make bugs like this suddenly 100% reproducible.  But the bugs
>>> *are* in the drivers, and may have been there for a long time.  The
>>> drivers have been accessing drvdata after unbinding.  They just didn't
>>> crash prior to that commit.
> 
> I just realized that I might have been concluding too quickly here, as
> usual.. 
> 
> The crashes referred to in this thread were not NULL pointer
> dereferences, which makes it less likely that this change is the
> cause. Could of course still be related somehow, but not directly.
> 
> 
>>> But the commit is correct, and a very much needed improvement if my
>>> assumptions are correct.  The drivers need fixing and this just makes it
>>> evident.
>>
>> Hmm, interesting. Thanks for sharing this. I personally never saw this
>> bug kicking in, but if I understand your findings correctly, we would
>> need something like the following patch for snd-usb and the storage driver?
>>
>> Sarbojit, could you give this a test and see whether your kernel still
>> crashes in any of the two drivers?
>>
>>
>> Thanks,
>> Daniel
>>
>>
>>
>> diff --git a/sound/usb/card.c b/sound/usb/card.c
>> index d5b5c33..0e8caaa 100644
>> --- a/sound/usb/card.c
>> +++ b/sound/usb/card.c
>> @@ -555,7 +555,7 @@ static void snd_usb_audio_disconnect(struct
>> usb_device *dev,
>>         struct snd_card *card;
>>         struct list_head *p;
>>
>> -       if (chip == (void *)-1L)
>> +       if (chip == (void *)-1L || chip == NULL)
>>                 return;
> 
> I may be wrong, but I don't think you need this is disconnect.  The
> driver will not be unbound until after disconnect returns.

I thought so too, yes. Still, as I don't fully understand the call trace
that is involved across all the driver layers, I thought it might we
worth a try if that fixes it.

> But IMHO, the usage of (void *)-1L as invalid drvdata marker in that
> driver should be replaced with NULL.  suspend/resume may also be unsafe
> for example.

Could be, but Sarbojit reported crashes on disconnect, not on suspend.

> I don't really think you need those changes for the same reasons I gave
> above.
> 
> Sorry if my comment just confused the search for this bug.  bisecting it
> is probably the easiest way to locate it after all.

Yes, definitely.


Thanks, anyway,
Daniel


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Kernel Oops while disconnecting USB peripheral (always)
  2012-07-28 12:52           ` Daniel Mack
  2012-07-28 13:25             ` Bjørn Mork
@ 2012-07-28 16:19             ` Alan Stern
  2012-08-08  3:22               ` Sarbojit Ganguly
  1 sibling, 1 reply; 15+ messages in thread
From: Alan Stern @ 2012-07-28 16:19 UTC (permalink / raw)
  To: Daniel Mack
  Cc: Bjørn Mork, Sarbojit Ganguly, gregkh, linux-usb,
	linux-kernel, Takashi Iwai

On Sat, 28 Jul 2012, Daniel Mack wrote:

> Hmm, interesting. Thanks for sharing this. I personally never saw this
> bug kicking in, but if I understand your findings correctly, we would
> need something like the following patch for snd-usb and the storage driver?
> 
> Sarbojit, could you give this a test and see whether your kernel still
> crashes in any of the two drivers?


> --- a/drivers/usb/storage/usb.c
> +++ b/drivers/usb/storage/usb.c
> @@ -1025,9 +1025,14 @@ void usb_stor_disconnect(struct usb_interface *intf)
>  {
>         struct us_data *us = usb_get_intfdata(intf);
> 
> +       if (!us)
> +               return;

This can never happen.  The disconnect routine gets called only once, 
so us will not be NULL.

> +
>         US_DEBUGP("storage_disconnect() called\n");
>         quiesce_and_remove_host(us);
>         release_everything(us);
> +
> +       usb_set_intfdata(intf, NULL);
>  }
>  EXPORT_SYMBOL_GPL(usb_stor_disconnect);

Alan Stern


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Kernel Oops while disconnecting USB peripheral (always)
  2012-07-28 16:19             ` Alan Stern
@ 2012-08-08  3:22               ` Sarbojit Ganguly
  0 siblings, 0 replies; 15+ messages in thread
From: Sarbojit Ganguly @ 2012-08-08  3:22 UTC (permalink / raw)
  To: Daniel Mack
  Cc: Alan Stern, Bjørn Mork, gregkh, linux-usb, linux-kernel,
	Takashi Iwai

Sorry guys I was away due to personal emergency, however now I am back
and will check the reply ASAP.

On 28 July 2012 21:49, Alan Stern <stern@rowland.harvard.edu> wrote:
> On Sat, 28 Jul 2012, Daniel Mack wrote:
>
>> Hmm, interesting. Thanks for sharing this. I personally never saw this
>> bug kicking in, but if I understand your findings correctly, we would
>> need something like the following patch for snd-usb and the storage driver?
>>
>> Sarbojit, could you give this a test and see whether your kernel still
>> crashes in any of the two drivers?
>
>
>> --- a/drivers/usb/storage/usb.c
>> +++ b/drivers/usb/storage/usb.c
>> @@ -1025,9 +1025,14 @@ void usb_stor_disconnect(struct usb_interface *intf)
>>  {
>>         struct us_data *us = usb_get_intfdata(intf);
>>
>> +       if (!us)
>> +               return;
>
> This can never happen.  The disconnect routine gets called only once,
> so us will not be NULL.
>
>> +
>>         US_DEBUGP("storage_disconnect() called\n");
>>         quiesce_and_remove_host(us);
>>         release_everything(us);
>> +
>> +       usb_set_intfdata(intf, NULL);
>>  }
>>  EXPORT_SYMBOL_GPL(usb_stor_disconnect);
>
> Alan Stern
>



-- 
Regards,
Sarbojit

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-08-08  3:23 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-23  3:42 Kernel Oops while disconnecting USB peripheral (always) Sarbojit Ganguly
2012-07-23  5:50 ` Daniel Mack
2012-07-23  6:03   ` Sarbojit Ganguly
2012-07-23 14:47     ` Alan Stern
2012-07-23 14:54       ` Daniel Mack
2012-07-23 15:05         ` Sarbojit Ganguly
2012-07-28 12:27         ` Bjørn Mork
2012-07-28 12:52           ` Daniel Mack
2012-07-28 13:25             ` Bjørn Mork
2012-07-28 13:30               ` Daniel Mack
2012-07-28 16:19             ` Alan Stern
2012-08-08  3:22               ` Sarbojit Ganguly
2012-07-23 15:04       ` Sarbojit Ganguly
2012-07-23 15:07         ` Daniel Mack
2012-07-28 11:13         ` Daniel Mack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).