Messages in this thread | | | Subject | Re: [PATCH 1/3] usb: USB Type-C Connector Class | From | Oliver Neukum <> | Date | Thu, 11 Feb 2016 15:56:14 +0100 |
| |
On Thu, 2016-02-11 at 16:36 +0200, Heikki Krogerus wrote: > Just in case there are no misunderstandings here, Oliver was > commenting on alternate_mode_store function, and USB of course is not > Alternate Mode.
Yes I was because that is the hardest case. In hindsight it is also the most useless. If you see a billboard device you can still react. But the point also applies to all "switchable" features, most importantly PD. I usually want to charge my phone if it is connected, but not e.g. if my battery is at less than 60%. Such things belong to user space and should ideally be setable before anything is plugged in.
Regards Oliver
| |