On Sat, 3 Sep 2016, Jacek Anaszewski wrote:

> >> The remaining issue is the sysfs interface design for defining and
> >> presenting multiple USB ports. I'm still in favour of a single
> >> attribute with space separated list. This scheme is commonly used
> >> in existing interfaces.
> >
> > No such interface is needed if you do things the way I outlined above.
> > Each trigger would require the user to specify either one port, one
> > hub, or nothing at all.  Multiple ports would not be used.
> 
> The patch assumes that it is possible to register trigger for many
> ports.

The patch could be changed to remove that assumption.

Alan Stern

Reply via email to