android_kernel_xiaomi_sm8350/drivers/usb
Paul Walmsley a78d702bee usb quirks: Add Canon EOS 5D (PC Connection mode) to the autosuspend blacklist
Recent versions of the Linux kernel auto-suspend attached USB devices.
After this happens to the Canon EOS 5D camera, the camera's interrupt endpoints
don't seem to wake back up correctly, causing further use with libgphoto2
to fail with a -114 "OS error in camera communication" error.

A similar fix is probably necessary for this camera in PTP mode, which
identifies as USB product id 0x3102, but we haven't tested this.

As part of our testing process, we tried the USB_QUIRK_RESET_RESUME
quirk also, it's not helpful in this case.

Signed-off-by: Raj Kumar <rkumar@archive.org>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-08-22 14:28:01 -07:00
..
atm UEAGLE: Remove sysfs files on error case 2007-08-22 14:28:00 -07:00
class USB: cdc-acm: fix sysfs attribute registration bug 2007-08-22 14:27:43 -07:00
core usb quirks: Add Canon EOS 5D (PC Connection mode) to the autosuspend blacklist 2007-08-22 14:28:01 -07:00
gadget USB: fsl_usb2_udc: fix bug in processing setup requests 2007-08-22 14:28:00 -07:00
host USB: make EHCI initialize properly on PPC SOCs 2007-08-22 14:28:01 -07:00
image USB: image: microtek: clean up urb->status usage 2007-07-19 17:46:06 -07:00
misc Merge branch 'for-linus' of git://git.o-hand.com/linux-rpurdie-backlight 2007-07-22 11:19:46 -07:00
mon mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
serial USB: Adding support for HTC Smartphones to ipaq 2007-08-22 14:27:54 -07:00
storage usb-storage: fix bugs in the disconnect pathway 2007-08-22 14:27:52 -07:00
Kconfig usb: Enable hcd support on SH unconditionally. 2007-08-22 14:27:45 -07:00
Makefile USB: devices misc: Trivial patch to build the IOWARRIOR when it is selected in Kconfig 2007-07-30 13:27:43 -07:00
README
usb-skeleton.c USB: usb-skeleton: use anchors in pre/post reset 2007-07-12 16:34:37 -07:00

To understand all the Linux-USB framework, you'll use these resources:

    * This source code.  This is necessarily an evolving work, and
      includes kerneldoc that should help you get a current overview.
      ("make pdfdocs", and then look at "usb.pdf" for host side and
      "gadget.pdf" for peripheral side.)  Also, Documentation/usb has
      more information.

    * The USB 2.0 specification (from www.usb.org), with supplements
      such as those for USB OTG and the various device classes.
      The USB specification has a good overview chapter, and USB
      peripherals conform to the widely known "Chapter 9".

    * Chip specifications for USB controllers.  Examples include
      host controllers (on PCs, servers, and more); peripheral
      controllers (in devices with Linux firmware, like printers or
      cell phones); and hard-wired peripherals like Ethernet adapters.

    * Specifications for other protocols implemented by USB peripheral
      functions.  Some are vendor-specific; others are vendor-neutral
      but just standardized outside of the www.usb.org team.

Here is a list of what each subdirectory here is, and what is contained in
them.

core/		- This is for the core USB host code, including the
		  usbfs files and the hub class driver ("khubd").

host/		- This is for USB host controller drivers.  This
		  includes UHCI, OHCI, EHCI, and others that might
		  be used with more specialized "embedded" systems.

gadget/		- This is for USB peripheral controller drivers and
		  the various gadget drivers which talk to them.


Individual USB driver directories.  A new driver should be added to the
first subdirectory in the list below that it fits into.

image/		- This is for still image drivers, like scanners or
		  digital cameras.
input/		- This is for any driver that uses the input subsystem,
		  like keyboard, mice, touchscreens, tablets, etc.
media/		- This is for multimedia drivers, like video cameras,
		  radios, and any other drivers that talk to the v4l
		  subsystem.
net/		- This is for network drivers.
serial/		- This is for USB to serial drivers.
storage/	- This is for USB mass-storage drivers.
class/		- This is for all USB device drivers that do not fit
		  into any of the above categories, and work for a range
		  of USB Class specified devices. 
misc/		- This is for all USB device drivers that do not fit
		  into any of the above categories.