I have just installed Hauppauge WinTV PVR 350 on my AMD (Athlon 64
3400+) PC.
See: http://www.hauppauge.com/pages/products/data_pvr350.html
This machine is AMD 3400+ 64bit but I currently run 32bit operating
systems on it (due to development and other issues).
It has a tripple-boot-meny between Ubuntu Linux 5.10, Fedora Core-4 and
Windows XP. All OSes are 32 bits.
-----------------------------------------------------------
S Y M P T O M S A R E:
***
In Ubuntu 5.10 (32 bit) Same diagnosis in Fedora-Core-4 (32 bit):
I run scantv and select 1: PAL and 5: Europe-west. I live in
Oslo/Norway/North Europe.
$ scantv
invalid value for input: television
valid choices for "input": "Composite 0", "Composite 1", "Composite 2",
"Composite 3", "Tuner 0", "Composite 4", "S-Video 0", "S-Video 1",
"S-Video 2", "S-Video 3"
Crash!"#¤
---
I must run it like this:
$ scantv -C /dev/vbi0
and it performs a scan.
-------
Running xawtv
$ xawtv
No picture, just a black screen. Pressing Z (channel hopping) does
nothing at all.
See: http://www.futuredesktop.org/tmp/ivtv/xawtv_screenshot1.png
-------------------------------------
***
In Windows XP Home (same machine):
WinTV2000 program can scan all channels (PAL, West-Europe).
I select a channel but the (tv)window stays black. I resize the
window or click on the 'full screen' button and suddenly it shows a
quite clear freezed tv-picture. No movement thou, sole one freezed
picture frame. Picture disappears if I change channel.
=============================
K O N F I G U R A T I O N
0) I have tested the TV-cable several times with a normal TV-box and
Pinnacle PCTV card for Windows XP (USB2 model) works fine on this same
machine. So the TV-outlet should be 100% OK. But in this house we (need
to) use 99.99% of time Linux so...
--------------------------------------------------------
1) PC hardware:
CPU: AMD 3400+ 64 bit
RAM: 1GB
Graphics card: NVidia GeForce
Have also tried with: ATI Radeon 9800 graphics card.
Other details:
$ sudo lshw -html > lshw.html
See: http://www.futuredesktop.org/tmp/ivtv/lshw.html
--------------------------------------------------------
2) This Linux system
$ uname -a
Linux 062249179162 2.6.12-10-686 #1 Thu Dec 22 11:55:07 UTC 2005 i686
GNU/Linux
---
$ cat /etc/*release*
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=5.10
DISTRIB_CODENAME=breezy
DISTRIB_DESCRIPTION="Ubuntu (The Breezy Badger Release)"
--------------------------------------------------------
3) I have installed the ivtv-driver by following this guide
http://ivtvdriver.org/index.php/Howto
See: http://www.futuredesktop.org/tmp/ivtv/make_ivtv-0.4.1.txt
--------------------------------------------------------
4) Firmware was installed like this
http://ivtvdriver.org/index.php/Firmware#Firmware_Checksums
$ wget -c
ftp://ftp.shspvr.com/download/wintv-pvr_150-500/inf/pvr_2.0.24.23035.zip
$ unzip pvr_2.0.24.23035.zip
$ sudo cp HcwMakoA.ROM /lib/modules/
$ wget
ftp://ftp.shspvr.com/download/wintv-pvr_250-350/inf/pvr_1.18.21.22301_inf.zip
$ cd ~/tmp/ivtv/ivtv-0.4.1
$ sudo utils/ivtvfwextract.pl ~/tmp/ivtv/firmware/pvr_1.18.21.22301_inf.zip
---
New names in ivtv-0.4.1:
$ sudo cp /lib/modules/ivtv-fw-enc.bin /lib/modules/v4l-cx2341x-enc.fw
$ sudo cp /lib/modules/ivtv-fw-dec.bin /lib/modules/v4l-cx2341x-dec.fw
$ sudo cp /lib/modules/HcwMakoA.ROM /lib/modules/v4l-cx25840.fw
The result is:
$ ls -l /lib/modules
drwxr-xr-x 6 root root 504 2005-12-25 11:31 2.6.12-10-686
-r--r--r-- 1 root root 14264 2005-12-25 11:42 HcwMakoA.ROM
-rw-r--r-- 1 root root 262144 2005-12-25 11:44 ivtv-fw-dec.bin
-rw-r--r-- 1 root root 262144 2005-12-25 11:44 ivtv-fw-enc.bin
-rw-r--r-- 1 root root 262144 2005-12-25 11:47 v4l-cx2341x-dec.fw
-rw-r--r-- 1 root root 262144 2005-12-25 11:47 v4l-cx2341x-enc.fw
-r--r--r-- 1 root root 14264 2005-12-25 11:48 v4l-cx25840.fw
---
Maybe the right place is '/lib/hotplug/firmware' because
/etc/hotplug/firmware.agent says:
--
# directories with the firmware files
FIRMWARE_DIRS="/lib/hotplug/firmware /usr/local/lib/hotplug/firmware
/usr/lib/hotplug/firmware"
--
Anyway, /lib/modules seemz to be default location (according to dmesg.txt).
--------------------------------------------------------
5) Load ivtv module
$ sudo modprobe -r ivtv
$ sudo modprobe -v ivtv
insmod /lib/modules/2.6.12-10-686/kernel/drivers/media/video/videodev.ko
insmod /lib/modules/2.6.12-10-686/kernel/drivers/i2c/algos/i2c-algo-bit.ko
insmod /lib/modules/2.6.12-10-686/kernel/drivers/base/firmware_class.ko
insmod /lib/modules/2.6.12-10-686/kernel/drivers/media/video/ivtv.ko
$ sudo depmod -a
--------------------------------------------------------
6) V A R I O U S DE T A I L S:
6.1) /var/log/messages (dmesg)
See: http://www.futuredesktop.org/tmp/ivtv/dmesg.txt
----
6.2) lspci
See: http://www.futuredesktop.org/tmp/ivtv/lspci.txt
----
6.3) lsmod
See: http://www.futuredesktop.org/tmp/ivtv/lsmod.txt
----
6.4) /etc/modutils/ivtv file (note: this is Ubuntu = Debian distro )
See: http://www.futuredesktop.org/tmp/ivtv/modutils.txt
-----------------------------------------------------------
-----------------------------------------------------------
I've been back into my local datastore and they tested this Hauppauge
350 card on their Windows XP and it worked well. They gave me new
Hauppauge/Windows drivers... but for no help.
Maybe I should run 64bit Linux (not 32bit) on this 64 bit machine?
The card is bad?
Make a second trial, on an another machine?
Any comments, TIA.
---
Merry xmas and happy new year
;-)
Cheers
moma
http://www.futuredesktop.org/how2burn.html#Ubuntu
> $ scantv
>
> invalid value for input: television
> valid choices for "input": "Composite 0", "Composite 1", "Composite 2",
> "Composite 3", "Tuner 0", "Composite 4", "S-Video 0", "S-Video 1",
> "S-Video 2", "S-Video 3"
>
> Crash!"#¤
> ---
>
> I must run it like this:
> $ scantv -C /dev/vbi0
> and it performs a scan.
> -------
>
> Running xawtv
> $ xawtv
>
I use SuSE-10.0 32bit kernel 2.6.15-rc6-git2-2005122323000/ivtv-0.5.1 and
scantv/xawtv doesn't work for me, too
Remember , this card outputs a MPEG2 video stream (no raw video)
at /dev/video0
So I use "mplayer /dev/video" to watch the cards output... And ivtv-tune for
choosing the channel.
[...]
>
> $ cd ~/tmp/ivtv/ivtv-0.4.1
> $ sudo utils/ivtvfwextract.pl
> ~/tmp/ivtv/firmware/pvr_1.18.21.22301_inf.zip ---
>
> New names in ivtv-0.4.1:
> $ sudo cp /lib/modules/ivtv-fw-enc.bin /lib/modules/v4l-cx2341x-enc.fw
> $ sudo cp /lib/modules/ivtv-fw-dec.bin /lib/modules/v4l-cx2341x-dec.fw
> $ sudo cp /lib/modules/HcwMakoA.ROM /lib/modules/v4l-cx25840.fw
Did you check the logfile for the cards messages ? Does it really load its
firmware ? AFAIK one change from 0.4.0 to 0.4.1 was switching to the kernel
firmware loader. At least on my system with 0.5.1 driver ( which also uses
kernel firmware loader) the firmware is expected to live in /lib/firmware
And there is also a "v4l-cx2341x-init-mpeg.bin" ( was ivtv_init_mpeg.bin on
older driver versions) in /lib/firmware.
Expect something like the following in your logfile for a working card :
Dec 25 20:04:12 emil3 kernel: ivtv: ==================== START INIT IVTV
====================
Dec 25 20:04:12 emil3 kernel: ivtv: version 0.5.1 (tagged release) loading
Dec 25 20:04:12 emil3 kernel: ivtv: Linux version:
2.6.15-rc6-git2-20051223230007-default 586 REGPARM gcc-4.0
Dec 25 20:04:12 emil3 kernel: ivtv: In case of problems please include the
debug info between
Dec 25 20:04:12 emil3 kernel: ivtv: the START INIT IVTV and END INIT IVTV
lines, along with
Dec 25 20:04:12 emil3 kernel: ivtv: any module options, when mailing the
ivtv-users mailinglist.
Dec 25 20:04:12 emil3 kernel: ivtv0: Autodetected WinTV PVR 350 card
(cx23415 based)
Dec 25 20:04:12 emil3 kernel: i2c-algo-bit.o: (0) scl=1, sda=1
Dec 25 20:04:12 emil3 kernel: i2c-algo-bit.o: (1) scl=1, sda=0
Dec 25 20:04:12 emil3 kernel: i2c-algo-bit.o: (2) scl=1, sda=1
Dec 25 20:04:12 emil3 kernel: i2c-algo-bit.o: (3) scl=0, sda=1
Dec 25 20:04:12 emil3 kernel: i2c-algo-bit.o: (4) scl=1, sda=1
Dec 25 20:04:12 emil3 kernel: i2c-algo-bit.o: ivtv i2c driver #0 passed
test.
Dec 25 20:04:12 emil3 kernel: ivtv0: i2c attach to card #0 ok
[client=tveeprom, addr=50]
Dec 25 20:04:12 emil3 kernel: tveeprom 1-0050: Hauppauge model 48139, rev
K257, serial# 7880937
Dec 25 20:04:12 emil3 kernel: tveeprom 1-0050: tuner model is Philips FM1216
ME MK3 (idx 57, type 38)
Dec 25 20:04:12 emil3 kernel: tveeprom 1-0050: TV standards PAL(B/G) PAL(I)
SECAM(L/L') PAL(D/K) (eeprom 0x74)
Dec 25 20:04:12 emil3 kernel: tveeprom 1-0050: audio processor is MSP4418
(idx 25)
Dec 25 20:04:12 emil3 kernel: tveeprom 1-0050: decoder processor is SAA7115
(idx 19)
Dec 25 20:04:12 emil3 kernel: tveeprom 1-0050: has radio, has IR remote
Dec 25 20:04:12 emil3 kernel: tuner 1-0061: chip found @ 0xc2 (ivtv i2c
driver #0)
Dec 25 20:04:12 emil3 kernel: ivtv0: i2c attach to card #0 ok [client=(tuner
unset), addr=61]
Dec 25 20:04:12 emil3 kernel: saa7115 1-0021: saa7115 found @ 0x42 (ivtv i2c
driver #0)
Dec 25 20:04:12 emil3 kernel: ivtv0: i2c attach to card #0 ok
[client=saa7115, addr=21]
Dec 25 20:04:12 emil3 kernel: saa7127 1-0044: saa7129 found @ 0x88 (ivtv i2c
driver #0)
Dec 25 20:04:12 emil3 kernel: ivtv0: i2c attach to card #0 ok
[client=saa7127, addr=44]
Dec 25 20:04:12 emil3 kernel: msp3400 1-0040: chip=MSP4418G-B3 +nicam
+simple +simpler +radio mode=simpler
Dec 25 20:04:12 emil3 kernel: msp3400 1-0040: msp34xxg daemon started
Dec 25 20:04:12 emil3 kernel: ivtv0: i2c attach to card #0 ok
[client=MSP4418G-B3, addr=40]
Dec 25 20:04:12 emil3 kernel: tda9887 1-0043: chip found @ 0x86 (ivtv i2c
driver #0)
Dec 25 20:04:12 emil3 kernel: ivtv0: i2c attach to card #0 ok
[client=tda9887, addr=43]
Dec 25 20:04:12 emil3 kernel: saa7146: register extension 'dvb'.
Dec 25 20:04:12 emil3 kernel: ivtv0: loaded v4l-cx2341x-enc.fw firmware
(262144 bytes)
Dec 25 20:04:12 emil3 kernel: ivtv0: loaded v4l-cx2341x-dec.fw firmware
(262144 bytes)
Dec 25 20:04:12 emil3 kernel: ivtv0: Encoder revision: 0x02050032
Dec 25 20:04:12 emil3 kernel: ivtv0: Decoder revision: 0x02020023
Dec 25 20:04:12 emil3 kernel: ivtv0: Allocate DMA encoder MPEG stream: 128 x
32768 buffers (4096KB total)
Dec 25 20:04:12 emil3 kernel: ivtv0: Allocate DMA encoder YUV stream: 161 x
12960 buffers (2048KB total)
Dec 25 20:04:12 emil3 kernel: ivtv0: Allocate DMA encoder VBI stream: 80 x
26208 buffers (2048KB total)
Dec 25 20:04:12 emil3 kernel: ivtv0: Allocate DMA encoder PCM audio stream:
455 x 4608 buffers (2048KB total)
Dec 25 20:04:12 emil3 kernel: ivtv0: Create encoder radio stream
Dec 25 20:04:12 emil3 kernel: ivtv0: Allocate DMA decoder MPEG stream: 16 x
65536 buffers (1024KB total)
Dec 25 20:04:12 emil3 kernel: ivtv0: Allocate DMA decoder VBI stream: 512 x
2048 buffers (1024KB total)
Dec 25 20:04:12 emil3 kernel: ivtv0: Create decoder VOUT stream
Dec 25 20:04:12 emil3 kernel: ivtv0: Allocate DMA decoder YUV stream: 20 x
51840 buffers (1024KB total)
Dec 25 20:04:12 emil3 kernel: ivtv0: loaded v4l-cx2341x-init-mpeg.bin
firmware (155648 bytes)
Dec 25 20:04:12 emil3 kernel: tuner 1-0061: type set to 38 (Philips
PAL/SECAM multi (FM1216ME MK3))
Dec 25 20:04:12 emil3 kernel: ivtv0: Initialized WinTV PVR 350, card #0
Dec 25 20:04:12 emil3 kernel: ivtv: ==================== END INIT IVTV
====================
Thank you.
1) Found v4l-cx2341x-init-mpeg.bin file on
http://ivtvdriver.org/viewcvs/ivtv/trunk/
2) I've now moved v4l-cx* to /lib/firmware/
$ ls -l /lib/firmware/
total 1208
-r--r--r-- 1 root root 14264 2005-12-26 04:47 HcwMakoA.ROM
-rw-r--r-- 1 root root 262144 2005-12-26 04:47 ivtv-fw-dec.bin
-rw-r--r-- 1 root root 262144 2005-12-26 04:47 ivtv-fw-enc.bin
-rw-r--r-- 1 root root 262144 2005-12-26 04:47 v4l-cx2341x-dec.fw
-rw-r--r-- 1 root root 262144 2005-12-26 04:47 v4l-cx2341x-enc.fw
-rw-r--r-- 1 root root 155648 2005-12-26 04:47 v4l-cx2341x-init-mpeg.bin
-r--r--r-- 1 root root 14264 2005-12-26 04:47 v4l-cx25840.fw
New dmesg listing
$ sudo modprobe -r ivtv
$ sudo modprobe -vv ivtv
$ dmesg (Looks better ;)
[4299075.439000] ivtv: ==================== START INIT IVTV
====================
[4299075.439000] ivtv: version 0.4.1 (tagged release) loading
[4299075.439000] ivtv: Linux version: 2.6.12-10-686 686 gcc-3.4
[4299075.439000] ivtv: In case of problems please include the debug
info between
[4299075.439000] ivtv: the START INIT IVTV and END INIT IVTV lines,
along with
[4299075.439000] ivtv: any module options, when mailing the ivtv-users
mailinglist.
[4299075.442000] ivtv0: Autodetected WinTV PVR 350 card (cx23415 based)
[4299075.442000] ACPI: PCI Interrupt 0000:02:09.0[A] -> Link [APC4] ->
GSI 19 (level, low) -> IRQ 19
[4299075.539000] tveeprom: The eeprom says no radio is present, but the
tuner type 57
[4299075.539000] tveeprom: indicates otherwise. I will assume that radio
is present.
[4299075.539000] tveeprom: ivtv version
[4299075.539000] tveeprom: Hauppauge: model = 48139, rev = K257, serial#
= 8206014
[4299075.539000] tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type
= 38)
[4299075.539000] tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L')
PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
[4299075.539000] tveeprom: audio processor = MSP4418 (type = 19)
[4299075.539000] tveeprom: decoder processor = SAA7115 (type = 13)
[4299075.539000] ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
[4299075.552000] tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c
driver #0
[4299075.552000] ivtv0: i2c attach to card #0 ok [client=(tuner unset),
addr=61]
[4299075.584000] saa7115 0-0021: ivtv driver
[4299075.584000] saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
[4299075.756000] ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
[4299075.832000] saa7127 0-0044: ivtv driver
[4299075.835000] saa7127 0-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
[4299075.838000] ivtv0: i2c attach to card #0 ok [client=saa7127, addr=44]
[4299075.862000] msp3400 0-0040: ivtv driver
[4299075.862000] msp3400 0-0040: chip=MSP4418G-B3 +nicam +simple
+simpler +radio mode=simpler
[4299075.869000] ivtv0: i2c attach to card #0 ok [client=MSP4418G-B3,
addr=40]
[4299075.869000] msp3400 0-0040: msp34xxg daemon started
[4299075.876000] tda9887 0-0043: (ivtv) chip found @ 0x86 (ivtv i2c
driver #0)
[4299075.876000] ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
[4299076.529000] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
[4299076.585000] ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
[4299076.795000] ivtv0: Encoder revision: 0x02050032
[4299076.805000] ivtv0: Decoder revision: 0x02020023
[4299076.806000] ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768
buffers (4096KB total)
[4299076.806000] ivtv0: Allocate DMA encoder YUV stream: 161 x 12960
buffers (2048KB total)
[4299076.807000] ivtv0: Allocate DMA encoder VBI stream: 80 x 26208
buffers (2048KB total)
[4299076.808000] ivtv0: Allocate DMA encoder PCM audio stream: 455 x
4608 buffers (2048KB total)
[4299076.809000] ivtv0: Create encoder radio stream
[4299076.810000] ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536
buffers (1024KB total)
[4299076.811000] ivtv0: Allocate DMA decoder VBI stream: 512 x 2048
buffers (1024KB total)
[4299076.811000] ivtv0: Create decoder VOUT stream
[4299076.813000] ivtv0: Allocate DMA decoder YUV stream: 20 x 51840
buffers (1024KB total)
[4299076.893000] ivtv0: loaded v4l-cx2341x-init-mpeg.bin firmware
(155648 bytes)
[4299077.003000] tuner: type set to 38 (Philips PAL/SECAM multi
(FM1216ME MK3)) by ivtv i2c driver #0
[4299077.335000] ivtv0: Initialized WinTV PVR 350, card #0
[4299077.335000] ivtv: ==================== END INIT IVTV
================================================================================
3) But no reaction in xawtv, nada what so ever.
Just give me some final tips how 2 use this software,
how 2 search channels. Anything.
So I can give up this card in peace.
As I said before: xawtv expects raw video data, but the pvr outputs MPEG2
encoded data on /dev/video0.
To watch the output use "mplayer /dev/video0"
>
> Just give me some final tips how 2 use this software,
Read about mythtv and/or VDR
Heureka! ;-)
or
cat /dev/video0 > file.mpeg
> To watch the output use "mplayer /dev/video0"
>
>>Just give me some final tips how 2 use this software,
>
> Read about mythtv and/or VDR
>
Many thanks,
I obviously need to learn more about xawtv, tvtime, kdetv and the
TV/video technique as whole. http://mythtv.org seems to have a lot of info.
-> I will first try the card on an another (very ordinary) Pentium PC.
-> If it's OK then
will make a new, pure tests on this PC.
-> Am also downloading "StudioGO" CD. That CD may also be a good
debug/testing aid.
http://www.ibiblio.org/onebase/onebaselinux.com/About/features/studiogo.php
I've learned quite a bit so far.
"A single bright, light dot on a black screen."
That's all I ask.
kindly
moma
http://www.futuredesktop.org/hpc_linux.html
Search frequences:
$ for i in $(seq 400); do ivtv-tune -f$(( $i + 30 )); sleep 2; done
...
/dev/video0: 144.000 MHz
/dev/video0: 145.000 MHz
/dev/video0: 146.000 MHz (Signal Detected)
/dev/video0: 147.000 MHz (Signal Detected)
/dev/video0: 148.000 MHz
/dev/video0: 149.000 MHz
...
Finally watch cartoons (= mission completed w/ success)
$ivtv-tune -f147
Happy ending.
->
http://www.futuredesktop.org/tmp/ivtv/Hauppauge_PVR_350_BIG_Success_on_Ubuntu.jpg
-----
First I searched for some sensible frequences:
$ for i in $(seq 400); do ivtv-tune -f$(( $i + 30 )); sleep 2; done
...
/dev/video0: 144.000 MHz
/dev/video0: 145.000 MHz
/dev/video0: 146.000 MHz (Signal Detected)
/dev/video0: 147.000 MHz (Signal Detected)
/dev/video0: 148.000 MHz
/dev/video0: 149.000 MHz
...
--------------------------------
Found also a (local) channel-list on the internet
http://www.canaldigital.no/templates/generalarticle2+3____6466.aspx
And finally watching TV
$ivtv-tune -f154.25
Mission completed w/ success.
thanks
// moma
http://www.futuredesktop.org/hpc_linux.html