[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091012162020.GF22233@sirena.org.uk>
Date: Mon, 12 Oct 2009 17:20:20 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Kay Sievers <kay.sievers@...y.org>
Cc: Kyungmin Park <kmpark@...radead.org>, linux-kernel@...r.kernel.org,
linux-input@...r.kernel.org, soni.trilok@...il.com
Subject: Re: [PATCH] Haptic class support (v2)
On Mon, Oct 12, 2009 at 05:42:08PM +0200, Kay Sievers wrote:
> On Tue, Oct 6, 2009 at 09:45, Kyungmin Park <kmpark@...radead.org> wrote:
> > To enable the haptic, echo 1 > /sys/class/haptic/${name}/enable
> > You can adjust the level by echo ${level} > /sys/class/haptic/${name}/enable
> > or
> > With oneshot feature, echo ${msec time} > /sys/class/haptic/${name}/oneshot
> Please never add any custom files to the top-level of a class
> directory. This place is reserved for devices, and not for custom
> files. It's a serious bug in the layout and API of sysfs that this
> allowed at all.
I'm assuming that ${name} is the device name in the above in which case
it should be fine from that point of view?
--
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