Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752160Ab0ABMh3 (ORCPT ); Sat, 2 Jan 2010 07:37:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752116Ab0ABMhX (ORCPT ); Sat, 2 Jan 2010 07:37:23 -0500 Received: from tur.go2.pl ([193.17.41.50]:46922 "EHLO tur.go2.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752114Ab0ABMhV convert rfc822-to-8bit (ORCPT ); Sat, 2 Jan 2010 07:37:21 -0500 Subject: =?UTF-8?Q?userspace_notification_from_module?= From: =?UTF-8?Q?Bart=C5=82omiej_Zimo=C5=84?= To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Message-ID: <7af8e1e4.123103a7.4b3f35e8.4eae9@o2.pl> Date: Sat, 02 Jan 2010 13:02:48 +0100 X-Originator: 83.12.131.34 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 916 Lines: 27 Hi List! My name is Bartłomiej Zimoń. Need some clue to find solution for above topic. Have written small wrapper module to notify userspace about couple events. The problem is to choose proper way to send data to userspace. Use inotify from userspace could be interesting for such data, but looks like sysfs/procfs doesn't send signal about data changed in file or maybe i'm wrong? If sysfs/procfs is wrong for that so must create device file, but here secound problem how to notify that file was changed? Please give me some light for such case. Links to working solutions are also good. Thanks in advice. Bartłomiej Zimoń PLD Linux devel, Kadu Team devel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/