All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@infradead.org>
To: Chain von den Keiya <Chain@rpgfiction.net>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>, cavedon@sssup.it
Subject: Re: [em28xx] Support for TerraTec G3?
Date: Tue, 21 Jun 2011 12:27:54 -0300	[thread overview]
Message-ID: <4E00B87A.20205@infradead.org> (raw)
In-Reply-To: <201106090038.18115.Chain@rpgfiction.net>

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 <mchehab@redhat.com>


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),

           reply	other threads:[~2011-06-21 15:28 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <201106090038.18115.Chain@rpgfiction.net>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E00B87A.20205@infradead.org \
    --to=mchehab@infradead.org \
    --cc=Chain@rpgfiction.net \
    --cc=cavedon@sssup.it \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.