Re: [PATCH 0/3] add new API to sysfs and device core code

2012-07-27 Thread Colin Cross
On Fri, Jul 27, 2012 at 8:50 AM, Greg KH  wrote:
> On Fri, Jul 27, 2012 at 12:02:40PM +0800, Bryan Wu wrote:
>> Send out a uevent when create file in sysfs, which is required by userspace
>> application such udev in Android
>
> There is no such thing as "udev in Android" the last time I looked.
>
> Has this changed?

Android does not use udev, but it does have a daemon that listens for
uevents (ueventd).  I used udev in my previous examples because the
issue is not specific to Android.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 0/3] add new API to sysfs and device core code

2012-07-27 Thread Greg KH
On Fri, Jul 27, 2012 at 12:02:40PM +0800, Bryan Wu wrote:
> Send out a uevent when create file in sysfs, which is required by userspace
> application such udev in Android

There is no such thing as "udev in Android" the last time I looked.

Has this changed?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 0/3] add new API to sysfs and device core code

2012-07-27 Thread Greg KH
On Fri, Jul 27, 2012 at 12:02:40PM +0800, Bryan Wu wrote:
 Send out a uevent when create file in sysfs, which is required by userspace
 application such udev in Android

There is no such thing as udev in Android the last time I looked.

Has this changed?
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 0/3] add new API to sysfs and device core code

2012-07-27 Thread Colin Cross
On Fri, Jul 27, 2012 at 8:50 AM, Greg KH gre...@linuxfoundation.org wrote:
 On Fri, Jul 27, 2012 at 12:02:40PM +0800, Bryan Wu wrote:
 Send out a uevent when create file in sysfs, which is required by userspace
 application such udev in Android

 There is no such thing as udev in Android the last time I looked.

 Has this changed?

Android does not use udev, but it does have a daemon that listens for
uevents (ueventd).  I used udev in my previous examples because the
issue is not specific to Android.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 0/3] add new API to sysfs and device core code

2012-07-26 Thread Bryan Wu
Send out a uevent when create file in sysfs, which is required by userspace
application such udev in Android

Bryan Wu (3):
  sysfs: introduce a sysfs_create_file_uevent new API
  drivers: add a new device_create_file_uevent API
  ledtrig-timer: convert to use device_create_file_uevent API

 drivers/base/core.c  | 19 +++
 drivers/leds/ledtrig-timer.c |  6 --
 fs/sysfs/file.c  | 28 
 include/linux/device.h   |  4 
 include/linux/sysfs.h| 13 +
 5 files changed, 68 insertions(+), 2 deletions(-)

-- 
1.7.11.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 0/3] add new API to sysfs and device core code

2012-07-26 Thread Bryan Wu
Send out a uevent when create file in sysfs, which is required by userspace
application such udev in Android

Bryan Wu (3):
  sysfs: introduce a sysfs_create_file_uevent new API
  drivers: add a new device_create_file_uevent API
  ledtrig-timer: convert to use device_create_file_uevent API

 drivers/base/core.c  | 19 +++
 drivers/leds/ledtrig-timer.c |  6 --
 fs/sysfs/file.c  | 28 
 include/linux/device.h   |  4 
 include/linux/sysfs.h| 13 +
 5 files changed, 68 insertions(+), 2 deletions(-)

-- 
1.7.11.1

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/