From mboxrd@z Thu Jan 1 00:00:00 1970 From: simon@mungewell.org Subject: Re: [PATCH 1/2] HID: hid-lg4ff add support for G27 LEDs Date: Mon, 12 Mar 2012 14:19:25 -0400 Message-ID: <3391c87c6cc142e1b50b73eb78e70dc8.squirrel@mungewell.org> References: <1331565459-1892-1-git-send-email-simon@mungewell.org> <20120312180738.GD14020@sirena.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Return-path: Received: from host171.canaca.com ([67.55.55.225]:42753 "EHLO host171.canaca.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752997Ab2CLST2 (ORCPT ); Mon, 12 Mar 2012 14:19:28 -0400 In-Reply-To: <20120312180738.GD14020@sirena.org.uk> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Mark Brown Cc: simon@mungewell.org, Jiri Kosina , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Bauer , Michal Maly > On Mon, Mar 12, 2012 at 02:04:14PM -0400, simon@mungewell.org wrote: > >> At the moment you'd just drive the LEDs simply, ie: >> $ echo 31 > /sys/bus/hid/devices/.../leds > > Shouldn't this be using the LED subsystem the kernel already has? > The LED subsystem appears to be aim at controller chips (ie. lp3944) which are connected to a bus (I2C) in a generalised form. I guess people might be doing 'blinken light' type systems. The LEDs on the G27 are very much more specific, mounted on the yoke of the gaming wheel. Would this require the use/complexity of the LED subsystem? Simon