~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-bus-pci-drivers-ehci_hcd

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 What:           /sys/bus/pci/drivers/ehci_hcd/.../companion
  2                 /sys/bus/usb/devices/usbN/../companion
  3 Date:           January 2007
  4 KernelVersion:  2.6.21
  5 Contact:        Alan Stern <stern@rowland.harvard.edu>
  6 Description:
  7                 PCI-based EHCI USB controllers (i.e., high-speed USB-2.0
  8                 controllers) are often implemented along with a set of
  9                 "companion" full/low-speed USB-1.1 controllers.  When a
 10                 high-speed device is plugged in, the connection is routed
 11                 to the EHCI controller; when a full- or low-speed device
 12                 is plugged in, the connection is routed to the companion
 13                 controller.
 14 
 15                 Sometimes you want to force a high-speed device to connect
 16                 at full speed, which can be accomplished by forcing the
 17                 connection to be routed to the companion controller.
 18                 That's what this file does.  Writing a port number to the
 19                 file causes connections on that port to be routed to the
 20                 companion controller, and writing the negative of a port
 21                 number returns the port to normal operation.
 22 
 23                 For example: To force the high-speed device attached to
 24                 port 4 on bus 2 to run at full speed::
 25 
 26                         echo 4 >/sys/bus/usb/devices/usb2/../companion
 27 
 28                 To return the port to high-speed operation::
 29 
 30                         echo -4 >/sys/bus/usb/devices/usb2/../companion
 31 
 32                 Reading the file gives the list of ports currently forced
 33                 to the companion controller.
 34 
 35                 Note: Some EHCI controllers do not have companions; they
 36                 may contain an internal "transaction translator" or they
 37                 may be attached directly to a "rate-matching hub".  This
 38                 mechanism will not work with such controllers.  Also, it
 39                 cannot be used to force a port on a high-speed hub to
 40                 connect at full speed.
 41 
 42                 Note: When this file was first added, it appeared in a
 43                 different sysfs directory.  The location given above is
 44                 correct for 2.6.35 (and probably several earlier kernel
 45                 versions as well).
 46 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php