[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <114492e40705251137k53d9c341q3430710c75408b33@mail.gmail.com>
Date: Fri, 25 May 2007 15:37:46 -0300
From: "Rodrigo Pereira" <rodripe@...il.com>
To: linux-kernel@...r.kernel.org
Subject: sysfs permitions on class leds
(sorry my English)
I'm helping Márton Németh in a experimental mail led driver
leds-clevo-mail.c for clevo laptops and I have problems with this
driver:
this files
/sys/class/<ledname>trigger, /sys/class/<ledname>/dalay_on and
/sys/class/<ledname>/delay_off are created as 644 permissions. Also
ROOT controls the led. I think write udev rules but my rules don't
change this permissions.
The clevo mail led is a trigger led (time-trigger) for blinks the led
when a new mail arrives.
How can I change the permissions of the sysfs objects in runtime or userspace?
the code of this driver is found at
http://sourceforge.net/projects/clevo-mailled/
Thank you.
Rodrigo Pereira
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists