From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from lists.s-osg.org ([54.187.51.154]:34290 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751633AbcCCSwF (ORCPT ); Thu, 3 Mar 2016 13:52:05 -0500 Date: Thu, 3 Mar 2016 15:52:00 -0300 From: Mauro Carvalho Chehab To: Heiner Kallweit Cc: linux-media@vger.kernel.org Subject: Re: [git:media_tree/master] [media] media: rc: nuvoton: support reading / writing wakeup sequence via sysfs Message-ID: <20160303155200.43d4c5e7@recife.lan> In-Reply-To: <56D87FE9.4000408@gmail.com> References: <56D87FE9.4000408@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: Em Thu, 03 Mar 2016 19:18:17 +0100 Heiner Kallweit escreveu: > Am 03.03.2016 um 12:28 schrieb Mauro Carvalho Chehab: > > This is an automatic generated email to let you know that the following patch were queued at the > > http://git.linuxtv.org/cgit.cgi/media_tree.git tree: > > > > Subject: [media] media: rc: nuvoton: support reading / writing wakeup sequence via sysfs > > Author: Heiner Kallweit > > Date: Mon Feb 8 17:25:59 2016 -0200 > > > > This patch adds a binary attribute /sys/class/rc/rc?/wakeup_data which > > allows to read / write the wakeup sequence. > > > When working on another module I was reminded not to forget updating Documentation/ABI. > I think the same applies here. This patch introduces a new sysfs attribute that should > be documented. I'll submit a patch for adding Documentation/ABI/testing/sysfs-class-rc-nuvoton Good point. Another thing: wouldn't be better to use a text format? This would make esier to import from LIRC's irrecord format: begin raw_codes name power 850 900 1750 1800 850 900 850 900 1750 900 850 1800 850 900 850 900 850 900 1750 1800 800 end raw_codes Regards, Mauro > > Rgds, Heiner > > > In combination with the core extension for exposing the most recent raw > > packet this allows to easily define and set a wakeup sequence. > > > > At least on my Zotac CI321 the BIOS resets the wakeup sequence at each boot > > to a factory default. Therefore I use a udev rule > > SUBSYSTEM=="rc", DRIVERS=="nuvoton-cir", ACTION=="add", RUN+="