Re: [RFC PATCH v1] usb: core: add sysfs entry for usb device state

From: Roy Luo
Date: Fri May 26 2023 - 15:26:37 EST

On Fri, May 26, 2023 at 11:47 AM Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> On Fri, May 26, 2023 at 11:34:44AM -0700, Roy Luo wrote:
> > > Also, what userspace code is now calling poll() on your new sysfs file?
> > >
> >
> > We are looking at adding the code to the generic userspace components
> > if not hardware abstraction layer in the userspace.
> I can not parse this at all, sorry. Care to rephrase it and point to
> some real source code?
> thanks,
> greg k-h

I meant the userspace part is still in development and it largely depends on
how the kernel part plays out. Hence I'm trying to get early feedback here.
The use cases we're aiming at are described in the commit message, is
there anything specific you're looking for in the userspace code? I'm happy
to answer questions you might have.