Project

General

Profile

RE: Terratec CINERGY S2 PCIe DUAL?? Firmware for Ubuntu » cinergy_s2_usb_r2.patch.txt

Fredrik Ling, 2013-07-03 18:02

 
1
Binary files s2-liplianin/.hg/dirstate and s2-liplianin-1309351200/.hg/dirstate differ
2
diff -crB s2-liplianin/linux/drivers/media/dvb/dvb-usb/dw2102.c s2-liplianin-1309351200/linux/drivers/media/dvb/dvb-usb/dw2102.c
3
*** s2-liplianin/linux/drivers/media/dvb/dvb-usb/dw2102.c	2011-06-29 14:43:27.000000000 +0200
4
--- s2-liplianin-1309351200/linux/drivers/media/dvb/dvb-usb/dw2102.c	2011-06-29 14:19:30.000000000 +0200
5
***************
6
*** 1198,1203 ****
7
--- 1198,1211 ----
8
  {
9
  	u8 obuf[3] = { 0xe, 0x80, 0 };
10
  	u8 ibuf[] = { 0 };
11
+ 	
12
+ 	if (dvb_usb_generic_rw(d->dev, obuf, 3, ibuf, 1, 0) < 0)
13
+ 		err("command 0x0e transfer failed.");
14
+ 
15
+ 	//power on su3000
16
+ 	obuf[0] = 0xe;
17
+ 	obuf[1] = 0x02;
18
+ 	obuf[2] = 1;
19
  
20
  	if (dvb_usb_generic_rw(d->dev, obuf, 3, ibuf, 1, 0) < 0)
21
  		err("command 0x0e transfer failed.");
22
***************
23
*** 1470,1475 ****
24
--- 1478,1484 ----
25
  	{USB_DEVICE(0x9022, USB_PID_TEVII_S480_2)},
26
  	{USB_DEVICE(0x1f4d, 0x3100)},
27
  	{USB_DEVICE(0x734c, 0x5910)},
28
+ 	{USB_DEVICE(USB_VID_TERRATEC, 0x00b0)},
29
  	{ }
30
  };
31
  
32
***************
33
*** 1852,1858 ****
34
  			}
35
  		}
36
  	},
37
! 	.num_device_descs = 3,
38
  	.devices = {
39
  		{ "SU3000HD DVB-S USB2.0",
40
  			{ &dw2102_table[11], NULL },
41
--- 1861,1867 ----
42
  			}
43
  		}
44
  	},
45
! 	.num_device_descs = 4,
46
  	.devices = {
47
  		{ "SU3000HD DVB-S USB2.0",
48
  			{ &dw2102_table[11], NULL },
49
***************
50
*** 1866,1871 ****
51
--- 1875,1884 ----
52
  			{ &dw2102_table[15], NULL },
53
  			{ NULL },
54
  		},
55
+ 		{ "Terratec Cinergy S2 USB HD Rev.2",
56
+ 			{ &dw2102_table[17], NULL },
57
+ 			{ NULL },
58
+ 		},
59
  	}
60
  };
61
  
62
Only in s2-liplianin-1309351200/v4l: Makefile.media
63
Only in s2-liplianin-1309351200/v4l: .version
(1-1/2)