[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1182252616.21013.12.camel@johannes.berg>
Date: Tue, 19 Jun 2007 13:30:16 +0200
From: Johannes Berg <johannes@...solutions.net>
To: hadi@...erus.ca
Cc: Zhang Rui <rui.zhang@...el.com>, netdev@...r.kernel.org,
"linux-acpi@...r" <linux-acpi@...r.kernel.org>, lenb@...nel.org
Subject: Re: Fwd: [PATCH] [-mm] ACPI: export ACPI events via netlink
On Mon, 2007-06-18 at 11:01 -0400, jamal wrote:
> Ok, by inspection (sorry, still dont have much time) - your kernel code
> is sending to group 1; i.e
>
> genlmsg_multicast(skb, 0, 1, GFP_ATOMIC);
>
> you need to change that to send to your assigned id, i.e:
> genlmsg_multicast(skb, 0, acpi_event_genl_family.id, GFP_ATOMIC);
>
> then the user space code will work. I should be able to look at it if it
> doesnt work by end of week.
Ah, that coincides with something I was wondering about. Isn't it
possible to have multiple multicast groups with generic netlink? If so,
we might have to use real netlink for wireless...
johannes
Download attachment "signature.asc" of type "application/pgp-signature" (191 bytes)
Powered by blists - more mailing lists