* Re: Kernel 3.16.0 USB crash
[not found] <CAKszPguooNOt_o=22sTvxKqa=XX-hzt+6UL1LbAx4TvS35CgCA@mail.gmail.com>
@ 2014-08-04 7:28 ` Claudio Bizzarri
0 siblings, 0 replies; 11+ messages in thread
From: Claudio Bizzarri @ 2014-08-04 7:28 UTC (permalink / raw)
To: linux-kernel
Hi,
Ive installed latest kernel-ppa 3.16.0 version. When I attach my USB
3.0 external drive I've a complete system crash. Here the latest
/var/log/syslog lines before complete lockdown of my computer.
With kernel 3.14.14 it works perfectly. Please tell me how I can help
developer to eliminate this bug.
C
Aug 4 08:50:51 hp850ssd kernel: [ 1059.143641] usb 3-2: new
SuperSpeed USB device number 3 using xhci_hcd
Aug 4 08:50:51 hp850ssd kernel: [ 1059.160151] usb 3-2: New USB
device found, idVendor=152d, idProduct=0567
Aug 4 08:50:51 hp850ssd kernel: [ 1059.160156] usb 3-2: New USB
device strings: Mfr=10, Product=11, SerialNumber=5
Aug 4 08:50:51 hp850ssd kernel: [ 1059.160159] usb 3-2: Product: USB
to ATA/ATAPI Bridge
Aug 4 08:50:51 hp850ssd kernel: [ 1059.160161] usb 3-2: Manufacturer: JMicron
Aug 4 08:50:51 hp850ssd kernel: [ 1059.160163] usb 3-2: SerialNumber:
152D00539000
Aug 4 08:50:51 hp850ssd mtp-probe: checking bus 3, device 3:
"/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2"
Aug 4 08:50:51 hp850ssd mtp-probe: bus: 3, device: 3 was not an MTP device
Aug 4 08:50:51 hp850ssd kernel: [ 1059.677172] usbcore: registered
new interface driver usb-storage
Aug 4 08:50:51 hp850ssd kernel: [ 1059.680316] scsi2 : uas
Aug 4 08:50:51 hp850ssd kernel: [ 1059.680442] usbcore: registered
new interface driver uas
Aug 4 08:50:55 hp850ssd kernel: [ 1063.680229] scsi 2:0:0:0:
Direct-Access JMicron Generic 0100 PQ: 0 ANSI: 6
Aug 4 08:50:55 hp850ssd kernel: [ 1063.683453] sd 2:0:0:0: Attached
scsi generic sg1 type 0
Aug 4 08:50:55 hp850ssd kernel: [ 1063.684084] sd 2:0:0:0: [sdb]
976773168 512-byte logical blocks: (500 GB/465 GiB)
Aug 4 08:50:55 hp850ssd kernel: [ 1063.684091] sd 2:0:0:0: [sdb]
4096-byte physical blocks
Aug 4 08:50:55 hp850ssd kernel: [ 1063.687278] sd 2:0:0:0: [sdb]
Write Protect is off
Aug 4 08:50:55 hp850ssd kernel: [ 1063.687288] sd 2:0:0:0: [sdb] Mode
Sense: 67 00 10 08
Aug 4 08:50:55 hp850ssd kernel: [ 1063.688585] sd 2:0:0:0: [sdb]
Write cache: enabled, read cache: enabled, supports DPO and FUA
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Kernel 3.16.0 USB crash
@ 2014-08-13 20:24 Matt
2014-08-13 21:36 ` Matt
0 siblings, 1 reply; 11+ messages in thread
From: Matt @ 2014-08-13 20:24 UTC (permalink / raw)
To: claudio.bizzarri; +Cc: Linux Kernel
Hi Claudio,
this issue is clearly caused by UAS.
if
zcat /proc/config.gz | grep UAS
# CONFIG_USB_UAS is not set
is de-selected, everything's fine
when this is selected (usb is compiled as a module here)
the system crashes or hardlocks as soon as an USB 3.0 capable drive is
connected.
During bootup the system crashes as soon as the kernel module is loaded.
This happened for me with 3.15.6 and 3.16.0 kernel (and 3.16-rc6).
I've a different chipset but the symptoms are similar:
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset
Family USB xHCI (rev 05)
So the only solution to work with newer kernels right now is to
de-select that option and re-compile the kernel. It doesn't help fix
the problem but at least it mitigates the issues for now (crash).
Regards
Matt
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Kernel 3.16.0 USB crash
2014-08-13 20:24 Kernel 3.16.0 USB crash Matt
@ 2014-08-13 21:36 ` Matt
[not found] ` <CAKszPgvjBE5y35guVRXu7kp3nVZa4KPgh=AezVL-UXq=idRc-Q@mail.gmail.com>
0 siblings, 1 reply; 11+ messages in thread
From: Matt @ 2014-08-13 21:36 UTC (permalink / raw)
To: Claudio Bizzarri; +Cc: kraxel, hdegoede, sarah.a.sharp, Linux Kernel, USB list
On Wed, Aug 13, 2014 at 10:24 PM, Matt <jackdachef@gmail.com> wrote:
> Hi Claudio,
>
> this issue is clearly caused by UAS.
>
> if
>
> zcat /proc/config.gz | grep UAS
> # CONFIG_USB_UAS is not set
>
> is de-selected, everything's fine
>
> when this is selected (usb is compiled as a module here)
>
> the system crashes or hardlocks as soon as an USB 3.0 capable drive is
> connected.
>
> During bootup the system crashes as soon as the kernel module is loaded.
>
> This happened for me with 3.15.6 and 3.16.0 kernel (and 3.16-rc6).
>
> I've a different chipset but the symptoms are similar:
>
> 00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset
> Family USB xHCI (rev 05)
>
>
> So the only solution to work with newer kernels right now is to
> de-select that option and re-compile the kernel. It doesn't help fix
> the problem but at least it mitigates the issues for now (crash).
>
>
> Regards
>
> Matt
Adding some relevant CCs
^ permalink raw reply [flat|nested] 11+ messages in thread
* Fwd: Kernel 3.16.0 USB crash
[not found] ` <CAKszPgvjBE5y35guVRXu7kp3nVZa4KPgh=AezVL-UXq=idRc-Q@mail.gmail.com>
@ 2014-08-14 8:42 ` Claudio Bizzarri
2014-08-14 9:46 ` Hans de Goede
1 sibling, 0 replies; 11+ messages in thread
From: Claudio Bizzarri @ 2014-08-14 8:42 UTC (permalink / raw)
To: Linux Kernel
Ciao,
thank you very much for replay, you are right: it's UAS module. Now
I'm using Ubuntu 14.04 with kernel 3.16.1 from
http://kernel.ubuntu.com/~kernel-ppa/mainline/, there is no
/proc/config.gz, but but there is a config file in /boot:
b0@hp850ssd:~⟫ grep USB_UAS /boot/config-3.16.1-031601-generic
CONFIG_USB_UAS=m
When I attach my external USB disk I've 30 seconds before my laptop
freeze, here is my dmesg output, disk is not mounted:
[ 1508.375855] usb 3-4: new SuperSpeed USB device number 3 using xhci_hcd
[ 1508.392674] usb 3-4: New USB device found, idVendor=152d, idProduct=0567
[ 1508.392683] usb 3-4: New USB device strings: Mfr=10, Product=11,
SerialNumber=5
[ 1508.392688] usb 3-4: Product: USB to ATA/ATAPI Bridge
[ 1508.392692] usb 3-4: Manufacturer: JMicron
[ 1508.392695] usb 3-4: SerialNumber: 152D00539000
[ 1508.912469] usbcore: registered new interface driver usb-storage
[ 1508.916444] scsi2 : uas
[ 1508.916555] usbcore: registered new interface driver uas
[ 1512.916445] scsi 2:0:0:0: Direct-Access JMicron Generic
0100 PQ: 0 ANSI: 6
[ 1512.919131] sd 2:0:0:0: Attached scsi generic sg1 type 0
[ 1512.919704] sd 2:0:0:0: [sdb] 976773168 512-byte logical blocks:
(500 GB/465 GiB)
[ 1512.919707] sd 2:0:0:0: [sdb] 4096-byte physical blocks
[ 1512.922763] sd 2:0:0:0: [sdb] Write Protect is off
[ 1512.922766] sd 2:0:0:0: [sdb] Mode Sense: 67 00 10 08
[ 1512.923950] sd 2:0:0:0: [sdb] Write cache: enabled, read cache:
enabled, supports DPO and FUA
If I remove kernel/drivers/usb/storage/uas.ko there is not a crash,
laptop keep working, disk is not mounted:
[ 1628.808425] usb 3-4: new SuperSpeed USB device number 4 using xhci_hcd
[ 1628.825188] usb 3-4: New USB device found, idVendor=152d, idProduct=0567
[ 1628.825197] usb 3-4: New USB device strings: Mfr=10, Product=11,
SerialNumber=5
[ 1628.825201] usb 3-4: Product: USB to ATA/ATAPI Bridge
[ 1628.825205] usb 3-4: Manufacturer: JMicron
[ 1628.825208] usb 3-4: SerialNumber: 152D00539000
If I use a normal micro USB cable (not USB 3.0 one) I can mount my
disk (with uas module):
[ 2786.654048] usb 2-2: new high-speed USB device number 6 using xhci_hcd
[ 2786.782930] usb 2-2: New USB device found, idVendor=152d, idProduct=0567
[ 2786.782940] usb 2-2: New USB device strings: Mfr=10, Product=11,
SerialNumber=5
[ 2786.782945] usb 2-2: Product: USB to ATA/ATAPI Bridge
[ 2786.782949] usb 2-2: Manufacturer: JMicron
[ 2786.782953] usb 2-2: SerialNumber: 152D00539000
[ 2864.810537] usb 2-2: USB disconnect, device number 6
[ 2868.364551] usb 2-2: new high-speed USB device number 7 using xhci_hcd
[ 2868.493558] usb 2-2: New USB device found, idVendor=152d, idProduct=0567
[ 2868.493564] usb 2-2: New USB device strings: Mfr=10, Product=11,
SerialNumber=5
[ 2868.493566] usb 2-2: Product: USB to ATA/ATAPI Bridge
[ 2868.493568] usb 2-2: Manufacturer: JMicron
[ 2868.493570] usb 2-2: SerialNumber: 152D00539000
[ 2869.018205] scsi4 : uas
[ 2869.018294] usbcore: registered new interface driver uas
[ 2873.017269] scsi 4:0:0:0: Direct-Access JMicron Generic
0100 PQ: 0 ANSI: 6
[ 2873.018577] sd 4:0:0:0: Attached scsi generic sg1 type 0
[ 2873.018665] sd 4:0:0:0: [sdb] 976773168 512-byte logical blocks:
(500 GB/465 GiB)
[ 2873.018670] sd 4:0:0:0: [sdb] 4096-byte physical blocks
[ 2873.019474] sd 4:0:0:0: [sdb] Write Protect is off
[ 2873.019477] sd 4:0:0:0: [sdb] Mode Sense: 67 00 10 08
[ 2873.019796] sd 4:0:0:0: [sdb] Write cache: enabled, read cache:
enabled, supports DPO and FUA
[ 2873.059496] sdb: sdb1
[ 2873.061310] sd 4:0:0:0: [sdb] Attached SCSI disk
I've another USB 3.0 disk (WD Element) and it's works with or without
UAS module with USB 3.0 cable:
[ 2326.896391] usb 3-2: new SuperSpeed USB device number 5 using xhci_hcd
[ 2326.912963] usb 3-2: New USB device found, idVendor=1058, idProduct=1042
[ 2326.912969] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 2326.912972] usb 3-2: Product: Elements 1042
[ 2326.912975] usb 3-2: Manufacturer: Western Digital
[ 2326.912978] usb 3-2: SerialNumber: 575836314333323131343634
[ 2326.913688] usb-storage 3-2:1.0: USB Mass Storage device detected
[ 2326.914463] scsi3 : usb-storage 3-2:1.0
[ 2327.912103] scsi 3:0:0:0: Direct-Access WD Elements 1042
1007 PQ: 0 ANSI: 6
[ 2327.912829] sd 3:0:0:0: Attached scsi generic sg1 type 0
[ 2327.916641] sd 3:0:0:0: [sdb] Spinning up disk...
[ 2328.919251] .......ready
[ 2334.941694] sd 3:0:0:0: [sdb] 1953519616 512-byte logical blocks:
(1.00 TB/931 GiB)
[ 2334.942058] sd 3:0:0:0: [sdb] Write Protect is off
[ 2334.942064] sd 3:0:0:0: [sdb] Mode Sense: 47 00 10 08
[ 2334.942362] sd 3:0:0:0: [sdb] No Caching mode page found
[ 2334.942367] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[ 2334.955994] sdb: sdb1
[ 2334.957392] sd 3:0:0:0: [sdb] Attached SCSI disk
I am available to send logs or to carry out the tests you want to do.
Regards.
Claudio
2014-08-13 23:36 GMT+02:00 Matt <jackdachef@gmail.com>:
> On Wed, Aug 13, 2014 at 10:24 PM, Matt <jackdachef@gmail.com> wrote:
> > Hi Claudio,
> >
> > this issue is clearly caused by UAS.
> >
> > if
> >
> > zcat /proc/config.gz | grep UAS
> > # CONFIG_USB_UAS is not set
> >
> > is de-selected, everything's fine
> >
> > when this is selected (usb is compiled as a module here)
> >
> > the system crashes or hardlocks as soon as an USB 3.0 capable drive is
> > connected.
> >
> > During bootup the system crashes as soon as the kernel module is loaded.
> >
> > This happened for me with 3.15.6 and 3.16.0 kernel (and 3.16-rc6).
> >
> > I've a different chipset but the symptoms are similar:
> >
> > 00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset
> > Family USB xHCI (rev 05)
> >
> >
> > So the only solution to work with newer kernels right now is to
> > de-select that option and re-compile the kernel. It doesn't help fix
> > the problem but at least it mitigates the issues for now (crash).
> >
> >
> > Regards
> >
> > Matt
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Kernel 3.16.0 USB crash
[not found] ` <CAKszPgvjBE5y35guVRXu7kp3nVZa4KPgh=AezVL-UXq=idRc-Q@mail.gmail.com>
2014-08-14 8:42 ` Fwd: " Claudio Bizzarri
@ 2014-08-14 9:46 ` Hans de Goede
2014-08-14 22:07 ` Sarah Sharp
1 sibling, 1 reply; 11+ messages in thread
From: Hans de Goede @ 2014-08-14 9:46 UTC (permalink / raw)
To: Claudio Bizzarri, Matt; +Cc: kraxel, sarah.a.sharp, Linux Kernel, USB list
Hi,
On 08/14/2014 10:39 AM, Claudio Bizzarri wrote:
> Ciao,
>
> thank you very much for replay, you are right: it's UAS module. Now I'm
> using Ubuntu 14.04 with kernel 3.16.1 from
> http://kernel.ubuntu.com/~kernel-ppa/mainline/, there is no /proc/config.gz,
> but but there is a config file in /boot:
>
> b0@hp850ssd:~⟫ grep USB_UAS /boot/config-3.16.1-031601-generic
> CONFIG_USB_UAS=m
>
> When I attach my external USB disk I've 30 seconds before my laptop freeze,
> here is my dmesg output, disk is not mounted:
Hmm, this sounds like a similar problem we've been having with JMicron UAS
bridges over USB-2.
Can you collect "lsusb -v" output for the drive in question when connected
through an usb-3 port (the uas module does not need to be loaded).
Also can you try the following patch, and see if that makes uas work ? :
diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage/uas.c
index 511b229..6cdc1b9 100644
--- a/drivers/usb/storage/uas.c
+++ b/drivers/usb/storage/uas.c
@@ -1033,6 +1033,7 @@ static int uas_configure_endpoints(struct uas_dev_info *devinfo)
3, 256, GFP_NOIO);
if (devinfo->qdepth < 0)
return devinfo->qdepth;
+ devinfo->qdepth = 32;
devinfo->use_streams = 1;
}
This is in essence the fix we've done for using these devices with uas over usb-2,
I would have expected this to not be be necessary at superspeed since there the number
of streams the device supports is part of the usb descriptors, but maybe the device
claims to support more streams then it can actually handle.
Note I'm on vacation next week, so don't expect another reply from me in this thread
for at least a week.
Regards,
Hans
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: Kernel 3.16.0 USB crash
2014-08-14 9:46 ` Hans de Goede
@ 2014-08-14 22:07 ` Sarah Sharp
2014-08-15 7:44 ` Claudio Bizzarri
0 siblings, 1 reply; 11+ messages in thread
From: Sarah Sharp @ 2014-08-14 22:07 UTC (permalink / raw)
To: Hans de Goede
Cc: Claudio Bizzarri, Matt, kraxel, Linux Kernel, USB list,
Nyman, Mathias
Adding Mathias Nyman. He is now the USB 3.0 maintainer.
Sarah Sharp
On Thu, Aug 14, 2014 at 11:46:33AM +0200, Hans de Goede wrote:
> Hi,
>
> On 08/14/2014 10:39 AM, Claudio Bizzarri wrote:
> > Ciao,
> >
> > thank you very much for replay, you are right: it's UAS module. Now I'm
> > using Ubuntu 14.04 with kernel 3.16.1 from
> > http://kernel.ubuntu.com/~kernel-ppa/mainline/, there is no /proc/config.gz,
> > but but there is a config file in /boot:
> >
> > b0@hp850ssd:~⟫ grep USB_UAS /boot/config-3.16.1-031601-generic
> > CONFIG_USB_UAS=m
> >
> > When I attach my external USB disk I've 30 seconds before my laptop freeze,
> > here is my dmesg output, disk is not mounted:
>
> Hmm, this sounds like a similar problem we've been having with JMicron UAS
> bridges over USB-2.
>
> Can you collect "lsusb -v" output for the drive in question when connected
> through an usb-3 port (the uas module does not need to be loaded).
>
> Also can you try the following patch, and see if that makes uas work ? :
>
> diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage/uas.c
> index 511b229..6cdc1b9 100644
> --- a/drivers/usb/storage/uas.c
> +++ b/drivers/usb/storage/uas.c
> @@ -1033,6 +1033,7 @@ static int uas_configure_endpoints(struct uas_dev_info *devinfo)
> 3, 256, GFP_NOIO);
> if (devinfo->qdepth < 0)
> return devinfo->qdepth;
> + devinfo->qdepth = 32;
> devinfo->use_streams = 1;
> }
>
>
> This is in essence the fix we've done for using these devices with uas over usb-2,
> I would have expected this to not be be necessary at superspeed since there the number
> of streams the device supports is part of the usb descriptors, but maybe the device
> claims to support more streams then it can actually handle.
>
> Note I'm on vacation next week, so don't expect another reply from me in this thread
> for at least a week.
>
> Regards,
>
> Hans
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Kernel 3.16.0 USB crash
2014-08-14 22:07 ` Sarah Sharp
@ 2014-08-15 7:44 ` Claudio Bizzarri
2014-08-22 18:26 ` Hans de Goede
0 siblings, 1 reply; 11+ messages in thread
From: Claudio Bizzarri @ 2014-08-15 7:44 UTC (permalink / raw)
To: Hans de Goede, Nyman, Mathias
Cc: Matt, Gerd Hoffmann, Sarah Sharp, Linux Kernel, USB list
[-- Attachment #1: Type: text/plain, Size: 6654 bytes --]
> On Thu, Aug 14, 2014 at 11:46:33AM +0200, Hans de Goede wrote:
>> Hi,
...
>>
>> Can you collect "lsusb -v" output for the drive in question when connected
>> through an usb-3 port (the uas module does not need to be loaded).
Here lsusb output, full text as attachment
Bus 003 Device 003: ID 152d:0567 JMicron Technology Corp. / JMicron
USA Technology Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 9
idVendor 0x152d JMicron Technology Corp. / JMicron USA
Technology Corp.
idProduct 0x0567
bcdDevice 0.00
iManufacturer 10 JMicron
iProduct 11 USB to ATA/ATAPI Bridge
iSerial 5 152D00539000
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 121
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 4
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 98
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 0
Command pipe (0x01)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 0
MaxStreams 32
Status pipe (0x02)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
MaxStreams 32
Data-in pipe (0x03)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
MaxStreams 32
Data-out pipe (0x04)
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 22
bNumDeviceCaps 2
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x00000002
Link Power Management (LPM) Supported
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x000e
Device can operate at Full Speed (12Mbps)
Device can operate at High Speed (480Mbps)
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 1
Lowest fully-functional device speed is Full Speed (12Mbps)
bU1DevExitLat 10 micro seconds
bU2DevExitLat 2047 micro seconds
Device Status: 0x0001
Self Powered
>> Also can you try the following patch, and see if that makes uas work ? :
>>
>> diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage/uas.c
>> index 511b229..6cdc1b9 100644
>> --- a/drivers/usb/storage/uas.c
>> +++ b/drivers/usb/storage/uas.c
>> @@ -1033,6 +1033,7 @@ static int uas_configure_endpoints(struct uas_dev_info *devinfo)
>> 3, 256, GFP_NOIO);
>> if (devinfo->qdepth < 0)
>> return devinfo->qdepth;
>> + devinfo->qdepth = 32;
>> devinfo->use_streams = 1;
>> }
I believe that recompile uas.ko module is a too hard task for me: some
years ago I usually recompile kernel on RedHat distribution, but there
was a srpm package and a simple rpm --rebuild command solved. Now I'm
using a Ubuntu distribution and I believe that recompile a ppa version
of kernel is a "bit" hard.
If I found a simple way to obtain a uas.ka module I'll try your patch.
Regards,
Claudio
--
Ordine degli Ingegneri di Pistoia N.672
Dott. Ing. Claudio Bizzarri
TEL: 05731930260 - FAX: 0245503888
Via Piastre e Prunetta, 88 - 51100 Pistoia
CF: BZZCLD67E05G713C PI: 01330220474
-= www.geebeesystem.com =-
[-- Attachment #2: lsusb.txt --]
[-- Type: text/plain, Size: 69374 bytes --]
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x8087 Intel Corp.
idProduct 0x8000
bcdDevice 0.04
iManufacturer 0
iProduct 0
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 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 12
Hub Descriptor:
bLength 11
bDescriptorType 41
nNbrPorts 8
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 0 * 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.0100 power
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 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.16
iManufacturer 3 Linux 3.16.1-031601-generic ehci_hcd
iProduct 2 EHCI 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 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 3
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x02
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0503 highspeed power enable connect
Port 2: 0000.0100 power
Port 3: 0000.0100 power
Device Status: 0x0001
Self Powered
Bus 003 Device 002: ID 0424:5534 Standard Microsystems Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 3
bMaxPacketSize0 9
idVendor 0x0424 Standard Microsystems Corp.
idProduct 0x5534
bcdDevice 50.00
iManufacturer 2 SMSC
iProduct 3 USB5534B
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 31
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 19
Transfer Type Interrupt
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 8
bMaxBurst 0
Hub Descriptor:
bLength 12
bDescriptorType 42
nNbrPorts 4
wHubCharacteristic 0x000d
Per-port power switching
Compound device
Per-port overcurrent protection
bPwrOn2PwrGood 48 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
bHubDecLat 0.3 micro seconds
wHubDelay 131 nano seconds
DeviceRemovable 0x06
Hub Port Status:
Port 1: 0000.06a0 Unknown Speed power Rx.Detect
Port 2: 0000.06a0 Unknown Speed power Rx.Detect
Port 3: 0000.06a0 Unknown Speed power Rx.Detect
Port 4: 0000.06a0 Unknown Speed power Rx.Detect
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 42
bNumDeviceCaps 3
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x00000002
Link Power Management (LPM) Supported
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x000e
Device can operate at Full Speed (12Mbps)
Device can operate at High Speed (480Mbps)
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 1
Lowest fully-functional device speed is Full Speed (12Mbps)
bU1DevExitLat 10 micro seconds
bU2DevExitLat 231 micro seconds
Container ID Device Capability:
bLength 20
bDescriptorType 16
bDevCapabilityType 4
bReserved 0
ContainerID {736d7363-3578-7878-0000-0045ba360d12}
Device Status: 0x0001
Self Powered
Bus 003 Device 003: ID 152d:0567 JMicron Technology Corp. / JMicron USA Technology Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 9
idVendor 0x152d JMicron Technology Corp. / JMicron USA Technology Corp.
idProduct 0x0567
bcdDevice 0.00
iManufacturer 10 JMicron
iProduct 11 USB to ATA/ATAPI Bridge
iSerial 5 152D00539000
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 121
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 4
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 98
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 0
Command pipe (0x01)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 0
MaxStreams 32
Status pipe (0x02)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
MaxStreams 32
Data-in pipe (0x03)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
MaxStreams 32
Data-out pipe (0x04)
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 22
bNumDeviceCaps 2
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x00000002
Link Power Management (LPM) Supported
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x000e
Device can operate at Full Speed (12Mbps)
Device can operate at High Speed (480Mbps)
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 1
Lowest fully-functional device speed is Full Speed (12Mbps)
bU1DevExitLat 10 micro seconds
bU2DevExitLat 2047 micro seconds
Device Status: 0x0001
Self Powered
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 3
bMaxPacketSize0 9
idVendor 0x1d6b Linux Foundation
idProduct 0x0003 3.0 root hub
bcdDevice 3.16
iManufacturer 3 Linux 3.16.1-031601-generic xhci_hcd
iProduct 2 xHCI Host Controller
iSerial 1 0000:00:14.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 31
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
bMaxBurst 0
Hub Descriptor:
bLength 12
bDescriptorType 42
nNbrPorts 4
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
bHubDecLat 0.0 micro seconds
wHubDelay 0 nano seconds
DeviceRemovable 0x00
Hub Port Status:
Port 1: 0000.02a0 5Gbps power Rx.Detect
Port 2: 0000.0203 5Gbps power U0 enable connect
Port 3: 0000.0203 5Gbps power U0 enable connect
Port 4: 0000.02a0 5Gbps power Rx.Detect
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 15
bNumDeviceCaps 1
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x02
Latency Tolerance Messages (LTM) Supported
wSpeedsSupported 0x0008
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 3
Lowest fully-functional device speed is SuperSpeed (5Gbps)
bU1DevExitLat 10 micro seconds
bU2DevExitLat 512 micro seconds
Device Status: 0x0001
Self Powered
Bus 002 Device 004: ID 04f2:b3ed Chicony Electronics Co., Ltd
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x04f2 Chicony Electronics Co., Ltd
idProduct 0xb3ed
bcdDevice 66.63
iManufacturer 3 Chicony Electronics Co.,Ltd.
iProduct 1 HP HD Webcam
iSerial 2 200901010001
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 1404
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 4 USB Camera
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 HP HD Webcam
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 1 Video Control
bInterfaceProtocol 0
iInterface 5 HP HD 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 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 0x0000000e
Auto-Exposure Mode
Auto-Exposure Priority
Exposure Time (Absolute)
VideoControl Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 5 (PROCESSING_UNIT)
Warning: Descriptor too short
bUnitID 3
bSourceID 1
wMaxMultiplier 0
bControlSize 2
bmControls 0x0000157f
Brightness
Contrast
Hue
Saturation
Sharpness
Gamma
White Balance Temperature
Backlight Compensation
Power Line Frequency
White Balance Temperature, Auto
iProcessing 0
bmVideoStandards 0x1a
NTSC - 525/60
SECAM - 625/50
NTSC - 625/50
VideoControl Interface Descriptor:
bLength 26
bDescriptorType 36
bDescriptorSubtype 6 (EXTENSION_UNIT)
bUnitID 2
guidExtensionCode {97ea26b1-3644-df41-9de4-2dd4647ec193}
bNumControl 1
bNrPins 1
baSourceID( 0) 3
bControlSize 1
bmControls( 0) 0x01
iExtension 0
VideoControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 4
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 5
iTerminal 0
VideoControl Interface Descriptor:
bLength 27
bDescriptorType 36
bDescriptorSubtype 6 (EXTENSION_UNIT)
bUnitID 5
guidExtensionCode {8ca72912-b447-9440-b0ce-db07386fb938}
bNumControl 2
bNrPins 1
baSourceID( 0) 2
bControlSize 2
bmControls( 0) 0x00
bmControls( 1) 0x06
iExtension 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 1141
bEndPointAddress 129
bmInfo 0
bTerminalLink 4
bStillCaptureMethod 2
bTriggerSupport 1
bTriggerUsage 0
bControlSize 1
bmaControls( 0) 27
bmaControls( 1) 27
VideoStreaming Interface Descriptor:
bLength 27
bDescriptorType 36
bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED)
bFormatIndex 1
bNumFrameDescriptors 11
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 46
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 1
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 480
dwMinBitRate 24576000
dwMaxBitRate 147456000
dwMaxVideoFrameBufferSize 614400
dwDefaultFrameInterval 333333
bFrameIntervalType 5
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 1000000
dwFrameInterval( 4) 2000000
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 2
bmCapabilities 0x00
Still image unsupported
wWidth 160
wHeight 120
dwMinBitRate 1536000
dwMaxBitRate 9216000
dwMaxVideoFrameBufferSize 38400
dwDefaultFrameInterval 333333
bFrameIntervalType 5
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 1000000
dwFrameInterval( 4) 2000000
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 3
bmCapabilities 0x00
Still image unsupported
wWidth 176
wHeight 144
dwMinBitRate 2027520
dwMaxBitRate 12165120
dwMaxVideoFrameBufferSize 50688
dwDefaultFrameInterval 333333
bFrameIntervalType 5
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 1000000
dwFrameInterval( 4) 2000000
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 4
bmCapabilities 0x00
Still image unsupported
wWidth 320
wHeight 180
dwMinBitRate 4608000
dwMaxBitRate 27648000
dwMaxVideoFrameBufferSize 115200
dwDefaultFrameInterval 333333
bFrameIntervalType 5
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 1000000
dwFrameInterval( 4) 2000000
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 5
bmCapabilities 0x00
Still image unsupported
wWidth 320
wHeight 240
dwMinBitRate 6144000
dwMaxBitRate 36864000
dwMaxVideoFrameBufferSize 153600
dwDefaultFrameInterval 333333
bFrameIntervalType 5
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 1000000
dwFrameInterval( 4) 2000000
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 6
bmCapabilities 0x00
Still image unsupported
wWidth 352
wHeight 288
dwMinBitRate 8110080
dwMaxBitRate 48660480
dwMaxVideoFrameBufferSize 202752
dwDefaultFrameInterval 333333
bFrameIntervalType 5
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 1000000
dwFrameInterval( 4) 2000000
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 7
bmCapabilities 0x00
Still image unsupported
wWidth 424
wHeight 240
dwMinBitRate 8140800
dwMaxBitRate 48844800
dwMaxVideoFrameBufferSize 203520
dwDefaultFrameInterval 333333
bFrameIntervalType 5
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 1000000
dwFrameInterval( 4) 2000000
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 8
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 360
dwMinBitRate 18432000
dwMaxBitRate 110592000
dwMaxVideoFrameBufferSize 460800
dwDefaultFrameInterval 333333
bFrameIntervalType 5
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 1000000
dwFrameInterval( 4) 2000000
VideoStreaming Interface Descriptor:
bLength 34
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 9
bmCapabilities 0x00
Still image unsupported
wWidth 848
wHeight 480
dwMinBitRate 32563200
dwMaxBitRate 65126400
dwMaxVideoFrameBufferSize 814080
dwDefaultFrameInterval 1000000
bFrameIntervalType 2
dwFrameInterval( 0) 1000000
dwFrameInterval( 1) 2000000
VideoStreaming Interface Descriptor:
bLength 34
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 10
bmCapabilities 0x00
Still image unsupported
wWidth 960
wHeight 540
dwMinBitRate 41472000
dwMaxBitRate 82944000
dwMaxVideoFrameBufferSize 1036800
dwDefaultFrameInterval 1000000
bFrameIntervalType 2
dwFrameInterval( 0) 1000000
dwFrameInterval( 1) 2000000
VideoStreaming Interface Descriptor:
bLength 34
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 11
bmCapabilities 0x00
Still image unsupported
wWidth 1280
wHeight 720
dwMinBitRate 73728000
dwMaxBitRate 147456000
dwMaxVideoFrameBufferSize 1843200
dwDefaultFrameInterval 1000000
bFrameIntervalType 2
dwFrameInterval( 0) 1000000
dwFrameInterval( 1) 2000000
VideoStreaming Interface Descriptor:
bLength 50
bDescriptorType 36
bDescriptorSubtype 3 (STILL_IMAGE_FRAME)
bEndpointAddress 0
bNumImageSizePatterns 11
wWidth( 0) 640
wHeight( 0) 480
wWidth( 1) 160
wHeight( 1) 120
wWidth( 2) 176
wHeight( 2) 144
wWidth( 3) 320
wHeight( 3) 180
wWidth( 4) 320
wHeight( 4) 240
wWidth( 5) 352
wHeight( 5) 288
wWidth( 6) 424
wHeight( 6) 240
wWidth( 7) 640
wHeight( 7) 360
wWidth( 8) 848
wHeight( 8) 480
wWidth( 9) 960
wHeight( 9) 540
wWidth(10) 1280
wHeight(10) 720
bNumCompressionPatterns 11
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))
VideoStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 6 (FORMAT_MJPEG)
bFormatIndex 2
bNumFrameDescriptors 11
bFlags 1
Fixed-size samples: Yes
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 46
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 1
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 480
dwMinBitRate 24576000
dwMaxBitRate 147456000
dwMaxVideoFrameBufferSize 614400
dwDefaultFrameInterval 333333
bFrameIntervalType 5
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 1000000
dwFrameInterval( 4) 2000000
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 2
bmCapabilities 0x00
Still image unsupported
wWidth 160
wHeight 120
dwMinBitRate 1536000
dwMaxBitRate 9216000
dwMaxVideoFrameBufferSize 38400
dwDefaultFrameInterval 333333
bFrameIntervalType 5
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 1000000
dwFrameInterval( 4) 2000000
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 3
bmCapabilities 0x00
Still image unsupported
wWidth 176
wHeight 144
dwMinBitRate 2027520
dwMaxBitRate 12165120
dwMaxVideoFrameBufferSize 50688
dwDefaultFrameInterval 333333
bFrameIntervalType 5
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 1000000
dwFrameInterval( 4) 2000000
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 4
bmCapabilities 0x00
Still image unsupported
wWidth 320
wHeight 180
dwMinBitRate 4608000
dwMaxBitRate 27648000
dwMaxVideoFrameBufferSize 115200
dwDefaultFrameInterval 333333
bFrameIntervalType 5
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 1000000
dwFrameInterval( 4) 2000000
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 5
bmCapabilities 0x00
Still image unsupported
wWidth 320
wHeight 240
dwMinBitRate 6144000
dwMaxBitRate 36864000
dwMaxVideoFrameBufferSize 153600
dwDefaultFrameInterval 333333
bFrameIntervalType 5
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 1000000
dwFrameInterval( 4) 2000000
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 6
bmCapabilities 0x00
Still image unsupported
wWidth 352
wHeight 288
dwMinBitRate 8110080
dwMaxBitRate 48660480
dwMaxVideoFrameBufferSize 202752
dwDefaultFrameInterval 333333
bFrameIntervalType 5
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 1000000
dwFrameInterval( 4) 2000000
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 7
bmCapabilities 0x00
Still image unsupported
wWidth 424
wHeight 240
dwMinBitRate 8140800
dwMaxBitRate 48844800
dwMaxVideoFrameBufferSize 203520
dwDefaultFrameInterval 333333
bFrameIntervalType 5
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 1000000
dwFrameInterval( 4) 2000000
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 8
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 360
dwMinBitRate 18432000
dwMaxBitRate 110592000
dwMaxVideoFrameBufferSize 460800
dwDefaultFrameInterval 333333
bFrameIntervalType 5
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 1000000
dwFrameInterval( 4) 2000000
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 9
bmCapabilities 0x00
Still image unsupported
wWidth 848
wHeight 480
dwMinBitRate 32563200
dwMaxBitRate 195379200
dwMaxVideoFrameBufferSize 814080
dwDefaultFrameInterval 333333
bFrameIntervalType 5
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 1000000
dwFrameInterval( 4) 2000000
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 10
bmCapabilities 0x00
Still image unsupported
wWidth 960
wHeight 540
dwMinBitRate 41472000
dwMaxBitRate 248832000
dwMaxVideoFrameBufferSize 1036800
dwDefaultFrameInterval 333333
bFrameIntervalType 5
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 1000000
dwFrameInterval( 4) 2000000
VideoStreaming Interface Descriptor:
bLength 46
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 11
bmCapabilities 0x00
Still image unsupported
wWidth 1280
wHeight 720
dwMinBitRate 73728000
dwMaxBitRate 442368000
dwMaxVideoFrameBufferSize 1843200
dwDefaultFrameInterval 333333
bFrameIntervalType 5
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 500000
dwFrameInterval( 2) 666666
dwFrameInterval( 3) 1000000
dwFrameInterval( 4) 2000000
VideoStreaming Interface Descriptor:
bLength 50
bDescriptorType 36
bDescriptorSubtype 3 (STILL_IMAGE_FRAME)
bEndpointAddress 0
bNumImageSizePatterns 11
wWidth( 0) 640
wHeight( 0) 480
wWidth( 1) 160
wHeight( 1) 120
wWidth( 2) 176
wHeight( 2) 144
wWidth( 3) 320
wHeight( 3) 180
wWidth( 4) 320
wHeight( 4) 240
wWidth( 5) 352
wHeight( 5) 288
wWidth( 6) 424
wHeight( 6) 240
wWidth( 7) 640
wHeight( 7) 360
wWidth( 8) 848
wHeight( 8) 480
wWidth( 9) 960
wHeight( 9) 540
wWidth(10) 1280
wHeight(10) 720
bNumCompressionPatterns 11
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 0x0200 1x 512 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 0x0400 1x 1024 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 0x0b00 2x 768 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 0x0c00 2x 1024 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 0x1380 3x 896 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 7
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: 0x0000
(Bus Powered)
Bus 002 Device 003: ID 138a:003f Validity Sensors, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 18
bDeviceProtocol 255
bMaxPacketSize0 8
idVendor 0x138a Validity Sensors, Inc.
idProduct 0x003f
bcdDevice 1.04
iManufacturer 0
iProduct 0
iSerial 1 0020bc8aa892
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 46
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 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 4
Device Status: 0x0000
(Bus Powered)
Bus 002 Device 005: ID 8087:07dc Intel Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 224 Wireless
bDeviceSubClass 1 Radio Frequency
bDeviceProtocol 1 Bluetooth
bMaxPacketSize0 64
idVendor 0x8087 Intel Corp.
idProduct 0x07dc
bcdDevice 0.01
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 177
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
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 0x0040 1x 64 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0009 1x 9 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0009 1x 9 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0011 1x 17 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0011 1x 17 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 3
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0019 1x 25 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0019 1x 25 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 4
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0021 1x 33 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0021 1x 33 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 5
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0031 1x 49 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0031 1x 49 bytes
bInterval 1
Device Status: 0x0001
Self Powered
Bus 002 Device 002: ID 0424:2134 Standard Microsystems Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 2 TT per port
bMaxPacketSize0 64
idVendor 0x0424 Standard Microsystems Corp.
idProduct 0x2134
bcdDevice 50.00
iManufacturer 1 SMSC
iProduct 2 USB2134B
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
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 1 Single TT
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
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 2 TT per port
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 0x000d
Per-port power switching
Compound device
Per-port overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 50 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x06
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0103 power enable connect
Port 3: 0000.0100 power
Port 4: 0000.0100 power
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 42
bNumDeviceCaps 3
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x00000002
Link Power Management (LPM) Supported
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x000e
Device can operate at Full Speed (12Mbps)
Device can operate at High Speed (480Mbps)
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 1
Lowest fully-functional device speed is Full Speed (12Mbps)
bU1DevExitLat 10 micro seconds
bU2DevExitLat 231 micro seconds
Container ID Device Capability:
bLength 20
bDescriptorType 16
bDevCapabilityType 4
bReserved 0
ContainerID {736d7363-3578-7878-0000-0045ba360d12}
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 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 3.16
iManufacturer 3 Linux 3.16.1-031601-generic xhci_hcd
iProduct 2 xHCI Host Controller
iSerial 1 0000:00:14.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 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 11
bDescriptorType 41
nNbrPorts 9
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0xe0 0x01
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.0103 power enable connect
Port 6: 0000.0100 power
Port 7: 0000.0503 highspeed power enable connect
Port 8: 0000.0100 power
Port 9: 0000.0100 power
Device Status: 0x0001
Self Powered
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Kernel 3.16.0 USB crash
2014-08-15 7:44 ` Claudio Bizzarri
@ 2014-08-22 18:26 ` Hans de Goede
2014-08-23 7:37 ` Claudio Bizzarri
0 siblings, 1 reply; 11+ messages in thread
From: Hans de Goede @ 2014-08-22 18:26 UTC (permalink / raw)
To: Claudio Bizzarri, Nyman, Mathias
Cc: Matt, Gerd Hoffmann, Sarah Sharp, Linux Kernel, USB list
Hi,
On 08/15/2014 09:44 AM, Claudio Bizzarri wrote:
>> On Thu, Aug 14, 2014 at 11:46:33AM +0200, Hans de Goede wrote:
>>> Hi,
> ...
>>>
>>> Can you collect "lsusb -v" output for the drive in question when connected
>>> through an usb-3 port (the uas module does not need to be loaded).
>
> Here lsusb output, full text as attachment
Thanks.
> Bus 003 Device 003: ID 152d:0567 JMicron Technology Corp. / JMicron
> USA Technology Corp.
> Device Descriptor:
> bLength 18
> bDescriptorType 1
> bcdUSB 3.00
> bDeviceClass 0 (Defined at Interface level)
> bDeviceSubClass 0
> bDeviceProtocol 0
> bMaxPacketSize0 9
> idVendor 0x152d JMicron Technology Corp. / JMicron USA
> Technology Corp.
> idProduct 0x0567
> bcdDevice 0.00
> iManufacturer 10 JMicron
> iProduct 11 USB to ATA/ATAPI Bridge
> iSerial 5 152D00539000
> bNumConfigurations 1
> Configuration Descriptor:
> bLength 9
> bDescriptorType 2
> wTotalLength 121
> bNumInterfaces 1
> bConfigurationValue 1
> iConfiguration 0
> bmAttributes 0xc0
> Self Powered
> MaxPower 2mA
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 0
> bNumEndpoints 2
> bInterfaceClass 8 Mass Storage
> bInterfaceSubClass 6 SCSI
> bInterfaceProtocol 80 Bulk-Only
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x81 EP 1 IN
> bmAttributes 2
> Transfer Type Bulk
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0400 1x 1024 bytes
> bInterval 0
> bMaxBurst 15
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x02 EP 2 OUT
> bmAttributes 2
> Transfer Type Bulk
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0400 1x 1024 bytes
> bInterval 0
> bMaxBurst 15
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 1
> bNumEndpoints 4
> bInterfaceClass 8 Mass Storage
> bInterfaceSubClass 6 SCSI
> bInterfaceProtocol 98
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01 EP 1 OUT
> bmAttributes 2
> Transfer Type Bulk
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0400 1x 1024 bytes
> bInterval 0
> bMaxBurst 0
> Command pipe (0x01)
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82 EP 2 IN
> bmAttributes 2
> Transfer Type Bulk
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0400 1x 1024 bytes
> bInterval 0
> bMaxBurst 0
> MaxStreams 32
32, ok that is the amount which we know jmicron chips
can handle over usb-2, so one would expect that
having 32 outstanding commands will work when connected
over usb-3 too.
> Status pipe (0x02)
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x83 EP 3 IN
> bmAttributes 2
> Transfer Type Bulk
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0400 1x 1024 bytes
> bInterval 0
> bMaxBurst 15
> MaxStreams 32
> Data-in pipe (0x03)
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x04 EP 4 OUT
> bmAttributes 2
> Transfer Type Bulk
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0400 1x 1024 bytes
> bInterval 0
> bMaxBurst 15
> MaxStreams 32
> Data-out pipe (0x04)
> Binary Object Store Descriptor:
> bLength 5
> bDescriptorType 15
> wTotalLength 22
> bNumDeviceCaps 2
> USB 2.0 Extension Device Capability:
> bLength 7
> bDescriptorType 16
> bDevCapabilityType 2
> bmAttributes 0x00000002
> Link Power Management (LPM) Supported
> SuperSpeed USB Device Capability:
> bLength 10
> bDescriptorType 16
> bDevCapabilityType 3
> bmAttributes 0x00
> wSpeedsSupported 0x000e
> Device can operate at Full Speed (12Mbps)
> Device can operate at High Speed (480Mbps)
> Device can operate at SuperSpeed (5Gbps)
> bFunctionalitySupport 1
> Lowest fully-functional device speed is Full Speed (12Mbps)
> bU1DevExitLat 10 micro seconds
> bU2DevExitLat 2047 micro seconds
> Device Status: 0x0001
> Self Powered
>
>>> Also can you try the following patch, and see if that makes uas work ? :
>>>
>>> diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage/uas.c
>>> index 511b229..6cdc1b9 100644
>>> --- a/drivers/usb/storage/uas.c
>>> +++ b/drivers/usb/storage/uas.c
>>> @@ -1033,6 +1033,7 @@ static int uas_configure_endpoints(struct uas_dev_info *devinfo)
>>> 3, 256, GFP_NOIO);
>>> if (devinfo->qdepth < 0)
>>> return devinfo->qdepth;
>>> + devinfo->qdepth = 32;
>>> devinfo->use_streams = 1;
>>> }
>
> I believe that recompile uas.ko module is a too hard task for me: some
> years ago I usually recompile kernel on RedHat distribution, but there
> was a srpm package and a simple rpm --rebuild command solved. Now I'm
> using a Ubuntu distribution and I believe that recompile a ppa version
> of kernel is a "bit" hard.
>
> If I found a simple way to obtain a uas.ka module I'll try your patch.
There is no need to try my patch, since the descriptors already limit
qdepth to 32. No idea what is going on here then.
Regards,
Hans
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Kernel 3.16.0 USB crash
2014-08-22 18:26 ` Hans de Goede
@ 2014-08-23 7:37 ` Claudio Bizzarri
2014-08-23 10:07 ` Claudio Bizzarri
0 siblings, 1 reply; 11+ messages in thread
From: Claudio Bizzarri @ 2014-08-23 7:37 UTC (permalink / raw)
To: Hans de Goede
Cc: Nyman, Mathias, Matt, Gerd Hoffmann, Sarah Sharp, Linux Kernel,
USB list
Ok, thank you Hans.
When I connect my external USB disk I've 30 seconds before my laptop
freezes: with top command I cannot view nothing: no abnormal cpu
usage, no any strange memory usage.
If I remove disk before 30 seconds my HP EliteBook 850G1 keeps working
as usual. Can I use these 30 seconds to extract some informations that
help to determine what's the problem? How?
/var/log/syslog and dmesg haven't any messages.
System lock is complete: also key CAPS LOCK does not work anymore.
I've tried without X: when computer locks 3 lines appear on console
that are not registered on syslog, I've copied them on paper.
[ 1200.352042] IP: [<ffffffff8179393f>] _raw_spin_lock_irqsave+ 0x01f/0x060
[ 1200.352045] PGD 0
[ 1200.352048] Oops: 0002 [#1] SMP
Ciao,
Claudio
2014-08-22 20:26 GMT+02:00 Hans de Goede <hdegoede@redhat.com>:
>...
> There is no need to try my patch, since the descriptors already limit
> qdepth to 32. No idea what is going on here then.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Kernel 3.16.0 USB crash
2014-08-23 7:37 ` Claudio Bizzarri
@ 2014-08-23 10:07 ` Claudio Bizzarri
2014-09-09 6:47 ` Claudio Bizzarri
0 siblings, 1 reply; 11+ messages in thread
From: Claudio Bizzarri @ 2014-08-23 10:07 UTC (permalink / raw)
To: Hans de Goede
Cc: Nyman, Mathias, Matt, Gerd Hoffmann, Sarah Sharp, Linux Kernel,
USB list
I must make a correction to what I said earlier: on kernel 3.16.1 if I
use a normal micro USB cable (not USB 3.0 one) I can mount my disk
(with uas module) BUT it not works properly. My computer does not
freeze but I obtain same kernel error
Aug 23 12:03:42 hp850ssd kernel: [ 49.041091] usb 2-3.4: New USB
device found, idVendor=152d, idProduct=0567
Aug 23 12:03:42 hp850ssd kernel: [ 49.041095] usb 2-3.4: New USB
device strings: Mfr=10, Product=11, SerialNumber=5
Aug 23 12:03:42 hp850ssd kernel: [ 49.041098] usb 2-3.4: Product:
USB to ATA/ATAPI Bridge
Aug 23 12:03:42 hp850ssd kernel: [ 49.041099] usb 2-3.4: Manufacturer: JMicron
Aug 23 12:03:42 hp850ssd kernel: [ 49.041101] usb 2-3.4:
SerialNumber: 152D00539000
Aug 23 12:03:43 hp850ssd kernel: [ 49.562449] usbcore: registered
new interface driver usb-storage
Aug 23 12:03:43 hp850ssd kernel: [ 49.567258] scsi2 : uas
Aug 23 12:03:43 hp850ssd kernel: [ 49.567591] usbcore: registered
new interface driver uas
Aug 23 12:03:47 hp850ssd kernel: [ 53.566515] scsi 2:0:0:0:
Direct-Access JMicron Generic 0100 PQ: 0 ANSI: 6
Aug 23 12:03:47 hp850ssd kernel: [ 53.567449] sd 2:0:0:0: Attached
scsi generic sg1 type 0
Aug 23 12:03:47 hp850ssd kernel: [ 53.567544] sd 2:0:0:0: [sdb]
976773168 512-byte logical blocks: (500 GB/465 GiB)
Aug 23 12:03:47 hp850ssd kernel: [ 53.567547] sd 2:0:0:0: [sdb]
4096-byte physical blocks
Aug 23 12:03:47 hp850ssd kernel: [ 53.568326] sd 2:0:0:0: [sdb]
Write Protect is off
Aug 23 12:03:47 hp850ssd kernel: [ 53.568329] sd 2:0:0:0: [sdb] Mode
Sense: 67 00 10 08
Aug 23 12:03:47 hp850ssd kernel: [ 53.568662] sd 2:0:0:0: [sdb]
Write cache: enabled, read cache: enabled, supports DPO and FUA
Aug 23 12:03:47 hp850ssd kernel: [ 53.613054] sdb: sdb1
Aug 23 12:03:47 hp850ssd kernel: [ 53.614845] sd 2:0:0:0: [sdb]
Attached SCSI disk
Aug 23 12:03:47 hp850ssd udisksd[3189]: Mounted /dev/sdb1 at
/media/b0/HP850G1-external on behalf of uid 1000
Aug 23 12:03:47 hp850ssd kernel: [ 53.868635] EXT4-fs (sdb1):
recovery complete
Aug 23 12:03:47 hp850ssd kernel: [ 53.868640] EXT4-fs (sdb1):
mounted filesystem with ordered data mode. Opts: (null)
Aug 23 12:04:18 hp850ssd kernel: [ 84.793627] sd 2:0:0:0: [sdb]
uas_eh_abort_handler ffff88023c242900 tag 32, inflight: CMD
Aug 23 12:04:21 hp850ssd kernel: [ 87.790971] scsi host2:
uas_eh_task_mgmt: ABORT TASK timed out
Aug 23 12:05:08 hp850ssd kernel: [ 134.726718] BUG: unable to handle
kernel paging request at 0000000008e809a6
Aug 23 12:05:08 hp850ssd kernel: [ 134.726750] IP:
[<ffffffffc09fa155>] uas_log_cmd_state+0x35/0x340 [uas]
Aug 23 12:05:08 hp850ssd kernel: [ 134.726776] PGD 0
Aug 23 12:05:08 hp850ssd kernel: [ 134.726785] Oops: 0000 [#1] SMP
Aug 23 12:05:08 hp850ssd kernel: [ 134.726800] Modules linked in: uas
usb_storage hid_generic hidp hid nvram vmnet(OE) parport_pc
vmw_vsock_vmci_transport vsock vmw_vmci vmmon(OE) ctr ccm btusb
uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common
videodev media joydev arc4 intel_rapl x86_pkg_temp_thermal
intel_powerclamp coretemp kvm_intel kvm hp_wmi crct10dif_pclmul
sparse_keymap crc32_pclmul rfcomm bnep ghash_clmulni_intel aesni_intel
bluetooth 6lowpan_iphc aes_x86_64 lrw gf128mul glue_helper ablk_helper
iwlmvm cryptd mac80211 snd_seq_midi snd_hda_codec_idt
snd_seq_midi_event snd_hda_codec_generic serio_raw snd_hda_codec_hdmi
radeon i915 iwlwifi snd_hda_intel wmi snd_hda_controller snd_rawmidi
snd_hda_codec snd_seq snd_hwdep snd_seq_device hp_wireless ttm lpc_ich
intel_smartconnect drm_kms_helper hp_accel drm snd_pcm video
i2c_algo_bit lis3lv02d input_polldev tpm_infineon rtsx_pci_ms memstick
snd_timer cfg80211 snd soundcore mei_me binfmt_misc mac_hid mei ppdev
lp parport rtsx_pci_sdmmc psmouse e1000e ahci ptp rtsx_pci libahci
pps_core [last unloaded: vmnet]
Aug 23 12:05:08 hp850ssd kernel: [ 134.727231] CPU: 3 PID: 5010 Comm:
scsi_eh_2 Tainted: G W OE 3.16.1-031601-generic #201408140014
Aug 23 12:05:08 hp850ssd kernel: [ 134.727264] Hardware name:
Hewlett-Packard HP EliteBook 850 G1/198F, BIOS L71 Ver. 01.12
06/25/2014
Aug 23 12:05:08 hp850ssd kernel: [ 134.727295] task: ffff8801f3a40a20
ti: ffff880096964000 task.ti: ffff880096964000
Aug 23 12:05:08 hp850ssd kernel: [ 134.727321] RIP:
0010:[<ffffffffc09fa155>] [<ffffffffc09fa155>]
uas_log_cmd_state+0x35/0x340 [uas]
Aug 23 12:05:08 hp850ssd kernel: [ 134.727354] RSP:
0018:ffff880096967b98 EFLAGS: 00010082
Aug 23 12:05:08 hp850ssd kernel: [ 134.727373] RAX: ffff88024a41e850
RBX: ffff88024a41e830 RCX: ffffffffc09fe720
Aug 23 12:05:08 hp850ssd kernel: [ 134.727398] RDX: 000000004a41e828
RSI: ffffffffc09fe720 RDI: ffff88024a41e718
Aug 23 12:05:08 hp850ssd kernel: [ 134.727422] RBP: ffff880096967c88
R08: 000000000000000a R09: 0000000000000490
Aug 23 12:05:08 hp850ssd kernel: [ 134.727446] R10: 0000000000000000
R11: 000000000000048f R12: ffff88024a41e730
Aug 23 12:05:08 hp850ssd kernel: [ 134.727471] R13: 0000000000000008
R14: ffff88024a41e818 R15: 0000000008e808e6
Aug 23 12:05:08 hp850ssd kernel: [ 134.727496] FS:
0000000000000000(0000) GS:ffff88024aac0000(0000)
knlGS:0000000000000000
Aug 23 12:05:08 hp850ssd kernel: [ 134.727523] CS: 0010 DS: 0000 ES:
0000 CR0: 0000000080050033
Aug 23 12:05:08 hp850ssd kernel: [ 134.727543] CR2: 0000000008e809a6
CR3: 0000000001c12000 CR4: 00000000001407e0
Aug 23 12:05:08 hp850ssd kernel: [ 134.727568] DR0: 0000000000000000
DR1: 0000000000000000 DR2: 0000000000000000
Aug 23 12:05:08 hp850ssd kernel: [ 134.727593] DR3: 0000000000000000
DR6: 00000000fffe0ff0 DR7: 0000000000000400
Aug 23 12:05:08 hp850ssd kernel: [ 134.727617] Stack:
Aug 23 12:05:08 hp850ssd kernel: [ 134.727624] ffff880096967bf8
0000000000000000 000000000000009e ffffffffc09fe2f8
Aug 23 12:05:08 hp850ssd kernel: [ 134.727654] 0000000000000009
ffffffffc09fa67a ffff880096967c28 ffffffff8177a82d
Aug 23 12:05:08 hp850ssd kernel: [ 134.727684] 000000000000009e
ffffffff00000010 ffff880096967c38 ffff880096967bf8
Aug 23 12:05:08 hp850ssd kernel: [ 134.727714] Call Trace:
Aug 23 12:05:08 hp850ssd kernel: [ 134.727725] [<ffffffffc09fa67a>]
? uas_mark_cmd_dead+0xda/0xf0 [uas]
Aug 23 12:05:08 hp850ssd kernel: [ 134.727750] [<ffffffff8177a82d>]
? printk+0x61/0x63
Aug 23 12:05:08 hp850ssd kernel: [ 134.727769] [<ffffffff8107208f>]
? warn_slowpath_common+0x9f/0xc0
Aug 23 12:05:08 hp850ssd kernel: [ 134.727792] [<ffffffffc09fa5d1>]
uas_mark_cmd_dead+0x31/0xf0 [uas]
Aug 23 12:05:08 hp850ssd kernel: [ 134.727815] [<ffffffffc09fa704>]
uas_abort_inflight+0x74/0xb0 [uas]
Aug 23 12:05:08 hp850ssd kernel: [ 134.727839] [<ffffffffc09fb154>]
uas_eh_bus_reset_handler+0x84/0x160 [uas]
Aug 23 12:05:08 hp850ssd kernel: [ 134.727864] [<ffffffff81512f23>]
scsi_try_bus_reset+0x53/0x110
Aug 23 12:05:08 hp850ssd kernel: [ 134.727886] [<ffffffff81515047>]
scsi_eh_bus_reset+0xf7/0x270
Aug 23 12:05:08 hp850ssd kernel: [ 134.727908] [<ffffffff81515b02>]
scsi_eh_ready_devs+0x72/0xa0
Aug 23 12:05:08 hp850ssd kernel: [ 134.727930] [<ffffffff81516afd>]
scsi_unjam_host+0x10d/0x1f0
Aug 23 12:05:08 hp850ssd kernel: [ 134.727952] [<ffffffff81516d45>]
scsi_error_handler+0x165/0x1d0
Aug 23 12:05:08 hp850ssd kernel: [ 134.727974] [<ffffffff81516be0>]
? scsi_unjam_host+0x1f0/0x1f0
Aug 23 12:05:08 hp850ssd kernel: [ 134.727996] [<ffffffff81096479>]
kthread+0xc9/0xe0
Aug 23 12:05:08 hp850ssd kernel: [ 134.728015] [<ffffffff810963b0>]
? flush_kthread_worker+0xb0/0xb0
Aug 23 12:05:08 hp850ssd kernel: [ 134.728038] [<ffffffff81793efc>]
ret_from_fork+0x7c/0xb0
Aug 23 12:05:08 hp850ssd kernel: [ 134.728058] [<ffffffff810963b0>]
? flush_kthread_worker+0xb0/0xb0
Aug 23 12:05:08 hp850ssd kernel: [ 134.728079] Code: 81 ec f0 00 00
00 48 89 5d d8 4c 89 65 e0 4c 89 6d e8 4c 89 75 f0 4c 89 7d f8 4c 8b
bf 00 01 00 00 48 89 75 a0 8b 97 18 01 00 00 <49> 8b 87 c0 00 00 00 48
85 c0 48 89 45 c8 48 c7 c0 2a e0 9f c0
Aug 23 12:05:08 hp850ssd kernel: [ 134.728215] RIP
[<ffffffffc09fa155>] uas_log_cmd_state+0x35/0x340 [uas]
Aug 23 12:05:08 hp850ssd kernel: [ 134.728241] RSP <ffff880096967b98>
Aug 23 12:05:08 hp850ssd kernel: [ 134.728264] CR2: 0000000008e809a6
Aug 23 12:05:08 hp850ssd kernel: [ 134.734092] ---[ end trace
4bfad36e9bbe6ec8 ]---
2014-08-23 9:37 GMT+02:00 Claudio Bizzarri <claudio.bizzarri@gmail.com>:
> Ok, thank you Hans.
>
> When I connect my external USB disk I've 30 seconds before my laptop
> freezes: with top command I cannot view nothing: no abnormal cpu
> usage, no any strange memory usage.
> If I remove disk before 30 seconds my HP EliteBook 850G1 keeps working
> as usual. Can I use these 30 seconds to extract some informations that
> help to determine what's the problem? How?
> /var/log/syslog and dmesg haven't any messages.
>
> System lock is complete: also key CAPS LOCK does not work anymore.
>
> I've tried without X: when computer locks 3 lines appear on console
> that are not registered on syslog, I've copied them on paper.
>
> [ 1200.352042] IP: [<ffffffff8179393f>] _raw_spin_lock_irqsave+ 0x01f/0x060
> [ 1200.352045] PGD 0
> [ 1200.352048] Oops: 0002 [#1] SMP
>
> Ciao,
> Claudio
>
> 2014-08-22 20:26 GMT+02:00 Hans de Goede <hdegoede@redhat.com>:
>>...
>> There is no need to try my patch, since the descriptors already limit
>> qdepth to 32. No idea what is going on here then.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Kernel 3.16.0 USB crash
2014-08-23 10:07 ` Claudio Bizzarri
@ 2014-09-09 6:47 ` Claudio Bizzarri
0 siblings, 0 replies; 11+ messages in thread
From: Claudio Bizzarri @ 2014-09-09 6:47 UTC (permalink / raw)
To: Hans de Goede
Cc: Nyman, Mathias, Matt, Gerd Hoffmann, Sarah Sharp, Linux Kernel,
USB list
Hi to all,
I've installed new 3.16.2 kernel, and now:
- if I use an USB 3.0 cable I've same crash as said using 3.16.1 version;
- if I use an USB 2.0 cable works, I've made a complete backup without
any problem.
As told, tell me if I can help your works to determine how to resolve this bug.
Ciao
Claudio
2014-08-23 12:07 GMT+02:00 Claudio Bizzarri <claudio.bizzarri@gmail.com>:
>
> I must make a correction to what I said earlier: on kernel 3.16.1 if I
> use a normal micro USB cable (not USB 3.0 one) ...
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2014-09-09 6:48 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-13 20:24 Kernel 3.16.0 USB crash Matt
2014-08-13 21:36 ` Matt
[not found] ` <CAKszPgvjBE5y35guVRXu7kp3nVZa4KPgh=AezVL-UXq=idRc-Q@mail.gmail.com>
2014-08-14 8:42 ` Fwd: " Claudio Bizzarri
2014-08-14 9:46 ` Hans de Goede
2014-08-14 22:07 ` Sarah Sharp
2014-08-15 7:44 ` Claudio Bizzarri
2014-08-22 18:26 ` Hans de Goede
2014-08-23 7:37 ` Claudio Bizzarri
2014-08-23 10:07 ` Claudio Bizzarri
2014-09-09 6:47 ` Claudio Bizzarri
[not found] <CAKszPguooNOt_o=22sTvxKqa=XX-hzt+6UL1LbAx4TvS35CgCA@mail.gmail.com>
2014-08-04 7:28 ` Claudio Bizzarri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox