Re: A udev rule to serve the change event of ACPI container?

2017-08-15 Thread joeyli
On Fri, Aug 04, 2017 at 05:06:19PM +0200, Michal Hocko wrote: > On Thu 03-08-17 11:37:37, YASUAKI ISHIMATSU wrote: > > > > > > On 08/02/2017 01:49 AM, joeyli wrote: > > > Hi YASUAKI, > > > > > > On Tue, Aug 01, 2017 at 03:21:38PM -0400, YASUAKI ISHIMATSU wrote: > > >> Hi Joey, > > >> > > >> On

Re: A udev rule to serve the change event of ACPI container?

2017-08-15 Thread joeyli
On Fri, Aug 04, 2017 at 05:06:19PM +0200, Michal Hocko wrote: > On Thu 03-08-17 11:37:37, YASUAKI ISHIMATSU wrote: > > > > > > On 08/02/2017 01:49 AM, joeyli wrote: > > > Hi YASUAKI, > > > > > > On Tue, Aug 01, 2017 at 03:21:38PM -0400, YASUAKI ISHIMATSU wrote: > > >> Hi Joey, > > >> > > >> On

Re: A udev rule to serve the change event of ACPI container?

2017-08-04 Thread Michal Hocko
On Thu 03-08-17 11:37:37, YASUAKI ISHIMATSU wrote: > > > On 08/02/2017 01:49 AM, joeyli wrote: > > Hi YASUAKI, > > > > On Tue, Aug 01, 2017 at 03:21:38PM -0400, YASUAKI ISHIMATSU wrote: > >> Hi Joey, > >> > >> On 07/23/2017 05:18 AM, joeyli wrote: > > [...snip] > > > > At least

Re: A udev rule to serve the change event of ACPI container?

2017-08-04 Thread Michal Hocko
On Thu 03-08-17 11:37:37, YASUAKI ISHIMATSU wrote: > > > On 08/02/2017 01:49 AM, joeyli wrote: > > Hi YASUAKI, > > > > On Tue, Aug 01, 2017 at 03:21:38PM -0400, YASUAKI ISHIMATSU wrote: > >> Hi Joey, > >> > >> On 07/23/2017 05:18 AM, joeyli wrote: > > [...snip] > > > > At least

Re: A udev rule to serve the change event of ACPI container?

2017-08-03 Thread YASUAKI ISHIMATSU
On 08/02/2017 01:49 AM, joeyli wrote: > Hi YASUAKI, > > On Tue, Aug 01, 2017 at 03:21:38PM -0400, YASUAKI ISHIMATSU wrote: >> Hi Joey, >> >> On 07/23/2017 05:18 AM, joeyli wrote: > [...snip] > At least Yasuaki raised similar behavior for container in 2013. It's similar to the

Re: A udev rule to serve the change event of ACPI container?

2017-08-03 Thread YASUAKI ISHIMATSU
On 08/02/2017 01:49 AM, joeyli wrote: > Hi YASUAKI, > > On Tue, Aug 01, 2017 at 03:21:38PM -0400, YASUAKI ISHIMATSU wrote: >> Hi Joey, >> >> On 07/23/2017 05:18 AM, joeyli wrote: > [...snip] > At least Yasuaki raised similar behavior for container in 2013. It's similar to the

Re: A udev rule to serve the change event of ACPI container?

2017-08-03 Thread Michal Hocko
On Thu 03-08-17 17:52:57, Joey Lee wrote: > On Thu, Aug 03, 2017 at 11:31:53AM +0200, Michal Hocko wrote: > > On Thu 03-08-17 17:22:37, Joey Lee wrote: > > > On Wed, Aug 02, 2017 at 11:01:43AM +0200, Michal Hocko wrote: > > > > On Mon 31-07-17 15:38:45, Joey Lee wrote: > > [...] > > > > > So, the

Re: A udev rule to serve the change event of ACPI container?

2017-08-03 Thread Michal Hocko
On Thu 03-08-17 17:52:57, Joey Lee wrote: > On Thu, Aug 03, 2017 at 11:31:53AM +0200, Michal Hocko wrote: > > On Thu 03-08-17 17:22:37, Joey Lee wrote: > > > On Wed, Aug 02, 2017 at 11:01:43AM +0200, Michal Hocko wrote: > > > > On Mon 31-07-17 15:38:45, Joey Lee wrote: > > [...] > > > > > So, the

Re: A udev rule to serve the change event of ACPI container?

