* [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
@ 2008-08-04 11:34 stev391
2008-08-04 14:35 ` Steven Toth
0 siblings, 1 reply; 35+ messages in thread
From: stev391 @ 2008-08-04 11:34 UTC (permalink / raw)
To: Mark Carbonaro, Jonathan Hummel; +Cc: linux-dvb
[-- Attachment #1.1: Type: text/plain, Size: 7410 bytes --]
Mark, Jon,
Inline (and attached) below is a patch against Steven Toths cx2388s-sram
branch, that enables DVB support on the Leadtek Winfast PxDVR 3200 H.
The code is not exactly elegant at the moment, I'm waiting for Steven to
refactor his callback code before I tidy this up, but at least you can
take the dust off the card and use part of it.
Let me know what issues you run into. (For example occasional on boot up,
the card gets a subvendor id of 0000 and subproduct of 0000, this I have
no idea why, but a soft restart makes it work).
If anyone knows where to start with the Analog support please let me
know...
Regards,
Stephen.
----------Patch-----------
diff -Naur cx23885-sram/linux/Documentation/video4linux/CARDLIST.cx23885
cx23885-sram_dev/linux/Documentation/video4linux/CARDLIST.cx23885
--- cx23885-sram/linux/Documentation/video4linux/CARDLIST.cx23885
2008-08-04 20:29:16.000000000 +1000
+++ cx23885-sram_dev/linux/Documentation/video4linux/CARDLIST.cx23885
2008-08-04 20:50:15.000000000 +1000
@@ -9,3 +9,4 @@
8 -> Hauppauge WinTV-HVR1700 & nbsp;
[0070:8101]
9 -> Hauppauge WinTV-HVR1400 [0070:8010]
10 -> DViCO FusionHDTV7 Dual Express [18ac:d618]
+ 11 -> Leadtek Winfast PxDVR3200 H [107d:6681]
diff -Naur cx23885-sram/linux/drivers/media/video/cx23885/cx23885-cards.c
cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885-cards.c
--- cx23885-sram/linux/drivers/media/video/cx23885/cx23885-cards.c
2008-08-04 20:29:17.000000000 +1000
+++ cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885-cards.c
2008-08-04 21:14:55.000000000 +1000
@@ -149,6 +149,11 @@
.portb = CX23885_MPEG_DVB,
.portc = CX23885_MPEG_DVB,
},
+ [CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H] = {
+ .name = "Leadtek Winfast PxDVR3200 H",
+// .portb = CX23885_MPEG_ENCODER,
+ .portc = CX23885_MPEG_DVB,
+ },
};
const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards);
@@ -220,6 +225,10 @@
.subvendor = 0x18ac,
.subdevice = 0xd618,
.card = CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP,
+ },{
+ .subvendor = 0x107d,
+ .subdevice = 0x6681,
+ .card = CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H,
},
};
const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids);
@@ -466,6 +475,17 @@
mdelay(20);
cx_set(GP0_IO, 0x000f000f);
break;
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ /* GPIO-2 xc3028 tuner reset */
+ /* Put the parts into reset and back */
+ cx_set(GP0_IO, 0x00040000);
+ mdelay(20);
+ cx_clear(GP0_IO, 0x00000004);
+ mdelay(20);
+ cx_set(GP0_IO, 0x00040004);
+// mdelay(20);
+// cx_write(GP0_IO, 0x00070404);
+ break;
}
}
@@ -549,6 +569,7 @@
case CX23885_BOARD_HAUPPAUGE_HVR1200:
case CX23885_BOARD_HAUPPAUGE_HVR1700:
case CX23885_BOARD_HAUPPAUGE_HVR1400:
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
default:
ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */
ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */
@@ -562,6 +583,7 @@
case CX23885_BOARD_HAUPPAUGE_HVR1800:
case CX23885_BOARD_HAUPPAUGE_HVR1800lp:
case CX23885_BOARD_HAUPPAUGE_HVR1700:
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
request_module("cx25840");
break;
}
diff -Naur cx23885-sram/linux/drivers/media/video/cx23885/cx23885-dvb.c
cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885-dvb.c
--- cx23885-sram/linux/drivers/media/video/cx23885/cx23885-dvb.c
2008-08-04 20:29:17.000000000 +1000
+++ cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885-dvb.c
2008-08-04 20:48:07.000000000 +1000
@@ -36,6 +36,7 @@
#include "tda8290.h"
#include "tda18271.h"
#include "lgdt330x.h"
+#include "zl10353.h"
#include "xc5000.h"
#include "tda10048.h"
#include "tuner-xc2028.h"
@@ -155,6 +156,40 @@
.serial_mpeg = 0x40,
};
+static int cx23885_leadtek_xc2028_callback(void *ptr, int command, int
arg)
+{
+ struct cx23885_tsport *port = ptr;
+ struct cx23885_dev *dev = port->dev;
+ u32 reset_mask = 0;
+
+ switch (command) {
+ case XC2028_TUNER_RESET:
+ dprintk(1, "%s: XC2028_TUNER_RESET %d\n", __func__,
+ arg);
+ reset_mask = 0x00070404;
+
+ cx_clear(GP0_IO, reset_mask);
+ mdelay(5);
+ cx_set(GP0_IO, reset_mask);
+ break;
+ case XC2028_RESET_CLK:
+ dprintk(1, "%s: XC2028_RESET_CLK %d\n", __func__, arg);
+ break;
+ default:
+ dprintk(1, "%s: unknown command %d, arg %d\n", __func__,
+ command, arg);
+ return -EINVAL;
+ }
+
+ return 0;
+}
+
+static struct zl10353_config dvico_fusionhdtv_xc3028 = {
+ .demod_address = 0x0f,
+ .if2 = 45600,
+ .no_tuner = 1,
+};
+
static struct s5h1409_config hauppauge_hvr1500q_config = {
.demod_address = 0x32 >> 1,
.output_mode = S5H1409_SERIAL_OUTPUT,
@@ -481,6 +516,32 @@
&i2c_bus->i2c_adap,
&dvico_xc5000_tunerconfig, i2c_bus);
break;
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ i2c_bus = &dev->i2c_bus[0];
+
+ port->dvb.frontend = dvb_attach(zl10353_attach,
+ &dvico_fusionhdtv_xc3028,
+ &i2c_bus->i2c_adap);
+ if (port->dvb.frontend != NULL) {
+ struct dvb_frontend *fe;
+ struct xc2028_config cfg = {
+ .i2c_adap = &dev->i2c_bus[1].i2c_adap,
+ .i2c_addr = 0x61,
+ .video_dev = port,
+ .callback = cx23885_leadtek_xc2028_callback,
+ };
+ static struct xc2028_ctrl ctl = {
+ .fname = "xc3028-v27.fw",
+ .max_len = 64,
+ .demod = XC3028_FE_ZARLINK456,
+ };
+
+ fe = dvb_attach(xc2028_attach, port->dvb.frontend,
+ &cfg);
+ if (fe != NULL && fe->ops.tuner_ops.set_config != NULL)
+ fe->ops.tuner_ops.set_config(fe, &ctl);
+ }
+ break;
default:
printk("%s: The frontend of your DVB/ATSC card isn't supported yet\n",
dev->name);
diff -Naur cx23885-sram/linux/drivers/media/video/cx23885/cx23885.h
cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885.h
--- cx23885-sram/linux/drivers/media/video/cx23885/cx23885.h
2008-08-04 20:29:17.000000000 +1000
+++ cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885.h
2008-08-04 20:48:39.000000000 +1000
@@ -67,6 +67,7 @@
#define CX23885_BOARD_HAUPPAUGE_HVR1700 8
#define CX23885_BOARD_HAUPPAUGE_HVR1400 9
#define CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP 10
+#define CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H 11
/* Currently unsupported by the driver: PAL/H, NTSC/Kr, SECAM B/G/H/LC
*/
#define CX23885_NORMS (\
diff -Naur cx23885-sram/linux/drivers/media/video/cx23885/Kconfig
cx23885-sram_dev/linux/drivers/media/video/cx23885/Kconfig
--- cx23885-sram/linux/drivers/media/video/cx23885/Kconfig 2008-08-04
20:29:17.000000000 +1000
+++ cx23885-sram_dev/linux/drivers/media/video/cx23885/Kconfig
2008-08-04 20:49:05.000000000 +1000
@@ -15,6 +15,7 @@
select MEDIA_TUNER_MT2131 if !DVB_FE_CUSTOMISE
select DVB_S5H1409 if !DVB_FE_CUSTOMISE
select DVB_LGDT330X if !DVB_FE_CUSTOMISE
+ select DVB_ZL10353 if !DVB_FE_CUSTOMISE
select MEDIA_TUNER_XC2028 if !DVB_FE_CUSTOMIZE
select MEDIA_TUNER_TDA8290 if !DVB_FE_CUSTOMIZE
select MEDIA_TUNER_TDA18271 if !DVB_FE_CUSTOMIZE
--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com
[-- Attachment #1.2: Type: text/html, Size: 13419 bytes --]
[-- Attachment #2: Leadtek.Winfast.PxDVR.3200.H.diff --]
[-- Type: application/octet-stream, Size: 6387 bytes --]
diff -Naur cx23885-sram/linux/Documentation/video4linux/CARDLIST.cx23885 cx23885-sram_dev/linux/Documentation/video4linux/CARDLIST.cx23885
--- cx23885-sram/linux/Documentation/video4linux/CARDLIST.cx23885 2008-08-04 20:29:16.000000000 +1000
+++ cx23885-sram_dev/linux/Documentation/video4linux/CARDLIST.cx23885 2008-08-04 20:50:15.000000000 +1000
@@ -9,3 +9,4 @@
8 -> Hauppauge WinTV-HVR1700 [0070:8101]
9 -> Hauppauge WinTV-HVR1400 [0070:8010]
10 -> DViCO FusionHDTV7 Dual Express [18ac:d618]
+ 11 -> Leadtek Winfast PxDVR3200 H [107d:6681]
diff -Naur cx23885-sram/linux/drivers/media/video/cx23885/cx23885-cards.c cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885-cards.c
--- cx23885-sram/linux/drivers/media/video/cx23885/cx23885-cards.c 2008-08-04 20:29:17.000000000 +1000
+++ cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885-cards.c 2008-08-04 21:14:55.000000000 +1000
@@ -149,6 +149,11 @@
.portb = CX23885_MPEG_DVB,
.portc = CX23885_MPEG_DVB,
},
+ [CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H] = {
+ .name = "Leadtek Winfast PxDVR3200 H",
+// .portb = CX23885_MPEG_ENCODER,
+ .portc = CX23885_MPEG_DVB,
+ },
};
const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards);
@@ -220,6 +225,10 @@
.subvendor = 0x18ac,
.subdevice = 0xd618,
.card = CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP,
+ },{
+ .subvendor = 0x107d,
+ .subdevice = 0x6681,
+ .card = CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H,
},
};
const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids);
@@ -466,6 +475,17 @@
mdelay(20);
cx_set(GP0_IO, 0x000f000f);
break;
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ /* GPIO-2 xc3028 tuner reset */
+ /* Put the parts into reset and back */
+ cx_set(GP0_IO, 0x00040000);
+ mdelay(20);
+ cx_clear(GP0_IO, 0x00000004);
+ mdelay(20);
+ cx_set(GP0_IO, 0x00040004);
+// mdelay(20);
+// cx_write(GP0_IO, 0x00070404);
+ break;
}
}
@@ -549,6 +569,7 @@
case CX23885_BOARD_HAUPPAUGE_HVR1200:
case CX23885_BOARD_HAUPPAUGE_HVR1700:
case CX23885_BOARD_HAUPPAUGE_HVR1400:
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
default:
ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */
ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */
@@ -562,6 +583,7 @@
case CX23885_BOARD_HAUPPAUGE_HVR1800:
case CX23885_BOARD_HAUPPAUGE_HVR1800lp:
case CX23885_BOARD_HAUPPAUGE_HVR1700:
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
request_module("cx25840");
break;
}
diff -Naur cx23885-sram/linux/drivers/media/video/cx23885/cx23885-dvb.c cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885-dvb.c
--- cx23885-sram/linux/drivers/media/video/cx23885/cx23885-dvb.c 2008-08-04 20:29:17.000000000 +1000
+++ cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885-dvb.c 2008-08-04 20:48:07.000000000 +1000
@@ -36,6 +36,7 @@
#include "tda8290.h"
#include "tda18271.h"
#include "lgdt330x.h"
+#include "zl10353.h"
#include "xc5000.h"
#include "tda10048.h"
#include "tuner-xc2028.h"
@@ -155,6 +156,40 @@
.serial_mpeg = 0x40,
};
+static int cx23885_leadtek_xc2028_callback(void *ptr, int command, int arg)
+{
+ struct cx23885_tsport *port = ptr;
+ struct cx23885_dev *dev = port->dev;
+ u32 reset_mask = 0;
+
+ switch (command) {
+ case XC2028_TUNER_RESET:
+ dprintk(1, "%s: XC2028_TUNER_RESET %d\n", __func__,
+ arg);
+ reset_mask = 0x00070404;
+
+ cx_clear(GP0_IO, reset_mask);
+ mdelay(5);
+ cx_set(GP0_IO, reset_mask);
+ break;
+ case XC2028_RESET_CLK:
+ dprintk(1, "%s: XC2028_RESET_CLK %d\n", __func__, arg);
+ break;
+ default:
+ dprintk(1, "%s: unknown command %d, arg %d\n", __func__,
+ command, arg);
+ return -EINVAL;
+ }
+
+ return 0;
+}
+
+static struct zl10353_config dvico_fusionhdtv_xc3028 = {
+ .demod_address = 0x0f,
+ .if2 = 45600,
+ .no_tuner = 1,
+};
+
static struct s5h1409_config hauppauge_hvr1500q_config = {
.demod_address = 0x32 >> 1,
.output_mode = S5H1409_SERIAL_OUTPUT,
@@ -481,6 +516,32 @@
&i2c_bus->i2c_adap,
&dvico_xc5000_tunerconfig, i2c_bus);
break;
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ i2c_bus = &dev->i2c_bus[0];
+
+ port->dvb.frontend = dvb_attach(zl10353_attach,
+ &dvico_fusionhdtv_xc3028,
+ &i2c_bus->i2c_adap);
+ if (port->dvb.frontend != NULL) {
+ struct dvb_frontend *fe;
+ struct xc2028_config cfg = {
+ .i2c_adap = &dev->i2c_bus[1].i2c_adap,
+ .i2c_addr = 0x61,
+ .video_dev = port,
+ .callback = cx23885_leadtek_xc2028_callback,
+ };
+ static struct xc2028_ctrl ctl = {
+ .fname = "xc3028-v27.fw",
+ .max_len = 64,
+ .demod = XC3028_FE_ZARLINK456,
+ };
+
+ fe = dvb_attach(xc2028_attach, port->dvb.frontend,
+ &cfg);
+ if (fe != NULL && fe->ops.tuner_ops.set_config != NULL)
+ fe->ops.tuner_ops.set_config(fe, &ctl);
+ }
+ break;
default:
printk("%s: The frontend of your DVB/ATSC card isn't supported yet\n",
dev->name);
diff -Naur cx23885-sram/linux/drivers/media/video/cx23885/cx23885.h cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885.h
--- cx23885-sram/linux/drivers/media/video/cx23885/cx23885.h 2008-08-04 20:29:17.000000000 +1000
+++ cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885.h 2008-08-04 20:48:39.000000000 +1000
@@ -67,6 +67,7 @@
#define CX23885_BOARD_HAUPPAUGE_HVR1700 8
#define CX23885_BOARD_HAUPPAUGE_HVR1400 9
#define CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP 10
+#define CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H 11
/* Currently unsupported by the driver: PAL/H, NTSC/Kr, SECAM B/G/H/LC */
#define CX23885_NORMS (\
diff -Naur cx23885-sram/linux/drivers/media/video/cx23885/Kconfig cx23885-sram_dev/linux/drivers/media/video/cx23885/Kconfig
--- cx23885-sram/linux/drivers/media/video/cx23885/Kconfig 2008-08-04 20:29:17.000000000 +1000
+++ cx23885-sram_dev/linux/drivers/media/video/cx23885/Kconfig 2008-08-04 20:49:05.000000000 +1000
@@ -15,6 +15,7 @@
select MEDIA_TUNER_MT2131 if !DVB_FE_CUSTOMISE
select DVB_S5H1409 if !DVB_FE_CUSTOMISE
select DVB_LGDT330X if !DVB_FE_CUSTOMISE
+ select DVB_ZL10353 if !DVB_FE_CUSTOMISE
select MEDIA_TUNER_XC2028 if !DVB_FE_CUSTOMIZE
select MEDIA_TUNER_TDA8290 if !DVB_FE_CUSTOMIZE
select MEDIA_TUNER_TDA18271 if !DVB_FE_CUSTOMIZE
[-- 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] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
2008-08-04 11:34 stev391
@ 2008-08-04 14:35 ` Steven Toth
0 siblings, 0 replies; 35+ messages in thread
From: Steven Toth @ 2008-08-04 14:35 UTC (permalink / raw)
To: stev391; +Cc: linux-dvb
> case CX23885_BOARD_HAUPPAUGE_HVR1800:
> case CX23885_BOARD_HAUPPAUGE_HVR1800lp:
> case CX23885_BOARD_HAUPPAUGE_HVR1700:
> + case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
> request_module("cx25840");
> break;
> }
Steve, thanks for look at this.
I took a quick look at your patch. Obviously the callback stuff you're
planning to re-work will be based Antons patch, which I plan to push
tonight after more testing.... So I'm ignoring this.
Minor nitpick... Don't request module cx25840 above unless you plan to
use it. If you are planning to add analog support, make this a second
patch after the digital stuff gets merged.
Other than that, it will be great to have another product supported in
the tree.
Regards,
- Steve
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
@ 2008-08-04 21:15 stev391
0 siblings, 0 replies; 35+ messages in thread
From: stev391 @ 2008-08-04 21:15 UTC (permalink / raw)
To: Steven Toth; +Cc: linux-dvb
[-- Attachment #1.1: Type: text/plain, Size: 1330 bytes --]
Steve,
That must have slipped in from my effort to get the analog support for
the card. I will remove that when I go through and redo the callback.
Thanks for your comments.
Regards,
Stephen.
----- Original Message -----
From: "Steven Toth"
To: stev391@email.com
Subject: Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast
PxDVR 3200 H - DVB Only support
Date: Mon, 04 Aug 2008 10:35:20 -0400
> case CX23885_BOARD_HAUPPAUGE_HVR1800:
> case CX23885_BOARD_HAUPPAUGE_HVR1800lp:
> case CX23885_BOARD_HAUPPAUGE_HVR1700:
> + case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
> request_module("cx25840");
> break;
> }
Steve, thanks for look at this.
I took a quick look at your patch. Obviously the callback stuff
you're planning to re-work will be based Antons patch, which I plan
to push tonight after more testing.... So I'm ignoring this.
Minor nitpick... Don't request module cx25840 above unless you plan
to use it. If you are planning to add analog support, make this a
second patch after the digital stuff gets merged.
Other than that, it will be great to have another product supported
in the tree.
Regards,
- Steve
--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com
[-- Attachment #1.2: Type: text/html, Size: 1764 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] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
[not found] <1292178.61217937203262.JavaMail.mark@trogdor.carbonaro.org>
@ 2008-08-05 11:34 ` Mark Carbonaro
2008-08-05 12:21 ` Jonathan Hummel
0 siblings, 1 reply; 35+ messages in thread
From: Mark Carbonaro @ 2008-08-05 11:34 UTC (permalink / raw)
To: stev391; +Cc: linux-dvb
[-- Attachment #1.1: Type: text/plain, Size: 7350 bytes --]
Fantastic, I will start testing it tonight and I will let you know how I get on.
----- Original Message -----
From: stev391@email.com
To: "Mark Carbonaro" <mark@carbonaro.org>, "Jonathan Hummel" <jhhummel@bigpond.com>
Cc: linux-dvb@linuxtv.org
Sent: Monday, 4 August, 2008 9:34:06 PM (GMT+1000) Auto-Detected
Subject: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
Mark, Jon,
Inline (and attached) below is a patch against Steven Toths cx2388s-sram branch, that enables DVB support on the Leadtek Winfast PxDVR 3200 H.
The code is not exactly elegant at the moment, I'm waiting for Steven to refactor his callback code before I tidy this up, but at least you can take the dust off the card and use part of it.
Let me know what issues you run into. (For example occasional on boot up, the card gets a subvendor id of 0000 and subproduct of 0000, this I have no idea why, but a soft restart makes it work).
If anyone knows where to start with the Analog support please let me know...
Regards,
Stephen.
----------Patch-----------
diff -Naur cx23885-sram/linux/Documentation/video4linux/CARDLIST.cx23885 cx23885-sram_dev/linux/Documentation/video4linux/CARDLIST.cx23885
--- cx23885-sram/linux/Documentation/video4linux/CARDLIST.cx23885 2008-08-04 20:29:16.000000000 +1000
+++ cx23885-sram_dev/linux/Documentation/video4linux/CARDLIST.cx23885 2008-08-04 20:50:15.000000000 +1000
@@ -9,3 +9,4 @@
8 -> Hauppauge WinTV-HVR1700 & nbsp; [0070:8101]
9 -> Hauppauge WinTV-HVR1400 [0070:8010]
10 -> DViCO FusionHDTV7 Dual Express [18ac:d618]
+ 11 -> Leadtek Winfast PxDVR3200 H [107d:6681]
diff -Naur cx23885-sram/linux/drivers/media/video/cx23885/cx23885-cards.c cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885-cards.c
--- cx23885-sram/linux/drivers/media/video/cx23885/cx23885-cards.c 2008-08-04 20:29:17.000000000 +1000
+++ cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885-cards.c 2008-08-04 21:14:55.000000000 +1000
@@ -149,6 +149,11 @@
.portb = CX23885_MPEG_DVB,
.portc = CX23885_MPEG_DVB,
},
+ [CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H] = {
+ .name = "Leadtek Winfast PxDVR3200 H",
+// .portb = CX23885_MPEG_ENCODER,
+ .portc = CX23885_MPEG_DVB,
+ },
};
const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards);
@@ -220,6 +225,10 @@
.subvendor = 0x18ac,
.subdevice = 0xd618,
.card = CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP,
+ },{
+ .subvendor = 0x107d,
+ .subdevice = 0x6681,
+ .card = CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H,
},
};
const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids);
@@ -466,6 +475,17 @@
mdelay(20);
cx_set(GP0_IO, 0x000f000f);
break;
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ /* GPIO-2 xc3028 tuner reset */
+ /* Put the parts into reset and back */
+ cx_set(GP0_IO, 0x00040000);
+ mdelay(20);
+ cx_clear(GP0_IO, 0x00000004);
+ mdelay(20);
+ cx_set(GP0_IO, 0x00040004);
+// mdelay(20);
+// cx_write(GP0_IO, 0x00070404);
+ break;
}
}
@@ -549,6 +569,7 @@
case CX23885_BOARD_HAUPPAUGE_HVR1200:
case CX23885_BOARD_HAUPPAUGE_HVR1700:
case CX23885_BOARD_HAUPPAUGE_HVR1400:
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
default:
ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */
ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */
@@ -562,6 +583,7 @@
case CX23885_BOARD_HAUPPAUGE_HVR1800:
case CX23885_BOARD_HAUPPAUGE_HVR1800lp:
case CX23885_BOARD_HAUPPAUGE_HVR1700:
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
request_module("cx25840");
break;
}
diff -Naur cx23885-sram/linux/drivers/media/video/cx23885/cx23885-dvb.c cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885-dvb.c
--- cx23885-sram/linux/drivers/media/video/cx23885/cx23885-dvb.c 2008-08-04 20:29:17.000000000 +1000
+++ cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885-dvb.c 2008-08-04 20:48:07.000000000 +1000
@@ -36,6 +36,7 @@
#include "tda8290.h"
#include "tda18271.h"
#include "lgdt330x.h"
+#include "zl10353.h"
#include "xc5000.h"
#include "tda10048.h"
#include "tuner-xc2028.h"
@@ -155,6 +156,40 @@
.serial_mpeg = 0x40,
};
+static int cx23885_leadtek_xc2028_callback(void *ptr, int command, int arg)
+{
+ struct cx23885_tsport *port = ptr;
+ struct cx23885_dev *dev = port->dev;
+ u32 reset_mask = 0;
+
+ switch (command) {
+ case XC2028_TUNER_RESET:
+ dprintk(1, "%s: XC2028_TUNER_RESET %d\n", __func__,
+ arg);
+ reset_mask = 0x00070404;
+
+ cx_clear(GP0_IO, reset_mask);
+ mdelay(5);
+ cx_set(GP0_IO, reset_mask);
+ break;
+ case XC2028_RESET_CLK:
+ dprintk(1, "%s: XC2028_RESET_CLK %d\n", __func__, arg);
+ break;
+ default:
+ dprintk(1, "%s: unknown command %d, arg %d\n", __func__,
+ command, arg);
+ return -EINVAL;
+ }
+
+ return 0;
+}
+
+static struct zl10353_config dvico_fusionhdtv_xc3028 = {
+ .demod_address = 0x0f,
+ .if2 = 45600,
+ .no_tuner = 1,
+};
+
static struct s5h1409_config hauppauge_hvr1500q_config = {
.demod_address = 0x32 >> 1,
.output_mode = S5H1409_SERIAL_OUTPUT,
@@ -481,6 +516,32 @@
&i2c_bus->i2c_adap,
&dvico_xc5000_tunerconfig, i2c_bus);
break;
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ i2c_bus = &dev->i2c_bus[0];
+
+ port->dvb.frontend = dvb_attach(zl10353_attach,
+ &dvico_fusionhdtv_xc3028,
+ &i2c_bus->i2c_adap);
+ if (port->dvb.frontend != NULL) {
+ struct dvb_frontend *fe;
+ struct xc2028_config cfg = {
+ .i2c_adap = &dev->i2c_bus[1].i2c_adap,
+ .i2c_addr = 0x61,
+ .video_dev = port,
+ .callback = cx23885_leadtek_xc2028_callback,
+ };
+ static struct xc2028_ctrl ctl = {
+ .fname = "xc3028-v27.fw",
+ .max_len = 64,
+ .demod = XC3028_FE_ZARLINK456,
+ };
+
+ fe = dvb_attach(xc2028_attach, port->dvb.frontend,
+ &cfg);
+ if (fe != NULL && fe->ops.tuner_ops.set_config != NULL)
+ fe->ops.tuner_ops.set_config(fe, &ctl);
+ }
+ break;
default:
printk("%s: The frontend of your DVB/ATSC card isn't supported yet\n",
dev->name);
diff -Naur cx23885-sram/linux/drivers/media/video/cx23885/cx23885.h cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885.h
--- cx23885-sram/linux/drivers/media/video/cx23885/cx23885.h 2008-08-04 20:29:17.000000000 +1000
+++ cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885.h 2008-08-04 20:48:39.000000000 +1000
@@ -67,6 +67,7 @@
#define CX23885_BOARD_HAUPPAUGE_HVR1700 8
#define CX23885_BOARD_HAUPPAUGE_HVR1400 9
#define CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP 10
+#define CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H 11
/* Currently unsupported by the driver: PAL/H, NTSC/Kr, SECAM B/G/H/LC */
#define CX23885_NORMS (\
diff -Naur cx23885-sram/linux/drivers/media/video/cx23885/Kconfig cx23885-sram_dev/linux/drivers/media/video/cx23885/Kconfig
--- cx23885-sram/linux/drivers/media/video/cx23885/Kconfig 2008-08-04 20:29:17.000000000 +1000
+++ cx23885-sram_dev/linux/drivers/media/video/cx23885/Kconfig 2008-08-04 20:49:05.000000000 +1000
@@ -15,6 +15,7 @@
select MEDIA_TUNER_MT2131 if !DVB_FE_CUSTOMISE
select DVB_S5H1409 if !DVB_FE_CUSTOMISE
select DVB_LGDT330X if !DVB_FE_CUSTOMISE
+ select DVB_ZL10353 if !DVB_FE_CUSTOMISE
select MEDIA_TUNER_XC2028 if !DVB_FE_CUSTOMIZE
select MEDIA_TUNER_TDA8290 if !DVB_FE_CUSTOMIZE
select MEDIA_TUNER_TDA18271 if !DVB_FE_CUSTOMIZE
--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com !
[-- Attachment #1.2: Type: text/html, Size: 14018 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] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
@ 2008-08-05 11:47 stev391
2008-08-05 14:30 ` Steven Toth
0 siblings, 1 reply; 35+ messages in thread
From: stev391 @ 2008-08-05 11:47 UTC (permalink / raw)
To: Steven Toth; +Cc: linux-dvb
[-- Attachment #1.1: Type: text/plain, Size: 7682 bytes --]
Steve,
I have reworked the tuner callback now against your branch at:
http://linuxtv.org/hg/~stoth/v4l-dvb
The new Patch (to add support for this card) is attached inline below for
testing (this is a hint Mark & Jon), I have not provided a signed-off
note on purpose as I want to solve the issue mentioned in the next
paragraph first.
Regarding the cx25840 module; the card doesn't seem to initialise
properly (no DVB output and DMA errors in log) unless I have this
requested. Once the card is up and running I can unload all drivers,
recompile without the cx25840 and load and it will work again until I
power off the computer and back on again (This has been tedious trying to
work out which setting I had missed). Is there some initialisation work
being performed in the cx25840 module that I can incorporate into my
patch to remove this dependency? Or should I leave it as is?
Anyway nearly bedtime here.
Regards,
Stephen.
--------Patch------
diff -Naur v4l-dvb/linux/Documentation/video4linux/CARDLIST.cx23885
v4l-dvb2/linux/Documentation/video4linux/CARDLIST.cx23885
--- v4l-dvb/linux/Documentation/video4linux/CARDLIST.cx23885
2008-08-05 16:48:13.000000000 +1000
+++ v4l-dvb2/linux/Documentation/video4linux/CARDLIST.cx23885
2008-08-05 20:07:16.000000000 +1000
@@ -10,3 +10,4 @@
9 -> Hauppauge WinTV-HVR1400 [0070:8010]
10 -> DViCO FusionHDTV7 Dual Express [18ac:d618]
11 -> DViCO FusionHDTV DVB-T Dual Express [18ac:db78]
+ 12 -> Leadtek Winfast PxDVR3200 H [107d:6681]
diff -Naur v4l-dvb/linux/drivers/media/video/cx23885/cx23885-cards.c
v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-cards.c
--- v4l-dvb/linux/drivers/media/video/cx23885/cx23885-cards.c
2008-08-05 16:48:14.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-cards.c
2008-08-05 21:29:59.000000000 +1000
@@ -155,6 +155,10 @@
.portb = CX23885_MPEG_DVB,
.portc = CX23885_MPEG_DVB,
},
+ [CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H] = {
+ .name = "Leadtek Winfast PxDVR3200 H",
+ .portc = CX23885_MPEG_DVB,
+ },
};
const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards);
@@ -230,7 +234,11 @@
.subvendor = 0x18ac,
.subdevice = 0xdb78,
.card = CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP,
- },
+ },{
+ .subvendor = 0x107d,
+ .subdevice = 0x6681,
+ .card = CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H,
+ },
};
const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids);
@@ -353,6 +361,10 @@
if (command == 0)
bitmask = 0x04;
break;
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ /* Tuner Reset Command */
+ bitmask = 0x00070404;
+ break;
case CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP:
case CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP:
if (command == 0) {
@@ -492,6 +504,15 @@
mdelay(20);
cx_set(GP0_IO, 0x000f000f);
break;
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ /* GPIO-2 xc3028 tuner reset */
+ /* Put the parts into reset and back */
+ cx_set(GP0_IO, 0x00040000);
+ mdelay(20);
+ cx_clear(GP0_IO, 0x00000004);
+ mdelay(20);
+ cx_set(GP0_IO, 0x00040004);
+ break;
}
}
@@ -579,6 +600,7 @@
case CX23885_BOARD_HAUPPAUGE_HVR1200:
case CX23885_BOARD_HAUPPAUGE_HVR1700:
case CX23885_BOARD_HAUPPAUGE_HVR1400:
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
default:
ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */
ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */
@@ -592,6 +614,7 @@
case CX23885_BOARD_HAUPPAUGE_HVR1800:
case CX23885_BOARD_HAUPPAUGE_HVR1800lp:
case CX23885_BOARD_HAUPPAUGE_HVR1700:
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
request_module("cx25840");
break;
}
diff -Naur v4l-dvb/linux/drivers/media/video/cx23885/cx23885-dvb.c
v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-dvb.c
--- v4l-dvb/linux/drivers/media/video/cx23885/cx23885-dvb.c 2008-08-05
16:48:14.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-dvb.c
2008-08-05 21:29:00.000000000 +1000
@@ -37,6 +37,7 @@
#include "tda8290.h"
#include "tda18271.h"
#include "lgdt330x.h"
+#include "zl10353.h"
#include "xc5000.h"
#include "tda10048.h"
#include "tuner-xc2028.h"
@@ -502,6 +503,32 @@
}
break;
}
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ i2c_bus = &dev->i2c_bus[0];
+
+ port->dvb.frontend = dvb_attach(zl10353_attach,
+ &dvico_fusionhdtv_xc3028,
+ &i2c_bus->i2c_adap);
+ if (port->dvb.frontend != NULL) {
+ struct dvb_frontend *fe;
+ struct xc2028_config cfg = {
+ .i2c_adap = &dev->i2c_bus[1].i2c_adap,
+ .i2c_addr = 0x61,
+ .video_dev = port,
+ .callback = cx23885_tuner_callback,
+ };
+ static struct xc2028_ctrl ctl = {
+ .fname = "xc3028-v27.fw",
+ .max_len = 64,
+ .demod = XC3028_FE_ZARLINK456,
+ };
+
+ fe = dvb_attach(xc2028_attach, port->dvb.frontend,
+ &cfg);
+ if (fe != NULL && fe->ops.tuner_ops.set_config != NULL)
+ fe->ops.tuner_ops.set_config(fe, &ctl);
+ }
+ break;
default:
printk("%s: The frontend of your DVB/ATSC card isn't supported yet\n",
dev->name);
diff -Naur v4l-dvb/linux/drivers/media/video/cx23885/cx23885.h
v4l-dvb2/linux/drivers/media/video/cx23885/cx23885.h
--- v4l-dvb/linux/drivers/media/video/cx23885/cx23885.h 2008-08-05
16:48:14.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/cx23885.h 2008-08-05
20:10:57.000000000 +1000
@@ -66,6 +66,7 @@
#define CX23885_BOARD_HAUPPAUGE_HVR1400 9
#define CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP 10
#define CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP 11
+#define CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H 12
/* Currently unsupported by the driver: PAL/H, NTSC/Kr, SECAM B/G/H/LC
*/
#define CX23885_NORMS (\
diff -Naur v4l-dvb/linux/drivers/media/video/cx23885/Kconfig
v4l-dvb2/linux/drivers/media/video/cx23885/Kconfig
--- v4l-dvb/linux/drivers/media/video/cx23885/Kconfig 2008-08-05
16:48:14.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/Kconfig 2008-08-05
20:06:06.000000000 +1000
@@ -15,6 +15,7 @@
select DVB_S5H1409 if !DVB_FE_CUSTOMISE
select DVB_S5H1411 if !DVB_FE_CUSTOMISE
select DVB_LGDT330X if !DVB_FE_CUSTOMISE
+ select DVB_ZL10353 if !DVB_FE_CUSTOMISE
select MEDIA_TUNER_XC2028 if !DVB_FE_CUSTOMIZE
select MEDIA_TUNER_TDA8290 if !DVB_FE_CUSTOMIZE
select MEDIA_TUNER_TDA18271 if !DVB_FE_CUSTOMIZE
-------End Patch-------
----- Original Message -----
From: "Steven Toth"
To: stev391@email.com
Subject: Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast
PxDVR 3200 H - DVB Only support
Date: Mon, 04 Aug 2008 10:35:20 -0400
> case CX23885_BOARD_HAUPPAUGE_HVR1800:
> case CX23885_BOARD_HAUPPAUGE_HVR1800lp:
> case CX23885_BOARD_HAUPPAUGE_HVR1700:
> + case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
> request_module("cx25840");
> break;
> }
Steve, thanks for look at this.
I took a quick look at your patch. Obviously the callback stuff
you're planning to re-work will be based Antons patch, which I plan
to push tonight after more testing.... So I'm ignoring this.
Minor nitpick... Don't request module cx25840 above unless you plan
to use it. If you are planning to add analog support, make this a
second patch after the digital stuff gets merged.
Other than that, it will be great to have another product supported
in the tree.
Regards,
- Steve
--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com
[-- Attachment #1.2: Type: text/html, Size: 13367 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] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
2008-08-05 11:34 ` Mark Carbonaro
@ 2008-08-05 12:21 ` Jonathan Hummel
0 siblings, 0 replies; 35+ messages in thread
From: Jonathan Hummel @ 2008-08-05 12:21 UTC (permalink / raw)
To: Mark Carbonaro; +Cc: linux-dvb, stev391
Hi Mark,
Forgive my ignorance/ newbie-ness, but what do I do with that patch code
below? is there a tutorial or howto or something somewhere that will
introduce me to this. I have done some programming, but nothing of this
level.
cheers
Jon
On Tue, 2008-08-05 at 21:34 +1000, Mark Carbonaro wrote:
> Fantastic, I will start testing it tonight and I will let you know how
> I get on.
>
> ----- Original Message -----
> From: stev391@email.com
> To: "Mark Carbonaro" <mark@carbonaro.org>, "Jonathan Hummel"
> <jhhummel@bigpond.com>
> Cc: linux-dvb@linuxtv.org
> Sent: Monday, 4 August, 2008 9:34:06 PM (GMT+1000) Auto-Detected
> Subject: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB
> Only support
>
> Mark, Jon,
>
> Inline (and attached) below is a patch against Steven Toths
> cx2388s-sram branch, that enables DVB support on the Leadtek Winfast
> PxDVR 3200 H.
>
> The code is not exactly elegant at the moment, I'm waiting for Steven
> to refactor his callback code before I tidy this up, but at least you
> can take the dust off the card and use part of it.
>
> Let me know what issues you run into. (For example occasional on boot
> up, the card gets a subvendor id of 0000 and subproduct of 0000, this
> I have no idea why, but a soft restart makes it work).
>
> If anyone knows where to start with the Analog support please let me
> know...
>
> Regards,
>
> Stephen.
>
> ----------Patch-----------
>
> diff -Naur
> cx23885-sram/linux/Documentation/video4linux/CARDLIST.cx23885
> cx23885-sram_dev/linux/Documentation/video4linux/CARDLIST.cx23885
> --- cx23885-sram/linux/Documentation/video4linux/CARDLIST.cx23885
> 2008-08-04 20:29:16.000000000 +1000
> +++ cx23885-sram_dev/linux/Documentation/video4linux/CARDLIST.cx23885
> 2008-08-04 20:50:15.000000000 +1000
> @@ -9,3 +9,4 @@
> 8 -> Hauppauge WinTV-HVR1700 & nbsp;
> [0070:8101]
> 9 -> Hauppauge WinTV-HVR1400
> [0070:8010]
> 10 -> DViCO FusionHDTV7 Dual Express
> [18ac:d618]
> + 11 -> Leadtek Winfast PxDVR3200 H [107d:6681]
> diff -Naur
> cx23885-sram/linux/drivers/media/video/cx23885/cx23885-cards.c
> cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885-cards.c
> --- cx23885-sram/linux/drivers/media/video/cx23885/cx23885-cards.c
> 2008-08-04 20:29:17.000000000 +1000
> +++ cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885-cards.c
> 2008-08-04 21:14:55.000000000 +1000
> @@ -149,6 +149,11 @@
> .portb = CX23885_MPEG_DVB,
> .portc = CX23885_MPEG_DVB,
> },
> + [CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H] = {
> + .name = "Leadtek Winfast PxDVR3200 H",
> +// .portb = CX23885_MPEG_ENCODER,
> + .portc = CX23885_MPEG_DVB,
> + },
> };
> const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards);
>
> @@ -220,6 +225,10 @@
> .subvendor = 0x18ac,
> .subdevice = 0xd618,
> .card = CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP,
> + },{
> + .subvendor = 0x107d,
> + .subdevice = 0x6681,
> + .card = CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H,
> },
> };
> const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids);
> @@ -466,6 +475,17 @@
> mdelay(20);
> cx_set(GP0_IO, 0x000f000f);
> break;
> + case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
> + /* GPIO-2 xc3028 tuner reset */
> + /* Put the parts into reset and back */
> + cx_set(GP0_IO, 0x00040000);
> + mdelay(20);
> + cx_clear(GP0_IO, 0x00000004);
> + mdelay(20);
> + cx_set(GP0_IO, 0x00040004);
> +// mdelay(20);
> +// cx_write(GP0_IO, 0x00070404);
> + break;
> }
> }
>
> @@ -549,6 +569,7 @@
> case CX23885_BOARD_HAUPPAUGE_HVR1200:
> case CX23885_BOARD_HAUPPAUGE_HVR1700:
> case CX23885_BOARD_HAUPPAUGE_HVR1400:
> + case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
> default:
> ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */
> ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */
> @@ -562,6 +583,7 @@
> case CX23885_BOARD_HAUPPAUGE_HVR1800:
> case CX23885_BOARD_HAUPPAUGE_HVR1800lp:
> case CX23885_BOARD_HAUPPAUGE_HVR1700:
> + case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
> request_module("cx25840");
> break;
> }
> diff -Naur
> cx23885-sram/linux/drivers/media/video/cx23885/cx23885-dvb.c
> cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885-dvb.c
> --- cx23885-sram/linux/drivers/media/video/cx23885/cx23885-dvb.c
> 2008-08-04 20:29:17.000000000 +1000
> +++ cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885-dvb.c
> 2008-08-04 20:48:07.000000000 +1000
> @@ -36,6 +36,7 @@
> #include "tda8290.h"
> #include "tda18271.h"
> #include "lgdt330x.h"
> +#include "zl10353.h"
> #include "xc5000.h"
> #include "tda10048.h"
> #include "tuner-xc2028.h"
> @@ -155,6 +156,40 @@
> .serial_mpeg = 0x40,
> };
>
> +static int cx23885_leadtek_xc2028_callback(void *ptr, int command,
> int arg)
> +{
> + struct cx23885_tsport *port = ptr;
> + struct cx23885_dev *dev = port->dev;
> + u32 reset_mask = 0;
> +
> + switch (command) {
> + case XC2028_TUNER_RESET:
> + dprintk(1, "%s: XC2028_TUNER_RESET %d\n", __func__,
> + arg);
> + reset_mask = 0x00070404;
> +
> + cx_clear(GP0_IO, reset_mask);
> + mdelay(5);
> + cx_set(GP0_IO, reset_mask);
> + break;
> + case XC2028_RESET_CLK:
> + dprintk(1, "%s: XC2028_RESET_CLK %d\n", __func__, arg);
> + break;
> + default:
> + dprintk(1, "%s: unknown command %d, arg %d\n", __func__,
> + command, arg);
> + return -EINVAL;
> + }
> +
> + return 0;
> +}
> +
> +static struct zl10353_config dvico_fusionhdtv_xc3028 = {
> + .demod_address = 0x0f,
> + .if2 = 45600,
> + .no_tuner = 1,
> +};
> +
> static struct s5h1409_config hauppauge_hvr1500q_config = {
> .demod_address = 0x32 >> 1,
> .output_mode = S5H1409_SERIAL_OUTPUT,
> @@ -481,6 +516,32 @@
> &i2c_bus->i2c_adap,
> &dvico_xc5000_tunerconfig, i2c_bus);
> break;
> + case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
> + i2c_bus = &dev->i2c_bus[0];
> +
> + port->dvb.frontend = dvb_attach(zl10353_attach,
> + &dvico_fusionhdtv_xc3028,
> + &i2c_bus->i2c_adap);
> + if (port->dvb.frontend != NULL) {
> + struct dvb_frontend *fe;
> + struct xc2028_config cfg = {
> + .i2c_adap = &dev->i2c_bus[1].i2c_adap,
> + .i2c_addr = 0x61,
> + .video_dev = port,
> + .callback = cx23885_leadtek_xc2028_callback,
> + };
> + static struct xc2028_ctrl ctl = {
> + .fname = "xc3028-v27.fw",
> + .max_len = 64,
> + .demod = XC3028_FE_ZARLINK456,
> + };
> +
> + fe = dvb_attach(xc2028_attach, port->dvb.frontend,
> + &cfg);
> + if (fe != NULL && fe->ops.tuner_ops.set_config != NULL)
> + fe->ops.tuner_ops.set_config(fe, &ctl);
> + }
> + break;
> default:
> printk("%s: The frontend of your DVB/ATSC card isn't
> supported yet\n",
> dev->name);
> diff -Naur cx23885-sram/linux/drivers/media/video/cx23885/cx23885.h
> cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885.h
> --- cx23885-sram/linux/drivers/media/video/cx23885/cx23885.h
> 2008-08-04 20:29:17.000000000 +1000
> +++ cx23885-sram_dev/linux/drivers/media/video/cx23885/cx23885.h
> 2008-08-04 20:48:39.000000000 +1000
> @@ -67,6 +67,7 @@
> #define CX23885_BOARD_HAUPPAUGE_HVR1700 8
> #define CX23885_BOARD_HAUPPAUGE_HVR1400 9
> #define CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP 10
> +#define CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H 11
>
> /* Currently unsupported by the driver: PAL/H, NTSC/Kr, SECAM
> B/G/H/LC */
> #define CX23885_NORMS (\
> diff -Naur cx23885-sram/linux/drivers/media/video/cx23885/Kconfig
> cx23885-sram_dev/linux/drivers/media/video/cx23885/Kconfig
> --- cx23885-sram/linux/drivers/media/video/cx23885/Kconfig
> 2008-08-04 20:29:17.000000000 +1000
> +++ cx23885-sram_dev/linux/drivers/media/video/cx23885/Kconfig
> 2008-08-04 20:49:05.000000000 +1000
> @@ -15,6 +15,7 @@
> select MEDIA_TUNER_MT2131 if !DVB_FE_CUSTOMISE
> select DVB_S5H1409 if !DVB_FE_CUSTOMISE
> select DVB_LGDT330X if !DVB_FE_CUSTOMISE
> + select DVB_ZL10353 if !DVB_FE_CUSTOMISE
> select MEDIA_TUNER_XC2028 if !DVB_FE_CUSTOMIZE
> select MEDIA_TUNER_TDA8290 if !DVB_FE_CUSTOMIZE
> select MEDIA_TUNER_TDA18271 if !DVB_FE_CUSTOMIZE
>
>
> --
> Be Yourself @ mail.com!
> Choose From 200+ Email Addresses
> Get a Free Account at www.mail.com!
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
[not found] <24526361.241217944963449.JavaMail.mark@trogdor.carbonaro.org>
@ 2008-08-05 13:47 ` Mark Carbonaro
0 siblings, 0 replies; 35+ messages in thread
From: Mark Carbonaro @ 2008-08-05 13:47 UTC (permalink / raw)
To: Jonathan Hummel; +Cc: linux-dvb, stev391
[-- Attachment #1: Type: text/plain, Size: 7342 bytes --]
Hi Mark,
Forgive my ignorance/ newbie-ness, but what do I do with that patch code
below? is there a tutorial or howto or something somewhere that will
introduce me to this. I have done some programming, but nothing of this
level.
cheers
Jon
----- Original Message -----
From: "Jonathan Hummel" <jhhummel@bigpond.com>
To: "Mark Carbonaro" <mark@carbonaro.org>
Cc: stev391@email.com, linux-dvb@linuxtv.org
Sent: Tuesday, 5 August, 2008 10:21:11 PM (GMT+1000) Auto-Detected
Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
Hi Jon,
Not a problem at all, I'm new to this myself, below is what went through and I may not be doing it the right way either. So if anyone would like to point out what I am doing wrong I would really appreciate it.
The file that I downloaded was called v4l-dvb-2bade2ed7ac8.tar.bz2 which I downloaded from http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.bz2, I also saved the patch to the same location as the download.
The patch didn't apply for me, so I manually patched applied the patches and created a new diff that should hopefully work for you also (attached and inline below). From what I could see the offsets in Stephens patch were a little off for this code snapshot but otherwise it is all good.
I ran the following using the attached diff...
tar -xjf v4l-dvb-2bade2ed7ac8.tar.bz2
cd v4l-dvb-2bade2ed7ac8
patch -p1 < ../Leadtek.Winfast.PxDVR.3200.H.2.diff
Once the patch was applied I was then able to build and install the modules as per the instructions in the INSTALL file. I ran the following...
make all
sudo make install
>From there I could load the modules and start testing.
I hope this helps you get started.
Regards,
Mark
diff -Naur v4l-dvb-2bade2ed7ac8/linux/Documentation/video4linux/CARDLIST.cx23885 v4l-dvb2/linux/Documentation/video4linux/CARDLIST.cx23885
--- v4l-dvb-2bade2ed7ac8/linux/Documentation/video4linux/CARDLIST.cx23885 2008-08-05 11:18:19.000000000 +1000
+++ v4l-dvb2/linux/Documentation/video4linux/CARDLIST.cx23885 2008-08-05 23:27:32.000000000 +1000
@@ -10,3 +10,4 @@
9 -> Hauppauge WinTV-HVR1400 [0070:8010]
10 -> DViCO FusionHDTV7 Dual Express [18ac:d618]
11 -> DViCO FusionHDTV DVB-T Dual Express [18ac:db78]
+ 12 -> Leadtek Winfast PxDVR3200 H [107d:6681]
diff -Naur v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/Kconfig v4l-dvb2/linux/drivers/media/video/cx23885/Kconfig
--- v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/Kconfig 2008-08-05 11:18:19.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/Kconfig 2008-08-05 23:37:51.000000000 +1000
@@ -15,6 +15,7 @@
select DVB_S5H1409 if !DVB_FE_CUSTOMISE
select DVB_S5H1411 if !DVB_FE_CUSTOMISE
select DVB_LGDT330X if !DVB_FE_CUSTOMISE
+ select DVB_ZL10353 if !DVB_FE_CUSTOMISE
select MEDIA_TUNER_XC2028 if !DVB_FE_CUSTOMIZE
select MEDIA_TUNER_TDA8290 if !DVB_FE_CUSTOMIZE
select MEDIA_TUNER_TDA18271 if !DVB_FE_CUSTOMIZE
diff -Naur v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-cards.c v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-cards.c
--- v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-cards.c 2008-08-05 11:18:19.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-cards.c 2008-08-05 23:41:40.000000000 +1000
@@ -155,6 +155,10 @@
.portb = CX23885_MPEG_DVB,
.portc = CX23885_MPEG_DVB,
},
+ [CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H] = {
+ .name = "Leadtek Winfast PxDVR3200 H",
+ .portc = CX23885_MPEG_DVB,
+ },
};
const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards);
@@ -230,6 +234,10 @@
.subvendor = 0x18ac,
.subdevice = 0xdb78,
.card = CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP,
+ },{
+ .subvendor = 0x107d,
+ .subdevice = 0x6681,
+ .card = CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H,
},
};
const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids);
@@ -353,6 +361,10 @@
if (command == 0)
bitmask = 0x04;
break;
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ /* Tuner Reset Command */
+ bitmask = 0x00070404;
+ break;
case CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP:
case CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP:
if (command == 0) {
@@ -492,6 +504,15 @@
mdelay(20);
cx_set(GP0_IO, 0x000f000f);
break;
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ /* GPIO-2 xc3028 tuner reset */
+ /* Put the parts into reset and back */
+ cx_set(GP0_IO, 0x00040000);
+ mdelay(20);
+ cx_clear(GP0_IO, 0x00000004);
+ mdelay(20);
+ cx_set(GP0_IO, 0x00040004);
+ break;
}
}
@@ -579,6 +600,7 @@
case CX23885_BOARD_HAUPPAUGE_HVR1200:
case CX23885_BOARD_HAUPPAUGE_HVR1700:
case CX23885_BOARD_HAUPPAUGE_HVR1400:
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
default:
ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */
ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */
@@ -592,6 +614,7 @@
case CX23885_BOARD_HAUPPAUGE_HVR1800:
case CX23885_BOARD_HAUPPAUGE_HVR1800lp:
case CX23885_BOARD_HAUPPAUGE_HVR1700:
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
request_module("cx25840");
break;
}
diff -Naur v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-dvb.c v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-dvb.c
--- v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-dvb.c 2008-08-05 11:18:19.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-dvb.c 2008-08-05 23:37:03.000000000 +1000
@@ -37,6 +37,7 @@
#include "tda8290.h"
#include "tda18271.h"
#include "lgdt330x.h"
+#include "zl10353.h"
#include "xc5000.h"
#include "tda10048.h"
#include "tuner-xc2028.h"
@@ -502,6 +503,32 @@
}
break;
}
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ i2c_bus = &dev->i2c_bus[0];
+
+ port->dvb.frontend = dvb_attach(zl10353_attach,
+ &dvico_fusionhdtv_xc3028,
+ &i2c_bus->i2c_adap);
+ if (port->dvb.frontend != NULL) {
+ struct dvb_frontend *fe;
+ struct xc2028_config cfg = {
+ .i2c_adap = &dev->i2c_bus[1].i2c_adap,
+ .i2c_addr = 0x61,
+ .video_dev = port,
+ .callback = cx23885_tuner_callback,
+ };
+ static struct xc2028_ctrl ctl = {
+ .fname = "xc3028-v27.fw",
+ .max_len = 64,
+ .demod = XC3028_FE_ZARLINK456,
+ };
+
+ fe = dvb_attach(xc2028_attach, port->dvb.frontend,
+ &cfg);
+ if (fe != NULL && fe->ops.tuner_ops.set_config != NULL)
+ fe->ops.tuner_ops.set_config(fe, &ctl);
+ }
+ break;
default:
printk("%s: The frontend of your DVB/ATSC card isn't supported yet\n",
dev->name);
diff -Naur v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885.h v4l-dvb2/linux/drivers/media/video/cx23885/cx23885.h
--- v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885.h 2008-08-05 11:18:19.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/cx23885.h 2008-08-05 23:37:33.000000000 +1000
@@ -66,6 +66,7 @@
#define CX23885_BOARD_HAUPPAUGE_HVR1400 9
#define CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP 10
#define CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP 11
+#define CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H 12
/* Currently unsupported by the driver: PAL/H, NTSC/Kr, SECAM B/G/H/LC */
#define CX23885_NORMS (\
[-- Attachment #2: Leadtek.Winfast.PxDVR.3200.H.2.diff --]
[-- Type: application/octet-stream, Size: 5610 bytes --]
diff -Naur v4l-dvb-2bade2ed7ac8/linux/Documentation/video4linux/CARDLIST.cx23885 v4l-dvb2/linux/Documentation/video4linux/CARDLIST.cx23885
--- v4l-dvb-2bade2ed7ac8/linux/Documentation/video4linux/CARDLIST.cx23885 2008-08-05 11:18:19.000000000 +1000
+++ v4l-dvb2/linux/Documentation/video4linux/CARDLIST.cx23885 2008-08-05 23:27:32.000000000 +1000
@@ -10,3 +10,4 @@
9 -> Hauppauge WinTV-HVR1400 [0070:8010]
10 -> DViCO FusionHDTV7 Dual Express [18ac:d618]
11 -> DViCO FusionHDTV DVB-T Dual Express [18ac:db78]
+ 12 -> Leadtek Winfast PxDVR3200 H [107d:6681]
diff -Naur v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/Kconfig v4l-dvb2/linux/drivers/media/video/cx23885/Kconfig
--- v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/Kconfig 2008-08-05 11:18:19.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/Kconfig 2008-08-05 23:37:51.000000000 +1000
@@ -15,6 +15,7 @@
select DVB_S5H1409 if !DVB_FE_CUSTOMISE
select DVB_S5H1411 if !DVB_FE_CUSTOMISE
select DVB_LGDT330X if !DVB_FE_CUSTOMISE
+ select DVB_ZL10353 if !DVB_FE_CUSTOMISE
select MEDIA_TUNER_XC2028 if !DVB_FE_CUSTOMIZE
select MEDIA_TUNER_TDA8290 if !DVB_FE_CUSTOMIZE
select MEDIA_TUNER_TDA18271 if !DVB_FE_CUSTOMIZE
diff -Naur v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-cards.c v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-cards.c
--- v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-cards.c 2008-08-05 11:18:19.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-cards.c 2008-08-05 23:41:40.000000000 +1000
@@ -155,6 +155,10 @@
.portb = CX23885_MPEG_DVB,
.portc = CX23885_MPEG_DVB,
},
+ [CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H] = {
+ .name = "Leadtek Winfast PxDVR3200 H",
+ .portc = CX23885_MPEG_DVB,
+ },
};
const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards);
@@ -230,6 +234,10 @@
.subvendor = 0x18ac,
.subdevice = 0xdb78,
.card = CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP,
+ },{
+ .subvendor = 0x107d,
+ .subdevice = 0x6681,
+ .card = CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H,
},
};
const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids);
@@ -353,6 +361,10 @@
if (command == 0)
bitmask = 0x04;
break;
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ /* Tuner Reset Command */
+ bitmask = 0x00070404;
+ break;
case CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP:
case CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP:
if (command == 0) {
@@ -492,6 +504,15 @@
mdelay(20);
cx_set(GP0_IO, 0x000f000f);
break;
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ /* GPIO-2 xc3028 tuner reset */
+ /* Put the parts into reset and back */
+ cx_set(GP0_IO, 0x00040000);
+ mdelay(20);
+ cx_clear(GP0_IO, 0x00000004);
+ mdelay(20);
+ cx_set(GP0_IO, 0x00040004);
+ break;
}
}
@@ -579,6 +600,7 @@
case CX23885_BOARD_HAUPPAUGE_HVR1200:
case CX23885_BOARD_HAUPPAUGE_HVR1700:
case CX23885_BOARD_HAUPPAUGE_HVR1400:
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
default:
ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */
ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */
@@ -592,6 +614,7 @@
case CX23885_BOARD_HAUPPAUGE_HVR1800:
case CX23885_BOARD_HAUPPAUGE_HVR1800lp:
case CX23885_BOARD_HAUPPAUGE_HVR1700:
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
request_module("cx25840");
break;
}
diff -Naur v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-dvb.c v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-dvb.c
--- v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-dvb.c 2008-08-05 11:18:19.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-dvb.c 2008-08-05 23:37:03.000000000 +1000
@@ -37,6 +37,7 @@
#include "tda8290.h"
#include "tda18271.h"
#include "lgdt330x.h"
+#include "zl10353.h"
#include "xc5000.h"
#include "tda10048.h"
#include "tuner-xc2028.h"
@@ -502,6 +503,32 @@
}
break;
}
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ i2c_bus = &dev->i2c_bus[0];
+
+ port->dvb.frontend = dvb_attach(zl10353_attach,
+ &dvico_fusionhdtv_xc3028,
+ &i2c_bus->i2c_adap);
+ if (port->dvb.frontend != NULL) {
+ struct dvb_frontend *fe;
+ struct xc2028_config cfg = {
+ .i2c_adap = &dev->i2c_bus[1].i2c_adap,
+ .i2c_addr = 0x61,
+ .video_dev = port,
+ .callback = cx23885_tuner_callback,
+ };
+ static struct xc2028_ctrl ctl = {
+ .fname = "xc3028-v27.fw",
+ .max_len = 64,
+ .demod = XC3028_FE_ZARLINK456,
+ };
+
+ fe = dvb_attach(xc2028_attach, port->dvb.frontend,
+ &cfg);
+ if (fe != NULL && fe->ops.tuner_ops.set_config != NULL)
+ fe->ops.tuner_ops.set_config(fe, &ctl);
+ }
+ break;
default:
printk("%s: The frontend of your DVB/ATSC card isn't supported yet\n",
dev->name);
diff -Naur v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885.h v4l-dvb2/linux/drivers/media/video/cx23885/cx23885.h
--- v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885.h 2008-08-05 11:18:19.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/cx23885.h 2008-08-05 23:37:33.000000000 +1000
@@ -66,6 +66,7 @@
#define CX23885_BOARD_HAUPPAUGE_HVR1400 9
#define CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP 10
#define CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP 11
+#define CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H 12
/* Currently unsupported by the driver: PAL/H, NTSC/Kr, SECAM B/G/H/LC */
#define CX23885_NORMS (\
[-- 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] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
2008-08-05 11:47 stev391
@ 2008-08-05 14:30 ` Steven Toth
0 siblings, 0 replies; 35+ messages in thread
From: Steven Toth @ 2008-08-05 14:30 UTC (permalink / raw)
To: stev391; +Cc: linux-dvb
stev391@email.com wrote:
> Steve,
>
> I have reworked the tuner callback now against your branch at:
> http://linuxtv.org/hg/~stoth/v4l-dvb
>
> The new Patch (to add support for this card) is attached inline below
> for testing (this is a hint Mark & Jon), I have not provided a
> signed-off note on purpose as I want to solve the issue mentioned in the
> next paragraph first.
>
> Regarding the cx25840 module; the card doesn't seem to initialise
> properly (no DVB output and DMA errors in log) unless I have this
> requested. Once the card is up and running I can unload all drivers,
> recompile without the cx25840 and load and it will work again until I
> power off the computer and back on again (This has been tedious trying
> to work out which setting I had missed). Is there some initialisation
> work being performed in the cx25840 module that I can incorporate into
> my patch to remove this dependency? Or should I leave it as is?
>
> Anyway nearly bedtime here.
The patch looks good, with the exception of requesting the cx25840.
I've always been able to run DVB without that driver being present, so
something is odd with the Leadtek card. I'm not aware of any
relationship between the cx25840 driver and the DVB core.
You're going to need to find the magic register write that the cx25840
is performing so we can discuss here. I'd rather we figured that out
cleanly, than just merged the patch and have the problem linger on.
Other than that, good patch.
- Steve
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
@ 2008-08-05 21:33 stev391
2008-08-05 21:37 ` Steven Toth
2008-08-06 11:27 ` Mark Carbonaro
0 siblings, 2 replies; 35+ messages in thread
From: stev391 @ 2008-08-05 21:33 UTC (permalink / raw)
To: Mark Carbonaro, Jonathan Hummel; +Cc: linux-dvb, stev391
[-- Attachment #1.1: Type: text/plain, Size: 9066 bytes --]
Mark, Jon,
The patches I made were not against the v4l-dvb tip that is referenced in
Mark's email below. I did this on purpose because there is a small
amount of refactoring (recoding to make it better) being performed by
Steven Toth and others.
To get the version I used for the patch download (This is for the first
initial patch [you can tell it is this one as the patch file mentions
cx23885-sram in the path]):
http://linuxtv.org/hg/~stoth/cx23885-sram/archive/tip.tar.gz
For the second patch that emailed less then 12 hours ago download this
version of drivers:
http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.gz
and then apply my patch (this patch mentions v4l-dvb). This version is a
cleanup of the previous and uses the generic callback function.
Other then that you are heading in the correct direction...
Do either of you have the same issue I have that when the computer is
first turned on the autodetect card feature doesn't work due to subvendor
sub product ids of 0000? Or is just a faulty card that I have?
Regards,
Stephen.
----- Original Message -----
From: "Mark Carbonaro"
To: "Jonathan Hummel"
Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H -
DVB Only support
Date: Tue, 5 Aug 2008 23:47:46 +1000 (EST)
Hi Mark,
Forgive my ignorance/ newbie-ness, but what do I do with that patch
code
below? is there a tutorial or howto or something somewhere that will
introduce me to this. I have done some programming, but nothing of
this
level.
cheers
Jon
----- Original Message -----
From: "Jonathan Hummel"
To: "Mark Carbonaro"
Cc: stev391@email.com, linux-dvb@linuxtv.org
Sent: Tuesday, 5 August, 2008 10:21:11 PM (GMT+1000) Auto-Detected
Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H
- DVB Only support
Hi Jon,
Not a problem at all, I'm new to this myself, below is what went
through and I may not be doing it the right way either. So if
anyone would like to point out what I am doing wrong I would really
appreciate it.
The file that I downloaded was called v4l-dvb-2bade2ed7ac8.tar.bz2
which I downloaded from
http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.bz2, I also
saved the patch to the same location as the download.
The patch didn't apply for me, so I manually patched applied the
patches and created a new diff that should hopefully work for you
also (attached and inline below). From what I could see the
offsets in Stephens patch were a little off for this code snapshot
but otherwise it is all good.
I ran the following using the attached diff...
tar -xjf v4l-dvb-2bade2ed7ac8.tar.bz2
cd v4l-dvb-2bade2ed7ac8
patch -p1 < ../Leadtek.Winfast.PxDVR.3200.H.2.diff
Once the patch was applied I was then able to build and install the
modules as per the instructions in the INSTALL file. I ran the
following...
make all
sudo make install
From there I could load the modules and start testing.
I hope this helps you get started.
Regards,
Mark
diff -Naur
v4l-dvb-2bade2ed7ac8/linux/Documentation/video4linux/CARDLIST.cx23885
v4l-dvb2/linux/Documentation/video4linux/CARDLIST.cx23885
---
v4l-dvb-2bade2ed7ac8/linux/Documentation/video4linux/CARDLIST.cx23885
2008-08-05 11:18:19.000000000
+1000
+++
v4l-dvb2/linux/Documentation/video4linux/CARDLIST.cx23885 2008-08-05
23:27:32.000000000 +1000
@@ -10,3 +10,4 @@
9 -> Hauppauge WinTV-HVR1400 [0070:8010]
10 -> DViCO FusionHDTV7 Dual Express [18ac:d618]
11 -> DViCO FusionHDTV DVB-T Dual Express [18ac:db78]
+ 12 -> Leadtek Winfast PxDVR3200 H [107d:6681]
diff -Naur
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/Kconfig
v4l-dvb2/linux/drivers/media/video/cx23885/Kconfig
---
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/Kconfig
2008-08-05
11:18:19.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/Kconfig 2008-08-05
23:37:51.000000000 +1000
@@ -15,6 +15,7 @@
select DVB_S5H1409 if !DVB_FE_CUSTOMISE
select DVB_S5H1411 if !DVB_FE_CUSTOMISE
select DVB_LGDT330X if !DVB_FE_CUSTOMISE
+ select DVB_ZL10353 if !DVB_FE_CUSTOMISE
select MEDIA_TUNER_XC2028 if !DVB_FE_CUSTOMIZE
select MEDIA_TUNER_TDA8290 if !DVB_FE_CUSTOMIZE
select MEDIA_TUNER_TDA18271 if !DVB_FE_CUSTOMIZE
diff -Naur
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-cards.c
v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-cards.c
---
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-cards.c
2008-08-05 11:18:19.000000000
+1000
+++
v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-cards.c 2008-08-05
23:41:40.000000000 +1000
@@ -155,6 +155,10 @@
.portb = CX23885_MPEG_DVB,
.portc = CX23885_MPEG_DVB,
},
+ [CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H] = {
+ .name = "Leadtek Winfast PxDVR3200 H",
+ .portc = CX23885_MPEG_DVB,
+ },
};
const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards);
@@ -230,6 +234,10 @@
.subvendor = 0x18ac,
.subdevice = 0xdb78,
.card = CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP,
+ },{
+ .subvendor = 0x107d,
+ .subdevice = 0x6681,
+ .card = CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H,
},
};
const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids);
@@ -353,6 +361,10 @@
if (command == 0)
bitmask = 0x04;
break;
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ /* Tuner Reset Command */
+ bitmask = 0x00070404;
+ break;
case CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP:
case CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP:
if (command == 0) {
@@ -492,6 +504,15 @@
mdelay(20);
cx_set(GP0_IO, 0x000f000f);
break;
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ /* GPIO-2 xc3028 tuner reset */
+ /* Put the parts into reset and back */
+ cx_set(GP0_IO, 0x00040000);
+ mdelay(20);
+ cx_clear(GP0_IO, 0x00000004);
+ mdelay(20);
+ cx_set(GP0_IO, 0x00040004);
+ break;
}
}
@@ -579,6 +600,7 @@
case CX23885_BOARD_HAUPPAUGE_HVR1200:
case CX23885_BOARD_HAUPPAUGE_HVR1700:
case CX23885_BOARD_HAUPPAUGE_HVR1400:
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
default:
ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */
ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */
@@ -592,6 +614,7 @@
case CX23885_BOARD_HAUPPAUGE_HVR1800:
case CX23885_BOARD_HAUPPAUGE_HVR1800lp:
case CX23885_BOARD_HAUPPAUGE_HVR1700:
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
request_module("cx25840");
break;
}
diff -Naur
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-dvb.c
v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-dvb.c
---
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-dvb.c
2008-08-05 11:18:19.000000000
+1000
+++
v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-dvb.c 2008-08-05
23:37:03.000000000 +1000
@@ -37,6 +37,7 @@
#include "tda8290.h"
#include "tda18271.h"
#include "lgdt330x.h"
+#include "zl10353.h"
#include "xc5000.h"
#include "tda10048.h"
#include "tuner-xc2028.h"
@@ -502,6 +503,32 @@
}
break;
}
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ i2c_bus = &dev->i2c_bus[0];
+
+ port->dvb.frontend = dvb_attach(zl10353_attach,
+ &dvico_fusionhdtv_xc3028,
+ &i2c_bus->i2c_adap);
+ if (port->dvb.frontend != NULL) {
+ struct dvb_frontend *fe;
+ struct xc2028_config cfg = {
+ .i2c_adap = &dev->i2c_bus[1].i2c_adap,
+ .i2c_addr = 0x61,
+ .video_dev = port,
+ .callback = cx23885_tuner_callback,
+ };
+ static struct xc2028_ctrl ctl = {
+ .fname = "xc3028-v27.fw",
+ .max_len = 64,
+ .demod = XC3028_FE_ZARLINK456,
+ };
+
+ fe = dvb_attach(xc2028_attach, port->dvb.frontend,
+ &cfg);
+ if (fe != NULL && fe->ops.tuner_ops.set_config != NULL)
+ fe->ops.tuner_ops.set_config(fe, &ctl);
+ }
+ break;
default:
printk("%s: The frontend of your DVB/ATSC card isn't supported
yet\n",
dev->name);
diff -Naur
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885.h
v4l-dvb2/linux/drivers/media/video/cx23885/cx23885.h
---
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885.h
2008-08-05
11:18:19.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/cx23885.h 2008-08-05
23:37:33.000000000 +1000
@@ -66,6 +66,7 @@
#define CX23885_BOARD_HAUPPAUGE_HVR1400 9
#define CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP 10
#define CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP 11
+#define CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H 12
/* Currently unsupported by the driver: PAL/H, NTSC/Kr, SECAM
B/G/H/LC */
#define CX23885_NORMS (\
<< Leadtek.Winfast.PxDVR.3200.H.2.diff >>
--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com
[-- Attachment #1.2: Type: text/html, Size: 10560 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] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
2008-08-05 21:33 stev391
@ 2008-08-05 21:37 ` Steven Toth
2008-08-06 11:27 ` Mark Carbonaro
1 sibling, 0 replies; 35+ messages in thread
From: Steven Toth @ 2008-08-05 21:37 UTC (permalink / raw)
To: stev391; +Cc: linux-dvb
> Do either of you have the same issue I have that when the computer is
> first turned on the autodetect card feature doesn't work due to
> subvendor sub product ids of 0000? Or is just a faulty card that I have?
I've seen that issue also on some dvico cards, but never on Hauppauge cards.
Some hardware implementation issue I guess.
- Steve
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
[not found] <1946053.01217974303703.JavaMail.mark@trogdor.carbonaro.org>
@ 2008-08-05 21:50 ` Mark Carbonaro
0 siblings, 0 replies; 35+ messages in thread
From: Mark Carbonaro @ 2008-08-05 21:50 UTC (permalink / raw)
To: stev391; +Cc: linux-dvb
[-- Attachment #1.1: Type: text/plain, Size: 9897 bytes --]
Stephen,
I used the second patch you send through against http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.gz.
The card came up first time and the drivers were loaded automatically by udev from a cold start, here is my output from dmesg
CORE cx23885[0]: subsystem: 107d:6681, board: Leadtek Winfast PxDVR3200 H [card=12,autodetected]
cx23885[0]: i2c bus 0 registered
cx23885[0]: i2c bus 1 registered
cx23885[0]: i2c bus 2 registered
cx25840' 2-0044: cx25 0-21 found @ 0x88 (cx23885[0])
cx23885[0]: cx23885 based dvb card
xc2028 1-0061: creating new instance
xc2028 1-0061: type set to XCeive xc2028/xc3028 tuner
DVB: registering new adapter (cx23885[0])
DVB: registering frontend 0 (Zarlink ZL10353 DVB-T)...
cx23885_dev_checkrevision() Hardware revision = 0xb0
cx23885[0]/0: found at 0000:03:00.0, rev: 2, irq: 16, latency: 0, mmio: 0xd3000000
I have to head to work now, but I will so some testing this evening now that the driver seems to be working fine.
Mark
----- Original Message -----
From: stev391@email.com
To: "Mark Carbonaro" <mark@carbonaro.org>, "Jonathan Hummel" <jhhummel@bigpond.com>
Cc: stev391@email.com, linux-dvb@linuxtv.org
Sent: Wednesday, 6 August, 2008 7:33:49 AM (GMT+1000) Auto-Detected
Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
Mark, Jon,
The patches I made were not against the v4l-dvb tip that is referenced in Mark's email below. I did this on purpose because there is a small amount of refactoring (recoding to make it better) being performed by Steven Toth and others.
To get the version I used for the patch download (This is for the first initial patch [you can tell it is this one as the patch file mentions cx23885-sram in the path]):
http://linuxtv.org/hg/~stoth/cx23885-sram/archive/tip.tar.gz
For the second patch that emailed less then 12 hours ago download this version of drivers:
http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.gz
and then apply my patch (this patch mentions v4l-dvb). This version is a cleanup of the previous and uses the generic callback function.
Other then that you are heading in the correct direction...
Do either of you have the same issue I have that when the computer is first turned on the autodetect card feature doesn't work due to subvendor sub product ids of 0000? Or is just a faulty card that I have?
Regards,
Stephen.
----- Original Message -----
From: "Mark Carbonaro"
To: "Jonathan Hummel"
Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
Date: Tue, 5 Aug 2008 23:47:46 +1000 (EST)
Hi Mark,
Forgive my ignorance/ newbie-ness, but what do I do with that patch code
below? is there a tutorial or howto or something somewhere that will
introduce me to this. I have done some programming, but nothing of this
level.
cheers
Jon
----- Original Message -----
From: "Jonathan Hummel"
To: "Mark Carbonaro"
Cc: stev391@email.com, linux-dvb@linuxtv.org
Sent: Tuesday, 5 August, 2008 10:21:11 PM (GMT+1000) Auto-Detected
Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H
- DVB Only support
Hi Jon,
Not a problem at all, I'm new to this myself, below is what went
through and I may not be doing it the right way either. So if
anyone would like to point out what I am doing wrong I would really
appreciate it.
The file that I downloaded was called v4l-dvb-2bade2ed7ac8.tar.bz2
which I downloaded from
http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.bz2, I also
saved the patch to the same location as the download.
The patch didn't apply for me, so I manually patched applied the
patches and created a new diff that should hopefully work for you
also (attached and inline below). From what I could see the
offsets in Stephens patch were a little off for this code snapshot
but otherwise it is all good.
I ran the following using the attached diff...
tar -xjf v4l-dvb-2bade2ed7ac8.tar.bz2
cd v4l-dvb-2bade2ed7ac8
patch -p1 < ../Leadtek.Winfast.PxDVR.3200.H.2.diff
Once the patch was applied I was then able to build and install the
modules as per the instructions in the INSTALL file. I ran the
following...
make all
sudo make install
>From there I could load the modules and start testing.
I hope this helps you get started.
Regards,
Mark
diff -Naur
v4l-dvb-2bade2ed7ac8/linux/Documentation/video4linux/CARDLIST.cx23885
v4l-dvb2/linux/Documentation/video4linux/CARDLIST.cx23885
---
v4l-dvb-2bade2ed7ac8/linux/Documentation/video4linux/CARDLIST.cx23885 2008-08-05 11:18:19.000000000
+1000
+++
v4l-dvb2/linux/Documentation/video4linux/CARDLIST.cx23885 2008-08-05
23:27:32.000000000 +1000
@@ -10,3 +10,4 @@
9 -> Hauppauge WinTV-HVR1400 [0070:8010]
10 -> DViCO FusionHDTV7 Dual Express [18ac:d618]
11 -> DViCO FusionHDTV DVB-T Dual Express [18ac:db78]
+ 12 -> Leadtek Winfast PxDVR3200 H [107d:6681]
diff -Naur
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/Kconfig
v4l-dvb2/linux/drivers/media/video/cx23885/Kconfig
---
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/Kconfig 2008-08-05
11:18:19.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/Kconfig 2008-08-05
23:37:51.000000000 +1000
@@ -15,6 +15,7 @@
select DVB_S5H1409 if !DVB_FE_CUSTOMISE
select DVB_S5H1411 if !DVB_FE_CUSTOMISE
select DVB_LGDT330X if !DVB_FE_CUSTOMISE
+ select DVB_ZL10353 if !DVB_FE_CUSTOMISE
select MEDIA_TUNER_XC2028 if !DVB_FE_CUSTOMIZE
select MEDIA_TUNER_TDA8290 if !DVB_FE_CUSTOMIZE
select MEDIA_TUNER_TDA18271 if !DVB_FE_CUSTOMIZE
diff -Naur
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-cards.c
v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-cards.c
---
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-cards.c 2008-08-05 11:18:19.000000000
+1000
+++
v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-cards.c 2008-08-05
23:41:40.000000000 +1000
@@ -155,6 +155,10 @@
.portb = CX23885_MPEG_DVB,
.portc = CX23885_MPEG_DVB,
},
+ [CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H] = {
+ .name = "Leadtek Winfast PxDVR3200 H",
+ .portc = CX23885_MPEG_DVB,
+ },
};
const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards);
@@ -230,6 +234,10 @@
.subvendor = 0x18ac,
.subdevice = 0xdb78,
.card = CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP,
+ },{
+ .subvendor = 0x107d,
+ .subdevice = 0x6681,
+ .card = CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H,
},
};
const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids);
@@ -353,6 +361,10 @@
if (command == 0)
bitmask = 0x04;
break;
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ /* Tuner Reset Command */
+ bitmask = 0x00070404;
+ break;
case CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP:
case CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP:
if (command == 0) {
@@ -492,6 +504,15 @@
mdelay(20);
cx_set(GP0_IO, 0x000f000f);
break;
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ /* GPIO-2 xc3028 tuner reset */
+ /* Put the parts into reset and back */
+ cx_set(GP0_IO, 0x00040000);
+ mdelay(20);
+ cx_clear(GP0_IO, 0x00000004);
+ mdelay(20);
+ cx_set(GP0_IO, 0x00040004);
+ break;
}
}
@@ -579,6 +600,7 @@
case CX23885_BOARD_HAUPPAUGE_HVR1200:
case CX23885_BOARD_HAUPPAUGE_HVR1700:
case CX23885_BOARD_HAUPPAUGE_HVR1400:
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
default:
ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */
ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */
@@ -592,6 +614,7 @@
case CX23885_BOARD_HAUPPAUGE_HVR1800:
case CX23885_BOARD_HAUPPAUGE_HVR1800lp:
case CX23885_BOARD_HAUPPAUGE_HVR1700:
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
request_module("cx25840");
break;
}
diff -Naur
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-dvb.c
v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-dvb.c
---
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-dvb.c 2008-08-05 11:18:19.000000000
+1000
+++
v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-dvb.c 2008-08-05
23:37:03.000000000 +1000
@@ -37,6 +37,7 @@
#include "tda8290.h"
#include "tda18271.h"
#include "lgdt330x.h"
+#include "zl10353.h"
#include "xc5000.h"
#include "tda10048.h"
#include "tuner-xc2028.h"
@@ -502,6 +503,32 @@
}
break;
}
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ i2c_bus = &dev->i2c_bus[0];
+
+ port->dvb.frontend = dvb_attach(zl10353_attach,
+ &dvico_fusionhdtv_xc3028,
+ &i2c_bus->i2c_adap);
+ if (port->dvb.frontend != NULL) {
+ struct dvb_frontend *fe;
+ struct xc2028_config cfg = {
+ .i2c_adap = &dev->i2c_bus[1].i2c_adap,
+ .i2c_addr = 0x61,
+ .video_dev = port,
+ .callback = cx23885_tuner_callback,
+ };
+ static struct xc2028_ctrl ctl = {
+ .fname = "xc3028-v27.fw",
+ .max_len = 64,
+ .demod = XC3028_FE_ZARLINK456,
+ };
+
+ fe = dvb_attach(xc2028_attach, port->dvb.frontend,
+ &cfg);
+ if (fe != NULL && fe->ops.tuner_ops.set_config != NULL)
+ fe->ops.tuner_ops.set_config(fe, &ctl);
+ }
+ break;
default:
printk("%s: The frontend of your DVB/ATSC card isn't supported yet\n",
dev->name);
diff -Naur
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885.h
v4l-dvb2/linux/drivers/media/video/cx23885/cx23885.h
---
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885.h 2008-08-05
11:18:19.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/cx23885.h 2008-08-05
23:37:33.000000000 +1000
@@ -66,6 +66,7 @@
#define CX23885_BOARD_HAUPPAUGE_HVR1400 9
#define CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP 10
#define CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP 11
+#define CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H 12
/* Currently unsupported by the driver: PAL/H, NTSC/Kr, SECAM B/G/H/LC */
#define CX23885_NORMS (\
<< Leadtek.Winfast.PxDVR.3200.H.2.diff >>
--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com !
[-- Attachment #1.2: Type: text/html, Size: 11974 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] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
2008-08-05 21:33 stev391
2008-08-05 21:37 ` Steven Toth
@ 2008-08-06 11:27 ` Mark Carbonaro
1 sibling, 0 replies; 35+ messages in thread
From: Mark Carbonaro @ 2008-08-06 11:27 UTC (permalink / raw)
To: stev391; +Cc: linux-dvb
[-- Attachment #1.1: Type: text/plain, Size: 9985 bytes --]
Hi Stephen,
So far so good, once I loaded the firmware for the tuner it all started working. dvbscan was able to pick up the pids on the various channels and mythtv was also able to tune the channels although I had to enter the transports manually as I would end up with some transport frequencies being 0 (ABC, SBS & channel 9 seem to not scan automatically), but then I have that problem with my Dvico hd plus also.
The signal strenth is a little low which is causing frequent breakups, but that could just be the antenna outlet I am using (at the end of a long cable run) or the hardware itself, but it is sufficent for testing.
I have been messing around for a few hours now, tuning, watching tv for a bit changes channels all over the place and so far I haven't seen any issues. I have not been able to replicate the card not being autodetected issue that you mention, just works for me everytime.
If I find any issues I will certainly post them, please let me know if you need me to do anything specific and thanks for your effort in getting this working.
Mark
----- Original Message -----
From: stev391@email.com
To: "Mark Carbonaro" <mark@carbonaro.org>, "Jonathan Hummel" <jhhummel@bigpond.com>
Cc: stev391@email.com, linux-dvb@linuxtv.org
Sent: Wednesday, 6 August, 2008 7:33:49 AM (GMT+1000) Auto-Detected
Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
Mark, Jon,
The patches I made were not against the v4l-dvb tip that is referenced in Mark's email below. I did this on purpose because there is a small amount of refactoring (recoding to make it better) being performed by Steven Toth and others.
To get the version I used for the patch download (This is for the first initial patch [you can tell it is this one as the patch file mentions cx23885-sram in the path]):
http://linuxtv.org/hg/~stoth/cx23885-sram/archive/tip.tar.gz
For the second patch that emailed less then 12 hours ago download this version of drivers:
http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.gz
and then apply my patch (this patch mentions v4l-dvb). This version is a cleanup of the previous and uses the generic callback function.
Other then that you are heading in the correct direction...
Do either of you have the same issue I have that when the computer is first turned on the autodetect card feature doesn't work due to subvendor sub product ids of 0000? Or is just a faulty card that I have?
Regards,
Stephen.
----- Original Message -----
From: "Mark Carbonaro"
To: "Jonathan Hummel"
Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
Date: Tue, 5 Aug 2008 23:47:46 +1000 (EST)
Hi Mark,
Forgive my ignorance/ newbie-ness, but what do I do with that patch code
below? is there a tutorial or howto or something somewhere that will
introduce me to this. I have done some programming, but nothing of this
level.
cheers
Jon
----- Original Message -----
From: "Jonathan Hummel"
To: "Mark Carbonaro"
Cc: stev391@email.com, linux-dvb@linuxtv.org
Sent: Tuesday, 5 August, 2008 10:21:11 PM (GMT+1000) Auto-Detected
Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H
- DVB Only support
Hi Jon,
Not a problem at all, I'm new to this myself, below is what went
through and I may not be doing it the right way either. So if
anyone would like to point out what I am doing wrong I would really
appreciate it.
The file that I downloaded was called v4l-dvb-2bade2ed7ac8.tar.bz2
which I downloaded from
http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.bz2, I also
saved the patch to the same location as the download.
The patch didn't apply for me, so I manually patched applied the
patches and created a new diff that should hopefully work for you
also (attached and inline below). From what I could see the
offsets in Stephens patch were a little off for this code snapshot
but otherwise it is all good.
I ran the following using the attached diff...
tar -xjf v4l-dvb-2bade2ed7ac8.tar.bz2
cd v4l-dvb-2bade2ed7ac8
patch -p1 < ../Leadtek.Winfast.PxDVR.3200.H.2.diff
Once the patch was applied I was then able to build and install the
modules as per the instructions in the INSTALL file. I ran the
following...
make all
sudo make install
>From there I could load the modules and start testing.
I hope this helps you get started.
Regards,
Mark
diff -Naur
v4l-dvb-2bade2ed7ac8/linux/Documentation/video4linux/CARDLIST.cx23885
v4l-dvb2/linux/Documentation/video4linux/CARDLIST.cx23885
---
v4l-dvb-2bade2ed7ac8/linux/Documentation/video4linux/CARDLIST.cx23885 2008-08-05 11:18:19.000000000
+1000
+++
v4l-dvb2/linux/Documentation/video4linux/CARDLIST.cx23885 2008-08-05
23:27:32.000000000 +1000
@@ -10,3 +10,4 @@
9 -> Hauppauge WinTV-HVR1400 [0070:8010]
10 -> DViCO FusionHDTV7 Dual Express [18ac:d618]
11 -> DViCO FusionHDTV DVB-T Dual Express [18ac:db78]
+ 12 -> Leadtek Winfast PxDVR3200 H [107d:6681]
diff -Naur
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/Kconfig
v4l-dvb2/linux/drivers/media/video/cx23885/Kconfig
---
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/Kconfig 2008-08-05
11:18:19.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/Kconfig 2008-08-05
23:37:51.000000000 +1000
@@ -15,6 +15,7 @@
select DVB_S5H1409 if !DVB_FE_CUSTOMISE
select DVB_S5H1411 if !DVB_FE_CUSTOMISE
select DVB_LGDT330X if !DVB_FE_CUSTOMISE
+ select DVB_ZL10353 if !DVB_FE_CUSTOMISE
select MEDIA_TUNER_XC2028 if !DVB_FE_CUSTOMIZE
select MEDIA_TUNER_TDA8290 if !DVB_FE_CUSTOMIZE
select MEDIA_TUNER_TDA18271 if !DVB_FE_CUSTOMIZE
diff -Naur
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-cards.c
v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-cards.c
---
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-cards.c 2008-08-05 11:18:19.000000000
+1000
+++
v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-cards.c 2008-08-05
23:41:40.000000000 +1000
@@ -155,6 +155,10 @@
.portb = CX23885_MPEG_DVB,
.portc = CX23885_MPEG_DVB,
},
+ [CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H] = {
+ .name = "Leadtek Winfast PxDVR3200 H",
+ .portc = CX23885_MPEG_DVB,
+ },
};
const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards);
@@ -230,6 +234,10 @@
.subvendor = 0x18ac,
.subdevice = 0xdb78,
.card = CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP,
+ },{
+ .subvendor = 0x107d,
+ .subdevice = 0x6681,
+ .card = CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H,
},
};
const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids);
@@ -353,6 +361,10 @@
if (command == 0)
bitmask = 0x04;
break;
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ /* Tuner Reset Command */
+ bitmask = 0x00070404;
+ break;
case CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP:
case CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP:
if (command == 0) {
@@ -492,6 +504,15 @@
mdelay(20);
cx_set(GP0_IO, 0x000f000f);
break;
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ /* GPIO-2 xc3028 tuner reset */
+ /* Put the parts into reset and back */
+ cx_set(GP0_IO, 0x00040000);
+ mdelay(20);
+ cx_clear(GP0_IO, 0x00000004);
+ mdelay(20);
+ cx_set(GP0_IO, 0x00040004);
+ break;
}
}
@@ -579,6 +600,7 @@
case CX23885_BOARD_HAUPPAUGE_HVR1200:
case CX23885_BOARD_HAUPPAUGE_HVR1700:
case CX23885_BOARD_HAUPPAUGE_HVR1400:
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
default:
ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */
ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */
@@ -592,6 +614,7 @@
case CX23885_BOARD_HAUPPAUGE_HVR1800:
case CX23885_BOARD_HAUPPAUGE_HVR1800lp:
case CX23885_BOARD_HAUPPAUGE_HVR1700:
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
request_module("cx25840");
break;
}
diff -Naur
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-dvb.c
v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-dvb.c
---
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-dvb.c 2008-08-05 11:18:19.000000000
+1000
+++
v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-dvb.c 2008-08-05
23:37:03.000000000 +1000
@@ -37,6 +37,7 @@
#include "tda8290.h"
#include "tda18271.h"
#include "lgdt330x.h"
+#include "zl10353.h"
#include "xc5000.h"
#include "tda10048.h"
#include "tuner-xc2028.h"
@@ -502,6 +503,32 @@
}
break;
}
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ i2c_bus = &dev->i2c_bus[0];
+
+ port->dvb.frontend = dvb_attach(zl10353_attach,
+ &dvico_fusionhdtv_xc3028,
+ &i2c_bus->i2c_adap);
+ if (port->dvb.frontend != NULL) {
+ struct dvb_frontend *fe;
+ struct xc2028_config cfg = {
+ .i2c_adap = &dev->i2c_bus[1].i2c_adap,
+ .i2c_addr = 0x61,
+ .video_dev = port,
+ .callback = cx23885_tuner_callback,
+ };
+ static struct xc2028_ctrl ctl = {
+ .fname = "xc3028-v27.fw",
+ .max_len = 64,
+ .demod = XC3028_FE_ZARLINK456,
+ };
+
+ fe = dvb_attach(xc2028_attach, port->dvb.frontend,
+ &cfg);
+ if (fe != NULL && fe->ops.tuner_ops.set_config != NULL)
+ fe->ops.tuner_ops.set_config(fe, &ctl);
+ }
+ break;
default:
printk("%s: The frontend of your DVB/ATSC card isn't supported yet\n",
dev->name);
diff -Naur
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885.h
v4l-dvb2/linux/drivers/media/video/cx23885/cx23885.h
---
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885.h 2008-08-05
11:18:19.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/cx23885.h 2008-08-05
23:37:33.000000000 +1000
@@ -66,6 +66,7 @@
#define CX23885_BOARD_HAUPPAUGE_HVR1400 9
#define CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP 10
#define CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP 11
+#define CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H 12
/* Currently unsupported by the driver: PAL/H, NTSC/Kr, SECAM B/G/H/LC */
#define CX23885_NORMS (\
<< Leadtek.Winfast.PxDVR.3200.H.2.diff >>
--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com !
[-- Attachment #1.2: Type: text/html, Size: 12050 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] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
@ 2008-08-10 1:42 stev391
2008-08-11 13:36 ` Jonathan Hummel
0 siblings, 1 reply; 35+ messages in thread
From: stev391 @ 2008-08-10 1:42 UTC (permalink / raw)
To: Jonathan Hummel; +Cc: linux dvb
[-- Attachment #1.1: Type: text/plain, Size: 5717 bytes --]
----- Original Message -----
From: "Jonathan Hummel"
To: stev391@email.com
Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H -
DVB Only support
Date: Sat, 09 Aug 2008 21:48:21 +1000
Hi All,
Finnaly got some time to give the patch a go. I used the pacakges
Stephen, sent the link to, not Mark's. I cant't get past the attached
problem. The dmesg output is attached. I tried setting the card like
this:
/etc/modprobe.d/options file and add the line: options cx88xx card=11
I also tried the following two varients:
cx23885 card=11
cx23885 card=12
I also got what looked like an error message when applying the first
patch, something like "strip count 1 is not a number" (although 1 not
being a number would explain my difficulties with maths!)
Cheers
Jon
On Wed, 2008-08-06 at 07:33 +1000, stev391@email.com wrote:
> Mark, Jon,
>
> The patches I made were not against the v4l-dvb tip that is
referenced
> in Mark's email below. I did this on purpose because there is a
small
> amount of refactoring (recoding to make it better) being performed
by
> Steven Toth and others.
>
> To get the version I used for the patch download (This is for the
> first initial patch [you can tell it is this one as the patch file
> mentions cx23885-sram in the path]):
> http://linuxtv.org/hg/~stoth/cx23885-sram/archive/tip.tar.gz
>
> For the second patch that emailed less then 12 hours ago download
this
> version of drivers:
> http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.gz
> and then apply my patch (this patch mentions v4l-dvb). This version
is
> a cleanup of the previous and uses the generic callback function.
>
> Other then that you are heading in the correct direction...
>
> Do either of you have the same issue I have that when the computer
is
> first turned on the autodetect card feature doesn't work due to
> subvendor sub product ids of 0000? Or is just a faulty card that I
> have?
>
> Regards,
>
> Stephen.
> ----- Original Message -----
> From: "Mark Carbonaro" To: "Jonathan Hummel"
> Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> 3200 H - DVB Only support
> Date: Tue, 5 Aug 2008 23:47:46 +1000 (EST)
>
>
> Hi Mark,
>
> Forgive my ignorance/ newbie-ness, but what do I do with that
> patch code
> below? is there a tutorial or howto or something somewhere
> that will
> introduce me to this. I have done some programming, but
> nothing of this
> level.
>
> cheers
>
> Jon
>
> ----- Original Message -----
> From: "Jonathan Hummel" To: "Mark Carbonaro"
> Cc: stev391@email.com, linux-dvb@linuxtv.org
> Sent: Tuesday, 5 August, 2008 10:21:11 PM (GMT+1000)
> Auto-Detected
> Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> 3200 H - DVB Only support
>
> Hi Jon,
>
> Not a problem at all, I'm new to this myself, below is what
> went through and I may not be doing it the right
> way either. So if anyone would like to point out what I
> am doing wrong I would
> really appreciate it.
>
> The file that I downloaded was called
> v4l-dvb-2bade2ed7ac8.tar.bz2 which I downloaded
> from
> http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.bz2, I
> also saved the patch to the same location as the download.
>
> The patch didn't apply for me, so I manually patched applied
> the patches and created a new diff that should
> hopefully work for
> you also (attached and inline below). From what I
> could see the offsets in Stephens patch were a little off
> for this code
> snapshot but otherwise it is all good.
>
> I ran the following using the attached diff...
>
> tar -xjf v4l-dvb-2bade2ed7ac8.tar.bz2
> cd v4l-dvb-2bade2ed7ac8
> patch -p1 < ../Leadtek.Winfast.PxDVR.3200.H.2.diff
>
> Once the patch was applied I was then able to build and
> install the modules as per the instructions in
> the INSTALL file. I ran
> the following...
>
> make all
> sudo make install
>
> From there I could load the modules and start testing.
>
> I hope this helps you get started.
>
> Regards,
> Mark
>
>
>
>
>
>
Jon,
The patch did not apply correctly as the dmesg should list an extra entry
in card list (number 12), and it should have autodetected.
Attached is the newest copy of the patch (save this in the same directory
that you use the following commands from), just to avoid confusion.
Following the following:
wget http://linuxtv.org/hg/~stoth/v4l-dvb/archive/2bade2ed7ac8.tar.gz
tar -xf 2bade2ed7ac8.tar.gz
cd v4l-dvb-2bade2ed7ac8
patch -p1 <../Leadtek_Winfast_PxDVR3200_H.diff
make
sudo make install
sudo make unload
sudo modprobe cx23885
Now the card should have been detected and you should have /dev/adapterN/
(where N is a number). If it hasn't been detected properly you should see
a list of cards in dmesg with the card as number 12. Unload the module
(sudo rmmod cx23885) and then load it with the option card=12 (sudo
modprobe cx23885 card=12)
For further instructions on how to watch digital tv look at the wiki page
(you need to create a channels.conf).
Regards,
Stephen
P.S.
Please make sure you cc the linux dvb mailing list, so if anyone else has
the same issue we can work together to solve it.
Also the convention is to post your message at the bottom (I got caught
by this one until recently).
--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com
[-- Attachment #1.2: Type: text/html, Size: 7144 bytes --]
[-- Attachment #2: Leadtek_Winfast_PxDVR3200_H.diff --]
[-- Type: application/octet-stream, Size: 5516 bytes --]
diff -Naur v4l-dvb/linux/Documentation/video4linux/CARDLIST.cx23885 v4l-dvb2/linux/Documentation/video4linux/CARDLIST.cx23885
--- v4l-dvb/linux/Documentation/video4linux/CARDLIST.cx23885 2008-08-05 16:48:13.000000000 +1000
+++ v4l-dvb2/linux/Documentation/video4linux/CARDLIST.cx23885 2008-08-05 20:07:16.000000000 +1000
@@ -10,3 +10,4 @@
9 -> Hauppauge WinTV-HVR1400 [0070:8010]
10 -> DViCO FusionHDTV7 Dual Express [18ac:d618]
11 -> DViCO FusionHDTV DVB-T Dual Express [18ac:db78]
+ 12 -> Leadtek Winfast PxDVR3200 H [107d:6681]
diff -Naur v4l-dvb/linux/drivers/media/video/cx23885/cx23885-cards.c v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-cards.c
--- v4l-dvb/linux/drivers/media/video/cx23885/cx23885-cards.c 2008-08-05 16:48:14.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-cards.c 2008-08-05 21:29:59.000000000 +1000
@@ -155,6 +155,10 @@
.portb = CX23885_MPEG_DVB,
.portc = CX23885_MPEG_DVB,
},
+ [CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H] = {
+ .name = "Leadtek Winfast PxDVR3200 H",
+ .portc = CX23885_MPEG_DVB,
+ },
};
const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards);
@@ -230,7 +234,11 @@
.subvendor = 0x18ac,
.subdevice = 0xdb78,
.card = CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP,
- },
+ },{
+ .subvendor = 0x107d,
+ .subdevice = 0x6681,
+ .card = CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H,
+ },
};
const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids);
@@ -353,6 +361,10 @@
if (command == 0)
bitmask = 0x04;
break;
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ /* Tuner Reset Command */
+ bitmask = 0x00070404;
+ break;
case CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP:
case CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP:
if (command == 0) {
@@ -492,6 +504,15 @@
mdelay(20);
cx_set(GP0_IO, 0x000f000f);
break;
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ /* GPIO-2 xc3028 tuner reset */
+ /* Put the parts into reset and back */
+ cx_set(GP0_IO, 0x00040000);
+ mdelay(20);
+ cx_clear(GP0_IO, 0x00000004);
+ mdelay(20);
+ cx_set(GP0_IO, 0x00040004);
+ break;
}
}
@@ -579,6 +600,7 @@
case CX23885_BOARD_HAUPPAUGE_HVR1200:
case CX23885_BOARD_HAUPPAUGE_HVR1700:
case CX23885_BOARD_HAUPPAUGE_HVR1400:
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
default:
ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */
ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */
@@ -592,6 +614,7 @@
case CX23885_BOARD_HAUPPAUGE_HVR1800:
case CX23885_BOARD_HAUPPAUGE_HVR1800lp:
case CX23885_BOARD_HAUPPAUGE_HVR1700:
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
request_module("cx25840");
break;
}
diff -Naur v4l-dvb/linux/drivers/media/video/cx23885/cx23885-dvb.c v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-dvb.c
--- v4l-dvb/linux/drivers/media/video/cx23885/cx23885-dvb.c 2008-08-05 16:48:14.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-dvb.c 2008-08-05 21:29:00.000000000 +1000
@@ -37,6 +37,7 @@
#include "tda8290.h"
#include "tda18271.h"
#include "lgdt330x.h"
+#include "zl10353.h"
#include "xc5000.h"
#include "tda10048.h"
#include "tuner-xc2028.h"
@@ -502,6 +503,32 @@
}
break;
}
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ i2c_bus = &dev->i2c_bus[0];
+
+ port->dvb.frontend = dvb_attach(zl10353_attach,
+ &dvico_fusionhdtv_xc3028,
+ &i2c_bus->i2c_adap);
+ if (port->dvb.frontend != NULL) {
+ struct dvb_frontend *fe;
+ struct xc2028_config cfg = {
+ .i2c_adap = &dev->i2c_bus[1].i2c_adap,
+ .i2c_addr = 0x61,
+ .video_dev = port,
+ .callback = cx23885_tuner_callback,
+ };
+ static struct xc2028_ctrl ctl = {
+ .fname = "xc3028-v27.fw",
+ .max_len = 64,
+ .demod = XC3028_FE_ZARLINK456,
+ };
+
+ fe = dvb_attach(xc2028_attach, port->dvb.frontend,
+ &cfg);
+ if (fe != NULL && fe->ops.tuner_ops.set_config != NULL)
+ fe->ops.tuner_ops.set_config(fe, &ctl);
+ }
+ break;
default:
printk("%s: The frontend of your DVB/ATSC card isn't supported yet\n",
dev->name);
diff -Naur v4l-dvb/linux/drivers/media/video/cx23885/cx23885.h v4l-dvb2/linux/drivers/media/video/cx23885/cx23885.h
--- v4l-dvb/linux/drivers/media/video/cx23885/cx23885.h 2008-08-05 16:48:14.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/cx23885.h 2008-08-05 20:10:57.000000000 +1000
@@ -66,6 +66,7 @@
#define CX23885_BOARD_HAUPPAUGE_HVR1400 9
#define CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP 10
#define CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP 11
+#define CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H 12
/* Currently unsupported by the driver: PAL/H, NTSC/Kr, SECAM B/G/H/LC */
#define CX23885_NORMS (\
diff -Naur v4l-dvb/linux/drivers/media/video/cx23885/Kconfig v4l-dvb2/linux/drivers/media/video/cx23885/Kconfig
--- v4l-dvb/linux/drivers/media/video/cx23885/Kconfig 2008-08-05 16:48:14.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/Kconfig 2008-08-05 20:06:06.000000000 +1000
@@ -15,6 +15,7 @@
select DVB_S5H1409 if !DVB_FE_CUSTOMISE
select DVB_S5H1411 if !DVB_FE_CUSTOMISE
select DVB_LGDT330X if !DVB_FE_CUSTOMISE
+ select DVB_ZL10353 if !DVB_FE_CUSTOMISE
select MEDIA_TUNER_XC2028 if !DVB_FE_CUSTOMIZE
select MEDIA_TUNER_TDA8290 if !DVB_FE_CUSTOMIZE
select MEDIA_TUNER_TDA18271 if !DVB_FE_CUSTOMIZE
[-- 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] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
@ 2008-08-10 5:31 stev391
2008-08-10 13:26 ` Steven Toth
0 siblings, 1 reply; 35+ messages in thread
From: stev391 @ 2008-08-10 5:31 UTC (permalink / raw)
To: Steven Toth; +Cc: linux-dvb
> ----- Original Message -----
> From: "Steven Toth" <stoth@linuxtv.org>
> To: stev391@email.com
> Subject: Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
> Date: Tue, 05 Aug 2008 10:30:57 -0400
>
>
> stev391@email.com wrote:
> > Steve,
> >
> > I have reworked the tuner callback now against your branch at:
> > http://linuxtv.org/hg/~stoth/v4l-dvb
> >
> > The new Patch (to add support for this card) is attached inline below for testing (this is a
> > hint Mark & Jon), I have not provided a signed-off note on purpose as I want to solve the
> > issue mentioned in the next paragraph first.
> >
> > Regarding the cx25840 module; the card doesn't seem to initialise properly (no DVB output and
> > DMA errors in log) unless I have this requested. Once the card is up and running I can unload
> > all drivers, recompile without the cx25840 and load and it will work again until I power off
> > the computer and back on again (This has been tedious trying to work out which setting I had
> > missed). Is there some initialisation work being performed in the cx25840 module that I can
> > incorporate into my patch to remove this dependency? Or should I leave it as is?
> >
> > Anyway nearly bedtime here.
>
> The patch looks good, with the exception of requesting the cx25840.
>
> I've always been able to run DVB without that driver being present, so something is odd with the
> Leadtek card. I'm not aware of any relationship between the cx25840 driver and the DVB core.
>
> You're going to need to find the magic register write that the cx25840 is performing so we can
> discuss here. I'd rather we figured that out cleanly, than just merged the patch and have the
> problem linger on.
>
> Other than that, good patch.
>
> - Steve
Steve,
I have found the lines (starting at line 1441) within cx25840-core.c that effects the DVB working or not working. These lines are:
if (state->is_cx23885) {
/* Drive GPIO2 direction and values */
cx25840_write(client, 0x160, 0x1d);
cx25840_write(client, 0x164, 0x00);
}
If I comment these lines out in the code, the DVB side doesn't work. I have tried incorporating these register writes into various places in the cx23885 code (cx23885_gpio_setup(), cx23885_card_setup() and dvb_register()) as the following lines:
cx_write(0x160, 0x1d);
cx_write(0x164, 0x00);
But this does not allow the card to work.
I have also commented out/ removed all of the code in cx25840-core.c except for the read, write, probe(now only contains the above cx25840_writes) and remove functions and the various struct configs, to ensure that it is not something else contributing to the dependency.
Have a used cx_write correctly?
I have also noticed that the following card also uses the cx25840 without any analog support in the driver:
CX23885_BOARD_HAUPPAUGE_HVR1700
Perhaps the person who included support for this card has already gone down this track...
There are two possible directions that I would like to take from here:
1) Submit the patch as is with the cx25840 dependency
2) Work on why the registers writes aren't working. (However this is out of my depth of knowledge and will need some guidance or pass it onto someone else).
Thanks,
Stephen.
--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
2008-08-10 5:31 stev391
@ 2008-08-10 13:26 ` Steven Toth
0 siblings, 0 replies; 35+ messages in thread
From: Steven Toth @ 2008-08-10 13:26 UTC (permalink / raw)
To: stev391; +Cc: linux-dvb
stev391@email.com wrote:
>> ----- Original Message -----
>> From: "Steven Toth" <stoth@linuxtv.org>
>> To: stev391@email.com
>> Subject: Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
>> Date: Tue, 05 Aug 2008 10:30:57 -0400
>>
>>
>> stev391@email.com wrote:
>>> Steve,
>>>
>>> I have reworked the tuner callback now against your branch at:
>>> http://linuxtv.org/hg/~stoth/v4l-dvb
>>>
>>> The new Patch (to add support for this card) is attached inline below for testing (this is a
>>> hint Mark & Jon), I have not provided a signed-off note on purpose as I want to solve the
>>> issue mentioned in the next paragraph first.
>>>
>>> Regarding the cx25840 module; the card doesn't seem to initialise properly (no DVB output and
>>> DMA errors in log) unless I have this requested. Once the card is up and running I can unload
>>> all drivers, recompile without the cx25840 and load and it will work again until I power off
>>> the computer and back on again (This has been tedious trying to work out which setting I had
>>> missed). Is there some initialisation work being performed in the cx25840 module that I can
>>> incorporate into my patch to remove this dependency? Or should I leave it as is?
>>>
>>> Anyway nearly bedtime here.
>> The patch looks good, with the exception of requesting the cx25840.
>>
>> I've always been able to run DVB without that driver being present, so something is odd with the
>> Leadtek card. I'm not aware of any relationship between the cx25840 driver and the DVB core.
>>
>> You're going to need to find the magic register write that the cx25840 is performing so we can
>> discuss here. I'd rather we figured that out cleanly, than just merged the patch and have the
>> problem linger on.
>>
>> Other than that, good patch.
>>
>> - Steve
>
> Steve,
>
> I have found the lines (starting at line 1441) within cx25840-core.c that effects the DVB working or not working. These lines are:
> if (state->is_cx23885) {
> /* Drive GPIO2 direction and values */
> cx25840_write(client, 0x160, 0x1d);
> cx25840_write(client, 0x164, 0x00);
> }
>
> If I comment these lines out in the code, the DVB side doesn't work. I have tried incorporating these register writes into various places in the cx23885 code (cx23885_gpio_setup(), cx23885_card_setup() and dvb_register()) as the following lines:
> cx_write(0x160, 0x1d);
> cx_write(0x164, 0x00);
>
> But this does not allow the card to work.
>
> I have also commented out/ removed all of the code in cx25840-core.c except for the read, write, probe(now only contains the above cx25840_writes) and remove functions and the various struct configs, to ensure that it is not something else contributing to the dependency.
>
> Have a used cx_write correctly?
>
> I have also noticed that the following card also uses the cx25840 without any analog support in the driver:
> CX23885_BOARD_HAUPPAUGE_HVR1700
>
> Perhaps the person who included support for this card has already gone down this track...
>
> There are two possible directions that I would like to take from here:
> 1) Submit the patch as is with the cx25840 dependency
> 2) Work on why the registers writes aren't working. (However this is out of my depth of knowledge and will need some guidance or pass it onto someone else).
OK, so they tied the demod reset to the GPIO on the avcore, rather than
a regular GPIO on the pcie bridge itself. I've only ever seen one other
card do that (which you found - the HVR1700) because Hauppauge ran out
of GPIO's on the bridge itself.
In this new case, for the Leadtek, I accept that we'll have to
request_module for the card.
You should also add a comment to the _gpio_setup() code (where generally
I try to ensure all card GPIO's are document), to say that the GPIO is
on the AVCore (like the HVR1700). See the HVR1700 example comments.
One comment the bitmask in the tuner reset looks unusually long for
resetting the xc3028. 70404, and it dosn't match the value used in your
_gpio_setup() implementation (0x04).
So three very minor things to get this patch accepted:
1. Change 70404 to 4, this is clean.
2. Add the cx25840 request_module() code back.
3. Update the comments in _gpio_setup() to indicate the GPIO for the
zilink part os on the AVcore.
Good work Steve, thanks for helping. Please publish the patch to this
mailing list (with your sign-off) and I'll put up an official tree for
retest and final merge.
- Steve
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
2008-08-10 1:42 stev391
@ 2008-08-11 13:36 ` Jonathan Hummel
0 siblings, 0 replies; 35+ messages in thread
From: Jonathan Hummel @ 2008-08-11 13:36 UTC (permalink / raw)
To: stev391; +Cc: linux dvb
[-- Attachment #1: Type: text/plain, Size: 7890 bytes --]
On Sun, 2008-08-10 at 11:42 +1000, stev391@email.com wrote:
>
>
> ----- Original Message -----
> From: "Jonathan Hummel"
> To: stev391@email.com
> Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> 3200 H - DVB Only support
> Date: Sat, 09 Aug 2008 21:48:21 +1000
>
>
> Hi All,
>
> Finnaly got some time to give the patch a go. I used the
> pacakges
> Stephen, sent the link to, not Mark's. I cant't get past the
> attached
> problem. The dmesg output is attached. I tried setting the
> card like
> this:
> /etc/modprobe.d/options file and add the line: options cx88xx
> card=11
> I also tried the following two varients:
> cx23885 card=11
> cx23885 card=12
>
> I also got what looked like an error message when applying the
> first
> patch, something like "strip count 1 is not a
> number" (although 1 not
> being a number would explain my difficulties with maths!)
>
> Cheers
>
> Jon
>
> On Wed, 2008-08-06 at 07:33 +1000, stev391@email.com wrote:
> > Mark, Jon,
> >
> > The patches I made were not against the v4l-dvb tip that is
> referenced
> > in Mark's email below. I did this on purpose because there
> is a small
> > amount of refactoring (recoding to make it better) being
> performed by
> > Steven Toth and others.
> >
> > To get the version I used for the patch download (This is
> for the
> > first initial patch [you can tell it is this one as the
> patch file
> > mentions cx23885-sram in the path]):
> > http://linuxtv.org/hg/~stoth/cx23885-sram/archive/tip.tar.gz
> >
> > For the second patch that emailed less then 12 hours ago
> download this
> > version of drivers:
> > http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.gz
> > and then apply my patch (this patch mentions v4l-dvb). This
> version is
> > a cleanup of the previous and uses the generic callback
> function.
> >
> > Other then that you are heading in the correct direction...
> >
> > Do either of you have the same issue I have that when the
> computer is
> > first turned on the autodetect card feature doesn't work due
> to
> > subvendor sub product ids of 0000? Or is just a faulty card
> that I
> > have?
> >
> > Regards,
> >
> > Stephen.
> > ----- Original Message -----
> > From: "Mark Carbonaro" To: "Jonathan Hummel"
> > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> > 3200 H - DVB Only support
> > Date: Tue, 5 Aug 2008 23:47:46 +1000 (EST)
> >
> >
> > Hi Mark,
> >
> > Forgive my ignorance/ newbie-ness, but what do I do with
> that
> > patch code
> > below? is there a tutorial or howto or something somewhere
> > that will
> > introduce me to this. I have done some programming, but
> > nothing of this
> > level.
> >
> > cheers
> >
> > Jon
> >
> > ----- Original Message -----
> > From: "Jonathan Hummel" To: "Mark Carbonaro"
> > Cc: stev391@email.com, linux-dvb@linuxtv.org
> > Sent: Tuesday, 5 August, 2008 10:21:11 PM (GMT+1000)
> > Auto-Detected
> > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> > 3200 H - DVB Only support
> >
> > Hi Jon,
> >
> > Not a problem at all, I'm new to this myself, below is what
> > went through and I may not be doing it the right
> > way either. So if anyone would like to point out what I
> > am doing wrong I would
> > really appreciate it.
> >
> > The file that I downloaded was called
> > v4l-dvb-2bade2ed7ac8.tar.bz2 which I downloaded
> > from
> > http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.bz2, I
> > also saved the patch to the same location as the download.
> >
> > The patch didn't apply for me, so I manually patched applied
> > the patches and created a new diff that should
> > hopefully work for
> > you also (attached and inline below). From what I
> > could see the offsets in Stephens patch were a little off
> > for this code
> > snapshot but otherwise it is all good.
> >
> > I ran the following using the attached diff...
> >
> > tar -xjf v4l-dvb-2bade2ed7ac8.tar.bz2
> > cd v4l-dvb-2bade2ed7ac8
> > patch -p1 < ../Leadtek.Winfast.PxDVR.3200.H.2.diff
> >
> > Once the patch was applied I was then able to build and
> > install the modules as per the instructions in
> > the INSTALL file. I ran
> > the following...
> >
> > make all
> > sudo make install
> >
> > From there I could load the modules and start testing.
> >
> > I hope this helps you get started.
> >
> > Regards,
> > Mark
> >
> >
> >
> >
> >
> >
>
>
> Jon,
>
> The patch did not apply correctly as the dmesg should list an extra
> entry in card list (number 12), and it should have autodetected.
>
> Attached is the newest copy of the patch (save this in the same
> directory that you use the following commands from), just to avoid
> confusion.
> Following the following:
> wget http://linuxtv.org/hg/~stoth/v4l-dvb/archive/2bade2ed7ac8.tar.gz
> tar -xf 2bade2ed7ac8.tar.gz
> cd v4l-dvb-2bade2ed7ac8
> patch -p1 <../Leadtek_Winfast_PxDVR3200_H.diff
> make
> sudo make install
> sudo make unload
> sudo modprobe cx23885
>
> Now the card should have been detected and you should
> have /dev/adapterN/ (where N is a number). If it hasn't been detected
> properly you should see a list of cards in dmesg with the card as
> number 12. Unload the module (sudo rmmod cx23885) and then load it
> with the option card=12 (sudo modprobe cx23885 card=12)
>
> For further instructions on how to watch digital tv look at the wiki
> page (you need to create a channels.conf).
>
> Regards,
> Stephen
>
> P.S.
> Please make sure you cc the linux dvb mailing list, so if anyone else
> has the same issue we can work together to solve it.
> Also the convention is to post your message at the bottom (I got
> caught by this one until recently).
>
>
> --
> Be Yourself @ mail.com!
> Choose From 200+ Email Addresses
> Get a Free Account at www.mail.com!
Hi Stevhen, Mark,
So you write your post at the bottom of the email?! well that does
explain a lot, and does kinda make sense if your intending someone to
pick it up halfway through. I just normaly read backwards when that
happens to me.
As for the patch. I realised that it is patch -p1 (as in one) not -pl
(as in bLoody &*^^* i can't believe i was using the wrong character)
which explains why my patches never worked.
So the patch applied all fine and that, and dmesg looks great, but I
can't find anything by scanning. On my other card, the DTV2000H (rev J)
it can scan in MythTV to find channels, and with me-TV, I think it just
has a list which it picks from or something, tunes to that frequency to
see if there is anything there. Can't do that with this card so far.
Attached is the output from scan (or DVB scan) I don't know if it would
be useful, but I don't know what is useful for such a problem.
cheers
Jon
[-- Attachment #2: scan.txt --]
[-- Type: text/plain, Size: 2546 bytes --]
sudo scan au-Sydney_North_Shore
[sudo] password for susan:
scanning au-Sydney_North_Shore
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 226500000 1 3 9 3 1 1 0
initial transponder 177500000 1 2 9 3 1 1 0
initial transponder 191625000 1 3 9 3 1 1 0
initial transponder 219500000 1 3 9 3 1 1 0
initial transponder 571500000 1 2 9 3 1 2 0
initial transponder 578500000 1 2 9 3 1 0 0
>>> tune to: 226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 177500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 177500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 191625000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 191625000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 219500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 219500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 571500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 571500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 578500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 578500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
ERROR: initial tuning failed
dumping lists (0 services)
Done.
[-- 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] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
@ 2008-08-11 23:59 stev391
2008-08-13 12:46 ` Jonathan Hummel
0 siblings, 1 reply; 35+ messages in thread
From: stev391 @ 2008-08-11 23:59 UTC (permalink / raw)
To: Jonathan Hummel; +Cc: linux dvb
> ----- Original Message -----
> From: "Jonathan Hummel" <jhhummel@bigpond.com>
> To: stev391@email.com
> Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
> Date: Mon, 11 Aug 2008 23:36:25 +1000
>
>
> On Sun, 2008-08-10 at 11:42 +1000, stev391@email.com wrote:
> >
> >
> > ----- Original Message -----
> > From: "Jonathan Hummel" To: stev391@email.com
> > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> > 3200 H - DVB Only support
> > Date: Sat, 09 Aug 2008 21:48:21 +1000
> >
> >
> > Hi All,
> >
> > Finnaly got some time to give the patch a go. I used the
> > pacakges
> > Stephen, sent the link to, not Mark's. I cant't get past the
> > attached
> > problem. The dmesg output is attached. I tried setting the
> > card like
> > this:
> > /etc/modprobe.d/options file and add the line: options cx88xx
> > card=11
> > I also tried the following two varients:
> > cx23885 card=11
> > cx23885 card=12
> >
> > I also got what looked like an error message when applying the
> > first
> > patch, something like "strip count 1 is not a
> > number" (although 1 not
> > being a number would explain my difficulties with maths!)
> >
> > Cheers
> >
> > Jon
> >
> > On Wed, 2008-08-06 at 07:33 +1000, stev391@email.com wrote:
> > > Mark, Jon,
> > >
> > > The patches I made were not against the v4l-dvb tip that is
> > referenced
> > > in Mark's email below. I did this on purpose because there
> > is a small
> > > amount of refactoring (recoding to make it better) being
> > performed by
> > > Steven Toth and others.
> > >
> > > To get the version I used for the patch download (This is
> > for the
> > > first initial patch [you can tell it is this one as the
> > patch file
> > > mentions cx23885-sram in the path]):
> > > http://linuxtv.org/hg/~stoth/cx23885-sram/archive/tip.tar.gz
> > >
> > > For the second patch that emailed less then 12 hours ago
> > download this
> > > version of drivers:
> > > http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.gz
> > > and then apply my patch (this patch mentions v4l-dvb). This
> > version is
> > > a cleanup of the previous and uses the generic callback
> > function.
> > >
> > > Other then that you are heading in the correct direction...
> > >
> > > Do either of you have the same issue I have that when the
> > computer is
> > > first turned on the autodetect card feature doesn't work due
> > to
> > > subvendor sub product ids of 0000? Or is just a faulty card
> > that I
> > > have?
> > >
> > > Regards,
> > >
> > > Stephen.
> > > ----- Original Message -----
> > > From: "Mark Carbonaro" To: "Jonathan Hummel" > Subject: Re:
> > [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> > > 3200 H - DVB Only support
> > > Date: Tue, 5 Aug 2008 23:47:46 +1000 (EST)
> > >
> > >
> > > Hi Mark,
> > >
> > > Forgive my ignorance/ newbie-ness, but what do I do with
> > that
> > > patch code
> > > below? is there a tutorial or howto or something somewhere
> > > that will
> > > introduce me to this. I have done some programming, but
> > > nothing of this
> > > level.
> > >
> > > cheers
> > >
> > > Jon
> > >
> > > ----- Original Message -----
> > > From: "Jonathan Hummel" To: "Mark Carbonaro" > Cc: stev391@email.com,
> > linux-dvb@linuxtv.org
> > > Sent: Tuesday, 5 August, 2008 10:21:11 PM (GMT+1000)
> > > Auto-Detected
> > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> > > 3200 H - DVB Only support
> > >
> > > Hi Jon,
> > >
> > > Not a problem at all, I'm new to this myself, below is what
> > > went through and I may not be doing it the right > way either. So if anyone
> > would like to point out what I > am doing wrong I would
> > > really appreciate it.
> > >
> > > The file that I downloaded was called
> > > v4l-dvb-2bade2ed7ac8.tar.bz2 which I downloaded > from >
> > http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.bz2, I
> > > also saved the patch to the same location as the download.
> > >
> > > The patch didn't apply for me, so I manually patched applied
> > > the patches and created a new diff that should > hopefully work for
> > > you also (attached and inline below). From what I > could see the offsets in
> > Stephens patch were a little off > for this code
> > > snapshot but otherwise it is all good.
> > >
> > > I ran the following using the attached diff...
> > >
> > > tar -xjf v4l-dvb-2bade2ed7ac8.tar.bz2
> > > cd v4l-dvb-2bade2ed7ac8
> > > patch -p1 < ../Leadtek.Winfast.PxDVR.3200.H.2.diff
> > >
> > > Once the patch was applied I was then able to build and
> > > install the modules as per the instructions in > the INSTALL file. I ran
> > > the following...
> > >
> > > make all
> > > sudo make install
> > >
> > > From there I could load the modules and start testing.
> > >
> > > I hope this helps you get started.
> > >
> > > Regards,
> > > Mark
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> > Jon,
> >
> > The patch did not apply correctly as the dmesg should list an extra
> > entry in card list (number 12), and it should have autodetected.
> >
> > Attached is the newest copy of the patch (save this in the same
> > directory that you use the following commands from), just to avoid
> > confusion. Following the following:
> > wget http://linuxtv.org/hg/~stoth/v4l-dvb/archive/2bade2ed7ac8.tar.gz
> > tar -xf 2bade2ed7ac8.tar.gz
> > cd v4l-dvb-2bade2ed7ac8
> > patch -p1 <../Leadtek_Winfast_PxDVR3200_H.diff
> > make
> > sudo make install
> > sudo make unload
> > sudo modprobe cx23885
> >
> > Now the card should have been detected and you should
> > have /dev/adapterN/ (where N is a number). If it hasn't been detected
> > properly you should see a list of cards in dmesg with the card as
> > number 12. Unload the module (sudo rmmod cx23885) and then load it
> > with the option card=12 (sudo modprobe cx23885 card=12)
> >
> > For further instructions on how to watch digital tv look at the wiki
> > page (you need to create a channels.conf).
> >
> > Regards,
> > Stephen
> >
> > P.S.
> > Please make sure you cc the linux dvb mailing list, so if anyone else
> > has the same issue we can work together to solve it.
> > Also the convention is to post your message at the bottom (I got
> > caught by this one until recently).
> >
> >
> > -- Be Yourself @ mail.com!
> > Choose From 200+ Email Addresses
> > Get a Free Account at www.mail.com!
>
> Hi Stevhen, Mark,
>
>
> So you write your post at the bottom of the email?! well that does
> explain a lot, and does kinda make sense if your intending someone to
> pick it up halfway through. I just normaly read backwards when that
> happens to me.
>
> As for the patch. I realised that it is patch -p1 (as in one) not -pl
> (as in bLoody &*^^* i can't believe i was using the wrong character)
> which explains why my patches never worked.
> So the patch applied all fine and that, and dmesg looks great, but I
> can't find anything by scanning. On my other card, the DTV2000H (rev J)
> it can scan in MythTV to find channels, and with me-TV, I think it just
> has a list which it picks from or something, tunes to that frequency to
> see if there is anything there. Can't do that with this card so far.
> Attached is the output from scan (or DVB scan) I don't know if it would
> be useful, but I don't know what is useful for such a problem.
>
> cheers
>
> Jon
Jon,
I'm sorry that I'm going to have to ask some silly questions:
* Does this card tune in windows to these frequencies?
* If so what signal level does it report?
* If you cannot do the above, can you double check that the aerial cable is connected correctly to your Antenna.
Can you load the following modules with debug=1:
tuner_xc2028
zl10353
cx23885
and attach the dmesg sections for registering the card, and any output while scanning.
I will try this afternoon with MythTV, but my card was able to scan with the DVB scan.
I had not heard of Me TV prior to your email, I might install that as well and see how it works.
I have a DTV1000T in the same system, from past experience this card requires a strong DVB signal while my PxDVR3200H gets drowned out with the same signal. So I have to install a 6dB or more attenuator before the card (This is due to a powered splitter installed in the roof providing too much signal, which if I remove my DTV1000T gets patchy reception). I wonder if this is the same in your case with the DTV2000H? (But if it works in windows reliably it should work in Linux).
Regards,
Stephen.
--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
@ 2008-08-12 4:22 stev391
2008-08-12 16:33 ` Steven Toth
0 siblings, 1 reply; 35+ messages in thread
From: stev391 @ 2008-08-12 4:22 UTC (permalink / raw)
To: Steven Toth; +Cc: linux-dvb
> ----- Original Message -----
> From: "Steven Toth" <stoth@linuxtv.org>
> To: stev391@email.com
> Subject: Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
> Date: Sun, 10 Aug 2008 09:26:15 -0400
>
>
> stev391@email.com wrote:
> >> ----- Original Message -----
> >> From: "Steven Toth" <stoth@linuxtv.org>
> >> To: stev391@email.com
> >> Subject: Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only
> >> support
> >> Date: Tue, 05 Aug 2008 10:30:57 -0400
> >>
> >>
> >> stev391@email.com wrote:
> >>> Steve,
> >>>
> >>> I have reworked the tuner callback now against your branch at:
> >>> http://linuxtv.org/hg/~stoth/v4l-dvb
> >>>
> >>> The new Patch (to add support for this card) is attached inline below for testing (this is a
> >>> hint Mark & Jon), I have not provided a signed-off note on purpose as I want to solve the
> >>> issue mentioned in the next paragraph first.
> >>>
> >>> Regarding the cx25840 module; the card doesn't seem to initialise properly (no DVB output
> >>> and DMA errors in log) unless I have this requested. Once the card is up and running I can
> >>> unload all drivers, recompile without the cx25840 and load and it will work again until I
> >>> power off the computer and back on again (This has been tedious trying to work out which
> >>> setting I had missed). Is there some initialisation work being performed in the cx25840
> >>> module that I can incorporate into my patch to remove this dependency? Or should I leave it
> >>> as is?
> >>>
> >>> Anyway nearly bedtime here.
> >> The patch looks good, with the exception of requesting the cx25840.
> >>
> >> I've always been able to run DVB without that driver being present, so something is odd with
> >> the Leadtek card. I'm not aware of any relationship between the cx25840 driver and the DVB
> >> core.
> >>
> >> You're going to need to find the magic register write that the cx25840 is performing so we
> >> can discuss here. I'd rather we figured that out cleanly, than just merged the patch and have
> >> the problem linger on.
> >>
> >> Other than that, good patch.
> >>
> >> - Steve
> >
> > Steve,
> >
> > I have found the lines (starting at line 1441) within cx25840-core.c that effects the DVB
> > working or not working. These lines are:
> > if (state->is_cx23885) {
> > /* Drive GPIO2 direction and values */
> > cx25840_write(client, 0x160, 0x1d);
> > cx25840_write(client, 0x164, 0x00);
> > }
> >
> > If I comment these lines out in the code, the DVB side doesn't work. I have tried
> > incorporating these register writes into various places in the cx23885 code
> > (cx23885_gpio_setup(), cx23885_card_setup() and dvb_register()) as the following lines:
> > cx_write(0x160, 0x1d);
> > cx_write(0x164, 0x00);
> >
> > But this does not allow the card to work.
> >
> > I have also commented out/ removed all of the code in cx25840-core.c except for the read,
> > write, probe(now only contains the above cx25840_writes) and remove functions and the various
> > struct configs, to ensure that it is not something else contributing to the dependency.
> >
> > Have a used cx_write correctly?
> >
> > I have also noticed that the following card also uses the cx25840 without any analog support
> > in the driver:
> > CX23885_BOARD_HAUPPAUGE_HVR1700
> >
> > Perhaps the person who included support for this card has already gone down this track...
> >
> > There are two possible directions that I would like to take from here:
> > 1) Submit the patch as is with the cx25840 dependency
> > 2) Work on why the registers writes aren't working. (However this is out of my depth of
> > knowledge and will need some guidance or pass it onto someone else).
>
> OK, so they tied the demod reset to the GPIO on the avcore, rather than a regular GPIO on the
> pcie bridge itself. I've only ever seen one other card do that (which you found - the HVR1700)
> because Hauppauge ran out of GPIO's on the bridge itself.
>
> In this new case, for the Leadtek, I accept that we'll have to request_module for the card.
>
> You should also add a comment to the _gpio_setup() code (where generally I try to ensure all
> card GPIO's are document), to say that the GPIO is on the AVCore (like the HVR1700). See the
> HVR1700 example comments.
>
> One comment the bitmask in the tuner reset looks unusually long for resetting the xc3028. 70404,
> and it dosn't match the value used in your _gpio_setup() implementation (0x04).
>
> So three very minor things to get this patch accepted:
> 1. Change 70404 to 4, this is clean.
> 2. Add the cx25840 request_module() code back.
> 3. Update the comments in _gpio_setup() to indicate the GPIO for the zilink part os on the
> AVcore.
>
> Good work Steve, thanks for helping. Please publish the patch to this mailing list (with your
> sign-off) and I'll put up an official tree for retest and final merge.
>
> - Steve
Steve,
Attached is my patch and another small additional one.
In the callback function we check the command several times:
1. To check if it is the CLK RESET command
2. If it is not the tuner reset command
3. If it is the tuner reset command
The third one is within the case statement and appears redundant as the first 2 cover all other possibilities.
Attached below after my patch is a second patch (to be applied after the patch to add support for the Leadtek) that will clean this up and remove the third command test.
Regards,
Stephen
---------Leadtek_Winfast_PxDVR3200_H_Signed_Off.diff---------
cx23885: Add DVB support for Leadtek Winfast PxDVR3200 H
From: Stephen Backway <stev391@email.com>
Add DVB support for the Leadtek Winfast PxDVR3200 H.
Signed-off-by: Stephen Backway <stev391@email.com>
diff -Naur v4l-dvb/linux/Documentation/video4linux/CARDLIST.cx23885 v4l-dvb3/linux/Documentation/video4linux/CARDLIST.cx23885
--- v4l-dvb/linux/Documentation/video4linux/CARDLIST.cx23885 2008-08-05 16:48:13.000000000 +1000
+++ v4l-dvb3/linux/Documentation/video4linux/CARDLIST.cx23885 2008-08-12 13:32:57.000000000 +1000
@@ -10,3 +10,4 @@
9 -> Hauppauge WinTV-HVR1400 [0070:8010]
10 -> DViCO FusionHDTV7 Dual Express [18ac:d618]
11 -> DViCO FusionHDTV DVB-T Dual Express [18ac:db78]
+ 12 -> Leadtek Winfast PxDVR3200 H [107d:6681]
diff -Naur v4l-dvb/linux/drivers/media/video/cx23885/cx23885-cards.c v4l-dvb3/linux/drivers/media/video/cx23885/cx23885-cards.c
--- v4l-dvb/linux/drivers/media/video/cx23885/cx23885-cards.c 2008-08-05 16:48:14.000000000 +1000
+++ v4l-dvb3/linux/drivers/media/video/cx23885/cx23885-cards.c 2008-08-12 13:43:06.000000000 +1000
@@ -155,6 +155,10 @@
.portb = CX23885_MPEG_DVB,
.portc = CX23885_MPEG_DVB,
},
+ [CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H] = {
+ .name = "Leadtek Winfast PxDVR3200 H",
+ .portc = CX23885_MPEG_DVB,
+ },
};
const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards);
@@ -230,7 +234,11 @@
.subvendor = 0x18ac,
.subdevice = 0xdb78,
.card = CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP,
- },
+ }, {
+ .subvendor = 0x107d,
+ .subdevice = 0x6681,
+ .card = CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H,
+ },
};
const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids);
@@ -349,6 +357,7 @@
case CX23885_BOARD_HAUPPAUGE_HVR1400:
case CX23885_BOARD_HAUPPAUGE_HVR1500:
case CX23885_BOARD_HAUPPAUGE_HVR1500Q:
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
/* Tuner Reset Command */
if (command == 0)
bitmask = 0x04;
@@ -492,6 +501,19 @@
mdelay(20);
cx_set(GP0_IO, 0x000f000f);
break;
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ /* GPIO-2 xc3028 tuner reset */
+
+ /* The following GPIO's are on the internal AVCore (cx25840) */
+ /* GPIO-? zl10353 demod reset */
+
+ /* Put the parts into reset and back */
+ cx_set(GP0_IO, 0x00040000);
+ mdelay(20);
+ cx_clear(GP0_IO, 0x00000004);
+ mdelay(20);
+ cx_set(GP0_IO, 0x00040004);
+ break;
}
}
@@ -579,6 +601,7 @@
case CX23885_BOARD_HAUPPAUGE_HVR1200:
case CX23885_BOARD_HAUPPAUGE_HVR1700:
case CX23885_BOARD_HAUPPAUGE_HVR1400:
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
default:
ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */
ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */
@@ -592,6 +615,7 @@
case CX23885_BOARD_HAUPPAUGE_HVR1800:
case CX23885_BOARD_HAUPPAUGE_HVR1800lp:
case CX23885_BOARD_HAUPPAUGE_HVR1700:
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
request_module("cx25840");
break;
}
diff -Naur v4l-dvb/linux/drivers/media/video/cx23885/cx23885-dvb.c v4l-dvb3/linux/drivers/media/video/cx23885/cx23885-dvb.c
--- v4l-dvb/linux/drivers/media/video/cx23885/cx23885-dvb.c 2008-08-05 16:48:14.000000000 +1000
+++ v4l-dvb3/linux/drivers/media/video/cx23885/cx23885-dvb.c 2008-08-12 13:54:39.000000000 +1000
@@ -502,6 +502,32 @@
}
break;
}
+ case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+ i2c_bus = &dev->i2c_bus[0];
+
+ port->dvb.frontend = dvb_attach(zl10353_attach,
+ &dvico_fusionhdtv_xc3028,
+ &i2c_bus->i2c_adap);
+ if (port->dvb.frontend != NULL) {
+ struct dvb_frontend *fe;
+ struct xc2028_config cfg = {
+ .i2c_adap = &dev->i2c_bus[1].i2c_adap,
+ .i2c_addr = 0x61,
+ .video_dev = port,
+ .callback = cx23885_tuner_callback,
+ };
+ static struct xc2028_ctrl ctl = {
+ .fname = "xc3028-v27.fw",
+ .max_len = 64,
+ .demod = XC3028_FE_ZARLINK456,
+ };
+
+ fe = dvb_attach(xc2028_attach, port->dvb.frontend,
+ &cfg);
+ if (fe != NULL && fe->ops.tuner_ops.set_config != NULL)
+ fe->ops.tuner_ops.set_config(fe, &ctl);
+ }
+ break;
default:
printk("%s: The frontend of your DVB/ATSC card isn't supported yet\n",
dev->name);
diff -Naur v4l-dvb/linux/drivers/media/video/cx23885/cx23885.h v4l-dvb3/linux/drivers/media/video/cx23885/cx23885.h
--- v4l-dvb/linux/drivers/media/video/cx23885/cx23885.h 2008-08-05 16:48:14.000000000 +1000
+++ v4l-dvb3/linux/drivers/media/video/cx23885/cx23885.h 2008-08-12 13:32:57.000000000 +1000
@@ -66,6 +66,7 @@
#define CX23885_BOARD_HAUPPAUGE_HVR1400 9
#define CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP 10
#define CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP 11
+#define CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H 12
/* Currently unsupported by the driver: PAL/H, NTSC/Kr, SECAM B/G/H/LC */
#define CX23885_NORMS (\
diff -Naur v4l-dvb/linux/drivers/media/video/cx23885/Kconfig v4l-dvb3/linux/drivers/media/video/cx23885/Kconfig
--- v4l-dvb/linux/drivers/media/video/cx23885/Kconfig 2008-08-05 16:48:14.000000000 +1000
+++ v4l-dvb3/linux/drivers/media/video/cx23885/Kconfig 2008-08-12 13:32:57.000000000 +1000
@@ -15,6 +15,7 @@
select DVB_S5H1409 if !DVB_FE_CUSTOMISE
select DVB_S5H1411 if !DVB_FE_CUSTOMISE
select DVB_LGDT330X if !DVB_FE_CUSTOMISE
+ select DVB_ZL10353 if !DVB_FE_CUSTOMISE
select MEDIA_TUNER_XC2028 if !DVB_FE_CUSTOMIZE
select MEDIA_TUNER_TDA8290 if !DVB_FE_CUSTOMIZE
select MEDIA_TUNER_TDA18271 if !DVB_FE_CUSTOMIZE
---------cx23885_callback_tidyup.diff---------
cx23885: Remove Redundant if statements in tuner callback
From: Stephen Backway <stev391@email.com>
The tuner callback previously checked the command 3 times:
1) To see if it was the XC2028_RESET_CLK
2) To see if it was not the XC2028_RESET_TUNER
3) To see if it was the XC2028_RESET_TUNER
This patch removes the third check.
Signed-off-by: Stephen Backway <stev391@email.com>
diff -Naur v4l-dvb3/linux/drivers/media/video/cx23885/cx23885-cards.c v4l-dvb4/linux/drivers/media/video/cx23885/cx23885-cards.c
--- v4l-dvb3/linux/drivers/media/video/cx23885/cx23885-cards.c 2008-08-12 13:43:06.000000000 +1000
+++ v4l-dvb4/linux/drivers/media/video/cx23885/cx23885-cards.c 2008-08-12 14:17:13.000000000 +1000
@@ -359,20 +359,16 @@
case CX23885_BOARD_HAUPPAUGE_HVR1500Q:
case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
/* Tuner Reset Command */
- if (command == 0)
- bitmask = 0x04;
+ bitmask = 0x04;
break;
case CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP:
case CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP:
- if (command == 0) {
-
- /* Two identical tuners on two different i2c buses,
- * we need to reset the correct gpio. */
- if (port->nr == 0)
- bitmask = 0x01;
- else if (port->nr == 1)
- bitmask = 0x04;
- }
+ /* Two identical tuners on two different i2c buses,
+ * we need to reset the correct gpio. */
+ if (port->nr == 0)
+ bitmask = 0x01;
+ else if (port->nr == 1)
+ bitmask = 0x04;
break;
}
--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
2008-08-12 4:22 stev391
@ 2008-08-12 16:33 ` Steven Toth
0 siblings, 0 replies; 35+ messages in thread
From: Steven Toth @ 2008-08-12 16:33 UTC (permalink / raw)
To: stev391; +Cc: linux-dvb
> ---------Leadtek_Winfast_PxDVR3200_H_Signed_Off.diff---------
> cx23885: Add DVB support for Leadtek Winfast PxDVR3200 H
>
> ---------cx23885_callback_tidyup.diff---------
> cx23885: Remove Redundant if statements in tuner callback
Thanks.
Pull this tree and run a quick test again (I had an odd whitespace merge
issue - likely thunderbirds fault - that I have to cleanup):
http://linuxtv.org/hg/~stoth/v4l-dvb/
If everything is working then I'll issue the pull request for final merge.
- Steve
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
@ 2008-08-13 8:02 stev391
0 siblings, 0 replies; 35+ messages in thread
From: stev391 @ 2008-08-13 8:02 UTC (permalink / raw)
To: Steven Toth; +Cc: linux-dvb
> ----- Original Message -----
> From: "Steven Toth" <stoth@linuxtv.org>
> To: stev391@email.com
> Subject: Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
> Date: Tue, 12 Aug 2008 12:33:53 -0400
>
>
>
> > ---------Leadtek_Winfast_PxDVR3200_H_Signed_Off.diff---------
> > cx23885: Add DVB support for Leadtek Winfast PxDVR3200 H
> >
> > ---------cx23885_callback_tidyup.diff---------
> > cx23885: Remove Redundant if statements in tuner callback
>
> Thanks.
>
> Pull this tree and run a quick test again (I had an odd whitespace merge issue - likely
> thunderbirds fault - that I have to cleanup):
>
> http://linuxtv.org/hg/~stoth/v4l-dvb/
>
> If everything is working then I'll issue the pull request for final merge.
>
> - Steve
Steve,
I have tested this tree and all (DVB related items) are working with the Leadtek card.
Thanks for your assistance and time in including this driver into your tree.
Now I have to read up on analog support and see if I can get the mpeg encoder going...
Regards,
Stephen
--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
2008-08-11 23:59 stev391
@ 2008-08-13 12:46 ` Jonathan Hummel
0 siblings, 0 replies; 35+ messages in thread
From: Jonathan Hummel @ 2008-08-13 12:46 UTC (permalink / raw)
To: stev391; +Cc: linux dvb
[-- Attachment #1: Type: text/plain, Size: 10691 bytes --]
On Tue, 2008-08-12 at 09:59 +1000, stev391@email.com wrote:
> > ----- Original Message -----
> > From: "Jonathan Hummel" <jhhummel@bigpond.com>
> > To: stev391@email.com
> > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
> > Date: Mon, 11 Aug 2008 23:36:25 +1000
> >
> >
> > On Sun, 2008-08-10 at 11:42 +1000, stev391@email.com wrote:
> > >
> > >
> > > ----- Original Message -----
> > > From: "Jonathan Hummel" To: stev391@email.com
> > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> > > 3200 H - DVB Only support
> > > Date: Sat, 09 Aug 2008 21:48:21 +1000
> > >
> > >
> > > Hi All,
> > >
> > > Finnaly got some time to give the patch a go. I used the
> > > pacakges
> > > Stephen, sent the link to, not Mark's. I cant't get past the
> > > attached
> > > problem. The dmesg output is attached. I tried setting the
> > > card like
> > > this:
> > > /etc/modprobe.d/options file and add the line: options cx88xx
> > > card=11
> > > I also tried the following two varients:
> > > cx23885 card=11
> > > cx23885 card=12
> > >
> > > I also got what looked like an error message when applying the
> > > first
> > > patch, something like "strip count 1 is not a
> > > number" (although 1 not
> > > being a number would explain my difficulties with maths!)
> > >
> > > Cheers
> > >
> > > Jon
> > >
> > > On Wed, 2008-08-06 at 07:33 +1000, stev391@email.com wrote:
> > > > Mark, Jon,
> > > >
> > > > The patches I made were not against the v4l-dvb tip that is
> > > referenced
> > > > in Mark's email below. I did this on purpose because there
> > > is a small
> > > > amount of refactoring (recoding to make it better) being
> > > performed by
> > > > Steven Toth and others.
> > > >
> > > > To get the version I used for the patch download (This is
> > > for the
> > > > first initial patch [you can tell it is this one as the
> > > patch file
> > > > mentions cx23885-sram in the path]):
> > > > http://linuxtv.org/hg/~stoth/cx23885-sram/archive/tip.tar.gz
> > > >
> > > > For the second patch that emailed less then 12 hours ago
> > > download this
> > > > version of drivers:
> > > > http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.gz
> > > > and then apply my patch (this patch mentions v4l-dvb). This
> > > version is
> > > > a cleanup of the previous and uses the generic callback
> > > function.
> > > >
> > > > Other then that you are heading in the correct direction...
> > > >
> > > > Do either of you have the same issue I have that when the
> > > computer is
> > > > first turned on the autodetect card feature doesn't work due
> > > to
> > > > subvendor sub product ids of 0000? Or is just a faulty card
> > > that I
> > > > have?
> > > >
> > > > Regards,
> > > >
> > > > Stephen.
> > > > ----- Original Message -----
> > > > From: "Mark Carbonaro" To: "Jonathan Hummel" > Subject: Re:
> > > [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> > > > 3200 H - DVB Only support
> > > > Date: Tue, 5 Aug 2008 23:47:46 +1000 (EST)
> > > >
> > > >
> > > > Hi Mark,
> > > >
> > > > Forgive my ignorance/ newbie-ness, but what do I do with
> > > that
> > > > patch code
> > > > below? is there a tutorial or howto or something somewhere
> > > > that will
> > > > introduce me to this. I have done some programming, but
> > > > nothing of this
> > > > level.
> > > >
> > > > cheers
> > > >
> > > > Jon
> > > >
> > > > ----- Original Message -----
> > > > From: "Jonathan Hummel" To: "Mark Carbonaro" > Cc: stev391@email.com,
> > > linux-dvb@linuxtv.org
> > > > Sent: Tuesday, 5 August, 2008 10:21:11 PM (GMT+1000)
> > > > Auto-Detected
> > > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> > > > 3200 H - DVB Only support
> > > >
> > > > Hi Jon,
> > > >
> > > > Not a problem at all, I'm new to this myself, below is what
> > > > went through and I may not be doing it the right > way either. So if anyone
> > > would like to point out what I > am doing wrong I would
> > > > really appreciate it.
> > > >
> > > > The file that I downloaded was called
> > > > v4l-dvb-2bade2ed7ac8.tar.bz2 which I downloaded > from >
> > > http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.bz2, I
> > > > also saved the patch to the same location as the download.
> > > >
> > > > The patch didn't apply for me, so I manually patched applied
> > > > the patches and created a new diff that should > hopefully work for
> > > > you also (attached and inline below). From what I > could see the offsets in
> > > Stephens patch were a little off > for this code
> > > > snapshot but otherwise it is all good.
> > > >
> > > > I ran the following using the attached diff...
> > > >
> > > > tar -xjf v4l-dvb-2bade2ed7ac8.tar.bz2
> > > > cd v4l-dvb-2bade2ed7ac8
> > > > patch -p1 < ../Leadtek.Winfast.PxDVR.3200.H.2.diff
> > > >
> > > > Once the patch was applied I was then able to build and
> > > > install the modules as per the instructions in > the INSTALL file. I ran
> > > > the following...
> > > >
> > > > make all
> > > > sudo make install
> > > >
> > > > From there I could load the modules and start testing.
> > > >
> > > > I hope this helps you get started.
> > > >
> > > > Regards,
> > > > Mark
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > Jon,
> > >
> > > The patch did not apply correctly as the dmesg should list an extra
> > > entry in card list (number 12), and it should have autodetected.
> > >
> > > Attached is the newest copy of the patch (save this in the same
> > > directory that you use the following commands from), just to avoid
> > > confusion. Following the following:
> > > wget http://linuxtv.org/hg/~stoth/v4l-dvb/archive/2bade2ed7ac8.tar.gz
> > > tar -xf 2bade2ed7ac8.tar.gz
> > > cd v4l-dvb-2bade2ed7ac8
> > > patch -p1 <../Leadtek_Winfast_PxDVR3200_H.diff
> > > make
> > > sudo make install
> > > sudo make unload
> > > sudo modprobe cx23885
> > >
> > > Now the card should have been detected and you should
> > > have /dev/adapterN/ (where N is a number). If it hasn't been detected
> > > properly you should see a list of cards in dmesg with the card as
> > > number 12. Unload the module (sudo rmmod cx23885) and then load it
> > > with the option card=12 (sudo modprobe cx23885 card=12)
> > >
> > > For further instructions on how to watch digital tv look at the wiki
> > > page (you need to create a channels.conf).
> > >
> > > Regards,
> > > Stephen
> > >
> > > P.S.
> > > Please make sure you cc the linux dvb mailing list, so if anyone else
> > > has the same issue we can work together to solve it.
> > > Also the convention is to post your message at the bottom (I got
> > > caught by this one until recently).
> > >
> > >
> > > -- Be Yourself @ mail.com!
> > > Choose From 200+ Email Addresses
> > > Get a Free Account at www.mail.com!
> >
> > Hi Stevhen, Mark,
> >
> >
> > So you write your post at the bottom of the email?! well that does
> > explain a lot, and does kinda make sense if your intending someone to
> > pick it up halfway through. I just normaly read backwards when that
> > happens to me.
> >
> > As for the patch. I realised that it is patch -p1 (as in one) not -pl
> > (as in bLoody &*^^* i can't believe i was using the wrong character)
> > which explains why my patches never worked.
> > So the patch applied all fine and that, and dmesg looks great, but I
> > can't find anything by scanning. On my other card, the DTV2000H (rev J)
> > it can scan in MythTV to find channels, and with me-TV, I think it just
> > has a list which it picks from or something, tunes to that frequency to
> > see if there is anything there. Can't do that with this card so far.
> > Attached is the output from scan (or DVB scan) I don't know if it would
> > be useful, but I don't know what is useful for such a problem.
> >
> > cheers
> >
> > Jon
>
> Jon,
>
> I'm sorry that I'm going to have to ask some silly questions:
> * Does this card tune in windows to these frequencies?
> * If so what signal level does it report?
> * If you cannot do the above, can you double check that the aerial cable is connected correctly to your Antenna.
>
> Can you load the following modules with debug=1:
> tuner_xc2028
> zl10353
> cx23885
>
> and attach the dmesg sections for registering the card, and any output while scanning.
>
> I will try this afternoon with MythTV, but my card was able to scan with the DVB scan.
> I had not heard of Me TV prior to your email, I might install that as well and see how it works.
>
> I have a DTV1000T in the same system, from past experience this card requires a strong DVB signal while my PxDVR3200H gets drowned out with the same signal. So I have to install a 6dB or more attenuator before the card (This is due to a powered splitter installed in the roof providing too much signal, which if I remove my DTV1000T gets patchy reception). I wonder if this is the same in your case with the DTV2000H? (But if it works in windows reliably it should work in Linux).
>
> Regards,
> Stephen.
>
Hi Stephen,
I tired the above to no avail. The card works fine under windows (well
as fine as anything can work under windows, as in, windows keeps
stealing resources away from it resulting in jerky viewing in HD mode)
and I can scan in windows too. I still cannot scan in Linux. I've
atached the dmesg and scan outputs. (My appologies for no grep on the
dmesg, I wasn't sure what to grep for). Is there a way to grab a
frequency out of windows then dump that frequency into linux and see if
the card recieves? just a thought that it might help to debug things.
Cheers
Jon
[-- Attachment #2: tvdmesg.txt --]
[-- Type: text/plain, Size: 38399 bytes --]
sudo modprobe tuner-xc2028 debug=1
sudo modprobe zl10353 debug=1
sudo modprobe cx23885 debug=1
sudo dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.24-20-generic (buildd@yellow) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Mon Jul 28 13:06:07 UTC 2008 (Ubuntu 2.6.24-20.38-generic)
[ 0.000000] Command line: root=UUID=cbb8e362-3b0d-4a6c-8a6d-8d28288ebdf5 ro quiet splash
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
[ 0.000000] BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 00000000bfde0000 (usable)
[ 0.000000] BIOS-e820: 00000000bfde0000 - 00000000bfde3000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000bfde3000 - 00000000bfdf0000 (ACPI data)
[ 0.000000] BIOS-e820: 00000000bfdf0000 - 00000000bfe00000 (reserved)
[ 0.000000] BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
[ 0.000000] BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
[ 0.000000] BIOS-e820: 0000000100000000 - 0000000130000000 (usable)
[ 0.000000] Entering add_active_range(0, 0, 159) 0 entries of 3200 used
[ 0.000000] Entering add_active_range(0, 256, 785888) 1 entries of 3200 used
[ 0.000000] Entering add_active_range(0, 1048576, 1245184) 2 entries of 3200 used
[ 0.000000] end_pfn_map = 1245184
[ 0.000000] DMI 2.4 present.
[ 0.000000] ACPI: RSDP signature @ 0xFFFF8100000F70C0 checksum 0
[ 0.000000] ACPI: RSDP 000F70C0, 0014 (r0 GBT )
[ 0.000000] ACPI: RSDT BFDE3000, 0038 (r1 GBT GBTUACPI 42302E31 GBTU 1010101)
[ 0.000000] ACPI: FACP BFDE3040, 0074 (r1 GBT GBTUACPI 42302E31 GBTU 1010101)
[ 0.000000] ACPI: DSDT BFDE30C0, 6550 (r1 GBT GBTUACPI 1000 MSFT 3000000)
[ 0.000000] ACPI: FACS BFDE0000, 0040
[ 0.000000] ACPI: SSDT BFDE9700, 030E (r1 PTLTD POWERNOW 1 LTP 1)
[ 0.000000] ACPI: HPET BFDE9A40, 0038 (r1 GBT GBTUACPI 42302E31 GBTU 98)
[ 0.000000] ACPI: MCFG BFDE9A80, 003C (r1 GBT GBTUACPI 42302E31 GBTU 1010101)
[ 0.000000] ACPI: APIC BFDE9640, 0084 (r1 GBT GBTUACPI 42302E31 GBTU 1010101)
[ 0.000000] Scanning NUMA topology in Northbridge 24
[ 0.000000] CPU has 2 num_cores
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at 0000000000000000-0000000130000000
[ 0.000000] Entering add_active_range(0, 0, 159) 0 entries of 3200 used
[ 0.000000] Entering add_active_range(0, 256, 785888) 1 entries of 3200 used
[ 0.000000] Entering add_active_range(0, 1048576, 1245184) 2 entries of 3200 used
[ 0.000000] Bootmem setup node 0 0000000000000000-0000000130000000
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 4096
[ 0.000000] DMA32 4096 -> 1048576
[ 0.000000] Normal 1048576 -> 1245184
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[3] active PFN ranges
[ 0.000000] 0: 0 -> 159
[ 0.000000] 0: 256 -> 785888
[ 0.000000] 0: 1048576 -> 1245184
[ 0.000000] On node 0 totalpages: 982399
[ 0.000000] DMA zone: 56 pages used for memmap
[ 0.000000] DMA zone: 1222 pages reserved
[ 0.000000] DMA zone: 2721 pages, LIFO batch:0
[ 0.000000] DMA32 zone: 14280 pages used for memmap
[ 0.000000] DMA32 zone: 767512 pages, LIFO batch:31
[ 0.000000] Normal zone: 2688 pages used for memmap
[ 0.000000] Normal zone: 193920 pages, LIFO batch:31
[ 0.000000] Movable zone: 0 pages used for memmap
[ 0.000000] ATI board detected. Disabling timer routing over 8254.
[ 0.000000] ACPI: PM-Timer IO Port: 0x4008
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] Processor #0 (Bootup-CPU)
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
[ 0.000000] Processor #1
[ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x02] dfl dfl lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x03] dfl dfl lint[0x1])
[ 0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 2, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ2 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] Setting APIC routing to flat
[ 0.000000] ACPI: HPET id: 0x10b9a201 base: 0xfed00000
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000
[ 0.000000] swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000f0000
[ 0.000000] swsusp: Registered nosave memory region: 00000000000f0000 - 0000000000100000
[ 0.000000] swsusp: Registered nosave memory region: 00000000bfde0000 - 00000000bfde3000
[ 0.000000] swsusp: Registered nosave memory region: 00000000bfde3000 - 00000000bfdf0000
[ 0.000000] swsusp: Registered nosave memory region: 00000000bfdf0000 - 00000000bfe00000
[ 0.000000] swsusp: Registered nosave memory region: 00000000bfe00000 - 00000000e0000000
[ 0.000000] swsusp: Registered nosave memory region: 00000000e0000000 - 00000000f0000000
[ 0.000000] swsusp: Registered nosave memory region: 00000000f0000000 - 00000000fec00000
[ 0.000000] swsusp: Registered nosave memory region: 00000000fec00000 - 0000000100000000
[ 0.000000] Allocating PCI resources starting at c0000000 (gap: bfe00000:20200000)
[ 0.000000] SMP: Allowing 4 CPUs, 2 hotplug CPUs
[ 0.000000] PERCPU: Allocating 34656 bytes of per cpu data
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 964153
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: root=UUID=cbb8e362-3b0d-4a6c-8a6d-8d28288ebdf5 ro quiet splash
[ 0.000000] Initializing CPU#0
[ 0.000000] PID hash table entries: 4096 (order: 12, 32768 bytes)
[ 0.000000] hpet clockevent registered
[ 0.000000] TSC calibrated against HPET
[ 70.044046] Marking TSC unstable due to TSCs unsynchronized
[ 70.044047] time.c: Detected 3006.395 MHz processor.
[ 70.045003] Console: colour VGA+ 80x25
[ 70.045005] console [tty0] enabled
[ 70.045017] Checking aperture...
[ 70.045019] CPU 0: aperture @ f872000000 size 32 MB
[ 70.045020] Aperture too small (32 MB)
[ 70.054201] No AGP bridge found
[ 70.054202] Your BIOS doesn't leave a aperture memory hole
[ 70.054203] Please enable the IOMMU option in the BIOS setup
[ 70.054204] This costs you 64 MB of RAM
[ 70.075019] Mapping aperture over 65536 KB of RAM @ 4000000
[ 70.075023] swsusp: Registered nosave memory region: 0000000004000000 - 0000000008000000
[ 70.099510] Memory: 3782756k/4980736k available (2489k kernel code, 146840k reserved, 1318k data, 320k init)
[ 70.099535] SLUB: Genslabs=12, HWalign=64, Order=0-1, MinObjects=4, CPUs=4, Nodes=1
[ 70.177791] Calibrating delay using timer specific routine.. 6017.24 BogoMIPS (lpj=12034494)
[ 70.177812] Security Framework initialized
[ 70.177816] SELinux: Disabled at boot.
[ 70.177825] AppArmor: AppArmor initialized
[ 70.177828] Failure registering capabilities with primary security module.
[ 70.178033] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[ 70.179750] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 70.180638] Mount-cache hash table entries: 256
[ 70.180729] Initializing cgroup subsys ns
[ 70.180731] Initializing cgroup subsys cpuacct
[ 70.180740] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 70.180741] CPU: L2 Cache: 1024K (64 bytes/line)
[ 70.180743] CPU 0/0 -> Node 0
[ 70.180744] CPU: Physical Processor ID: 0
[ 70.180745] CPU: Processor Core ID: 0
[ 70.180761] SMP alternatives: switching to UP code
[ 70.181170] Early unpacking initramfs... done
[ 70.393954] ACPI: Core revision 20070126
[ 70.393993] ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.
[ 70.444226] Using local APIC timer interrupts.
[ 70.477433] APIC timer calibration result 12526652
[ 70.477435] Detected 12.526 MHz APIC timer.
[ 70.477498] SMP alternatives: switching to SMP code
[ 70.477804] Booting processor 1/2 APIC 0x1
[ 70.487953] Initializing CPU#1
[ 70.565375] Calibrating delay using timer specific routine.. 6012.80 BogoMIPS (lpj=12025613)
[ 70.565379] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 70.565380] CPU: L2 Cache: 1024K (64 bytes/line)
[ 70.565382] CPU 1/1 -> Node 0
[ 70.565383] CPU: Physical Processor ID: 0
[ 70.565384] CPU: Processor Core ID: 1
[ 70.565464] AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ stepping 03
[ 70.565437] Brought up 2 CPUs
[ 70.565549] CPU0 attaching sched-domain:
[ 70.565551] domain 0: span 03
[ 70.565552] groups: 01 02
[ 70.565554] domain 1: span 03
[ 70.565555] groups: 03
[ 70.565556] CPU1 attaching sched-domain:
[ 70.565557] domain 0: span 03
[ 70.565558] groups: 02 01
[ 70.565559] domain 1: span 03
[ 70.565560] groups: 03
[ 70.565702] net_namespace: 120 bytes
[ 70.565969] Time: 12:23:38 Date: 08/13/08
[ 70.565988] NET: Registered protocol family 16
[ 70.566100] ACPI: bus type pci registered
[ 70.566144] PCI: Using configuration type 1
[ 70.567015] ACPI: EC: Look up EC in DSDT
[ 70.570787] ACPI: Interpreter enabled
[ 70.570791] ACPI: (supports S0 S1 S4 S5)
[ 70.570806] ACPI: Using IOAPIC for interrupt routing
[ 70.574162] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 70.575495] PCI: Transparent bridge - 0000:00:14.4
[ 70.575519] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 70.575700] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2P_._PRT]
[ 70.575773] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCE4._PRT]
[ 70.575832] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCEA._PRT]
[ 70.575888] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
[ 70.587702] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 11) *0, disabled.
[ 70.587770] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 11) *0, disabled.
[ 70.587837] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 11) *0, disabled.
[ 70.587904] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 11) *0, disabled.
[ 70.587972] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11) *0, disabled.
[ 70.588039] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11) *0, disabled.
[ 70.588106] ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 5 6 7 10 11) *0, disabled.
[ 70.588174] ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 5 6 7 10 11) *0, disabled.
[ 70.588248] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 70.588264] pnp: PnP ACPI init
[ 70.588269] ACPI: bus type pnp registered
[ 70.590237] pnp: PnP ACPI: found 13 devices
[ 70.590238] ACPI: ACPI bus type pnp unregistered
[ 70.590371] PCI: Using ACPI for IRQ routing
[ 70.590373] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
[ 70.601249] NET: Registered protocol family 8
[ 70.601251] NET: Registered protocol family 20
[ 70.601296] PCI-DMA: Disabling AGP.
[ 70.601584] PCI-DMA: aperture base @ 4000000 size 65536 KB
[ 70.601587] PCI-DMA: using GART IOMMU.
[ 70.601593] PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture
[ 70.601730] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0
[ 70.601733] hpet0: 4 32-bit timers, 14318180 Hz
[ 70.602779] AppArmor: AppArmor Filesystem Enabled
[ 70.605215] Time: hpet clocksource has been installed.
[ 70.605228] Switched to high resolution mode on CPU 0
[ 70.605415] Switched to high resolution mode on CPU 1
[ 70.613241] system 00:01: ioport range 0x4d0-0x4d1 has been reserved
[ 70.613243] system 00:01: ioport range 0x220-0x225 has been reserved
[ 70.613245] system 00:01: ioport range 0x290-0x294 has been reserved
[ 70.613250] system 00:02: ioport range 0x4100-0x411f has been reserved
[ 70.613251] system 00:02: ioport range 0x228-0x22f has been reserved
[ 70.613253] system 00:02: ioport range 0x238-0x23f has been reserved
[ 70.613254] system 00:02: ioport range 0x40b-0x40b has been reserved
[ 70.613256] system 00:02: ioport range 0x4d6-0x4d6 has been reserved
[ 70.613258] system 00:02: ioport range 0xc00-0xc01 has been reserved
[ 70.613259] system 00:02: ioport range 0xc14-0xc14 has been reserved
[ 70.613261] system 00:02: ioport range 0xc50-0xc52 has been reserved
[ 70.613262] system 00:02: ioport range 0xc6c-0xc6d has been reserved
[ 70.613264] system 00:02: ioport range 0xc6f-0xc6f has been reserved
[ 70.613265] system 00:02: ioport range 0xcd0-0xcd1 has been reserved
[ 70.613267] system 00:02: ioport range 0xcd2-0xcd3 has been reserved
[ 70.613269] system 00:02: ioport range 0xcd4-0xcdf has been reserved
[ 70.613270] system 00:02: ioport range 0x4000-0x40fe has been reserved
[ 70.613272] system 00:02: ioport range 0x4210-0x4217 has been reserved
[ 70.613273] system 00:02: ioport range 0xb00-0xb0f has been reserved
[ 70.613275] system 00:02: ioport range 0xb10-0xb1f has been reserved
[ 70.613277] system 00:02: ioport range 0xb20-0xb3f has been reserved
[ 70.613286] system 00:0b: iomem range 0xe0000000-0xefffffff could not be reserved
[ 70.613290] system 00:0c: iomem range 0xd1a00-0xd3fff has been reserved
[ 70.613292] system 00:0c: iomem range 0xf0000-0xf7fff could not be reserved
[ 70.613294] system 00:0c: iomem range 0xf8000-0xfbfff could not be reserved
[ 70.613295] system 00:0c: iomem range 0xfc000-0xfffff could not be reserved
[ 70.613297] system 00:0c: iomem range 0xbfde0000-0xbfdfffff could not be reserved
[ 70.613299] system 00:0c: iomem range 0xffff0000-0xffffffff has been reserved
[ 70.613301] system 00:0c: iomem range 0x0-0x9ffff could not be reserved
[ 70.613303] system 00:0c: iomem range 0x100000-0xbfddffff could not be reserved
[ 70.613304] system 00:0c: iomem range 0xbfef0000-0xcfeeffff has been reserved
[ 70.613306] system 00:0c: iomem range 0xfec00000-0xfec00fff has been reserved
[ 70.613308] system 00:0c: iomem range 0xfee00000-0xfee00fff could not be reserved
[ 70.613309] system 00:0c: iomem range 0xfff80000-0xfffeffff has been reserved
[ 70.613586] PCI: Bridge: 0000:00:01.0
[ 70.613588] IO window: e000-efff
[ 70.613590] MEM window: fd900000-fdafffff
[ 70.613592] PREFETCH window: d0000000-dfffffff
[ 70.613595] PCI: Bridge: 0000:00:04.0
[ 70.613596] IO window: d000-dfff
[ 70.613598] MEM window: fd600000-fd7fffff
[ 70.613600] PREFETCH window: fdf00000-fdffffff
[ 70.613603] PCI: Bridge: 0000:00:0a.0
[ 70.613605] IO window: c000-cfff
[ 70.613607] MEM window: fde00000-fdefffff
[ 70.613608] PREFETCH window: fdd00000-fddfffff
[ 70.613611] PCI: Bridge: 0000:00:14.4
[ 70.613613] IO window: b000-bfff
[ 70.613618] MEM window: fdc00000-fdcfffff
[ 70.613621] PREFETCH window: fdb00000-fdbfffff
[ 70.613646] ACPI: PCI Interrupt 0000:00:04.0[A] -> GSI 16 (level, low) -> IRQ 16
[ 70.613649] PCI: Setting latency timer of device 0000:00:04.0 to 64
[ 70.613659] ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 18
[ 70.613662] PCI: Setting latency timer of device 0000:00:0a.0 to 64
[ 70.613677] NET: Registered protocol family 2
[ 70.649203] IP route cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 70.650060] TCP established hash table entries: 524288 (order: 11, 8388608 bytes)
[ 70.653228] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[ 70.653718] TCP: Hash tables configured (established 524288 bind 65536)
[ 70.653720] TCP reno registered
[ 70.665199] checking if image is initramfs... it is
[ 71.087597] Freeing initrd memory: 7968k freed
[ 71.091666] audit: initializing netlink socket (disabled)
[ 71.091674] audit(1218630219.016:1): initialized
[ 71.093015] VFS: Disk quotas dquot_6.5.1
[ 71.093059] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 71.093143] io scheduler noop registered
[ 71.093144] io scheduler anticipatory registered
[ 71.093146] io scheduler deadline registered
[ 71.093213] io scheduler cfq registered (default)
[ 71.232213] Boot video device is 0000:01:05.0
[ 71.232338] PCI: Setting latency timer of device 0000:00:04.0 to 64
[ 71.232358] assign_interrupt_mode Found MSI capability
[ 71.232380] Allocate Port Service[0000:00:04.0:pcie00]
[ 71.232428] PCI: Setting latency timer of device 0000:00:0a.0 to 64
[ 71.232447] assign_interrupt_mode Found MSI capability
[ 71.232464] Allocate Port Service[0000:00:0a.0:pcie00]
[ 71.249628] Real Time Clock Driver v1.12ac
[ 71.249751] hpet_resources: 0xfed00000 is busy
[ 71.249772] Linux agpgart interface v0.102
[ 71.249773] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[ 71.249898] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 71.250299] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 71.250763] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[ 71.250805] input: Macintosh mouse button emulation as /devices/virtual/input/input0
[ 71.250886] PNP: No PS/2 controller found. Probing ports directly.
[ 71.251338] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 71.251345] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 71.268653] mice: PS/2 mouse device common for all mice
[ 71.268683] cpuidle: using governor ladder
[ 71.268685] cpuidle: using governor menu
[ 71.268780] NET: Registered protocol family 1
[ 71.268851] registered taskstats version 1
[ 71.268937] Magic number: 4:84:380
[ 71.269025] /build/buildd/linux-2.6.24/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 71.269027] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 71.269028] EDD information not available.
[ 71.269036] Freeing unused kernel memory: 320k freed
[ 72.382614] fuse init (API version 7.9)
[ 72.394681] ACPI Exception (processor_core-0822): AE_NOT_FOUND, Processor Device is not present [20070126]
[ 72.394689] ACPI Exception (processor_core-0822): AE_NOT_FOUND, Processor Device is not present [20070126]
[ 72.586902] SCSI subsystem initialized
[ 72.644149] usbcore: registered new interface driver usbfs
[ 72.644164] usbcore: registered new interface driver hub
[ 72.644812] usbcore: registered new device driver usb
[ 72.644868] r8169 Gigabit Ethernet driver 2.2LK loaded
[ 72.644887] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 18 (level, low) -> IRQ 18
[ 72.644903] PCI: Setting latency timer of device 0000:03:00.0 to 64
[ 72.645077] eth0: RTL8168c/8111c at 0xffffc20001032000, 00:1f:d0:59:0e:66, XID 3c4000c0 IRQ 509
[ 72.649330] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[ 72.649334] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[ 72.649759] libata version 3.00 loaded.
[ 72.649801] ATIIXP: IDE controller (0x1002:0x439c rev 0x00) at PCI slot 0000:00:14.1
[ 72.649813] ACPI: PCI Interrupt 0000:00:14.1[A] -> GSI 16 (level, low) -> IRQ 16
[ 72.649821] ATIIXP: not 100% native mode: will probe irqs later
[ 72.649828] ide0: BM-DMA at 0xfa00-0xfa07, BIOS settings: hda:pio, hdb:pio
[ 72.649846] ATIIXP: simplex device: DMA disabled
[ 72.649847] ide1: ATIIXP Bus-Master DMA disabled (BIOS)
[ 72.649850] Probing IDE interface ide0...
[ 72.665729] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
[ 72.681674] Floppy drive(s): fd0 is 1.44M
[ 72.701204] FDC 0 is a post-1991 82077
[ 73.216429] Probing IDE interface ide1...
[ 73.776969] ACPI: PCI Interrupt 0000:00:12.0[A] -> GSI 16 (level, low) -> IRQ 16
[ 73.777197] ohci_hcd 0000:00:12.0: OHCI Host Controller
[ 73.777390] ohci_hcd 0000:00:12.0: new USB bus registered, assigned bus number 1
[ 73.777411] ohci_hcd 0000:00:12.0: irq 16, io mem 0xfe02e000
[ 73.835374] usb usb1: configuration #1 chosen from 1 choice
[ 73.835389] hub 1-0:1.0: USB hub found
[ 73.835397] hub 1-0:1.0: 3 ports detected
[ 73.939150] ACPI: PCI Interrupt 0000:00:12.1[A] -> GSI 16 (level, low) -> IRQ 16
[ 73.939339] ohci_hcd 0000:00:12.1: OHCI Host Controller
[ 73.939389] ohci_hcd 0000:00:12.1: new USB bus registered, assigned bus number 2
[ 73.939404] ohci_hcd 0000:00:12.1: irq 16, io mem 0xfe02d000
[ 73.999064] usb usb2: configuration #1 chosen from 1 choice
[ 73.999078] hub 2-0:1.0: USB hub found
[ 73.999085] hub 2-0:1.0: 3 ports detected
[ 74.102845] ACPI: PCI Interrupt 0000:00:13.0[A] -> GSI 18 (level, low) -> IRQ 18
[ 74.103015] ohci_hcd 0000:00:13.0: OHCI Host Controller
[ 74.103064] ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 3
[ 74.103087] ohci_hcd 0000:00:13.0: irq 18, io mem 0xfe02b000
[ 74.162768] usb usb3: configuration #1 chosen from 1 choice
[ 74.162782] hub 3-0:1.0: USB hub found
[ 74.162789] hub 3-0:1.0: 3 ports detected
[ 74.266534] ACPI: PCI Interrupt 0000:00:13.1[A] -> GSI 18 (level, low) -> IRQ 18
[ 74.266709] ohci_hcd 0000:00:13.1: OHCI Host Controller
[ 74.266761] ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 4
[ 74.266777] ohci_hcd 0000:00:13.1: irq 18, io mem 0xfe02a000
[ 74.326463] usb usb4: configuration #1 chosen from 1 choice
[ 74.326477] hub 4-0:1.0: USB hub found
[ 74.326485] hub 4-0:1.0: 3 ports detected
[ 74.418214] usb 2-1: new low speed USB device using ohci_hcd and address 2
[ 74.430239] ACPI: PCI Interrupt 0000:00:14.5[C] -> GSI 18 (level, low) -> IRQ 18
[ 74.430411] ohci_hcd 0000:00:14.5: OHCI Host Controller
[ 74.430460] ohci_hcd 0000:00:14.5: new USB bus registered, assigned bus number 5
[ 74.430476] ohci_hcd 0000:00:14.5: irq 18, io mem 0xfe028000
[ 74.490164] usb usb5: configuration #1 chosen from 1 choice
[ 74.490179] hub 5-0:1.0: USB hub found
[ 74.490186] hub 5-0:1.0: 2 ports detected
[ 74.594007] ahci 0000:00:11.0: version 3.0
[ 74.594035] ACPI: PCI Interrupt 0000:00:11.0[A] -> GSI 22 (level, low) -> IRQ 22
[ 74.594255] ahci 0000:00:11.0: controller can't do PMP, turning off CAP_PMP
[ 74.639049] usb 2-1: configuration #1 chosen from 1 choice
[ 74.949329] usb 2-2: new full speed USB device using ohci_hcd and address 3
[ 75.170118] usb 2-2: configuration #1 chosen from 1 choice
[ 75.172052] usbcore: registered new interface driver hiddev
[ 75.177168] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:12.1/usb2/2-1/2-1:1.0/input/input1
[ 75.205388] input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:12.1-1
[ 75.211983] Fixing up Logitech keyboard report descriptor
[ 75.212331] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:12.1/usb2/2-1/2-1:1.1/input/input2
[ 75.241318] input,hiddev96,hidraw1: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:12.1-1
[ 75.241333] usbcore: registered new interface driver usbhid
[ 75.241336] /build/buildd/linux-2.6.24/drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
[ 75.241267] usbcore: registered new interface driver libusual
[ 75.244185] Initializing USB Mass Storage driver...
[ 75.244279] scsi0 : SCSI emulation for USB Mass Storage devices
[ 75.244317] usbcore: registered new interface driver usb-storage
[ 75.244319] USB Mass Storage support registered.
[ 75.244388] usb-storage: device found at 3
[ 75.244390] usb-storage: waiting for device to settle before scanning
[ 75.596095] ahci 0000:00:11.0: AHCI 0001.0100 32 slots 6 ports 3 Gbps 0x3f impl SATA mode
[ 75.596099] ahci 0000:00:11.0: flags: 64bit ncq sntf ilck pm led clo pio slum part
[ 75.596404] scsi1 : ahci
[ 75.596452] scsi2 : ahci
[ 75.596476] scsi3 : ahci
[ 75.596499] scsi4 : ahci
[ 75.596522] scsi5 : ahci
[ 75.596545] scsi6 : ahci
[ 75.596604] ata1: SATA max UDMA/133 abar m1024@0xfe02f000 port 0xfe02f100 irq 508
[ 75.596606] ata2: SATA max UDMA/133 abar m1024@0xfe02f000 port 0xfe02f180 irq 508
[ 75.596609] ata3: SATA max UDMA/133 abar m1024@0xfe02f000 port 0xfe02f200 irq 508
[ 75.596612] ata4: SATA max UDMA/133 abar m1024@0xfe02f000 port 0xfe02f280 irq 508
[ 75.596615] ata5: SATA max UDMA/133 abar m1024@0xfe02f000 port 0xfe02f300 irq 508
[ 75.596618] ata6: SATA max UDMA/133 abar m1024@0xfe02f000 port 0xfe02f380 irq 508
[ 76.071180] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 76.083918] ata1.00: HPA unlocked: 1465147055 -> 1465149168, native 1465149168
[ 76.083922] ata1.00: ATA-7: SAMSUNG HD753LJ, 1AA01112, max UDMA7
[ 76.083924] ata1.00: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 76.090297] ata1.00: configured for UDMA/133
[ 76.562278] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 76.568701] ata2.00: ATA-7: SAMSUNG HD753LJ, 1AA01112, max UDMA7
[ 76.568703] ata2.00: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 76.575085] ata2.00: configured for UDMA/133
[ 77.049381] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 77.055800] ata3.00: ATA-7: SAMSUNG HD753LJ, 1AA01112, max UDMA7
[ 77.055802] ata3.00: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 77.062180] ata3.00: configured for UDMA/133
[ 77.372782] ata4: SATA link down (SStatus 0 SControl 300)
[ 77.847911] ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 78.003987] ata5.00: ATAPI: ASUS DRW-2014L1T, 1.00, max UDMA/66, ATAPI AN
[ 78.159716] ata5.00: configured for UDMA/66
[ 78.470762] ata6: SATA link down (SStatus 0 SControl 300)
[ 78.470834] scsi 1:0:0:0: Direct-Access ATA SAMSUNG HD753LJ 1AA0 PQ: 0 ANSI: 5
[ 78.470899] scsi 2:0:0:0: Direct-Access ATA SAMSUNG HD753LJ 1AA0 PQ: 0 ANSI: 5
[ 78.470956] scsi 3:0:0:0: Direct-Access ATA SAMSUNG HD753LJ 1AA0 PQ: 0 ANSI: 5
[ 78.471350] scsi 5:0:0:0: CD-ROM ASUS DRW-2014L1T 1.00 PQ: 0 ANSI: 5
[ 78.471536] ACPI: PCI Interrupt 0000:00:12.2[B] -> GSI 17 (level, low) -> IRQ 17
[ 78.471774] ehci_hcd 0000:00:12.2: EHCI Host Controller
[ 78.471820] ehci_hcd 0000:00:12.2: new USB bus registered, assigned bus number 6
[ 78.471855] ehci_hcd 0000:00:12.2: debug port 1
[ 78.471871] ehci_hcd 0000:00:12.2: irq 17, io mem 0xfe02c000
[ 78.471918] usb 2-1: USB disconnect, address 2
[ 78.477058] Driver 'sd' needs updating - please use bus_type methods
[ 78.483015] Driver 'sr' needs updating - please use bus_type methods
[ 78.483329] ehci_hcd 0000:00:12.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 78.483412] usb usb6: configuration #1 chosen from 1 choice
[ 78.483428] hub 6-0:1.0: USB hub found
[ 78.483434] hub 6-0:1.0: 6 ports detected
[ 78.487275] sd 1:0:0:0: [sda] 1465149168 512-byte hardware sectors (750156 MB)
[ 78.487284] sd 1:0:0:0: [sda] Write Protect is off
[ 78.487286] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 78.487295] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 78.487331] sd 1:0:0:0: [sda] 1465149168 512-byte hardware sectors (750156 MB)
[ 78.487336] sd 1:0:0:0: [sda] Write Protect is off
[ 78.487337] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 78.487345] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 78.487348] sda: sda1 sda2 sda3
[ 78.497363] sd 1:0:0:0: [sda] Attached SCSI disk
[ 78.497404] sd 2:0:0:0: [sdb] 1465149168 512-byte hardware sectors (750156 MB)
[ 78.497412] sd 2:0:0:0: [sdb] Write Protect is off
[ 78.497414] sd 2:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 78.497424] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 78.497454] sd 2:0:0:0: [sdb] 1465149168 512-byte hardware sectors (750156 MB)
[ 78.497460] sd 2:0:0:0: [sdb] Write Protect is off
[ 78.497461] sd 2:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 78.497477] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 78.497479] sdb: sdb1
[ 78.510716] sd 2:0:0:0: [sdb] Attached SCSI disk
[ 78.510741] sd 3:0:0:0: [sdc] 1465149168 512-byte hardware sectors (750156 MB)
[ 78.510747] sd 3:0:0:0: [sdc] Write Protect is off
[ 78.510749] sd 3:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[ 78.510758] sd 3:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 78.510778] sd 3:0:0:0: [sdc] 1465149168 512-byte hardware sectors (750156 MB)
[ 78.510784] sd 3:0:0:0: [sdc] Write Protect is off
[ 78.510785] sd 3:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[ 78.510796] sd 3:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 78.510798] sdc: sdc1
[ 78.519943] sd 3:0:0:0: [sdc] Attached SCSI disk
[ 78.524321] sd 1:0:0:0: Attached scsi generic sg0 type 0
[ 78.524336] sd 2:0:0:0: Attached scsi generic sg1 type 0
[ 78.524350] sd 3:0:0:0: Attached scsi generic sg2 type 0
[ 78.524361] sr 5:0:0:0: Attached scsi generic sg3 type 5
[ 78.528372] sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[ 78.528377] Uniform CD-ROM driver Revision: 3.20
[ 78.528406] sr 5:0:0:0: Attached scsi CD-ROM sr0
[ 78.587221] ACPI: PCI Interrupt 0000:00:13.2[B] -> GSI 19 (level, low) -> IRQ 19
[ 78.587462] ehci_hcd 0000:00:13.2: EHCI Host Controller
[ 78.587513] ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 7
[ 78.587548] ehci_hcd 0000:00:13.2: debug port 1
[ 78.587564] ehci_hcd 0000:00:13.2: irq 19, io mem 0xfe029000
[ 78.599112] ehci_hcd 0000:00:13.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 78.599203] usb usb7: configuration #1 chosen from 1 choice
[ 78.599219] hub 7-0:1.0: USB hub found
[ 78.599225] hub 7-0:1.0: 6 ports detected
[ 78.682965] usb 2-2: USB disconnect, address 3
[ 78.702963] ACPI: PCI Interrupt 0000:04:0e.0[A] -> GSI 22 (level, low) -> IRQ 22
[ 78.753037] ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[22] MMIO=[fdcff000-fdcff7ff] Max Packet=[2048] IR/IT contexts=[4/8]
[ 78.799753] kjournald starting. Commit interval 5 seconds
[ 78.799761] EXT3-fs: mounted filesystem with ordered data mode.
[ 79.237945] usb 6-5: new high speed USB device using ehci_hcd and address 3
[ 79.373001] usb 6-5: configuration #1 chosen from 1 choice
[ 79.373122] scsi7 : SCSI emulation for USB Mass Storage devices
[ 79.373195] usb-storage: device found at 3
[ 79.373197] usb-storage: waiting for device to settle before scanning
[ 79.689105] usb 2-1: new low speed USB device using ohci_hcd and address 4
[ 79.908836] usb 2-1: configuration #1 chosen from 1 choice
[ 79.915901] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:12.1/usb2/2-1/2-1:1.0/input/input3
[ 79.924687] input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:12.1-1
[ 79.931733] Fixing up Logitech keyboard report descriptor
[ 79.932071] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:12.1/usb2/2-1/2-1:1.1/input/input4
[ 79.968629] input,hiddev96,hidraw1: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:12.1-1
[ 80.024570] ieee1394: Host added: ID:BUS[0-00:1023] GUID[007196ad00001fd0]
[ 84.293537] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 84.411658] shpchp: HPC vendor_id 1022 device_id 9602 ss_vid 0 ss_did 0
[ 84.411662] shpchp: shpc_init: cannot reserve MMIO region
[ 84.411681] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 84.420503] usb-storage: device scan complete
[ 84.421591] scsi 7:0:0:0: Direct-Access Imation Nano PMAP PQ: 0 ANSI: 0 CCS
[ 84.423698] sd 7:0:0:0: [sdd] 4028416 512-byte hardware sectors (2063 MB)
[ 84.424363] sd 7:0:0:0: [sdd] Write Protect is off
[ 84.424365] sd 7:0:0:0: [sdd] Mode Sense: 23 00 00 00
[ 84.424367] sd 7:0:0:0: [sdd] Assuming drive cache: write through
[ 84.426971] sd 7:0:0:0: [sdd] 4028416 512-byte hardware sectors (2063 MB)
[ 84.427596] sd 7:0:0:0: [sdd] Write Protect is off
[ 84.427597] sd 7:0:0:0: [sdd] Mode Sense: 23 00 00 00
[ 84.427599] sd 7:0:0:0: [sdd] Assuming drive cache: write through
[ 84.427601] sdd: sdd1
[ 84.428873] sd 7:0:0:0: [sdd] Attached SCSI removable disk
[ 84.429133] sd 7:0:0:0: Attached scsi generic sg4 type 0
[ 84.445807] parport_pc 00:0a: reported by Plug and Play ACPI
[ 84.445865] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
[ 84.452161] input: PC Speaker as /devices/platform/pcspkr/input/input5
[ 84.619194] input: Power Button (FF) as /devices/virtual/input/input6
[ 84.661039] piix4_smbus 0000:00:14.0: Found 0000:00:14.0 device
[ 84.671974] ACPI: Power Button (FF) [PWRF]
[ 84.672015] input: Power Button (CM) as /devices/virtual/input/input7
[ 84.735876] ACPI: Power Button (CM) [PWRB]
[ 84.735934] ACPI: WMI-Acer: Mapper loaded
[ 84.905432] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[ 84.941971] [fglrx] Maximum main memory to use for locked dma buffers: 3544 MBytes.
[ 84.941993] [fglrx] ASYNCIO init succeed!
[ 84.942270] [fglrx] PAT is enabled successfully!
[ 84.942289] [fglrx] module loaded - fglrx 8.47.3 [Feb 25 2008] on minor 0
[ 85.166061] Linux video capture interface: v2.00
[ 85.221436] cx23885 driver version 0.0.1 loaded
[ 85.221502] ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
[ 85.221514] CORE cx23885[0]: subsystem: 107d:6681, board: Leadtek Winfast PxDVR3200 H [card=11,autodetected]
[ 85.408979] cx23885[0]: i2c bus 0 registered
[ 85.408999] cx23885[0]: i2c bus 1 registered
[ 85.409020] cx23885[0]: i2c bus 2 registered
[ 85.477712] cx25840' 3-0044: cx25 0-21 found @ 0x88 (cx23885[0])
[ 85.478082] cx23885[0]: cx23885 based dvb card
[ 85.555823] xc2028 2-0061: creating new instance
[ 85.555827] xc2028 2-0061: type set to XCeive xc2028/xc3028 tuner
[ 85.555830] DVB: registering new adapter (cx23885[0])
[ 85.555833] DVB: registering frontend 0 (Zarlink ZL10353 DVB-T)...
[ 85.555994] cx23885_dev_checkrevision() Hardware revision = 0xb0
[ 85.556000] cx23885[0]/0: found at 0000:02:00.0, rev: 2, irq: 16, latency: 0, mmio: 0xfd600000
[ 85.556007] PCI: Setting latency timer of device 0000:02:00.0 to 64
[ 85.556114] ACPI: PCI Interrupt 0000:00:14.2[A] -> GSI 16 (level, low) -> IRQ 16
[ 85.589034] hda_codec: Unknown model for ALC882, trying auto-probe from BIOS...
[ 85.624431] ACPI: PCI Interrupt 0000:01:05.1[B] -> GSI 19 (level, low) -> IRQ 19
[ 85.624615] PCI: Setting latency timer of device 0000:01:05.1 to 64
[ 86.685659] lp0: using parport0 (interrupt-driven).
[ 86.779958] cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.6 loaded
[ 86.781434] cx88/2: cx2388x dvb driver version 0.0.6 loaded
[ 86.781437] cx88/2: registering cx8802 driver, type: dvb access: shared
[ 86.818959] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 87.376100] EXT3 FS on sda1, internal journal
[ 87.460263] device-mapper: uevent: version 1.0.3
[ 87.460286] device-mapper: ioctl: 4.12.0-ioctl (2007-10-02) initialised: dm-devel@redhat.com
[ 88.571761] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 88.796846] No dock devices found.
[ 89.058971] powernow-k8: Found 1 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ processors (2 cpu cores) (version 2.20.00)
[ 89.059023] powernow-k8: 0 : fid 0x16 (3000 MHz), vid 0x6
[ 89.059026] powernow-k8: 1 : fid 0x14 (2800 MHz), vid 0x8
[ 89.059027] powernow-k8: 2 : fid 0x12 (2600 MHz), vid 0xa
[ 89.059029] powernow-k8: 3 : fid 0x10 (2400 MHz), vid 0xc
[ 89.059030] powernow-k8: 4 : fid 0xe (2200 MHz), vid 0xe
[ 89.059031] powernow-k8: 5 : fid 0xc (2000 MHz), vid 0x10
[ 89.059032] powernow-k8: 6 : fid 0xa (1800 MHz), vid 0x10
[ 89.059033] powernow-k8: 7 : fid 0x2 (1000 MHz), vid 0x12
[ 91.390948] ppdev: user-space parallel port driver
[ 91.674553] audit(1218630240.063:2): type=1503 operation="inode_permission" requested_mask="a::" denied_mask="a::" name="/dev/tty" pid=5632 profile="/usr/sbin/cupsd"namespace="default"
[ 92.421456] vboxdrv: Trying to deactivate the NMI watchdog permanently...
[ 92.421462] vboxdrv: Successfully done.
[ 92.421502] vboxdrv: TSC mode is 'asynchronous', kernel timer mode is 'normal'.
[ 92.421504] vboxdrv: Successfully loaded version 1.5.6_OSE (interface 0x00050002).
[ 93.205729] NET: Registered protocol family 10
[ 93.205896] lo: Disabled Privacy Extensions
[ 93.346422] Clocksource tsc unstable (delta = -189094048 ns)
[ 93.901648] r8169: eth0: link up
[ 93.901636] r8169: eth0: link up
[ 94.374573] Bluetooth: Core ver 2.11
[ 94.374739] NET: Registered protocol family 31
[ 94.374741] Bluetooth: HCI device and connection manager initialized
[ 94.374744] Bluetooth: HCI socket layer initialized
[ 94.390951] Bluetooth: L2CAP ver 2.9
[ 94.390954] Bluetooth: L2CAP socket layer initialized
[ 94.437901] Bluetooth: RFCOMM socket layer initialized
[ 94.438026] Bluetooth: RFCOMM TTY layer initialized
[ 94.438028] Bluetooth: RFCOMM ver 1.8
[ 94.653135] NET: Registered protocol family 17
[ 95.447834] ACPI: PCI Interrupt 0000:01:05.0[A] -> GSI 18 (level, low) -> IRQ 18
[ 95.914757] [fglrx] GART Table is not in FRAME_BUFFER range
[ 95.914762] [fglrx] Reserve Block - 0 offset = 0Xfffc000 length = 0X4000
[ 95.914764] [fglrx] Reserve Block - 1 offset = 0X0 length = 0X1000000
[ 95.967853] [fglrx] interrupt source ff000034 successfully enabled
[ 95.967857] [fglrx] enable ID = 0x00000006
[ 95.967862] [fglrx] Receive enable interrupt message with irqEnableMask: ff000034
[ 95.967898] [fglrx] interrupt source 10000000 successfully enabled
[ 95.967899] [fglrx] enable ID = 0x00000007
[ 95.967902] [fglrx] Receive enable interrupt message with irqEnableMask: 10000000
[ 99.585971] eth0: no IPv6 routers present
[ 115.370780] hda-intel: Invalid position buffer, using LPIB read method instead.
[-- Attachment #3: tv scan.txt --]
[-- Type: text/plain, Size: 2564 bytes --]
:/usr/share/doc/dvb-utils/examples/scan/dvb-t$ sudo scan au-Sydney_North_Shore
scanning au-Sydney_North_Shore
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 226500000 1 3 9 3 1 1 0
initial transponder 177500000 1 2 9 3 1 1 0
initial transponder 191625000 1 3 9 3 1 1 0
initial transponder 219500000 1 3 9 3 1 1 0
initial transponder 571500000 1 2 9 3 1 2 0
initial transponder 578500000 1 2 9 3 1 0 0
>>> tune to: 226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 177500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 177500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 191625000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 191625000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 219500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 219500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 571500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 571500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 578500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 578500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
ERROR: initial tuning failed
dumping lists (0 services)
Done.
[-- Attachment #4: 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] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
@ 2008-08-13 21:49 stev391
2008-08-14 11:18 ` Jonathan Hummel
0 siblings, 1 reply; 35+ messages in thread
From: stev391 @ 2008-08-13 21:49 UTC (permalink / raw)
To: Jonathan Hummel; +Cc: linux dvb
> ----- Original Message -----
> From: "Jonathan Hummel" <jhhummel@bigpond.com>
> To: stev391@email.com
> Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
> Date: Wed, 13 Aug 2008 22:46:05 +1000
>
>
> On Tue, 2008-08-12 at 09:59 +1000, stev391@email.com wrote:
> > > ----- Original Message -----
> > > From: "Jonathan Hummel" <jhhummel@bigpond.com>
> > > To: stev391@email.com
> > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
> > > Date: Mon, 11 Aug 2008 23:36:25 +1000
> > > > > On Sun, 2008-08-10 at 11:42 +1000, stev391@email.com wrote:
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Jonathan Hummel" To: stev391@email.com
> > > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> > > > 3200 H - DVB Only support
> > > > Date: Sat, 09 Aug 2008 21:48:21 +1000
> > > >
> > > >
> > > > Hi All,
> > > >
> > > > Finnaly got some time to give the patch a go. I used the
> > > > pacakges
> > > > Stephen, sent the link to, not Mark's. I cant't get past the
> > > > attached
> > > > problem. The dmesg output is attached. I tried setting the
> > > > card like
> > > > this:
> > > > /etc/modprobe.d/options file and add the line: options cx88xx
> > > > card=11
> > > > I also tried the following two varients:
> > > > cx23885 card=11
> > > > cx23885 card=12
> > > >
> > > > I also got what looked like an error message when applying the
> > > > first
> > > > patch, something like "strip count 1 is not a
> > > > number" (although 1 not
> > > > being a number would explain my difficulties with maths!)
> > > >
> > > > Cheers
> > > >
> > > > Jon
> > > >
> > > > On Wed, 2008-08-06 at 07:33 +1000, stev391@email.com wrote:
> > > > > Mark, Jon,
> > > > >
> > > > > The patches I made were not against the v4l-dvb tip that is
> > > > referenced
> > > > > in Mark's email below. I did this on purpose because there
> > > > is a small
> > > > > amount of refactoring (recoding to make it better) being
> > > > performed by
> > > > > Steven Toth and others.
> > > > >
> > > > > To get the version I used for the patch download (This is
> > > > for the
> > > > > first initial patch [you can tell it is this one as the
> > > > patch file
> > > > > mentions cx23885-sram in the path]):
> > > > > http://linuxtv.org/hg/~stoth/cx23885-sram/archive/tip.tar.gz
> > > > >
> > > > > For the second patch that emailed less then 12 hours ago
> > > > download this
> > > > > version of drivers:
> > > > > http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.gz
> > > > > and then apply my patch (this patch mentions v4l-dvb). This
> > > > version is
> > > > > a cleanup of the previous and uses the generic callback
> > > > function.
> > > > >
> > > > > Other then that you are heading in the correct direction...
> > > > >
> > > > > Do either of you have the same issue I have that when the
> > > > computer is
> > > > > first turned on the autodetect card feature doesn't work due
> > > > to
> > > > > subvendor sub product ids of 0000? Or is just a faulty card
> > > > that I
> > > > > have?
> > > > >
> > > > > Regards,
> > > > >
> > > > > Stephen.
> > > > > ----- Original Message -----
> > > > > From: "Mark Carbonaro" To: "Jonathan Hummel" > Subject: Re: > >
> > [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> > > > > 3200 H - DVB Only support
> > > > > Date: Tue, 5 Aug 2008 23:47:46 +1000 (EST)
> > > > >
> > > > >
> > > > > Hi Mark,
> > > > >
> > > > > Forgive my ignorance/ newbie-ness, but what do I do with
> > > > that
> > > > > patch code
> > > > > below? is there a tutorial or howto or something somewhere
> > > > > that will
> > > > > introduce me to this. I have done some programming, but
> > > > > nothing of this
> > > > > level.
> > > > >
> > > > > cheers
> > > > >
> > > > > Jon
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Jonathan Hummel" To: "Mark Carbonaro" > Cc: stev391@email.com, >
> > > linux-dvb@linuxtv.org
> > > > > Sent: Tuesday, 5 August, 2008 10:21:11 PM (GMT+1000)
> > > > > Auto-Detected
> > > > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> > > > > 3200 H - DVB Only support
> > > > >
> > > > > Hi Jon,
> > > > >
> > > > > Not a problem at all, I'm new to this myself, below is what
> > > > > went through and I may not be doing it the right > way either. So if
> > anyone > > would like to point out what I > am doing wrong I would
> > > > > really appreciate it.
> > > > >
> > > > > The file that I downloaded was called
> > > > > v4l-dvb-2bade2ed7ac8.tar.bz2 which I downloaded > from > > >
> > http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.bz2, I
> > > > > also saved the patch to the same location as the download.
> > > > >
> > > > > The patch didn't apply for me, so I manually patched applied
> > > > > the patches and created a new diff that should > hopefully work for
> > > > > you also (attached and inline below). From what I > could see the
> > offsets in > > Stephens patch were a little off > for this code
> > > > > snapshot but otherwise it is all good.
> > > > >
> > > > > I ran the following using the attached diff...
> > > > >
> > > > > tar -xjf v4l-dvb-2bade2ed7ac8.tar.bz2
> > > > > cd v4l-dvb-2bade2ed7ac8
> > > > > patch -p1 < ../Leadtek.Winfast.PxDVR.3200.H.2.diff
> > > > >
> > > > > Once the patch was applied I was then able to build and
> > > > > install the modules as per the instructions in > the INSTALL file. I ran
> > > > > the following...
> > > > >
> > > > > make all
> > > > > sudo make install
> > > > >
> > > > > From there I could load the modules and start testing.
> > > > >
> > > > > I hope this helps you get started.
> > > > >
> > > > > Regards,
> > > > > Mark
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > Jon,
> > > >
> > > > The patch did not apply correctly as the dmesg should list an extra
> > > > entry in card list (number 12), and it should have autodetected.
> > > >
> > > > Attached is the newest copy of the patch (save this in the same
> > > > directory that you use the following commands from), just to avoid
> > > > confusion. Following the following:
> > > > wget http://linuxtv.org/hg/~stoth/v4l-dvb/archive/2bade2ed7ac8.tar.gz
> > > > tar -xf 2bade2ed7ac8.tar.gz
> > > > cd v4l-dvb-2bade2ed7ac8
> > > > patch -p1 <../Leadtek_Winfast_PxDVR3200_H.diff
> > > > make
> > > > sudo make install
> > > > sudo make unload
> > > > sudo modprobe cx23885
> > > >
> > > > Now the card should have been detected and you should
> > > > have /dev/adapterN/ (where N is a number). If it hasn't been detected
> > > > properly you should see a list of cards in dmesg with the card as
> > > > number 12. Unload the module (sudo rmmod cx23885) and then load it
> > > > with the option card=12 (sudo modprobe cx23885 card=12)
> > > >
> > > > For further instructions on how to watch digital tv look at the wiki
> > > > page (you need to create a channels.conf).
> > > >
> > > > Regards,
> > > > Stephen
> > > >
> > > > P.S.
> > > > Please make sure you cc the linux dvb mailing list, so if anyone else
> > > > has the same issue we can work together to solve it.
> > > > Also the convention is to post your message at the bottom (I got
> > > > caught by this one until recently).
> > > >
> > > >
> > > > -- Be Yourself @ mail.com!
> > > > Choose From 200+ Email Addresses
> > > > Get a Free Account at www.mail.com!
> > > > Hi Stevhen, Mark,
> > > > > So you write your post at the bottom of the email?! well that does
> > > explain a lot, and does kinda make sense if your intending someone to
> > > pick it up halfway through. I just normaly read backwards when that
> > > happens to me.
> > > > As for the patch. I realised that it is patch -p1 (as in one) not -pl
> > > (as in bLoody &*^^* i can't believe i was using the wrong character)
> > > which explains why my patches never worked.
> > > So the patch applied all fine and that, and dmesg looks great, but I
> > > can't find anything by scanning. On my other card, the DTV2000H (rev J)
> > > it can scan in MythTV to find channels, and with me-TV, I think it just
> > > has a list which it picks from or something, tunes to that frequency to
> > > see if there is anything there. Can't do that with this card so far.
> > > Attached is the output from scan (or DVB scan) I don't know if it would
> > > be useful, but I don't know what is useful for such a problem.
> > > > cheers
> > > > Jon
> >
> > Jon,
> >
> > I'm sorry that I'm going to have to ask some silly questions:
> > * Does this card tune in windows to these frequencies?
> > * If so what signal level does it report?
> > * If you cannot do the above, can you double check that the aerial cable is connected
> > correctly to your Antenna.
> >
> > Can you load the following modules with debug=1:
> > tuner_xc2028
> > zl10353
> > cx23885
> >
> > and attach the dmesg sections for registering the card, and any output while scanning.
> >
> > I will try this afternoon with MythTV, but my card was able to scan with the DVB scan.
> > I had not heard of Me TV prior to your email, I might install that as well and see how it
> > works.
> >
> > I have a DTV1000T in the same system, from past experience this card requires a strong DVB
> > signal while my PxDVR3200H gets drowned out with the same signal. So I have to install a 6dB
> > or more attenuator before the card (This is due to a powered splitter installed in the roof
> > providing too much signal, which if I remove my DTV1000T gets patchy reception). I wonder if
> > this is the same in your case with the DTV2000H? (But if it works in windows reliably it
> > should work in Linux).
> >
> > Regards,
> > Stephen.
> >
>
> Hi Stephen,
>
> I tired the above to no avail. The card works fine under windows (well
> as fine as anything can work under windows, as in, windows keeps
> stealing resources away from it resulting in jerky viewing in HD mode)
> and I can scan in windows too. I still cannot scan in Linux. I've
> atached the dmesg and scan outputs. (My appologies for no grep on the
> dmesg, I wasn't sure what to grep for). Is there a way to grab a
> frequency out of windows then dump that frequency into linux and see if
> the card recieves? just a thought that it might help to debug things.
>
> Cheers
>
> Jon
Jon,
The relevant sections of the dmesg will be everything from this line onwards:
cx23885 driver version 0.0.1 loaded
The section I was looking for wasn't in the dmesg. Please attempt the scan then give the dmesg output after this. (I think you gave me the reverse)
What I'm looking for is if the firmware loads correctly and what error messages.
Also if you haven't done so already can you ensure that the modules mentioned above are loaded with debug=1.
On ubuntu this performed in /etc/modprobe.../options with the following lines (modprobe or something similar):
options zl10353 debug=1
options tuner_xc2038 debug=1
options cx23885 debug=1
The either restart or reload these modules.
Note this will generate a lot of messages, so when not testing the card put a "#" in front of it to comment it out.
Regards,
Stephen
--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
2008-08-13 21:49 [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support stev391
@ 2008-08-14 11:18 ` Jonathan Hummel
0 siblings, 0 replies; 35+ messages in thread
From: Jonathan Hummel @ 2008-08-14 11:18 UTC (permalink / raw)
To: stev391; +Cc: linux dvb
[-- Attachment #1: Type: text/plain, Size: 13337 bytes --]
On Thu, 2008-08-14 at 07:49 +1000, stev391@email.com wrote:
> > ----- Original Message -----
> > From: "Jonathan Hummel" <jhhummel@bigpond.com>
> > To: stev391@email.com
> > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
> > Date: Wed, 13 Aug 2008 22:46:05 +1000
> >
> >
> > On Tue, 2008-08-12 at 09:59 +1000, stev391@email.com wrote:
> > > > ----- Original Message -----
> > > > From: "Jonathan Hummel" <jhhummel@bigpond.com>
> > > > To: stev391@email.com
> > > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
> > > > Date: Mon, 11 Aug 2008 23:36:25 +1000
> > > > > > On Sun, 2008-08-10 at 11:42 +1000, stev391@email.com wrote:
> > > > >
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Jonathan Hummel" To: stev391@email.com
> > > > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> > > > > 3200 H - DVB Only support
> > > > > Date: Sat, 09 Aug 2008 21:48:21 +1000
> > > > >
> > > > >
> > > > > Hi All,
> > > > >
> > > > > Finnaly got some time to give the patch a go. I used the
> > > > > pacakges
> > > > > Stephen, sent the link to, not Mark's. I cant't get past the
> > > > > attached
> > > > > problem. The dmesg output is attached. I tried setting the
> > > > > card like
> > > > > this:
> > > > > /etc/modprobe.d/options file and add the line: options cx88xx
> > > > > card=11
> > > > > I also tried the following two varients:
> > > > > cx23885 card=11
> > > > > cx23885 card=12
> > > > >
> > > > > I also got what looked like an error message when applying the
> > > > > first
> > > > > patch, something like "strip count 1 is not a
> > > > > number" (although 1 not
> > > > > being a number would explain my difficulties with maths!)
> > > > >
> > > > > Cheers
> > > > >
> > > > > Jon
> > > > >
> > > > > On Wed, 2008-08-06 at 07:33 +1000, stev391@email.com wrote:
> > > > > > Mark, Jon,
> > > > > >
> > > > > > The patches I made were not against the v4l-dvb tip that is
> > > > > referenced
> > > > > > in Mark's email below. I did this on purpose because there
> > > > > is a small
> > > > > > amount of refactoring (recoding to make it better) being
> > > > > performed by
> > > > > > Steven Toth and others.
> > > > > >
> > > > > > To get the version I used for the patch download (This is
> > > > > for the
> > > > > > first initial patch [you can tell it is this one as the
> > > > > patch file
> > > > > > mentions cx23885-sram in the path]):
> > > > > > http://linuxtv.org/hg/~stoth/cx23885-sram/archive/tip.tar.gz
> > > > > >
> > > > > > For the second patch that emailed less then 12 hours ago
> > > > > download this
> > > > > > version of drivers:
> > > > > > http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.gz
> > > > > > and then apply my patch (this patch mentions v4l-dvb). This
> > > > > version is
> > > > > > a cleanup of the previous and uses the generic callback
> > > > > function.
> > > > > >
> > > > > > Other then that you are heading in the correct direction...
> > > > > >
> > > > > > Do either of you have the same issue I have that when the
> > > > > computer is
> > > > > > first turned on the autodetect card feature doesn't work due
> > > > > to
> > > > > > subvendor sub product ids of 0000? Or is just a faulty card
> > > > > that I
> > > > > > have?
> > > > > >
> > > > > > Regards,
> > > > > >
> > > > > > Stephen.
> > > > > > ----- Original Message -----
> > > > > > From: "Mark Carbonaro" To: "Jonathan Hummel" > Subject: Re: > >
> > > [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> > > > > > 3200 H - DVB Only support
> > > > > > Date: Tue, 5 Aug 2008 23:47:46 +1000 (EST)
> > > > > >
> > > > > >
> > > > > > Hi Mark,
> > > > > >
> > > > > > Forgive my ignorance/ newbie-ness, but what do I do with
> > > > > that
> > > > > > patch code
> > > > > > below? is there a tutorial or howto or something somewhere
> > > > > > that will
> > > > > > introduce me to this. I have done some programming, but
> > > > > > nothing of this
> > > > > > level.
> > > > > >
> > > > > > cheers
> > > > > >
> > > > > > Jon
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: "Jonathan Hummel" To: "Mark Carbonaro" > Cc: stev391@email.com, >
> > > > linux-dvb@linuxtv.org
> > > > > > Sent: Tuesday, 5 August, 2008 10:21:11 PM (GMT+1000)
> > > > > > Auto-Detected
> > > > > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> > > > > > 3200 H - DVB Only support
> > > > > >
> > > > > > Hi Jon,
> > > > > >
> > > > > > Not a problem at all, I'm new to this myself, below is what
> > > > > > went through and I may not be doing it the right > way either. So if
> > > anyone > > would like to point out what I > am doing wrong I would
> > > > > > really appreciate it.
> > > > > >
> > > > > > The file that I downloaded was called
> > > > > > v4l-dvb-2bade2ed7ac8.tar.bz2 which I downloaded > from > > >
> > > http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.bz2, I
> > > > > > also saved the patch to the same location as the download.
> > > > > >
> > > > > > The patch didn't apply for me, so I manually patched applied
> > > > > > the patches and created a new diff that should > hopefully work for
> > > > > > you also (attached and inline below). From what I > could see the
> > > offsets in > > Stephens patch were a little off > for this code
> > > > > > snapshot but otherwise it is all good.
> > > > > >
> > > > > > I ran the following using the attached diff...
> > > > > >
> > > > > > tar -xjf v4l-dvb-2bade2ed7ac8.tar.bz2
> > > > > > cd v4l-dvb-2bade2ed7ac8
> > > > > > patch -p1 < ../Leadtek.Winfast.PxDVR.3200.H.2.diff
> > > > > >
> > > > > > Once the patch was applied I was then able to build and
> > > > > > install the modules as per the instructions in > the INSTALL file. I ran
> > > > > > the following...
> > > > > >
> > > > > > make all
> > > > > > sudo make install
> > > > > >
> > > > > > From there I could load the modules and start testing.
> > > > > >
> > > > > > I hope this helps you get started.
> > > > > >
> > > > > > Regards,
> > > > > > Mark
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > Jon,
> > > > >
> > > > > The patch did not apply correctly as the dmesg should list an extra
> > > > > entry in card list (number 12), and it should have autodetected.
> > > > >
> > > > > Attached is the newest copy of the patch (save this in the same
> > > > > directory that you use the following commands from), just to avoid
> > > > > confusion. Following the following:
> > > > > wget http://linuxtv.org/hg/~stoth/v4l-dvb/archive/2bade2ed7ac8.tar.gz
> > > > > tar -xf 2bade2ed7ac8.tar.gz
> > > > > cd v4l-dvb-2bade2ed7ac8
> > > > > patch -p1 <../Leadtek_Winfast_PxDVR3200_H.diff
> > > > > make
> > > > > sudo make install
> > > > > sudo make unload
> > > > > sudo modprobe cx23885
> > > > >
> > > > > Now the card should have been detected and you should
> > > > > have /dev/adapterN/ (where N is a number). If it hasn't been detected
> > > > > properly you should see a list of cards in dmesg with the card as
> > > > > number 12. Unload the module (sudo rmmod cx23885) and then load it
> > > > > with the option card=12 (sudo modprobe cx23885 card=12)
> > > > >
> > > > > For further instructions on how to watch digital tv look at the wiki
> > > > > page (you need to create a channels.conf).
> > > > >
> > > > > Regards,
> > > > > Stephen
> > > > >
> > > > > P.S.
> > > > > Please make sure you cc the linux dvb mailing list, so if anyone else
> > > > > has the same issue we can work together to solve it.
> > > > > Also the convention is to post your message at the bottom (I got
> > > > > caught by this one until recently).
> > > > >
> > > > >
> > > > > -- Be Yourself @ mail.com!
> > > > > Choose From 200+ Email Addresses
> > > > > Get a Free Account at www.mail.com!
> > > > > Hi Stevhen, Mark,
> > > > > > So you write your post at the bottom of the email?! well that does
> > > > explain a lot, and does kinda make sense if your intending someone to
> > > > pick it up halfway through. I just normaly read backwards when that
> > > > happens to me.
> > > > > As for the patch. I realised that it is patch -p1 (as in one) not -pl
> > > > (as in bLoody &*^^* i can't believe i was using the wrong character)
> > > > which explains why my patches never worked.
> > > > So the patch applied all fine and that, and dmesg looks great, but I
> > > > can't find anything by scanning. On my other card, the DTV2000H (rev J)
> > > > it can scan in MythTV to find channels, and with me-TV, I think it just
> > > > has a list which it picks from or something, tunes to that frequency to
> > > > see if there is anything there. Can't do that with this card so far.
> > > > Attached is the output from scan (or DVB scan) I don't know if it would
> > > > be useful, but I don't know what is useful for such a problem.
> > > > > cheers
> > > > > Jon
> > >
> > > Jon,
> > >
> > > I'm sorry that I'm going to have to ask some silly questions:
> > > * Does this card tune in windows to these frequencies?
> > > * If so what signal level does it report?
> > > * If you cannot do the above, can you double check that the aerial cable is connected
> > > correctly to your Antenna.
> > >
> > > Can you load the following modules with debug=1:
> > > tuner_xc2028
> > > zl10353
> > > cx23885
> > >
> > > and attach the dmesg sections for registering the card, and any output while scanning.
> > >
> > > I will try this afternoon with MythTV, but my card was able to scan with the DVB scan.
> > > I had not heard of Me TV prior to your email, I might install that as well and see how it
> > > works.
> > >
> > > I have a DTV1000T in the same system, from past experience this card requires a strong DVB
> > > signal while my PxDVR3200H gets drowned out with the same signal. So I have to install a 6dB
> > > or more attenuator before the card (This is due to a powered splitter installed in the roof
> > > providing too much signal, which if I remove my DTV1000T gets patchy reception). I wonder if
> > > this is the same in your case with the DTV2000H? (But if it works in windows reliably it
> > > should work in Linux).
> > >
> > > Regards,
> > > Stephen.
> > >
> >
> > Hi Stephen,
> >
> > I tired the above to no avail. The card works fine under windows (well
> > as fine as anything can work under windows, as in, windows keeps
> > stealing resources away from it resulting in jerky viewing in HD mode)
> > and I can scan in windows too. I still cannot scan in Linux. I've
> > atached the dmesg and scan outputs. (My appologies for no grep on the
> > dmesg, I wasn't sure what to grep for). Is there a way to grab a
> > frequency out of windows then dump that frequency into linux and see if
> > the card recieves? just a thought that it might help to debug things.
> >
> > Cheers
> >
> > Jon
>
> Jon,
>
> The relevant sections of the dmesg will be everything from this line onwards:
> cx23885 driver version 0.0.1 loaded
>
> The section I was looking for wasn't in the dmesg. Please attempt the scan then give the dmesg output after this. (I think you gave me the reverse)
> What I'm looking for is if the firmware loads correctly and what error messages.
>
> Also if you haven't done so already can you ensure that the modules mentioned above are loaded with debug=1.
> On ubuntu this performed in /etc/modprobe.../options with the following lines (modprobe or something similar):
> options zl10353 debug=1
> options tuner_xc2038 debug=1
> options cx23885 debug=1
>
> The either restart or reload these modules.
> Note this will generate a lot of messages, so when not testing the card put a "#" in front of it to comment it out.
>
> Regards,
> Stephen
>
>
> --
> Be Yourself @ mail.com!
> Choose From 200+ Email Addresses
> Get a Free Account at www.mail.com
>
Hi Stephen
Turns out that if you use that patch that allows you to use your linux
drive from windows doesn't recognise user permisions. Made editing
modprobe options easier seeing it was already loaded :)
Yes I did think I did it in reverse, her it is in the order you wanted.
Seems to be an issue with the Zarlink chip.
Thanks
Jon
[-- Attachment #2: tv dmesg2.txt --]
[-- Type: text/plain, Size: 42740 bytes --]
sudo dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.24-20-generic (buildd@yellow) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Mon Jul 28 13:06:07 UTC 2008 (Ubuntu 2.6.24-20.38-generic)
[ 0.000000] Command line: root=UUID=cbb8e362-3b0d-4a6c-8a6d-8d28288ebdf5 ro quiet splash
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
[ 0.000000] BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 00000000bfde0000 (usable)
[ 0.000000] BIOS-e820: 00000000bfde0000 - 00000000bfde3000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000bfde3000 - 00000000bfdf0000 (ACPI data)
[ 0.000000] BIOS-e820: 00000000bfdf0000 - 00000000bfe00000 (reserved)
[ 0.000000] BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
[ 0.000000] BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
[ 0.000000] BIOS-e820: 0000000100000000 - 0000000130000000 (usable)
[ 0.000000] Entering add_active_range(0, 0, 159) 0 entries of 3200 used
[ 0.000000] Entering add_active_range(0, 256, 785888) 1 entries of 3200 used
[ 0.000000] Entering add_active_range(0, 1048576, 1245184) 2 entries of 3200 used
[ 0.000000] end_pfn_map = 1245184
[ 0.000000] DMI 2.4 present.
[ 0.000000] ACPI: RSDP signature @ 0xFFFF8100000F70C0 checksum 0
[ 0.000000] ACPI: RSDP 000F70C0, 0014 (r0 GBT )
[ 0.000000] ACPI: RSDT BFDE3000, 0038 (r1 GBT GBTUACPI 42302E31 GBTU 1010101)
[ 0.000000] ACPI: FACP BFDE3040, 0074 (r1 GBT GBTUACPI 42302E31 GBTU 1010101)
[ 0.000000] ACPI: DSDT BFDE30C0, 6550 (r1 GBT GBTUACPI 1000 MSFT 3000000)
[ 0.000000] ACPI: FACS BFDE0000, 0040
[ 0.000000] ACPI: SSDT BFDE9700, 030E (r1 PTLTD POWERNOW 1 LTP 1)
[ 0.000000] ACPI: HPET BFDE9A40, 0038 (r1 GBT GBTUACPI 42302E31 GBTU 98)
[ 0.000000] ACPI: MCFG BFDE9A80, 003C (r1 GBT GBTUACPI 42302E31 GBTU 1010101)
[ 0.000000] ACPI: APIC BFDE9640, 0084 (r1 GBT GBTUACPI 42302E31 GBTU 1010101)
[ 0.000000] Scanning NUMA topology in Northbridge 24
[ 0.000000] CPU has 2 num_cores
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at 0000000000000000-0000000130000000
[ 0.000000] Entering add_active_range(0, 0, 159) 0 entries of 3200 used
[ 0.000000] Entering add_active_range(0, 256, 785888) 1 entries of 3200 used
[ 0.000000] Entering add_active_range(0, 1048576, 1245184) 2 entries of 3200 used
[ 0.000000] Bootmem setup node 0 0000000000000000-0000000130000000
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 4096
[ 0.000000] DMA32 4096 -> 1048576
[ 0.000000] Normal 1048576 -> 1245184
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[3] active PFN ranges
[ 0.000000] 0: 0 -> 159
[ 0.000000] 0: 256 -> 785888
[ 0.000000] 0: 1048576 -> 1245184
[ 0.000000] On node 0 totalpages: 982399
[ 0.000000] DMA zone: 56 pages used for memmap
[ 0.000000] DMA zone: 1222 pages reserved
[ 0.000000] DMA zone: 2721 pages, LIFO batch:0
[ 0.000000] DMA32 zone: 14280 pages used for memmap
[ 0.000000] DMA32 zone: 767512 pages, LIFO batch:31
[ 0.000000] Normal zone: 2688 pages used for memmap
[ 0.000000] Normal zone: 193920 pages, LIFO batch:31
[ 0.000000] Movable zone: 0 pages used for memmap
[ 0.000000] ATI board detected. Disabling timer routing over 8254.
[ 0.000000] ACPI: PM-Timer IO Port: 0x4008
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] Processor #0 (Bootup-CPU)
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
[ 0.000000] Processor #1
[ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x02] dfl dfl lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x03] dfl dfl lint[0x1])
[ 0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 2, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ2 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] Setting APIC routing to flat
[ 0.000000] ACPI: HPET id: 0x10b9a201 base: 0xfed00000
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000
[ 0.000000] swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000f0000
[ 0.000000] swsusp: Registered nosave memory region: 00000000000f0000 - 0000000000100000
[ 0.000000] swsusp: Registered nosave memory region: 00000000bfde0000 - 00000000bfde3000
[ 0.000000] swsusp: Registered nosave memory region: 00000000bfde3000 - 00000000bfdf0000
[ 0.000000] swsusp: Registered nosave memory region: 00000000bfdf0000 - 00000000bfe00000
[ 0.000000] swsusp: Registered nosave memory region: 00000000bfe00000 - 00000000e0000000
[ 0.000000] swsusp: Registered nosave memory region: 00000000e0000000 - 00000000f0000000
[ 0.000000] swsusp: Registered nosave memory region: 00000000f0000000 - 00000000fec00000
[ 0.000000] swsusp: Registered nosave memory region: 00000000fec00000 - 0000000100000000
[ 0.000000] Allocating PCI resources starting at c0000000 (gap: bfe00000:20200000)
[ 0.000000] SMP: Allowing 4 CPUs, 2 hotplug CPUs
[ 0.000000] PERCPU: Allocating 34656 bytes of per cpu data
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 964153
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: root=UUID=cbb8e362-3b0d-4a6c-8a6d-8d28288ebdf5 ro quiet splash
[ 0.000000] Initializing CPU#0
[ 0.000000] PID hash table entries: 4096 (order: 12, 32768 bytes)
[ 0.000000] hpet clockevent registered
[ 0.000000] TSC calibrated against HPET
[ 605.065809] Marking TSC unstable due to TSCs unsynchronized
[ 605.065811] time.c: Detected 3006.421 MHz processor.
[ 605.066764] Console: colour VGA+ 80x25
[ 605.066766] console [tty0] enabled
[ 605.066778] Checking aperture...
[ 605.066780] CPU 0: aperture @ f072000000 size 32 MB
[ 605.066781] Aperture too small (32 MB)
[ 605.075962] No AGP bridge found
[ 605.075963] Your BIOS doesn't leave a aperture memory hole
[ 605.075964] Please enable the IOMMU option in the BIOS setup
[ 605.075965] This costs you 64 MB of RAM
[ 605.096776] Mapping aperture over 65536 KB of RAM @ 4000000
[ 605.096780] swsusp: Registered nosave memory region: 0000000004000000 - 0000000008000000
[ 605.121252] Memory: 3782756k/4980736k available (2489k kernel code, 146840k reserved, 1318k data, 320k init)
[ 605.121277] SLUB: Genslabs=12, HWalign=64, Order=0-1, MinObjects=4, CPUs=4, Nodes=1
[ 605.199553] Calibrating delay using timer specific routine.. 6017.21 BogoMIPS (lpj=12034427)
[ 605.199578] Security Framework initialized
[ 605.199582] SELinux: Disabled at boot.
[ 605.199592] AppArmor: AppArmor initialized
[ 605.199595] Failure registering capabilities with primary security module.
[ 605.199802] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[ 605.201564] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 605.202453] Mount-cache hash table entries: 256
[ 605.202544] Initializing cgroup subsys ns
[ 605.202546] Initializing cgroup subsys cpuacct
[ 605.202554] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 605.202556] CPU: L2 Cache: 1024K (64 bytes/line)
[ 605.202557] CPU 0/0 -> Node 0
[ 605.202559] CPU: Physical Processor ID: 0
[ 605.202560] CPU: Processor Core ID: 0
[ 605.202575] SMP alternatives: switching to UP code
[ 605.202984] Early unpacking initramfs... done
[ 605.415763] ACPI: Core revision 20070126
[ 605.415801] ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.
[ 605.466031] Using local APIC timer interrupts.
[ 605.499239] APIC timer calibration result 12526759
[ 605.499240] Detected 12.526 MHz APIC timer.
[ 605.499303] SMP alternatives: switching to SMP code
[ 605.499609] Booting processor 1/2 APIC 0x1
[ 605.511287] Initializing CPU#1
[ 605.588710] Calibrating delay using timer specific routine.. 6012.92 BogoMIPS (lpj=12025852)
[ 605.588714] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 605.588716] CPU: L2 Cache: 1024K (64 bytes/line)
[ 605.588717] CPU 1/1 -> Node 0
[ 605.588719] CPU: Physical Processor ID: 0
[ 605.588720] CPU: Processor Core ID: 1
[ 605.588800] AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ stepping 03
[ 605.587242] Brought up 2 CPUs
[ 605.587354] CPU0 attaching sched-domain:
[ 605.587355] domain 0: span 03
[ 605.587357] groups: 01 02
[ 605.587358] domain 1: span 03
[ 605.587359] groups: 03
[ 605.587360] CPU1 attaching sched-domain:
[ 605.587361] domain 0: span 03
[ 605.587362] groups: 02 01
[ 605.587364] domain 1: span 03
[ 605.587364] groups: 03
[ 605.587507] net_namespace: 120 bytes
[ 605.587775] Time: 10:42:09 Date: 08/14/08
[ 605.587793] NET: Registered protocol family 16
[ 605.587906] ACPI: bus type pci registered
[ 605.587950] PCI: Using configuration type 1
[ 605.588821] ACPI: EC: Look up EC in DSDT
[ 605.592592] ACPI: Interpreter enabled
[ 605.592597] ACPI: (supports S0 S1 S4 S5)
[ 605.592612] ACPI: Using IOAPIC for interrupt routing
[ 605.595969] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 605.597300] PCI: Transparent bridge - 0000:00:14.4
[ 605.597324] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 605.597505] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2P_._PRT]
[ 605.597579] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCE4._PRT]
[ 605.597638] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCEA._PRT]
[ 605.597693] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
[ 605.609509] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 11) *0, disabled.
[ 605.609577] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 11) *0, disabled.
[ 605.609645] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 11) *0, disabled.
[ 605.609712] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 11) *0, disabled.
[ 605.609779] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11) *0, disabled.
[ 605.609846] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11) *0, disabled.
[ 605.609914] ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 5 6 7 10 11) *0, disabled.
[ 605.609981] ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 5 6 7 10 11) *0, disabled.
[ 605.610055] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 605.610072] pnp: PnP ACPI init
[ 605.610076] ACPI: bus type pnp registered
[ 605.612044] pnp: PnP ACPI: found 13 devices
[ 605.612045] ACPI: ACPI bus type pnp unregistered
[ 605.612180] PCI: Using ACPI for IRQ routing
[ 605.612182] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
[ 605.623057] NET: Registered protocol family 8
[ 605.623058] NET: Registered protocol family 20
[ 605.623104] PCI-DMA: Disabling AGP.
[ 605.623394] PCI-DMA: aperture base @ 4000000 size 65536 KB
[ 605.623397] PCI-DMA: using GART IOMMU.
[ 605.623403] PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture
[ 605.623539] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0
[ 605.623542] hpet0: 4 32-bit timers, 14318180 Hz
[ 605.624588] AppArmor: AppArmor Filesystem Enabled
[ 605.627022] Time: hpet clocksource has been installed.
[ 605.627036] Switched to high resolution mode on CPU 0
[ 605.628752] Switched to high resolution mode on CPU 1
[ 605.635049] system 00:01: ioport range 0x4d0-0x4d1 has been reserved
[ 605.635051] system 00:01: ioport range 0x220-0x225 has been reserved
[ 605.635053] system 00:01: ioport range 0x290-0x294 has been reserved
[ 605.635058] system 00:02: ioport range 0x4100-0x411f has been reserved
[ 605.635059] system 00:02: ioport range 0x228-0x22f has been reserved
[ 605.635061] system 00:02: ioport range 0x238-0x23f has been reserved
[ 605.635062] system 00:02: ioport range 0x40b-0x40b has been reserved
[ 605.635064] system 00:02: ioport range 0x4d6-0x4d6 has been reserved
[ 605.635066] system 00:02: ioport range 0xc00-0xc01 has been reserved
[ 605.635067] system 00:02: ioport range 0xc14-0xc14 has been reserved
[ 605.635069] system 00:02: ioport range 0xc50-0xc52 has been reserved
[ 605.635070] system 00:02: ioport range 0xc6c-0xc6d has been reserved
[ 605.635072] system 00:02: ioport range 0xc6f-0xc6f has been reserved
[ 605.635073] system 00:02: ioport range 0xcd0-0xcd1 has been reserved
[ 605.635075] system 00:02: ioport range 0xcd2-0xcd3 has been reserved
[ 605.635077] system 00:02: ioport range 0xcd4-0xcdf has been reserved
[ 605.635078] system 00:02: ioport range 0x4000-0x40fe has been reserved
[ 605.635080] system 00:02: ioport range 0x4210-0x4217 has been reserved
[ 605.635081] system 00:02: ioport range 0xb00-0xb0f has been reserved
[ 605.635083] system 00:02: ioport range 0xb10-0xb1f has been reserved
[ 605.635084] system 00:02: ioport range 0xb20-0xb3f has been reserved
[ 605.635093] system 00:0b: iomem range 0xe0000000-0xefffffff could not be reserved
[ 605.635098] system 00:0c: iomem range 0xd1a00-0xd3fff has been reserved
[ 605.635099] system 00:0c: iomem range 0xf0000-0xf7fff could not be reserved
[ 605.635101] system 00:0c: iomem range 0xf8000-0xfbfff could not be reserved
[ 605.635102] system 00:0c: iomem range 0xfc000-0xfffff could not be reserved
[ 605.635104] system 00:0c: iomem range 0xbfde0000-0xbfdfffff could not be reserved
[ 605.635107] system 00:0c: iomem range 0xffff0000-0xffffffff has been reserved
[ 605.635108] system 00:0c: iomem range 0x0-0x9ffff could not be reserved
[ 605.635110] system 00:0c: iomem range 0x100000-0xbfddffff could not be reserved
[ 605.635112] system 00:0c: iomem range 0xbfef0000-0xcfeeffff has been reserved
[ 605.635113] system 00:0c: iomem range 0xfec00000-0xfec00fff has been reserved
[ 605.635115] system 00:0c: iomem range 0xfee00000-0xfee00fff could not be reserved
[ 605.635117] system 00:0c: iomem range 0xfff80000-0xfffeffff has been reserved
[ 605.635394] PCI: Bridge: 0000:00:01.0
[ 605.635395] IO window: e000-efff
[ 605.635398] MEM window: fd900000-fdafffff
[ 605.635399] PREFETCH window: d0000000-dfffffff
[ 605.635402] PCI: Bridge: 0000:00:04.0
[ 605.635403] IO window: d000-dfff
[ 605.635405] MEM window: fd600000-fd7fffff
[ 605.635407] PREFETCH window: fdf00000-fdffffff
[ 605.635411] PCI: Bridge: 0000:00:0a.0
[ 605.635412] IO window: c000-cfff
[ 605.635414] MEM window: fde00000-fdefffff
[ 605.635416] PREFETCH window: fdd00000-fddfffff
[ 605.635419] PCI: Bridge: 0000:00:14.4
[ 605.635421] IO window: b000-bfff
[ 605.635425] MEM window: fdc00000-fdcfffff
[ 605.635428] PREFETCH window: fdb00000-fdbfffff
[ 605.635453] ACPI: PCI Interrupt 0000:00:04.0[A] -> GSI 16 (level, low) -> IRQ 16
[ 605.635456] PCI: Setting latency timer of device 0000:00:04.0 to 64
[ 605.635467] ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 18
[ 605.635470] PCI: Setting latency timer of device 0000:00:0a.0 to 64
[ 605.635485] NET: Registered protocol family 2
[ 605.671011] IP route cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 605.671868] TCP established hash table entries: 524288 (order: 11, 8388608 bytes)
[ 605.675029] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[ 605.675521] TCP: Hash tables configured (established 524288 bind 65536)
[ 605.675523] TCP reno registered
[ 605.687006] checking if image is initramfs... it is
[ 606.109406] Freeing initrd memory: 7968k freed
[ 606.113462] audit: initializing netlink socket (disabled)
[ 606.113470] audit(1218710529.016:1): initialized
[ 606.114811] VFS: Disk quotas dquot_6.5.1
[ 606.114856] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 606.114940] io scheduler noop registered
[ 606.114941] io scheduler anticipatory registered
[ 606.114942] io scheduler deadline registered
[ 606.115009] io scheduler cfq registered (default)
[ 606.968562] 0000:00:13.0 OHCI: BIOS handoff failed (BIOS bug ?) 00000184
[ 607.024604] Boot video device is 0000:01:05.0
[ 607.024729] PCI: Setting latency timer of device 0000:00:04.0 to 64
[ 607.024750] assign_interrupt_mode Found MSI capability
[ 607.024771] Allocate Port Service[0000:00:04.0:pcie00]
[ 607.024819] PCI: Setting latency timer of device 0000:00:0a.0 to 64
[ 607.024838] assign_interrupt_mode Found MSI capability
[ 607.024856] Allocate Port Service[0000:00:0a.0:pcie00]
[ 607.042013] Real Time Clock Driver v1.12ac
[ 607.042136] hpet_resources: 0xfed00000 is busy
[ 607.042157] Linux agpgart interface v0.102
[ 607.042158] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[ 607.042282] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 607.042681] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 607.043135] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[ 607.043175] input: Macintosh mouse button emulation as /devices/virtual/input/input0
[ 607.043257] PNP: No PS/2 controller found. Probing ports directly.
[ 607.045221] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 607.045227] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 607.062577] mice: PS/2 mouse device common for all mice
[ 607.062610] cpuidle: using governor ladder
[ 607.062611] cpuidle: using governor menu
[ 607.062715] NET: Registered protocol family 1
[ 607.062791] registered taskstats version 1
[ 607.062884] Magic number: 4:806:729
[ 607.062984] /build/buildd/linux-2.6.24/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 607.062986] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 607.062987] EDD information not available.
[ 607.062996] Freeing unused kernel memory: 320k freed
[ 608.174449] fuse init (API version 7.9)
[ 608.188017] ACPI Exception (processor_core-0822): AE_NOT_FOUND, Processor Device is not present [20070126]
[ 608.188026] ACPI Exception (processor_core-0822): AE_NOT_FOUND, Processor Device is not present [20070126]
[ 608.362525] SCSI subsystem initialized
[ 608.382237] libata version 3.00 loaded.
[ 608.385820] usbcore: registered new interface driver usbfs
[ 608.385835] usbcore: registered new interface driver hub
[ 608.385883] r8169 Gigabit Ethernet driver 2.2LK loaded
[ 608.385902] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 18 (level, low) -> IRQ 18
[ 608.385917] PCI: Setting latency timer of device 0000:03:00.0 to 64
[ 608.386138] eth0: RTL8168c/8111c at 0xffffc20001032000, 00:1f:d0:59:0e:66, XID 3c4000c0 IRQ 509
[ 608.389074] usbcore: registered new device driver usb
[ 608.389113] ahci 0000:00:11.0: version 3.0
[ 608.389137] ACPI: PCI Interrupt 0000:00:11.0[A] -> GSI 22 (level, low) -> IRQ 22
[ 608.389399] ahci 0000:00:11.0: controller can't do PMP, turning off CAP_PMP
[ 608.406749] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
[ 608.409284] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[ 608.409288] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[ 608.476867] Floppy drive(s): fd0 is 1.44M
[ 608.493550] FDC 0 is a post-1991 82077
[ 609.388168] ahci 0000:00:11.0: AHCI 0001.0100 32 slots 6 ports 3 Gbps 0x3f impl SATA mode
[ 609.388172] ahci 0000:00:11.0: flags: 64bit ncq sntf ilck pm led clo pio slum part
[ 609.388997] scsi0 : ahci
[ 609.389159] scsi1 : ahci
[ 609.389262] scsi2 : ahci
[ 609.389355] scsi3 : ahci
[ 609.389450] scsi4 : ahci
[ 609.389545] scsi5 : ahci
[ 609.389611] ata1: SATA max UDMA/133 abar m1024@0xfe02f000 port 0xfe02f100 irq 508
[ 609.389614] ata2: SATA max UDMA/133 abar m1024@0xfe02f000 port 0xfe02f180 irq 508
[ 609.389618] ata3: SATA max UDMA/133 abar m1024@0xfe02f000 port 0xfe02f200 irq 508
[ 609.389621] ata4: SATA max UDMA/133 abar m1024@0xfe02f000 port 0xfe02f280 irq 508
[ 609.389624] ata5: SATA max UDMA/133 abar m1024@0xfe02f000 port 0xfe02f300 irq 508
[ 609.389627] ata6: SATA max UDMA/133 abar m1024@0xfe02f000 port 0xfe02f380 irq 508
[ 609.863246] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 609.877518] ata1.00: HPA unlocked: 1465147055 -> 1465149168, native 1465149168
[ 609.877523] ata1.00: ATA-7: SAMSUNG HD753LJ, 1AA01112, max UDMA7
[ 609.877525] ata1.00: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 609.883906] ata1.00: configured for UDMA/133
[ 610.354345] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 610.362296] ata2.00: ATA-7: SAMSUNG HD753LJ, 1AA01112, max UDMA7
[ 610.362298] ata2.00: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 610.368676] ata2.00: configured for UDMA/133
[ 610.841449] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 610.849398] ata3.00: ATA-7: SAMSUNG HD753LJ, 1AA01112, max UDMA7
[ 610.849400] ata3.00: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 610.855779] ata3.00: configured for UDMA/133
[ 611.164850] ata4: SATA link down (SStatus 0 SControl 300)
[ 611.639978] ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 611.797598] ata5.00: ATAPI: ASUS DRW-2014L1T, 1.00, max UDMA/66, ATAPI AN
[ 611.953313] ata5.00: configured for UDMA/66
[ 612.262829] ata6: SATA link down (SStatus 0 SControl 300)
[ 612.262901] scsi 0:0:0:0: Direct-Access ATA SAMSUNG HD753LJ 1AA0 PQ: 0 ANSI: 5
[ 612.263160] scsi 1:0:0:0: Direct-Access ATA SAMSUNG HD753LJ 1AA0 PQ: 0 ANSI: 5
[ 612.263367] scsi 2:0:0:0: Direct-Access ATA SAMSUNG HD753LJ 1AA0 PQ: 0 ANSI: 5
[ 612.265401] scsi 4:0:0:0: CD-ROM ASUS DRW-2014L1T 1.00 PQ: 0 ANSI: 5
[ 612.264001] ACPI: PCI Interrupt 0000:00:12.2[B] -> GSI 17 (level, low) -> IRQ 17
[ 612.264215] ehci_hcd 0000:00:12.2: EHCI Host Controller
[ 612.264384] ehci_hcd 0000:00:12.2: new USB bus registered, assigned bus number 1
[ 612.264425] ehci_hcd 0000:00:12.2: debug port 1
[ 612.264442] ehci_hcd 0000:00:12.2: irq 17, io mem 0xfe02c000
[ 612.272099] Driver 'sd' needs updating - please use bus_type methods
[ 612.272628] Driver 'sr' needs updating - please use bus_type methods
[ 612.274817] ehci_hcd 0000:00:12.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 612.274895] usb usb1: configuration #1 chosen from 1 choice
[ 612.274911] hub 1-0:1.0: USB hub found
[ 612.274916] hub 1-0:1.0: 6 ports detected
[ 612.280959] sd 0:0:0:0: [sda] 1465149168 512-byte hardware sectors (750156 MB)
[ 612.280968] sd 0:0:0:0: [sda] Write Protect is off
[ 612.280969] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 612.280979] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 612.281018] sd 0:0:0:0: [sda] 1465149168 512-byte hardware sectors (750156 MB)
[ 612.281023] sd 0:0:0:0: [sda] Write Protect is off
[ 612.281025] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 612.281033] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 612.281035] sda: sda1 sda2 sda3
[ 612.286728] sd 0:0:0:0: [sda] Attached SCSI disk
[ 612.286762] sd 1:0:0:0: [sdb] 1465149168 512-byte hardware sectors (750156 MB)
[ 612.286767] sd 1:0:0:0: [sdb] Write Protect is off
[ 612.286768] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 612.286776] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 612.286795] sd 1:0:0:0: [sdb] 1465149168 512-byte hardware sectors (750156 MB)
[ 612.286800] sd 1:0:0:0: [sdb] Write Protect is off
[ 612.286802] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 612.286810] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 612.286812] sdb: sdb1
[ 612.299379] sd 1:0:0:0: [sdb] Attached SCSI disk
[ 612.299405] sd 2:0:0:0: [sdc] 1465149168 512-byte hardware sectors (750156 MB)
[ 612.299410] sd 2:0:0:0: [sdc] Write Protect is off
[ 612.299412] sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[ 612.299420] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 612.299438] sd 2:0:0:0: [sdc] 1465149168 512-byte hardware sectors (750156 MB)
[ 612.299444] sd 2:0:0:0: [sdc] Write Protect is off
[ 612.299445] sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[ 612.299453] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 612.299455] sdc: sdc1
[ 612.315966] sd 2:0:0:0: [sdc] Attached SCSI disk
[ 612.321598] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 612.321611] sd 1:0:0:0: Attached scsi generic sg1 type 0
[ 612.321623] sd 2:0:0:0: Attached scsi generic sg2 type 0
[ 612.321636] sr 4:0:0:0: Attached scsi generic sg3 type 5
[ 612.322365] sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[ 612.322369] Uniform CD-ROM driver Revision: 3.20
[ 612.322404] sr 4:0:0:0: Attached scsi CD-ROM sr0
[ 612.378687] ACPI: PCI Interrupt 0000:00:13.2[B] -> GSI 19 (level, low) -> IRQ 19
[ 612.378946] ehci_hcd 0000:00:13.2: EHCI Host Controller
[ 612.378992] ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 2
[ 612.379028] ehci_hcd 0000:00:13.2: debug port 1
[ 612.379044] ehci_hcd 0000:00:13.2: irq 19, io mem 0xfe029000
[ 612.390585] ehci_hcd 0000:00:13.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 612.390647] usb usb2: configuration #1 chosen from 1 choice
[ 612.390664] hub 2-0:1.0: USB hub found
[ 612.390668] hub 2-0:1.0: 6 ports detected
[ 612.494535] ACPI: PCI Interrupt 0000:00:12.0[A] -> GSI 16 (level, low) -> IRQ 16
[ 612.494802] ohci_hcd 0000:00:12.0: OHCI Host Controller
[ 612.494851] ohci_hcd 0000:00:12.0: new USB bus registered, assigned bus number 3
[ 612.494872] ohci_hcd 0000:00:12.0: irq 16, io mem 0xfe02e000
[ 612.547732] kjournald starting. Commit interval 5 seconds
[ 612.547740] EXT3-fs: mounted filesystem with ordered data mode.
[ 612.554384] usb usb3: configuration #1 chosen from 1 choice
[ 612.554402] hub 3-0:1.0: USB hub found
[ 612.554411] hub 3-0:1.0: 3 ports detected
[ 612.662157] ACPI: PCI Interrupt 0000:00:12.1[A] -> GSI 16 (level, low) -> IRQ 16
[ 612.662442] ohci_hcd 0000:00:12.1: OHCI Host Controller
[ 612.662488] ohci_hcd 0000:00:12.1: new USB bus registered, assigned bus number 4
[ 612.662503] ohci_hcd 0000:00:12.1: irq 16, io mem 0xfe02d000
[ 612.718072] usb usb4: configuration #1 chosen from 1 choice
[ 612.718088] hub 4-0:1.0: USB hub found
[ 612.718096] hub 4-0:1.0: 3 ports detected
[ 612.821838] ACPI: PCI Interrupt 0000:00:13.0[A] -> GSI 18 (level, low) -> IRQ 18
[ 612.822033] ohci_hcd 0000:00:13.0: OHCI Host Controller
[ 612.822075] ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 5
[ 612.822097] ohci_hcd 0000:00:13.0: irq 18, io mem 0xfe02b000
[ 612.881768] usb usb5: configuration #1 chosen from 1 choice
[ 612.881784] hub 5-0:1.0: USB hub found
[ 612.881791] hub 5-0:1.0: 3 ports detected
[ 612.981572] ACPI: PCI Interrupt 0000:00:13.1[A] -> GSI 18 (level, low) -> IRQ 18
[ 612.981768] ohci_hcd 0000:00:13.1: OHCI Host Controller
[ 612.981812] ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 6
[ 612.981828] ohci_hcd 0000:00:13.1: irq 18, io mem 0xfe02a000
[ 613.041478] usb usb6: configuration #1 chosen from 1 choice
[ 613.041496] hub 6-0:1.0: USB hub found
[ 613.041504] hub 6-0:1.0: 3 ports detected
[ 613.149258] ACPI: PCI Interrupt 0000:00:14.5[C] -> GSI 18 (level, low) -> IRQ 18
[ 613.149498] ohci_hcd 0000:00:14.5: OHCI Host Controller
[ 613.149545] ohci_hcd 0000:00:14.5: new USB bus registered, assigned bus number 7
[ 613.149560] ohci_hcd 0000:00:14.5: irq 18, io mem 0xfe028000
[ 613.205168] usb usb7: configuration #1 chosen from 1 choice
[ 613.205183] hub 7-0:1.0: USB hub found
[ 613.205190] hub 7-0:1.0: 2 ports detected
[ 613.217063] usb 4-1: new low speed USB device using ohci_hcd and address 2
[ 613.313048] ACPI: PCI Interrupt 0000:04:0e.0[A] -> GSI 22 (level, low) -> IRQ 22
[ 613.319322] ATIIXP: IDE controller (0x1002:0x439c rev 0x00) at PCI slot 0000:00:14.1
[ 613.319336] ACPI: PCI Interrupt 0000:00:14.1[A] -> GSI 16 (level, low) -> IRQ 16
[ 613.319344] ATIIXP: not 100% native mode: will probe irqs later
[ 613.319350] ide0: BM-DMA at 0xfa00-0xfa07, BIOS settings: hda:pio, hdb:pio
[ 613.319364] ATIIXP: simplex device: DMA disabled
[ 613.319365] ide1: ATIIXP Bus-Master DMA disabled (BIOS)
[ 613.319367] Probing IDE interface ide0...
[ 613.363106] ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[22] MMIO=[fdcff000-fdcff7ff] Max Packet=[2048] IR/IT contexts=[4/8]
[ 613.439447] usb 4-1: configuration #1 chosen from 1 choice
[ 613.885966] Probing IDE interface ide1...
[ 614.632675] ieee1394: Host added: ID:BUS[0-00:1023] GUID[007196ad00001fd0]
[ 618.020542] input: PC Speaker as /devices/platform/pcspkr/input/input1
[ 618.094611] parport_pc 00:0a: reported by Plug and Play ACPI
[ 618.094700] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
[ 618.116886] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 618.126661] shpchp: HPC vendor_id 1022 device_id 9602 ss_vid 0 ss_did 0
[ 618.126664] shpchp: shpc_init: cannot reserve MMIO region
[ 618.126679] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 618.319900] piix4_smbus 0000:00:14.0: Found 0000:00:14.0 device
[ 618.353207] input: Power Button (FF) as /devices/virtual/input/input2
[ 618.413680] ACPI: Power Button (FF) [PWRF]
[ 618.413719] input: Power Button (CM) as /devices/virtual/input/input3
[ 618.477555] ACPI: Power Button (CM) [PWRB]
[ 618.477612] ACPI: WMI-Acer: Mapper loaded
[ 618.638490] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[ 618.660857] [fglrx] Maximum main memory to use for locked dma buffers: 3544 MBytes.
[ 618.660879] [fglrx] ASYNCIO init succeed!
[ 618.661145] [fglrx] PAT is enabled successfully!
[ 618.661164] [fglrx] module loaded - fglrx 8.47.3 [Feb 25 2008] on minor 0
[ 618.796772] ACPI: PCI Interrupt 0000:00:14.2[A] -> GSI 16 (level, low) -> IRQ 16
[ 618.830724] hda_codec: Unknown model for ALC882, trying auto-probe from BIOS...
[ 618.862920] ACPI: PCI Interrupt 0000:01:05.1[B] -> GSI 19 (level, low) -> IRQ 19
[ 618.863113] PCI: Setting latency timer of device 0000:01:05.1 to 64
[ 618.877189] Linux video capture interface: v2.00
[ 618.904697] cx23885 driver version 0.0.1 loaded
[ 618.915437] ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
[ 618.915454] CORE cx23885[0]: subsystem: 107d:6681, board: Leadtek Winfast PxDVR3200 H [card=11,autodetected]
[ 619.055435] cx23885[0]: i2c bus 0 registered
[ 619.055458] cx23885[0]: i2c bus 1 registered
[ 619.055494] cx23885[0]: i2c bus 2 registered
[ 619.088471] usbcore: registered new interface driver hiddev
[ 619.092669] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:12.1/usb4/4-1/4-1:1.0/input/input4
[ 619.097124] cx25840' 3-0044: cx25 0-21 found @ 0x88 (cx23885[0])
[ 619.097461] cx23885[0]: cx23885 based dvb card
[ 619.144431] input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:12.1-1
[ 619.151586] Fixing up Logitech keyboard report descriptor
[ 619.151948] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:12.1/usb4/4-1/4-1:1.1/input/input5
[ 619.155423] xc2028 2-0061: creating new instance
[ 619.155425] xc2028 2-0061: type set to XCeive xc2028/xc3028 tuner
[ 619.155429] DVB: registering new adapter (cx23885[0])
[ 619.155431] DVB: registering frontend 0 (Zarlink ZL10353 DVB-T)...
[ 619.155606] cx23885_dev_checkrevision() Hardware revision = 0xb0
[ 619.155612] cx23885[0]/0: found at 0000:02:00.0, rev: 2, irq: 16, latency: 0, mmio: 0xfd600000
[ 619.155618] PCI: Setting latency timer of device 0000:02:00.0 to 64
[ 619.220198] input,hiddev96,hidraw1: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:12.1-1
[ 619.220212] usbcore: registered new interface driver usbhid
[ 619.220215] /build/buildd/linux-2.6.24/drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
[ 620.351417] lp0: using parport0 (interrupt-driven).
[ 620.443761] cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.6 loaded
[ 620.446360] cx88/2: cx2388x dvb driver version 0.0.6 loaded
[ 620.446362] cx88/2: registering cx8802 driver, type: dvb access: shared
[ 620.492913] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 712.572112] EXT3 FS on sda1, internal journal
[ 712.647928] device-mapper: uevent: version 1.0.3
[ 712.647955] device-mapper: ioctl: 4.12.0-ioctl (2007-10-02) initialised: dm-devel@redhat.com
[ 713.535844] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 713.711042] No dock devices found.
[ 713.956544] powernow-k8: Found 1 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ processors (2 cpu cores) (version 2.20.00)
[ 713.955216] powernow-k8: 0 : fid 0x16 (3000 MHz), vid 0x6
[ 713.955219] powernow-k8: 1 : fid 0x14 (2800 MHz), vid 0x8
[ 713.955220] powernow-k8: 2 : fid 0x12 (2600 MHz), vid 0xa
[ 713.955221] powernow-k8: 3 : fid 0x10 (2400 MHz), vid 0xc
[ 713.955222] powernow-k8: 4 : fid 0xe (2200 MHz), vid 0xe
[ 713.955224] powernow-k8: 5 : fid 0xc (2000 MHz), vid 0x10
[ 713.955225] powernow-k8: 6 : fid 0xa (1800 MHz), vid 0x10
[ 713.955226] powernow-k8: 7 : fid 0x2 (1000 MHz), vid 0x12
[ 715.974179] ppdev: user-space parallel port driver
[ 716.157297] audit(1218710640.051:2): type=1503 operation="inode_permission" requested_mask="a::" denied_mask="a::" name="/dev/tty" pid=6176 profile="/usr/sbin/cupsd"namespace="default"
[ 716.673548] vboxdrv: Trying to deactivate the NMI watchdog permanently...
[ 716.673553] vboxdrv: Successfully done.
[ 716.673735] vboxdrv: TSC mode is 'asynchronous', kernel timer mode is 'normal'.
[ 716.673737] vboxdrv: Successfully loaded version 1.5.6_OSE (interface 0x00050002).
[ 717.276602] NET: Registered protocol family 10
[ 717.276775] lo: Disabled Privacy Extensions
[ 717.557706] Clocksource tsc unstable (delta = -333333896 ns)
[ 717.959797] r8169: eth0: link up
[ 717.959802] r8169: eth0: link up
[ 718.366713] Bluetooth: Core ver 2.11
[ 718.366938] NET: Registered protocol family 31
[ 718.366941] Bluetooth: HCI device and connection manager initialized
[ 718.366943] Bluetooth: HCI socket layer initialized
[ 718.379945] Bluetooth: L2CAP ver 2.9
[ 718.379949] Bluetooth: L2CAP socket layer initialized
[ 718.401166] Bluetooth: RFCOMM socket layer initialized
[ 718.401175] Bluetooth: RFCOMM TTY layer initialized
[ 718.401177] Bluetooth: RFCOMM ver 1.8
[ 719.014849] NET: Registered protocol family 17
[ 719.608746] ACPI: PCI Interrupt 0000:01:05.0[A] -> GSI 18 (level, low) -> IRQ 18
[ 720.835888] [fglrx] GART Table is not in FRAME_BUFFER range
[ 720.835894] [fglrx] Reserve Block - 0 offset = 0Xfffc000 length = 0X4000
[ 720.835896] [fglrx] Reserve Block - 1 offset = 0X0 length = 0X1000000
[ 721.003178] [fglrx] interrupt source ff000034 successfully enabled
[ 721.003182] [fglrx] enable ID = 0x00000006
[ 721.003431] [fglrx] Receive enable interrupt message with irqEnableMask: ff000034
[ 721.003590] [fglrx] interrupt source 10000000 successfully enabled
[ 721.003592] [fglrx] enable ID = 0x00000007
[ 721.003743] [fglrx] Receive enable interrupt message with irqEnableMask: 10000000
[ 725.219799] eth0: no IPv6 routers present
[ 757.185664] hda-intel: Invalid position buffer, using LPIB read method instead.
[ 834.456661] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 834.457381] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 834.469514] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 835.471081] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 835.471799] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 835.474727] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 836.258057] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 836.258585] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 836.260885] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 836.775890] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 836.776134] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 836.777962] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 837.111089] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 837.111333] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 837.112982] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 837.114795] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 837.115034] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 837.116561] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 837.450277] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 837.450520] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 837.452125] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 837.784641] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 837.784874] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 837.786454] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 838.119337] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 838.119580] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 838.121135] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 838.454548] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 838.454791] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 838.456409] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 838.458236] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 838.458472] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 838.460025] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 838.795043] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 838.795287] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 838.796868] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 839.128069] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 839.128312] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 839.130090] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 839.464120] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 839.464363] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 839.466219] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 839.797789] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 839.798032] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 839.799765] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 840.133195] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 840.133437] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 840.135325] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 840.467595] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 840.467838] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 840.469769] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 840.803826] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 840.804070] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 840.805812] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 841.137411] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 841.137655] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 841.139292] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 841.472774] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 841.473017] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 841.474850] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 841.807284] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 841.807526] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 841.809051] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 842.143038] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 842.143282] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 842.144895] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 842.477089] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 842.477332] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 842.478899] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 842.812374] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 842.812617] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 842.814238] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 843.146803] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 843.147048] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 843.148618] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[ 843.483828] zl10353: zl10353_calc_nominal_rate: bw 7, adc_clock 450560 => 0x5ae9
[ 843.484073] zl10353: zl10353_calc_input_freq: if2 45600, ife 45600, adc_clock 450560 => -6633 / 0xe617
[ 843.485652] xc2028 2-0061: Error: firmware xc3028-v27.fw not found.
[-- Attachment #3: tv scan2.txt --]
[-- Type: text/plain, Size: 2487 bytes --]
scanning au-Sydney_North_Shore
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 226500000 1 3 9 3 1 1 0
initial transponder 177500000 1 2 9 3 1 1 0
initial transponder 191625000 1 3 9 3 1 1 0
initial transponder 219500000 1 3 9 3 1 1 0
initial transponder 571500000 1 2 9 3 1 2 0
initial transponder 578500000 1 2 9 3 1 0 0
>>> tune to: 226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 177500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 177500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 191625000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 191625000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 219500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 219500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 571500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 571500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 578500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 578500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
ERROR: initial tuning failed
dumping lists (0 services)
Done.
[-- Attachment #4: 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] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
@ 2008-08-14 23:36 stev391
2008-08-15 13:49 ` Jonathan Hummel
0 siblings, 1 reply; 35+ messages in thread
From: stev391 @ 2008-08-14 23:36 UTC (permalink / raw)
To: Jonathan Hummel; +Cc: linux dvb
> ----- Original Message -----
> From: "Jonathan Hummel" <jhhummel@bigpond.com>
> To: stev391@email.com
> Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
> Date: Thu, 14 Aug 2008 21:18:17 +1000
>
>
> On Thu, 2008-08-14 at 07:49 +1000, stev391@email.com wrote:
> > > ----- Original Message -----
> > > From: "Jonathan Hummel" <jhhummel@bigpond.com>
> > > To: stev391@email.com
> > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
> > > Date: Wed, 13 Aug 2008 22:46:05 +1000
> > > > > On Tue, 2008-08-12 at 09:59 +1000, stev391@email.com wrote:
> > > > > ----- Original Message -----
> > > > > From: "Jonathan Hummel" <jhhummel@bigpond.com>
> > > > > To: stev391@email.com
> > > > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
> > > > > Date: Mon, 11 Aug 2008 23:36:25 +1000
> > > > > > > On Sun, 2008-08-10 at 11:42 +1000, stev391@email.com wrote:
> > > > > >
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: "Jonathan Hummel" To: stev391@email.com
> > > > > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> > > > > > 3200 H - DVB Only support
> > > > > > Date: Sat, 09 Aug 2008 21:48:21 +1000
> > > > > >
> > > > > >
> > > > > > Hi All,
> > > > > >
> > > > > > Finnaly got some time to give the patch a go. I used the
> > > > > > pacakges
> > > > > > Stephen, sent the link to, not Mark's. I cant't get past the
> > > > > > attached
> > > > > > problem. The dmesg output is attached. I tried setting the
> > > > > > card like
> > > > > > this:
> > > > > > /etc/modprobe.d/options file and add the line: options cx88xx
> > > > > > card=11
> > > > > > I also tried the following two varients:
> > > > > > cx23885 card=11
> > > > > > cx23885 card=12
> > > > > >
> > > > > > I also got what looked like an error message when applying the
> > > > > > first
> > > > > > patch, something like "strip count 1 is not a
> > > > > > number" (although 1 not
> > > > > > being a number would explain my difficulties with maths!)
> > > > > >
> > > > > > Cheers
> > > > > >
> > > > > > Jon
> > > > > >
> > > > > > On Wed, 2008-08-06 at 07:33 +1000, stev391@email.com wrote:
> > > > > > > Mark, Jon,
> > > > > > >
> > > > > > > The patches I made were not against the v4l-dvb tip that is
> > > > > > referenced
> > > > > > > in Mark's email below. I did this on purpose because there
> > > > > > is a small
> > > > > > > amount of refactoring (recoding to make it better) being
> > > > > > performed by
> > > > > > > Steven Toth and others.
> > > > > > >
> > > > > > > To get the version I used for the patch download (This is
> > > > > > for the
> > > > > > > first initial patch [you can tell it is this one as the
> > > > > > patch file
> > > > > > > mentions cx23885-sram in the path]):
> > > > > > > http://linuxtv.org/hg/~stoth/cx23885-sram/archive/tip.tar.gz
> > > > > > >
> > > > > > > For the second patch that emailed less then 12 hours ago
> > > > > > download this
> > > > > > > version of drivers:
> > > > > > > http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.gz
> > > > > > > and then apply my patch (this patch mentions v4l-dvb). This
> > > > > > version is
> > > > > > > a cleanup of the previous and uses the generic callback
> > > > > > function.
> > > > > > >
> > > > > > > Other then that you are heading in the correct direction...
> > > > > > >
> > > > > > > Do either of you have the same issue I have that when the
> > > > > > computer is
> > > > > > > first turned on the autodetect card feature doesn't work due
> > > > > > to
> > > > > > > subvendor sub product ids of 0000? Or is just a faulty card
> > > > > > that I
> > > > > > > have?
> > > > > > >
> > > > > > > Regards,
> > > > > > >
> > > > > > > Stephen.
> > > > > > > ----- Original Message -----
> > > > > > > From: "Mark Carbonaro" To: "Jonathan Hummel" > Subject: Re: > > > >
> > [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> > > > > > > 3200 H - DVB Only support
> > > > > > > Date: Tue, 5 Aug 2008 23:47:46 +1000 (EST)
> > > > > > >
> > > > > > >
> > > > > > > Hi Mark,
> > > > > > >
> > > > > > > Forgive my ignorance/ newbie-ness, but what do I do with
> > > > > > that
> > > > > > > patch code
> > > > > > > below? is there a tutorial or howto or something somewhere
> > > > > > > that will
> > > > > > > introduce me to this. I have done some programming, but
> > > > > > > nothing of this
> > > > > > > level.
> > > > > > >
> > > > > > > cheers
> > > > > > >
> > > > > > > Jon
> > > > > > >
> > > > > > > ----- Original Message -----
> > > > > > > From: "Jonathan Hummel" To: "Mark Carbonaro" > Cc:
> > stev391@email.com, > > > > linux-dvb@linuxtv.org
> > > > > > > Sent: Tuesday, 5 August, 2008 10:21:11 PM (GMT+1000)
> > > > > > > Auto-Detected
> > > > > > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> > > > > > > 3200 H - DVB Only support
> > > > > > >
> > > > > > > Hi Jon,
> > > > > > >
> > > > > > > Not a problem at all, I'm new to this myself, below is what
> > > > > > > went through and I may not be doing it the right > way either. So if
> > > > anyone > > would like to point out what I > am doing wrong I would
> > > > > > > really appreciate it.
> > > > > > >
> > > > > > > The file that I downloaded was called
> > > > > > > v4l-dvb-2bade2ed7ac8.tar.bz2 which I downloaded > from > > >
> > > > http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.bz2, I
> > > > > > > also saved the patch to the same location as the download.
> > > > > > >
> > > > > > > The patch didn't apply for me, so I manually patched applied
> > > > > > > the patches and created a new diff that should > hopefully work for
> > > > > > > you also (attached and inline below). From what I > could see the >
> > > offsets in > > Stephens patch were a little off > for this code
> > > > > > > snapshot but otherwise it is all good.
> > > > > > >
> > > > > > > I ran the following using the attached diff...
> > > > > > >
> > > > > > > tar -xjf v4l-dvb-2bade2ed7ac8.tar.bz2
> > > > > > > cd v4l-dvb-2bade2ed7ac8
> > > > > > > patch -p1 < ../Leadtek.Winfast.PxDVR.3200.H.2.diff
> > > > > > >
> > > > > > > Once the patch was applied I was then able to build and
> > > > > > > install the modules as per the instructions in > the INSTALL file. I
> > ran
> > > > > > > the following...
> > > > > > >
> > > > > > > make all
> > > > > > > sudo make install
> > > > > > >
> > > > > > > From there I could load the modules and start testing.
> > > > > > >
> > > > > > > I hope this helps you get started.
> > > > > > >
> > > > > > > Regards,
> > > > > > > Mark
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > Jon,
> > > > > >
> > > > > > The patch did not apply correctly as the dmesg should list an extra
> > > > > > entry in card list (number 12), and it should have autodetected.
> > > > > >
> > > > > > Attached is the newest copy of the patch (save this in the same
> > > > > > directory that you use the following commands from), just to avoid
> > > > > > confusion. Following the following:
> > > > > > wget http://linuxtv.org/hg/~stoth/v4l-dvb/archive/2bade2ed7ac8.tar.gz
> > > > > > tar -xf 2bade2ed7ac8.tar.gz
> > > > > > cd v4l-dvb-2bade2ed7ac8
> > > > > > patch -p1 <../Leadtek_Winfast_PxDVR3200_H.diff
> > > > > > make
> > > > > > sudo make install
> > > > > > sudo make unload
> > > > > > sudo modprobe cx23885
> > > > > >
> > > > > > Now the card should have been detected and you should
> > > > > > have /dev/adapterN/ (where N is a number). If it hasn't been detected
> > > > > > properly you should see a list of cards in dmesg with the card as
> > > > > > number 12. Unload the module (sudo rmmod cx23885) and then load it
> > > > > > with the option card=12 (sudo modprobe cx23885 card=12)
> > > > > >
> > > > > > For further instructions on how to watch digital tv look at the wiki
> > > > > > page (you need to create a channels.conf).
> > > > > >
> > > > > > Regards,
> > > > > > Stephen
> > > > > >
> > > > > > P.S.
> > > > > > Please make sure you cc the linux dvb mailing list, so if anyone else
> > > > > > has the same issue we can work together to solve it.
> > > > > > Also the convention is to post your message at the bottom (I got
> > > > > > caught by this one until recently).
> > > > > >
> > > > > >
> > > > > > -- Be Yourself @ mail.com!
> > > > > > Choose From 200+ Email Addresses
> > > > > > Get a Free Account at www.mail.com!
> > > > > > Hi Stevhen, Mark,
> > > > > > > So you write your post at the bottom of the email?! well that does
> > > > > explain a lot, and does kinda make sense if your intending someone to
> > > > > pick it up halfway through. I just normaly read backwards when that
> > > > > happens to me.
> > > > > > As for the patch. I realised that it is patch -p1 (as in one) not -pl
> > > > > (as in bLoody &*^^* i can't believe i was using the wrong character)
> > > > > which explains why my patches never worked.
> > > > > So the patch applied all fine and that, and dmesg looks great, but I
> > > > > can't find anything by scanning. On my other card, the DTV2000H (rev J)
> > > > > it can scan in MythTV to find channels, and with me-TV, I think it just
> > > > > has a list which it picks from or something, tunes to that frequency to
> > > > > see if there is anything there. Can't do that with this card so far.
> > > > > Attached is the output from scan (or DVB scan) I don't know if it would
> > > > > be useful, but I don't know what is useful for such a problem.
> > > > > > cheers
> > > > > > Jon
> > > >
> > > > Jon,
> > > >
> > > > I'm sorry that I'm going to have to ask some silly questions:
> > > > * Does this card tune in windows to these frequencies?
> > > > * If so what signal level does it report?
> > > > * If you cannot do the above, can you double check that the aerial cable is connected > >
> > correctly to your Antenna.
> > > >
> > > > Can you load the following modules with debug=1:
> > > > tuner_xc2028
> > > > zl10353
> > > > cx23885
> > > >
> > > > and attach the dmesg sections for registering the card, and any output while scanning.
> > > >
> > > > I will try this afternoon with MythTV, but my card was able to scan with the DVB scan.
> > > > I had not heard of Me TV prior to your email, I might install that as well and see how it
> > > > works.
> > > >
> > > > I have a DTV1000T in the same system, from past experience this card requires a strong DVB
> > > > signal while my PxDVR3200H gets drowned out with the same signal. So I have to install a
> > 6dB > > or more attenuator before the card (This is due to a powered splitter installed in the
> > roof > > providing too much signal, which if I remove my DTV1000T gets patchy reception). I
> > wonder if > > this is the same in your case with the DTV2000H? (But if it works in windows
> > reliably it > > should work in Linux).
> > > >
> > > > Regards,
> > > > Stephen.
> > > >
> > > > Hi Stephen,
> > > > I tired the above to no avail. The card works fine under windows (well
> > > as fine as anything can work under windows, as in, windows keeps
> > > stealing resources away from it resulting in jerky viewing in HD mode)
> > > and I can scan in windows too. I still cannot scan in Linux. I've
> > > atached the dmesg and scan outputs. (My appologies for no grep on the
> > > dmesg, I wasn't sure what to grep for). Is there a way to grab a
> > > frequency out of windows then dump that frequency into linux and see if
> > > the card recieves? just a thought that it might help to debug things.
> > > > Cheers
> > > > Jon
> >
> > Jon,
> >
> > The relevant sections of the dmesg will be everything from this line onwards:
> > cx23885 driver version 0.0.1 loaded
> >
> > The section I was looking for wasn't in the dmesg. Please attempt the scan then give the
> > dmesg output after this. (I think you gave me the reverse)
> > What I'm looking for is if the firmware loads correctly and what error messages.
> >
> > Also if you haven't done so already can you ensure that the modules mentioned above are loaded
> > with debug=1.
> > On ubuntu this performed in /etc/modprobe.../options with the following lines (modprobe or
> > something similar):
> > options zl10353 debug=1
> > options tuner_xc2038 debug=1
> > options cx23885 debug=1
> >
> > The either restart or reload these modules.
> > Note this will generate a lot of messages, so when not testing the card put a "#" in front of
> > it to comment it out.
> >
> > Regards,
> > Stephen
> >
> >
> > -- Be Yourself @ mail.com!
> > Choose From 200+ Email Addresses
> > Get a Free Account at www.mail.com
> >
> Hi Stephen
>
> Turns out that if you use that patch that allows you to use your linux
> drive from windows doesn't recognise user permisions. Made editing
> modprobe options easier seeing it was already loaded :)
> Yes I did think I did it in reverse, her it is in the order you wanted.
> Seems to be an issue with the Zarlink chip.
>
> Thanks
>
> Jon
Jon,
You are missing the firmware file, xc2028-v27.fw
If you have this file already, you need to copy it into /lib/firmware/`uname -r`/ (the "uname -r" command will give you the kernel name/version you are currently running)
If you do not have the firmware yet, to obtain it open up the extract_xc3028.pl in the linux/Documentation/video4linux/ within the source directory.
Regards,
Stephen.
--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
2008-08-14 23:36 stev391
@ 2008-08-15 13:49 ` Jonathan Hummel
0 siblings, 0 replies; 35+ messages in thread
From: Jonathan Hummel @ 2008-08-15 13:49 UTC (permalink / raw)
To: stev391; +Cc: linux dvb
On Fri, 2008-08-15 at 09:36 +1000, stev391@email.com wrote:
> > ----- Original Message -----
> > From: "Jonathan Hummel" <jhhummel@bigpond.com>
> > To: stev391@email.com
> > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
> > Date: Thu, 14 Aug 2008 21:18:17 +1000
> >
> >
> > On Thu, 2008-08-14 at 07:49 +1000, stev391@email.com wrote:
> > > > ----- Original Message -----
> > > > From: "Jonathan Hummel" <jhhummel@bigpond.com>
> > > > To: stev391@email.com
> > > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
> > > > Date: Wed, 13 Aug 2008 22:46:05 +1000
> > > > > > On Tue, 2008-08-12 at 09:59 +1000, stev391@email.com wrote:
> > > > > > ----- Original Message -----
> > > > > > From: "Jonathan Hummel" <jhhummel@bigpond.com>
> > > > > > To: stev391@email.com
> > > > > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
> > > > > > Date: Mon, 11 Aug 2008 23:36:25 +1000
> > > > > > > > On Sun, 2008-08-10 at 11:42 +1000, stev391@email.com wrote:
> > > > > > >
> > > > > > >
> > > > > > > ----- Original Message -----
> > > > > > > From: "Jonathan Hummel" To: stev391@email.com
> > > > > > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> > > > > > > 3200 H - DVB Only support
> > > > > > > Date: Sat, 09 Aug 2008 21:48:21 +1000
> > > > > > >
> > > > > > >
> > > > > > > Hi All,
> > > > > > >
> > > > > > > Finnaly got some time to give the patch a go. I used the
> > > > > > > pacakges
> > > > > > > Stephen, sent the link to, not Mark's. I cant't get past the
> > > > > > > attached
> > > > > > > problem. The dmesg output is attached. I tried setting the
> > > > > > > card like
> > > > > > > this:
> > > > > > > /etc/modprobe.d/options file and add the line: options cx88xx
> > > > > > > card=11
> > > > > > > I also tried the following two varients:
> > > > > > > cx23885 card=11
> > > > > > > cx23885 card=12
> > > > > > >
> > > > > > > I also got what looked like an error message when applying the
> > > > > > > first
> > > > > > > patch, something like "strip count 1 is not a
> > > > > > > number" (although 1 not
> > > > > > > being a number would explain my difficulties with maths!)
> > > > > > >
> > > > > > > Cheers
> > > > > > >
> > > > > > > Jon
> > > > > > >
> > > > > > > On Wed, 2008-08-06 at 07:33 +1000, stev391@email.com wrote:
> > > > > > > > Mark, Jon,
> > > > > > > >
> > > > > > > > The patches I made were not against the v4l-dvb tip that is
> > > > > > > referenced
> > > > > > > > in Mark's email below. I did this on purpose because there
> > > > > > > is a small
> > > > > > > > amount of refactoring (recoding to make it better) being
> > > > > > > performed by
> > > > > > > > Steven Toth and others.
> > > > > > > >
> > > > > > > > To get the version I used for the patch download (This is
> > > > > > > for the
> > > > > > > > first initial patch [you can tell it is this one as the
> > > > > > > patch file
> > > > > > > > mentions cx23885-sram in the path]):
> > > > > > > > http://linuxtv.org/hg/~stoth/cx23885-sram/archive/tip.tar.gz
> > > > > > > >
> > > > > > > > For the second patch that emailed less then 12 hours ago
> > > > > > > download this
> > > > > > > > version of drivers:
> > > > > > > > http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.gz
> > > > > > > > and then apply my patch (this patch mentions v4l-dvb). This
> > > > > > > version is
> > > > > > > > a cleanup of the previous and uses the generic callback
> > > > > > > function.
> > > > > > > >
> > > > > > > > Other then that you are heading in the correct direction...
> > > > > > > >
> > > > > > > > Do either of you have the same issue I have that when the
> > > > > > > computer is
> > > > > > > > first turned on the autodetect card feature doesn't work due
> > > > > > > to
> > > > > > > > subvendor sub product ids of 0000? Or is just a faulty card
> > > > > > > that I
> > > > > > > > have?
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > >
> > > > > > > > Stephen.
> > > > > > > > ----- Original Message -----
> > > > > > > > From: "Mark Carbonaro" To: "Jonathan Hummel" > Subject: Re: > > > >
> > > [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> > > > > > > > 3200 H - DVB Only support
> > > > > > > > Date: Tue, 5 Aug 2008 23:47:46 +1000 (EST)
> > > > > > > >
> > > > > > > >
> > > > > > > > Hi Mark,
> > > > > > > >
> > > > > > > > Forgive my ignorance/ newbie-ness, but what do I do with
> > > > > > > that
> > > > > > > > patch code
> > > > > > > > below? is there a tutorial or howto or something somewhere
> > > > > > > > that will
> > > > > > > > introduce me to this. I have done some programming, but
> > > > > > > > nothing of this
> > > > > > > > level.
> > > > > > > >
> > > > > > > > cheers
> > > > > > > >
> > > > > > > > Jon
> > > > > > > >
> > > > > > > > ----- Original Message -----
> > > > > > > > From: "Jonathan Hummel" To: "Mark Carbonaro" > Cc:
> > > stev391@email.com, > > > > linux-dvb@linuxtv.org
> > > > > > > > Sent: Tuesday, 5 August, 2008 10:21:11 PM (GMT+1000)
> > > > > > > > Auto-Detected
> > > > > > > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> > > > > > > > 3200 H - DVB Only support
> > > > > > > >
> > > > > > > > Hi Jon,
> > > > > > > >
> > > > > > > > Not a problem at all, I'm new to this myself, below is what
> > > > > > > > went through and I may not be doing it the right > way either. So if
> > > > > anyone > > would like to point out what I > am doing wrong I would
> > > > > > > > really appreciate it.
> > > > > > > >
> > > > > > > > The file that I downloaded was called
> > > > > > > > v4l-dvb-2bade2ed7ac8.tar.bz2 which I downloaded > from > > >
> > > > > http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.bz2, I
> > > > > > > > also saved the patch to the same location as the download.
> > > > > > > >
> > > > > > > > The patch didn't apply for me, so I manually patched applied
> > > > > > > > the patches and created a new diff that should > hopefully work for
> > > > > > > > you also (attached and inline below). From what I > could see the >
> > > > offsets in > > Stephens patch were a little off > for this code
> > > > > > > > snapshot but otherwise it is all good.
> > > > > > > >
> > > > > > > > I ran the following using the attached diff...
> > > > > > > >
> > > > > > > > tar -xjf v4l-dvb-2bade2ed7ac8.tar.bz2
> > > > > > > > cd v4l-dvb-2bade2ed7ac8
> > > > > > > > patch -p1 < ../Leadtek.Winfast.PxDVR.3200.H.2.diff
> > > > > > > >
> > > > > > > > Once the patch was applied I was then able to build and
> > > > > > > > install the modules as per the instructions in > the INSTALL file. I
> > > ran
> > > > > > > > the following...
> > > > > > > >
> > > > > > > > make all
> > > > > > > > sudo make install
> > > > > > > >
> > > > > > > > From there I could load the modules and start testing.
> > > > > > > >
> > > > > > > > I hope this helps you get started.
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > Mark
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Jon,
> > > > > > >
> > > > > > > The patch did not apply correctly as the dmesg should list an extra
> > > > > > > entry in card list (number 12), and it should have autodetected.
> > > > > > >
> > > > > > > Attached is the newest copy of the patch (save this in the same
> > > > > > > directory that you use the following commands from), just to avoid
> > > > > > > confusion. Following the following:
> > > > > > > wget http://linuxtv.org/hg/~stoth/v4l-dvb/archive/2bade2ed7ac8.tar.gz
> > > > > > > tar -xf 2bade2ed7ac8.tar.gz
> > > > > > > cd v4l-dvb-2bade2ed7ac8
> > > > > > > patch -p1 <../Leadtek_Winfast_PxDVR3200_H.diff
> > > > > > > make
> > > > > > > sudo make install
> > > > > > > sudo make unload
> > > > > > > sudo modprobe cx23885
> > > > > > >
> > > > > > > Now the card should have been detected and you should
> > > > > > > have /dev/adapterN/ (where N is a number). If it hasn't been detected
> > > > > > > properly you should see a list of cards in dmesg with the card as
> > > > > > > number 12. Unload the module (sudo rmmod cx23885) and then load it
> > > > > > > with the option card=12 (sudo modprobe cx23885 card=12)
> > > > > > >
> > > > > > > For further instructions on how to watch digital tv look at the wiki
> > > > > > > page (you need to create a channels.conf).
> > > > > > >
> > > > > > > Regards,
> > > > > > > Stephen
> > > > > > >
> > > > > > > P.S.
> > > > > > > Please make sure you cc the linux dvb mailing list, so if anyone else
> > > > > > > has the same issue we can work together to solve it.
> > > > > > > Also the convention is to post your message at the bottom (I got
> > > > > > > caught by this one until recently).
> > > > > > >
> > > > > > >
> > > > > > > -- Be Yourself @ mail.com!
> > > > > > > Choose From 200+ Email Addresses
> > > > > > > Get a Free Account at www.mail.com!
> > > > > > > Hi Stevhen, Mark,
> > > > > > > > So you write your post at the bottom of the email?! well that does
> > > > > > explain a lot, and does kinda make sense if your intending someone to
> > > > > > pick it up halfway through. I just normaly read backwards when that
> > > > > > happens to me.
> > > > > > > As for the patch. I realised that it is patch -p1 (as in one) not -pl
> > > > > > (as in bLoody &*^^* i can't believe i was using the wrong character)
> > > > > > which explains why my patches never worked.
> > > > > > So the patch applied all fine and that, and dmesg looks great, but I
> > > > > > can't find anything by scanning. On my other card, the DTV2000H (rev J)
> > > > > > it can scan in MythTV to find channels, and with me-TV, I think it just
> > > > > > has a list which it picks from or something, tunes to that frequency to
> > > > > > see if there is anything there. Can't do that with this card so far.
> > > > > > Attached is the output from scan (or DVB scan) I don't know if it would
> > > > > > be useful, but I don't know what is useful for such a problem.
> > > > > > > cheers
> > > > > > > Jon
> > > > >
> > > > > Jon,
> > > > >
> > > > > I'm sorry that I'm going to have to ask some silly questions:
> > > > > * Does this card tune in windows to these frequencies?
> > > > > * If so what signal level does it report?
> > > > > * If you cannot do the above, can you double check that the aerial cable is connected > >
> > > correctly to your Antenna.
> > > > >
> > > > > Can you load the following modules with debug=1:
> > > > > tuner_xc2028
> > > > > zl10353
> > > > > cx23885
> > > > >
> > > > > and attach the dmesg sections for registering the card, and any output while scanning.
> > > > >
> > > > > I will try this afternoon with MythTV, but my card was able to scan with the DVB scan.
> > > > > I had not heard of Me TV prior to your email, I might install that as well and see how it
> > > > > works.
> > > > >
> > > > > I have a DTV1000T in the same system, from past experience this card requires a strong DVB
> > > > > signal while my PxDVR3200H gets drowned out with the same signal. So I have to install a
> > > 6dB > > or more attenuator before the card (This is due to a powered splitter installed in the
> > > roof > > providing too much signal, which if I remove my DTV1000T gets patchy reception). I
> > > wonder if > > this is the same in your case with the DTV2000H? (But if it works in windows
> > > reliably it > > should work in Linux).
> > > > >
> > > > > Regards,
> > > > > Stephen.
> > > > >
> > > > > Hi Stephen,
> > > > > I tired the above to no avail. The card works fine under windows (well
> > > > as fine as anything can work under windows, as in, windows keeps
> > > > stealing resources away from it resulting in jerky viewing in HD mode)
> > > > and I can scan in windows too. I still cannot scan in Linux. I've
> > > > atached the dmesg and scan outputs. (My appologies for no grep on the
> > > > dmesg, I wasn't sure what to grep for). Is there a way to grab a
> > > > frequency out of windows then dump that frequency into linux and see if
> > > > the card recieves? just a thought that it might help to debug things.
> > > > > Cheers
> > > > > Jon
> > >
> > > Jon,
> > >
> > > The relevant sections of the dmesg will be everything from this line onwards:
> > > cx23885 driver version 0.0.1 loaded
> > >
> > > The section I was looking for wasn't in the dmesg. Please attempt the scan then give the
> > > dmesg output after this. (I think you gave me the reverse)
> > > What I'm looking for is if the firmware loads correctly and what error messages.
> > >
> > > Also if you haven't done so already can you ensure that the modules mentioned above are loaded
> > > with debug=1.
> > > On ubuntu this performed in /etc/modprobe.../options with the following lines (modprobe or
> > > something similar):
> > > options zl10353 debug=1
> > > options tuner_xc2038 debug=1
> > > options cx23885 debug=1
> > >
> > > The either restart or reload these modules.
> > > Note this will generate a lot of messages, so when not testing the card put a "#" in front of
> > > it to comment it out.
> > >
> > > Regards,
> > > Stephen
> > >
> > >
> > > -- Be Yourself @ mail.com!
> > > Choose From 200+ Email Addresses
> > > Get a Free Account at www.mail.com
> > >
> > Hi Stephen
> >
> > Turns out that if you use that patch that allows you to use your linux
> > drive from windows doesn't recognise user permisions. Made editing
> > modprobe options easier seeing it was already loaded :)
> > Yes I did think I did it in reverse, her it is in the order you wanted.
> > Seems to be an issue with the Zarlink chip.
> >
> > Thanks
> >
> > Jon
>
> Jon,
>
> You are missing the firmware file, xc2028-v27.fw
>
> If you have this file already, you need to copy it into /lib/firmware/`uname -r`/ (the "uname -r" command will give you the kernel name/version you are currently running)
>
> If you do not have the firmware yet, to obtain it open up the extract_xc3028.pl in the linux/Documentation/video4linux/ within the source directory.
>
> Regards,
> Stephen.
>
>
Hi Stephen,
Yeap, that did the trick! Would that be a bug in Ubuntu, not having that
firmware. Should I submit a bug report for that?
cheers
Jon
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
@ 2008-08-16 1:35 stev391
2008-08-16 4:14 ` Robert Golding
0 siblings, 1 reply; 35+ messages in thread
From: stev391 @ 2008-08-16 1:35 UTC (permalink / raw)
To: Jonathan Hummel; +Cc: linux dvb
> ----- Original Message -----
> From: "Jonathan Hummel" <jhhummel@bigpond.com>
> To: stev391@email.com
> Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
> Date: Fri, 15 Aug 2008 23:49:12 +1000
>
>
> On Fri, 2008-08-15 at 09:36 +1000, stev391@email.com wrote:
> > > ----- Original Message -----
> > > From: "Jonathan Hummel" <jhhummel@bigpond.com>
> > > To: stev391@email.com
> > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
> > > Date: Thu, 14 Aug 2008 21:18:17 +1000
> > > > > On Thu, 2008-08-14 at 07:49 +1000, stev391@email.com wrote:
> > > > > ----- Original Message -----
> > > > > From: "Jonathan Hummel" <jhhummel@bigpond.com>
> > > > > To: stev391@email.com
> > > > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
> > > > > Date: Wed, 13 Aug 2008 22:46:05 +1000
> > > > > > > On Tue, 2008-08-12 at 09:59 +1000, stev391@email.com wrote:
> > > > > > > ----- Original Message -----
> > > > > > > From: "Jonathan Hummel" <jhhummel@bigpond.com>
> > > > > > > To: stev391@email.com
> > > > > > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
> > > > > > > Date: Mon, 11 Aug 2008 23:36:25 +1000
> > > > > > > > > On Sun, 2008-08-10 at 11:42 +1000, stev391@email.com wrote:
> > > > > > > >
> > > > > > > >
> > > > > > > > ----- Original Message -----
> > > > > > > > From: "Jonathan Hummel" To: stev391@email.com
> > > > > > > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> > > > > > > > 3200 H - DVB Only support
> > > > > > > > Date: Sat, 09 Aug 2008 21:48:21 +1000
> > > > > > > >
> > > > > > > >
> > > > > > > > Hi All,
> > > > > > > >
> > > > > > > > Finnaly got some time to give the patch a go. I used the
> > > > > > > > pacakges
> > > > > > > > Stephen, sent the link to, not Mark's. I cant't get past the
> > > > > > > > attached
> > > > > > > > problem. The dmesg output is attached. I tried setting the
> > > > > > > > card like
> > > > > > > > this:
> > > > > > > > /etc/modprobe.d/options file and add the line: options cx88xx
> > > > > > > > card=11
> > > > > > > > I also tried the following two varients:
> > > > > > > > cx23885 card=11
> > > > > > > > cx23885 card=12
> > > > > > > >
> > > > > > > > I also got what looked like an error message when applying the
> > > > > > > > first
> > > > > > > > patch, something like "strip count 1 is not a
> > > > > > > > number" (although 1 not
> > > > > > > > being a number would explain my difficulties with maths!)
> > > > > > > >
> > > > > > > > Cheers
> > > > > > > >
> > > > > > > > Jon
> > > > > > > >
> > > > > > > > On Wed, 2008-08-06 at 07:33 +1000, stev391@email.com wrote:
> > > > > > > > > Mark, Jon,
> > > > > > > > >
> > > > > > > > > The patches I made were not against the v4l-dvb tip that is
> > > > > > > > referenced
> > > > > > > > > in Mark's email below. I did this on purpose because there
> > > > > > > > is a small
> > > > > > > > > amount of refactoring (recoding to make it better) being
> > > > > > > > performed by
> > > > > > > > > Steven Toth and others.
> > > > > > > > >
> > > > > > > > > To get the version I used for the patch download (This is
> > > > > > > > for the
> > > > > > > > > first initial patch [you can tell it is this one as the
> > > > > > > > patch file
> > > > > > > > > mentions cx23885-sram in the path]):
> > > > > > > > > http://linuxtv.org/hg/~stoth/cx23885-sram/archive/tip.tar.gz
> > > > > > > > >
> > > > > > > > > For the second patch that emailed less then 12 hours ago
> > > > > > > > download this
> > > > > > > > > version of drivers:
> > > > > > > > > http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.gz
> > > > > > > > > and then apply my patch (this patch mentions v4l-dvb). This
> > > > > > > > version is
> > > > > > > > > a cleanup of the previous and uses the generic callback
> > > > > > > > function.
> > > > > > > > >
> > > > > > > > > Other then that you are heading in the correct direction...
> > > > > > > > >
> > > > > > > > > Do either of you have the same issue I have that when the
> > > > > > > > computer is
> > > > > > > > > first turned on the autodetect card feature doesn't work due
> > > > > > > > to
> > > > > > > > > subvendor sub product ids of 0000? Or is just a faulty card
> > > > > > > > that I
> > > > > > > > > have?
> > > > > > > > >
> > > > > > > > > Regards,
> > > > > > > > >
> > > > > > > > > Stephen.
> > > > > > > > > ----- Original Message -----
> > > > > > > > > From: "Mark Carbonaro" To: "Jonathan Hummel" > Subject: Re: > >
> > > > > > [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> > > > > > > > > 3200 H - DVB Only support
> > > > > > > > > Date: Tue, 5 Aug 2008 23:47:46 +1000 (EST)
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Hi Mark,
> > > > > > > > >
> > > > > > > > > Forgive my ignorance/ newbie-ness, but what do I do with
> > > > > > > > that
> > > > > > > > > patch code
> > > > > > > > > below? is there a tutorial or howto or something somewhere
> > > > > > > > > that will
> > > > > > > > > introduce me to this. I have done some programming, but
> > > > > > > > > nothing of this
> > > > > > > > > level.
> > > > > > > > >
> > > > > > > > > cheers
> > > > > > > > >
> > > > > > > > > Jon
> > > > > > > > >
> > > > > > > > > ----- Original Message -----
> > > > > > > > > From: "Jonathan Hummel" To: "Mark Carbonaro" > Cc: > >
> > stev391@email.com, > > > > linux-dvb@linuxtv.org
> > > > > > > > > Sent: Tuesday, 5 August, 2008 10:21:11 PM (GMT+1000)
> > > > > > > > > Auto-Detected
> > > > > > > > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR
> > > > > > > > > 3200 H - DVB Only support
> > > > > > > > >
> > > > > > > > > Hi Jon,
> > > > > > > > >
> > > > > > > > > Not a problem at all, I'm new to this myself, below is what
> > > > > > > > > went through and I may not be doing it the right > way either.
> > So if > > > > anyone > > would like to point out what I > am doing wrong I would
> > > > > > > > > really appreciate it.
> > > > > > > > >
> > > > > > > > > The file that I downloaded was called
> > > > > > > > > v4l-dvb-2bade2ed7ac8.tar.bz2 which I downloaded > from >
> > > > > > > > http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.bz2, I
> > > > > > > > > also saved the patch to the same location as the download.
> > > > > > > > >
> > > > > > > > > The patch didn't apply for me, so I manually patched applied
> > > > > > > > > the patches and created a new diff that should > hopefully work
> > for
> > > > > > > > > you also (attached and inline below). From what I > could see
> > the > > > > offsets in > > Stephens patch were a little off > for this code
> > > > > > > > > snapshot but otherwise it is all good.
> > > > > > > > >
> > > > > > > > > I ran the following using the attached diff...
> > > > > > > > >
> > > > > > > > > tar -xjf v4l-dvb-2bade2ed7ac8.tar.bz2
> > > > > > > > > cd v4l-dvb-2bade2ed7ac8
> > > > > > > > > patch -p1 < ../Leadtek.Winfast.PxDVR.3200.H.2.diff
> > > > > > > > >
> > > > > > > > > Once the patch was applied I was then able to build and
> > > > > > > > > install the modules as per the instructions in > the INSTALL
> > file. I > > ran
> > > > > > > > > the following...
> > > > > > > > >
> > > > > > > > > make all
> > > > > > > > > sudo make install
> > > > > > > > >
> > > > > > > > > From there I could load the modules and start testing.
> > > > > > > > >
> > > > > > > > > I hope this helps you get started.
> > > > > > > > >
> > > > > > > > > Regards,
> > > > > > > > > Mark
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Jon,
> > > > > > > >
> > > > > > > > The patch did not apply correctly as the dmesg should list an extra
> > > > > > > > entry in card list (number 12), and it should have autodetected.
> > > > > > > >
> > > > > > > > Attached is the newest copy of the patch (save this in the same
> > > > > > > > directory that you use the following commands from), just to avoid
> > > > > > > > confusion. Following the following:
> > > > > > > > wget http://linuxtv.org/hg/~stoth/v4l-dvb/archive/2bade2ed7ac8.tar.gz
> > > > > > > > tar -xf 2bade2ed7ac8.tar.gz
> > > > > > > > cd v4l-dvb-2bade2ed7ac8
> > > > > > > > patch -p1 <../Leadtek_Winfast_PxDVR3200_H.diff
> > > > > > > > make
> > > > > > > > sudo make install
> > > > > > > > sudo make unload
> > > > > > > > sudo modprobe cx23885
> > > > > > > >
> > > > > > > > Now the card should have been detected and you should
> > > > > > > > have /dev/adapterN/ (where N is a number). If it hasn't been detected
> > > > > > > > properly you should see a list of cards in dmesg with the card as
> > > > > > > > number 12. Unload the module (sudo rmmod cx23885) and then load it
> > > > > > > > with the option card=12 (sudo modprobe cx23885 card=12)
> > > > > > > >
> > > > > > > > For further instructions on how to watch digital tv look at the wiki
> > > > > > > > page (you need to create a channels.conf).
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > Stephen
> > > > > > > >
> > > > > > > > P.S.
> > > > > > > > Please make sure you cc the linux dvb mailing list, so if anyone else
> > > > > > > > has the same issue we can work together to solve it.
> > > > > > > > Also the convention is to post your message at the bottom (I got
> > > > > > > > caught by this one until recently).
> > > > > > > >
> > > > > > > >
> > > > > > > > -- Be Yourself @ mail.com!
> > > > > > > > Choose From 200+ Email Addresses
> > > > > > > > Get a Free Account at www.mail.com!
> > > > > > > > Hi Stevhen, Mark,
> > > > > > > > > So you write your post at the bottom of the email?! well that does
> > > > > > > explain a lot, and does kinda make sense if your intending someone to
> > > > > > > pick it up halfway through. I just normaly read backwards when that
> > > > > > > happens to me.
> > > > > > > > As for the patch. I realised that it is patch -p1 (as in one) not -pl
> > > > > > > (as in bLoody &*^^* i can't believe i was using the wrong character)
> > > > > > > which explains why my patches never worked.
> > > > > > > So the patch applied all fine and that, and dmesg looks great, but I
> > > > > > > can't find anything by scanning. On my other card, the DTV2000H (rev J)
> > > > > > > it can scan in MythTV to find channels, and with me-TV, I think it just
> > > > > > > has a list which it picks from or something, tunes to that frequency to
> > > > > > > see if there is anything there. Can't do that with this card so far.
> > > > > > > Attached is the output from scan (or DVB scan) I don't know if it would
> > > > > > > be useful, but I don't know what is useful for such a problem.
> > > > > > > > cheers
> > > > > > > > Jon
> > > > > >
> > > > > > Jon,
> > > > > >
> > > > > > I'm sorry that I'm going to have to ask some silly questions:
> > > > > > * Does this card tune in windows to these frequencies?
> > > > > > * If so what signal level does it report?
> > > > > > * If you cannot do the above, can you double check that the aerial cable is connected
> > > > > > correctly to your Antenna.
> > > > > >
> > > > > > Can you load the following modules with debug=1:
> > > > > > tuner_xc2028
> > > > > > zl10353
> > > > > > cx23885
> > > > > >
> > > > > > and attach the dmesg sections for registering the card, and any output while scanning.
> > > > > >
> > > > > > I will try this afternoon with MythTV, but my card was able to scan with the DVB scan.
> > > > > > I had not heard of Me TV prior to your email, I might install that as well and see how
> > it > > > > works.
> > > > > >
> > > > > > I have a DTV1000T in the same system, from past experience this card requires a strong
> > DVB > > > > signal while my PxDVR3200H gets drowned out with the same signal. So I have to
> > install a > > 6dB > > or more attenuator before the card (This is due to a powered splitter
> > installed in the > > roof > > providing too much signal, which if I remove my DTV1000T gets
> > patchy reception). I > > wonder if > > this is the same in your case with the DTV2000H? (But
> > if it works in windows > > reliably it > > should work in Linux).
> > > > > >
> > > > > > Regards,
> > > > > > Stephen.
> > > > > >
> > > > > > Hi Stephen,
> > > > > > I tired the above to no avail. The card works fine under windows (well
> > > > > as fine as anything can work under windows, as in, windows keeps
> > > > > stealing resources away from it resulting in jerky viewing in HD mode)
> > > > > and I can scan in windows too. I still cannot scan in Linux. I've
> > > > > atached the dmesg and scan outputs. (My appologies for no grep on the
> > > > > dmesg, I wasn't sure what to grep for). Is there a way to grab a
> > > > > frequency out of windows then dump that frequency into linux and see if
> > > > > the card recieves? just a thought that it might help to debug things.
> > > > > > Cheers
> > > > > > Jon
> > > >
> > > > Jon,
> > > >
> > > > The relevant sections of the dmesg will be everything from this line onwards:
> > > > cx23885 driver version 0.0.1 loaded
> > > >
> > > > The section I was looking for wasn't in the dmesg. Please attempt the scan then give the
> > > > dmesg output after this. (I think you gave me the reverse)
> > > > What I'm looking for is if the firmware loads correctly and what error messages.
> > > >
> > > > Also if you haven't done so already can you ensure that the modules mentioned above are
> > loaded > > with debug=1.
> > > > On ubuntu this performed in /etc/modprobe.../options with the following lines (modprobe or
> > > > something similar):
> > > > options zl10353 debug=1
> > > > options tuner_xc2038 debug=1
> > > > options cx23885 debug=1
> > > >
> > > > The either restart or reload these modules.
> > > > Note this will generate a lot of messages, so when not testing the card put a "#" in front
> > of > > it to comment it out.
> > > >
> > > > Regards,
> > > > Stephen
> > > >
> > > >
> > > > -- Be Yourself @ mail.com!
> > > > Choose From 200+ Email Addresses
> > > > Get a Free Account at www.mail.com
> > > >
> > > Hi Stephen
> > > > Turns out that if you use that patch that allows you to use your linux
> > > drive from windows doesn't recognise user permisions. Made editing
> > > modprobe options easier seeing it was already loaded :)
> > > Yes I did think I did it in reverse, her it is in the order you wanted.
> > > Seems to be an issue with the Zarlink chip.
> > > > Thanks
> > > > Jon
> >
> > Jon,
> >
> > You are missing the firmware file, xc2028-v27.fw
> >
> > If you have this file already, you need to copy it into /lib/firmware/`uname -r`/ (the "uname
> > -r" command will give you the kernel name/version you are currently running)
> >
> > If you do not have the firmware yet, to obtain it open up the extract_xc3028.pl in the
> > linux/Documentation/video4linux/ within the source directory.
> >
> > Regards,
> > Stephen.
> >
> >
>
> Hi Stephen,
> Pause,
> Yeap, that did the trick! Would that be a bug in Ubuntu, not having that
> firmware. Should I submit a bug report for that?
>
> cheers
>
> Jon
Jon,
As this driver is not in Ubuntu, I don't think it should already have the firmware, however if you can find a driver that is included already that requires this firmware then I think a bug report would be a good idea.
I'm glad that we got this sorted.
Regards,
Stephen.
--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
2008-08-16 1:35 stev391
@ 2008-08-16 4:14 ` Robert Golding
2008-08-16 10:46 ` Jonathan Hummel
0 siblings, 1 reply; 35+ messages in thread
From: Robert Golding @ 2008-08-16 4:14 UTC (permalink / raw)
To: LinuxTV DVB list
Whoops, sent to wrong place this sent to mail list, sorry
I have finally got the modules to load the PxDVR 3200 H I bought,
however, now I am getting "Failed to lock channel" error messages from
MeTV.
The 'channels.conf' file is correct as I used for my Dvico DVB-T.
I have replaced the Dvico with the Leadtek because I wanted to be
able to get local radio and also use the PCI-e channel since I have
many of them and only one PCI slot.
The card is auto-recognised and loads all dvb modules, including fw
and frontends.
One other thing, I attached an MS drive and tried it in windows [that
is another wholly different story :-) ] and it worked very well. I
had occation to compare the channels info to each other and the Linux
version is OK.
Any information, no matter how small, to show how I might fix this
would be greatly apprecited
--
Regards, Robert
..... Some people can tell what time it is by looking at the sun, but
I have never been able to make out the numbers.
---
Errata: Spelling mistakes are not intentional, however, I don't use
spell checkers because it's too easy to allow the spell checker to
make the decisions and use words that are out of context for that
being written, i.e. their/there, your/you're, threw/through and even
accept/except, not to mention foreign (I'm Australian) English
spelling, i.e. colour/color, socks/sox, etc,.
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
@ 2008-08-16 5:14 stev391
0 siblings, 0 replies; 35+ messages in thread
From: stev391 @ 2008-08-16 5:14 UTC (permalink / raw)
To: Robert Golding; +Cc: linux dvb
> ----- Original Message -----
> From: "Robert Golding" <robert.golding@gmail.com>
> To: stev391@email.com
> Subject: Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
> Date: Sat, 16 Aug 2008 13:43:06 +0930
>
>
> I have finally got the modules to load the PxDVR 3200 H I bought,
> however, now I am getting "Failed to lock channel" error messages from
> MeTV.
> The 'channels.conf' file is correct as I used for my Dvico DVB-T.
>
> I have replaced the Dvico with the Leadtek because I wanted to be
> able to get local radio and also use the PCI-e channel since I have
> many of them and only one PCI slot.
>
> The card is auto-recognised and loads all dvb modules, including fw
> and frontends.
>
> One other thing, I attached an MS drive and tried it in windows [that
> is another wholly different story :-) ] and it worked very well. I
> had occation to compare the channels info to each other and the Linux
> version is OK.
>
> Any information, no matter how small, to show how I might fix this
> would be greatly apprecited
>
> --
> Regards, Robert
>
> ..... Some people can tell what time it is by looking at the sun, but
> I have never been able to make out the numbers.
> ---
> Errata: Spelling mistakes are not intentional, however, I don't use
> spell checkers because it's too easy to allow the spell checker to
> make the decisions and use words that are out of context for that
> being written, i.e. their/there, your/you're, threw/through and even
> accept/except, not to mention foreign (I'm Australian) English
> spelling, i.e. colour/color, socks/sox, etc,.
Robert,
First things first.
What errors are in the dmesg output?
(i.e. provide a dmesg output from the line loading the cx23885 driver onwards, ensure that you have tried to tune channels before doing this)
Does it work in Windows on the same computer with the same antenna?
What does the dvb scan program give you when you try to scan for channels?
You said that the fw loads, is it the correct one (there are multiple copies of firmware running around for this tuner, it should state that it loaded 80 images in the dmesg)?
Regards
Stephen
P.S. If you have gotten my email from the linux dvb list, please include it in the cc field in the email. So that others can learn from the problems and hopefully save me from typing the same response over and over. (By the way have checked the mailing list and tried the other solutions to problems people have encountered with this card?).
--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
2008-08-16 4:14 ` Robert Golding
@ 2008-08-16 10:46 ` Jonathan Hummel
2008-08-17 4:01 ` Robert Golding
0 siblings, 1 reply; 35+ messages in thread
From: Jonathan Hummel @ 2008-08-16 10:46 UTC (permalink / raw)
To: Robert Golding; +Cc: LinuxTV DVB list
On Sat, 2008-08-16 at 13:44 +0930, Robert Golding wrote:
> Whoops, sent to wrong place this sent to mail list, sorry
>
> I have finally got the modules to load the PxDVR 3200 H I bought,
> however, now I am getting "Failed to lock channel" error messages from
> MeTV.
> The 'channels.conf' file is correct as I used for my Dvico DVB-T.
>
> I have replaced the Dvico with the Leadtek because I wanted to be
> able to get local radio and also use the PCI-e channel since I have
> many of them and only one PCI slot.
>
> The card is auto-recognised and loads all dvb modules, including fw
> and frontends.
>
> One other thing, I attached an MS drive and tried it in windows [that
> is another wholly different story :-) ] and it worked very well. I
> had occation to compare the channels info to each other and the Linux
> version is OK.
>
> Any information, no matter how small, to show how I might fix this
> would be greatly apprecited
>
Rob
I've been using Me-TV for a while now on a DTV2000H Card, and recently
set up the 3200H card as well, with a lot (and I mean a lot) of help
from Stephen. In my experience, you only really get this message when
the card is getting no reception. Other similar errors which relate to
accessing the card itself happen when another TV programme, such as Myth
is already loaded and locked onto the card.
I'm not sure radio works on these cards without a lot of effort and
stuffing around each and every time you want to use it. I've never
gotten the 2000H to work on radio, so didn't even bother with the 3200H
though.
As Stephen said, this card is a bit sensitive to firmware and drivers,
as the patch to allow this card is relatively new (days old).
cheers
Jon
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
2008-08-16 10:46 ` Jonathan Hummel
@ 2008-08-17 4:01 ` Robert Golding
0 siblings, 0 replies; 35+ messages in thread
From: Robert Golding @ 2008-08-17 4:01 UTC (permalink / raw)
To: Jonathan Hummel; +Cc: LinuxTV DVB list
2008/8/16 Jonathan Hummel <jhhummel@bigpond.com>:
> On Sat, 2008-08-16 at 13:44 +0930, Robert Golding wrote:
>> Whoops, sent to wrong place this sent to mail list, sorry
>>
>> I have finally got the modules to load the PxDVR 3200 H I bought,
>> however, now I am getting "Failed to lock channel" error messages from
>> MeTV.
>> The 'channels.conf' file is correct as I used for my Dvico DVB-T.
>>
>> I have replaced the Dvico with the Leadtek because I wanted to be
>> able to get local radio and also use the PCI-e channel since I have
>> many of them and only one PCI slot.
>>
>> The card is auto-recognised and loads all dvb modules, including fw
>> and frontends.
>>
>> One other thing, I attached an MS drive and tried it in windows [that
>> is another wholly different story :-) ] and it worked very well. I
>> had occation to compare the channels info to each other and the Linux
>> version is OK.
>>
>> Any information, no matter how small, to show how I might fix this
>> would be greatly apprecited
>>
>
> Rob
>
> I've been using Me-TV for a while now on a DTV2000H Card, and recently
> set up the 3200H card as well, with a lot (and I mean a lot) of help
> from Stephen. In my experience, you only really get this message when
> the card is getting no reception. Other similar errors which relate to
> accessing the card itself happen when another TV programme, such as Myth
> is already loaded and locked onto the card.
>
> I'm not sure radio works on these cards without a lot of effort and
> stuffing around each and every time you want to use it. I've never
> gotten the 2000H to work on radio, so didn't even bother with the 3200H
> though.
>
> As Stephen said, this card is a bit sensitive to firmware and drivers,
> as the patch to allow this card is relatively new (days old).
>
> cheers
>
> Jon
>
>
It seems that kernel 2.6.27 (what I was using) is different enough
that the modules and fw from Stephens downloads won't work properly.
I went back to 2.6.25 and it worked there, so I tried 2.6.26 and it
worked there as well.
These are the steps I had to do so it would load properly;
1) Compile kernel WITHOUT 'multimedia'
i.e. #
# Multimedia devices
#
#
# Multimedia core support
#
# CONFIG_VIDEO_DEV is not set
# CONFIG_DVB_CORE is not set
# CONFIG_VIDEO_MEDIA is not set
#
# Multimedia drivers
#
# CONFIG_DAB is not set
& reboot with new kernel (if it was the kernel you were already booted
too, don't bother)
2) Download Stephens latest media patches
#> wget http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.bz2
extract to current dir, then;
#> make all
#> make install
3) Download Stephens firmware and follow instructions in
/Documentation/video4linux/extract_xc3028.pl
4) Reboot machine to load all the correct modules and fw, then open
favourite tuner prog (I use Me-TV) and enjoy the viewing.
--
Regards, Robert
..... Some people can tell what time it is by looking at the sun, but
I have never been able to make out the numbers.
---
Errata: Spelling mistakes are not intentional, however, I don't use
spell checkers because it's too easy to allow the spell checker to
make the decisions and use words that are out of context for that
being written, i.e. their/there, your/you're, threw/through and even
accept/except, not to mention foreign (I'm Australian) English
spelling, i.e. colour/color, socks/sox, etc,.
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
@ 2008-08-18 0:00 stev391
2008-08-18 4:25 ` Robert Golding
0 siblings, 1 reply; 35+ messages in thread
From: stev391 @ 2008-08-18 0:00 UTC (permalink / raw)
To: Robert Golding; +Cc: linux dvb
> It seems that kernel 2.6.27 (what I was using) is different enough
> that the modules and fw from Stephens downloads won't work properly.
> I went back to 2.6.25 and it worked there, so I tried 2.6.26 and it
> worked there as well.
> These are the steps I had to do so it would load properly;
> 1) Compile kernel WITHOUT 'multimedia'
> i.e. #
> # Multimedia devices
> #
>
> #
> # Multimedia core support
> #
> # CONFIG_VIDEO_DEV is not set
> # CONFIG_DVB_CORE is not set
> # CONFIG_VIDEO_MEDIA is not set
> #
> # Multimedia drivers
> #
> # CONFIG_DAB is not set
> & reboot with new kernel (if it was the kernel you were already booted
> too, don't bother)
> 2) Download Stephens latest media patches
> #> wget http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.bz2
> extract to current dir, then;
> #> make all
> #> make install
> 3) Download Stephens firmware and follow instructions in
> /Documentation/video4linux/extract_xc3028.pl
> 4) Reboot machine to load all the correct modules and fw, then open
> favourite tuner prog (I use Me-TV) and enjoy the viewing.
> --
> Regards, Robert
Robert,
I'm glad you got it working.
The v4l-dvb drivers will not work against a kernel that has the video/multimedia drivers compiled in to the kernel.
When you compile your kernel you select the above options, which you disabled, as modules and this will also allow the v4l-dvb drivers to be compiled as modules and overwrite the older drivers.
If the kernel you were using, that it didn't work against, was part of a distro, perhaps a bug report to them about their kernel config should be sent...
Regards,
Stephen.
--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
2008-08-18 0:00 stev391
@ 2008-08-18 4:25 ` Robert Golding
0 siblings, 0 replies; 35+ messages in thread
From: Robert Golding @ 2008-08-18 4:25 UTC (permalink / raw)
To: stev391; +Cc: LinuxTV DVB list
2008/8/18 <stev391@email.com>:
>
>> It seems that kernel 2.6.27 (what I was using) is different enough
>> that the modules and fw from Stephens downloads won't work properly.
>
>> I went back to 2.6.25 and it worked there, so I tried 2.6.26 and it
>> worked there as well.
>
>> These are the steps I had to do so it would load properly;
>> 1) Compile kernel WITHOUT 'multimedia'
>> i.e. #
>> # Multimedia devices
>> #
>>
>> #
>> # Multimedia core support
>> #
>> # CONFIG_VIDEO_DEV is not set
>> # CONFIG_DVB_CORE is not set
>> # CONFIG_VIDEO_MEDIA is not set
>
>> #
>> # Multimedia drivers
>> #
>> # CONFIG_DAB is not set
>
>> & reboot with new kernel (if it was the kernel you were already booted
>> too, don't bother)
>
>> 2) Download Stephens latest media patches
>> #> wget http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.bz2
>> extract to current dir, then;
>> #> make all
>> #> make install
>
>> 3) Download Stephens firmware and follow instructions in
>> /Documentation/video4linux/extract_xc3028.pl
>
>> 4) Reboot machine to load all the correct modules and fw, then open
>> favourite tuner prog (I use Me-TV) and enjoy the viewing.
>
>> --
>> Regards, Robert
>
> Robert,
>
> I'm glad you got it working.
>
> The v4l-dvb drivers will not work against a kernel that has the video/multimedia drivers compiled in to the kernel.
> When you compile your kernel you select the above options, which you disabled, as modules and this will also allow the v4l-dvb drivers to be compiled as modules and overwrite the older drivers.
>
> If the kernel you were using, that it didn't work against, was part of a distro, perhaps a bug report to them about their kernel config should be sent...
>
I actually have Gentoo as my install base, however, I have become used
to navigating around the vanilla sources for so many years I still use
them rather than the gentoo-sources.
I reckon I just have to find the difference in some parts of the
2.6.27 kernel as I used the oldconfig to fire it up. Yeah, I was lazy
and this is what happens when you get lazy. :-/ .. It wouldn't compile
the nvidia drivers either, so I'll have to get into it to see what has
been changed that caused that to happen.
> Regards,
>
> Stephen.
>
>
> --
> Be Yourself @ mail.com!
> Choose From 200+ Email Addresses
> Get a Free Account at www.mail.com
>
>
On another note, is it the 'cx23885' that controls 'analog' (aka
Winfast 107d:66xx series) as well on this card? Or another chip I
don't know about?
The FM Radio would use the 'analog' chip too, wouldn't it? I was
given to understand that the cx23885 was a newer version of the
Conexant 'bt878' continuum, is that correct?
--
Regards, Robert
..... Some people can tell what time it is by looking at the sun, but
I have never been able to make out the numbers.
---
Errata: Spelling mistakes are not intentional, however, I don't use
spell checkers because it's too easy to allow the spell checker to
make the decisions and use words that are out of context for that
being written, i.e. their/there, your/you're, threw/through and even
accept/except, not to mention foreign (I'm Australian) English
spelling, i.e. colour/color, socks/sox, etc,.
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
@ 2008-08-18 21:24 stev391
0 siblings, 0 replies; 35+ messages in thread
From: stev391 @ 2008-08-18 21:24 UTC (permalink / raw)
To: Robert Golding; +Cc: LinuxTV DVB list
>
> On another note, is it the 'cx23885' that controls 'analog' (aka
> Winfast 107d:66xx series) as well on this card? Or another chip I
> don't know about?
>
> The FM Radio would use the 'analog' chip too, wouldn't it? I was
> given to understand that the cx23885 was a newer version of the
> Conexant 'bt878' continuum, is that correct?
>
> --
> Regards, Robert
The cx23885 can control the 'analog' however I think most of the work is performed by the cx23417.
This is all I know about the analog side at the moment. And at least for the next month as a have returned my card to get repaired/replaced due to the SubVendor and SubProduct ids not displaying reliably (in Linux and in Windows).
Feel free to keep digging, if you find anything useful please share (like a patch to get it working...).
Regards,
Stephen
--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
@ 2008-08-26 6:57 stev391
2008-08-26 14:24 ` Steven Toth
0 siblings, 1 reply; 35+ messages in thread
From: stev391 @ 2008-08-26 6:57 UTC (permalink / raw)
To: Steven Toth; +Cc: linux-dvb
> ----- Original Message -----
> From: "Steven Toth" <stoth@linuxtv.org>
> To: stev391@email.com
> Subject: Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
> Date: Tue, 12 Aug 2008 12:33:53 -0400
>
>
>
> > ---------Leadtek_Winfast_PxDVR3200_H_Signed_Off.diff---------
> > cx23885: Add DVB support for Leadtek Winfast PxDVR3200 H
> >
> > ---------cx23885_callback_tidyup.diff---------
> > cx23885: Remove Redundant if statements in tuner callback
>
> Thanks.
>
> Pull this tree and run a quick test again (I had an odd whitespace merge issue - likely
> thunderbirds fault - that I have to cleanup):
>
> http://linuxtv.org/hg/~stoth/v4l-dvb/
>
> If everything is working then I'll issue the pull request for final merge.
>
> - Steve
G'day Steve,
I was just wondering if there was anything else I needed to do to get this in the main v4l-dvb repository?
I just checked today and it has not been incorporated.
(Your v4l-dvb has been working fine now for a while).
Thanks,
Stephen.
--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
2008-08-26 6:57 stev391
@ 2008-08-26 14:24 ` Steven Toth
0 siblings, 0 replies; 35+ messages in thread
From: Steven Toth @ 2008-08-26 14:24 UTC (permalink / raw)
To: stev391; +Cc: linux-dvb
>> Pull this tree and run a quick test again (I had an odd whitespace merge issue - likely
>> thunderbirds fault - that I have to cleanup):
>>
>> http://linuxtv.org/hg/~stoth/v4l-dvb/
>>
>> If everything is working then I'll issue the pull request for final merge.
>>
>> - Steve
>
> G'day Steve,
>
> I was just wondering if there was anything else I needed to do to get this in the main v4l-dvb repository?
>
> I just checked today and it has not been incorporated.
>
> (Your v4l-dvb has been working fine now for a while).
My dev box is down for a couple of days so I have a pile of work
starting to build up, including this. I'll get back to this shortly.
- Steve
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 35+ messages in thread
end of thread, other threads:[~2008-08-26 14:25 UTC | newest]
Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-13 21:49 [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support stev391
2008-08-14 11:18 ` Jonathan Hummel
-- strict thread matches above, loose matches on Subject: below --
2008-08-26 6:57 stev391
2008-08-26 14:24 ` Steven Toth
2008-08-18 21:24 stev391
2008-08-18 0:00 stev391
2008-08-18 4:25 ` Robert Golding
2008-08-16 5:14 stev391
2008-08-16 1:35 stev391
2008-08-16 4:14 ` Robert Golding
2008-08-16 10:46 ` Jonathan Hummel
2008-08-17 4:01 ` Robert Golding
2008-08-14 23:36 stev391
2008-08-15 13:49 ` Jonathan Hummel
2008-08-13 8:02 stev391
2008-08-12 4:22 stev391
2008-08-12 16:33 ` Steven Toth
2008-08-11 23:59 stev391
2008-08-13 12:46 ` Jonathan Hummel
2008-08-10 5:31 stev391
2008-08-10 13:26 ` Steven Toth
2008-08-10 1:42 stev391
2008-08-11 13:36 ` Jonathan Hummel
[not found] <1946053.01217974303703.JavaMail.mark@trogdor.carbonaro.org>
2008-08-05 21:50 ` Mark Carbonaro
2008-08-05 21:33 stev391
2008-08-05 21:37 ` Steven Toth
2008-08-06 11:27 ` Mark Carbonaro
[not found] <24526361.241217944963449.JavaMail.mark@trogdor.carbonaro.org>
2008-08-05 13:47 ` Mark Carbonaro
2008-08-05 11:47 stev391
2008-08-05 14:30 ` Steven Toth
[not found] <1292178.61217937203262.JavaMail.mark@trogdor.carbonaro.org>
2008-08-05 11:34 ` Mark Carbonaro
2008-08-05 12:21 ` Jonathan Hummel
2008-08-04 21:15 stev391
2008-08-04 11:34 stev391
2008-08-04 14:35 ` Steven Toth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox