[PATCH 0/4] usb: expose DeviceRemovable to user space via sysfs attribute

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

 



This patchset is to set DeviceRemovable according ACPI information
and create a new attribute "connect_type" under port device to expose
port connect type to user space. Patch3 create two link files under
port device and its child device to show their relationship under sysfs.

Following patchset is based on the commit da31fe45 of usb-next tree

USB: Set usb port's DeviceRemovable according acpi information in EHCI
usb/xhci: set root hub's DeviceRemovable according to usb port connect type
usb: Create link files between child device and usb port device.
usb: Add "portX/connect_type" attribute to expose usb port's connect type

 Documentation/ABI/testing/sysfs-bus-usb |    9 +++++++++
 drivers/usb/core/hub.c                  |   83 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/usb/core/usb.h                  |    4 ----
 drivers/usb/host/ehci-hub.c             |    9 +++++++++
 drivers/usb/host/xhci-hub.c             |   19 +++++++++++++++++--
 include/linux/usb.h                     |    4 ++++
 6 files changed, 122 insertions(+), 6 deletions(-)



--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

  Powered by Linux