2017-08-03 Thread joeyli
On Thu, Aug 03, 2017 at 11:31:53AM +0200, Michal Hocko wrote: > On Thu 03-08-17 17:22:37, Joey Lee wrote: > > On Wed, Aug 02, 2017 at 11:01:43AM +0200, Michal Hocko wrote: > > > On Mon 31-07-17 15:38:45, Joey Lee wrote: > [...] > > > > So, the behavior is: > > > > > > > > Kernel received ejection

Re: A udev rule to serve the change event of ACPI container?

2017-08-03 Thread joeyli
On Thu, Aug 03, 2017 at 11:31:53AM +0200, Michal Hocko wrote: > On Thu 03-08-17 17:22:37, Joey Lee wrote: > > On Wed, Aug 02, 2017 at 11:01:43AM +0200, Michal Hocko wrote: > > > On Mon 31-07-17 15:38:45, Joey Lee wrote: > [...] > > > > So, the behavior is: > > > > > > > > Kernel received ejection

Re: A udev rule to serve the change event of ACPI container?

2017-08-03 Thread Michal Hocko
On Thu 03-08-17 17:22:37, Joey Lee wrote: > On Wed, Aug 02, 2017 at 11:01:43AM +0200, Michal Hocko wrote: > > On Mon 31-07-17 15:38:45, Joey Lee wrote: [...] > > > So, the behavior is: > > > > > > Kernel received ejection event, set _Eject_ flag on container object > > > -> Kernel sends offline

Re: A udev rule to serve the change event of ACPI container?

2017-08-03 Thread Michal Hocko
On Thu 03-08-17 17:22:37, Joey Lee wrote: > On Wed, Aug 02, 2017 at 11:01:43AM +0200, Michal Hocko wrote: > > On Mon 31-07-17 15:38:45, Joey Lee wrote: [...] > > > So, the behavior is: > > > > > > Kernel received ejection event, set _Eject_ flag on container object > > > -> Kernel sends offline

Re: A udev rule to serve the change event of ACPI container?

2017-08-03 Thread joeyli
On Wed, Aug 02, 2017 at 11:01:43AM +0200, Michal Hocko wrote: > On Mon 31-07-17 15:38:45, Joey Lee wrote: > > Hi Michal, > > > > Sorry for my delay... > > > > On Tue, Jul 25, 2017 at 02:48:37PM +0200, Michal Hocko wrote: > > > On Mon 24-07-17 17:29:21, Joey Lee wrote: > [...] > > > > For the

Re: A udev rule to serve the change event of ACPI container?

2017-08-03 Thread joeyli
On Wed, Aug 02, 2017 at 11:01:43AM +0200, Michal Hocko wrote: > On Mon 31-07-17 15:38:45, Joey Lee wrote: > > Hi Michal, > > > > Sorry for my delay... > > > > On Tue, Jul 25, 2017 at 02:48:37PM +0200, Michal Hocko wrote: > > > On Mon 24-07-17 17:29:21, Joey Lee wrote: > [...] > > > > For the

Re: A udev rule to serve the change event of ACPI container?

2017-08-02 Thread Michal Hocko
On Mon 31-07-17 15:38:45, Joey Lee wrote: > Hi Michal, > > Sorry for my delay... > > On Tue, Jul 25, 2017 at 02:48:37PM +0200, Michal Hocko wrote: > > On Mon 24-07-17 17:29:21, Joey Lee wrote: [...] > > > For the success case, yes, we can clear the flag when the _EJ0 of > > > container > > > is

Re: A udev rule to serve the change event of ACPI container?

2017-08-02 Thread Michal Hocko
On Mon 31-07-17 15:38:45, Joey Lee wrote: > Hi Michal, > > Sorry for my delay... > > On Tue, Jul 25, 2017 at 02:48:37PM +0200, Michal Hocko wrote: > > On Mon 24-07-17 17:29:21, Joey Lee wrote: [...] > > > For the success case, yes, we can clear the flag when the _EJ0 of > > > container > > > is

Re: A udev rule to serve the change event of ACPI container?

2017-08-01 Thread joeyli
Hi YASUAKI, On Tue, Aug 01, 2017 at 03:21:38PM -0400, YASUAKI ISHIMATSU wrote: > Hi Joey, > > On 07/23/2017 05:18 AM, joeyli wrote: [...snip] > >>> > >> > >> At least Yasuaki raised similar behavior for container in 2013. > >> It's similar to the DVD player case, user space application needs >

Re: A udev rule to serve the change event of ACPI container?

2017-08-01 Thread joeyli
Hi YASUAKI, On Tue, Aug 01, 2017 at 03:21:38PM -0400, YASUAKI ISHIMATSU wrote: > Hi Joey, > > On 07/23/2017 05:18 AM, joeyli wrote: [...snip] > >>> > >> > >> At least Yasuaki raised similar behavior for container in 2013. > >> It's similar to the DVD player case, user space application needs >

Re: A udev rule to serve the change event of ACPI container?

2017-08-01 Thread YASUAKI ISHIMATSU
Hi Joey, On 07/23/2017 05:18 AM, joeyli wrote: > Hi Yasuaki, > > On Fri, Jul 14, 2017 at 10:44:14PM +0800, joeyli wrote: >> On Fri, Jul 14, 2017 at 10:37:13AM +0200, Michal Hocko wrote: >>> On Thu 13-07-17 20:45:21, Joey Lee wrote: On Thu, Jul 13, 2017 at 09:06:19AM +0200, Michal Hocko

Re: A udev rule to serve the change event of ACPI container?

2017-08-01 Thread YASUAKI ISHIMATSU
Hi Joey, On 07/23/2017 05:18 AM, joeyli wrote: > Hi Yasuaki, > > On Fri, Jul 14, 2017 at 10:44:14PM +0800, joeyli wrote: >> On Fri, Jul 14, 2017 at 10:37:13AM +0200, Michal Hocko wrote: >>> On Thu 13-07-17 20:45:21, Joey Lee wrote: On Thu, Jul 13, 2017 at 09:06:19AM +0200, Michal Hocko

Re: A udev rule to serve the change event of ACPI container?

2017-07-31 Thread joeyli
Hi Michal, Sorry for my delay... On Tue, Jul 25, 2017 at 02:48:37PM +0200, Michal Hocko wrote: > On Mon 24-07-17 17:29:21, Joey Lee wrote: > > On Mon, Jul 24, 2017 at 10:57:02AM +0200, Michal Hocko wrote: > > > On Wed 19-07-17 17:09:10, Joey Lee wrote: > > > > On Mon, Jul 17, 2017 at 11:05:25AM

Re: A udev rule to serve the change event of ACPI container?

2017-07-31 Thread joeyli
Hi Michal, Sorry for my delay... On Tue, Jul 25, 2017 at 02:48:37PM +0200, Michal Hocko wrote: > On Mon 24-07-17 17:29:21, Joey Lee wrote: > > On Mon, Jul 24, 2017 at 10:57:02AM +0200, Michal Hocko wrote: > > > On Wed 19-07-17 17:09:10, Joey Lee wrote: > > > > On Mon, Jul 17, 2017 at 11:05:25AM

Re: A udev rule to serve the change event of ACPI container?

2017-07-25 Thread Michal Hocko
On Mon 24-07-17 17:29:21, Joey Lee wrote: > On Mon, Jul 24, 2017 at 10:57:02AM +0200, Michal Hocko wrote: > > On Wed 19-07-17 17:09:10, Joey Lee wrote: > > > On Mon, Jul 17, 2017 at 11:05:25AM +0200, Michal Hocko wrote: > > [...] > > > > The problem I have with this expectation is that userspace

Re: A udev rule to serve the change event of ACPI container?

2017-07-25 Thread Michal Hocko
On Mon 24-07-17 17:29:21, Joey Lee wrote: > On Mon, Jul 24, 2017 at 10:57:02AM +0200, Michal Hocko wrote: > > On Wed 19-07-17 17:09:10, Joey Lee wrote: > > > On Mon, Jul 17, 2017 at 11:05:25AM +0200, Michal Hocko wrote: > > [...] > > > > The problem I have with this expectation is that userspace

Re: A udev rule to serve the change event of ACPI container?

2017-07-24 Thread joeyli
On Mon, Jul 24, 2017 at 10:57:02AM +0200, Michal Hocko wrote: > On Wed 19-07-17 17:09:10, Joey Lee wrote: > > On Mon, Jul 17, 2017 at 11:05:25AM +0200, Michal Hocko wrote: > [...] > > > The problem I have with this expectation is that userspace will never > > > have a good atomic view of the whole

Re: A udev rule to serve the change event of ACPI container?

2017-07-24 Thread joeyli
On Mon, Jul 24, 2017 at 10:57:02AM +0200, Michal Hocko wrote: > On Wed 19-07-17 17:09:10, Joey Lee wrote: > > On Mon, Jul 17, 2017 at 11:05:25AM +0200, Michal Hocko wrote: > [...] > > > The problem I have with this expectation is that userspace will never > > > have a good atomic view of the whole

