Re: Canon DSLR unhappy on USB 3.0 port (OK on 2.0)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2012-06-07 at 08:59 -0700, Sarah Sharp wrote:
> Can you please post the output of `sudo lsusb -v -d 04a9:3215`?  


Bus 003 Device 003: ID 04a9:3215 Canon, Inc. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x04a9 Canon, Inc.
  idProduct          0x3215 
  bcdDevice            0.02
  iManufacturer           1 Canon Inc.
  iProduct                2 Canon Digital Camera
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         6 Imaging
      bInterfaceSubClass      1 Still Image Capture
      bInterfaceProtocol      1 Picture Transfer Protocol (PIMA 15470)
      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     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 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              10
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered


[Note that I get "rounding interval" messages with pretty much anything
I attach to a USB 3.0 port (mouse, 3G modem -- also not *entirely* happy
on USB 3.0, but probably another story), but they work fine so I
generally ignore it.]

> I need a usbmon log of the failed and successful gphoto2 runs, dmesg
> with CONFIG_USB_XHCI_HCD_DEBUGGING and CONFIG_USB_DEBUG turned on, and
> the usbfs_snoop log.  Please send in plain text, or if that's too big,
> then send a zip file.
 
Right, I *think* I've captured this stuff, but as it's 1MB I've included
it in the attached zip file. I built a kernel with those options
enabled, enabled usbfs_snoop, and ran usbmon according to the kernel
docs (on 3u). The files and actions I took are:

 01 - dmesg taken before attaching the camera
 02 - dmesg having just attached & started the camera

I then ran gphoto2 -L twice, it failed in both cases, giving

 03 - the usbmon output for the first failed gphoto2 sessions

Then turned the camera off, too another dmesg:

 04 - dmesg after the camera was turned off.

Tried again, this time running gphoto2 quickly a number of times after
attaching. 

 05 - usbmon output featuring the successful runs

Finally switched off the camera.

 06 - dmesg after unplugging.

Hope this includes all you need.

I am willing to test patches.

Thanks,
James.

<<attachment: 60d-on-usb3-debug.zip>>


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux