From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vivien Didelot Subject: Re: [PATCH v2] HID: add ThingM blink(1) USB RGB LED support Date: Tue, 22 Jan 2013 08:39:51 -0500 (EST) Message-ID: <519311670.181365.1358861991305.JavaMail.root@mail.savoirfairelinux.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from mail.savoirfairelinux.com ([209.172.62.77]:47971 "EHLO mail.savoirfairelinux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752455Ab3AVNjw (ORCPT ); Tue, 22 Jan 2013 08:39:52 -0500 In-Reply-To: Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Jiri Kosina Cc: simon@mungewell.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Hi, > > > Shouldn't the name presented in the sys/class/leds directories > > > change > > > appropriately too? > > > > The directory name for the device under /sys/class/leds is > > "blink(1)::", > > where is the last 4 digits of the device serial number > > (the first 4 > > digits are always the same: "1A00"). For instance, > > "blink(1)::1234". > > Let me know if I misunderstood your question. > > I believe that Simon's (valid) observation is that the sysfs path > should > reflect the name change, i.e. something along the lines of > /sys/class/leds/thingm-blink: ... ? The vendor's name is "ThingM" and the product's name is "blink(1)", not "blink". Given that, would you prefer to keep "blink(1)::1234", or would it rather be "thingm-blink1::1234" (avoiding parenthesis)? I ask the same question for the driver name, which is actually "blink(1)". Thanks, Vivien