Re: A udev rule to serve the change event of ACPI container?

2017-07-24 Thread Michal Hocko
On Wed 19-07-17 17:09:10, Joey Lee wrote: > On Mon, Jul 17, 2017 at 11:05:25AM +0200, Michal Hocko wrote: [...] > > The problem I have with this expectation is that userspace will never > > have a good atomic view of the whole container. So it can only try to > > I agreed! > > Even a userspace

Re: A udev rule to serve the change event of ACPI container?

2017-07-24 Thread Michal Hocko
On Wed 19-07-17 17:09:10, Joey Lee wrote: > On Mon, Jul 17, 2017 at 11:05:25AM +0200, Michal Hocko wrote: [...] > > The problem I have with this expectation is that userspace will never > > have a good atomic view of the whole container. So it can only try to > > I agreed! > > Even a userspace

Re: A udev rule to serve the change event of ACPI container?

2017-07-24 Thread joeyli
Hi Yasuaki, On Fri, Jul 14, 2017 at 10:44:14PM +0800, joeyli wrote: > On Fri, Jul 14, 2017 at 10:37:13AM +0200, Michal Hocko wrote: > > On Thu 13-07-17 20:45:21, Joey Lee wrote: > > > On Thu, Jul 13, 2017 at 09:06:19AM +0200, Michal Hocko wrote: > > > > On Thu 13-07-17 14:58:06, Joey Lee wrote:

Re: A udev rule to serve the change event of ACPI container?

2017-07-24 Thread joeyli
Hi Yasuaki, On Fri, Jul 14, 2017 at 10:44:14PM +0800, joeyli wrote: > On Fri, Jul 14, 2017 at 10:37:13AM +0200, Michal Hocko wrote: > > On Thu 13-07-17 20:45:21, Joey Lee wrote: > > > On Thu, Jul 13, 2017 at 09:06:19AM +0200, Michal Hocko wrote: > > > > On Thu 13-07-17 14:58:06, Joey Lee wrote:

Re: A udev rule to serve the change event of ACPI container?

2017-07-19 Thread joeyli
On Mon, Jul 17, 2017 at 11:05:25AM +0200, Michal Hocko wrote: > On Fri 14-07-17 22:44:14, Joey Lee wrote: > > On Fri, Jul 14, 2017 at 10:37:13AM +0200, Michal Hocko wrote: > > > On Thu 13-07-17 20:45:21, Joey Lee wrote: > > > > On Thu, Jul 13, 2017 at 09:06:19AM +0200, Michal Hocko wrote: > > > >

Re: A udev rule to serve the change event of ACPI container?

2017-07-19 Thread joeyli
On Mon, Jul 17, 2017 at 11:05:25AM +0200, Michal Hocko wrote: > On Fri 14-07-17 22:44:14, Joey Lee wrote: > > On Fri, Jul 14, 2017 at 10:37:13AM +0200, Michal Hocko wrote: > > > On Thu 13-07-17 20:45:21, Joey Lee wrote: > > > > On Thu, Jul 13, 2017 at 09:06:19AM +0200, Michal Hocko wrote: > > > >

Re: A udev rule to serve the change event of ACPI container?

2017-07-17 Thread Michal Hocko
On Fri 14-07-17 22:44:14, Joey Lee wrote: > On Fri, Jul 14, 2017 at 10:37:13AM +0200, Michal Hocko wrote: > > On Thu 13-07-17 20:45:21, Joey Lee wrote: > > > On Thu, Jul 13, 2017 at 09:06:19AM +0200, Michal Hocko wrote: > > > > On Thu 13-07-17 14:58:06, Joey Lee wrote: > > [...] > > > > > If BIOS

Re: A udev rule to serve the change event of ACPI container?

2017-07-17 Thread Michal Hocko
On Fri 14-07-17 22:44:14, Joey Lee wrote: > On Fri, Jul 14, 2017 at 10:37:13AM +0200, Michal Hocko wrote: > > On Thu 13-07-17 20:45:21, Joey Lee wrote: > > > On Thu, Jul 13, 2017 at 09:06:19AM +0200, Michal Hocko wrote: > > > > On Thu 13-07-17 14:58:06, Joey Lee wrote: > > [...] > > > > > If BIOS

Re: A udev rule to serve the change event of ACPI container?

2017-07-14 Thread joeyli
On Fri, Jul 14, 2017 at 10:37:13AM +0200, Michal Hocko wrote: > On Thu 13-07-17 20:45:21, Joey Lee wrote: > > On Thu, Jul 13, 2017 at 09:06:19AM +0200, Michal Hocko wrote: > > > On Thu 13-07-17 14:58:06, Joey Lee wrote: > [...] > > > > If BIOS emits ejection event for a ACPI0004 container, someone

Re: A udev rule to serve the change event of ACPI container?

2017-07-14 Thread joeyli
On Fri, Jul 14, 2017 at 10:37:13AM +0200, Michal Hocko wrote: > On Thu 13-07-17 20:45:21, Joey Lee wrote: > > On Thu, Jul 13, 2017 at 09:06:19AM +0200, Michal Hocko wrote: > > > On Thu 13-07-17 14:58:06, Joey Lee wrote: > [...] > > > > If BIOS emits ejection event for a ACPI0004 container, someone

Re: A udev rule to serve the change event of ACPI container?

2017-07-14 Thread Michal Hocko
On Thu 13-07-17 20:45:21, Joey Lee wrote: > On Thu, Jul 13, 2017 at 09:06:19AM +0200, Michal Hocko wrote: > > On Thu 13-07-17 14:58:06, Joey Lee wrote: [...] > > > If BIOS emits ejection event for a ACPI0004 container, someone needs > > > to handle the offline/eject jobs of container. Either

Re: A udev rule to serve the change event of ACPI container?

2017-07-14 Thread Michal Hocko
On Thu 13-07-17 20:45:21, Joey Lee wrote: > On Thu, Jul 13, 2017 at 09:06:19AM +0200, Michal Hocko wrote: > > On Thu 13-07-17 14:58:06, Joey Lee wrote: [...] > > > If BIOS emits ejection event for a ACPI0004 container, someone needs > > > to handle the offline/eject jobs of container. Either

Re: A udev rule to serve the change event of ACPI container?

2017-07-13 Thread joeyli
On Thu, Jul 13, 2017 at 09:06:19AM +0200, Michal Hocko wrote: > On Thu 13-07-17 14:58:06, Joey Lee wrote: > > Hi Michal, > > > > Sorry for my delay. > > > > On Tue, Jul 11, 2017 at 10:25:32AM +0200, Michal Hocko wrote: > > > On Mon 26-06-17 10:59:07, Michal Hocko wrote: > > > > On Mon 26-06-17

Re: A udev rule to serve the change event of ACPI container?

2017-07-13 Thread joeyli
On Thu, Jul 13, 2017 at 09:06:19AM +0200, Michal Hocko wrote: > On Thu 13-07-17 14:58:06, Joey Lee wrote: > > Hi Michal, > > > > Sorry for my delay. > > > > On Tue, Jul 11, 2017 at 10:25:32AM +0200, Michal Hocko wrote: > > > On Mon 26-06-17 10:59:07, Michal Hocko wrote: > > > > On Mon 26-06-17

Re: A udev rule to serve the change event of ACPI container?

2017-07-13 Thread Michal Hocko
On Thu 13-07-17 14:58:06, Joey Lee wrote: > Hi Michal, > > Sorry for my delay. > > On Tue, Jul 11, 2017 at 10:25:32AM +0200, Michal Hocko wrote: > > On Mon 26-06-17 10:59:07, Michal Hocko wrote: > > > On Mon 26-06-17 14:26:57, Joey Lee wrote: > > > > Hi all, > > > > > > > > If ACPI received

Re: A udev rule to serve the change event of ACPI container?

2017-07-13 Thread Michal Hocko
On Thu 13-07-17 14:58:06, Joey Lee wrote: > Hi Michal, > > Sorry for my delay. > > On Tue, Jul 11, 2017 at 10:25:32AM +0200, Michal Hocko wrote: > > On Mon 26-06-17 10:59:07, Michal Hocko wrote: > > > On Mon 26-06-17 14:26:57, Joey Lee wrote: > > > > Hi all, > > > > > > > > If ACPI received

Re: A udev rule to serve the change event of ACPI container?

2017-07-13 Thread joeyli
Hi Michal, Sorry for my delay. On Tue, Jul 11, 2017 at 10:25:32AM +0200, Michal Hocko wrote: > On Mon 26-06-17 10:59:07, Michal Hocko wrote: > > On Mon 26-06-17 14:26:57, Joey Lee wrote: > > > Hi all, > > > > > > If ACPI received ejection request for a ACPI container, kernel > > > emits

