On Tue, Feb 24, 2009 at 6:51 AM, Greg KH <[email protected]> wrote:
> On Mon, Feb 23, 2009 at 02:02:14PM +0200, Daniel Baluta wrote:
>> Hello ,
>>
>> I want to generate custom kernel events. This events will be
>> interpreted by the udev in user space.
>
> It will?

Yes , it will if I add a proper rule in /etc/udev/rules.d

>
>> Is the following code in the spirit of linux device model?
>> Am I allowed to access kobject from pdev->dev?
>
> Yes, but why are you trying to do this?  The different bus and class
> specific code should be doing this already for you, what are you trying
> to do different here?

I want to generate my own custom events, for example "BOARD_ID=xxx". I
didn't find a way to generate this using a class or a bus.

>
> thanks,
>
> greg k-h
>

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to