public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [linux-dvb] [PATCH] support Cinergy HT USB XE (0ccd:0058)
@ 2008-02-11 21:23 Hans-Frieder Vogt
  2008-02-12 19:36 ` Albert Comerma
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Hans-Frieder Vogt @ 2008-02-11 21:23 UTC (permalink / raw)
  To: linux-dvb

Hi List,

attached is a patch that extends the dib0700 driver to support the DVB-part of the Cinergy HT USB XE (USB-ID: 0ccd:0058).
Analogue part not tested (and probably also not supported). Remote Control seems to work (tested with mini remote from
pinnacle).
I use the driver with the standard dvb-usb-dib0700-1.10.fw firmware (which is identical with the firmware in Mod7700.sys
version 3.3.1.0) and with the firmware from driver version 3.10.0.0.
The W*-Driver loads SCODE, which is not possible with xc3028-v27.fw. However, changing the id of firmware 64 from
Firmware 64, type: SCODE FW  DTV8 CHINA HAS IF (0x64000200), IF = 5.40 MHz id: (0000000000000000), size: 192
to
Firmware 64, type: SCODE FW  DTV8 HAS IF (0x60000200), IF = 5.40 MHz id: (0000000000000000), size: 192
which enables to load this SCODE firmware seems not to have an effect on the functioning of the device (BTW: why is
this firmware marked "CHINA"?).

The patch is based on some hints from Patrick Boettcher issued on this list
(see http://www.linuxtv.org/pipermail/linux-dvb/2008-January/022962.html).
It is against v4l-dvb of 9 Feb 2008.

Please test and report success (or failure).

Hans-Frieder

Signed-off-by: Hans-Frieder Vogt <hfvogt at gmx.net>

--- v4l-dvb-cvs-20080209.orig/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	2008-02-09 15:58:32.947414000 +0100
+++ v4l-dvb-cvs-20080209/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	2008-02-09 16:00:46.881406462 +0100
@@ -135,6 +135,7 @@
 #define USB_PID_AVERMEDIA_VOLAR				0xa807
 #define USB_PID_AVERMEDIA_VOLAR_2			0xb808
 #define USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY	0x005a
+#define USB_PID_TERRATEC_CINERGY_HT_USB_XE		0x0058
 #define USB_PID_PINNACLE_PCTV2000E			0x022c
 #define USB_PID_PINNACLE_PCTV_DVB_T_FLASH		0x0228
 #define USB_PID_PINNACLE_PCTV_DUAL_DIVERSITY_DVB_T	0x0229
--- v4l-dvb-cvs-20080209.orig/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	2008-02-09 15:58:32.862404000 +0100
+++ v4l-dvb-cvs-20080209/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	2008-02-10 23:15:59.541826174 +0100
@@ -13,6 +13,7 @@
 #include "dib7000p.h"
 #include "mt2060.h"
 #include "mt2266.h"
+#include "tuner-xc2028.h"
 #include "dib0070.h"
 
 static int force_lna_activation;
@@ -297,6 +298,149 @@ static int stk7700d_tuner_attach(struct 
 		&stk7700d_mt2266_config[adap->id]) == NULL ? -ENODEV : 0;;
 }
 
+/* STK7700-PH: Digital/Analog Hybrid Tuner, e.h. Cinergy HT USB HE */
+struct dibx000_agc_config xc3028_agc_config = {
+	BAND_VHF | BAND_UHF,       // band_caps
+
+	/* P_agc_use_sd_mod1=0, P_agc_use_sd_mod2=0, P_agc_freq_pwm_div=0, P_agc_inv_pwm1=0, P_agc_inv_pwm2=0,
+	 * P_agc_inh_dc_rv_est=0, P_agc_time_est=3, P_agc_freeze=0, P_agc_nb_est=2, P_agc_write=0 */
+	(0 << 15) | (0 << 14) | (0 << 11) | (0 << 10) | (0 << 9) | (0 << 8) | (3 << 5) | (0 << 4) | (2 << 1) | (0 << 0), // setup
+
+	712,  // inv_gain
+	21,  // time_stabiliz
+
+	0,  // alpha_level
+	118,  // thlock
+
+	0,     // wbd_inv
+	2867,  // wbd_ref
+	0,  // wbd_sel
+	2,  // wbd_alpha
+
+	0,  // agc1_max
+	0,  // agc1_min
+	39718,  // agc2_max
+	9930,  // agc2_min
+	0,  // agc1_pt1
+	0,  // agc1_pt2
+	0,  // agc1_pt3
+	0,  // agc1_slope1
+	0,  // agc1_slope2
+	0,  // agc2_pt1
+	128,  // agc2_pt2
+	29,  // agc2_slope1
+	29,  // agc2_slope2
+
+	17,  // alpha_mant
+	27,  // alpha_exp
+	23,  // beta_mant
+	51,  // beta_exp
+
+	1,  // perform_agc_softsplit
+};
+
+/* PLL Configuration for COFDM BW_MHz = 8.000000 With external clock = 30.000000 */
+struct dibx000_bandwidth_config xc3028_bw_config = {
+	60000, 30000, // internal, sampling
+	1, 8, 3, 1, 0, // pll_cfg: prediv, ratio, range, reset, bypass
+	0, 0, 1, 1, 0, // misc: refdiv, bypclk_div, IO_CLK_en_core, ADClkSrc, modulo
+	(3 << 14) | (1 << 12) | (524 << 0), // sad_cfg: refsel, sel, freq_15k
+	(1 << 25) | 5816102, // ifreq = 5.200000 MHz
+	20452225, // timf
+	30000000, // xtal_hz
+};
+
+struct dibx000_bandwidth_config xc3028_bw_config_12mhz = {
+	60000, 30000, // internal, sampling
+	1, 20, 3, 1, 0, // pll_cfg: prediv, ratio, range, reset, bypass
+	0, 0, 1, 1, 0, // misc: refdiv, bypclk_div, IO_CLK_en_core, ADClkSrc, modulo
+	(3 << 14) | (1 << 12) | (524 << 0), // sad_cfg: refsel, sel, freq_15k
+	(1 << 25) | 5816102, // ifreq = 5.200000 MHz
+	20452225, // timf
+};
+
+static struct dib7000p_config stk7700ph_dib7700_xc3028_config = {
+	.output_mpeg2_in_188_bytes = 1,
+	.tuner_is_baseband = 1,
+
+	.agc_config_count = 1,
+	.agc = &xc3028_agc_config,
+	.bw  = &xc3028_bw_config,
+
+	.gpio_dir = DIB7000P_GPIO_DEFAULT_DIRECTIONS,
+	.gpio_val = DIB7000P_GPIO_DEFAULT_VALUES,
+	.gpio_pwm_pos = DIB7000P_GPIO_DEFAULT_PWM_POS,
+};
+
+static int stk7700ph_xc3028_callback(void *ptr, int command, int arg)
+{
+	struct dvb_usb_adapter *adap = ptr;
+
+	switch (command) {
+	case XC2028_TUNER_RESET:
+		/* Send the tuner in then out of reset */
+		err("%s: XC2028_TUNER_RESET %d\n", __FUNCTION__, arg);
+		dib7000p_set_gpio(adap->fe, 8, 0, 0); msleep(10);
+		dib7000p_set_gpio(adap->fe, 8, 0, 1);
+		break;
+	case XC2028_RESET_CLK:
+		err("%s: XC2028_RESET_CLK %d\n", __FUNCTION__, arg);
+		break;
+	default:
+		err("%s: unknown command %d, arg %d\n", __FUNCTION__,
+			command, arg);
+		return -EINVAL;
+	}
+	return 0;
+}
+
+static struct xc2028_ctrl stk7700ph_xc3028_ctrl = {
+        .fname = XC2028_DEFAULT_FIRMWARE,
+	.max_len = 64,
+};
+
+static struct xc2028_config stk7700ph_xc3028_config = {
+	.i2c_addr = 0x61,
+	.callback = stk7700ph_xc3028_callback,
+	.ctrl = &stk7700ph_xc3028_ctrl,
+};
+
+static int stk7700ph_frontend_attach(struct dvb_usb_adapter *adap)
+{
+	/* this is at the moment just a copy of stk7700p_frontend_attach */
+	dib0700_set_gpio(adap->dev, GPIO10, GPIO_OUT, 0);
+	dib0700_set_gpio(adap->dev, GPIO6,  GPIO_OUT, 0); msleep(50);
+
+	dib0700_set_gpio(adap->dev, GPIO6,  GPIO_OUT, 1); msleep(10);
+	dib0700_set_gpio(adap->dev, GPIO9,  GPIO_OUT, 1);
+
+	dib0700_set_gpio(adap->dev, GPIO10, GPIO_OUT, 0); msleep(10);
+	dib0700_ctrl_clock(adap->dev, 72, 1);
+	dib0700_set_gpio(adap->dev, GPIO10, GPIO_OUT, 1); msleep(100);
+
+	dib0700_set_gpio(adap->dev,  GPIO0, GPIO_OUT, 1);
+
+	dib7000p_i2c_enumeration(&adap->dev->i2c_adap, 1, 18, &stk7700ph_dib7700_xc3028_config);
+
+	adap->fe = dvb_attach(dib7000p_attach, &adap->dev->i2c_adap, 0x80,
+				&stk7700ph_dib7700_xc3028_config);
+
+	return adap->fe == NULL ? -ENODEV : 0;
+}
+
+static int stk7700ph_tuner_attach(struct dvb_usb_adapter *adap)
+{
+	struct i2c_adapter *tun_i2c;
+
+	tun_i2c = dib7000p_get_i2c_master(adap->fe, DIBX000_I2C_INTERFACE_TUNER, 1);
+
+	stk7700ph_xc3028_config.i2c_adap = tun_i2c;
+	stk7700ph_xc3028_config.video_dev = adap;
+
+	return dvb_attach(xc2028_attach, adap->fe, &stk7700ph_xc3028_config) == NULL ?
+		-ENODEV : 0;
+}
+
 #define DEFAULT_RC_INTERVAL 150
 
 static u8 rc_request[] = { REQUEST_POLL_RC, 0 };
@@ -905,6 +1049,7 @@ struct usb_device_id dib0700_usb_id_tabl
 		{ USB_DEVICE(USB_VID_ASUS,      USB_PID_ASUS_U3100) },
 /* 25 */	{ USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_NOVA_T_STICK_3) },
 		{ USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_MYTV_T) },
+/* 27 */	{ USB_DEVICE(USB_VID_TERRATEC,  USB_PID_TERRATEC_CINERGY_HT_USB_XE) },
 		{ 0 }		/* Terminating entry */
 };
 MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table);
@@ -1155,6 +1300,31 @@ struct dvb_usb_device_properties dib0700
 				{ NULL },
 			}
 		}
+	}, { DIB0700_DEFAULT_DEVICE_PROPERTIES,
+
+		.num_adapters = 1,
+		.adapter = {
+			{
+				.frontend_attach  = stk7700ph_frontend_attach,
+				.tuner_attach     = stk7700ph_tuner_attach,
+
+				DIB0700_DEFAULT_STREAMING_CONFIG(0x02),
+
+				.size_of_priv     = sizeof(struct dib0700_adapter_state),
+			},
+		},
+
+		.num_device_descs = 1,
+		.devices = {
+			{   "Terratec Cinergy HT USB XE",
+				{ &dib0700_usb_id_table[27], NULL },
+				{ NULL },
+			},
+		},
+		.rc_interval      = DEFAULT_RC_INTERVAL,
+		.rc_key_map       = dib0700_rc_keys,
+		.rc_key_map_size  = ARRAY_SIZE(dib0700_rc_keys),
+		.rc_query         = dib0700_rc_query
 	},
 };
 


-- 
--
Hans-Frieder Vogt                 e-mail: hfvogt <at> gmx .dot. net


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [linux-dvb] [PATCH] support Cinergy HT USB XE (0ccd:0058)
  2008-02-11 21:23 Hans-Frieder Vogt
@ 2008-02-12 19:36 ` Albert Comerma
  2008-02-12 22:54 ` Albert Comerma
  2008-02-14 20:20 ` Albert Comerma
  2 siblings, 0 replies; 22+ messages in thread
From: Albert Comerma @ 2008-02-12 19:36 UTC (permalink / raw)
  To: hfvogt; +Cc: linux-dvb


[-- Attachment #1.1: Type: text/plain, Size: 2276 bytes --]

Hi Hans, you where faster than me... I don't understand what you did with
the firmware. I just extracted the xc3028-v27.fw from the win driver as
commented in other threads.
Then I added my card (pinnacle 320cx) to your patch with some
mid-successfully results, this is the dmesg;

[ 8067.028000] usb 1-1: new high speed USB device using ehci_hcd and address
4
[ 8067.160000] usb 1-1: configuration #1 chosen from 1 choice
[ 8067.160000] dvb-usb: found a 'Pinnacle Expresscard 320cx' in cold state,
will try to load a firmware
[ 8067.164000] dvb-usb: downloading firmware from file '
dvb-usb-dib0700-1.10.fw'
[ 8067.360000] dib0700: firmware started successfully.
[ 8067.864000] dvb-usb: found a 'Pinnacle Expresscard 320cx' in warm state.
[ 8067.864000] dvb-usb: will pass the complete MPEG2 transport stream to the
software demuxer.
[ 8067.864000] DVB: registering new adapter (Pinnacle Expresscard 320cx)
[ 8068.236000] DVB: registering frontend 0 (DiBcom 7000PC)...
[ 8068.236000] xc2028 4-0061: type set to XCeive xc2028/xc3028 tuner
[ 8068.236000] input: IR-receiver inside an USB DVB receiver as
/class/input/input13
[ 8068.236000] dvb-usb: schedule remote query interval to 150 msecs.
[ 8068.236000] dvb-usb: Pinnacle Expresscard 320cx successfully initialized
and connected.

But when I start kaffeine i got this error;

[ 8144.084000] xc2028 4-0061: Error on line 1063: -5

And when I try to scan I get more errors;
[ 8176.032000] xc2028 4-0061: Loading 80 firmware images from xc3028-v27.fw,
type: xc2028 firmware, ver 2.7
[ 8176.032000] dib0700: stk7700ph_xc3028_callback: XC2028_TUNER_RESET 0
[ 8176.032000]
[ 8176.060000] xc2028 4-0061: Loading firmware for type=BASE F8MHZ (3), id
0000000000000000.
[ 8176.060000] dib0700: stk7700ph_xc3028_callback: XC2028_TUNER_RESET 0
[ 8176.060000]
[ 8182.548000] xc2028 4-0061: Loading firmware for type=D2620 DTV8 (208), id
0000000000000000.
[ 8182.668000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware
version 2.7
[ 8182.688000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 8182.688000]
[ 8184.364000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware
version 2.7
[ 8184.384000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1

Any idea? is this related to the firmware??

Albert

[-- Attachment #1.2: Type: text/html, Size: 2447 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [linux-dvb] [PATCH] support Cinergy HT USB XE (0ccd:0058)
  2008-02-11 21:23 Hans-Frieder Vogt
  2008-02-12 19:36 ` Albert Comerma
@ 2008-02-12 22:54 ` Albert Comerma
  2008-02-13 18:40   ` Hans-Frieder Vogt
  2008-02-14 20:20 ` Albert Comerma
  2 siblings, 1 reply; 22+ messages in thread
From: Albert Comerma @ 2008-02-12 22:54 UTC (permalink / raw)
  To: hfvogt; +Cc: linux-dvb


[-- Attachment #1.1: Type: text/plain, Size: 366 bytes --]

Finally I got what you mean... you changed the extract_firmware.pl, but not
only the comment I guess... also the values below. I tested both and the
result is the same as described before, everything seems correct, but I have
some errors on dmesg and nothing is detected on scan (I must try with an
amplified antenna but I think it should detect something).

Albert

[-- Attachment #1.2: Type: text/html, Size: 385 bytes --]

[-- Attachment #2: dmesg.txt --]
[-- Type: text/plain, Size: 22070 bytes --]

[ 9318.084000] usb 1-1: new high speed USB device using ehci_hcd and address 7
[ 9318.216000] usb 1-1: configuration #1 chosen from 1 choice
[ 9318.216000] dvb-usb: found a 'Pinnacle Expresscard 320cx' in cold state, will try to load a firmware
[ 9318.244000] dvb-usb: downloading firmware from file 'dvb-usb-dib0700-1.10.fw'
[ 9318.444000] dib0700: firmware started successfully.
[ 9318.948000] dvb-usb: found a 'Pinnacle Expresscard 320cx' in warm state.
[ 9318.948000] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 9318.948000] DVB: registering new adapter (Pinnacle Expresscard 320cx)
[ 9319.316000] DVB: registering frontend 0 (DiBcom 7000PC)...
[ 9319.316000] xc2028 4-0061: type set to XCeive xc2028/xc3028 tuner
[ 9319.316000] input: IR-receiver inside an USB DVB receiver as /class/input/input13
[ 9319.316000] dvb-usb: schedule remote query interval to 150 msecs.
[ 9319.316000] dvb-usb: Pinnacle Expresscard 320cx successfully initialized and connected.
[ 9342.272000] xc2028 4-0061: Error on line 1063: -5
[ 9363.912000] xc2028 4-0061: Loading 80 firmware images from xc3028-v27.fw, type: xc2028 firmware, ver 2.7
[ 9363.912000] dib0700: stk7700ph_xc3028_callback: XC2028_TUNER_RESET 0
[ 9363.912000] 
[ 9363.936000] xc2028 4-0061: Loading firmware for type=BASE F8MHZ (3), id 0000000000000000.
[ 9363.936000] dib0700: stk7700ph_xc3028_callback: XC2028_TUNER_RESET 0
[ 9363.936000] 
[ 9370.424000] xc2028 4-0061: Loading firmware for type=D2620 DTV8 (208), id 0000000000000000.
[ 9370.540000] xc2028 4-0061: Loading SCODE for type=DTV8 SCODE HAS_IF_5400 (60000200), id 0000000000000000.
[ 9370.600000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9370.624000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9370.624000] 
[ 9372.296000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9372.316000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9372.316000] 
[ 9373.888000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9373.908000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9373.908000] 
[ 9375.564000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9375.584000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9375.584000] 
[ 9377.140000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9377.160000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9377.160000] 
[ 9378.812000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9378.832000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9378.832000] 
[ 9380.392000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9380.416000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9380.416000] 
[ 9382.068000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9382.088000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9382.088000] 
[ 9383.652000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9383.676000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9383.676000] 
[ 9385.332000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9385.352000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9385.352000] 
[ 9386.920000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9386.940000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9386.940000] 
[ 9388.600000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9388.620000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9388.620000] 
[ 9390.180000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9390.200000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9390.200000] 
[ 9391.856000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9391.876000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9391.876000] 
[ 9393.444000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9393.468000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9393.468000] 
[ 9395.124000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9395.144000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9395.144000] 
[ 9396.716000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9396.740000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9396.740000] 
[ 9398.392000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9398.412000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9398.412000] 
[ 9399.968000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9399.996000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9399.996000] 
[ 9401.644000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9401.664000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9401.664000] 
[ 9403.232000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9403.256000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9403.256000] 
[ 9404.900000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9404.920000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9404.920000] 
[ 9406.480000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9406.500000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9406.500000] 
[ 9408.152000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9408.176000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9408.176000] 
[ 9409.748000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9409.768000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9409.768000] 
[ 9411.420000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9411.440000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9411.440000] 
[ 9413.008000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9413.028000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9413.028000] 
[ 9414.680000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9414.700000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9414.700000] 
[ 9416.268000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9416.292000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9416.292000] 
[ 9417.952000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9417.972000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9417.972000] 
[ 9419.532000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9419.552000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9419.552000] 
[ 9421.204000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9421.224000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9421.224000] 
[ 9422.788000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9422.808000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9422.808000] 
[ 9424.460000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9424.480000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9424.480000] 
[ 9426.048000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9426.068000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9426.068000] 
[ 9427.728000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9427.748000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9427.748000] 
[ 9429.308000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9429.328000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9429.328000] 
[ 9430.988000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9431.008000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9431.008000] 
[ 9432.572000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9432.596000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9432.596000] 
[ 9434.248000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9434.268000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9434.268000] 
[ 9435.840000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9435.860000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9435.860000] 
[ 9437.512000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9437.532000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9437.532000] 
[ 9439.096000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9439.120000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9439.120000] 
[ 9440.780000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9440.800000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9440.800000] 
[ 9442.360000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9442.384000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9442.384000] 
[ 9444.036000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9444.060000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9444.060000] 
[ 9445.620000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9445.640000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9445.640000] 
[ 9447.288000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9447.308000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9447.308000] 
[ 9448.876000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9448.896000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9448.896000] 
[ 9450.556000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9450.576000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9450.576000] 
[ 9452.136000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9452.160000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9452.160000] 
[ 9453.812000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9453.832000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9453.832000] 
[ 9455.396000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9455.416000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9455.416000] 
[ 9457.064000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9457.088000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9457.088000] 
[ 9458.648000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9458.672000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9458.672000] 
[ 9460.328000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9460.348000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9460.348000] 
[ 9461.908000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9461.928000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9461.928000] 
[ 9463.588000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9463.608000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9463.608000] 
[ 9465.176000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9465.200000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9465.200000] 
[ 9466.848000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9466.868000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9466.868000] 
[ 9468.432000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9468.452000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9468.452000] 
[ 9470.112000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9470.132000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9470.132000] 
[ 9471.692000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9471.712000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9471.712000] 
[ 9473.360000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9473.380000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9473.380000] 
[ 9474.936000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9474.960000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9474.960000] 
[ 9476.616000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9476.636000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9476.636000] 
[ 9478.200000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9478.224000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9478.224000] 
[ 9479.868000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9479.892000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9479.892000] 
[ 9481.456000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9481.476000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9481.476000] 
[ 9483.128000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9483.148000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9483.148000] 
[ 9484.720000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9484.740000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9484.740000] 
[ 9486.400000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9486.420000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9486.420000] 
[ 9487.992000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9488.012000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9488.012000] 
[ 9489.672000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9489.692000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9489.692000] 
[ 9491.256000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9491.276000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9491.276000] 
[ 9492.928000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9492.948000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9492.948000] 
[ 9494.508000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9494.532000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9494.532000] 
[ 9496.180000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9496.200000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9496.200000] 
[ 9497.764000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9497.784000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9497.784000] 
[ 9499.444000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9499.464000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9499.464000] 
[ 9501.024000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9501.048000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9501.048000] 
[ 9502.708000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9502.728000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9502.728000] 
[ 9504.288000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9504.316000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9504.316000] 
[ 9505.980000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9506.000000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9506.000000] 
[ 9507.564000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9507.584000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9507.584000] 
[ 9509.240000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9509.260000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9509.260000] 
[ 9510.824000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9510.844000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9510.844000] 
[ 9512.492000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9512.512000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9512.512000] 
[ 9514.076000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9514.100000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9514.104000] 
[ 9515.764000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9515.784000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9515.784000] 
[ 9517.352000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9517.372000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9517.372000] 
[ 9519.032000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9519.052000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9519.052000] 
[ 9520.612000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9520.632000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9520.632000] 
[ 9522.280000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9522.300000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9522.300000] 
[ 9523.864000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9523.888000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9523.888000] 
[ 9525.540000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9525.560000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9525.560000] 
[ 9527.212000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9527.232000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9527.232000] 
[ 9528.884000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9528.904000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9528.904000] 
[ 9530.468000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9530.492000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9530.492000] 
[ 9532.148000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9532.168000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9532.168000] 
[ 9533.736000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9533.756000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9533.756000] 
[ 9535.416000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9535.436000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9535.436000] 
[ 9537.004000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9537.024000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9537.024000] 
[ 9538.680000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9538.700000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9538.700000] 
[ 9540.260000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9540.284000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9540.284000] 
[ 9541.944000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9541.964000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9541.964000] 
[ 9543.544000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9543.564000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9543.564000] 
[ 9545.280000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9545.300000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9545.300000] 
[ 9546.868000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9546.888000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9546.888000] 
[ 9548.540000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9548.560000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9548.560000] 
[ 9550.124000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9550.144000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9550.144000] 
[ 9551.788000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9551.808000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9551.808000] 
[ 9553.372000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9553.392000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9553.392000] 
[ 9555.056000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9555.076000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9555.076000] 
[ 9556.644000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9556.664000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9556.664000] 
[ 9558.328000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 9558.348000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 9558.348000] 
[ 9559.900000] DVB: frontend 0 frequency 866000000 out of range (44250000..864000000)
[ 9560.416000] DVB: frontend 0 frequency 874000000 out of range (44250000..864000000)
[ 9560.916000] DVB: frontend 0 frequency 882000000 out of range (44250000..864000000)
[ 9561.416000] DVB: frontend 0 frequency 890000000 out of range (44250000..864000000)
[ 9561.916000] DVB: frontend 0 frequency 898000000 out of range (44250000..864000000)
[ 9563.416000] xc2028 4-0061: Error on line 1065: -5

[-- Attachment #3: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [linux-dvb] [PATCH] support Cinergy HT USB XE (0ccd:0058)
  2008-02-12 22:54 ` Albert Comerma
@ 2008-02-13 18:40   ` Hans-Frieder Vogt
  2008-02-13 20:12     ` Albert Comerma
  0 siblings, 1 reply; 22+ messages in thread
From: Hans-Frieder Vogt @ 2008-02-13 18:40 UTC (permalink / raw)
  To: Albert Comerma; +Cc: linux-dvb

Albert,

your dmesg output looks quite good. In fact, the only line that irritates me is the line with
xc2028 4-0061: Error on line 1063: -5
This line indicates an i2c-communication problem with the tuner.
As it happens BEFORE the XC3028  firmware is loaded, it cannot have anything to do with the xc3028 firmware.
Therefore, I suspect something either with the general setup of the Expresscard or a DiB firmware that does not
100% support your device. Have you tried a later firmware?

For comparison, I list here what is output in kernel.log for my Cinergy HT USB XE:

Feb 13 19:13:31: usb 1-5: new high speed USB device using ehci_hcd and address 6
Feb 13 19:13:31: usb 1-5: configuration #1 chosen from 1 choice
Feb 13 19:13:31: dib0700: loaded with support for 7 different device-types
Feb 13 19:13:31: dvb-usb: found a 'Terratec Cinergy HT USB XE' in cold state, will try to load a firmware
Feb 13 19:13:31: dvb-usb: downloading firmware from file 'dvb-usb-dib0700-1.10.fw'
Feb 13 19:13:32: dib0700: firmware started successfully.
Feb 13 19:13:32: dvb-usb: found a 'Terratec Cinergy HT USB XE' in warm state.
Feb 13 19:13:32: dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
Feb 13 19:13:32: DVB: registering new adapter (Terratec Cinergy HT USB XE)
Feb 13 19:13:33: DVB: registering frontend 1 (DiBcom 7000PC)...
Feb 13 19:13:33: xc2028 7-0061: type set to XCeive xc2028/xc3028 tuner
Feb 13 19:13:33: input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:02.1/usb1/1-5/input/input6
Feb 13 19:13:33: dvb-usb: schedule remote query interval to 150 msecs.
Feb 13 19:13:33: dvb-usb: Terratec Cinergy HT USB XE successfully initialized and connected.
Feb 13 19:13:33: usbcore: registered new interface driver dvb_usb_dib0700
Feb 13 19:14:43: xc2028 7-0061: Loading 80 firmware images from xc3028-v27.fw, type: xc2028 firmware, ver 2.7
Feb 13 19:14:43: dib0700: stk7700ph_xc3028_callback: XC2028_TUNER_RESET 0
Feb 13 19:14:43: 
Feb 13 19:14:43: xc2028 7-0061: Loading firmware for type=BASE F8MHZ (3), id 0000000000000000.
Feb 13 19:14:43: dib0700: stk7700ph_xc3028_callback: XC2028_TUNER_RESET 0
Feb 13 19:14:43: 
Feb 13 19:14:50: xc2028 7-0061: Loading firmware for type=D2620 DTV8 (208), id 0000000000000000.
Feb 13 19:14:50: xc2028 7-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
Feb 13 19:14:50: dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
Feb 13 19:14:50: 

with regards to the firmware modification that I mentioned, see the comment below.

Regards,
Hans-Frieder

> Finally I got what you mean... you changed the extract_firmware.pl, but not
> only the comment I guess... also the values below. I tested both and the

I did not change the extract_firmware.pl file (in fact, it is not useable for the Mod7700.sys driver, but expects the driver
file hcw85bda.sys), but just used a hex editor to replace the ID 0x64000200 by 0x60000200.

> result is the same as described before, everything seems correct, but I have
> some errors on dmesg and nothing is detected on scan (I must try with an
> amplified antenna but I think it should detect something).

certainly a good idea to use an amplified antenna. Have you got another DVB-t device that works with a passive
antenna in the same area where you use your new device?

> 
> Albert
> 

-- 
--
Hans-Frieder Vogt             e-mail:  hfvogt <at> gmx .dot. net

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [linux-dvb] [PATCH] support Cinergy HT USB XE (0ccd:0058)
  2008-02-13 18:40   ` Hans-Frieder Vogt
@ 2008-02-13 20:12     ` Albert Comerma
  2008-02-13 21:15       ` Patrick Boettcher
  0 siblings, 1 reply; 22+ messages in thread
From: Albert Comerma @ 2008-02-13 20:12 UTC (permalink / raw)
  To: hfvogt, Patrick Boettcher; +Cc: linux-dvb


[-- Attachment #1.1: Type: text/plain, Size: 2004 bytes --]

Hi Hans, thanks for your answer, I say what I tryed;

your dmesg output looks quite good. In fact, the only line that irritates me
is the line with

>
> xc2028 4-0061: Error on line 1063: -5
>
> This line indicates an i2c-communication problem with the tuner.
> As it happens BEFORE the XC3028  firmware is loaded, it cannot have
> anything to do with the xc3028 firmware.
> Therefore, I suspect something either with the general setup of the
> Expresscard or a DiB firmware that does not
> 100% support your device. Have you tried a later firmware?


I was trying latest firmware (I think): dvb-usb-dib0700-03-pre1.fw
I also tryed the previous; dvb-usb-dib0700-1.10.fw
And an other one; dvb-usb-dib0700-01.fw

This last one doesn't give any error, but I also can not see anything on
scanning. I send you the dmesg.

Feb 13 19:14:50: xc2028 7-0061: Loading firmware for type=D2620 DTV8 (208),
> id 0000000000000000.
> Feb 13 19:14:50: xc2028 7-0061: Device is Xceive 3028 version 1.0,
> firmware version 2.7
> Feb 13 19:14:50: dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1


This last lines are a little bit different from the ones I have... Perhaps
something about the firmware modification.

I did not change the extract_firmware.pl file (in fact, it is not useable
> for the Mod7700.sys driver, but expects the driver
> file hcw85bda.sys), but just used a hex editor to replace the ID
> 0x64000200 by 0x60000200.


I tryed to do the same but I can't find 0x64000200 on the hex... Could you
send me your firmware just to try?

certainly a good idea to use an amplified antenna. Have you got another
> DVB-t device that works with a passive
> antenna in the same area where you use your new device?


I use the same device on XP and it detects some channels. When I try to scan
with kaffeine I don't see any SNR or anything so I guess the comunication
with xc3028 is failing.

Thanks again for your answer. I also send this mail to pattrick who probably
knows better the dibcom firmware stuff.

[-- Attachment #1.2: Type: text/html, Size: 2755 bytes --]

[-- Attachment #2: dmesg.txt --]
[-- Type: text/plain, Size: 3646 bytes --]

[ 4107.196000] usb 1-1: new high speed USB device using ehci_hcd and address 9
[ 4107.328000] usb 1-1: configuration #1 chosen from 1 choice
[ 4107.328000] dvb-usb: found a 'Pinnacle Expresscard 320cx' in cold state, will try to load a firmware
[ 4107.332000] dvb-usb: downloading firmware from file 'dvb-usb-dib0700-1.10.fw'
[ 4107.516000] dib0700: firmware started successfully.
[ 4108.020000] dvb-usb: found a 'Pinnacle Expresscard 320cx' in warm state.
[ 4108.020000] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 4108.020000] DVB: registering new adapter (Pinnacle Expresscard 320cx)
[ 4108.300000] DVB: registering frontend 0 (DiBcom 7000PC)...
[ 4108.300000] xc2028 4-0061: type set to XCeive xc2028/xc3028 tuner
[ 4108.300000] input: IR-receiver inside an USB DVB receiver as /class/input/input13
[ 4108.300000] dvb-usb: schedule remote query interval to 150 msecs.
[ 4108.300000] dvb-usb: Pinnacle Expresscard 320cx successfully initialized and connected.
[ 4136.252000] xc2028 4-0061: Loading 80 firmware images from xc3028-v27.fw, type: xc2028 firmware, ver 2.7
[ 4136.256000] dib0700: stk7700ph_xc3028_callback: XC2028_TUNER_RESET 0
[ 4136.256000] 
[ 4136.272000] xc2028 4-0061: Loading firmware for type=BASE F8MHZ (3), id 0000000000000000.
[ 4136.272000] dib0700: stk7700ph_xc3028_callback: XC2028_TUNER_RESET 0
[ 4136.272000] 
[ 4139.272000] xc2028 4-0061: Loading firmware for type=D2620 DTV8 (208), id 0000000000000000.
[ 4139.324000] xc2028 4-0061: Loading SCODE for type=DTV8 SCODE HAS_IF_5400 (60000200), id 0000000000000000.
[ 4139.368000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 4139.384000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 4139.384000] 
[ 4141.004000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 4141.020000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 4141.020000] 
[ 4142.532000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 4142.548000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 4142.548000] 
[ 4144.160000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 4144.176000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 4144.176000] 
[ 4145.696000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 4145.712000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 4145.712000] 
[ 4147.324000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 4147.340000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 4147.340000] 
[ 4148.852000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 4148.868000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 4148.868000] 
[ 4150.484000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 4150.500000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 4150.500000] 
[ 4152.016000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 4152.032000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 4152.032000] 
[ 4153.644000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 4153.660000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 4153.660000] 
[ 4155.184000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 4155.204000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 4155.204000] 
[ 4156.816000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 4156.832000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 4156.832000] 

[-- Attachment #3: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [linux-dvb] [PATCH] support Cinergy HT USB XE (0ccd:0058)
  2008-02-13 20:12     ` Albert Comerma
@ 2008-02-13 21:15       ` Patrick Boettcher
  2008-02-13 21:27         ` Albert Comerma
  0 siblings, 1 reply; 22+ messages in thread
From: Patrick Boettcher @ 2008-02-13 21:15 UTC (permalink / raw)
  To: Albert Comerma; +Cc: linux-dvb

The latest dib0700-firwmare is dvb-usb-dib0700-1.10.fw not 
dvb-usb-dib0700-03-pre1.fw.

Patrick.

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [linux-dvb] [PATCH] support Cinergy HT USB XE (0ccd:0058)
  2008-02-13 21:15       ` Patrick Boettcher
@ 2008-02-13 21:27         ` Albert Comerma
  2008-02-13 21:32           ` Patrick Boettcher
  0 siblings, 1 reply; 22+ messages in thread
From: Albert Comerma @ 2008-02-13 21:27 UTC (permalink / raw)
  To: Patrick Boettcher; +Cc: linux-dvb


[-- Attachment #1.1: Type: text/plain, Size: 271 bytes --]

Ok, both give the same error, the only one wich does not report any error is
the 0.1. Thanks.

Albert

2008/2/13, Patrick Boettcher <patrick.boettcher@desy.de>:
>
> The latest dib0700-firwmare is dvb-usb-dib0700-1.10.fw not
> dvb-usb-dib0700-03-pre1.fw.
>
>
> Patrick.
>

[-- Attachment #1.2: Type: text/html, Size: 534 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [linux-dvb] [PATCH] support Cinergy HT USB XE (0ccd:0058)
  2008-02-13 21:27         ` Albert Comerma
@ 2008-02-13 21:32           ` Patrick Boettcher
  2008-02-13 21:41             ` Albert Comerma
  0 siblings, 1 reply; 22+ messages in thread
From: Patrick Boettcher @ 2008-02-13 21:32 UTC (permalink / raw)
  To: Albert Comerma; +Cc: linux-dvb

On Wed, 13 Feb 2008, Albert Comerma wrote:

> Ok, both give the same error, the only one wich does not report any error is
> the 0.1. Thanks.

Just because it does not report an error, does not mean that there isn't 
one.

I2C errors are only reported from the firwmare since the 03-version.

Patrick.

--
   Mail: patrick.boettcher@desy.de
   WWW:  http://www.wi-bw.tfh-wildau.de/~pboettch/

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [linux-dvb] [PATCH] support Cinergy HT USB XE (0ccd:0058)
  2008-02-13 21:32           ` Patrick Boettcher
@ 2008-02-13 21:41             ` Albert Comerma
  0 siblings, 0 replies; 22+ messages in thread
From: Albert Comerma @ 2008-02-13 21:41 UTC (permalink / raw)
  To: Patrick Boettcher; +Cc: linux-dvb


[-- Attachment #1.1: Type: text/plain, Size: 558 bytes --]

That's what I supposed... So we must get working the 1.10. Thanks again.

2008/2/13, Patrick Boettcher <patrick.boettcher@desy.de>:
>
> On Wed, 13 Feb 2008, Albert Comerma wrote:
>
> > Ok, both give the same error, the only one wich does not report any
> error is
> > the 0.1. Thanks.
>
>
> Just because it does not report an error, does not mean that there isn't
> one.
>
> I2C errors are only reported from the firwmare since the 03-version.
>
> Patrick.
>
>
> --
>    Mail: patrick.boettcher@desy.de
>    WWW:  http://www.wi-bw.tfh-wildau.de/~pboettch/
>

[-- Attachment #1.2: Type: text/html, Size: 988 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [linux-dvb] [PATCH] support Cinergy HT USB XE (0ccd:0058)
  2008-02-11 21:23 Hans-Frieder Vogt
  2008-02-12 19:36 ` Albert Comerma
  2008-02-12 22:54 ` Albert Comerma
@ 2008-02-14 20:20 ` Albert Comerma
  2008-02-15 20:18   ` Mauro Carvalho Chehab
  2 siblings, 1 reply; 22+ messages in thread
From: Albert Comerma @ 2008-02-14 20:20 UTC (permalink / raw)
  To: hfvogt; +Cc: linux-dvb


[-- Attachment #1.1: Type: text/plain, Size: 347 bytes --]

Hi I've been trying to load the tunner-xc2028 module in debug mode. I send
the results, there's the same error and also some things when loading the
firmware. Hans could you send me your firmware to check that it's not an
error of that (I mean, when I scan there's no signal or SNR, perhaps this
could be something related to it)? Thanks.

Albert

[-- Attachment #1.2: Type: text/html, Size: 374 bytes --]

[-- Attachment #2: dmesg.txt --]
[-- Type: text/plain, Size: 19655 bytes --]

[ 2219.804000] usb 6-1: new high speed USB device using ehci_hcd and address 4
[ 2219.940000] usb 6-1: configuration #1 chosen from 1 choice
[ 2219.940000] dvb-usb: found a 'Pinnacle Expresscard 320cx' in cold state, will try to load a firmware
[ 2219.956000] dvb-usb: downloading firmware from file 'dvb-usb-dib0700-1.10.fw'
[ 2220.156000] dib0700: firmware started successfully.
[ 2220.660000] dvb-usb: found a 'Pinnacle Expresscard 320cx' in warm state.
[ 2220.660000] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 2220.660000] DVB: registering new adapter (Pinnacle Expresscard 320cx)
[ 2221.032000] DVB: registering frontend 0 (DiBcom 7000PC)...
[ 2221.032000] xc2028: Xcv2028/3028 init called!
[ 2221.032000] xc2028 4-0061: type set to XCeive xc2028/xc3028 tuner
[ 2221.032000] xc2028 4-0061: xc2028_set_config called
[ 2221.032000] input: IR-receiver inside an USB DVB receiver as /class/input/input10
[ 2221.032000] dvb-usb: schedule remote query interval to 150 msecs.
[ 2221.032000] dvb-usb: Pinnacle Expresscard 320cx successfully initialized and connected.
[ 2251.856000] xc2028 4-0061: xc2028_sleep called
[ 2251.856000] xc2028 4-0061: Error on line 1063: -5
[ 2282.436000] xc2028 4-0061: xc2028_set_params called
[ 2282.436000] xc2028 4-0061: generic_set_freq called
[ 2282.436000] xc2028 4-0061: should set frequency 402000 kHz
[ 2282.436000] xc2028 4-0061: check_firmware called
[ 2282.436000] xc2028 4-0061: load_all_firmwares called
[ 2282.436000] xc2028 4-0061: Reading firmware xc3028-v27.fw
[ 2282.480000] xc2028 4-0061: Loading 80 firmware images from xc3028-v27.fw, type: xc2028 firmware, ver 2.7
[ 2282.480000] xc2028 4-0061: Reading firmware type BASE F8MHZ (3), id 0, size=8718.
[ 2282.480000] xc2028 4-0061: Reading firmware type BASE F8MHZ MTS (7), id 0, size=8712.
[ 2282.480000] xc2028 4-0061: Reading firmware type BASE FM (401), id 0, size=8562.
[ 2282.480000] xc2028 4-0061: Reading firmware type BASE FM INPUT1 (c01), id 0, size=8576.
[ 2282.480000] xc2028 4-0061: Reading firmware type BASE (1), id 0, size=8706.
[ 2282.480000] xc2028 4-0061: Reading firmware type BASE MTS (5), id 0, size=8682.
[ 2282.480000] xc2028 4-0061: Reading firmware type (0), id 100000007, size=161.
[ 2282.480000] xc2028 4-0061: Reading firmware type MTS (4), id 100000007, size=169.
[ 2282.480000] xc2028 4-0061: Reading firmware type (0), id 200000007, size=161.
[ 2282.480000] xc2028 4-0061: Reading firmware type MTS (4), id 200000007, size=169.
[ 2282.480000] xc2028 4-0061: Reading firmware type (0), id 400000007, size=161.
[ 2282.480000] xc2028 4-0061: Reading firmware type MTS (4), id 400000007, size=169.
[ 2282.480000] xc2028 4-0061: Reading firmware type (0), id 800000007, size=161.
[ 2282.480000] xc2028 4-0061: Reading firmware type MTS (4), id 800000007, size=169.
[ 2282.480000] xc2028 4-0061: Reading firmware type (0), id 3000000e0, size=161.
[ 2282.480000] xc2028 4-0061: Reading firmware type MTS (4), id 3000000e0, size=169.
[ 2282.480000] xc2028 4-0061: Reading firmware type (0), id c000000e0, size=161.
[ 2282.480000] xc2028 4-0061: Reading firmware type MTS (4), id c000000e0, size=169.
[ 2282.480000] xc2028 4-0061: Reading firmware type (0), id 200000, size=161.
[ 2282.480000] xc2028 4-0061: Reading firmware type MTS (4), id 200000, size=169.
[ 2282.480000] xc2028 4-0061: Reading firmware type (0), id 4000000, size=161.
[ 2282.480000] xc2028 4-0061: Reading firmware type MTS (4), id 4000000, size=169.
[ 2282.480000] xc2028 4-0061: Reading firmware type D2633 DTV6 ATSC (10030), id 0, size=149.
[ 2282.480000] xc2028 4-0061: Reading firmware type D2620 DTV6 QAM (68), id 0, size=149.
[ 2282.480000] xc2028 4-0061: Reading firmware type D2633 DTV6 QAM (70), id 0, size=149.
[ 2282.480000] xc2028 4-0061: Reading firmware type D2620 DTV7 (88), id 0, size=149.
[ 2282.480000] xc2028 4-0061: Reading firmware type D2633 DTV7 (90), id 0, size=149.
[ 2282.480000] xc2028 4-0061: Reading firmware type D2620 DTV78 (108), id 0, size=149.
[ 2282.480000] xc2028 4-0061: Reading firmware type D2633 DTV78 (110), id 0, size=149.
[ 2282.480000] xc2028 4-0061: Reading firmware type D2620 DTV8 (208), id 0, size=149.
[ 2282.480000] xc2028 4-0061: Reading firmware type D2633 DTV8 (210), id 0, size=149.
[ 2282.480000] xc2028 4-0061: Reading firmware type FM (400), id 0, size=135.
[ 2282.480000] xc2028 4-0061: Reading firmware type (0), id 10, size=161.
[ 2282.480000] xc2028 4-0061: Reading firmware type MTS (4), id 10, size=169.
[ 2282.480000] xc2028 4-0061: Reading firmware type (0), id 1000400000, size=169.
[ 2282.480000] xc2028 4-0061: Reading firmware type (0), id c00400000, size=161.
[ 2282.480000] xc2028 4-0061: Reading firmware type (0), id 800000, size=161.
[ 2282.480000] xc2028 4-0061: Reading firmware type (0), id 8000, size=161.
[ 2282.480000] xc2028 4-0061: Reading firmware type LCD (1000), id 8000, size=161.
[ 2282.480000] xc2028 4-0061: Reading firmware type LCD NOGD (3000), id 8000, size=161.
[ 2282.480000] xc2028 4-0061: Reading firmware type MTS (4), id 8000, size=169.
[ 2282.480000] xc2028 4-0061: Reading firmware type (0), id b700, size=161.
[ 2282.480000] xc2028 4-0061: Reading firmware type LCD (1000), id b700, size=161.
[ 2282.480000] xc2028 4-0061: Reading firmware type LCD NOGD (3000), id b700, size=161.
[ 2282.480000] xc2028 4-0061: Reading firmware type (0), id 2000, size=161.
[ 2282.480000] xc2028 4-0061: Reading firmware type MTS (4), id b700, size=169.
[ 2282.480000] xc2028 4-0061: Reading firmware type MTS LCD (1004), id b700, size=169.
[ 2282.480000] xc2028 4-0061: Reading firmware type MTS LCD NOGD (3004), id b700, size=169.
[ 2282.480000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_3280 (60000000), id 0, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_3300 (60000000), id 0, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_3440 (60000000), id 0, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_3460 (60000000), id 0, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type DTV6 ATSC OREN36 SCODE HAS_IF_3800 (60210020), id 0, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_4000 (60000000), id 0, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type DTV6 ATSC TOYOTA388 SCODE HAS_IF_4080 (60410020), id 0, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_4200 (60000000), id 0, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type MONO SCODE HAS_IF_4320 (60008000), id 8000, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_4450 (60000000), id 0, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_4500 (60000000), id 2000, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type LCD NOGD IF SCODE HAS_IF_4600 (60023000), id 8000, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type DTV78 ZARLINK456 SCODE HAS_IF_4760 (62000100), id 0, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_4940 (60000000), id 0, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type DTV7 ZARLINK456 SCODE HAS_IF_5260 (62000080), id 0, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type MONO SCODE HAS_IF_5320 (60008000), id 800000007, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type DTV8 SCODE HAS_IF_5400 (60000200), id 0, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type DTV6 ATSC OREN538 SCODE HAS_IF_5580 (60110020), id 0, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_5640 (60000000), id 200000007, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_5740 (60000000), id 800000007, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type DTV7 DIBCOM52 SCODE HAS_IF_5900 (61000080), id 0, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type MONO SCODE HAS_IF_6000 (60008000), id 10, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type DTV6 QAM F6MHZ SCODE HAS_IF_6200 (68000060), id 0, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_6240 (60000000), id 10, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type MONO SCODE HAS_IF_6320 (60008000), id 200000, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_6340 (60000000), id 200000, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type MONO SCODE HAS_IF_6500 (60008000), id 4000000, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type DTV6 ATSC ATI638 SCODE HAS_IF_6580 (60090020), id 0, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_6600 (60000000), id 3000000e0, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type MONO SCODE HAS_IF_6680 (60008000), id 3000000e0, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type DTV6 ATSC TOYOTA794 SCODE HAS_IF_8140 (60810020), id 0, size=192.
[ 2282.480000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_8200 (60000000), id 0, size=192.
[ 2282.480000] xc2028 4-0061: Firmware files loaded.
[ 2282.480000] xc2028 4-0061: checking firmware, user requested type=F8MHZ D2620 DTV8 (20a), id 0000000000000000, scode_tbl (0), scode_nr 0
[ 2282.480000] dib0700: stk7700ph_xc3028_callback: XC2028_TUNER_RESET 0
[ 2282.480000] 
[ 2282.504000] xc2028 4-0061: load_firmware called
[ 2282.504000] xc2028 4-0061: seek_firmware called, want type=BASE F8MHZ D2620 DTV8 (20b), id 0000000000000000.
[ 2282.504000] xc2028 4-0061: Found firmware for type=BASE F8MHZ (3), id 0000000000000000.
[ 2282.504000] xc2028 4-0061: Loading firmware for type=BASE F8MHZ (3), id 0000000000000000.
[ 2282.504000] dib0700: stk7700ph_xc3028_callback: XC2028_TUNER_RESET 0
[ 2282.504000] 
[ 2289.104000] xc2028 4-0061: Load init1 firmware, if exists
[ 2289.104000] xc2028 4-0061: load_firmware called
[ 2289.104000] xc2028 4-0061: seek_firmware called, want type=BASE INIT1 F8MHZ D2620 DTV8 (420b), id 0000000000000000.
[ 2289.104000] xc2028 4-0061: Can't find firmware for type=BASE INIT1 F8MHZ (4003), id 0000000000000000.
[ 2289.104000] xc2028 4-0061: load_firmware called
[ 2289.104000] xc2028 4-0061: seek_firmware called, want type=BASE INIT1 D2620 DTV8 (4209), id 0000000000000000.
[ 2289.104000] xc2028 4-0061: Can't find firmware for type=BASE INIT1 (4001), id 0000000000000000.
[ 2289.104000] xc2028 4-0061: load_firmware called
[ 2289.104000] xc2028 4-0061: seek_firmware called, want type=F8MHZ D2620 DTV8 (20a), id 0000000000000000.
[ 2289.104000] xc2028 4-0061: Found firmware for type=D2620 DTV8 (208), id 0000000000000000.
[ 2289.104000] xc2028 4-0061: Loading firmware for type=D2620 DTV8 (208), id 0000000000000000.
[ 2289.224000] xc2028 4-0061: Trying to load scode 0
[ 2289.224000] xc2028 4-0061: load_scode called
[ 2289.224000] xc2028 4-0061: seek_firmware called, want type=F8MHZ D2620 DTV8 SCODE (2000020a), id 0000000000000000.
[ 2289.224000] xc2028 4-0061: Found firmware for type=DTV8 SCODE (20000200), id 0000000000000000.
[ 2289.224000] xc2028 4-0061: Loading SCODE for type=DTV8 SCODE HAS_IF_5400 (60000200), id 0000000000000000.
[ 2289.272000] xc2028 4-0061: xc2028_get_reg 0004 called
[ 2289.276000] xc2028 4-0061: xc2028_get_reg 0008 called
[ 2289.284000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 2289.304000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 2289.304000] 
[ 2289.428000] xc2028 4-0061: divisor= 00 00 63 d0 (freq=402.000)
[ 2290.972000] xc2028 4-0061: xc2028_set_params called
[ 2290.972000] xc2028 4-0061: generic_set_freq called
[ 2290.972000] xc2028 4-0061: should set frequency 402000 kHz
[ 2290.972000] xc2028 4-0061: check_firmware called
[ 2290.972000] xc2028 4-0061: checking firmware, user requested type=F8MHZ D2620 DTV8 (20a), id 0000000000000000, scode_tbl (0), scode_nr 0
[ 2290.972000] xc2028 4-0061: BASE firmware not changed.
[ 2290.972000] xc2028 4-0061: Std-specific firmware already loaded.
[ 2290.972000] xc2028 4-0061: SCODE firmware already loaded.
[ 2290.972000] xc2028 4-0061: xc2028_get_reg 0004 called
[ 2290.980000] xc2028 4-0061: xc2028_get_reg 0008 called
[ 2290.984000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 2291.004000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 2291.004000] 
[ 2291.128000] xc2028 4-0061: divisor= 00 00 63 d0 (freq=402.000)
[ 2292.568000] xc2028 4-0061: xc2028_set_params called
[ 2292.568000] xc2028 4-0061: generic_set_freq called
[ 2292.568000] xc2028 4-0061: should set frequency 410000 kHz
[ 2292.568000] xc2028 4-0061: check_firmware called
[ 2292.568000] xc2028 4-0061: checking firmware, user requested type=F8MHZ D2620 DTV8 (20a), id 0000000000000000, scode_tbl (0), scode_nr 0
[ 2292.568000] xc2028 4-0061: BASE firmware not changed.
[ 2292.568000] xc2028 4-0061: Std-specific firmware already loaded.
[ 2292.568000] xc2028 4-0061: SCODE firmware already loaded.
[ 2292.568000] xc2028 4-0061: xc2028_get_reg 0004 called
[ 2292.572000] xc2028 4-0061: xc2028_get_reg 0008 called
[ 2292.576000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 2292.600000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 2292.600000] 
[ 2292.728000] xc2028 4-0061: divisor= 00 00 65 d0 (freq=410.000)
[ 2294.252000] xc2028 4-0061: xc2028_set_params called
[ 2294.252000] xc2028 4-0061: generic_set_freq called
[ 2294.252000] xc2028 4-0061: should set frequency 410000 kHz
[ 2294.252000] xc2028 4-0061: check_firmware called
[ 2294.252000] xc2028 4-0061: checking firmware, user requested type=F8MHZ D2620 DTV8 (20a), id 0000000000000000, scode_tbl (0), scode_nr 0
[ 2294.252000] xc2028 4-0061: BASE firmware not changed.
[ 2294.252000] xc2028 4-0061: Std-specific firmware already loaded.
[ 2294.252000] xc2028 4-0061: SCODE firmware already loaded.
[ 2294.252000] xc2028 4-0061: xc2028_get_reg 0004 called
[ 2294.260000] xc2028 4-0061: xc2028_get_reg 0008 called
[ 2294.264000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 2294.284000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 2294.284000] 
[ 2294.408000] xc2028 4-0061: divisor= 00 00 65 d0 (freq=410.000)
[ 2295.840000] xc2028 4-0061: xc2028_set_params called
[ 2295.840000] xc2028 4-0061: generic_set_freq called
[ 2295.840000] xc2028 4-0061: should set frequency 418000 kHz
[ 2295.840000] xc2028 4-0061: check_firmware called
[ 2295.840000] xc2028 4-0061: checking firmware, user requested type=F8MHZ D2620 DTV8 (20a), id 0000000000000000, scode_tbl (0), scode_nr 0
[ 2295.840000] xc2028 4-0061: BASE firmware not changed.
[ 2295.840000] xc2028 4-0061: Std-specific firmware already loaded.
[ 2295.840000] xc2028 4-0061: SCODE firmware already loaded.
[ 2295.840000] xc2028 4-0061: xc2028_get_reg 0004 called
[ 2295.844000] xc2028 4-0061: xc2028_get_reg 0008 called
[ 2295.852000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 2295.872000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 2295.872000] 
[ 2295.996000] xc2028 4-0061: divisor= 00 00 67 d0 (freq=418.000)
[ 2297.516000] xc2028 4-0061: xc2028_set_params called
[ 2297.516000] xc2028 4-0061: generic_set_freq called
[ 2297.516000] xc2028 4-0061: should set frequency 418000 kHz
[ 2297.516000] xc2028 4-0061: check_firmware called
[ 2297.516000] xc2028 4-0061: checking firmware, user requested type=F8MHZ D2620 DTV8 (20a), id 0000000000000000, scode_tbl (0), scode_nr 0
[ 2297.516000] xc2028 4-0061: BASE firmware not changed.
[ 2297.516000] xc2028 4-0061: Std-specific firmware already loaded.
[ 2297.516000] xc2028 4-0061: SCODE firmware already loaded.
[ 2297.516000] xc2028 4-0061: xc2028_get_reg 0004 called
[ 2297.524000] xc2028 4-0061: xc2028_get_reg 0008 called
[ 2297.528000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 2297.548000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 2297.548000] 
[ 2297.672000] xc2028 4-0061: divisor= 00 00 67 d0 (freq=418.000)
[ 2299.104000] xc2028 4-0061: xc2028_set_params called
[ 2299.104000] xc2028 4-0061: generic_set_freq called
[ 2299.104000] xc2028 4-0061: should set frequency 426000 kHz
[ 2299.104000] xc2028 4-0061: check_firmware called
[ 2299.104000] xc2028 4-0061: checking firmware, user requested type=F8MHZ D2620 DTV8 (20a), id 0000000000000000, scode_tbl (0), scode_nr 0
[ 2299.104000] xc2028 4-0061: BASE firmware not changed.
[ 2299.104000] xc2028 4-0061: Std-specific firmware already loaded.
[ 2299.104000] xc2028 4-0061: SCODE firmware already loaded.
[ 2299.104000] xc2028 4-0061: xc2028_get_reg 0004 called
[ 2299.108000] xc2028 4-0061: xc2028_get_reg 0008 called
[ 2299.112000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 2299.136000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 2299.136000] 
[ 2299.260000] xc2028 4-0061: divisor= 00 00 69 d0 (freq=426.000)
[ 2300.776000] xc2028 4-0061: xc2028_set_params called
[ 2300.776000] xc2028 4-0061: generic_set_freq called
[ 2300.776000] xc2028 4-0061: should set frequency 426000 kHz
[ 2300.776000] xc2028 4-0061: check_firmware called
[ 2300.776000] xc2028 4-0061: checking firmware, user requested type=F8MHZ D2620 DTV8 (20a), id 0000000000000000, scode_tbl (0), scode_nr 0
[ 2300.776000] xc2028 4-0061: BASE firmware not changed.
[ 2300.776000] xc2028 4-0061: Std-specific firmware already loaded.
[ 2300.776000] xc2028 4-0061: SCODE firmware already loaded.
[ 2300.776000] xc2028 4-0061: xc2028_get_reg 0004 called
[ 2300.784000] xc2028 4-0061: xc2028_get_reg 0008 called
[ 2300.788000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 2300.808000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 2300.808000] 
[ 2300.932000] xc2028 4-0061: divisor= 00 00 69 d0 (freq=426.000)
[ 2302.360000] xc2028 4-0061: xc2028_set_params called
[ 2302.360000] xc2028 4-0061: generic_set_freq called
[ 2302.360000] xc2028 4-0061: should set frequency 434000 kHz
[ 2302.360000] xc2028 4-0061: check_firmware called
[ 2302.360000] xc2028 4-0061: checking firmware, user requested type=F8MHZ D2620 DTV8 (20a), id 0000000000000000, scode_tbl (0), scode_nr 0
[ 2302.360000] xc2028 4-0061: BASE firmware not changed.
[ 2302.360000] xc2028 4-0061: Std-specific firmware already loaded.
[ 2302.360000] xc2028 4-0061: SCODE firmware already loaded.
[ 2302.360000] xc2028 4-0061: xc2028_get_reg 0004 called
[ 2302.364000] xc2028 4-0061: xc2028_get_reg 0008 called
[ 2302.372000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 2302.392000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 2302.392000] 
[ 2302.516000] xc2028 4-0061: divisor= 00 00 6b d0 (freq=434.000)
[ 2304.036000] xc2028 4-0061: xc2028_set_params called
[ 2304.036000] xc2028 4-0061: generic_set_freq called
[ 2304.036000] xc2028 4-0061: should set frequency 434000 kHz
[ 2304.036000] xc2028 4-0061: check_firmware called
[ 2304.036000] xc2028 4-0061: checking firmware, user requested type=F8MHZ D2620 DTV8 (20a), id 0000000000000000, scode_tbl (0), scode_nr 0
[ 2304.036000] xc2028 4-0061: BASE firmware not changed.
[ 2304.036000] xc2028 4-0061: Std-specific firmware already loaded.
[ 2304.036000] xc2028 4-0061: SCODE firmware already loaded.
[ 2304.036000] xc2028 4-0061: xc2028_get_reg 0004 called
[ 2304.044000] xc2028 4-0061: xc2028_get_reg 0008 called
[ 2304.048000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 2304.068000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 2304.068000] 
[ 2304.192000] xc2028 4-0061: divisor= 00 00 6b d0 (freq=434.000)
[ 2305.712000] xc2028 4-0061: xc2028_sleep called


[-- Attachment #3: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [linux-dvb] [PATCH] support Cinergy HT USB XE (0ccd:0058)
  2008-02-14 20:20 ` Albert Comerma
@ 2008-02-15 20:18   ` Mauro Carvalho Chehab
  2008-02-15 21:33     ` Holger Dehnhardt
  0 siblings, 1 reply; 22+ messages in thread
From: Mauro Carvalho Chehab @ 2008-02-15 20:18 UTC (permalink / raw)
  To: Albert Comerma; +Cc: linux-dvb

Hi Albert,

On Thu, 14 Feb 2008 21:20:32 +0100
"Albert Comerma" <albert.comerma@gmail.com> wrote:

> [ 2251.856000] xc2028 4-0061: Error on line 1063: -5

The above error is really weird. It seems to be related to something that
happened before xc2028, since firmware load didn't start on that point of the
code.


> [ 2289.284000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
This message means that xc3028 firmware were successfully loaded and it is
running ok. 

> [ 2282.504000] xc2028 4-0061: Loading firmware for type=BASE F8MHZ (3), id 0000000000000000.
> [ 2289.104000] xc2028 4-0061: Loading firmware for type=D2620 DTV8 (208), id 0000000000000000.
> [ 2289.224000] xc2028 4-0061: Loading SCODE for type=DTV8 SCODE HAS_IF_5400 (60000200), id 0000000000000000.

The above messages state what firmware you've loaded.

xc3028 version 2.7 has 80 different firmwares. If you load a wrong one, your
device won't work.

>From the above, the driver is assuming that you're on an area with 8MHz video
channels. Also, your demod should be using IF = 5.4 MHz:

Firmware 64, type: DTV8 CHINA SCODE HAS IF (0x64000200), IF = 5.40 MHz id: (0000000000000000), size: 192

Does the above firmware correspond to your configuration?

Cheers,
Mauro

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [linux-dvb] [PATCH] support Cinergy HT USB XE (0ccd:0058)
  2008-02-15 20:18   ` Mauro Carvalho Chehab
@ 2008-02-15 21:33     ` Holger Dehnhardt
  2008-02-15 21:43       ` Patrick Boettcher
  0 siblings, 1 reply; 22+ messages in thread
From: Holger Dehnhardt @ 2008-02-15 21:33 UTC (permalink / raw)
  To: linux-dvb

Hi Albert, Hi Mauro,

I have successfulli patched and compiled the driver. Im using the terratec 
cinergy device and it works fine.

> > [ 2251.856000] xc2028 4-0061: Error on line 1063: -5

This error message looked very familar to me, so i searched my log and guess 
what I found:

Feb 15 20:42:18 musik kernel: xc2028 3-0061: xc2028_sleep called
Feb 15 20:42:18 musik kernel: xc2028 3-0061: xc2028_sleep called
Feb 15 20:42:18 musik kernel: xc2028 3-0061: Error on line 1064: -5
Feb 15 20:42:18 musik kernel: DiB7000P: setting output mode for demod df75e800 
to 0
Feb 15 20:42:18 musik kernel: DiB7000P: setting output mode for demod df75e800 
to 0

It identifies the marked line (just to be sure because of the differen line 
numbers)

	if (priv->firm_version < 0x0202)
->		rc = send_seq(priv, {0x00, 0x08, 0x00, 0x00});
	else
		rc = send_seq(priv, {0x80, 0x08, 0x00, 0x00});

> The above error is really weird. It seems to be related to something that
> happened before xc2028, since firmware load didn't start on that point of
> the code.

The error really is weird, but it does not seem to cause the troubles - my 
card works despite the error!

>
> > [ 2289.284000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware
> > version 2.7
>
> This message means that xc3028 firmware were successfully loaded and it is
> running ok.

This and the following messages look similar...

Holger

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [linux-dvb] [PATCH] support Cinergy HT USB XE (0ccd:0058)
  2008-02-15 21:33     ` Holger Dehnhardt
@ 2008-02-15 21:43       ` Patrick Boettcher
  2008-02-15 23:43         ` Albert Comerma
  0 siblings, 1 reply; 22+ messages in thread
From: Patrick Boettcher @ 2008-02-15 21:43 UTC (permalink / raw)
  To: Holger Dehnhardt; +Cc: linux-dvb

Aah now I remember that issue, in fact it is no issue. I was seeing that 
problem when send the sleep command or any other firmware command without 
having a firmware running. In was, so far, no problem.

Patrick.



On Fri, 15 Feb 2008, Holger Dehnhardt wrote:

> Hi Albert, Hi Mauro,
>
> I have successfulli patched and compiled the driver. Im using the terratec
> cinergy device and it works fine.
>
>>> [ 2251.856000] xc2028 4-0061: Error on line 1063: -5
>
> This error message looked very familar to me, so i searched my log and guess
> what I found:
>
> Feb 15 20:42:18 musik kernel: xc2028 3-0061: xc2028_sleep called
> Feb 15 20:42:18 musik kernel: xc2028 3-0061: xc2028_sleep called
> Feb 15 20:42:18 musik kernel: xc2028 3-0061: Error on line 1064: -5
> Feb 15 20:42:18 musik kernel: DiB7000P: setting output mode for demod df75e800
> to 0
> Feb 15 20:42:18 musik kernel: DiB7000P: setting output mode for demod df75e800
> to 0
>
> It identifies the marked line (just to be sure because of the differen line
> numbers)
>
> 	if (priv->firm_version < 0x0202)
> ->		rc = send_seq(priv, {0x00, 0x08, 0x00, 0x00});
> 	else
> 		rc = send_seq(priv, {0x80, 0x08, 0x00, 0x00});
>
>> The above error is really weird. It seems to be related to something that
>> happened before xc2028, since firmware load didn't start on that point of
>> the code.
>
> The error really is weird, but it does not seem to cause the troubles - my
> card works despite the error!
>
>>
>>> [ 2289.284000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware
>>> version 2.7
>>
>> This message means that xc3028 firmware were successfully loaded and it is
>> running ok.
>
> This and the following messages look similar...
>
> Holger
>
> _______________________________________________
> linux-dvb mailing list
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [linux-dvb] [PATCH] support Cinergy HT USB XE (0ccd:0058)
  2008-02-15 21:43       ` Patrick Boettcher
@ 2008-02-15 23:43         ` Albert Comerma
  2008-02-16 14:38           ` Albert Comerma
  0 siblings, 1 reply; 22+ messages in thread
From: Albert Comerma @ 2008-02-15 23:43 UTC (permalink / raw)
  To: linux-dvb


[-- Attachment #1.1: Type: text/plain, Size: 2417 bytes --]

So, If it's not a problem, any of you could send me the current xc3028
firmware you are using, because mine does not seem to work... Thanks.

Albert

2008/2/15, Patrick Boettcher <patrick.boettcher@desy.de>:
>
> Aah now I remember that issue, in fact it is no issue. I was seeing that
> problem when send the sleep command or any other firmware command without
> having a firmware running. In was, so far, no problem.
>
> Patrick.
>
>
>
> On Fri, 15 Feb 2008, Holger Dehnhardt wrote:
>
> > Hi Albert, Hi Mauro,
> >
> > I have successfulli patched and compiled the driver. Im using the
> terratec
> > cinergy device and it works fine.
> >
> >>> [ 2251.856000] xc2028 4-0061: Error on line 1063: -5
> >
> > This error message looked very familar to me, so i searched my log and
> guess
> > what I found:
> >
> > Feb 15 20:42:18 musik kernel: xc2028 3-0061: xc2028_sleep called
> > Feb 15 20:42:18 musik kernel: xc2028 3-0061: xc2028_sleep called
> > Feb 15 20:42:18 musik kernel: xc2028 3-0061: Error on line 1064: -5
> > Feb 15 20:42:18 musik kernel: DiB7000P: setting output mode for demod
> df75e800
> > to 0
> > Feb 15 20:42:18 musik kernel: DiB7000P: setting output mode for demod
> df75e800
> > to 0
> >
> > It identifies the marked line (just to be sure because of the differen
> line
> > numbers)
> >
> >       if (priv->firm_version < 0x0202)
> > ->            rc = send_seq(priv, {0x00, 0x08, 0x00, 0x00});
> >       else
> >               rc = send_seq(priv, {0x80, 0x08, 0x00, 0x00});
> >
> >> The above error is really weird. It seems to be related to something
> that
> >> happened before xc2028, since firmware load didn't start on that point
> of
> >> the code.
> >
> > The error really is weird, but it does not seem to cause the troubles -
> my
> > card works despite the error!
> >
> >>
> >>> [ 2289.284000] xc2028 4-0061: Device is Xceive 3028 version 1.0,
> firmware
> >>> version 2.7
> >>
> >> This message means that xc3028 firmware were successfully loaded and it
> is
> >> running ok.
> >
> > This and the following messages look similar...
> >
> > Holger
> >
> > _______________________________________________
> > linux-dvb mailing list
> > linux-dvb@linuxtv.org
> > http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
> >
>
> _______________________________________________
> linux-dvb mailing list
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>

[-- Attachment #1.2: Type: text/html, Size: 3352 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [linux-dvb] [PATCH] support Cinergy HT USB XE (0ccd:0058)
  2008-02-15 23:43         ` Albert Comerma
@ 2008-02-16 14:38           ` Albert Comerma
  2008-02-16 16:42             ` Albert Comerma
  0 siblings, 1 reply; 22+ messages in thread
From: Albert Comerma @ 2008-02-16 14:38 UTC (permalink / raw)
  To: linux-dvb


[-- Attachment #1.1: Type: text/plain, Size: 3012 bytes --]

For what I understand, changing the Firmware 64 to 60000200 changes the if
frequency to 5.2MHz. So this modification on the firmware should make the
card work. What it's more strange for me is that when trying to scan no
signal or SNR is reported, so it seems like xc3028 firmware is not working
properly. Perhaps could be a wrong BASE or DTV firmware loaded?

Albert

2008/2/16, Albert Comerma <albert.comerma@gmail.com>:
>
> So, If it's not a problem, any of you could send me the current xc3028
> firmware you are using, because mine does not seem to work... Thanks.
>
> Albert
>
> 2008/2/15, Patrick Boettcher <patrick.boettcher@desy.de>:
> >
> > Aah now I remember that issue, in fact it is no issue. I was seeing that
> > problem when send the sleep command or any other firmware command
> > without
> > having a firmware running. In was, so far, no problem.
> >
> > Patrick.
> >
> >
> >
> > On Fri, 15 Feb 2008, Holger Dehnhardt wrote:
> >
> > > Hi Albert, Hi Mauro,
> > >
> > > I have successfulli patched and compiled the driver. Im using the
> > terratec
> > > cinergy device and it works fine.
> > >
> > >>> [ 2251.856000] xc2028 4-0061: Error on line 1063: -5
> > >
> > > This error message looked very familar to me, so i searched my log and
> > guess
> > > what I found:
> > >
> > > Feb 15 20:42:18 musik kernel: xc2028 3-0061: xc2028_sleep called
> > > Feb 15 20:42:18 musik kernel: xc2028 3-0061: xc2028_sleep called
> > > Feb 15 20:42:18 musik kernel: xc2028 3-0061: Error on line 1064: -5
> > > Feb 15 20:42:18 musik kernel: DiB7000P: setting output mode for demod
> > df75e800
> > > to 0
> > > Feb 15 20:42:18 musik kernel: DiB7000P: setting output mode for demod
> > df75e800
> > > to 0
> > >
> > > It identifies the marked line (just to be sure because of the differen
> > line
> > > numbers)
> > >
> > >       if (priv->firm_version < 0x0202)
> > > ->            rc = send_seq(priv, {0x00, 0x08, 0x00, 0x00});
> > >       else
> > >               rc = send_seq(priv, {0x80, 0x08, 0x00, 0x00});
> > >
> > >> The above error is really weird. It seems to be related to something
> > that
> > >> happened before xc2028, since firmware load didn't start on that
> > point of
> > >> the code.
> > >
> > > The error really is weird, but it does not seem to cause the troubles
> > - my
> > > card works despite the error!
> > >
> > >>
> > >>> [ 2289.284000] xc2028 4-0061: Device is Xceive 3028 version 1.0,
> > firmware
> > >>> version 2.7
> > >>
> > >> This message means that xc3028 firmware were successfully loaded and
> > it is
> > >> running ok.
> > >
> > > This and the following messages look similar...
> > >
> > > Holger
> > >
> > > _______________________________________________
> > > linux-dvb mailing list
> > > linux-dvb@linuxtv.org
> > > http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
> > >
> >
> > _______________________________________________
> > linux-dvb mailing list
> > linux-dvb@linuxtv.org
> > http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
> >
>
>

[-- Attachment #1.2: Type: text/html, Size: 4462 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [linux-dvb] [PATCH] support Cinergy HT USB XE (0ccd:0058)
  2008-02-16 14:38           ` Albert Comerma
@ 2008-02-16 16:42             ` Albert Comerma
  2008-02-16 21:26               ` Hans-Frieder Vogt
  0 siblings, 1 reply; 22+ messages in thread
From: Albert Comerma @ 2008-02-16 16:42 UTC (permalink / raw)
  To: linux-dvb


[-- Attachment #1.1: Type: text/plain, Size: 3454 bytes --]

More information... I attach a dmesg of tuner-xc2028 loaded in debug mode
while doing a scan ( scan es-Collserola|tee channels.conf ). I don't see any
problem, but it doesn't work.

Albert

2008/2/16, Albert Comerma <albert.comerma@gmail.com>:
>
> For what I understand, changing the Firmware 64 to 60000200 changes the if
> frequency to 5.2MHz. So this modification on the firmware should make the
> card work. What it's more strange for me is that when trying to scan no
> signal or SNR is reported, so it seems like xc3028 firmware is not working
> properly. Perhaps could be a wrong BASE or DTV firmware loaded?
>
> Albert
>
> 2008/2/16, Albert Comerma <albert.comerma@gmail.com>:
> >
> > So, If it's not a problem, any of you could send me the current xc3028
> > firmware you are using, because mine does not seem to work... Thanks.
> >
> > Albert
> >
> > 2008/2/15, Patrick Boettcher <patrick.boettcher@desy.de>:
> > >
> > > Aah now I remember that issue, in fact it is no issue. I was seeing
> > > that
> > > problem when send the sleep command or any other firmware command
> > > without
> > > having a firmware running. In was, so far, no problem.
> > >
> > > Patrick.
> > >
> > >
> > >
> > > On Fri, 15 Feb 2008, Holger Dehnhardt wrote:
> > >
> > > > Hi Albert, Hi Mauro,
> > > >
> > > > I have successfulli patched and compiled the driver. Im using the
> > > terratec
> > > > cinergy device and it works fine.
> > > >
> > > >>> [ 2251.856000] xc2028 4-0061: Error on line 1063: -5
> > > >
> > > > This error message looked very familar to me, so i searched my log
> > > and guess
> > > > what I found:
> > > >
> > > > Feb 15 20:42:18 musik kernel: xc2028 3-0061: xc2028_sleep called
> > > > Feb 15 20:42:18 musik kernel: xc2028 3-0061: xc2028_sleep called
> > > > Feb 15 20:42:18 musik kernel: xc2028 3-0061: Error on line 1064: -5
> > > > Feb 15 20:42:18 musik kernel: DiB7000P: setting output mode for
> > > demod df75e800
> > > > to 0
> > > > Feb 15 20:42:18 musik kernel: DiB7000P: setting output mode for
> > > demod df75e800
> > > > to 0
> > > >
> > > > It identifies the marked line (just to be sure because of the
> > > differen line
> > > > numbers)
> > > >
> > > >       if (priv->firm_version < 0x0202)
> > > > ->            rc = send_seq(priv, {0x00, 0x08, 0x00, 0x00});
> > > >       else
> > > >               rc = send_seq(priv, {0x80, 0x08, 0x00, 0x00});
> > > >
> > > >> The above error is really weird. It seems to be related to
> > > something that
> > > >> happened before xc2028, since firmware load didn't start on that
> > > point of
> > > >> the code.
> > > >
> > > > The error really is weird, but it does not seem to cause the
> > > troubles - my
> > > > card works despite the error!
> > > >
> > > >>
> > > >>> [ 2289.284000] xc2028 4-0061: Device is Xceive 3028 version 1.0,
> > > firmware
> > > >>> version 2.7
> > > >>
> > > >> This message means that xc3028 firmware were successfully loaded
> > > and it is
> > > >> running ok.
> > > >
> > > > This and the following messages look similar...
> > > >
> > > > Holger
> > > >
> > > > _______________________________________________
> > > > linux-dvb mailing list
> > > > linux-dvb@linuxtv.org
> > > > http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
> > > >
> > >
> > > _______________________________________________
> > > linux-dvb mailing list
> > > linux-dvb@linuxtv.org
> > > http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
> > >
> >
> >
>

[-- Attachment #1.2: Type: text/html, Size: 5078 bytes --]

[-- Attachment #2: dmesg.txt --]
[-- Type: text/plain, Size: 14152 bytes --]

[ 2197.708000] usb 6-1: new high speed USB device using ehci_hcd and address 4
[ 2197.840000] usb 6-1: configuration #1 chosen from 1 choice
[ 2197.840000] dvb-usb: found a 'Pinnacle Expresscard 320cx' in cold state, will try to load a firmware
[ 2197.844000] dvb-usb: downloading firmware from file 'dvb-usb-dib0700-1.10.fw'
[ 2198.048000] dib0700: firmware started successfully.
[ 2198.552000] dvb-usb: found a 'Pinnacle Expresscard 320cx' in warm state.
[ 2198.552000] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 2198.552000] DVB: registering new adapter (Pinnacle Expresscard 320cx)
[ 2198.920000] DVB: registering frontend 0 (DiBcom 7000PC)...
[ 2198.920000] xc2028: Xcv2028/3028 init called!
[ 2198.920000] xc2028 4-0061: type set to XCeive xc2028/xc3028 tuner
[ 2198.920000] xc2028 4-0061: xc2028_set_config called
[ 2198.920000] input: IR-receiver inside an USB DVB receiver as /class/input/input11
[ 2198.920000] dvb-usb: schedule remote query interval to 150 msecs.
[ 2198.920000] dvb-usb: Pinnacle Expresscard 320cx successfully initialized and connected.
[ 2223.936000] xc2028 4-0061: xc2028_set_params called
[ 2223.936000] xc2028 4-0061: generic_set_freq called
[ 2223.936000] xc2028 4-0061: should set frequency 514000 kHz
[ 2223.936000] xc2028 4-0061: check_firmware called
[ 2223.936000] xc2028 4-0061: load_all_firmwares called
[ 2223.936000] xc2028 4-0061: Reading firmware xc3028-v27.fw
[ 2223.940000] xc2028 4-0061: Loading 80 firmware images from xc3028-v27.fw, type: xc2028 firmware, ver 2.7
[ 2223.940000] xc2028 4-0061: Reading firmware type BASE F8MHZ (3), id 0, size=8718.
[ 2223.940000] xc2028 4-0061: Reading firmware type BASE F8MHZ MTS (7), id 0, size=8712.
[ 2223.940000] xc2028 4-0061: Reading firmware type BASE FM (401), id 0, size=8562.
[ 2223.940000] xc2028 4-0061: Reading firmware type BASE FM INPUT1 (c01), id 0, size=8576.
[ 2223.940000] xc2028 4-0061: Reading firmware type BASE (1), id 0, size=8706.
[ 2223.940000] xc2028 4-0061: Reading firmware type BASE MTS (5), id 0, size=8682.
[ 2223.940000] xc2028 4-0061: Reading firmware type (0), id 100000007, size=161.
[ 2223.940000] xc2028 4-0061: Reading firmware type MTS (4), id 100000007, size=169.
[ 2223.940000] xc2028 4-0061: Reading firmware type (0), id 200000007, size=161.
[ 2223.940000] xc2028 4-0061: Reading firmware type MTS (4), id 200000007, size=169.
[ 2223.940000] xc2028 4-0061: Reading firmware type (0), id 400000007, size=161.
[ 2223.940000] xc2028 4-0061: Reading firmware type MTS (4), id 400000007, size=169.
[ 2223.940000] xc2028 4-0061: Reading firmware type (0), id 800000007, size=161.
[ 2223.940000] xc2028 4-0061: Reading firmware type MTS (4), id 800000007, size=169.
[ 2223.940000] xc2028 4-0061: Reading firmware type (0), id 3000000e0, size=161.
[ 2223.940000] xc2028 4-0061: Reading firmware type MTS (4), id 3000000e0, size=169.
[ 2223.940000] xc2028 4-0061: Reading firmware type (0), id c000000e0, size=161.
[ 2223.940000] xc2028 4-0061: Reading firmware type MTS (4), id c000000e0, size=169.
[ 2223.940000] xc2028 4-0061: Reading firmware type (0), id 200000, size=161.
[ 2223.940000] xc2028 4-0061: Reading firmware type MTS (4), id 200000, size=169.
[ 2223.940000] xc2028 4-0061: Reading firmware type (0), id 4000000, size=161.
[ 2223.940000] xc2028 4-0061: Reading firmware type MTS (4), id 4000000, size=169.
[ 2223.940000] xc2028 4-0061: Reading firmware type D2633 DTV6 ATSC (10030), id 0, size=149.
[ 2223.940000] xc2028 4-0061: Reading firmware type D2620 DTV6 QAM (68), id 0, size=149.
[ 2223.940000] xc2028 4-0061: Reading firmware type D2633 DTV6 QAM (70), id 0, size=149.
[ 2223.940000] xc2028 4-0061: Reading firmware type D2620 DTV7 (88), id 0, size=149.
[ 2223.940000] xc2028 4-0061: Reading firmware type D2633 DTV7 (90), id 0, size=149.
[ 2223.940000] xc2028 4-0061: Reading firmware type D2620 DTV78 (108), id 0, size=149.
[ 2223.940000] xc2028 4-0061: Reading firmware type D2633 DTV78 (110), id 0, size=149.
[ 2223.940000] xc2028 4-0061: Reading firmware type D2620 DTV8 (208), id 0, size=149.
[ 2223.940000] xc2028 4-0061: Reading firmware type D2633 DTV8 (210), id 0, size=149.
[ 2223.940000] xc2028 4-0061: Reading firmware type FM (400), id 0, size=135.
[ 2223.940000] xc2028 4-0061: Reading firmware type (0), id 10, size=161.
[ 2223.940000] xc2028 4-0061: Reading firmware type MTS (4), id 10, size=169.
[ 2223.940000] xc2028 4-0061: Reading firmware type (0), id 1000400000, size=169.
[ 2223.940000] xc2028 4-0061: Reading firmware type (0), id c00400000, size=161.
[ 2223.940000] xc2028 4-0061: Reading firmware type (0), id 800000, size=161.
[ 2223.940000] xc2028 4-0061: Reading firmware type (0), id 8000, size=161.
[ 2223.940000] xc2028 4-0061: Reading firmware type LCD (1000), id 8000, size=161.
[ 2223.940000] xc2028 4-0061: Reading firmware type LCD NOGD (3000), id 8000, size=161.
[ 2223.940000] xc2028 4-0061: Reading firmware type MTS (4), id 8000, size=169.
[ 2223.940000] xc2028 4-0061: Reading firmware type (0), id b700, size=161.
[ 2223.940000] xc2028 4-0061: Reading firmware type LCD (1000), id b700, size=161.
[ 2223.940000] xc2028 4-0061: Reading firmware type LCD NOGD (3000), id b700, size=161.
[ 2223.940000] xc2028 4-0061: Reading firmware type (0), id 2000, size=161.
[ 2223.940000] xc2028 4-0061: Reading firmware type MTS (4), id b700, size=169.
[ 2223.940000] xc2028 4-0061: Reading firmware type MTS LCD (1004), id b700, size=169.
[ 2223.940000] xc2028 4-0061: Reading firmware type MTS LCD NOGD (3004), id b700, size=169.
[ 2223.940000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_3280 (60000000), id 0, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_3300 (60000000), id 0, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_3440 (60000000), id 0, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_3460 (60000000), id 0, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type DTV6 ATSC OREN36 SCODE HAS_IF_3800 (60210020), id 0, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_4000 (60000000), id 0, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type DTV6 ATSC TOYOTA388 SCODE HAS_IF_4080 (60410020), id 0, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_4200 (60000000), id 0, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type MONO SCODE HAS_IF_4320 (60008000), id 8000, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_4450 (60000000), id 0, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_4500 (60000000), id 2000, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type LCD NOGD IF SCODE HAS_IF_4600 (60023000), id 8000, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type DTV78 ZARLINK456 SCODE HAS_IF_4760 (62000100), id 0, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_4940 (60000000), id 0, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type DTV7 ZARLINK456 SCODE HAS_IF_5260 (62000080), id 0, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type MONO SCODE HAS_IF_5320 (60008000), id 800000007, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type DTV8 SCODE HAS_IF_5400 (60000200), id 0, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type DTV6 ATSC OREN538 SCODE HAS_IF_5580 (60110020), id 0, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_5640 (60000000), id 200000007, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_5740 (60000000), id 800000007, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type DTV7 DIBCOM52 SCODE HAS_IF_5900 (61000080), id 0, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type MONO SCODE HAS_IF_6000 (60008000), id 10, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type DTV6 QAM F6MHZ SCODE HAS_IF_6200 (68000060), id 0, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_6240 (60000000), id 10, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type MONO SCODE HAS_IF_6320 (60008000), id 200000, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_6340 (60000000), id 200000, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type MONO SCODE HAS_IF_6500 (60008000), id 4000000, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type DTV6 ATSC ATI638 SCODE HAS_IF_6580 (60090020), id 0, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_6600 (60000000), id 3000000e0, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type MONO SCODE HAS_IF_6680 (60008000), id 3000000e0, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type DTV6 ATSC TOYOTA794 SCODE HAS_IF_8140 (60810020), id 0, size=192.
[ 2223.940000] xc2028 4-0061: Reading firmware type SCODE HAS_IF_8200 (60000000), id 0, size=192.
[ 2223.940000] xc2028 4-0061: Firmware files loaded.
[ 2223.940000] xc2028 4-0061: checking firmware, user requested type=F8MHZ D2620 DTV8 (20a), id 0000000000000000, scode_tbl (0), scode_nr 0
[ 2223.940000] dib0700: stk7700ph_xc3028_callback: XC2028_TUNER_RESET 0
[ 2223.940000] 
[ 2223.968000] xc2028 4-0061: load_firmware called
[ 2223.968000] xc2028 4-0061: seek_firmware called, want type=BASE F8MHZ D2620 DTV8 (20b), id 0000000000000000.
[ 2223.968000] xc2028 4-0061: Found firmware for type=BASE F8MHZ (3), id 0000000000000000.
[ 2223.968000] xc2028 4-0061: Loading firmware for type=BASE F8MHZ (3), id 0000000000000000.
[ 2223.968000] dib0700: stk7700ph_xc3028_callback: XC2028_TUNER_RESET 0
[ 2223.968000] 
[ 2230.492000] xc2028 4-0061: Load init1 firmware, if exists
[ 2230.492000] xc2028 4-0061: load_firmware called
[ 2230.492000] xc2028 4-0061: seek_firmware called, want type=BASE INIT1 F8MHZ D2620 DTV8 (420b), id 0000000000000000.
[ 2230.492000] xc2028 4-0061: Can't find firmware for type=BASE INIT1 F8MHZ (4003), id 0000000000000000.
[ 2230.492000] xc2028 4-0061: load_firmware called
[ 2230.492000] xc2028 4-0061: seek_firmware called, want type=BASE INIT1 D2620 DTV8 (4209), id 0000000000000000.
[ 2230.492000] xc2028 4-0061: Can't find firmware for type=BASE INIT1 (4001), id 0000000000000000.
[ 2230.492000] xc2028 4-0061: load_firmware called
[ 2230.492000] xc2028 4-0061: seek_firmware called, want type=F8MHZ D2620 DTV8 (20a), id 0000000000000000.
[ 2230.492000] xc2028 4-0061: Found firmware for type=D2620 DTV8 (208), id 0000000000000000.
[ 2230.492000] xc2028 4-0061: Loading firmware for type=D2620 DTV8 (208), id 0000000000000000.
[ 2230.604000] xc2028 4-0061: Trying to load scode 0
[ 2230.604000] xc2028 4-0061: load_scode called
[ 2230.604000] xc2028 4-0061: seek_firmware called, want type=F8MHZ D2620 DTV8 SCODE (2000020a), id 0000000000000000.
[ 2230.604000] xc2028 4-0061: Found firmware for type=DTV8 SCODE (20000200), id 0000000000000000.
[ 2230.604000] xc2028 4-0061: Loading SCODE for type=DTV8 SCODE HAS_IF_5400 (60000200), id 0000000000000000.
[ 2230.652000] xc2028 4-0061: xc2028_get_reg 0004 called
[ 2230.656000] xc2028 4-0061: xc2028_get_reg 0008 called
[ 2230.660000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 2230.684000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 2230.684000] 
[ 2230.808000] xc2028 4-0061: divisor= 00 00 7f d0 (freq=514.000)
[ 2232.196000] xc2028 4-0061: xc2028_set_params called
[ 2232.196000] xc2028 4-0061: generic_set_freq called
[ 2232.196000] xc2028 4-0061: should set frequency 514000 kHz
[ 2232.196000] xc2028 4-0061: check_firmware called
[ 2232.196000] xc2028 4-0061: checking firmware, user requested type=F8MHZ D2620 DTV8 (20a), id 0000000000000000, scode_tbl (0), scode_nr 0
[ 2232.196000] xc2028 4-0061: BASE firmware not changed.
[ 2232.196000] xc2028 4-0061: Std-specific firmware already loaded.
[ 2232.196000] xc2028 4-0061: SCODE firmware already loaded.
[ 2232.196000] xc2028 4-0061: xc2028_get_reg 0004 called
[ 2232.204000] xc2028 4-0061: xc2028_get_reg 0008 called
[ 2232.208000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 2232.228000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 2232.228000] 
[ 2232.352000] xc2028 4-0061: divisor= 00 00 7f d0 (freq=514.000)
[ 2233.536000] xc2028 4-0061: xc2028_set_params called
[ 2233.536000] xc2028 4-0061: generic_set_freq called
[ 2233.536000] xc2028 4-0061: should set frequency 514000 kHz
[ 2233.536000] xc2028 4-0061: check_firmware called
[ 2233.536000] xc2028 4-0061: checking firmware, user requested type=F8MHZ D2620 DTV8 (20a), id 0000000000000000, scode_tbl (0), scode_nr 0
[ 2233.536000] xc2028 4-0061: BASE firmware not changed.
[ 2233.536000] xc2028 4-0061: Std-specific firmware already loaded.
[ 2233.536000] xc2028 4-0061: SCODE firmware already loaded.
[ 2233.536000] xc2028 4-0061: xc2028_get_reg 0004 called
[ 2233.544000] xc2028 4-0061: xc2028_get_reg 0008 called
[ 2233.548000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7

....

[ 2273.716000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 2273.716000] 
[ 2273.840000] xc2028 4-0061: divisor= 00 00 d5 d0 (freq=858.000)
[ 2275.212000] xc2028 4-0061: xc2028_set_params called
[ 2275.212000] xc2028 4-0061: generic_set_freq called
[ 2275.212000] xc2028 4-0061: should set frequency 858000 kHz
[ 2275.212000] xc2028 4-0061: check_firmware called
[ 2275.212000] xc2028 4-0061: checking firmware, user requested type=F8MHZ D2620 DTV8 (20a), id 0000000000000000, scode_tbl (0), scode_nr 0
[ 2275.212000] xc2028 4-0061: BASE firmware not changed.
[ 2275.212000] xc2028 4-0061: Std-specific firmware already loaded.
[ 2275.212000] xc2028 4-0061: SCODE firmware already loaded.
[ 2275.212000] xc2028 4-0061: xc2028_get_reg 0004 called
[ 2275.220000] xc2028 4-0061: xc2028_get_reg 0008 called
[ 2275.224000] xc2028 4-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
[ 2275.244000] dib0700: stk7700ph_xc3028_callback: XC2028_RESET_CLK 1
[ 2275.244000] 
[ 2275.368000] xc2028 4-0061: divisor= 00 00 d5 d0 (freq=858.000)
[ 2276.732000] xc2028 4-0061: xc2028_sleep called

[-- Attachment #3: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [linux-dvb] [PATCH] support Cinergy HT USB XE (0ccd:0058)
  2008-02-16 16:42             ` Albert Comerma
@ 2008-02-16 21:26               ` Hans-Frieder Vogt
  2008-02-17 12:14                 ` Albert Comerma
  0 siblings, 1 reply; 22+ messages in thread
From: Hans-Frieder Vogt @ 2008-02-16 21:26 UTC (permalink / raw)
  To: Albert Comerma; +Cc: linux-dvb

Albert,

your dmesg-output looks absolutely fine for me (besides the already discussed xc2028 4-0061: Error on line 1063: -5
message).
Since you also obvisouly succeeded to patch the xc3028 firmware so that the scode can be loaded (which in my
cinergy did not make any noticeable difference), I still have the suspicion that the dib0700-firmware is the main reason
for your device not working.
Can you try the firmware from the Windows-driver? Comparing various dib0700-based device drivers, I found quite
different dib0700-firmware in these. I am not sure if there is any single "latest" version of the firmware which can be used
for all devices.

I have written a small tool to extract the dib0700 firmware from the Windows driver (there are probably already other/better
tools around, but I just did not find any). If you use this tool (ignore the warnings, I am still trying to understand how the
firmware is organised) and then copy the resulting firmware to the firmware-directory under the name of
dvb-usb-dib0700-1.10.fw, do you see any difference?

Good luck,
Hans-Frieder

Here comes the tool:

/*
   dib0700 firmware extraction tool
   extracts firmware for DiBcom0700(c) based devices from .sys driver files
   and stores all found firmwares in files dibfw-00.fw, dibfw-01.fw, ...

   Copyright (C) 2008 Hans-Frieder Vogt <hfvogt@gmx.net>

   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 version 2

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>   /* for O_RDONLY */
#include <unistd.h>  /* for open/close, ftruncate */
#include <errno.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/mman.h>


static const char fwstart[] = "\x02\x00\x00\x00\x04\x70\x00\x00";

#define MAX_FW 10
static int fwofs[MAX_FW];

int read_firmware(unsigned char *m, int idx) {
	int fd;
	int j, i = 0;
	unsigned char *buf;	/* fw is stored in junks of 22 bytes */
	char fname[20];
	unsigned char bytes, hibyte, lobyte, endflag, crcbyte;
	unsigned int crc, datapos;
	int databytes = 0;

	sprintf(fname,"dibfw-%02x.fw", idx);

	fd = open(fname, O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR);
	if (fd < 0) {
		fprintf(stderr, "ERROR trying to open/create output file \"%s\""
			"\n", fname);
		return 1;
	}
	for (i=0;; i=i+22) {
		buf = &m[i];

		bytes = buf[0];
		lobyte = buf[2];
		hibyte = buf[3];
		endflag = buf[4];
		crcbyte = buf[21];

		/* do the checksum test */
		crc = 0;
		for (j=0; j<22; j++)
			crc += buf[j];
		if ((crc & 0xff) != 0) {
			fprintf(stderr, "ERROR: invalid line 0x%08x:\n", i);
			for (j=0; j<22; j++)
				fprintf(stderr, "0x%02x ", buf[j]);
			fprintf(stderr, "\n");
			break;
		}

		/* check whether data really fits together */
		if (i > 0) {
			datapos = lobyte | (hibyte << 8);
			if (datapos != databytes) {
				fprintf(stderr, "WARNING data inconsistent? at "
					"offset 0x%04x data written is 0x%04x, "
					"but line says 0x%04x\n", i, databytes,
					datapos);
			}
		}

		/* now write the data */
		write(fd, &bytes, 1);
		write(fd, &lobyte, 1);
		write(fd, &hibyte, 1);
		write(fd, &endflag, 1);
		write(fd, &buf[5], bytes);
		write(fd, &crcbyte, 1);
		if (i > 0) {
			databytes += bytes;
		}

		/* endflag seems to indicate the end of the firmware */
		if (endflag == 1)
			break;
	}
	close(fd);
}

int main(int argc, char **argv) {
	struct stat st;
	int fd;
	unsigned char *map;
	unsigned long map_len;
	int err;
	int i, j;
	int num_fw = 0;

	printf("%s - an extraction tool for DiBcom0700(c) firmware from W* drivers\n", 
		argv[0]);
	if (argc!=2) {
		fprintf(stderr, "%s <sys-filename>\n", argv[0]);
		return 1;
	}
	if ((err = stat(argv[1], &st) < 0)) {
		fprintf(stderr, "ERROR calling stat: %s\n", strerror (err));
		return 1;
	}
	fd = open(argv[1], O_RDONLY, 0);
	if (fd < 0) {
		fprintf(stderr, "ERROR trying to open file \"%s\"\n", argv[1]);
		return 1;
	}
	/* generate a memory map for the file */
	map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0);
	close (fd);

	if (map == MAP_FAILED) {
		fprintf (stderr, "ERROR calling mmap: %s\n", strerror (errno));
		return 1;
	}
	map_len = st.st_size;

	/* first search for characteristic start-string */
	for (i=0; i<map_len-8; i=i+4) {
		if ((*((unsigned int *)&map[i]) == *((unsigned int *)fwstart)) &&
		    (*((unsigned int *)&map[i+4]) == *((unsigned int *)&fwstart[4]))) {
			printf("found start of FW at 0x%08x\n", i);
			fwofs[num_fw] = i;
			num_fw++;
			if (num_fw >= MAX_FW) {
				fprintf(stderr, "WARNING: number of firmwares "
					"identified limited by compile time "
					"array size %d\n", MAX_FW);
				break;
			}
		}
	}
	if (0 == num_fw) {
		fprintf(stderr, "ERROR: did not find any firmwares in file "
			"\"%s\"\n", argv[1]);
		return 1;
	}
	for (i=0; i<num_fw; i++) {
		read_firmware(&map[fwofs[i]],i);
	}

	return 0;
}



Am Samstag, 16. Februar 2008 schrieb Albert Comerma:
> More information... I attach a dmesg of tuner-xc2028 loaded in debug mode
> while doing a scan ( scan es-Collserola|tee channels.conf ). I don't see any
> problem, but it doesn't work.
> 
> Albert
> 
> 2008/2/16, Albert Comerma <albert.comerma@gmail.com>:
> >
> > For what I understand, changing the Firmware 64 to 60000200 changes the if
> > frequency to 5.2MHz. So this modification on the firmware should make the
> > card work. What it's more strange for me is that when trying to scan no
> > signal or SNR is reported, so it seems like xc3028 firmware is not working
> > properly. Perhaps could be a wrong BASE or DTV firmware loaded?
> >
> > Albert
> >
> > 2008/2/16, Albert Comerma <albert.comerma@gmail.com>:
> > >
> > > So, If it's not a problem, any of you could send me the current xc3028
> > > firmware you are using, because mine does not seem to work... Thanks.
> > >
> > > Albert
> > >
> > > 2008/2/15, Patrick Boettcher <patrick.boettcher@desy.de>:
> > > >
> > > > Aah now I remember that issue, in fact it is no issue. I was seeing
> > > > that
> > > > problem when send the sleep command or any other firmware command
> > > > without
> > > > having a firmware running. In was, so far, no problem.
> > > >
> > > > Patrick.
> > > >
> > > >
> > > >
> > > > On Fri, 15 Feb 2008, Holger Dehnhardt wrote:
> > > >
> > > > > Hi Albert, Hi Mauro,
> > > > >
> > > > > I have successfulli patched and compiled the driver. Im using the
> > > > terratec
> > > > > cinergy device and it works fine.
> > > > >
> > > > >>> [ 2251.856000] xc2028 4-0061: Error on line 1063: -5
> > > > >
> > > > > This error message looked very familar to me, so i searched my log
> > > > and guess
> > > > > what I found:
> > > > >
> > > > > Feb 15 20:42:18 musik kernel: xc2028 3-0061: xc2028_sleep called
> > > > > Feb 15 20:42:18 musik kernel: xc2028 3-0061: xc2028_sleep called
> > > > > Feb 15 20:42:18 musik kernel: xc2028 3-0061: Error on line 1064: -5
> > > > > Feb 15 20:42:18 musik kernel: DiB7000P: setting output mode for
> > > > demod df75e800
> > > > > to 0
> > > > > Feb 15 20:42:18 musik kernel: DiB7000P: setting output mode for
> > > > demod df75e800
> > > > > to 0
> > > > >
> > > > > It identifies the marked line (just to be sure because of the
> > > > differen line
> > > > > numbers)
> > > > >
> > > > >       if (priv->firm_version < 0x0202)
> > > > > ->            rc = send_seq(priv, {0x00, 0x08, 0x00, 0x00});
> > > > >       else
> > > > >               rc = send_seq(priv, {0x80, 0x08, 0x00, 0x00});
> > > > >
> > > > >> The above error is really weird. It seems to be related to
> > > > something that
> > > > >> happened before xc2028, since firmware load didn't start on that
> > > > point of
> > > > >> the code.
> > > > >
> > > > > The error really is weird, but it does not seem to cause the
> > > > troubles - my
> > > > > card works despite the error!
> > > > >
> > > > >>
> > > > >>> [ 2289.284000] xc2028 4-0061: Device is Xceive 3028 version 1.0,
> > > > firmware
> > > > >>> version 2.7
> > > > >>
> > > > >> This message means that xc3028 firmware were successfully loaded
> > > > and it is
> > > > >> running ok.
> > > > >
> > > > > This and the following messages look similar...
> > > > >
> > > > > Holger
> > > > >
> > > > > _______________________________________________
> > > > > linux-dvb mailing list
> > > > > linux-dvb@linuxtv.org
> > > > > http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
> > > > >
> > > >
> > > > _______________________________________________
> > > > linux-dvb mailing list
> > > > linux-dvb@linuxtv.org
> > > > http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
> > > >
> > >
> > >
> >
> 



-- 
--
Hans-Frieder Vogt                 e-mail: hfvogt <at> gmx .dot. net

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [linux-dvb] [PATCH] support Cinergy HT USB XE (0ccd:0058)
  2008-02-16 21:26               ` Hans-Frieder Vogt
@ 2008-02-17 12:14                 ` Albert Comerma
  2008-02-17 13:06                   ` Albert Comerma
  0 siblings, 1 reply; 22+ messages in thread
From: Albert Comerma @ 2008-02-17 12:14 UTC (permalink / raw)
  To: hfvogt; +Cc: linux-dvb


[-- Attachment #1.1: Type: text/plain, Size: 11932 bytes --]

Hi hans, thanks for the idea, but the result is the same. I extracted the
firmware for the windows driver using your tool and when I use it, it seems
to work except for a repeating message of;
 dvb-usb: error while querying for an remote control event.
I think they have an other .sys for the remote control management firmware.
But when I try to scan the dmesg is exactly the same as before, everything
seems correct, but there's no signal / SNR. I don't know if this could be a
different GPIO used or different i2c or something like that, because the
rest seems correct.

Albert

2008/2/16, Hans-Frieder Vogt <hfvogt@gmx.net>:
>
> Albert,
>
> your dmesg-output looks absolutely fine for me (besides the already
> discussed xc2028 4-0061: Error on line 1063: -5
> message).
> Since you also obvisouly succeeded to patch the xc3028 firmware so that
> the scode can be loaded (which in my
> cinergy did not make any noticeable difference), I still have the
> suspicion that the dib0700-firmware is the main reason
> for your device not working.
> Can you try the firmware from the Windows-driver? Comparing various
> dib0700-based device drivers, I found quite
> different dib0700-firmware in these. I am not sure if there is any single
> "latest" version of the firmware which can be used
> for all devices.
>
> I have written a small tool to extract the dib0700 firmware from the
> Windows driver (there are probably already other/better
> tools around, but I just did not find any). If you use this tool (ignore
> the warnings, I am still trying to understand how the
> firmware is organised) and then copy the resulting firmware to the
> firmware-directory under the name of
> dvb-usb-dib0700-1.10.fw, do you see any difference?
>
> Good luck,
> Hans-Frieder
>
> Here comes the tool:
>
> /*
>    dib0700 firmware extraction tool
>    extracts firmware for DiBcom0700(c) based devices from .sys driver
> files
>    and stores all found firmwares in files dibfw-00.fw, dibfw-01.fw, ...
>
>    Copyright (C) 2008 Hans-Frieder Vogt <hfvogt@gmx.net>
>
>    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 version 2
>
>    This program is distributed in the hope that it will be useful,
>    but WITHOUT ANY WARRANTY; without even the implied warranty of
>    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>    GNU General Public License for more details.
>
>    You should have received a copy of the GNU General Public License
>    along with this program; if not, write to the Free Software
>    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
>   */
> #include <stdio.h>
> #include <stdlib.h>
> #include <fcntl.h>   /* for O_RDONLY */
> #include <unistd.h>  /* for open/close, ftruncate */
> #include <errno.h>
> #include <string.h>
> #include <sys/stat.h>
> #include <sys/mman.h>
>
>
> static const char fwstart[] = "\x02\x00\x00\x00\x04\x70\x00\x00";
>
> #define MAX_FW 10
> static int fwofs[MAX_FW];
>
> int read_firmware(unsigned char *m, int idx) {
>         int fd;
>         int j, i = 0;
>         unsigned char *buf;     /* fw is stored in junks of 22 bytes */
>         char fname[20];
>         unsigned char bytes, hibyte, lobyte, endflag, crcbyte;
>         unsigned int crc, datapos;
>         int databytes = 0;
>
>         sprintf(fname,"dibfw-%02x.fw", idx);
>
>         fd = open(fname, O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR);
>         if (fd < 0) {
>                 fprintf(stderr, "ERROR trying to open/create output file
> \"%s\""
>                         "\n", fname);
>                 return 1;
>         }
>         for (i=0;; i=i+22) {
>                 buf = &m[i];
>
>                 bytes = buf[0];
>                 lobyte = buf[2];
>                 hibyte = buf[3];
>                 endflag = buf[4];
>                 crcbyte = buf[21];
>
>                 /* do the checksum test */
>                 crc = 0;
>                 for (j=0; j<22; j++)
>                         crc += buf[j];
>                 if ((crc & 0xff) != 0) {
>                         fprintf(stderr, "ERROR: invalid line 0x%08x:\n",
> i);
>                         for (j=0; j<22; j++)
>                                 fprintf(stderr, "0x%02x ", buf[j]);
>                         fprintf(stderr, "\n");
>                         break;
>                 }
>
>                 /* check whether data really fits together */
>                 if (i > 0) {
>                         datapos = lobyte | (hibyte << 8);
>                         if (datapos != databytes) {
>                                 fprintf(stderr, "WARNING data
> inconsistent? at "
>                                         "offset 0x%04x data written is
> 0x%04x, "
>                                         "but line says 0x%04x\n", i,
> databytes,
>                                         datapos);
>                         }
>                 }
>
>                 /* now write the data */
>                 write(fd, &bytes, 1);
>                 write(fd, &lobyte, 1);
>                 write(fd, &hibyte, 1);
>                 write(fd, &endflag, 1);
>                 write(fd, &buf[5], bytes);
>                 write(fd, &crcbyte, 1);
>                 if (i > 0) {
>                         databytes += bytes;
>                 }
>
>                 /* endflag seems to indicate the end of the firmware */
>                 if (endflag == 1)
>                         break;
>         }
>         close(fd);
> }
>
> int main(int argc, char **argv) {
>         struct stat st;
>         int fd;
>         unsigned char *map;
>         unsigned long map_len;
>         int err;
>         int i, j;
>         int num_fw = 0;
>
>         printf("%s - an extraction tool for DiBcom0700(c) firmware from W*
> drivers\n",
>                 argv[0]);
>         if (argc!=2) {
>                 fprintf(stderr, "%s <sys-filename>\n", argv[0]);
>                 return 1;
>         }
>         if ((err = stat(argv[1], &st) < 0)) {
>                 fprintf(stderr, "ERROR calling stat: %s\n", strerror
> (err));
>                 return 1;
>         }
>         fd = open(argv[1], O_RDONLY, 0);
>         if (fd < 0) {
>                 fprintf(stderr, "ERROR trying to open file \"%s\"\n",
> argv[1]);
>                 return 1;
>         }
>         /* generate a memory map for the file */
>         map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0);
>         close (fd);
>
>         if (map == MAP_FAILED) {
>                 fprintf (stderr, "ERROR calling mmap: %s\n", strerror
> (errno));
>                 return 1;
>         }
>         map_len = st.st_size;
>
>         /* first search for characteristic start-string */
>         for (i=0; i<map_len-8; i=i+4) {
>                 if ((*((unsigned int *)&map[i]) == *((unsigned int
> *)fwstart)) &&
>                     (*((unsigned int *)&map[i+4]) == *((unsigned int
> *)&fwstart[4]))) {
>                         printf("found start of FW at 0x%08x\n", i);
>                         fwofs[num_fw] = i;
>                         num_fw++;
>                         if (num_fw >= MAX_FW) {
>                                 fprintf(stderr, "WARNING: number of
> firmwares "
>                                         "identified limited by compile
> time "
>                                         "array size %d\n", MAX_FW);
>                                 break;
>                         }
>                 }
>         }
>         if (0 == num_fw) {
>                 fprintf(stderr, "ERROR: did not find any firmwares in file
> "
>                         "\"%s\"\n", argv[1]);
>                 return 1;
>         }
>         for (i=0; i<num_fw; i++) {
>                 read_firmware(&map[fwofs[i]],i);
>         }
>
>         return 0;
> }
>
>
>
> Am Samstag, 16. Februar 2008 schrieb Albert Comerma:
>
> > More information... I attach a dmesg of tuner-xc2028 loaded in debug
> mode
> > while doing a scan ( scan es-Collserola|tee channels.conf ). I don't see
> any
> > problem, but it doesn't work.
> >
> > Albert
> >
> > 2008/2/16, Albert Comerma <albert.comerma@gmail.com>:
> > >
> > > For what I understand, changing the Firmware 64 to 60000200 changes
> the if
> > > frequency to 5.2MHz. So this modification on the firmware should make
> the
> > > card work. What it's more strange for me is that when trying to scan
> no
> > > signal or SNR is reported, so it seems like xc3028 firmware is not
> working
> > > properly. Perhaps could be a wrong BASE or DTV firmware loaded?
> > >
> > > Albert
> > >
> > > 2008/2/16, Albert Comerma <albert.comerma@gmail.com>:
> > > >
> > > > So, If it's not a problem, any of you could send me the current
> xc3028
> > > > firmware you are using, because mine does not seem to work...
> Thanks.
> > > >
> > > > Albert
> > > >
> > > > 2008/2/15, Patrick Boettcher <patrick.boettcher@desy.de>:
> > > > >
> > > > > Aah now I remember that issue, in fact it is no issue. I was
> seeing
> > > > > that
> > > > > problem when send the sleep command or any other firmware command
> > > > > without
> > > > > having a firmware running. In was, so far, no problem.
> > > > >
> > > > > Patrick.
> > > > >
> > > > >
> > > > >
> > > > > On Fri, 15 Feb 2008, Holger Dehnhardt wrote:
> > > > >
> > > > > > Hi Albert, Hi Mauro,
> > > > > >
> > > > > > I have successfulli patched and compiled the driver. Im using
> the
> > > > > terratec
> > > > > > cinergy device and it works fine.
> > > > > >
> > > > > >>> [ 2251.856000] xc2028 4-0061: Error on line 1063: -5
> > > > > >
> > > > > > This error message looked very familar to me, so i searched my
> log
> > > > > and guess
> > > > > > what I found:
> > > > > >
> > > > > > Feb 15 20:42:18 musik kernel: xc2028 3-0061: xc2028_sleep called
> > > > > > Feb 15 20:42:18 musik kernel: xc2028 3-0061: xc2028_sleep called
> > > > > > Feb 15 20:42:18 musik kernel: xc2028 3-0061: Error on line 1064:
> -5
> > > > > > Feb 15 20:42:18 musik kernel: DiB7000P: setting output mode for
> > > > > demod df75e800
> > > > > > to 0
> > > > > > Feb 15 20:42:18 musik kernel: DiB7000P: setting output mode for
> > > > > demod df75e800
> > > > > > to 0
> > > > > >
> > > > > > It identifies the marked line (just to be sure because of the
> > > > > differen line
> > > > > > numbers)
> > > > > >
> > > > > >       if (priv->firm_version < 0x0202)
> > > > > > ->            rc = send_seq(priv, {0x00, 0x08, 0x00, 0x00});
> > > > > >       else
> > > > > >               rc = send_seq(priv, {0x80, 0x08, 0x00, 0x00});
> > > > > >
> > > > > >> The above error is really weird. It seems to be related to
> > > > > something that
> > > > > >> happened before xc2028, since firmware load didn't start on
> that
> > > > > point of
> > > > > >> the code.
> > > > > >
> > > > > > The error really is weird, but it does not seem to cause the
> > > > > troubles - my
> > > > > > card works despite the error!
> > > > > >
> > > > > >>
> > > > > >>> [ 2289.284000] xc2028 4-0061: Device is Xceive 3028 version
> 1.0,
> > > > > firmware
> > > > > >>> version 2.7
> > > > > >>
> > > > > >> This message means that xc3028 firmware were successfully
> loaded
> > > > > and it is
> > > > > >> running ok.
> > > > > >
> > > > > > This and the following messages look similar...
> > > > > >
> > > > > > Holger
> > > > > >
> > > > > > _______________________________________________
> > > > > > linux-dvb mailing list
> > > > > > linux-dvb@linuxtv.org
> > > > > > http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
> > > > > >
> > > > >
> > > > > _______________________________________________
> > > > > linux-dvb mailing list
> > > > > linux-dvb@linuxtv.org
> > > > > http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
> > > > >
> > > >
> > > >
> > >
> >
>
>
>
>
> --
> --
> Hans-Frieder Vogt                 e-mail: hfvogt <at> gmx .dot. net
>

[-- Attachment #1.2: Type: text/html, Size: 24148 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [linux-dvb] [PATCH] support Cinergy HT USB XE (0ccd:0058)
  2008-02-17 12:14                 ` Albert Comerma
@ 2008-02-17 13:06                   ` Albert Comerma
  2008-02-17 16:32                     ` Hans-Frieder Vogt
  0 siblings, 1 reply; 22+ messages in thread
From: Albert Comerma @ 2008-02-17 13:06 UTC (permalink / raw)
  To: hfvogt; +Cc: linux-dvb


[-- Attachment #1.1: Type: text/plain, Size: 379 bytes --]

I got it!!!! I remembered that on PCTV DVB-T 72e they had a similar problem,
which was solved leaving GPIO6 to 0. Doing this the tuning seems to work
fine. SNR is always reported as 0% but I think this is not a problem, now I
can scan and tune dvb-t channels. Firmware is 1.10 and xc3028-v27 with that
modification. Thanks a lot for your help. Next step would be analog.

Albert

[-- Attachment #1.2: Type: text/html, Size: 390 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [linux-dvb] [PATCH] support Cinergy HT USB XE (0ccd:0058)
  2008-02-17 13:06                   ` Albert Comerma
@ 2008-02-17 16:32                     ` Hans-Frieder Vogt
  2008-02-17 17:24                       ` Albert Comerma
  0 siblings, 1 reply; 22+ messages in thread
From: Hans-Frieder Vogt @ 2008-02-17 16:32 UTC (permalink / raw)
  To: Albert Comerma; +Cc: linux-dvb

Albert,

I am happy to hear that your TV-card finally works.
However, I am still a bit unsure about these GPIO settings. Initially, I just copied the GPIO-settings from another entry and
then left it because it seemed to work. Now, I have digged a little bit into this issue and found, that under Windows my
STK7700PH-based stick gets the GPIO set in a different way.
Could you please try the following modified stk7700ph_frontend_attach routine (in dib0700_devices.c) and tell me
whether this works for your card as well?

static int stk7700ph_frontend_attach(struct dvb_usb_adapter *adap)
{
        dib0700_set_gpio(adap->dev, GPIO6, GPIO_OUT, 1);
        msleep(20);
        dib0700_set_gpio(adap->dev, GPIO9, GPIO_OUT, 1);
        dib0700_set_gpio(adap->dev, GPIO4, GPIO_OUT, 1);
        dib0700_set_gpio(adap->dev, GPIO7, GPIO_OUT, 1);
        dib0700_set_gpio(adap->dev, GPIO10, GPIO_OUT, 0);
        msleep(10);
        dib0700_set_gpio(adap->dev, GPIO10, GPIO_OUT, 1);
        msleep(20);
        dib0700_set_gpio(adap->dev, GPIO0, GPIO_OUT, 1);
        msleep(10);

        dib7000p_i2c_enumeration(&adap->dev->i2c_adap, 1, 18, &stk7700ph_dib7700_xc3028_config);

        adap->fe = dvb_attach(dib7000p_attach, &adap->dev->i2c_adap, 0x80,
                                &stk7700ph_dib7700_xc3028_config);

        return adap->fe == NULL ? -ENODEV : 0;
}

By the way, I also experience the same problem with the missing SNR info, on two different dib0700-based USB cards.

Regards,
Hans-Frieder

Am Sonntag, 17. Februar 2008 schrieb Albert Comerma:
> I got it!!!! I remembered that on PCTV DVB-T 72e they had a similar problem,
> which was solved leaving GPIO6 to 0. Doing this the tuning seems to work
> fine. SNR is always reported as 0% but I think this is not a problem, now I
> can scan and tune dvb-t channels. Firmware is 1.10 and xc3028-v27 with that
> modification. Thanks a lot for your help. Next step would be analog.
> 
> Albert
> 



-- 
--
Hans-Frieder Vogt                 e-mail:  hfvogt <at> gmx .dot. net

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [linux-dvb] [PATCH] support Cinergy HT USB XE (0ccd:0058)
  2008-02-17 16:32                     ` Hans-Frieder Vogt
@ 2008-02-17 17:24                       ` Albert Comerma
  0 siblings, 0 replies; 22+ messages in thread
From: Albert Comerma @ 2008-02-17 17:24 UTC (permalink / raw)
  To: hfvogt; +Cc: linux-dvb


[-- Attachment #1.1: Type: text/plain, Size: 2447 bytes --]

Hi Hans, with this configuration it does not work. As I commented it seems
that it does not work if GPIO6 is set to 1. If I change to 0 it works fine.
Just one comment, GPIO0 for sure is the LED output of my card. :P

Albert

2008/2/17, Hans-Frieder Vogt <hfvogt@gmx.net>:
>
> Albert,
>
> I am happy to hear that your TV-card finally works.
> However, I am still a bit unsure about these GPIO settings. Initially, I
> just copied the GPIO-settings from another entry and
> then left it because it seemed to work. Now, I have digged a little bit
> into this issue and found, that under Windows my
> STK7700PH-based stick gets the GPIO set in a different way.
> Could you please try the following modified stk7700ph_frontend_attach
> routine (in dib0700_devices.c) and tell me
> whether this works for your card as well?
>
>
> static int stk7700ph_frontend_attach(struct dvb_usb_adapter *adap)
>
> {
>
>         dib0700_set_gpio(adap->dev, GPIO6, GPIO_OUT, 1);
>
>         msleep(20);
>
>         dib0700_set_gpio(adap->dev, GPIO9, GPIO_OUT, 1);
>
>         dib0700_set_gpio(adap->dev, GPIO4, GPIO_OUT, 1);
>         dib0700_set_gpio(adap->dev, GPIO7, GPIO_OUT, 1);
>
>         dib0700_set_gpio(adap->dev, GPIO10, GPIO_OUT, 0);
>         msleep(10);
>
>         dib0700_set_gpio(adap->dev, GPIO10, GPIO_OUT, 1);
>
>         msleep(20);
>
>         dib0700_set_gpio(adap->dev, GPIO0, GPIO_OUT, 1);
>
>         msleep(10);
>
>
>         dib7000p_i2c_enumeration(&adap->dev->i2c_adap, 1, 18,
> &stk7700ph_dib7700_xc3028_config);
>
>         adap->fe = dvb_attach(dib7000p_attach, &adap->dev->i2c_adap, 0x80,
>                                 &stk7700ph_dib7700_xc3028_config);
>
>         return adap->fe == NULL ? -ENODEV : 0;
> }
>
>
> By the way, I also experience the same problem with the missing SNR info,
> on two different dib0700-based USB cards.
>
> Regards,
> Hans-Frieder
>
> Am Sonntag, 17. Februar 2008 schrieb Albert Comerma:
>
> > I got it!!!! I remembered that on PCTV DVB-T 72e they had a similar
> problem,
> > which was solved leaving GPIO6 to 0. Doing this the tuning seems to work
> > fine. SNR is always reported as 0% but I think this is not a problem,
> now I
> > can scan and tune dvb-t channels. Firmware is 1.10 and xc3028-v27 with
> that
> > modification. Thanks a lot for your help. Next step would be analog.
> >
> > Albert
> >
>
>
>
>
> --
>
> --
> Hans-Frieder Vogt                 e-mail:  hfvogt <at> gmx .dot. net
>

[-- Attachment #1.2: Type: text/html, Size: 3716 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 22+ messages in thread

* [linux-dvb]  [PATCH] support Cinergy HT USB XE (0ccd:0058)
@ 2008-03-05 22:19 Paul Leitner
  0 siblings, 0 replies; 22+ messages in thread
From: Paul Leitner @ 2008-03-05 22:19 UTC (permalink / raw)
  To: linux-dvb

Hi there!

I was totally happy when I found this patch through the wiki.

Everything went pretty smooth. After i found the right firmware, 
scanning in Kaffeine worked for me.

But there is another question:
This USB Stick is a hybrid one. Due to this i also gave xawtv a try, but 
after some logfile-watching I noticed the /dev/video0 is missing.
Is the current firmware for the tuner only capable of DVB-T or is there 
a possibilty to get analogue TV working too?
I'm asking this because I live in Vienna and I'v got analogue cable here 
would be nice to record and watch on the PC.

Thanks for help. ;)

Paul

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2008-03-05 22:23 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-05 22:19 [linux-dvb] [PATCH] support Cinergy HT USB XE (0ccd:0058) Paul Leitner
  -- strict thread matches above, loose matches on Subject: below --
2008-02-11 21:23 Hans-Frieder Vogt
2008-02-12 19:36 ` Albert Comerma
2008-02-12 22:54 ` Albert Comerma
2008-02-13 18:40   ` Hans-Frieder Vogt
2008-02-13 20:12     ` Albert Comerma
2008-02-13 21:15       ` Patrick Boettcher
2008-02-13 21:27         ` Albert Comerma
2008-02-13 21:32           ` Patrick Boettcher
2008-02-13 21:41             ` Albert Comerma
2008-02-14 20:20 ` Albert Comerma
2008-02-15 20:18   ` Mauro Carvalho Chehab
2008-02-15 21:33     ` Holger Dehnhardt
2008-02-15 21:43       ` Patrick Boettcher
2008-02-15 23:43         ` Albert Comerma
2008-02-16 14:38           ` Albert Comerma
2008-02-16 16:42             ` Albert Comerma
2008-02-16 21:26               ` Hans-Frieder Vogt
2008-02-17 12:14                 ` Albert Comerma
2008-02-17 13:06                   ` Albert Comerma
2008-02-17 16:32                     ` Hans-Frieder Vogt
2008-02-17 17:24                       ` Albert Comerma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox