Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753141AbaFNWmr (ORCPT ); Sat, 14 Jun 2014 18:42:47 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:47156 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751204AbaFNWmp (ORCPT ); Sat, 14 Jun 2014 18:42:45 -0400 Date: Sun, 15 Jun 2014 00:42:22 +0200 From: Pavel Machek To: Janne Kanniainen Cc: jkosina@suse.cz, johan@kernel.org, cooloney@gmail.com, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, linux-usb@vger.kernel.org, linux-input@vger.kernel.org Subject: Re: [PATCH v5] leds: USB: HID: Add support for MSI GT683R led panels Message-ID: <20140614224222.GE1389@xo-6d-61-c0.localdomain> References: <20140612090636.GK10256@localhost> <1402605252-9620-1-git-send-email-janne.kanniainen@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1402605252-9620-1-git-send-email-janne.kanniainen@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 2014-06-12 23:34:12, Janne Kanniainen wrote: > This driver adds support for USB controlled led panels that exists in > MSI GT683R laptop Hi! > --- /dev/null > +++ b/Documentation/ABI/testing/sysfs-class-hid-driver-gt683r > @@ -0,0 +1,10 @@ > +What: /sys/class/hidraw//device/state > +Date: Jun 2014 > +KernelVersion: 3.15 > +Contact: Janne Kanniainen > +Description: > + Set the mode of LEDs > + > + 0 - normal > + 1 - audio > + 2 - breathing THat's some strange interface. Don't we normally use led triggers for this? And the mode of the LED should really be in /sys/class/leds, not in hidraw somewhere... Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- 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/