Re: [PATCH] ANDROID: usb: core: Send uevent when USB TOPO layer over 6

2021-03-04 Thread Greg KH
On Fri, Mar 05, 2021 at 03:17:37PM +0800, Chien Kun Niu wrote: > Greg KH 於 2021年3月3日 週三 下午5:10寫道: > > > > On Wed, Mar 03, 2021 at 05:03:25PM +0800, Chien Kun Niu wrote: > > > Hi , Greg > > > > > > What tool will "catch" this? Where is that code located at? > > > => I prepare merge the code to And

Re: [PATCH] ANDROID: usb: core: Send uevent when USB TOPO layer over 6

2021-03-04 Thread Chien Kun Niu
Greg KH 於 2021年3月3日 週三 下午5:10寫道: > > On Wed, Mar 03, 2021 at 05:03:25PM +0800, Chien Kun Niu wrote: > > Hi , Greg > > > > What tool will "catch" this? Where is that code located at? > > => I prepare merge the code to Android phone , so I used Android HLOS > > to catch this uevent. > > Very odd qu

Re: [PATCH] ANDROID: usb: core: Send uevent when USB TOPO layer over 6

2021-03-03 Thread Greg KH
On Wed, Mar 03, 2021 at 05:03:25PM +0800, Chien Kun Niu wrote: > Hi , Greg > > What tool will "catch" this? Where is that code located at? > => I prepare merge the code to Android phone , so I used Android HLOS > to catch this uevent. Very odd quoting style, perhaps you might want to read up on

Re: [PATCH] ANDROID: usb: core: Send uevent when USB TOPO layer over 6

2021-03-03 Thread Chien Kun Niu
Hi , Greg What tool will "catch" this? Where is that code located at? => I prepare merge the code to Android phone , so I used Android HLOS to catch this uevent. uevents are not for stuff like this, you are trying to send "error conditions" to userspace, please use the "proper" interfaces like t

Re: [PATCH] ANDROID: usb: core: Send uevent when USB TOPO layer over 6

2021-02-26 Thread Greg KH
On Fri, Feb 26, 2021 at 05:16:12PM +0800, Ricky Niu wrote: > When the topology of the nested hubs are over 6 layers > Send uevent to user space when USB TOPO layer over 6. > Let end user more understand what happened. > > Signed-off-by: Ricky Niu > --- > drivers/usb/core/hub.c | 22 +

Re: [PATCH] ANDROID: usb: core: Send uevent when USB TOPO layer over 6

2021-02-26 Thread Greg KH
On Fri, Feb 26, 2021 at 05:16:12PM +0800, Ricky Niu wrote: > When the topology of the nested hubs are over 6 layers > Send uevent to user space when USB TOPO layer over 6. > Let end user more understand what happened. > > Signed-off-by: Ricky Niu > --- > drivers/usb/core/hub.c | 22 +

[PATCH] ANDROID: usb: core: Send uevent when USB TOPO layer over 6

2021-02-26 Thread Ricky Niu
When the topology of the nested hubs are over 6 layers Send uevent to user space when USB TOPO layer over 6. Let end user more understand what happened. Signed-off-by: Ricky Niu --- drivers/usb/core/hub.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/usb/cor