Skip to contentSkip to conversation

Support for TerraTec G3?

em28xx Mauro Carvalho Chehab 1 participant 1 message Jun 21, 2011 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Em 08-06-2011 19:38, Chain von den Keiya escreveu:

Quoted 3 lines

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.

Quoted 11 lines

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

Quoted 5 lines

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

drivers/media/video/em28xx/em28xx-cards.c +2 -0
index c892a1e..d6af828 100644
@@ -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),