[lkml]   [2010]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC] bind/unbind uevent
On Tue, Dec 7, 2010 at 19:33, Greg KH <> wrote:
> On Tue, Dec 07, 2010 at 06:29:37PM +0100, Sebastian Ott wrote:

>> So I'm searching for a trigger when these attributes are created, or
>> in other words when the device is useable, which I think translates to
>> when a driver is bound to this device.
> Again, KOBJ_ADD is the correct one.
> If your driver is creating sysfs attributes on its own, that's a bug and
> should be fixed.

Sounds a bit like the driver should create its own child device with
its own properties, instead of mangling around with attributes at a
device it binds to.

Sebastian, care to be more specific about the problem and bus in
question. We should avoid new generic events. In some special cases,
sending out 'change' from the driver might be acceptable, but it's
usually not what we would suggest.


 \ /
  Last update: 2010-12-07 20:03    [W:0.053 / U:34.660 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site