From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp27.orange.fr ([80.12.242.95]:12590 "EHLO smtp27.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751753AbZIIJdy (ORCPT ); Wed, 9 Sep 2009 05:33:54 -0400 Message-ID: <4AA77683.7010201@gmail.com> Date: Wed, 09 Sep 2009 11:33:55 +0200 From: Morvan Le Meut MIME-Version: 1.0 To: semiRocket CC: "linux-media@vger.kernel.org" Subject: Re: (Saa7134) Re: ADS-Tech Instant TV PCI, no remote support References: <4AA53C05.10203@gmail.com> <4AA61508.9040506@gmail.com> <4AA62C38.3050208@gmail.com> <4AA63434.1010709@gmail.com> <4AA683BD.6070601@gmail.com> <4AA695EE.70800@gmail.com> <4AA767F2.50702@gmail.com> <4AA77240.2040504@gmail.com> In-Reply-To: <4AA77240.2040504@gmail.com> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-media-owner@vger.kernel.org List-ID: Morvan Le Meut a écrit : > semiRocket a écrit : >> On Wed, 09 Sep 2009 10:31:46 +0200, Morvan Le Meut >> wrote: >> >>> Morvan Le Meut a écrit : >>>> i can use the remote now ( using devinput in lirc ) but a few >>>> quirks remains : >>>> - dmesg gives a lot of "saa7134 IR (ADS Tech Instant TV: unknown >>>> key: key=0x7f raw=0x7f down=1" >>>> - in irw most keys are misidentified ( Power as RECORD, Mute as >>>> Menu, Down as DVD and DVD is correctly identified ) >>>> >>>> i guess using ir_codes_adstech_dvb_t_pci was not such a bright idea >>>> after all :p >>>> ( i included a full dmesg output ) >>>> >>>> For now, it is enough work on my part, i'll try to correct those >>>> keycodes later. It is amazing what you can do even when you don't >>>> understand most of it :D . >>> Working on it, but i don't think everything is correct : some totaly >>> unrelated keys have the same keycode. >>> For example Jump and Volume+ or Search and Volume-. >>> >>> Beside, i keep getting " >>> Sep 9 10:17:16 debian kernel: [ 2029.892014] saa7134 IR (ADS Tech >>> Instant TV: unknown key: key=0x7f raw=0x7f down=0 >>> Sep 9 10:17:16 debian kernel: [ 2029.944029] saa7134 IR (ADS Tech >>> Instant TV: unknown key: key=0x7f raw=0x7f down=1" >>> for each recognized keypress >>> >>> I'll need a lot of help there : i don't know what to do. >>> >> >> I think that correct gpio mask in saa7134-input.c would give unique >> keycodes for every keypress. It's most likely that you need to invent >> new gpio mask, but I'm not sure about this: >> >> (http://linuxtv.org/wiki/index.php/Remote_controllers-V4L#How_to_add_remote_control_support_to_a_card_.28GPIO_remotes.29) >> >> >> I'm sorry that I can't help you any further, it's getting far beyond >> my knowledge. >> >> I'm leaving this to somebody else... >> >> -- >> To unsubscribe from this list: send the line "unsubscribe >> linux-media" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html >> > thanks, i'll try that. > > i just hope that once i'm finished with this, someone will write the > patch from that info. :) > > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-media" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > wait, from that webpage, the gpio would be different for each key, independently from the mask, so my previous attempt with ir_debug=1 means that the gpio itself is read incorrectly .. :(