These files are deprecated and will be removed. The same files are available under /sys/bus/typec (see Documentation/ABI/testing/sysfs-bus-typec). What: /sys/class/typec///svid Date: April 2017 Contact: Heikki Krogerus Description: The SVID (Standard or Vendor ID) assigned by USB-IF for this alternate mode. What: /sys/class/typec///mode/ Date: April 2017 Contact: Heikki Krogerus Description: Every supported mode will have its own directory. The name of a mode will be "mode" (for example mode1), where is the actual index to the mode VDO returned by Discover Modes USB power delivery command. What: /sys/class/typec///mode/description Date: April 2017 Contact: Heikki Krogerus Description: Shows description of the mode. The description is optional for the drivers, just like with the Billboard Devices. What: /sys/class/typec///mode/vdo Date: April 2017 Contact: Heikki Krogerus Description: Shows the VDO in hexadecimal returned by Discover Modes command for this mode. What: /sys/class/typec///mode/active Date: April 2017 Contact: Heikki Krogerus Description: Shows if the mode is active or not. The attribute can be used for entering/exiting the mode with partners and cable plugs, and with the port alternate modes it can be used for disabling support for specific alternate modes. Entering/exiting modes is supported as synchronous operation so write(2) to the attribute does not return until the enter/exit mode operation has finished. The attribute is notified when the mode is entered/exited so poll(2) on the attribute wakes up. Entering/exiting a mode will also generate uevent KOBJ_CHANGE. Valid values: yes, no