[linuxtv][PATCH] Cinergy S Usb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5 ноября 2008, Igor M. Liplianin <liplianin@xxxxx> wrote:
> Hi Igor,
>
> Could you please help this user?
>
> Cheers,
> Mauro.
>
> On Wed, 5 Nov 2008 16:29:16 +0100
>
> Neretum <neretum@xxxxxxxxx> wrote:
> > Hello my name is Mauro, can help me? because you are the best for this
> > problem...
> >
> > I have a Cinergy S usb and i try to install the patched driver for DW2102
> > hardware but it dont work.
> >
> > I follow the guide on this link http://www.seqfault.de/de/node/101
> >
> > After patching the dw2102.c The error appear when i send make command on
> > terminal.
> >
> > > make[1]: Entering directory `/home/xxx/v4l-dvb/v4l'
> > > creating symbolic links...
> > > Kernel build directory is /lib/modules/2.6.27-7-generic/build
> > > make -C /lib/modules/2.6.27-7-generic/build
> > > SUBDIRS=/home/xxx/v4l-dvb/v4l modules
> > > make[2]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
> > >   CC [M]  /home/xxx/v4l-dvb/v4l/dw2102.o
> > > /home/xxx/v4l-dvb/v4l/dw2102.c: In function
> > > 'dw2102_earda_i2c_transfer': /home/xxx/v4l-dvb/v4l/dw2102.c:255: error:
> > > expected expression before '.' token
> > > /home/xxx/v4l-dvb/v4l/dw2102.c:255: error: expected expression before
> > > '.' token
> > > /home/xxx/v4l-dvb/v4l/dw2102.c:255: warning: left-hand operand of comma
> > > expression has no effect
> > > /home/xxx/v4l-dvb/v4l/dw2102.c:255: warning: left-hand operand of comma
> > > expression has no effect
> > > /home/xxx/v4l-dvb/v4l/dw2102.c:255: error: expected expression before
> > > ',' token
> > > /home/xxx/v4l-dvb/v4l/dw2102.c:256: warning: left-hand operand of comma
> > > expression has no effect
> > > /home/xxx/v4l-dvb/v4l/dw2102.c: At top level:
> > > /home/xxx/v4l-dvb/v4l/dw2102.c:280: error: expected identifier or '('
> > > before 'case'
> > > /home/xxx/v4l-dvb/v4l/dw2102.c:385: error: expected identifier or '('
> > > before '.' token
> > > /home/xxx/v4l-dvb/v4l/dw2102.c:391: error: expected identifier or '('
> > > before '{' token
> > > /home/xxx/v4l-dvb/v4l/dw2102.c:394: error: expected identifier or '('
> > > before ',' token
> > > /home/xxx/v4l-dvb/v4l/dw2102.c:721: error: 'dw210x_read_mac_address'
> > > undeclared here (not in a function)
> > > /home/xxx/v4l-dvb/v4l/dw2102.c:759: error: 'dw2104_i2c_algo' undeclared
> > > here (not in a function)
> > > make[3]: *** [/home/xxx/v4l-dvb/v4l/dw2102.o] Error 1
> > > make[2]: *** [_module_/home/xxx/v4l-dvb/v4l] Error 2
> > > make[2]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
> > > make[1]: *** [default] Error 2
> > > make[1]: Leaving directory `/home/xxx/v4l-dvb/v4l'
> > > make: *** [all] Error 2
> >
> > I found  this link
> > <http://www.linuxtv.org/wiki/index.php/TerraTec_Cinergy_S_USB>
> > http://www.linuxtv.org/wiki/index.php/TerraTec_Cinergy_S_USB but i don't
> > know how to change USB ID.
> >
> > Please help me if possible.
> > Bye, Mauro.
>
> Cheers,
> Mauro
Hi Mauro,

I just found my old letter with patch for Cinergy S USB. Thorsten Leupold <th86@xxxxxx> was so 
kind to test it. 
I send it from wrong mail box by mistake, so I must to send it again. Though driver is changed and 
patch is changed now. Send you updated patch.

BTW Cinergy S USB Mac Edition must work also.

В сообщении от 10 August 2008 03:08:58 Thorsten Leupold написал(а):
> Igor M. Liplianin schrieb:
> > On 1 ??????? 2008, liplianin@xxxxx wrote:
> >> Hi Igor,
> >>
> >> I just gut the Terratec Cinergy S USB (not the mac-edition) to work. I
> >> just changed the product-id to 0064 und the vendor-id to 0ccd. Here in
> >> Germany this USB-box is quite popular. Maybe you want to add these
> >> values to your driver.
> >>
> >> best regards
> >>
> >> Thorsten Leupold
> >
> > Hi Thorsten
> > Send you driver with Terratec Cinergy S USB support. If it works, then I
> > need your acked-by sign, like
> > Acked-by : Thorsten Leupold <th86@xxxxxx>
> >
> > best regards
> > Igor M. Liplianin
>
> Hi Igor,
>
> sorry for replying so late. I have tried this driver and they work very
> well, though the IR-Receiver doesnt seem to work.
> Thank you for your great work on this drivers.
>
> beste regards
>
> Thorsten Leupold

Best Regards
-- 
Igor M. Liplianin
Microsoft Windows Free Zone - Linux used for all Computing Tasks
# HG changeset patch
# User Igor M. Liplianin <liplianin@xxxxx>
# Date 1225921198 -7200
# Node ID bae1cd16f0775768eb116ca3d08c2de525e850a5
# Parent  5e55fd741b9043534aec7bdf29b65cc6987d53a9
Add TerraTec Cinergy S USB support

From: Igor M. Liplianin <liplianin@xxxxx>

Add TerraTec Cinergy S USB support

Signed-off-by: Igor M. Liplianin <liplianin@xxxxx>
Acked-by : Thorsten Leupold <th86@xxxxxx>

diff -r 5e55fd741b90 -r bae1cd16f077 linux/drivers/media/dvb/dvb-usb/dw2102.c
--- a/linux/drivers/media/dvb/dvb-usb/dw2102.c	Wed Nov 05 13:15:29 2008 +0000
+++ b/linux/drivers/media/dvb/dvb-usb/dw2102.c	Wed Nov 05 23:39:58 2008 +0200
@@ -24,6 +24,10 @@
 
 #ifndef USB_PID_DW2104
 #define USB_PID_DW2104 0x2104
+#endif
+
+#ifndef USB_PID_CINERGY_S
+#define USB_PID_CINERGY_S 0x0064
 #endif
 
 #define DW210X_READ_MSG 0
@@ -577,6 +581,7 @@
 	{USB_DEVICE(USB_VID_CYPRESS, 0x2101)},
 	{USB_DEVICE(USB_VID_CYPRESS, 0x2104)},
 	{USB_DEVICE(0x9022, 0xd650)},
+	{USB_DEVICE(USB_VID_TERRATEC, USB_PID_CINERGY_S)},
 	{ }
 };
 
@@ -646,6 +651,7 @@
 			dw210x_op_rw(dev, 0xbf, 0x0040, 0, &reset, 0,
 					DW210X_WRITE_MSG);
 			break;
+		case USB_PID_CINERGY_S:
 		case USB_PID_DW2102:
 			dw210x_op_rw(dev, 0xbf, 0x0040, 0, &reset, 0,
 					DW210X_WRITE_MSG);
@@ -725,7 +731,7 @@
 			},
 		}
 	},
-	.num_device_descs = 2,
+	.num_device_descs = 3,
 	.devices = {
 		{"DVBWorld DVB-S 2102 USB2.0",
 			{&dw2102_table[0], NULL},
@@ -733,6 +739,10 @@
 		},
 		{"DVBWorld DVB-S 2101 USB2.0",
 			{&dw2102_table[1], NULL},
+			{NULL},
+		},
+		{"TerraTec Cinergy S USB",
+			{&dw2102_table[4], NULL},
 			{NULL},
 		},
 	}
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux