Re: Leadtek Winfast DTV-1000S remote control support

2009-10-31 Thread Michael Krufky
On Thu, Oct 29, 2009 at 9:33 AM, Michael Carl Obst
m.o...@ugrad.unimelb.edu.au wrote:
 I am having trouble with the current repository, I can build and install
 it fine but I can't insert the modules, I'm getting two different errors
 which I haven't looked into yet. I have regenerated the patch anyway and
 it builds fine but due to the other problems have not been able to check
 it is still working (although I see no reason why it wouldn't).

As you may have seen from the other email thread, there was a problem
in the way that the DTV1000S patch was merged.  Thanks to Hermann for
pointing it out, I fixed the DTV1000S tree, and added your remote
control patch.  Hopefully Mauro will merge it soon.

If you see any more problems, please let us know.

Cheers,

Mike
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Leadtek Winfast DTV-1000S remote control support

2009-10-20 Thread Michael Obst
Hi,
    I've been using the testing drivers for the dtv 1000s and they
have been working great, there was no remote control support however
so after a bit of messing around I managed to patch the files and get
my remote working. The patch is below, but i'm new to the mailing list
and patches and the like so not sure if this is useful or correct, but
it works for me so I thought I would contribute it.

Cheers

diff -Naur dtv1000s-orig/linux/drivers/media/common/ir-keymaps.c
dtv1000s-remote/linux/drivers/media/common/ir-keymaps.c
--- dtv1000s-orig/linux/drivers/media/common/ir-keymaps.c   2009-10-07
21:27:39.315700245 +1100
+++ dtv1000s-remote/linux/drivers/media/common/ir-keymaps.c 2009-10-07
21:27:59.727200476 +1100
@@ -1630,6 +1630,7 @@
[ 0x37 ] = KEY_RADIO, /* FM */
[ 0x38 ] = KEY_DVD,

+   [ 0x1a ] = KEY_MODE,/* change to MCE mode on Y04G0051*/
[ 0x3e ] = KEY_F21,   /* MCE +VOL, on Y04G0033 */
[ 0x3a ] = KEY_F22,   /* MCE -VOL, on Y04G0033 */
[ 0x3b ] = KEY_F23,   /* MCE +CH,  on Y04G0033 */
diff -Naur dtv1000s-orig/linux/drivers/media/video/saa7134/saa7134-cards.c
dtv1000s-remote/linux/drivers/media/video/saa7134/saa7134-cards.c
--- dtv1000s-orig/linux/drivers/media/video/saa7134/saa7134-cards.c 
2009-06-20
05:22:30.0 +1000
+++ dtv1000s-remote/linux/drivers/media/video/saa7134/saa7134-cards.c   
2009-10-07
21:23:23.243700429 +1100
@@ -6638,6 +6638,7 @@
case SAA7134_BOARD_REAL_ANGEL_220:
case SAA7134_BOARD_KWORLD_PLUS_TV_ANALOG:
case SAA7134_BOARD_AVERMEDIA_GO_007_FM_PLUS:
+   case SAA7134_BOARD_LEADTEK_WINFAST_DTV1000S:
dev-has_remote = SAA7134_REMOTE_GPIO;
break;
case SAA7134_BOARD_FLYDVBS_LR300:
diff -Naur dtv1000s-orig/linux/drivers/media/video/saa7134/saa7134-input.c
dtv1000s-remote/linux/drivers/media/video/saa7134/saa7134-input.c
--- dtv1000s-orig/linux/drivers/media/video/saa7134/saa7134-input.c 
2009-06-20
05:22:30.0 +1000
+++ dtv1000s-remote/linux/drivers/media/video/saa7134/saa7134-input.c   
2009-10-07
21:24:32.555700167 +1100
@@ -605,6 +605,12 @@
mask_keycode = 0x7f;
polling = 40; /* ms */
break;
+   case SAA7134_BOARD_LEADTEK_WINFAST_DTV1000S:
+   ir_codes = ir_codes_winfast;
+   mask_keycode = 0x5f00;
+   mask_keyup = 0x02;
+   polling  = 50; // ms
+   break;
}
if (NULL == ir_codes) {
printk(%s: Oops: IR config error [card=%d]\n,
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Leadtek Winfast DTV-1000S

2009-06-23 Thread Michael Krufky
(apologies if you've received this email twice -- something is strange
with my kernellabs.com email settings -- I will look into this soon)

On Mon, Jun 22, 2009 at 6:51 AM, James Moschoujames.mosc...@gmail.com wrote:
 Using dtv1000s tree revision 21a03349f7f9 and a blank modprobe.conf

 I can tune to channels but never all of them in the single run of w_scan.
 Every time I run w_scan it's different channels that say 'filter timeout'.

James,

Unfortunately, I can't say that a driver bug is the cause of your
inconsistency -- perhaps you can aim your antennae a bit better, or
find some other cause of interference.  Bad cabling?

Lets say that you have your channels.conf all set up and ready -- once
you found all your services, do you have trouble keeping a stream?

Regards,

Mike
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Leadtek Winfast DTV-1000S

2009-06-22 Thread James Moschou
Using dtv1000s tree revision 21a03349f7f9 and a blank modprobe.conf

I can tune to channels but never all of them in the single run of w_scan.
Every time I run w_scan it's different channels that say 'filter timeout'.

Thanks

dmesg:

[8.616658] Linux video capture interface: v2.00
[8.617868] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.05
[8.617983] iTCO_wdt: Found a ICH9 TCO device (Version=2, TCOBASE=0x0460)
[8.618051] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[8.640551] cfg80211: Calling CRDA to update world regulatory domain
[8.672107] usb-storage: device scan complete
[8.672472] scsi 6:0:0:0: Direct-Access HDS72251 2VLAT20
   PQ: 0 ANSI: 0
[8.673583] sd 6:0:0:0: [sdb] 241254720 512-byte hardware sectors:
(123 GB/115 GiB)
[8.674583] sd 6:0:0:0: [sdb] Write Protect is off
[8.674585] sd 6:0:0:0: [sdb] Mode Sense: 33 00 00 00
[8.674587] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[8.675207] sd 6:0:0:0: [sdb] 241254720 512-byte hardware sectors:
(123 GB/115 GiB)
[8.676206] sd 6:0:0:0: [sdb] Write Protect is off
[8.676208] sd 6:0:0:0: [sdb] Mode Sense: 33 00 00 00
[8.676209] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[8.676212]  sdb: sdb1
[8.686155] sd 6:0:0:0: [sdb] Attached SCSI disk
[8.686249] sd 6:0:0:0: Attached scsi generic sg2 type 0
[8.692894] cfg80211: World regulatory domain updated:
[8.692897]  (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp)
[8.692899]  (2402000 KHz - 2472000 KHz @ 4 KHz), (300 mBi, 2000 mBm)
[8.692901]  (2457000 KHz - 2482000 KHz @ 2 KHz), (300 mBi, 2000 mBm)
[8.692902]  (2474000 KHz - 2494000 KHz @ 2 KHz), (300 mBi, 2000 mBm)
[8.692904]  (517 KHz - 525 KHz @ 4 KHz), (300 mBi, 2000 mBm)
[8.692905]  (5735000 KHz - 5835000 KHz @ 4 KHz), (300 mBi, 2000 mBm)
[8.751513] saa7130/34: v4l2 driver version 0.2.15 loaded
[8.751560] saa7134 :05:01.0: PCI INT A - GSI 19 (level, low) - IRQ 19
[8.751566] saa7130[0]: found at :05:01.0, rev: 1, irq: 19,
latency: 32, mmio: 0xfb002000
[8.751570] saa7130[0]: subsystem: 107d:6655, board: Leadtek
Winfast DTV1000S [card=169,autodetected]
[8.751596] saa7130[0]: board init: gpio is 320f0
[8.894105] HDA Intel :00:1b.0: PCI INT A - GSI 22 (level,
low) - IRQ 22
[8.894152] HDA Intel :00:1b.0: setting latency timer to 64
[8.900531] saa7130[0]: i2c eeprom 00: 7d 10 55 66 54 20 1c 00 43
43 a9 1c 55 d2 b2 92
[8.900540] saa7130[0]: i2c eeprom 10: 00 ff 82 0e ff 20 ff ff ff
ff ff ff ff ff ff ff
[8.900548] saa7130[0]: i2c eeprom 20: 01 40 01 01 01 ff 01 03 08
ff 00 8a ff ff ff ff
[8.900556] saa7130[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.900564] saa7130[0]: i2c eeprom 40: ff 35 00 c0 00 10 03 02 ff
04 ff ff ff ff ff ff
[8.900571] saa7130[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.900579] saa7130[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.900587] saa7130[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.900594] saa7130[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.900602] saa7130[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.900610] saa7130[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.900617] saa7130[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.900625] saa7130[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.900633] saa7130[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.900640] saa7130[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.900648] saa7130[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.960522] Chip ID is not zero. It is not a TEA5767
[8.960585] tuner 0-0060: chip found @ 0xc0 (saa7130[0])
[9.000528] tda8290: no gate control were provided!
[9.000677] saa7130[0]: registered device video0 [v4l2]
[9.000699] saa7130[0]: registered device vbi0
[9.000770] rt2400pci :05:00.0: PCI INT A - GSI 20 (level,
low) - IRQ 20
[9.007810] phy0: Selected rate control algorithm 'pid'
[9.016421] saa7134 ALSA driver for DMA sound loaded
[9.016423] saa7130[0]/alsa: Leadtek Winfast DTV1000S doesn't
support digital audio
[9.049880] dvb_init() allocating 1 frontend
[9.126582] Registered led device: rt2400pci-phy0:radio
[9.126595] Registered led device: rt2400pci-phy0:quality
[9.188392] tda18271 0-0060: creating new instance
[9.197061] TDA18271HD/C1 detected @ 0-0060
[9.224779] lp0: using parport0 (interrupt-driven).
[9.281001] Adding 6024332k swap on /dev/sda5.  Priority:-1
extents:1 across:6024332k
[9.600014] DVB: registering new adapter (saa7130[0])
[9.600018] DVB: registering adapter 0 frontend 1 (NXP TDA10048HN DVB-T)...
[

Re: Leadtek Winfast DTV-1000S

2009-06-19 Thread Terry Wu
Hi,

[9.916022] saa7134 :05:01.0: firmware: requesting 
dvb-fe-tda10048-1.0.fw
[   10.020209] tda10048_firmware_upload: Upload failed. (file not found?)

The dvb-fe-tda10048-1.0.fw is needed.
You can get it from the following links:
http://tw1965.myweb.hinet.net/Linux/firmware.tar.gz
http://tw1965.myweb.hinet.net/Linux/Firmware.txt
http://tw1965.myweb.hinet.net/

2009/6/19 James Moschou james.mosc...@gmail.com:
 OK after adding 'options saa7134 card=156' to /etc/modprobe.d/modprobe.conf
 it loads correctly, thanks Brad.

 dmesg:

 [    8.438243] Linux video capture interface: v2.00
 [    8.606434] nvidia :01:00.0: PCI INT A - GSI 16 (level, low) - IRQ 16
 [    8.606440] nvidia :01:00.0: setting latency timer to 64
 [    8.607114] NVRM: loading NVIDIA UNIX x86_64 Kernel Module
 185.18.14  Wed May 27 01:23:47 PDT 2009
 [    8.626542] input: PC Speaker as /devices/platform/pcspkr/input/input6
 [    8.659879] iTCO_vendor_support: vendor-support=0
 [    8.26] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.05
 [    8.666736] iTCO_wdt: Found a ICH9 TCO device (Version=2, TCOBASE=0x0460)
 [    8.666811] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
 [    8.742132] saa7130/34: v4l2 driver version 0.2.15 loaded
 [    8.742181] saa7134 :05:01.0: PCI INT A - GSI 19 (level, low) - IRQ 
 19
 [    8.742186] saa7130[0]: found at :05:01.0, rev: 1, irq: 19,
 latency: 32, mmio: 0xfb002000
 [    8.742191] saa7130[0]: subsystem: 107d:6655, board: Hauppauge
 WinTV-HVR1110r3 DVB-T/Hybrid [card=156,insmod option]
 [    8.742214] saa7130[0]: board init: gpio is 22000
 [    8.852862] HDA Intel :00:1b.0: PCI INT A - GSI 22 (level,
 low) - IRQ 22
 [    8.852908] HDA Intel :00:1b.0: setting latency timer to 64
 [    8.916022] saa7130[0]: i2c eeprom 00: 7d 10 55 66 54 20 1c 00 43
 43 a9 1c 55 d2 b2 92
 [    8.916031] saa7130[0]: i2c eeprom 10: 00 ff 82 0e ff 20 ff ff ff
 ff ff ff ff ff ff ff
 [    8.916039] saa7130[0]: i2c eeprom 20: 01 40 01 01 01 ff 01 03 08
 ff 00 8a ff ff ff ff
 [    8.916046] saa7130[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.916054] saa7130[0]: i2c eeprom 40: ff 35 00 c0 00 10 03 02 ff
 04 ff ff ff ff ff ff
 [    8.916062] saa7130[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.916069] saa7130[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.916077] saa7130[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.916085] saa7130[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.916092] saa7130[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.916100] saa7130[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.916108] saa7130[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.916115] saa7130[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.916123] saa7130[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.916131] saa7130[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.916138] saa7130[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.916148] tveeprom 0-0050: Encountered bad packet header [ff].
 Corrupt or not a Hauppauge eeprom.
 [    8.916150] saa7130[0]: warning: unknown hauppauge model #0
 [    8.916151] saa7130[0]: hauppauge eeprom: model=0
 [    8.980528] Chip ID is not zero. It is not a TEA5767
 [    8.980592] tuner 0-0060: chip found @ 0xc0 (saa7130[0])
 [    9.016010] tda8290: no gate control were provided!
 [    9.016080] tuner 0-0060: Tuner has no way to set tv freq
 [    9.016086] tuner 0-0060: Tuner has no way to set tv freq
 [    9.016171] saa7130[0]: registered device video0 [v4l2]
 [    9.016215] saa7130[0]: registered device vbi0
 [    9.016251] saa7130[0]: registered device radio0
 [    9.016387] rt2400pci :05:00.0: PCI INT A - GSI 20 (level,
 low) - IRQ 20
 [    9.024385] phy0: Selected rate control algorithm 'pid'
 [    9.028685] saa7134 ALSA driver for DMA sound loaded
 [    9.028688] saa7130[0]/alsa: Hauppauge WinTV-HVR1110r3 DVB-T/Hybrid
 doesn't support digital audio
 [    9.060205] dvb_init() allocating 1 frontend
 [    9.093967] Registered led device: rt2400pci-phy0:radio
 [    9.093980] Registered led device: rt2400pci-phy0:quality
 [    9.150392] lp0: using parport0 (interrupt-driven).
 [    9.174892] tda18271 0-0060: creating new instance
 [    9.184029] TDA18271HD/C1 detected @ 0-0060
 [    9.211513] Adding 6024332k swap on /dev/sda5.  Priority:-1
 extents:1 across:6024332k
 [    9.588014] DVB: registering new adapter (saa7130[0])
 [    9.588018] DVB: registering adapter 0 frontend 0 (NXP TDA10048HN DVB-T)...
 [    9.739258] EXT4 FS on sda1, internal journal on sda1:8
 [    9.916017] tda10048_firmware_upload: waiting for firmware upload
 (dvb-fe-tda10048-1.0.fw)...
 [    9.916022] saa7134 :05:01.0: firmware: requesting 
 

Re: Leadtek Winfast DTV-1000S

2009-06-19 Thread James Moschou
2009/6/19 Terry Wu terrywu2...@gmail.com:
 Hi,

[    9.916022] saa7134 :05:01.0: firmware: requesting 
dvb-fe-tda10048-1.0.fw
[   10.020209] tda10048_firmware_upload: Upload failed. (file not found?)

 The dvb-fe-tda10048-1.0.fw is needed.
 You can get it from the following links:
 http://tw1965.myweb.hinet.net/Linux/firmware.tar.gz
 http://tw1965.myweb.hinet.net/Linux/Firmware.txt
 http://tw1965.myweb.hinet.net/

Firmware is copied to /lib/firmware

Here is the dmesg:

[8.570412] Linux video capture interface: v2.00
[8.617769] cfg80211: World regulatory domain updated:
[8.617772]  (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp)
[8.617774]  (2402000 KHz - 2472000 KHz @ 4 KHz), (300 mBi, 2000 mBm)
[8.617775]  (2457000 KHz - 2482000 KHz @ 2 KHz), (300 mBi, 2000 mBm)
[8.61]  (2474000 KHz - 2494000 KHz @ 2 KHz), (300 mBi, 2000 mBm)
[8.617778]  (517 KHz - 525 KHz @ 4 KHz), (300 mBi, 2000 mBm)
[8.617780]  (5735000 KHz - 5835000 KHz @ 4 KHz), (300 mBi, 2000 mBm)
[8.680521] saa7130/34: v4l2 driver version 0.2.15 loaded
[8.680571] saa7134 :05:01.0: PCI INT A - GSI 19 (level, low) - IRQ 19
[8.680576] saa7130[0]: found at :05:01.0, rev: 1, irq: 19,
latency: 32, mmio: 0xfb002000
[8.680581] saa7130[0]: subsystem: 107d:6655, board: Hauppauge
WinTV-HVR1110r3 DVB-T/Hybrid [card=156,insmod option]
[8.680606] saa7130[0]: board init: gpio is 22009
[8.827183] HDA Intel :00:1b.0: PCI INT A - GSI 22 (level,
low) - IRQ 22
[8.827229] HDA Intel :00:1b.0: setting latency timer to 64
[8.860026] saa7130[0]: i2c eeprom 00: 7d 10 55 66 54 20 1c 00 43
43 a9 1c 55 d2 b2 92
[8.860035] saa7130[0]: i2c eeprom 10: 00 ff 82 0e ff 20 ff ff ff
ff ff ff ff ff ff ff
[8.860043] saa7130[0]: i2c eeprom 20: 01 40 01 01 01 ff 01 03 08
ff 00 8a ff ff ff ff
[8.860051] saa7130[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.860059] saa7130[0]: i2c eeprom 40: ff 35 00 c0 00 10 03 02 ff
04 ff ff ff ff ff ff
[8.860067] saa7130[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.860074] saa7130[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.860082] saa7130[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.860089] saa7130[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.860097] saa7130[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.860105] saa7130[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.860112] saa7130[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.860120] saa7130[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.860127] saa7130[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.860135] saa7130[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.860143] saa7130[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.860152] tveeprom 0-0050: Encountered bad packet header [ff].
Corrupt or not a Hauppauge eeprom.
[8.860154] saa7130[0]: warning: unknown hauppauge model #0
[8.860156] saa7130[0]: hauppauge eeprom: model=0
[8.932026] Chip ID is not zero. It is not a TEA5767
[8.932091] tuner 0-0060: chip found @ 0xc0 (saa7130[0])
[8.976009] tda8290: no gate control were provided!
[8.976079] tuner 0-0060: Tuner has no way to set tv freq
[8.976084] tuner 0-0060: Tuner has no way to set tv freq
[8.976170] saa7130[0]: registered device video0 [v4l2]
[8.976214] saa7130[0]: registered device vbi0
[8.976251] saa7130[0]: registered device radio0
[8.976281] rt2400pci :05:00.0: PCI INT A - GSI 20 (level,
low) - IRQ 20
[8.983389] phy0: Selected rate control algorithm 'pid'
[9.017796] dvb_init() allocating 1 frontend
[9.036163] saa7134 ALSA driver for DMA sound loaded
[9.036165] saa7130[0]/alsa: Hauppauge WinTV-HVR1110r3 DVB-T/Hybrid
doesn't support digital audio
[9.068118] Registered led device: rt2400pci-phy0:radio
[9.068149] Registered led device: rt2400pci-phy0:quality
[9.140897] tda18271 0-0060: creating new instance
[9.148509] TDA18271HD/C1 detected @ 0-0060
[9.157831] lp0: using parport0 (interrupt-driven).
[9.215386] Adding 6024332k swap on /dev/sda5.  Priority:-1
extents:1 across:6024332k
[9.552013] DVB: registering new adapter (saa7130[0])
[9.552017] DVB: registering adapter 0 frontend 0 (NXP TDA10048HN DVB-T)...
[9.745332] EXT4 FS on sda1, internal journal on sda1:8
[9.880021] tda10048_firmware_upload: waiting for firmware upload
(dvb-fe-tda10048-1.0.fw)...
[9.880026] saa7134 :05:01.0: firmware: requesting dvb-fe-tda10048-1.0.fw
[   10.122198] tda10048_firmware_upload: firmware read 24878 bytes.
[   10.122200] tda10048_firmware_upload: firmware uploading
[   14.208023] tda10048_firmware_upload: firmware uploaded
[   

Re: Leadtek Winfast DTV-1000S

2009-06-19 Thread hermann pitton
Hi all,

Am Freitag, den 19.06.2009, 19:12 +0930 schrieb James Moschou:
 2009/6/19 Terry Wu terrywu2...@gmail.com:
  Hi,
 
 [9.916022] saa7134 :05:01.0: firmware: requesting 
 dvb-fe-tda10048-1.0.fw
 [   10.020209] tda10048_firmware_upload: Upload failed. (file not found?)
 
  The dvb-fe-tda10048-1.0.fw is needed.
  You can get it from the following links:
  http://tw1965.myweb.hinet.net/Linux/firmware.tar.gz
  http://tw1965.myweb.hinet.net/Linux/Firmware.txt
  http://tw1965.myweb.hinet.net/
 
 Firmware is copied to /lib/firmware
 
 Here is the dmesg:
 
 [8.570412] Linux video capture interface: v2.00
 [8.617769] cfg80211: World regulatory domain updated:
 [8.617772](start_freq - end_freq @ bandwidth),
 (max_antenna_gain, max_eirp)
 [8.617774](2402000 KHz - 2472000 KHz @ 4 KHz), (300 mBi, 2000 
 mBm)
 [8.617775](2457000 KHz - 2482000 KHz @ 2 KHz), (300 mBi, 2000 
 mBm)
 [8.61](2474000 KHz - 2494000 KHz @ 2 KHz), (300 mBi, 2000 
 mBm)
 [8.617778](517 KHz - 525 KHz @ 4 KHz), (300 mBi, 2000 
 mBm)
 [8.617780](5735000 KHz - 5835000 KHz @ 4 KHz), (300 mBi, 2000 
 mBm)
 [8.680521] saa7130/34: v4l2 driver version 0.2.15 loaded
 [8.680571] saa7134 :05:01.0: PCI INT A - GSI 19 (level, low) - IRQ 
 19
 [8.680576] saa7130[0]: found at :05:01.0, rev: 1, irq: 19,
 latency: 32, mmio: 0xfb002000
 [8.680581] saa7130[0]: subsystem: 107d:6655, board: Hauppauge

Mike seems to have the subdevice wrong. He used 107d:6555.

That is why the card is not auto detected.

Please try to force card=169 and _not_ card=156.

Cheers,
Hermann


 WinTV-HVR1110r3 DVB-T/Hybrid [card=156,insmod option]
 [8.680606] saa7130[0]: board init: gpio is 22009
 [8.827183] HDA Intel :00:1b.0: PCI INT A - GSI 22 (level,
 low) - IRQ 22
 [8.827229] HDA Intel :00:1b.0: setting latency timer to 64
 [8.860026] saa7130[0]: i2c eeprom 00: 7d 10 55 66 54 20 1c 00 43
 43 a9 1c 55 d2 b2 92
 [8.860035] saa7130[0]: i2c eeprom 10: 00 ff 82 0e ff 20 ff ff ff
 ff ff ff ff ff ff ff
 [8.860043] saa7130[0]: i2c eeprom 20: 01 40 01 01 01 ff 01 03 08
 ff 00 8a ff ff ff ff
 [8.860051] saa7130[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [8.860059] saa7130[0]: i2c eeprom 40: ff 35 00 c0 00 10 03 02 ff
 04 ff ff ff ff ff ff
 [8.860067] saa7130[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [8.860074] saa7130[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [8.860082] saa7130[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [8.860089] saa7130[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [8.860097] saa7130[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [8.860105] saa7130[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [8.860112] saa7130[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [8.860120] saa7130[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [8.860127] saa7130[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [8.860135] saa7130[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [8.860143] saa7130[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [8.860152] tveeprom 0-0050: Encountered bad packet header [ff].
 Corrupt or not a Hauppauge eeprom.
 [8.860154] saa7130[0]: warning: unknown hauppauge model #0
 [8.860156] saa7130[0]: hauppauge eeprom: model=0
 [8.932026] Chip ID is not zero. It is not a TEA5767
 [8.932091] tuner 0-0060: chip found @ 0xc0 (saa7130[0])
 [8.976009] tda8290: no gate control were provided!
 [8.976079] tuner 0-0060: Tuner has no way to set tv freq
 [8.976084] tuner 0-0060: Tuner has no way to set tv freq
 [8.976170] saa7130[0]: registered device video0 [v4l2]
 [8.976214] saa7130[0]: registered device vbi0
 [8.976251] saa7130[0]: registered device radio0
 [8.976281] rt2400pci :05:00.0: PCI INT A - GSI 20 (level,
 low) - IRQ 20
 [8.983389] phy0: Selected rate control algorithm 'pid'
 [9.017796] dvb_init() allocating 1 frontend
 [9.036163] saa7134 ALSA driver for DMA sound loaded
 [9.036165] saa7130[0]/alsa: Hauppauge WinTV-HVR1110r3 DVB-T/Hybrid
 doesn't support digital audio
 [9.068118] Registered led device: rt2400pci-phy0:radio
 [9.068149] Registered led device: rt2400pci-phy0:quality
 [9.140897] tda18271 0-0060: creating new instance
 [9.148509] TDA18271HD/C1 detected @ 0-0060
 [9.157831] lp0: using parport0 (interrupt-driven).
 [9.215386] Adding 6024332k swap on /dev/sda5.  Priority:-1
 extents:1 across:6024332k
 [9.552013] DVB: registering new adapter (saa7130[0])
 [9.552017] DVB: registering adapter 0 frontend 0 (NXP TDA10048HN DVB-T)...
 [9.745332] EXT4 FS on sda1, 

Re: Leadtek Winfast DTV-1000S

2009-06-19 Thread Michael Krufky
On Fri, Jun 19, 2009 at 12:51 PM, hermann pittonhermann-pit...@arcor.de wrote:
 Hi all,

 Am Freitag, den 19.06.2009, 19:12 +0930 schrieb James Moschou:
 2009/6/19 Terry Wu terrywu2...@gmail.com:
  Hi,
 
 [    9.916022] saa7134 :05:01.0: firmware: requesting 
 dvb-fe-tda10048-1.0.fw
 [   10.020209] tda10048_firmware_upload: Upload failed. (file not found?)
 
  The dvb-fe-tda10048-1.0.fw is needed.
  You can get it from the following links:
  http://tw1965.myweb.hinet.net/Linux/firmware.tar.gz
  http://tw1965.myweb.hinet.net/Linux/Firmware.txt
  http://tw1965.myweb.hinet.net/

 Firmware is copied to /lib/firmware

 Here is the dmesg:

 [    8.570412] Linux video capture interface: v2.00
 [    8.617769] cfg80211: World regulatory domain updated:
 [    8.617772]        (start_freq - end_freq @ bandwidth),
 (max_antenna_gain, max_eirp)
 [    8.617774]        (2402000 KHz - 2472000 KHz @ 4 KHz), (300 mBi, 
 2000 mBm)
 [    8.617775]        (2457000 KHz - 2482000 KHz @ 2 KHz), (300 mBi, 
 2000 mBm)
 [    8.61]        (2474000 KHz - 2494000 KHz @ 2 KHz), (300 mBi, 
 2000 mBm)
 [    8.617778]        (517 KHz - 525 KHz @ 4 KHz), (300 mBi, 
 2000 mBm)
 [    8.617780]        (5735000 KHz - 5835000 KHz @ 4 KHz), (300 mBi, 
 2000 mBm)
 [    8.680521] saa7130/34: v4l2 driver version 0.2.15 loaded
 [    8.680571] saa7134 :05:01.0: PCI INT A - GSI 19 (level, low) - IRQ 
 19
 [    8.680576] saa7130[0]: found at :05:01.0, rev: 1, irq: 19,
 latency: 32, mmio: 0xfb002000
 [    8.680581] saa7130[0]: subsystem: 107d:6655, board: Hauppauge

 Mike seems to have the subdevice wrong. He used 107d:6555.

 That is why the card is not auto detected.

 Please try to force card=169 and _not_ card=156.

 Cheers,
 Hermann


 WinTV-HVR1110r3 DVB-T/Hybrid [card=156,insmod option]
 [    8.680606] saa7130[0]: board init: gpio is 22009
 [    8.827183] HDA Intel :00:1b.0: PCI INT A - GSI 22 (level,
 low) - IRQ 22
 [    8.827229] HDA Intel :00:1b.0: setting latency timer to 64
 [    8.860026] saa7130[0]: i2c eeprom 00: 7d 10 55 66 54 20 1c 00 43
 43 a9 1c 55 d2 b2 92
 [    8.860035] saa7130[0]: i2c eeprom 10: 00 ff 82 0e ff 20 ff ff ff
 ff ff ff ff ff ff ff
 [    8.860043] saa7130[0]: i2c eeprom 20: 01 40 01 01 01 ff 01 03 08
 ff 00 8a ff ff ff ff
 [    8.860051] saa7130[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.860059] saa7130[0]: i2c eeprom 40: ff 35 00 c0 00 10 03 02 ff
 04 ff ff ff ff ff ff
 [    8.860067] saa7130[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.860074] saa7130[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.860082] saa7130[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.860089] saa7130[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.860097] saa7130[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.860105] saa7130[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.860112] saa7130[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.860120] saa7130[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.860127] saa7130[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.860135] saa7130[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.860143] saa7130[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [    8.860152] tveeprom 0-0050: Encountered bad packet header [ff].
 Corrupt or not a Hauppauge eeprom.
 [    8.860154] saa7130[0]: warning: unknown hauppauge model #0
 [    8.860156] saa7130[0]: hauppauge eeprom: model=0
 [    8.932026] Chip ID is not zero. It is not a TEA5767
 [    8.932091] tuner 0-0060: chip found @ 0xc0 (saa7130[0])
 [    8.976009] tda8290: no gate control were provided!
 [    8.976079] tuner 0-0060: Tuner has no way to set tv freq
 [    8.976084] tuner 0-0060: Tuner has no way to set tv freq
 [    8.976170] saa7130[0]: registered device video0 [v4l2]
 [    8.976214] saa7130[0]: registered device vbi0
 [    8.976251] saa7130[0]: registered device radio0
 [    8.976281] rt2400pci :05:00.0: PCI INT A - GSI 20 (level,
 low) - IRQ 20
 [    8.983389] phy0: Selected rate control algorithm 'pid'
 [    9.017796] dvb_init() allocating 1 frontend
 [    9.036163] saa7134 ALSA driver for DMA sound loaded
 [    9.036165] saa7130[0]/alsa: Hauppauge WinTV-HVR1110r3 DVB-T/Hybrid
 doesn't support digital audio
 [    9.068118] Registered led device: rt2400pci-phy0:radio
 [    9.068149] Registered led device: rt2400pci-phy0:quality
 [    9.140897] tda18271 0-0060: creating new instance
 [    9.148509] TDA18271HD/C1 detected @ 0-0060
 [    9.157831] lp0: using parport0 (interrupt-driven).
 [    9.215386] Adding 6024332k swap on /dev/sda5.  Priority:-1
 extents:1 across:6024332k
 [    9.552013] DVB: registering new adapter (saa7130[0])
 [    9.552017] DVB: registering 

Re: Leadtek Winfast DTV-1000S

2009-06-18 Thread James Moschou
Hi,

I have this card and tried testing the tree at
http://kernellabs.com/hg/~mkrufky/dtv1000s
revision b0f29c0cff4b

No directory was created at /dev/dvb/

'uname -r' gives:
2.6.28-11-generic
which is the Ubuntu 9.04 kernel
(I don't know how to get a vanilla kernel .. sorry)

I'm new at this so I've probably missed something.

Cheers
James Moschou


dmesg:

[8.760626] Linux video capture interface: v2.00
[8.866353] saa7130/34: v4l2 driver version 0.2.15 loaded
[8.866402] saa7134 :05:01.0: PCI INT A - GSI 19 (level, low) - IRQ 19
[8.866407] saa7130[0]: found at :05:01.0, rev: 1, irq: 19,
latency: 32, mmio: 0xfb002000
[8.866412] saa7130[0]: subsystem: 107d:6655, board:
UNKNOWN/GENERIC [card=0,autodetected]
[8.866446] saa7130[0]: board init: gpio is 22000
[9.003970] HDA Intel :00:1b.0: PCI INT A - GSI 22 (level,
low) - IRQ 22
[9.004018] HDA Intel :00:1b.0: setting latency timer to 64
[9.016031] saa7130[0]: i2c eeprom 00: 7d 10 55 66 54 20 1c 00 43
43 a9 1c 55 d2 b2 92
[9.016040] saa7130[0]: i2c eeprom 10: 00 ff 82 0e ff 20 ff ff ff
ff ff ff ff ff ff ff
[9.016047] saa7130[0]: i2c eeprom 20: 01 40 01 01 01 ff 01 03 08
ff 00 8a ff ff ff ff
[9.016055] saa7130[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[9.016063] saa7130[0]: i2c eeprom 40: ff 35 00 c0 00 10 03 02 ff
04 ff ff ff ff ff ff
[9.016070] saa7130[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[9.016078] saa7130[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[9.016086] saa7130[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[9.016093] saa7130[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[9.016101] saa7130[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[9.016109] saa7130[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[9.016116] saa7130[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[9.016124] saa7130[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[9.016131] saa7130[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[9.016139] saa7130[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[9.016147] saa7130[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[9.016233] saa7130[0]: registered device video0 [v4l2]
[9.016255] saa7130[0]: registered device vbi0
[9.016295] rt2400pci :05:00.0: PCI INT A - GSI 20 (level,
low) - IRQ 20
[9.023349] phy0: Selected rate control algorithm 'pid'
[9.035477] saa7134 ALSA driver for DMA sound loaded
[9.035480] saa7130[0]/alsa: UNKNOWN/GENERIC doesn't support digital audio
[9.072159] Registered led device: rt2400pci-phy0:radio
[9.072188] Registered led device: rt2400pci-phy0:quality
[9.160446] lp0: using parport0 (interrupt-driven).
[9.215527] Adding 6024332k swap on /dev/sda5.  Priority:-1
extents:1 across:6024332k
[9.742418] EXT4 FS on sda1, internal journal on sda1:8
[   10.459797] kjournald starting.  Commit interval 5 seconds
[   10.460001] EXT3 FS on sda3, internal journal
[   10.460005] EXT3-fs: mounted filesystem with ordered data mode.
[   10.651876] type=1505 audit(1245383427.708:2):
operation=profile_load name=/usr/share/gdm/guest-session/Xsession
name2=default pid=2071
[   10.682712] type=1505 audit(1245383427.740:3):
operation=profile_load name=/sbin/dhclient-script name2=default
pid=2075
[   10.682784] type=1505 audit(1245383427.740:4):
operation=profile_load name=/sbin/dhclient3 name2=default
pid=2075
[   10.682814] type=1505 audit(1245383427.740:5):
operation=profile_load
name=/usr/lib/NetworkManager/nm-dhcp-client.action name2=default
pid=2075
[   10.682841] type=1505 audit(1245383427.740:6):
operation=profile_load
name=/usr/lib/connman/scripts/dhclient-script name2=default
pid=2075
[   10.769197] type=1505 audit(1245383427.828:7):
operation=profile_load name=/usr/lib/cups/backend/cups-pdf
name2=default pid=2080
[   10.769316] type=1505 audit(1245383427.828:8):
operation=profile_load name=/usr/sbin/cupsd name2=default
pid=2080
[   10.788943] type=1505 audit(1245383427.848:9):
operation=profile_load name=/usr/sbin/tcpdump name2=default
pid=2084
[   13.193914] vboxdrv: Trying to deactivate the NMI watchdog permanently...
[   13.193918] vboxdrv: Successfully done.
[   13.193919] vboxdrv: Found 2 processor cores.
[   13.193986] VBoxDrv: dbg - g_abExecMemory=a0cfaaa0
[   13.194000] vboxdrv: fAsync=0 offMin=0x196 offMax=0x842
[   13.194034] vboxdrv: TSC mode is 'synchronous', kernel timer mode
is 'normal'.
[   13.194036] vboxdrv: Successfully loaded version 2.1.4_OSE
(interface 0x000a0009).
[   13.398592] VBoxNetFlt: dbg - g_abExecMemory=a0e99940
[   18.940421] r8169: eth0: link down
[   18.940722] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   18.973408] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   30.877161] 

Re: Leadtek Winfast DTV-1000S

2009-06-18 Thread James Moschou
OK after adding 'options saa7134 card=156' to /etc/modprobe.d/modprobe.conf
it loads correctly, thanks Brad.

dmesg:

[8.438243] Linux video capture interface: v2.00
[8.606434] nvidia :01:00.0: PCI INT A - GSI 16 (level, low) - IRQ 16
[8.606440] nvidia :01:00.0: setting latency timer to 64
[8.607114] NVRM: loading NVIDIA UNIX x86_64 Kernel Module
185.18.14  Wed May 27 01:23:47 PDT 2009
[8.626542] input: PC Speaker as /devices/platform/pcspkr/input/input6
[8.659879] iTCO_vendor_support: vendor-support=0
[8.26] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.05
[8.666736] iTCO_wdt: Found a ICH9 TCO device (Version=2, TCOBASE=0x0460)
[8.666811] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[8.742132] saa7130/34: v4l2 driver version 0.2.15 loaded
[8.742181] saa7134 :05:01.0: PCI INT A - GSI 19 (level, low) - IRQ 19
[8.742186] saa7130[0]: found at :05:01.0, rev: 1, irq: 19,
latency: 32, mmio: 0xfb002000
[8.742191] saa7130[0]: subsystem: 107d:6655, board: Hauppauge
WinTV-HVR1110r3 DVB-T/Hybrid [card=156,insmod option]
[8.742214] saa7130[0]: board init: gpio is 22000
[8.852862] HDA Intel :00:1b.0: PCI INT A - GSI 22 (level,
low) - IRQ 22
[8.852908] HDA Intel :00:1b.0: setting latency timer to 64
[8.916022] saa7130[0]: i2c eeprom 00: 7d 10 55 66 54 20 1c 00 43
43 a9 1c 55 d2 b2 92
[8.916031] saa7130[0]: i2c eeprom 10: 00 ff 82 0e ff 20 ff ff ff
ff ff ff ff ff ff ff
[8.916039] saa7130[0]: i2c eeprom 20: 01 40 01 01 01 ff 01 03 08
ff 00 8a ff ff ff ff
[8.916046] saa7130[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.916054] saa7130[0]: i2c eeprom 40: ff 35 00 c0 00 10 03 02 ff
04 ff ff ff ff ff ff
[8.916062] saa7130[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.916069] saa7130[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.916077] saa7130[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.916085] saa7130[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.916092] saa7130[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.916100] saa7130[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.916108] saa7130[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.916115] saa7130[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.916123] saa7130[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.916131] saa7130[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.916138] saa7130[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[8.916148] tveeprom 0-0050: Encountered bad packet header [ff].
Corrupt or not a Hauppauge eeprom.
[8.916150] saa7130[0]: warning: unknown hauppauge model #0
[8.916151] saa7130[0]: hauppauge eeprom: model=0
[8.980528] Chip ID is not zero. It is not a TEA5767
[8.980592] tuner 0-0060: chip found @ 0xc0 (saa7130[0])
[9.016010] tda8290: no gate control were provided!
[9.016080] tuner 0-0060: Tuner has no way to set tv freq
[9.016086] tuner 0-0060: Tuner has no way to set tv freq
[9.016171] saa7130[0]: registered device video0 [v4l2]
[9.016215] saa7130[0]: registered device vbi0
[9.016251] saa7130[0]: registered device radio0
[9.016387] rt2400pci :05:00.0: PCI INT A - GSI 20 (level,
low) - IRQ 20
[9.024385] phy0: Selected rate control algorithm 'pid'
[9.028685] saa7134 ALSA driver for DMA sound loaded
[9.028688] saa7130[0]/alsa: Hauppauge WinTV-HVR1110r3 DVB-T/Hybrid
doesn't support digital audio
[9.060205] dvb_init() allocating 1 frontend
[9.093967] Registered led device: rt2400pci-phy0:radio
[9.093980] Registered led device: rt2400pci-phy0:quality
[9.150392] lp0: using parport0 (interrupt-driven).
[9.174892] tda18271 0-0060: creating new instance
[9.184029] TDA18271HD/C1 detected @ 0-0060
[9.211513] Adding 6024332k swap on /dev/sda5.  Priority:-1
extents:1 across:6024332k
[9.588014] DVB: registering new adapter (saa7130[0])
[9.588018] DVB: registering adapter 0 frontend 0 (NXP TDA10048HN DVB-T)...
[9.739258] EXT4 FS on sda1, internal journal on sda1:8
[9.916017] tda10048_firmware_upload: waiting for firmware upload
(dvb-fe-tda10048-1.0.fw)...
[9.916022] saa7134 :05:01.0: firmware: requesting dvb-fe-tda10048-1.0.fw
[   10.020209] tda10048_firmware_upload: Upload failed. (file not found?)
[   10.466227] kjournald starting.  Commit interval 5 seconds
[   10.466428] EXT3 FS on sda3, internal journal
[   10.466432] EXT3-fs: mounted filesystem with ordered data mode.
[   10.616663] type=1505 audit(1245387419.676:2):
operation=profile_load name=/usr/share/gdm/guest-session/Xsession
name2=default pid=2116
[   10.647644] type=1505 audit(1245387419.704:3):
operation=profile_load name=/sbin/dhclient-script 

Re: Leadtek Winfast DTV-1000S

2009-06-16 Thread Michael Krufky
On Sun, Jun 7, 2009 at 6:39 PM, hermann pittonhermann-pit...@arcor.de wrote:

 Am Montag, den 08.06.2009, 07:59 +1000 schrieb pau...@planar.id.au:
 That is fantastic news.  Not only will it be coming soon, but I don't have
 to do it myself!!

 How will we know when the test repository is created - will it be
 announced on this list?

 Thanks,

 Paul


  Henry Wu did send modified saa7134 files with support for this card on
  Tuesday off list.

  Mike replied, that he will set up a test repository as soon he gets some
  time for doing so.

 Paul,

 give Mike some time for it.

 There are much more variables in question, that can be different on
 devices now seen in the wild for the first time and a proper framework
 must be employed.

 If you can't wait, ask Mike do send you the files, seems they are recent
 enough for current v4l-dvb, but better is to wait and start with some
 unified testing base.

 Cheers,
 Hermann


Hello all,

Apologies for the delay -- I've been extremely busy over the past few
weeks, but that's nothing new :-P

Anyhow, I pushed up some code almost 2 weeks ago that should cover the
DTV1000S in all variations.  Thanks to Terry Wu for the baseband video
gpio setup.

I haven't had time to ask anybody to test this yet, so I'd appreciate
it if you can provide some general feedback.

This change only adds support for the new card, so I am not interested
in anybody's experience with other boards -- this ONLY relates to the
DTV1000S.

Terry's patches copy the device specific setup from the Hauppauge
HVR1110 -- this is actually dangerous, as the HVR1110 GPIO / LNA setup
could cause problems when used on other boards.

Terry's patches also support a version of the board with a TDA18271c2
-- I don't know if such a board actually exists, but the way that
Terry did it doesn't allow for supporting both variations in a single
kernel.  If the c2 version of the board actually exists, the code that
I pushed will work on board boards.

I'd like to see dmesg output while using my tree -- please include
full device initialization, starting with the line, Linux video
capture interface: v2.00 up till the end.

I am especially interested to see whether or not the TDA8295 driver
attaches successfully -- I have a feeling that there actually is no
TDA8295 on that board, but I don't know for sure, offhand.

Please test the following tree:

http://kernellabs.com/hg/~mkrufky/dtv1000s

- saa7134: add initial DVB-T support for the Leadtek DTV1000S
- saa7134: add support for baseband video capture on Leadtek DTV1000S

 Documentation/video4linux/CARDLIST.saa7134  |1
 drivers/media/video/saa7134/saa7134-cards.c |   22 +
 drivers/media/video/saa7134/saa7134-dvb.c   |   39 ++
 drivers/media/video/saa7134/saa7134.h   |1
 4 files changed, 63 insertions(+)

Cheers,

Mike Krufky
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Leadtek Winfast DTV-1000S

2009-06-16 Thread hermann pitton
Hi,

Am Dienstag, den 16.06.2009, 11:33 -0400 schrieb Michael Krufky:
 On Sun, Jun 7, 2009 at 6:39 PM, hermann pittonhermann-pit...@arcor.de wrote:
 
  Am Montag, den 08.06.2009, 07:59 +1000 schrieb pau...@planar.id.au:
  That is fantastic news.  Not only will it be coming soon, but I don't have
  to do it myself!!
 
  How will we know when the test repository is created - will it be
  announced on this list?
 
  Thanks,
 
  Paul
 
 
   Henry Wu did send modified saa7134 files with support for this card on
   Tuesday off list.
 
   Mike replied, that he will set up a test repository as soon he gets some
   time for doing so.
 
  Paul,
 
  give Mike some time for it.
 
  There are much more variables in question, that can be different on
  devices now seen in the wild for the first time and a proper framework
  must be employed.
 
  If you can't wait, ask Mike do send you the files, seems they are recent
  enough for current v4l-dvb, but better is to wait and start with some
  unified testing base.
 
  Cheers,
  Hermann
 
 
 Hello all,
 
 Apologies for the delay -- I've been extremely busy over the past few
 weeks, but that's nothing new :-P
 
 Anyhow, I pushed up some code almost 2 weeks ago that should cover the
 DTV1000S in all variations.  Thanks to Terry Wu for the baseband video
 gpio setup.
 
 I haven't had time to ask anybody to test this yet, so I'd appreciate
 it if you can provide some general feedback.
 
 This change only adds support for the new card, so I am not interested
 in anybody's experience with other boards -- this ONLY relates to the
 DTV1000S.
 
 Terry's patches copy the device specific setup from the Hauppauge
 HVR1110 -- this is actually dangerous, as the HVR1110 GPIO / LNA setup
 could cause problems when used on other boards.
 
 Terry's patches also support a version of the board with a TDA18271c2
 -- I don't know if such a board actually exists, but the way that
 Terry did it doesn't allow for supporting both variations in a single
 kernel.  If the c2 version of the board actually exists, the code that
 I pushed will work on board boards.
 
 I'd like to see dmesg output while using my tree -- please include
 full device initialization, starting with the line, Linux video
 capture interface: v2.00 up till the end.
 
 I am especially interested to see whether or not the TDA8295 driver
 attaches successfully -- I have a feeling that there actually is no
 TDA8295 on that board, but I don't know for sure, offhand.
 
 Please test the following tree:
 
 http://kernellabs.com/hg/~mkrufky/dtv1000s
 
 - saa7134: add initial DVB-T support for the Leadtek DTV1000S
 - saa7134: add support for baseband video capture on Leadtek DTV1000S
 
  Documentation/video4linux/CARDLIST.saa7134  |1
  drivers/media/video/saa7134/saa7134-cards.c |   22 +
  drivers/media/video/saa7134/saa7134-dvb.c   |   39 ++
  drivers/media/video/saa7134/saa7134.h   |1
  4 files changed, 63 insertions(+)
 
 Cheers,
 
 Mike Krufky

guess Sander with that Zolid hybrid and such hardware with a saa7131e
should give it a try for DVB-T too with card=169 on your testing repo.

If he still has it ;)

Cheers,
Hermann


--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Leadtek Winfast DTV-1000S

2009-06-07 Thread Brad Allen
Dear Mike,

Have not heard from you in quite some time, has there been any progress on 
getting this card up and running? As I said to you in a previous email it is 
extremely close using the settings for card #156, however it fails to detect 
any DVB-T channels, although the signal strength meter works while its scanning 
for them.

I have not tried the FM component of the card.

Here is lspci -vvv -nn output,

00:0e.0 Multimedia controller [0480]: Philips Semiconductors SAA7130 Video 
Broadcast Decoder [1131:7130] (rev 01)
Subsystem: LeadTek Research Inc. Device [107d:6655]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort- SERR- PERR- INTx-
Latency: 32 (21000ns min, 8000ns max)
Interrupt: pin A routed to IRQ 12
Region 0: Memory at eb001000 (32-bit, non-prefetchable) [size=1K]
Capabilities: access denied

For anyone else reading this card is a DVB-T and FM receiver using the SAA7130, 
TDA10048 and TDA18271. 

Please let me know if theres anything I can do to be of further assistance.

Thanks,

Brad Allen
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Leadtek Winfast DTV-1000S

2009-06-07 Thread hermann pitton
Hi,

Am Sonntag, den 07.06.2009, 08:47 -0700 schrieb Brad Allen:
 Dear Mike,
 
 Have not heard from you in quite some time, has there been any progress on 
 getting this card up and running? As I said to you in a previous email it is 
 extremely close using the settings for card #156, however it fails to detect 
 any DVB-T channels, although the signal strength meter works while its 
 scanning for them.
 
 I have not tried the FM component of the card.
 
 Here is lspci -vvv -nn output,
 
 00:0e.0 Multimedia controller [0480]: Philips Semiconductors SAA7130 Video 
 Broadcast Decoder [1131:7130] (rev 01)
   Subsystem: LeadTek Research Inc. Device [107d:6655]
   Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
 Stepping- SERR- FastB2B- DisINTx-
   Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- 
 TAbort- MAbort- SERR- PERR- INTx-
   Latency: 32 (21000ns min, 8000ns max)
   Interrupt: pin A routed to IRQ 12
   Region 0: Memory at eb001000 (32-bit, non-prefetchable) [size=1K]
   Capabilities: access denied
 
 For anyone else reading this card is a DVB-T and FM receiver using the 
 SAA7130, TDA10048 and TDA18271. 
 
 Please let me know if theres anything I can do to be of further assistance.
 
 Thanks,
 
 Brad Allen

for your information and for all others interested.

Henry Wu did send modified saa7134 files with support for this card on
Tuesday off list.

Mike replied, that he will set up a test repository as soon he gets some
time for doing so.

The most noticeable difference to the Hauppauge card is, that it works
in TS parallel mode.

Please wait a little until Mike is done with his review and announces
the card for testing here on the list.

Cheers,
Hermann




--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: Leadtek Winfast DTV-1000S

2009-06-07 Thread paul10
That is fantastic news.  Not only will it be coming soon, but I don't have
to do it myself!!

How will we know when the test repository is created - will it be
announced on this list?

Thanks,

Paul


 Henry Wu did send modified saa7134 files with support for this card on
 Tuesday off list.

 Mike replied, that he will set up a test repository as soon he gets some
 time for doing so.


--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: Leadtek Winfast DTV-1000S

2009-06-07 Thread hermann pitton

Am Montag, den 08.06.2009, 07:59 +1000 schrieb pau...@planar.id.au:
 That is fantastic news.  Not only will it be coming soon, but I don't have
 to do it myself!!
 
 How will we know when the test repository is created - will it be
 announced on this list?
 
 Thanks,
 
 Paul
 
 
  Henry Wu did send modified saa7134 files with support for this card on
  Tuesday off list.
 
  Mike replied, that he will set up a test repository as soon he gets some
  time for doing so.

Paul,

give Mike some time for it.

There are much more variables in question, that can be different on
devices now seen in the wild for the first time and a proper framework
must be employed.

If you can't wait, ask Mike do send you the files, seems they are recent
enough for current v4l-dvb, but better is to wait and start with some
unified testing base.

Cheers,
Hermann




--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: Leadtek Winfast DTV-1000S

2009-05-31 Thread paul10
I've been working through this thread.

I am running 2.6.30-rc6. I've checked out the patch from
ttp://kernellabs.com/hg/~mk/hvr1110, and installed it.  I modified one
file - cx88-cards.c, which doesn't seem to work with my DTV2000H, but
otherwise just using the code per the patch.

I've added options saa7134 card=156 into a file in /etc/modprobe.d/

So far, so good.  I have made more progress than Brad appears to have, it
is recognising the card, but appears to not be tuning it.  I suspect the
problem is the lack of firmware: dvb-fe-tda10048-1.0.fw

I have three tuner cards in my machine - a DTV2000H and an Avermedia 777,
so my full dmesg log is a bit untidy.  This is exacerbated by the fact
that the Avermedia also uses the saa7134 chipset.  I believe the lines
that relate to the DTV1000S, and that are relevant are these:

the usual eeprom lines, ending with
saa7130[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
tveeprom 2-0050: Encountered bad packet header [ff]. Corrupt or not a
Hauppauge eeprom.
saa7130[0]: warning: unknown hauppauge model #0
saa7130[0]: hauppauge eeprom: model=0
Chip ID is not zero. It is not a TEA5767
tuner 2-0060: chip found @ 0xc0 (saa7130[0]
tda8290: no gate control were provided!
tuner 2-0060: Tuner has no way to set tv freq
tuner 2-0060: Tuner has no way to set tv freq
tda10048_firmware_upload: waiting for firmware upload
(dvb-fe-tda10048-1.0.fw)...
saa7134 :05:00.0: firmware: requesting dvb-fe-tda10048-1.0.fw
tda10048_firmware_upload: Upload failed. (file not found?)
tuner-simple 3-0061: unable to probe Philips TD1316 Hybrid Tuner,
proceeding anyway.6tuner-simple 3-0061: creating new instance
tuner-simple 3-0061: type set to 67 (Philips TD1316 Hybrid Tuner)

I can see the appropriate firmware for the Hauppage, but I'm guessing that
I need special firmware for the WinFast implementation.  So I think I need
to do something to get the right firmware.  Is it a reasonable presumption
that the firmware is the problem here - or is it actually the earlier
messages that are the underlying problem?  Or perhaps both?

I have /dev/adapter1/ created, but it won't tune.  When trying to tune,
dmesg is getting errors along the lines of missing firmware, then seg
fault.  That was leading me to think that firmware is the issue.

Is it useful to try the hauppage firmware, or is that unlikely to work?

Thanks,

Paul



--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: Leadtek Winfast DTV-1000S

2009-05-31 Thread paul10
OK, I've gone the next step and downloaded the hvr1200 firmware for the  
using this link: steventoth.net/linux/hvr1200

I'm still not getting tuning, it isn't clear whether this is due to the
firmware or the other errors in the log.  Again, my logs have messages
from all three cards, including the 7134-based Avermedia.  I'm extracting
the messages that look like they relate to the DTV1000S, I'm happy to post
either the full log or to unplug the other two cards.  If I need to do the
latter, that means I need to wait for a time where the box isn't supposed
to be recording something - as it is also my production box, and WAF is
currently quite high :-)

The dmesg logs are:
[   10.232789] saa7130/34: v4l2 driver version 0.2.15 loaded
[   10.241194] saa7134 :05:00.0: PCI INT A - GSI 20 (level, low) -
IRQ 20
[   10.249731] saa7130[0]: found at :05:00.0, rev: 1, irq: 20,
latency: 32, mmio: 0xfc001000
[   10.258483] saa7130[0]: subsystem: 107d:6655, board: Hauppauge
WinTV-HVR1110r3 DVB-T/Hybrid [card=156,insmod option]
[   10.267477] saa7130[0]: board init: gpio is 122009
[   10.293131] cx88/0: cx2388x v4l2 driver version 0.0.7 loaded
[   10.302052] IRQ 20/saa7130[0]: IRQF_DISABLED is not guaranteed on
shared IRQs
[   10.312626] cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.7 loaded
[   10.353716] cx2388x alsa driver version 0.0.7 loaded
[   10.400854] HDA Intel :00:1b.0: PCI INT A - GSI 22 (level, low) -
IRQ 22
[   10.410254] HDA Intel :00:1b.0: setting latency timer to 64
[   10.464031] saa7130[0]: i2c eeprom 00: 7d 10 55 66 54 20 1c 00 43 43 a9
1c 55 d2 b2 92
[   10.473672] saa7130[0]: i2c eeprom 10: 00 ff 82 0e ff 20 ff ff ff ff ff
ff ff ff ff ff
[   10.483379] saa7130[0]: i2c eeprom 20: 01 40 01 01 01 ff 01 03 08 ff 00
8a ff ff ff ff
[   10.492999] saa7130[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.502537] saa7130[0]: i2c eeprom 40: ff 35 00 c0 00 10 03 02 ff 04 ff
ff ff ff ff ff
[   10.512026] saa7130[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.521514] saa7130[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.530935] saa7130[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.540418] saa7130[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.549677] saa7130[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.558693] saa7130[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.567617] saa7130[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.567739] saa7130[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.567746] saa7130[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.567753] saa7130[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.567758] saa7130[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.567765] tveeprom 1-0050: Encountered bad packet header [ff].
Corrupt or not a Hauppauge eeprom.
[   10.567767] saa7130[0]: warning: unknown hauppauge model #0
[   10.567768] saa7130[0]: hauppauge eeprom: model=0
[   10.712041] Chip ID is not zero. It is not a TEA5767
[   10.720138] tuner 1-0060: chip found @ 0xc0 (saa7130[0])
[   10.768020] tda8290: no gate control were provided!
[   10.775900] tuner 1-0060: Tuner has no way to set tv freq
[   10.783718] tuner 1-0060: Tuner has no way to set tv freq
[   10.791567] saa7130[0]: registered device video0 [v4l2]
[   10.799359] saa7130[0]: registered device vbi0
[   10.807034] saa7130[0]: registered device radio0

some stuff from another card (I think)

[   12.273033] DVB: registering new adapter (saa7130[0])
[   12.281372] DVB: registering adapter 1 frontend 0 (NXP TDA10048HN
DVB-T)...
[   12.617026] tda10048_firmware_upload: waiting for firmware upload
(dvb-fe-tda10048-1.0.fw)...
[   12.617029] saa7134 :05:00.0: firmware: requesting
dvb-fe-tda10048-1.0.fw
[   12.694154] EXT3 FS on md21, internal journal
[   12.709531] tda10048_firmware_upload: firmware read 24878 bytes.
[   12.718281] tda10048_firmware_upload: firmware uploading

some more stuff that doesn't look related

[   16.820022] tda10048_firmware_upload: firmware uploaded
[   16.944017] dvb_init() allocating 1 frontend
[   17.005238] tuner-simple 3-0061: unable to probe Philips TD1316 Hybrid
Tuner, proceeding anyway.6tuner-simple 3-0061: creating new instance
[   17.013309] tuner-simple 3-0061: type set to 67 (Philips TD1316 Hybrid
Tuner)
[   17.021250] DVB: registering new adapter (saa7134[1])
[   17.029133] DVB: registering adapter 2 frontend 0 (Zarlink MT352 DVB-T)...

I think those last two lines relate to the Avermedia, but not sure


http://drivers.softpedia.com/get/TV-Tuner-Co/LEADTEK/Leadtek-WinFast-DTV1000S-XP-Driver-20070907-WHQL.shtml

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  

RE: Leadtek Winfast DTV-1000S

2009-05-31 Thread paul10
OK, I've also tried the firmware from the instructions at
steventoth.net/linux/hvr1200, giving me a dvb-fe-tda10048-1.0.fw file.  I
still cannot tune, it isn't clear to me whether the firmware is the issue,
or whether one of the other errors is the problem.  Or both

I still have the other two cards in the machine, so the dmesg listing
isn't clean.  I'm extracting what looks relevant.  I can post the whole
log if something looks to be missing, or if really necessary I can remove
the other two cards.  That will take me a little longer and it is my
production box, so I'd rather not unless there is some doubt about what is
going on.

The relevant messages in the log look to be:

[   10.232789] saa7130/34: v4l2 driver version 0.2.15 loaded
[   10.241194] saa7134 :05:00.0: PCI INT A - GSI 20 (level, low) -
IRQ 20
[   10.249731] saa7130[0]: found at :05:00.0, rev: 1, irq: 20,
latency: 32, mmio: 0xfc001000
[   10.258483] saa7130[0]: subsystem: 107d:6655, board: Hauppauge
WinTV-HVR1110r3 DVB-T/Hybrid [card=156,insmod option]
[   10.267477] saa7130[0]: board init: gpio is 122009
[   10.293131] cx88/0: cx2388x v4l2 driver version 0.0.7 loaded
[   10.302052] IRQ 20/saa7130[0]: IRQF_DISABLED is not guaranteed on
shared IRQs
[   10.312626] cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.7 loaded
[   10.353716] cx2388x alsa driver version 0.0.7 loaded
[   10.400854] HDA Intel :00:1b.0: PCI INT A - GSI 22 (level, low) -
IRQ 22
[   10.410254] HDA Intel :00:1b.0: setting latency timer to 64
[   10.464031] saa7130[0]: i2c eeprom 00: 7d 10 55 66 54 20 1c 00 43 43 a9
1c 55 d2 b2 92
[   10.473672] saa7130[0]: i2c eeprom 10: 00 ff 82 0e ff 20 ff ff ff ff ff
ff ff ff ff ff
[   10.483379] saa7130[0]: i2c eeprom 20: 01 40 01 01 01 ff 01 03 08 ff 00
8a ff ff ff ff
[   10.492999] saa7130[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.502537] saa7130[0]: i2c eeprom 40: ff 35 00 c0 00 10 03 02 ff 04 ff
ff ff ff ff ff
[   10.512026] saa7130[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.521514] saa7130[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.530935] saa7130[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.540418] saa7130[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.549677] saa7130[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.558693] saa7130[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.567617] saa7130[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.567739] saa7130[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.567746] saa7130[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.567753] saa7130[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.567758] saa7130[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   10.567765] tveeprom 1-0050: Encountered bad packet header [ff].
Corrupt or not a Hauppauge eeprom.
[   10.567767] saa7130[0]: warning: unknown hauppauge model #0
[   10.567768] saa7130[0]: hauppauge eeprom: model=0
[   10.712041] Chip ID is not zero. It is not a TEA5767
[   10.720138] tuner 1-0060: chip found @ 0xc0 (saa7130[0])
[   10.768020] tda8290: no gate control were provided!
[   10.775900] tuner 1-0060: Tuner has no way to set tv freq
[   10.783718] tuner 1-0060: Tuner has no way to set tv freq
[   10.791567] saa7130[0]: registered device video0 [v4l2]
[   10.799359] saa7130[0]: registered device vbi0
[   10.807034] saa7130[0]: registered device radio0

some stuff from other cards

[   12.273033] DVB: registering new adapter (saa7130[0])
[   12.281372] DVB: registering adapter 1 frontend 0 (NXP TDA10048HN
DVB-T)...
[   12.617026] tda10048_firmware_upload: waiting for firmware upload
(dvb-fe-tda10048-1.0.fw)...
[   12.617029] saa7134 :05:00.0: firmware: requesting
dvb-fe-tda10048-1.0.fw
[   12.694154] EXT3 FS on md21, internal journal
[   12.709531] tda10048_firmware_upload: firmware read 24878 bytes.
[   12.718281] tda10048_firmware_upload: firmware uploading

some non-dvb stuff

[   16.820022] tda10048_firmware_upload: firmware uploaded
[   16.944017] dvb_init() allocating 1 frontend
[   17.005238] tuner-simple 3-0061: unable to probe Philips TD1316 Hybrid
Tuner, proceeding anyway.6tuner-simple 3-0061: creating new instance
[   17.013309] tuner-simple 3-0061: type set to 67 (Philips TD1316 Hybrid
Tuner)
[   17.021250] DVB: registering new adapter (saa7134[1])
[   17.029133] DVB: registering adapter 2 frontend 0 (Zarlink MT352 DVB-T)...
[   17.162115] saa7134 ALSA driver for DMA sound loaded
[   17.170016] saa7130[0]/alsa: Hauppauge WinTV-HVR1110r3 DVB-T/Hybrid
doesn't support digital audio
[   17.178093] IRQ 19/saa7134[1]: IRQF_DISABLED is not guaranteed on
shared IRQs
[   17.186235] saa7134[1]/alsa: saa7134[1] at 0xfc00 irq 19 registered
as card -1

I suspect some of those last 

Re: Leadtek Winfast DTV-1000S

2009-05-21 Thread Brad Allen


--- mkru...@linuxtv.org wrote:

From: Michael Krufky mkru...@linuxtv.org
To: bra...@tranceaddict.net
Subject: Re: Leadtek Winfast DTV-1000S
Date: Wed, 20 May 2009 18:09:34 -0400

On Tue, May 19, 2009 at 3:50 AM, Brad Allen bra...@tranceaddict.net wrote:
 Dear Michael,

 Ive just bought a Leadtek Winfast DTV-1000S (18271, 14008, 7130 chipset), 
 believing it would work under Linux as the kernel contains drivers for those 
 three chips.

 Upon further investigation neither the SAA7134 or the TDA14008 drivers seem 
 to support the 18271. The SAA7134 driver does however appear to work 
 correctly. It just has no tuner to attach to it.

 I am desperate to get this card working, surely since the drivers for the 
 chips are written its not a huge task. If you would be so kind as to offer 
 your assistance with this issue I have basic C skills and am quite competent 
 in linux so if theres anything at all I can do to assist you please let me 
 know.

 Thanks in advance,

 Brad Allen


Brad,

I pushed support for a similar board today... You may be able to get
your card up and running by using board configuration #156, if you use
my latest code, located here:

http://kernellabs.com/hg/~mk/hvr1110

The board I have uses a saa7131, not a saa7130, so there may be some
minor differences...  Does your board support both analog and DVB-T,
or just DVB-T ?

Apologies for the late reply -- I am usually no better than this :-P

For quicker response, cc the linux-media mailing list in the future :-)

If this works for you, please let me know.  If not, I have some ideas.

Good Luck.

-Mike Krufky

Hi Mike,

Thanks for your reply. I have had a few minutes to try your latest code and I 
have both good and bad news to report.

Firstly all three chips are now correctly detected by the module, previously 
only the SAA7130 was. The DVB device is also now being created whereas before 
it wasn't.

The card is a DVB-T and FM tuner.

Here are the problems:

1) When loading the module I get the error tuner 1-0060: Tuner has no way to 
set tv freq

2) Trying to tune in channels in mythtv fails, it seems to work but nothing is 
detected. The signal strength meter works properly.

3) Attempting to view TV with mplayer fails with the following error:

ERROR OPENING FRONTEND DEVICE /dev/dvb/adapter0/frontend0: ERRNO 
DVB_SET_CHANNEL2, COULDN'T OPEN DEVICES OF CARD: 0, EXIT
ERROR, COULDN'T SET CHANNEL  0: Failed to open dvb://.

Here is the relevant part from dmesg:

[6.453049] Linux video capture interface: v2.00
[7.280900] saa7130/34: v4l2 driver version 0.2.15 loaded
[7.282274] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
[7.282345] PCI: setting IRQ 5 as level-triggered
[7.282358] saa7134 :00:0f.0: PCI INT A - Link[LNKC] - GSI 5 (level, 
low) - IRQ 5
[7.282451] saa7130[0]: found at :00:0f.0, rev: 1, irq: 5, latency: 32, 
mmio: 0xea001000
[7.282550] saa7130[0]: subsystem: 107d:6655, board: Hauppauge 
WinTV-HVR1110r3 DVB-T/Hybrid [card=156,insmod option]
[7.282699] saa7130[0]: board init: gpio is 2020009
[7.301147] IRQ 5/saa7130[0]: IRQF_DISABLED is not guaranteed on shared IRQs
[7.437801] saa7130[0]: i2c eeprom 00: 7d 10 55 66 54 20 1c 00 43 43 a9 1c 
55 d2 b2 92
[7.438219] saa7130[0]: i2c eeprom 10: 00 ff 82 0e ff 20 ff ff ff ff ff ff 
ff ff ff ff
[7.438541] saa7130[0]: i2c eeprom 20: 01 40 01 01 01 ff 01 03 08 ff 00 8a 
ff ff ff ff
[7.439915] saa7130[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
[7.440613] saa7130[0]: i2c eeprom 40: ff 35 00 c0 00 10 03 02 ff 04 ff ff 
ff ff ff ff
[7.441307] saa7130[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
[7.441984] saa7130[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
[7.442680] saa7130[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
[7.443374] saa7130[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
[7.444067] saa7130[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
[7.444746] saa7130[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
[7.445441] saa7130[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
[7.446137] saa7130[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
[7.446815] saa7130[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
[7.447511] saa7130[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
[7.448203] saa7130[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
[7.448889] tveeprom 1-0050: Encountered bad packet header [ff]. Corrupt or 
not a Hauppauge eeprom.
[7.448976] saa7130[0]: warning: unknown hauppauge model #0
[7.449059] saa7130[0]: hauppauge eeprom: model=0
[7.517263] tea5767_autodetection: not probed - driver disabled by Kconfig
[7.517359] tuner 1-0060: chip found @ 0xc0 (saa7130[0])
[7.517442] tda829x_attach

Re: Leadtek Winfast DTV-1000S

2009-05-21 Thread Michael Krufky
On Thu, May 21, 2009 at 10:04 AM, Brad Allen bra...@tranceaddict.net wrote:


 --- mkru...@linuxtv.org wrote:

 From: Michael Krufky mkru...@linuxtv.org
 To: bra...@tranceaddict.net
 Subject: Re: Leadtek Winfast DTV-1000S
 Date: Wed, 20 May 2009 18:09:34 -0400

 On Tue, May 19, 2009 at 3:50 AM, Brad Allen bra...@tranceaddict.net wrote:
 Dear Michael,

 Ive just bought a Leadtek Winfast DTV-1000S (18271, 14008, 7130 chipset), 
 believing it would work under Linux as the kernel contains drivers for those 
 three chips.

 Upon further investigation neither the SAA7134 or the TDA14008 drivers seem 
 to support the 18271. The SAA7134 driver does however appear to work 
 correctly. It just has no tuner to attach to it.

 I am desperate to get this card working, surely since the drivers for the 
 chips are written its not a huge task. If you would be so kind as to offer 
 your assistance with this issue I have basic C skills and am quite competent 
 in linux so if theres anything at all I can do to assist you please let me 
 know.

 Thanks in advance,

 Brad Allen


 Brad,

 I pushed support for a similar board today... You may be able to get
 your card up and running by using board configuration #156, if you use
 my latest code, located here:

 http://kernellabs.com/hg/~mk/hvr1110

 The board I have uses a saa7131, not a saa7130, so there may be some
 minor differences...  Does your board support both analog and DVB-T,
 or just DVB-T ?

 If this works for you, please let me know.  If not, I have some ideas.

 Good Luck.

 -Mike Krufky

 Hi Mike,

 Thanks for your reply. I have had a few minutes to try your latest code and I 
 have both good and bad news to report.

 Firstly all three chips are now correctly detected by the module, previously 
 only the SAA7130 was. The DVB device is also now being created whereas before 
 it wasn't.

 The card is a DVB-T and FM tuner.

 Here are the problems:

 1) When loading the module I get the error tuner 1-0060: Tuner has no way to 
 set tv freq

 2) Trying to tune in channels in mythtv fails, it seems to work but nothing 
 is detected. The signal strength meter works properly.

 3) Attempting to view TV with mplayer fails with the following error:

 ERROR OPENING FRONTEND DEVICE /dev/dvb/adapter0/frontend0: ERRNO 
 DVB_SET_CHANNEL2, COULDN'T OPEN DEVICES OF CARD: 0, EXIT
 ERROR, COULDN'T SET CHANNEL  0: Failed to open dvb://.

 Here is the relevant part from dmesg:

 [    6.453049] Linux video capture interface: v2.00
 [    7.280900] saa7130/34: v4l2 driver version 0.2.15 loaded
 [    7.282274] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
 [    7.282345] PCI: setting IRQ 5 as level-triggered
 [    7.282358] saa7134 :00:0f.0: PCI INT A - Link[LNKC] - GSI 5 (level, 
 low) - IRQ 5
 [    7.282451] saa7130[0]: found at :00:0f.0, rev: 1, irq: 5, latency: 
 32, mmio: 0xea001000
 [    7.282550] saa7130[0]: subsystem: 107d:6655, board: Hauppauge 
 WinTV-HVR1110r3 DVB-T/Hybrid [card=156,insmod option]
 [    7.282699] saa7130[0]: board init: gpio is 2020009
 [    7.301147] IRQ 5/saa7130[0]: IRQF_DISABLED is not guaranteed on shared 
 IRQs
 [    7.437801] saa7130[0]: i2c eeprom 00: 7d 10 55 66 54 20 1c 00 43 43 a9 1c 
 55 d2 b2 92
 [    7.438219] saa7130[0]: i2c eeprom 10: 00 ff 82 0e ff 20 ff ff ff ff ff ff 
 ff ff ff ff
 [    7.438541] saa7130[0]: i2c eeprom 20: 01 40 01 01 01 ff 01 03 08 ff 00 8a 
 ff ff ff ff
 [    7.439915] saa7130[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff 
 ff ff ff ff
 [    7.440613] saa7130[0]: i2c eeprom 40: ff 35 00 c0 00 10 03 02 ff 04 ff ff 
 ff ff ff ff
 [    7.441307] saa7130[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff 
 ff ff ff ff
 [    7.441984] saa7130[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff 
 ff ff ff ff
 [    7.442680] saa7130[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff 
 ff ff ff ff
 [    7.443374] saa7130[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff 
 ff ff ff ff
 [    7.444067] saa7130[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff 
 ff ff ff ff
 [    7.444746] saa7130[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff 
 ff ff ff ff
 [    7.445441] saa7130[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff 
 ff ff ff ff
 [    7.446137] saa7130[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff 
 ff ff ff ff
 [    7.446815] saa7130[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff 
 ff ff ff ff
 [    7.447511] saa7130[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff 
 ff ff ff ff
 [    7.448203] saa7130[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff 
 ff ff ff ff
 [    7.448889] tveeprom 1-0050: Encountered bad packet header [ff]. Corrupt 
 or not a Hauppauge eeprom.
 [    7.448976] saa7130[0]: warning: unknown hauppauge model #0
 [    7.449059] saa7130[0]: hauppauge eeprom: model=0
 [    7.517263] tea5767_autodetection: not probed - driver disabled by Kconfig
 [    7.517359] tuner 1-0060: chip found @ 0xc0 (saa7130[0])
 [    7.517442