Re: [PATCH] [media] em28xx TerraTec Cinergy Hybrid T USB XS with demodulator MT352 is not detect by em28xx
Hi Mauro, this is the output of lsusb -v of my device with demodulator MT352 which works with EM2880. Bus 002 Device 002: ID 0ccd:0042 TerraTec Electronic GmbH Cinergy Hybrid T XS Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize064 idVendor 0x0ccd TerraTec Electronic GmbH idProduct 0x0042 Cinergy Hybrid T XS bcdDevice1.00 iManufacturer 2 TerraTec Electronic GmbH iProduct1 Cinergy Hybrid T USB XS iSerial 0 bNumConfigurations 1 Regards, Giovanni > Sent: Friday, June 23, 2017 at 12:38 PM > From: "Mauro Carvalho Chehab" <mche...@infradead.org> > To: "Hans Verkuil" <hverk...@xs4all.nl> > Cc: juv...@caramail.fr, linux-media@vger.kernel.org > Subject: Re: [PATCH] [media] em28xx TerraTec Cinergy Hybrid T USB XS with > demodulator MT352 is not detect by em28xx > > Em Fri, 23 Jun 2017 11:22:50 +0200 > Hans Verkuil <hverk...@xs4all.nl> escreveu: > > > Hi Giovanni, > > > > On 06/10/17 09:13, juv...@caramail.fr wrote: > > > TerraTec Cinergy Hybrid T USB XS with demodulator MT352 stop working with > > > kernel 3.xx and newer. > > > I have already sent this patch without a success reply, I hope this time > > > you can accept it. > > > > > > --- /usr/src/linux-3.14.3/drivers/media/usb/em28xx/em28xx-cards.c.orig > > > 2014-05-06 16:59:58.0 +0200 > > > +++ /usr/src/linux-3.14.3/drivers/media/usb/em28xx/em28xx-cards.c > > > 2014-05-07 15:18:31.719524453 +0200 > > > @@ -2233,7 +2233,7 @@ > > > { USB_DEVICE(0x0ccd, 0x005e), > > > .driver_info = EM2882_BOARD_TERRATEC_HYBRID_XS }, > > > { USB_DEVICE(0x0ccd, 0x0042), > > > - .driver_info = EM2882_BOARD_TERRATEC_HYBRID_XS }, > > > + .driver_info = EM2880_BOARD_TERRATEC_HYBRID_XS }, > > > { USB_DEVICE(0x0ccd, 0x0043), > > > .driver_info = EM2870_BOARD_TERRATEC_XS }, > > > { USB_DEVICE(0x0ccd, 0x008e), /* Cinergy HTC USB XS Rev. 1 */ > > > > > > This patch is working also on kernel 4.xx I have tested kernel 4.3 and > > > 4.9 > > > > I checked the commit that changed the original > > EM2880_BOARD_TERRATEC_HYBRID_XS > > to EM2882_BOARD_TERRATEC_HYBRID_XS and it says this: > > > > commit 9124544320bd36d5aa21769d17a5781ba729aebf > > Author: Philippe Bourdin <ric...@angiebecker.ch> > > Date: Sun Oct 31 09:57:58 2010 -0300 > > > > [media] Terratec Cinergy Hybrid T USB XS > > > > I found that the problems people have reported with the USB-TV-stick > > "Terratec Cinergy Hybrid T USB XS" (USB-ID: 0ccd:0042) > > are coming from a wrong header file in the v4l-sources. > > > > Attached is a diff, which fixes the problem (tested successfully here). > > Obviously the USB-ID has been associated with a wrong chip: EM2880 > > instead of EM2882, which would be correct. > > > > Reported-by: Philippe Bourdin <ric...@angiebecker.ch> > > Signed-off-by: Mauro Carvalho Chehab <mche...@redhat.com> > > > > So it looks like there are two variants with the same USB ID: one uses > > the EM2880, one uses the EM2882. Since nobody else complained I expect > > that most devices with this USB ID are in fact using the EM2882. > > > > I won't apply this patch, since that would break it for others. > > > > The best solution for you is to explicitly set the card using the > > 'card=11' em28xx module option. > > > > I've CC-ed Mauro in case he knows a better solution. > > If the newest original driver from the manufacturer supports both > versions, perhaps the *.INF file there would help to identify what > version is there, by using the USB revision numbers. > > We have this for USB ID 1554:5010, for example. That specific USB ID > actually use two different drivers, depending on the review. > > Either cx231xx: > > {USB_DEVICE_VER(USB_VID_PIXELVIEW, USB_PID_PIXELVIEW_SBTVD, 0x4000, > 0x4001), >.driver_info = CX231XX_BOARD_PV_PLAYTV_USB_HYBRID}, > > or dib0700: > > { USB_DEVICE_VER(USB_VID_PIXELVIEW, USB_PID_PIXELVIEW_SBTVD, 0x000, > 0x3f00) }, > > Unfortunately, I don't have any contacts at Terratec anymore, so we'll > need to get it the hard wa
Re: [PATCH] [media] em28xx TerraTec Cinergy Hybrid T USB XS with demodulator MT352 is not detect by em28xx
Em Fri, 23 Jun 2017 11:22:50 +0200 Hans Verkuil <hverk...@xs4all.nl> escreveu: > Hi Giovanni, > > On 06/10/17 09:13, juv...@caramail.fr wrote: > > TerraTec Cinergy Hybrid T USB XS with demodulator MT352 stop working with > > kernel 3.xx and newer. > > I have already sent this patch without a success reply, I hope this time > > you can accept it. > > > > --- /usr/src/linux-3.14.3/drivers/media/usb/em28xx/em28xx-cards.c.orig > > 2014-05-06 16:59:58.0 +0200 > > +++ /usr/src/linux-3.14.3/drivers/media/usb/em28xx/em28xx-cards.c > > 2014-05-07 15:18:31.719524453 +0200 > > @@ -2233,7 +2233,7 @@ > > { USB_DEVICE(0x0ccd, 0x005e), > > .driver_info = EM2882_BOARD_TERRATEC_HYBRID_XS }, > > { USB_DEVICE(0x0ccd, 0x0042), > > - .driver_info = EM2882_BOARD_TERRATEC_HYBRID_XS }, > > + .driver_info = EM2880_BOARD_TERRATEC_HYBRID_XS }, > > { USB_DEVICE(0x0ccd, 0x0043), > > .driver_info = EM2870_BOARD_TERRATEC_XS }, > > { USB_DEVICE(0x0ccd, 0x008e), /* Cinergy HTC USB XS Rev. 1 */ > > > > This patch is working also on kernel 4.xx I have tested kernel 4.3 and 4.9 > > I checked the commit that changed the original EM2880_BOARD_TERRATEC_HYBRID_XS > to EM2882_BOARD_TERRATEC_HYBRID_XS and it says this: > > commit 9124544320bd36d5aa21769d17a5781ba729aebf > Author: Philippe Bourdin <ric...@angiebecker.ch> > Date: Sun Oct 31 09:57:58 2010 -0300 > > [media] Terratec Cinergy Hybrid T USB XS > > I found that the problems people have reported with the USB-TV-stick > "Terratec Cinergy Hybrid T USB XS" (USB-ID: 0ccd:0042) > are coming from a wrong header file in the v4l-sources. > > Attached is a diff, which fixes the problem (tested successfully here). > Obviously the USB-ID has been associated with a wrong chip: EM2880 > instead of EM2882, which would be correct. > > Reported-by: Philippe Bourdin <ric...@angiebecker.ch> > Signed-off-by: Mauro Carvalho Chehab <mche...@redhat.com> > > So it looks like there are two variants with the same USB ID: one uses > the EM2880, one uses the EM2882. Since nobody else complained I expect > that most devices with this USB ID are in fact using the EM2882. > > I won't apply this patch, since that would break it for others. > > The best solution for you is to explicitly set the card using the > 'card=11' em28xx module option. > > I've CC-ed Mauro in case he knows a better solution. If the newest original driver from the manufacturer supports both versions, perhaps the *.INF file there would help to identify what version is there, by using the USB revision numbers. We have this for USB ID 1554:5010, for example. That specific USB ID actually use two different drivers, depending on the review. Either cx231xx: {USB_DEVICE_VER(USB_VID_PIXELVIEW, USB_PID_PIXELVIEW_SBTVD, 0x4000, 0x4001), .driver_info = CX231XX_BOARD_PV_PLAYTV_USB_HYBRID}, or dib0700: { USB_DEVICE_VER(USB_VID_PIXELVIEW, USB_PID_PIXELVIEW_SBTVD, 0x000, 0x3f00) }, Unfortunately, I don't have any contacts at Terratec anymore, so we'll need to get it the hard way: people with this hardware should report the version of the hardware, by using lsusb -v. It should report something like: Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Couldn't open device, some information will be missing Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass9 Hub bDeviceSubClass 0 bDeviceProtocol 1 Single TT bMaxPacketSize064 idVendor 0x1d6b Linux Foundation idProduct 0x0002 2.0 root hub bcdDevice4.10 iManufacturer 3 iProduct2 iSerial 1 The USB_DEVICE_VER macro is: #define USB_DEVICE_VER(vend, prod, lo, hi) \ .match_flags = USB_DEVICE_ID_MATCH_DEVICE_AND_VERSION, \ .idVendor = (vend), \ .idProduct = (prod), \ .bcdDevice_lo = (lo), \ .bcdDevice_hi = (hi) So, it basically uses the field "bcdDevice" in order to detect for a specific hardware version. Please notice that, ideally, we need the "bcdDevice" data for both the em2880 and em2882 versions in to fix it and be sure that the manufacturer changed it on the newest version. The *.INF file may contain such information, with would make our lives a way easier. Regards, Mauro
Re: [PATCH] [media] em28xx TerraTec Cinergy Hybrid T USB XS with demodulator MT352 is not detect by em28xx
Hi Giovanni, On 06/10/17 09:13, juv...@caramail.fr wrote: > TerraTec Cinergy Hybrid T USB XS with demodulator MT352 stop working with > kernel 3.xx and newer. > I have already sent this patch without a success reply, I hope this time you > can accept it. > > --- /usr/src/linux-3.14.3/drivers/media/usb/em28xx/em28xx-cards.c.orig > 2014-05-06 16:59:58.0 +0200 > +++ /usr/src/linux-3.14.3/drivers/media/usb/em28xx/em28xx-cards.c > 2014-05-07 15:18:31.719524453 +0200 > @@ -2233,7 +2233,7 @@ > { USB_DEVICE(0x0ccd, 0x005e), > .driver_info = EM2882_BOARD_TERRATEC_HYBRID_XS }, > { USB_DEVICE(0x0ccd, 0x0042), > - .driver_info = EM2882_BOARD_TERRATEC_HYBRID_XS }, > + .driver_info = EM2880_BOARD_TERRATEC_HYBRID_XS }, > { USB_DEVICE(0x0ccd, 0x0043), > .driver_info = EM2870_BOARD_TERRATEC_XS }, > { USB_DEVICE(0x0ccd, 0x008e), /* Cinergy HTC USB XS Rev. 1 */ > > This patch is working also on kernel 4.xx I have tested kernel 4.3 and 4.9 I checked the commit that changed the original EM2880_BOARD_TERRATEC_HYBRID_XS to EM2882_BOARD_TERRATEC_HYBRID_XS and it says this: commit 9124544320bd36d5aa21769d17a5781ba729aebf Author: Philippe Bourdin <ric...@angiebecker.ch> Date: Sun Oct 31 09:57:58 2010 -0300 [media] Terratec Cinergy Hybrid T USB XS I found that the problems people have reported with the USB-TV-stick "Terratec Cinergy Hybrid T USB XS" (USB-ID: 0ccd:0042) are coming from a wrong header file in the v4l-sources. Attached is a diff, which fixes the problem (tested successfully here). Obviously the USB-ID has been associated with a wrong chip: EM2880 instead of EM2882, which would be correct. Reported-by: Philippe Bourdin <ric...@angiebecker.ch> Signed-off-by: Mauro Carvalho Chehab <mche...@redhat.com> So it looks like there are two variants with the same USB ID: one uses the EM2880, one uses the EM2882. Since nobody else complained I expect that most devices with this USB ID are in fact using the EM2882. I won't apply this patch, since that would break it for others. The best solution for you is to explicitly set the card using the 'card=11' em28xx module option. I've CC-ed Mauro in case he knows a better solution. Regards, Hans
[PATCH] [media] em28xx TerraTec Cinergy Hybrid T USB XS with demodulator MT352 is not detect by em28xx
TerraTec Cinergy Hybrid T USB XS with demodulator MT352 stop working with kernel 3.xx and newer. I have already sent this patch without a success reply, I hope this time you can accept it. --- /usr/src/linux-3.14.3/drivers/media/usb/em28xx/em28xx-cards.c.orig 2014-05-06 16:59:58.0 +0200 +++ /usr/src/linux-3.14.3/drivers/media/usb/em28xx/em28xx-cards.c 2014-05-07 15:18:31.719524453 +0200 @@ -2233,7 +2233,7 @@ { USB_DEVICE(0x0ccd, 0x005e), .driver_info = EM2882_BOARD_TERRATEC_HYBRID_XS }, { USB_DEVICE(0x0ccd, 0x0042), - .driver_info = EM2882_BOARD_TERRATEC_HYBRID_XS }, + .driver_info = EM2880_BOARD_TERRATEC_HYBRID_XS }, { USB_DEVICE(0x0ccd, 0x0043), .driver_info = EM2870_BOARD_TERRATEC_XS }, { USB_DEVICE(0x0ccd, 0x008e), /* Cinergy HTC USB XS Rev. 1 */ This patch is working also on kernel 4.xx I have tested kernel 4.3 and 4.9 Thank you Giovanni
TerraTec Cinergy Hybrid T USB XS with demodulator MT352 is not detect by em28xx - Bug 108061
Hi, I report this bug from bugzilla, so I hope someone can patch the main tree. https://bugzilla.kernel.org/show_bug.cgi?id=108061 you can find the patch attached to bugzilla or original from linuxtv http://linuxtv.org/pipermail/linux-dvb/2014-May/032967.html Thank you Giovanni -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH] TerraTec Cinergy Hybrid T USB XS with demodulator MT352 is not detect by em28xx
Hi, I have Terratec Cinergy Hybrid T USB XS 00cd:0042, I'm trying to make it work with kernel 3.14.3 but I have a problem. With old kernel 2.6 this device was working, but now I thought there is a little misconfiguration in driver em28xx. I looking information on this link http://www.linuxtv.org/wiki/index.php/TerraTec_Cinergy_Hybrid_T_USB_XS and my device can have ZL10353 or MT352 demulator, my device has MT352 and has a Em2880 usb bridge. Here the dmesg with original kernel 3.14.3 [ 670.727877] usb 3-1: new high-speed USB device number 5 using xhci_hcd [ 670.865134] usb 3-1: New USB device found, idVendor=0ccd, idProduct=0042 [ 670.865147] usb 3-1: New USB device strings: Mfr=2, Product=1, SerialNumber=0 [ 670.865154] usb 3-1: Product: Cinergy Hybrid T USB XS [ 670.865160] usb 3-1: Manufacturer: TerraTec Electronic GmbH [ 670.900385] em28xx: New device TerraTec Electronic GmbH Cinergy Hybrid T USB XS @ 480 Mbps (0ccd:0042, interface 0, class 0) [ 670.900391] em28xx: Video interface 0 found: isoc [ 670.900393] em28xx: DVB interface 0 found: isoc [ 670.900431] em28xx: chip ID is em2882/3 [ 671.070669] em2882/3 #0: EEPROM ID = 1a eb 67 95, EEPROM hash = 0x303d5d95 [ 671.070677] em2882/3 #0: EEPROM info: [ 671.070681] em2882/3 #0: AC97 audio (5 sample rates) [ 671.070684] em2882/3 #0: 500mA max power [ 671.070689] em2882/3 #0: Table at offset 0x06, strings=0x329e, 0x346a, 0x [ 671.070696] em2882/3 #0: Identified as Terratec Cinnergy Hybrid T USB XS (em2882) (card=55) [ 671.070701] em2882/3 #0: analog set to isoc mode. [ 671.070704] em2882/3 #0: dvb set to isoc mode. [ 671.070823] usbcore: registered new interface driver em28xx [ 671.082716] em2882/3 #0: Binding DVB extension [ 671.140861] em2882/3 #0: /2: dvb frontend not attached. Can't attach xc3028 [ 671.140875] em28xx: Registered (Em28xx dvb Extension) extension [ 671.144670] em2882/3 #0: Registering input extension [ 671.145161] Registered IR keymap rc-terratec-cinergy-xs [ 671.145394] input: em28xx IR (em2882/3 #0) as /devices/pci:00/:00:14.0/usb3/3-1/rc/rc0/input22 [ 671.145823] rc0: em28xx IR (em2882/3 #0) as /devices/pci:00/:00:14.0/usb3/3-1/rc/rc0 [ 671.145927] em2882/3 #0: Input extension successfully initalized [ 671.145933] em28xx: Registered (Em28xx Input Extension) extension I have firmware 2.7 in /lib/firmware, but the problem is not the firmware. in the source file drivers/media/usb/em28xx/em28xx-cards.c my device is configured as { USB_DEVICE(0x0ccd, 0x0042), .driver_info = EM2882_BOARD_TERRATEC_HYBRID_XS }, but for this configuration in drivers/media/usb/em28xx/em28xx-dvb.c only zl10353 is tried to attach for dvb adapter, in my case there is an issue. case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900: case EM2882_BOARD_TERRATEC_HYBRID_XS: case EM2880_BOARD_EMPIRE_DUAL_TV: dvb-fe[0] = dvb_attach(zl10353_attach, em28xx_zl10353_xc3028_no_i2c_gate, dev-i2c_adap[dev-def_i2c_bus]); if (em28xx_attach_xc3028(0x61, dev) 0) { result = -EINVAL; goto out_free; } break; I tried this patch --- /usr/src/linux-3.14.3/drivers/media/usb/em28xx/em28xx-cards.c.orig 2014-05-06 16:59:58.0 +0200 +++ /usr/src/linux-3.14.3/drivers/media/usb/em28xx/em28xx-cards.c 2014-05-07 15:18:31.719524453 +0200 @@ -2233,7 +2233,7 @@ { USB_DEVICE(0x0ccd, 0x005e), .driver_info = EM2882_BOARD_TERRATEC_HYBRID_XS }, { USB_DEVICE(0x0ccd, 0x0042), - .driver_info = EM2882_BOARD_TERRATEC_HYBRID_XS }, + .driver_info = EM2880_BOARD_TERRATEC_HYBRID_XS }, { USB_DEVICE(0x0ccd, 0x0043), .driver_info = EM2870_BOARD_TERRATEC_XS }, { USB_DEVICE(0x0ccd, 0x008e), /* Cinergy HTC USB XS Rev. 1 */ so my device became a EM2880_BOARD_TERRATEC_HYBRID_XS and in em28xx-dvb.c also MT352 is tried to attach case EM2880_BOARD_TERRATEC_HYBRID_XS: case EM2880_BOARD_TERRATEC_HYBRID_XS_FR: case EM2881_BOARD_PINNACLE_HYBRID_PRO: case EM2882_BOARD_DIKOM_DK300: case EM2882_BOARD_KWORLD_VS_DVBT: dvb-fe[0] = dvb_attach(zl10353_attach, em28xx_zl10353_xc3028_no_i2c_gate, dev-i2c_adap[dev-def_i2c_bus]); if (dvb-fe[0] == NULL) { /* This board could have either a zl10353 or a mt352. If the chip id isn't for zl10353, try mt352 */ dvb-fe[0] = dvb_attach(mt352_attach, terratec_xs_mt352_cfg, dev-i2c_adap[dev-def_i2c_bus]); } if (em28xx_attach_xc3028(0x61, dev) 0
Terratec Cinergy Hybrid T USB XS
Hello, I found that the problems people have reported with the USB-TV-stick Terratec Cinergy Hybrid T USB XS (USB-ID: 0ccd:0042) are coming from a wrong header file in the v4l-sources. Attached is a diff, which fixes the problem (tested successfully here). Obviously the USB-ID has been associated with a wrong chip: EM2880 instead of EM2882, which would be correct. Thanks and best regards, Philippe Bourdin. --- v4l-dvb.orig/linux/drivers/media/video/em28xx/em28xx-cards.c 2010-07-11 16:27:35.0 +0200 +++ v4l-dvb/linux/drivers/media/video/em28xx/em28xx-cards.c 2010-07-10 17:18:42.0 +0200 @@ -1494,7 +1494,7 @@ } }, }, [EM2882_BOARD_TERRATEC_HYBRID_XS] = { - .name = Terratec Hybrid XS (em2882), + .name = Terratec Cinnergy Hybrid T USB XS (em2882), .tuner_type = TUNER_XC2028, .tuner_gpio = default_tuner_gpio, .mts_firmware = 1, @@ -1794,7 +1794,7 @@ { USB_DEVICE(0x0ccd, 0x005e), .driver_info = EM2882_BOARD_TERRATEC_HYBRID_XS }, { USB_DEVICE(0x0ccd, 0x0042), - .driver_info = EM2880_BOARD_TERRATEC_HYBRID_XS }, + .driver_info = EM2882_BOARD_TERRATEC_HYBRID_XS }, { USB_DEVICE(0x0ccd, 0x0043), .driver_info = EM2870_BOARD_TERRATEC_XS }, { USB_DEVICE(0x0ccd, 0x0047),
Re: [PATCH] Terratec Cinergy Hybrid T USB XS FR
Le 16/10/2010 04:38, Mauro Carvalho Chehab a écrit : Em 04-10-2010 16:32, Catimimi escreveu: New gpio definitions. XC3028_FE_ZARLINK456 was not loaded. Signed-off-by: Michel Garniercatim...@libertysurf.fr --- diff -Nru v4l-dvb-1da5fed5c8b2-orig/linux/drivers/media/video/em28xx/em28xx-cards.c v4l-dvb-1da5fed5c8b2-new/linux/drivers/media/video/em28xx/em28xx-cards.c --- v4l-dvb-1da5fed5c8b2-orig/linux/drivers/media/video/em28xx/em28xx-cards.c 2010-09-19 07:23:09.0 +0200 +++ v4l-dvb-1da5fed5c8b2-new/linux/drivers/media/video/em28xx/em28xx-cards.c 2010-10-04 19:05:11.0 +0200 @@ -200,6 +200,18 @@ {-1,-1,-1,-1}, }; +static struct em28xx_reg_seq terratec_cinergy_USB_XS_analog[] = { +{EM28XX_R08_GPIO,0x6d,~EM_GPIO_4,10}, +{EM2880_R04_GPO,0x00,0xff,10}, +{ -1,-1,-1,-1}, +}; + +static struct em28xx_reg_seq terratec_cinergy_USB_XS_digital[] = { +{EM28XX_R08_GPIO,0x6e,~EM_GPIO_4,10}, +{EM2880_R04_GPO,0x08,0xff,10}, +{ -1,-1,-1,-1}, +}; + /* eb1a:2868 Reddo DVB-C USB TV Box GPIO4 - CU1216L NIM Other GPIOs seems to be don't care. */ @@ -824,22 +836,22 @@ .tuner_gpio = default_tuner_gpio, .decoder = EM28XX_TVP5150, .has_dvb = 1, -.dvb_gpio = default_digital, +.dvb_gpio = terratec_cinergy_USB_XS_digital, .input= { { .type = EM28XX_VMUX_TELEVISION, .vmux = TVP5150_COMPOSITE0, .amux = EM28XX_AMUX_VIDEO, -.gpio = default_analog, +.gpio = terratec_cinergy_USB_XS_analog, }, { .type = EM28XX_VMUX_COMPOSITE1, .vmux = TVP5150_COMPOSITE1, .amux = EM28XX_AMUX_LINE_IN, -.gpio = default_analog, +.gpio = terratec_cinergy_USB_XS_analog, }, { .type = EM28XX_VMUX_SVIDEO, .vmux = TVP5150_SVIDEO, .amux = EM28XX_AMUX_LINE_IN, -.gpio = default_analog, +.gpio = terratec_cinergy_USB_XS_analog, } }, }, [EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900] = { @@ -2259,6 +2271,7 @@ ctl-demod = XC3028_FE_ZARLINK456; break; case EM2880_BOARD_TERRATEC_HYBRID_XS: +case EM2880_BOARD_TERRATEC_HYBRID_XS_FR: Hmm... do you have a different device, right? Please, don't change the entries of the original Hybrid XS, or it will cause a regression for the others. Instead, create another entry describing your board. Also, please use tabs for indent. A tab in Linux have 8 spaces, and not four. case EM2881_BOARD_PINNACLE_HYBRID_PRO: ctl-demod = XC3028_FE_ZARLINK456; break; -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html , Hello I didn't change the entries of original Hybrid XS. I created new entries which I use for XS_FR. These new entries were necessaries for a good working with 64 bits kernels. So there is no regression. In order to be clear I renamed the new entries to XS_FR. OK for the tabs, the mail agents converted them to spaces, so I include a file. My last proposal is : New gpio definitions XC3028_FE_ZARLINK456 was not loaded. Signed-off-by: Michel Garniercatim...@libertysurfhel Regards Michel. diff -ru v4l-dvb-1da5fed5c8b2-old/linux/drivers/media/video/em28xx/em28xx-cards.c v4l-dvb-1da5fed5c8b2-new/linux/drivers/media/video/em28xx/em28xx-cards.c --- v4l-dvb-1da5fed5c8b2-old/linux/drivers/media/video/em28xx/em28xx-cards.c 2010-03-04 06:49:46.0 +0100 +++ v4l-dvb-1da5fed5c8b2-new/linux/drivers/media/video/em28xx/em28xx-cards.c 2010-03-05 21:16:36.0 +0100 @@ -200,6 +200,18 @@ { -1, -1, -1, -1}, }; +static struct em28xx_reg_seq terratec_cinergy_USB_XS_FR_analog[] = { + {EM28XX_R08_GPIO, 0x6d, ~EM_GPIO_4, 10}, + {EM2880_R04_GPO, 0x00, 0xff, 10}, + { -1, -1, -1, -1}, +}; + +static struct em28xx_reg_seq terratec_cinergy_USB_XS_FR_digital[] = { + {EM28XX_R08_GPIO, 0x6e, ~EM_GPIO_4, 10}, + {EM2880_R04_GPO, 0x08, 0xff, 10}, + { -1, -1, -1, -1}, +}; + /* eb1a:2868 Reddo DVB-C USB TV Box GPIO4 - CU1216L NIM Other GPIOs seems to be don't care. */ @@ -824,22 +836,22 @@ .tuner_gpio = default_tuner_gpio, .decoder = EM28XX_TVP5150, .has_dvb = 1, - .dvb_gpio = default_digital, + .dvb_gpio = terratec_cinergy_USB_XS_FR_digital, .input= { { .type
Re: [PATCH] Terratec Cinergy Hybrid T USB XS FR
Em 04-10-2010 16:32, Catimimi escreveu: New gpio definitions. XC3028_FE_ZARLINK456 was not loaded. Signed-off-by: Michel Garniercatim...@libertysurf.fr --- diff -Nru v4l-dvb-1da5fed5c8b2-orig/linux/drivers/media/video/em28xx/em28xx-cards.c v4l-dvb-1da5fed5c8b2-new/linux/drivers/media/video/em28xx/em28xx-cards.c --- v4l-dvb-1da5fed5c8b2-orig/linux/drivers/media/video/em28xx/em28xx-cards.c 2010-09-19 07:23:09.0 +0200 +++ v4l-dvb-1da5fed5c8b2-new/linux/drivers/media/video/em28xx/em28xx-cards.c 2010-10-04 19:05:11.0 +0200 @@ -200,6 +200,18 @@ {-1,-1,-1,-1}, }; +static struct em28xx_reg_seq terratec_cinergy_USB_XS_analog[] = { +{EM28XX_R08_GPIO,0x6d,~EM_GPIO_4,10}, +{EM2880_R04_GPO,0x00,0xff,10}, +{ -1,-1,-1,-1}, +}; + +static struct em28xx_reg_seq terratec_cinergy_USB_XS_digital[] = { +{EM28XX_R08_GPIO,0x6e,~EM_GPIO_4,10}, +{EM2880_R04_GPO,0x08,0xff,10}, +{ -1,-1,-1,-1}, +}; + /* eb1a:2868 Reddo DVB-C USB TV Box GPIO4 - CU1216L NIM Other GPIOs seems to be don't care. */ @@ -824,22 +836,22 @@ .tuner_gpio = default_tuner_gpio, .decoder = EM28XX_TVP5150, .has_dvb = 1, -.dvb_gpio = default_digital, +.dvb_gpio = terratec_cinergy_USB_XS_digital, .input= { { .type = EM28XX_VMUX_TELEVISION, .vmux = TVP5150_COMPOSITE0, .amux = EM28XX_AMUX_VIDEO, -.gpio = default_analog, +.gpio = terratec_cinergy_USB_XS_analog, }, { .type = EM28XX_VMUX_COMPOSITE1, .vmux = TVP5150_COMPOSITE1, .amux = EM28XX_AMUX_LINE_IN, -.gpio = default_analog, +.gpio = terratec_cinergy_USB_XS_analog, }, { .type = EM28XX_VMUX_SVIDEO, .vmux = TVP5150_SVIDEO, .amux = EM28XX_AMUX_LINE_IN, -.gpio = default_analog, +.gpio = terratec_cinergy_USB_XS_analog, } }, }, [EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900] = { @@ -2259,6 +2271,7 @@ ctl-demod = XC3028_FE_ZARLINK456; break; case EM2880_BOARD_TERRATEC_HYBRID_XS: +case EM2880_BOARD_TERRATEC_HYBRID_XS_FR: Hmm... do you have a different device, right? Please, don't change the entries of the original Hybrid XS, or it will cause a regression for the others. Instead, create another entry describing your board. Also, please use tabs for indent. A tab in Linux have 8 spaces, and not four. case EM2881_BOARD_PINNACLE_HYBRID_PRO: ctl-demod = XC3028_FE_ZARLINK456; break; -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH] Terratec Cinergy Hybrid T USB XS FR
New gpio definitions. XC3028_FE_ZARLINK456 was not loaded. Signed-off-by: Michel Garniercatim...@libertysurf.fr --- diff -Nru v4l-dvb-1da5fed5c8b2-orig/linux/drivers/media/video/em28xx/em28xx-cards.c v4l-dvb-1da5fed5c8b2-new/linux/drivers/media/video/em28xx/em28xx-cards.c --- v4l-dvb-1da5fed5c8b2-orig/linux/drivers/media/video/em28xx/em28xx-cards.c 2010-09-19 07:23:09.0 +0200 +++ v4l-dvb-1da5fed5c8b2-new/linux/drivers/media/video/em28xx/em28xx-cards.c 2010-10-04 19:05:11.0 +0200 @@ -200,6 +200,18 @@ {-1,-1,-1,-1}, }; +static struct em28xx_reg_seq terratec_cinergy_USB_XS_analog[] = { +{EM28XX_R08_GPIO,0x6d,~EM_GPIO_4,10}, +{EM2880_R04_GPO,0x00,0xff,10}, +{ -1,-1,-1,-1}, +}; + +static struct em28xx_reg_seq terratec_cinergy_USB_XS_digital[] = { +{EM28XX_R08_GPIO,0x6e,~EM_GPIO_4,10}, +{EM2880_R04_GPO,0x08,0xff,10}, +{ -1,-1,-1,-1}, +}; + /* eb1a:2868 Reddo DVB-C USB TV Box GPIO4 - CU1216L NIM Other GPIOs seems to be don't care. */ @@ -824,22 +836,22 @@ .tuner_gpio = default_tuner_gpio, .decoder = EM28XX_TVP5150, .has_dvb = 1, -.dvb_gpio = default_digital, +.dvb_gpio = terratec_cinergy_USB_XS_digital, .input= { { .type = EM28XX_VMUX_TELEVISION, .vmux = TVP5150_COMPOSITE0, .amux = EM28XX_AMUX_VIDEO, -.gpio = default_analog, +.gpio = terratec_cinergy_USB_XS_analog, }, { .type = EM28XX_VMUX_COMPOSITE1, .vmux = TVP5150_COMPOSITE1, .amux = EM28XX_AMUX_LINE_IN, -.gpio = default_analog, +.gpio = terratec_cinergy_USB_XS_analog, }, { .type = EM28XX_VMUX_SVIDEO, .vmux = TVP5150_SVIDEO, .amux = EM28XX_AMUX_LINE_IN, -.gpio = default_analog, +.gpio = terratec_cinergy_USB_XS_analog, } }, }, [EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900] = { @@ -2259,6 +2271,7 @@ ctl-demod = XC3028_FE_ZARLINK456; break; case EM2880_BOARD_TERRATEC_HYBRID_XS: +case EM2880_BOARD_TERRATEC_HYBRID_XS_FR: case EM2881_BOARD_PINNACLE_HYBRID_PRO: ctl-demod = XC3028_FE_ZARLINK456; break; -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Terratec Cinergy Hybrid T USB XS FR is no longer working
Hi, I upgraded my opensuse kernel to version 2.6.31.14-0.1 and compiled v4l-dvd downloaded from Mercurial and now my device Terratec Cinergy Hybrid T USB XS FR doesn't work. Here is my dmesg : [ 845.348066] usb 2-3: new high speed USB device using ehci_hcd and address 4 [ 845.490641] usb 2-3: New USB device found, idVendor=0ccd, idProduct=004c [ 845.490659] usb 2-3: New USB device strings: Mfr=2, Product=1, SerialNumber=0 [ 845.490671] usb 2-3: Product: Cinergy Hybrid T USB XS FR [ 845.490681] usb 2-3: Manufacturer: TerraTec Electronic GmbH [ 845.490850] usb 2-3: configuration #1 chosen from 1 choice [ 845.515209] v4l2_common: disagrees about version of symbol v4l2_device_register_subdev [ 845.515221] v4l2_common: Unknown symbol v4l2_device_register_subdev [ 845.515342] v4l2_common: disagrees about version of symbol v4l2_device_unregister_subdev [ 845.515350] v4l2_common: Unknown symbol v4l2_device_unregister_subdev [ 845.584812] v4l2_common: disagrees about version of symbol v4l2_device_register_subdev [ 845.584825] v4l2_common: Unknown symbol v4l2_device_register_subdev [ 845.584946] v4l2_common: disagrees about version of symbol v4l2_device_unregister_subdev [ 845.584954] v4l2_common: Unknown symbol v4l2_device_unregister_subdev [ 845.690309] v4l2_common: disagrees about version of symbol v4l2_device_register_subdev [ 845.690328] v4l2_common: Unknown symbol v4l2_device_register_subdev [ 845.690524] v4l2_common: disagrees about version of symbol v4l2_device_unregister_subdev [ 845.690537] v4l2_common: Unknown symbol v4l2_device_unregister_subdev [ 845.706641] usbcore: registered new interface driver snd-usb-audio What can I do in order to solve the problem. Thanks in advance. Regards. Michel. -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Terratec Cinergy Hybrid T USB XS (no audio)
Hello all, just want to let you know, that I found a bug in the em28xx driver, which prevents the audio part of mentioned USB card to work. Basically it is (to the best of my knowledge) just a typo in 'em28xx.h' where the define for card #55 EM2880_BOARD_TERRATEC_HYBRID_XS should be replaced by EM2882_BOARD_TERRATEC_HYBRID_XS. Btw. the USB-ID is: 0ccd:0042. The correct product name is: Terratec Cinnergy Hybrid T USB XS (em2882) which should be corrected in 'em28xx-cards.c' for EM2882_BOARD_TERRATEC_HYBRID_XS. After recompiling, reinstalling, rebooting *and* then first doing a # modprobe em28xx-alsa I can get sound by redirecting the cards output with a command like: # padsp sox -r 48000 -c 2 -t alsa hw:1,0 -t alsa hw:0,0 I hope this information helps others to get their cards working, since you see quiet some of these cards on auction sites these days... (Sorry for corss-posting this to linux-me...@vger and video4linux-l...@redhat but I want to reach all responsible people.) Best regards, I will have to unsubscribe now, Philippe Bourdin. -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [patch] em28xx : Terratec Cinergy Hybrid T USB XS FR is now really working.
Hi Michel, Catimimi wrote: Hi, As I told you earlier, my previous patch was not working with a 64 bits kernel. So forget it. I now succed in running Cinergy Hybrid T USB XS FR with 32 and 64bits kernels. One problem remains, because of msp3400 driver, I don't have sound in analog mode. I'am still working on that problem. First of all, as your previous patch got applied already at -git, you should be sending us a diff patch against it (as the one enclosed), and not a complete patch. Also, please always send us patches with your Signed-off-by line as stated at kernel Documentation/SubmittingPatches file. With respect to msp3400, one of the things you may need to do is to change the i2s speed, as msp3400 support two different speeds. If you use it with a wrong speed, you won't listen the audio. There are two valid values: 1024000 and 2048000. The default is 1024000. So, if your board uses 2048000 speed on i2s, you'll need to add this: case EM2880_BOARD_TERRATEC_HYBRID_XS_FR: dev-i2s_speed = 2048000; to em28xx_pre_card_setup(). If the GPIO's for analog are ok, this should be enough to have audio working on it. -- Cheers, Mauro --- drivers/media/video/em28xx/em28xx-cards.c | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) --- work.orig/drivers/media/video/em28xx/em28xx-cards.c +++ work/drivers/media/video/em28xx/em28xx-cards.c @@ -170,6 +170,18 @@ static struct em28xx_reg_seq pinnacle_hy { -1, -1, -1, -1}, }; +static struct em28xx_reg_seq terratec_cinergy_USB_XS_analog[] = { + {EM28XX_R08_GPIO, 0x6d, ~EM_GPIO_4, 10}, + {EM2880_R04_GPO,0x00, 0xff, 10}, + { -1, -1, -1, -1}, +}; + +static struct em28xx_reg_seq terratec_cinergy_USB_XS_digital[] = { + {EM28XX_R08_GPIO, 0x6e, ~EM_GPIO_4, 10}, + {EM2880_R04_GPO,0x08, 0xff, 10}, + { -1, -1, -1, -1}, +}; + /* eb1a:2868 Reddo DVB-C USB TV Box GPIO4 - CU1216L NIM Other GPIOs seems to be don't care. */ @@ -750,22 +762,22 @@ struct em28xx_board em28xx_boards[] = { .tuner_gpio = default_tuner_gpio, .decoder = EM28XX_TVP5150, .has_dvb = 1, - .dvb_gpio = default_digital, + .dvb_gpio = terratec_cinergy_USB_XS_digital, .input= { { .type = EM28XX_VMUX_TELEVISION, .vmux = TVP5150_COMPOSITE0, .amux = EM28XX_AMUX_VIDEO, - .gpio = default_analog, + .gpio = terratec_cinergy_USB_XS_analog, }, { .type = EM28XX_VMUX_COMPOSITE1, .vmux = TVP5150_COMPOSITE1, .amux = EM28XX_AMUX_LINE_IN, - .gpio = default_analog, + .gpio = terratec_cinergy_USB_XS_analog, }, { .type = EM28XX_VMUX_SVIDEO, .vmux = TVP5150_SVIDEO, .amux = EM28XX_AMUX_LINE_IN, - .gpio = default_analog, + .gpio = terratec_cinergy_USB_XS_analog, } }, }, [EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900] = { @@ -2118,6 +2130,7 @@ static void em28xx_setup_xc3028(struct e ctl-demod = XC3028_FE_ZARLINK456; break; case EM2880_BOARD_TERRATEC_HYBRID_XS: + case EM2880_BOARD_TERRATEC_HYBRID_XS_FR: case EM2881_BOARD_PINNACLE_HYBRID_PRO: ctl-demod = XC3028_FE_ZARLINK456; break; -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[patch] em28xx : Terratec Cinergy Hybrid T USB XS FR is now really working.
Hi, As I told you earlier, my previous patch was not working with a 64 bits kernel. So forget it. I now succed in running Cinergy Hybrid T USB XS FR with 32 and 64bits kernels. One problem remains, because of msp3400 driver, I don't have sound in analog mode. I'am still working on that problem. I enclose the patch against v4l-dvb-14021dfc00f3 Regards. Michel. diff -ru v4l-dvb-14021dfc00f3-orig/linux/drivers/media/video/em28xx/em28xx-cards.c v4l-dvb-14021dfc00f3-new/linux/drivers/media/video/em28xx/em28xx-cards.c --- v4l-dvb-14021dfc00f3-orig/linux/drivers/media/video/em28xx/em28xx-cards.c 2010-02-12 02:11:30.0 +0100 +++ v4l-dvb-14021dfc00f3-new/linux/drivers/media/video/em28xx/em28xx-cards.c 2010-02-25 16:52:07.0 +0100 @@ -183,6 +183,18 @@ { -1, -1, -1, -1}, }; +static struct em28xx_reg_seq terratec_cinergy_USB_XS_analog[] = { + {EM28XX_R08_GPIO, 0x6d, ~EM_GPIO_4, 10}, + {EM2880_R04_GPO,0x00, 0xff, 10}, + { -1, -1, -1, -1}, +}; + +static struct em28xx_reg_seq terratec_cinergy_USB_XS_digital[] = { + {EM28XX_R08_GPIO, 0x6e, ~EM_GPIO_4, 10}, + {EM2880_R04_GPO,0x08, 0xff, 10}, + { -1, -1, -1, -1}, +}; + /* eb1a:2868 Reddo DVB-C USB TV Box GPIO4 - CU1216L NIM Other GPIOs seems to be don't care. */ @@ -774,30 +786,27 @@ [EM2880_BOARD_TERRATEC_HYBRID_XS_FR] = { .name = Terratec Hybrid XS Secam, - .valid= EM28XX_BOARD_NOT_VALIDATED, .has_msp34xx = 1, .tuner_type = TUNER_XC2028, .tuner_gpio = default_tuner_gpio, .decoder = EM28XX_TVP5150, -#if 0 /* FIXME: add an entry at em28xx-dvb */ .has_dvb = 1, - .dvb_gpio = default_digital, -#endif + .dvb_gpio = terratec_cinergy_USB_XS_digital, .input= { { .type = EM28XX_VMUX_TELEVISION, .vmux = TVP5150_COMPOSITE0, .amux = EM28XX_AMUX_VIDEO, - .gpio = default_analog, + .gpio = terratec_cinergy_USB_XS_analog, }, { .type = EM28XX_VMUX_COMPOSITE1, .vmux = TVP5150_COMPOSITE1, .amux = EM28XX_AMUX_LINE_IN, - .gpio = default_analog, + .gpio = terratec_cinergy_USB_XS_analog, }, { .type = EM28XX_VMUX_SVIDEO, .vmux = TVP5150_SVIDEO, .amux = EM28XX_AMUX_LINE_IN, - .gpio = default_analog, + .gpio = terratec_cinergy_USB_XS_analog, } }, }, [EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900] = { @@ -2181,6 +2190,7 @@ ctl-demod = XC3028_FE_ZARLINK456; break; case EM2880_BOARD_TERRATEC_HYBRID_XS: + case EM2880_BOARD_TERRATEC_HYBRID_XS_FR: case EM2881_BOARD_PINNACLE_HYBRID_PRO: ctl-demod = XC3028_FE_ZARLINK456; break; diff -ru v4l-dvb-14021dfc00f3-orig/linux/drivers/media/video/em28xx/em28xx-dvb.c v4l-dvb-14021dfc00f3-new/linux/drivers/media/video/em28xx/em28xx-dvb.c --- v4l-dvb-14021dfc00f3-orig/linux/drivers/media/video/em28xx/em28xx-dvb.c 2010-02-12 02:11:30.0 +0100 +++ v4l-dvb-14021dfc00f3-new/linux/drivers/media/video/em28xx/em28xx-dvb.c 2010-02-25 16:46:35.0 +0100 @@ -503,6 +503,7 @@ } break; case EM2880_BOARD_TERRATEC_HYBRID_XS: + case EM2880_BOARD_TERRATEC_HYBRID_XS_FR: case EM2881_BOARD_PINNACLE_HYBRID_PRO: case EM2882_BOARD_DIKOM_DK300: dvb-frontend = dvb_attach(zl10353_attach,
Re: [git:v4l-dvb/master] V4L/DVB: em28xx : Terratec Cinergy Hybrid T USB XS FR is working
Le 19/02/2010 04:32, Patch from Catimimi a écrit : From: Catimimicatim...@orange.fr I succeeded in running Cinergy Hybrid T USB XS FR in both modes. Signed-off-by: Mauro Carvalho Chehabmche...@redhat.com drivers/media/video/em28xx/em28xx-cards.c |3 ++- drivers/media/video/em28xx/em28xx-dvb.c |1 + 2 files changed, 3 insertions(+), 1 deletions(-) --- http://git.linuxtv.org/v4l-dvb.git?a=commitdiff;h=a6e03bf56cb824507fff424eac193eca7a2fe17f diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c index 77870a6..ecbcefb 100644 --- a/drivers/media/video/em28xx/em28xx-cards.c +++ b/drivers/media/video/em28xx/em28xx-cards.c @@ -745,11 +745,12 @@ struct em28xx_board em28xx_boards[] = { [EM2880_BOARD_TERRATEC_HYBRID_XS_FR] = { .name = Terratec Hybrid XS Secam, - .valid= EM28XX_BOARD_NOT_VALIDATED, .has_msp34xx = 1, .tuner_type = TUNER_XC2028, .tuner_gpio = default_tuner_gpio, .decoder = EM28XX_TVP5150, + .has_dvb = 1, + .dvb_gpio = default_digital, .input= { { .type = EM28XX_VMUX_TELEVISION, .vmux = TVP5150_COMPOSITE0, diff --git a/drivers/media/video/em28xx/em28xx-dvb.c b/drivers/media/video/em28xx/em28xx-dvb.c index fcf8c10..1b96356 100644 --- a/drivers/media/video/em28xx/em28xx-dvb.c +++ b/drivers/media/video/em28xx/em28xx-dvb.c @@ -502,6 +502,7 @@ static int dvb_init(struct em28xx *dev) } break; case EM2880_BOARD_TERRATEC_HYBRID_XS: + case EM2880_BOARD_TERRATEC_HYBRID_XS_FR: case EM2881_BOARD_PINNACLE_HYBRID_PRO: case EM2882_BOARD_DIKOM_DK300: dvb-frontend = dvb_attach(zl10353_attach, Hi, This patch works well on a 32bits kernel but not on a 64 bits one. (openSUSE 11.2) I'm working on that problem. Sorry. Michel alias Catimimi. -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [git:v4l-dvb/master] V4L/DVB: em28xx : Terratec Cinergy Hybrid T USB XS FR is working
Catimimi wrote: i, This patch works well on a 32bits kernel but not on a 64 bits one. (openSUSE 11.2) I'm working on that problem. 64bits kernel with 64 bit usespace or are you using a 32bits application with a 64 bits kernel? Cheers, Mauro -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[patch] em28xx : Terratec Cinergy Hybrid T USB XS FR is working.
Hi, I succed in running Cinergy Hybrid T USB XS FR in both modes. I enclose the patch against v4l-dvb-14021dfc00f3 Regards. Michel. diff -ru v4l-dvb-14021dfc00f3-orig/linux/drivers/media/video/em28xx/em28xx-cards.c v4l-dvb-14021dfc00f3-mod/linux/drivers/media/video/em28xx/em28xx-cards.c --- v4l-dvb-14021dfc00f3-orig/linux/drivers/media/video/em28xx/em28xx-cards.c 2010-02-12 02:11:30.0 +0100 +++ v4l-dvb-14021dfc00f3-mod/linux/drivers/media/video/em28xx/em28xx-cards.c 2010-02-18 21:52:43.0 +0100 @@ -774,15 +774,12 @@ [EM2880_BOARD_TERRATEC_HYBRID_XS_FR] = { .name = Terratec Hybrid XS Secam, - .valid= EM28XX_BOARD_NOT_VALIDATED, .has_msp34xx = 1, .tuner_type = TUNER_XC2028, .tuner_gpio = default_tuner_gpio, .decoder = EM28XX_TVP5150, -#if 0 /* FIXME: add an entry at em28xx-dvb */ .has_dvb = 1, .dvb_gpio = default_digital, -#endif .input= { { .type = EM28XX_VMUX_TELEVISION, .vmux = TVP5150_COMPOSITE0, diff -ru v4l-dvb-14021dfc00f3-orig/linux/drivers/media/video/em28xx/em28xx-dvb.c v4l-dvb-14021dfc00f3-mod/linux/drivers/media/video/em28xx/em28xx-dvb.c --- v4l-dvb-14021dfc00f3-orig/linux/drivers/media/video/em28xx/em28xx-dvb.c 2010-02-12 02:11:30.0 +0100 +++ v4l-dvb-14021dfc00f3-mod/linux/drivers/media/video/em28xx/em28xx-dvb.c 2010-02-15 21:45:30.0 +0100 @@ -503,6 +503,7 @@ } break; case EM2880_BOARD_TERRATEC_HYBRID_XS: + case EM2880_BOARD_TERRATEC_HYBRID_XS_FR: case EM2881_BOARD_PINNACLE_HYBRID_PRO: case EM2882_BOARD_DIKOM_DK300: dvb-frontend = dvb_attach(zl10353_attach,
Terratec Cinergy Hybrid T USB XS FM and 2.6.31 : no more support ?
Hi, Terratec Cinergy Hybrid T USB XS FM is fully supported by em28xx-new project, but em28xx-new project is no more supported and not compatible with kernel 2.6.31. Is this hardware still supported ? ID is 0ccd:0072 and hardware was mapped in em28xx-new like this : [EM2883_BOARD_TERRATEC_HYBRID_ XS_FM] = { .name = Terratec Hybrid XS FM (em2883), .em_type = EM2883, .vchannels = 3, .norm = V4L2_STD_PAL_BG, .has_radio = 1, .has_inttuner = 1, #if 0 .powersaving = 1, #endif .tuner_type = TUNER_XCEIVE_XC5000, .decoder = EM28XX_CX25843, .ir_keytab = ir_codes_em_terratec2, .ir_getkey = em2880_get_key_terratec, .dev_modes = EM28XX_VIDEO | EM28XX_VBI | EM28XX_DVBT | EM28XX_AUDIO | EM28XX_RADIO, .input = {{ .type = EM28XX_VMUX_TELEVISION, .vmux = CX25843_TELEVISION, .amux = 0, }, { .type = EM28XX_VMUX_COMPOSITE1, .vmux = CX25843_COMPOSITE1, .amux = 4, }, { .type = EM28XX_VMUX_SVIDEO, .vmux = CX25843_SVIDEO, .amux = 5, } }, .tvnorms = EETI_XC5000_DEFAULT_ANALOG, .dvbnorms = EETI_XC5000_DEFAULT_DVBT, .fmnorms = EETI_XC5000_DEFAULT_FM, }, -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Terratec Cinergy Hybrid T USB XS FM and 2.6.31 : no more support ?
On Mon, Nov 9, 2009 at 2:13 PM, Florent nouvellon flonouvel...@gmail.com wrote: Hi, Terratec Cinergy Hybrid T USB XS FM is fully supported by em28xx-new project, but em28xx-new project is no more supported and not compatible with kernel 2.6.31. Is this hardware still supported ? This device has never been supported in the mainline kernel. I don't foresee it getting implemented anytime soon since I don't have a board to debug/test with (and since this is the first instance where we would be doing xc5000 on em28xx, I wanted to have a unit I could debug personally). Devin -- Devin J. Heitmueller - Kernel Labs http://www.kernellabs.com -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html