From patchwork Sun Jul 4 01:48:04 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jarod Wilson X-Patchwork-Id: 3730 Return-path: Envelope-to: mchehab@infradead.org Delivery-date: Sun, 04 Jul 2010 01:48:25 +0000 Received: from bombadil.infradead.org [18.85.46.34] by pedra with IMAP (fetchmail-6.3.17) for (single-drop); Sat, 03 Jul 2010 22:49:32 -0300 (BRT) Received: from vger.kernel.org ([209.132.180.67]) by bombadil.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1OVEJl-0001gx-Ic; Sun, 04 Jul 2010 01:48:25 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756670Ab0GDBsO (ORCPT + 1 other); Sat, 3 Jul 2010 21:48:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:23151 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756662Ab0GDBsK (ORCPT ); Sat, 3 Jul 2010 21:48:10 -0400 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o641m67c027103 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 3 Jul 2010 21:48:07 -0400 Received: from ihatethathostname.lab.bos.redhat.com (ihatethathostname.lab.bos.redhat.com [10.16.43.238]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o641m5qv023131 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 3 Jul 2010 21:48:06 -0400 Received: from ihatethathostname.lab.bos.redhat.com (ihatethathostname.lab.bos.redhat.com [127.0.0.1]) by ihatethathostname.lab.bos.redhat.com (8.14.4/8.14.3) with ESMTP id o641m5TQ017387; Sat, 3 Jul 2010 21:48:05 -0400 Received: (from jarod@localhost) by ihatethathostname.lab.bos.redhat.com (8.14.4/8.14.4/Submit) id o641m4He017385; Sat, 3 Jul 2010 21:48:04 -0400 X-Authentication-Warning: ihatethathostname.lab.bos.redhat.com: jarod set sender to jarod@redhat.com using -f Date: Sat, 3 Jul 2010 21:48:04 -0400 From: Jarod Wilson To: linux-media@vger.kernel.org Cc: Pieter Hoekstra Subject: [PATCH] IR/imon: auto-configure another 0xffdc device variant Message-ID: <20100704014804.GE17081@redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-12-10) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Per Pieter Hoekstra: I have a Antec Fusion with a iMON Lcd and I get the following error: imon 6-1:1.0: Unknown 0xffdc device, defaulting to VFD and iMON IR (id 0x9e) The driver is functional if I load it like this: (I do not use a remote for it) modprobe imon display_type=1 (On Mythbuntu 10.04/2.6.32) This device is a lcd-type with support for a MCE remote. Looking at the source code, this device (0x9e) is the same as id 0x9f. Signed-off-by: Jarod Wilson --- drivers/media/IR/imon.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/media/IR/imon.c b/drivers/media/IR/imon.c index 4b1fe9b..71eeb85 100644 --- a/drivers/media/IR/imon.c +++ b/drivers/media/IR/imon.c @@ -2059,6 +2059,7 @@ static void imon_get_ffdc_type(struct imon_context *ictx) detected_display_type = IMON_DISPLAY_TYPE_VFD; break; /* iMON LCD, MCE IR */ + case 0x9e: case 0x9f: dev_info(ictx->dev, "0xffdc iMON LCD, MCE IR"); detected_display_type = IMON_DISPLAY_TYPE_LCD;