From patchwork Tue Jun 21 15:27:54 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 902312 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p5LFS5ZT021011 for ; Tue, 21 Jun 2011 15:28:05 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752099Ab1FUP2C (ORCPT ); Tue, 21 Jun 2011 11:28:02 -0400 Received: from casper.infradead.org ([85.118.1.10]:46588 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751493Ab1FUP2B (ORCPT ); Tue, 21 Jun 2011 11:28:01 -0400 Received: from 201-75-172-239-nd.cpe.vivax.com.br ([201.75.172.239] helo=[192.168.30.201]) by casper.infradead.org with esmtpsa (Exim 4.76 #1 (Red Hat Linux)) id 1QZ2rv-00053d-LT; Tue, 21 Jun 2011 15:27:59 +0000 Message-ID: <4E00B87A.20205@infradead.org> Date: Tue, 21 Jun 2011 12:27:54 -0300 From: Mauro Carvalho Chehab User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc15 Thunderbird/3.1.10 MIME-Version: 1.0 To: Chain von den Keiya CC: Linux Media Mailing List , cavedon@sssup.it Subject: Re: [em28xx] Support for TerraTec G3? References: <201106090038.18115.Chain@rpgfiction.net> In-Reply-To: <201106090038.18115.Chain@rpgfiction.net> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Tue, 21 Jun 2011 15:28:05 +0000 (UTC) Em 08-06-2011 19:38, Chain von den Keiya escreveu: > Hello, > > I hope this is the correct way to ask, so if it isn't, I am truly sorry. c/c the linux-media mailing list, as other people may also have the same issue. > > I have aquired a TerraTec G3 Video Grabber, USB-ID 0ccd:10a7. Now, I was > hoping that it would get detected by the em28xx driver - it contains an em2860 > chip - but it wasn't (as of 2.6.38). However, I could see that there are quite > some models which look similar, so I tried out the whole card=xx range. Didn't > help. So now the question is, can this be done? Or is it impossible and I have > to scrap this nice little device? I would be willing to help - testing > drivers, opening the device up and identify chips, et cetera. Because I think > if it's not that hard, it won't hurt if Linux supports a few more devices. > (Actually, the G1 looks similar to this one again...) > > The only thing I could find was: > http://linux.terratec.de/video_en.html - but no driver? I don't really > understand this. So, now I am at a loss, but not giving up yet. So please help > me, either by pointing me into the right direction - or by enhancing the > driver to work with this card. I pushed yesterday some patches for em2861 audio that may help to make your device work. If the model is similar to Terratec Grabby, then perhaps all that it is needed is to add your device USB ID into the kernel driver. Please test the enclosed patch. em28xx: add support for TerraTec G3 Signed-off-by: Mauro Carvalho Chehab --- 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 diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c index c892a1e..d6af828 100644 --- a/drivers/media/video/em28xx/em28xx-cards.c +++ b/drivers/media/video/em28xx/em28xx-cards.c @@ -1861,6 +1861,8 @@ struct usb_device_id em28xx_id_table[] = { .driver_info = EM2860_BOARD_TERRATEC_AV350 }, { USB_DEVICE(0x0ccd, 0x0096), .driver_info = EM2860_BOARD_TERRATEC_GRABBY }, + { USB_DEVICE(0x0ccd, 0x10a7), + .driver_info = EM2860_BOARD_TERRATEC_GRABBY }, { USB_DEVICE(0x0fd9, 0x0033), .driver_info = EM2860_BOARD_ELGATO_VIDEO_CAPTURE}, { USB_DEVICE(0x185b, 0x2870),