Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S269882AbUIDLP5 (ORCPT ); Sat, 4 Sep 2004 07:15:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S269891AbUIDLN1 (ORCPT ); Sat, 4 Sep 2004 07:13:27 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.31.123]:45256 "EHLO atrey.karlin.mff.cuni.cz") by vger.kernel.org with ESMTP id S269883AbUIDLM3 (ORCPT ); Sat, 4 Sep 2004 07:12:29 -0400 Date: Sat, 4 Sep 2004 13:12:02 +0200 From: Pavel Machek To: John Lenz , Jan-Benedict Glaw , linux-kernel@vger.kernel.org, Kalin KOZHUHAROV Subject: Re: [PATCH 2.6.8.1 0/2] leds: new class for led devices Message-ID: <20040904111202.GB28074@atrey.karlin.mff.cuni.cz> References: <1094157190l.4235l.2l@hydra> <20040903120634.GK6985@lug-owl.de> <1094237243l.7429l.1l@hydra> <20040903232507.A8810@flint.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040903232507.A8810@flint.arm.linux.org.uk> User-Agent: Mutt/1.5.6i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 993 Lines: 29 Hi! > The kernel is NOT in sole control today on ARM platforms: > > echo claim > /sys/devices/system/leds/leds0/event > echo red on > /sys/devices/system/leds/leds0/event > echo green on > /sys/devices/system/leds/leds0/event > echo red off > /sys/devices/system/leds/leds0/event > echo release > /sys/devices/system/leds/leds0/event > > etc > > Sure, we have a weird naming scheme (red, green, amber, blue) but > that came around because that's what people were dealing with. > There's nothing really stopping us from having any name for a LED > in the existing scheme. > > I just don't buy the "we must have one sysfs node for every LED" > argument. sysfs is one-file-one-value. We do not want to end up with /proc-like mess. Pavel - 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/