Re: A udev rule to serve the change event of ACPI container?

2017-07-13 Thread joeyli
Hi Michal, Sorry for my delay. On Tue, Jul 11, 2017 at 10:25:32AM +0200, Michal Hocko wrote: > On Mon 26-06-17 10:59:07, Michal Hocko wrote: > > On Mon 26-06-17 14:26:57, Joey Lee wrote: > > > Hi all, > > > > > > If ACPI received ejection request for a ACPI container, kernel > > > emits

Re: A udev rule to serve the change event of ACPI container?

2017-07-11 Thread Michal Hocko
On Mon 26-06-17 10:59:07, Michal Hocko wrote: > On Mon 26-06-17 14:26:57, Joey Lee wrote: > > Hi all, > > > > If ACPI received ejection request for a ACPI container, kernel > > emits KOBJ_CHANGE uevent when it found online children devices > > below the acpi container. > > > > Base on the

Re: A udev rule to serve the change event of ACPI container?

2017-07-11 Thread Michal Hocko
On Mon 26-06-17 10:59:07, Michal Hocko wrote: > On Mon 26-06-17 14:26:57, Joey Lee wrote: > > Hi all, > > > > If ACPI received ejection request for a ACPI container, kernel > > emits KOBJ_CHANGE uevent when it found online children devices > > below the acpi container. > > > > Base on the

Re: A udev rule to serve the change event of ACPI container?

2017-06-28 Thread joeyli
Hi YASUAKI, Thanks for your response. On Wed, Jun 28, 2017 at 03:53:16PM -0400, YASUAKI ISHIMATSU wrote: > > On 06/26/2017 02:26 AM, joeyli wrote: > > Hi all, > > > > If ACPI received ejection request for a ACPI container, kernel > > emits KOBJ_CHANGE uevent when it found online children

Re: A udev rule to serve the change event of ACPI container?

2017-06-28 Thread joeyli
Hi YASUAKI, Thanks for your response. On Wed, Jun 28, 2017 at 03:53:16PM -0400, YASUAKI ISHIMATSU wrote: > > On 06/26/2017 02:26 AM, joeyli wrote: > > Hi all, > > > > If ACPI received ejection request for a ACPI container, kernel > > emits KOBJ_CHANGE uevent when it found online children

Re: A udev rule to serve the change event of ACPI container?

2017-06-28 Thread YASUAKI ISHIMATSU
On 06/26/2017 02:26 AM, joeyli wrote: > Hi all, > > If ACPI received ejection request for a ACPI container, kernel > emits KOBJ_CHANGE uevent when it found online children devices > below the acpi container. > > Base on the description of caa73ea15 kernel patch, user space > is expected to

Re: A udev rule to serve the change event of ACPI container?

2017-06-28 Thread YASUAKI ISHIMATSU
On 06/26/2017 02:26 AM, joeyli wrote: > Hi all, > > If ACPI received ejection request for a ACPI container, kernel > emits KOBJ_CHANGE uevent when it found online children devices > below the acpi container. > > Base on the description of caa73ea15 kernel patch, user space > is expected to

Re: A udev rule to serve the change event of ACPI container?

2017-06-26 Thread Michal Hocko
On Mon 26-06-17 14:26:57, Joey Lee wrote: > Hi all, > > If ACPI received ejection request for a ACPI container, kernel > emits KOBJ_CHANGE uevent when it found online children devices > below the acpi container. > > Base on the description of caa73ea15 kernel patch, user space > is expected to

Re: A udev rule to serve the change event of ACPI container?

2017-06-26 Thread Michal Hocko
On Mon 26-06-17 14:26:57, Joey Lee wrote: > Hi all, > > If ACPI received ejection request for a ACPI container, kernel > emits KOBJ_CHANGE uevent when it found online children devices > below the acpi container. > > Base on the description of caa73ea15 kernel patch, user space > is expected to

A udev rule to serve the change event of ACPI container?

2017-06-26 Thread joeyli
Hi all, If ACPI received ejection request for a ACPI container, kernel emits KOBJ_CHANGE uevent when it found online children devices below the acpi container. Base on the description of caa73ea15 kernel patch, user space is expected to offline all devices below the container and the container

A udev rule to serve the change event of ACPI container?

2017-06-26 Thread joeyli
Hi all, If ACPI received ejection request for a ACPI container, kernel emits KOBJ_CHANGE uevent when it found online children devices below the acpi container. Base on the description of caa73ea15 kernel patch, user space is expected to offline all devices below the container and the container