Re: kobject_uevent() usage?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 23, 2006 at 10:15:28PM -0400, Arun Thomas wrote:
> On Wed, 2006-08-23 at 12:07 -0700, Greg KH wrote:
> > 
> > No, it should be fine.  Have you run 'udevmonitor' to see if udev
> > catches this event?  Perhaps that is why your program isn't seeing it.
> 
> Thanks. That's exactly my problem. I should have thought of that. Is
> there a way to have udev ignore certain uevents? I'd like to have the
> kernel trigger some custom kobject_actions that are only handled by my
> userspace application. 
> 
> I suppose I could also have udev run an external program that tells my
> app when udev sees certain kobject_actions. I'm guessing that's the
> preferred solution?

Yes it is.  Or listen for the dbus message that will be generated by HAL
for that event.  That way any number of programs can act on the same
message.

thanks,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux