Re: Can't find HC device for a specific USB bus in sysfs (regression)

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

 



On Thu, 20 Aug 2009, David Vrabel wrote:

> Using sysfs, it is no longer possible to obtain the host controller
> device for a specific USB bus B (i.e.,
> /sys/class/usb_host/usb_hostB/device).   This change to the sysfs API
> has broken user space applications used to authenticate WUSB devices.
> 
> These programs (which use libusb 1.0) need to obtain the CHID of the
> host controller that the WUSB device is connected to.
> 
> Can these sysfs files be reinstated?  Alternatively (but not preferred)
> a symlink from the root hub device to the hcd device could be added.

Why do you need a symlink?  The host controller is the _parent_ of the 
root hub.  So all you have to do is append "/.." to the root hub's 
path.

Alan Stern

--
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