mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rodrigo Pereira" <rodripe@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: sysfs permitions on class leds
Date: Fri, 25 May 2007 15:37:46 -0300	[thread overview]
Message-ID: <114492e40705251137k53d9c341q3430710c75408b33@mail.gmail.com> (raw)

(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

             reply	other threads:[~2007-05-25 18:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-25 18:37 Rodrigo Pereira [this message]
2007-05-27  2:45 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=114492e40705251137k53d9c341q3430710c75408b33@mail.gmail.com \
    --to=rodripe@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®