Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
kobject_uevent() question
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mauricio Lin  
View profile  
 More options Nov 22 2006, 1:42 pm
Newsgroups: nlo.lists.kernelnewbies
From: Mauricio Lin <mauriciolin2...@yahoo.com.br>
Date: Wed, 22 Nov 2006 15:42:04 -0300 (ART)
Local: Wed, Nov 22 2006 1:42 pm
Subject: kobject_uevent() question
Hi all,

I have implemented a module time ago that used kobject_uevent()
function to send a signal to userspace.

Recently I tried to recompile the module based on the kernel 2.6.19-rc
and I noticed that kobject_uevent() has its number of arguments changed
from 3 to 2.

Afterward I figure out that such change was applied on kernel
2.6.16-rc1.

The old function was removed:
-int kobject_uevent(struct kobject *kobj, enum kobject_action action,
-         struct attribute *attr)

and the kobject_hotplug() name was replaced by kobject_uevent():
-void kobject_hotplug(struct kobject *kobj, enum kobject_action action)
+void kobject_uevent(struct kobject *kobj, enum kobject_action action)

So is there any new function that works the same or similar way as
kobject_uevent() before 2.6.16-rc1 version?

BR,

Mauricio Lin.

_______________________________________________________
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale
o discador agora!
http://br.acesso.yahoo.com

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Greg KH  
View profile  
 More options Nov 24 2006, 3:23 am
Newsgroups: nlo.lists.kernelnewbies
From: Greg KH <g...@kroah.com>
Date: Fri, 24 Nov 2006 00:23:02 -0800
Local: Fri, Nov 24 2006 3:23 am
Subject: Re: kobject_uevent() question

What do you want to do with that kobject_uevent() function?  Almost all
of the functionality is still there, with the exception that you don't
provide the attribute anymore.

But, you can now poll an attribute from userspace properly, so you might
just look into doing that instead (you need to change your kernel code a
bit to use it though.)

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/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »