Re: Generating custom kernel uevents.

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

 



On Tue, Feb 24, 2009 at 6:51 AM, Greg KH <greg@xxxxxxxxx> 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 ecartis@xxxxxxxxxxxx
Please read the FAQ at 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