Package Details: dvb-usb-af9035 1-4

Git Clone URL: https://aur.archlinux.org/dvb-usb-af9035.git (read-only)
Package Base: dvb-usb-af9035
Description: TerraTec Cinergy T Stick USB DVB-T kernel module
Upstream URL: http://linuxtv.org/wiki/index.php/TerraTec_Cinergy_T_Stick
Licenses: GPL
Submitter: jackdroido
Maintainer: jackdroido
Last Packager: jackdroido
Votes: 1
Popularity: 0.000000
First Submitted: 2011-12-31 01:02
Last Updated: 2015-06-08 17:38

Dependencies (4)

Required by (0)

Sources (2)

Latest Comments

« First ‹ Previous 1 2

Anonymous comment on 2012-01-29 20:28

Patch can be downloaded here: http://pastebin.com/download.php?i=0Y6ixyFs

Anonymous comment on 2012-01-29 14:03

I made a patch for Kernel 3.2


--- af9035.c.orig 2009-09-26 20:56:12.000000000 +0200
+++ af9035.c 2012-01-29 14:59:01.000000000 +0100
@@ -4,6 +4,8 @@
* Copyright (C) 2008 Afatech
* Copyright (C) 2009 Antti Palosaari <crope@iki.fi>
*
+ * Kernel 3.2 Patch by Federico Quagliata <federico at quagliata dot org>
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -27,6 +29,8 @@
#include "af9033.h"
#include "tua9001.h"

+#include "linux/version.h"
+
static int dvb_usb_af9035_debug;
module_param_named(debug, dvb_usb_af9035_debug, int, 0644);
MODULE_PARM_DESC(debug, "set debugging level" DVB_USB_DEBUG_STATUS);
@@ -550,13 +554,21 @@
for (i = 0; i < af9035_properties_count; i++) {
/* USB1.1 set smaller buffersize and disable 2nd adapter */
if (udev->speed == USB_SPEED_FULL) {
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)
+ af9035_properties[i].adapter[0].fe[0].stream.u.bulk.buffersize
+#else
af9035_properties[i].adapter[0].stream.u.bulk.buffersize
+#endif
= TS_USB11_MAX_PACKET_SIZE;
/* disable 2nd adapter because we don't have
PID-filters */
af9035_config.dual_mode = 0;
} else {
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)
+ af9035_properties[i].adapter[0].fe[0].stream.u.bulk.buffersize
+#else
af9035_properties[i].adapter[0].stream.u.bulk.buffersize
+#endif
= TS_USB20_MAX_PACKET_SIZE;
}
}
@@ -711,10 +723,18 @@
}

/* attach demodulator */
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)
+ adap->fe_adap[0].fe = dvb_attach(af9033_attach, &af9035_af9033_config[adap->id],
+#else
adap->fe = dvb_attach(af9033_attach, &af9035_af9033_config[adap->id],
+#endif
&adap->dev->i2c_adap);

+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)
+ return adap->fe_adap[0].fe == NULL ? -ENODEV : 0;
+#else
return adap->fe == NULL ? -ENODEV : 0;
+#endif

error:
return ret;
@@ -756,8 +776,11 @@
/* activate tuner - TODO: do that like I2C gate control */
ret = af9035_write_reg_bits(adap->dev, LINK, p_reg_top_gpiot2_o,
reg_top_gpiot2_o_pos, reg_top_gpiot2_o_len, 1);
-
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)
+ ret = dvb_attach(tua9001_attach, adap->fe_adap[0].fe, &adap->dev->i2c_adap,
+#else
ret = dvb_attach(tua9001_attach, adap->fe, &adap->dev->i2c_adap,
+#endif
&af9035_tua9001_config) == NULL ? -ENODEV : 0;
break;
default:
@@ -795,6 +818,10 @@

.adapter = {
{
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)
+ .num_frontends = 1,
+ .fe = {{
+#endif
.frontend_attach =
af9035_af9033_frontend_attach,
.tuner_attach = af9035_tuner_attach,
@@ -803,8 +830,15 @@
.count = 6,
.endpoint = 0x84,
},
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)
+ }},
+#endif
},
{
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)
+ .num_frontends = 1,
+ .fe = {{
+#endif
.frontend_attach =
af9035_af9033_frontend_attach,
.tuner_attach = af9035_tuner_attach,
@@ -819,6 +853,9 @@
}
}
},
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)
+ }},
+#endif
}
},

jackdroido commented on 2012-01-18 21:56

kernel 3.2 broke build ... if someone have any clue, please leave a comment here ... for now I'm falling back to 3.1 ...

jackdroido commented on 2012-01-12 20:31

Thanks for trying out the PKGBUILD !

I've added linux-headers to makedepends ... even if, strictly speaking, both linux and linux-headers should NOT be listed since they belongs to base and base-devel packages that are assumed to be always installed when using makepkg & co.

But in this case, I think it makes sense to include them, for reference.

Thx again !

jackdroido commented on 2012-01-12 20:28

Thanks for trying out the PKGBUILD !

I've added linux-headers to makedepends ... even if both linux and linux-headers should NOT be listed since they belongs to base and base-devel packages that are assumed to be always installed when using makepkg & co.

But in this case, I think it makes sense to include them, for reference.

Thx again !

Anonymous comment on 2012-01-12 19:37

Add linux-header to dependencies

seblu commented on 2012-01-08 18:29

package doesn't build.

jackdroido commented on 2011-12-31 01:09

Tested and works perfectly with kernel 3.1.5 and a TerraTec Cinergy T Stick with this IDs:

Bus 001 Device 003: ID 0ccd:0093 TerraTec Electronic GmbH

You might need to run depmod -a after install, cause is not handled in the package ATM

I'm using Kaffeine as TV player, but any other should be OK.

Have fun !