[mythtv-users] can't tune pvr-150 using mythtv, ivtv-tune works

Ronald Wielink ronald.mythtv at gmail.com
Wed Nov 23 16:30:02 EST 2005


Hi there!
I've been trying to get MythTV to work for the past few days but somehow I
don't get it to tune to channels. I'm using a single machine with a PVR-150
non-MCE.

I'm fairly new to linux, guess that doesn't help much...

What I've done so far is:
Installed MyhthTV using Jarods FC4 guide. I've stayed as close to the
instructions as possible. I have filled the database using myhtfilldatabase
--manual using tv_grab_nl_pdb with the information of two channels.

When I choose WatchTV I get a non-tuned image. I can faintly see a TV image
so I know
'something' is happening... Selecting channel 1 or 2 results in the image
freezing for a second or two but that's it.
I tried
# /usr/lib/ivtv/ptune-ui.pl &
# mplayer -vo xv /dev/video0

but apparently ptune-ui.pl is not included in the package I installed (?!).
Now when I use


ivtv-tune -f715.75
I get
/dev/video0: 715.750 MHz  (Signal Detected)
and the channel actually changes in the front end!

When I try channel up or channel down, I get:
Hi there!
I've been trying to get MythTV to work for the past few days but somehow I
don't get it to tune to channels. I'm using a single machine with a PVR-150
non-MCE.

I'm fairly new to linux, guess that doesn't help...

What I've done so far is:
Installed MyhthTV using Jarods FC4 guide. I've stayed as close to the
instructions as possible. I have filled the database using myhtfilldatabase
--manual using tv_grab_nl_pdb with the information of two channels.

When I choose WatchTV I get a non-tuned image. I can faintly see a TV image
so I know
'something' is happening... Selecting channel 1 or 2 results in the image
freezing for a second or two but that's it.
I tried
# /usr/lib/ivtv/ptune-ui.pl &
# mplayer -vo xv /dev/video0

but apparently ptune-ui.pl is not included in the package I installed (?!).
Now when I use
ivtv-tune -f715.75
I get
/dev/video0: 715.750 MHz  (Signal Detected)
and the channel actually changes in the front end!

Using Channelup and Channeldown I get:

2005-11-23 22:27:33.187 Channel(/dev/video0): CheckChannel failed. Please
verify channel "E2" in the "setup" Channel Editor.
2005-11-23 22:27:33.187 Error, couldn't find any available channels.
2005-11-23 22:27:33.188 Your database is most likely setup incorrectly.

I get the first line for every channel between 1 and 69 (and E en S
channels).

I suspect I've made an obvious mistake, but I can't find it. Can someone
please help me out?

Thanks a lot, Ronald
=========================
Here's some more information:
Starting up the backend:

2005-11-23 22:05:42.317 New DB connection, total: 1
Starting up as the master server.
2005-11-23 22:05:42.342 New DB connection, total: 2
2005-11-23 22:05:42.359 New DB connection, total: 3
2005-11-23 22:05:42.403 New DB scheduler connection
2005-11-23 22:05:42.413 mythbackend version: 0.18.1.20050523-1
www.mythtv.org
2005-11-23 22:05:42.414 Enabled verbose msgs : important general
2005-11-23 22:05:44.414 Reschedule requested for id -1.
2005-11-23 22:05:44.428 Scheduled 0 items in 0.0 = 0.01 match + 0.01 place
2005-11-23 22:05:44.432 Seem to be woken up by USER



Starting up the frontend:

2005-11-23 22:07:07.662 New DB connection, total: 1
Total desktop width=1024, height=768, numscreens=1
2005-11-23 22:07:07.678 Using screen 0, 1024x768 at 0,0
2005-11-23 22:07:07.685 mythfrontend version: 0.18.1.20050523-1
www.mythtv.org
2005-11-23 22:07:07.686 Enabled verbose msgs : important general
2005-11-23 22:07:08.171 Switching to square mode (visor)
mythtv: could not connect to socket
mythtv: Connection refused
lirc_init failed for mythtv, see preceding messages
2005-11-23 22:07:08.567 Joystick disabled.
2005-11-23 22:07:08.658 Registering Internal as a media playback plugin.
2005-11-23 22:07:08.687 Registering MythDVD DVD Media Handler as a media
handler
2005-11-23 22:07:08.689 Registering MythDVD VCD Media Handler as a media
handler
2005-11-23 22:07:08.986 Registering MythMusic Media Handler as a media
handler
SIP listening on IP Address 192.168.1.65:5060 NAT address 192.168.1.65
SIP: Cannot register; proxy, username or password not set
2005-11-23 22:07:09.578 Starting media monitor.


mysql> use mythconverg;
mysql> select chanid, channum, freqid, sourceid, callsign, name from
channel;
+--------+---------+--------+----------+----------+-------------+
| chanid | channum | freqid | sourceid | callsign | name        |
+--------+---------+--------+----------+----------+-------------+
|   1000 | 1       | 5      |        1 | Ned1     | Nederland 1 |
|   1001 | 2       | 7      |        1 | Ned2     | Nederland 2 |
+--------+---------+--------+----------+----------+-------------+

Nov 23 20:35:36 mithrandir kernel: ivtv:  ==================== START INIT
IVTV ====================
Nov 23 20:35:36 mithrandir kernel: ivtv:  version 0.4.0 (tagged release)
loading
Nov 23 20:35:36 mithrandir kernel: ivtv:  Linux version:
2.6.14-1.1637_FC4686 REGPARM 4KSTACKS
gcc-4.0
Nov 23 20:35:36 mithrandir kernel: ivtv:  In case of problems please include
the debug info
Nov 23 20:35:36 mithrandir kernel: ivtv:  between the START INIT IVTV and
END INIT IVTV lines when
Nov 23 20:35:36 mithrandir kernel: ivtv:  mailing the ivtv-devel
mailinglist.
Nov 23 20:35:36 mithrandir kernel: ivtv0: Autodetected WinTV PVR 150 card
(iTVC16 based)
Nov 23 20:35:36 mithrandir kernel: ACPI: PCI Interrupt 0000:00:08.0[A] ->
Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
Nov 23 20:35:36 mithrandir kernel: tveeprom: ivtv version
Nov 23 20:35:36 mithrandir kernel: tveeprom: Hauppauge: model = 26034, rev =
C197, serial# = 7886990
Nov 23 20:35:36 mithrandir kernel: tveeprom: tuner = TCL 2002MB_3H (idx =
97, type = 55)
Nov 23 20:35:36 mithrandir kernel: tveeprom: tuner fmt = PAL(B/G) PAL(D/K)
(eeprom = 0x44, v4l2 = 0x00000e07)
Nov 23 20:35:36 mithrandir kernel: tveeprom: audio processor = CX25842 (type
= 24)
Nov 23 20:35:36 mithrandir kernel: tveeprom: decoder processor = CX25842
(type = 1d)
Nov 23 20:35:36 mithrandir kernel: ivtv0: i2c attach to card #0 ok
[client=tveeprom, addr=50]
Nov 23 20:35:36 mithrandir kernel: tuner (ivtv): chip found at addr 0xc2
i2c-bus ivtv i2c driver #0
Nov 23 20:35:36 mithrandir kernel: ivtv0: i2c attach to card #0 ok
[client=(tuner unset), addr=61]
Nov 23 20:35:36 mithrandir kernel: cx25840 0-0044: cx25842-23 found @ 0x88
(ivtv i2c driver #0)
Nov 23 20:35:36 mithrandir kernel: cx25840 0-0044: loaded
/lib/modules/HcwMakoA.ROM firmware (13353 bytes)
Nov 23 20:35:36 mithrandir kernel: ivtv0: i2c attach to card #0 ok
[client=cx25840, addr=44]
Nov 23 20:35:36 mithrandir kernel: wm8775 0-001b: chip found @ 0x36 (ivtv
i2c driver #0)
Nov 23 20:35:36 mithrandir kernel: ivtv0: i2c attach to card #0 ok
[client=wm8775, addr=1b]
Nov 23 20:35:36 mithrandir kernel: ivtv0: loading /lib/modules/ivtv-
fw-enc.bin
Nov 23 20:35:36 mithrandir kernel: ivtv0: Encoder revision: 0x02040024
Nov 23 20:35:36 mithrandir kernel: ivtv0 warning: Encoder Firmware can be
buggy, use version 0x02040011 or 0x02050032.
Nov 23 20:35:36 mithrandir kernel: ivtv0: Allocate DMA encoder MPEG stream:
128 x 32768 buffers (4096KB total)
Nov 23 20:35:36 mithrandir kernel: ivtv0: Allocate DMA encoder YUV stream:
161 x 12960 buffers (2048KB total)
Nov 23 20:35:36 mithrandir kernel: ivtv0: Allocate DMA encoder VBI stream:
80 x 26208 buffers (2048KB total)
Nov 23 20:35:36 mithrandir kernel: ivtv0: Allocate DMA encoder PCM audio
stream: 455 x 4608 buffers (2048KB total)
Nov 23 20:35:36 mithrandir kernel: tuner: type set to 55 (TCL 2002MB) by
ivtv i2c driver #0
Nov 23 20:35:36 mithrandir kernel: ivtv0: Initialized WinTV PVR 150, card #0
Nov 23 20:35:36 mithrandir kernel: ivtv:  ====================  END INIT
IVTV  ====================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20051123/4bd99d8a/attachment-0001.htm


More information about the mythtv-users mailing list