[mythtv-users] can't change channels on PVR-350

JR Powers-Luhn jrpl at brown-college.org
Mon Jul 25 22:06:32 EDT 2005


loaded the module with the debug option as you suggested and came up 
with this from /var/log/messages:


Jul 25 21:51:59 localhost kernel: ivtv: version 0.2.0 (rc3j) loading
Jul 25 21:51:59 localhost kernel: ivtv: ... running on kernel 
2.6.12-1.1372_FC3
Jul 25 21:51:59 localhost kernel: ivtv: Setting some variables to 
invalid for detection
Jul 25 21:51:59 localhost kernel: ivtv: Scanning PCI bus..
Jul 25 21:51:59 localhost kernel: ivtv: Found card #0
Jul 25 21:51:59 localhost kernel: ivtv: Autodetected WinTV PVR 350 card
Jul 25 21:51:59 localhost kernel: ivtv: Found an iTVC15 based chip
Jul 25 21:51:59 localhost kernel: ivtv: base addr: 0xe4000000
Jul 25 21:51:59 localhost kernel: ivtv: Enabling pci device
Jul 25 21:51:59 localhost kernel: ACPI: PCI Interrupt 0000:02:01.0[A] 
-> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
Jul 25 21:51:59 localhost kernel: ivtv: Bus Mastering Enabled.<6>ivtv: 
Unreasonably low latency timer, setting to 64 (was 32)
Jul 25 21:51:59 localhost kernel: ivtv: 2051 (rev 1) at 02:01.0, ivtv:  
     irq: 10, latency: 64, memory: 0xe4000000
Jul 25 21:51:59 localhost kernel: ivtv: XXX PCI device: 0x2570 vendor: 
0x8086
Jul 25 21:51:59 localhost kernel: ivtv: attempting ioremap at 
0xe4000000 len 0x00800000
Jul 25 21:51:59 localhost kernel: ivtv: attempting ioremap at 
0xe5000000 len 0x00800000
Jul 25 21:51:59 localhost kernel: ivtv: attempting ioremap at 
0xe6000000 len 0x00010000
Jul 25 21:51:59 localhost kernel: ivtv: activating i2c...
Jul 25 21:51:59 localhost kernel: tuner 2-0061: chip found @ 0xc2 (ivtv 
i2c driver #0)
Jul 25 21:51:59 localhost kernel: ivtv: Active card count: 1.
Jul 25 21:51:59 localhost kernel: ivtv: Loaded module tveeprom
Jul 25 21:51:59 localhost kernel: tveeprom: Hauppauge: model = 48132, 
rev = K268, serial# = 7876017
Jul 25 21:51:59 localhost kernel: tveeprom: tuner = LG TAPE H001F MK3 
(idx = 68, type = 47)
Jul 25 21:51:59 localhost kernel: tveeprom: tuner fmt = NTSC(M) (eeprom 
= 0x08, v4l2 = 0x00001000)
Jul 25 21:51:59 localhost kernel: tveeprom: audio_processor = MSP3440 
(type = 11)
Jul 25 21:51:59 localhost kernel: ivtv: Loaded module tuner
Jul 25 21:51:59 localhost kernel: saa7115: starting probe for adapter 
SMBus I801 adapter at 0c00 (0x0)
Jul 25 21:51:59 localhost kernel: saa7115: starting probe for adapter 
cx88[0] (0x1001b)
Jul 25 21:51:59 localhost kernel: saa7115: starting probe for adapter 
ivtv i2c driver #0 (0x10005)
Jul 25 21:51:59 localhost kernel: saa7115: detecting saa7115 client on 
address 0x42
Jul 25 21:51:59 localhost kernel: saa7115: writing init values
Jul 25 21:52:00 localhost kernel: saa7115: status: (1E) 0x00, (1F) 0xc0
Jul 25 21:52:00 localhost kernel: ivtv: Loaded module saa7115
Jul 25 21:52:00 localhost kernel: saa7127: Ignoring new-style 
parameters in presence of obsolete ones
Jul 25 21:52:00 localhost kernel: saa7127: video encoder driver version 
V 0.3 loaded
Jul 25 21:52:00 localhost kernel: saa7127: detecting saa7127 client on 
address 0x88
Jul 25 21:52:00 localhost kernel: saa7127: Selecting NTSC video Standard
Jul 25 21:52:00 localhost kernel: saa7127: Selecting S-Video+Composite
Jul 25 21:52:00 localhost kernel: saa7127: Turn WSS off
Jul 25 21:52:00 localhost kernel: saa7127: Widescreen Mode 4:3 Full 
Format
Jul 25 21:52:00 localhost kernel: saa7127: Selecting Normal Encoder 
Input
Jul 25 21:52:00 localhost kernel: saa7127: Enable Video Output
Jul 25 21:52:00 localhost kernel: saa7127: detecting saa7127 client on 
address 0x88
Jul 25 21:52:00 localhost kernel: saa7127: Selecting NTSC video Standard
Jul 25 21:52:00 localhost kernel: saa7127: Selecting S-Video+Composite
Jul 25 21:52:00 localhost kernel: saa7127: Turn WSS off
Jul 25 21:52:00 localhost kernel: saa7127: Widescreen Mode 4:3 Full 
Format
Jul 25 21:52:00 localhost kernel: saa7127: Selecting Normal Encoder 
Input
Jul 25 21:52:00 localhost kernel: saa7127: Enable Video Output
Jul 25 21:52:00 localhost kernel: ivtv: Loaded module saa7127
Jul 25 21:52:00 localhost kernel: msp34xx: ivtv version
Jul 25 21:52:00 localhost kernel: msp34xx: init: chip=MSP3448W-A2, has 
NICAM support, simple (D) mode, simpler (G) no-thread mode
Jul 25 21:52:00 localhost kernel: msp34xx: $Id$ compiled on: Jul 16 
2005 12:42:45
Jul 25 21:52:00 localhost kernel: ivtv: Loaded module msp3400
Jul 25 21:52:00 localhost kernel: ivtv: Stopping VDM
Jul 25 21:52:00 localhost kernel: ivtv: Stopping AO
Jul 25 21:52:00 localhost kernel: ivtv: pinging (?) APU
Jul 25 21:52:00 localhost kernel: ivtv: Stopping VPU
Jul 25 21:52:00 localhost kernel: ivtv: Resetting Hw Blocks
Jul 25 21:52:00 localhost kernel: ivtv: Stopping SPU
Jul 25 21:52:00 localhost kernel: ivtv: Sleeping for 10ms
Jul 25 21:52:00 localhost kernel: ivtv: init Encoder SDRAM pre-charge
Jul 25 21:52:00 localhost kernel: ivtv: init Encoder SDRAM refresh to 
1us
Jul 25 21:52:00 localhost kernel: ivtv: init Decoder SDRAM pre-charge
Jul 25 21:52:00 localhost kernel: ivtv: init Decoder SDRAM refresh to 
1us
Jul 25 21:52:00 localhost kernel: ivtv: Sleeping for 600ms (600 
recommended)
Jul 25 21:52:01 localhost kernel: ivtv: Card ready for firmware!
Jul 25 21:52:01 localhost kernel: ivtv: Loading encoder image
Jul 25 21:52:01 localhost kernel: ivtv: Loading decoder image
Jul 25 21:52:01 localhost kernel: ivtv: Sleeping for 10 ms
Jul 25 21:52:01 localhost kernel: ivtv: Sleeping for 10 ms
Jul 25 21:52:01 localhost kernel: ivtv: GPIO INIT
Jul 25 21:52:01 localhost kernel: ivtv: About to search for mailboxes
Jul 25 21:52:01 localhost kernel: ivtv: Searching for encoder mailbox
Jul 25 21:52:01 localhost kernel: ivtv: .ivtv: match: 0x34567812 at 
0xe4580104. match: 1
Jul 25 21:52:01 localhost kernel: ivtv: match: 0x56781234 at 
0xe4580108. match: 2
Jul 25 21:52:01 localhost kernel: ivtv: match: 0x78123456 at 
0xe458010c. match: 3
Jul 25 21:52:01 localhost kernel: ivtv: found encoder mailbox!
Jul 25 21:52:01 localhost kernel: ivtv: Searching for decoder mailbox
Jul 25 21:52:01 localhost kernel: ivtv: .ivtv: .ivtv: .ivtv: .ivtv: 
match: 0x34567812 at 0xe4e00404. match: 1
Jul 25 21:52:01 localhost kernel: ivtv: match: 0x56781234 at 
0xe4e00408. match: 2
Jul 25 21:52:01 localhost kernel: ivtv: match: 0x78123456 at 
0xe4e0040c. match: 3
Jul 25 21:52:01 localhost kernel: ivtv: found decoder mailbox!
Jul 25 21:52:01 localhost kernel: ivtv: Getting firmware version..
Jul 25 21:52:01 localhost kernel: ivtv: Getting encoder firmware rev.
Jul 25 21:52:01 localhost kernel: ivtv: Getting decoder firmware rev.
Jul 25 21:52:01 localhost kernel: ivtv: v4l2 streams setup
Jul 25 21:52:01 localhost kernel: ivtv: Configuring WinTV PVR 350 card 
with 9 streams
Jul 25 21:52:01 localhost kernel: ivtv: Create DMA stream 0 using 256 
16384 byte buffers  4194304 kbytes total
Jul 25 21:52:01 localhost kernel: ivtv: Registered v4l2 device, 
streamtype 0 minor 1
Jul 25 21:52:01 localhost kernel: ivtv: Create DMA stream 1
Jul 25 21:52:01 localhost kernel: ivtv: Registered v4l2 device, 
streamtype 1 minor 32
Jul 25 21:52:01 localhost kernel: ivtv: Create stream 2 using 40 52224 
byte buffers  2097152 kbytes total
Jul 25 21:52:01 localhost kernel: ivtv: Registered v4l2 device, 
streamtype 2 minor 225
Jul 25 21:52:01 localhost kernel: ivtv: Create DMA stream 3 using 455 
4608 byte buffers  2097152 kbytes total
Jul 25 21:52:01 localhost kernel: ivtv: Registered v4l2 device, 
streamtype 3 minor 24
Jul 25 21:52:01 localhost kernel: ivtv: Create stream 4
Jul 25 21:52:01 localhost kernel: ivtv: Registered v4l2 device, 
streamtype 4 minor 65
Jul 25 21:52:01 localhost kernel: ivtv: Create DMA stream 5 using 16 
65536 byte buffers  1048576 kbytes total
Jul 25 21:52:01 localhost kernel: ivtv: Registered v4l2 device, 
streamtype 5 minor 16
Jul 25 21:52:01 localhost kernel: ivtv: Create stream 6 using 1024 2048 
byte buffers  262144 kbytes total
Jul 25 21:52:01 localhost kernel: ivtv: Registered v4l2 device, 
streamtype 6 minor 228
Jul 25 21:52:01 localhost kernel: ivtv: Create stream 7
Jul 25 21:52:01 localhost kernel: ivtv: Registered v4l2 device, 
streamtype 7 minor 232
Jul 25 21:52:01 localhost kernel: ivtv: Create DMA stream 8
Jul 25 21:52:01 localhost kernel: ivtv: Registered v4l2 device, 
streamtype 8 minor 48
Jul 25 21:52:01 localhost kernel: ivtv: Starting Threads
Jul 25 21:52:01 localhost kernel: ivtv: Setting Tuner 47
Jul 25 21:52:01 localhost kernel: tuner 2-0061: type set to 47 (LG NTSC 
(TAPE series))
Jul 25 21:52:01 localhost kernel: saa7115: decoder set input (4)
Jul 25 21:52:01 localhost kernel: saa7115: now setting Composite input
Jul 25 21:52:01 localhost kernel: ivtv: Setting audio to input 0
Jul 25 21:52:01 localhost kernel: ivtv: encoder thread sleeping 5038
Jul 25 21:52:01 localhost kernel: ivtv: decoder thread sleeping 5039
Jul 25 21:52:01 localhost kernel: ivtv: v4l2 ioctl: set standard
Jul 25 21:52:02 localhost kernel: saa7115: decoder set norm NTSC
Jul 25 21:52:02 localhost kernel: saa7115: set audio: 0x01
Jul 25 21:52:02 localhost kernel: saa7127: Setting Encoder Video 
Standard
Jul 25 21:52:02 localhost kernel: saa7127: Set NTSC Video Mode
Jul 25 21:52:02 localhost kernel: saa7127: Selecting NTSC video Standard
Jul 25 21:52:02 localhost kernel: ivtv: Initialized WinTV PVR 350, card 
#0
Jul 25 21:52:06 localhost kernel: ivtv: v4l2 open on minor 1
Jul 25 21:52:06 localhost kernel: ivtv: current minor 1
Jul 25 21:52:06 localhost kernel: ivtv: opened card # 1, stream 0
Jul 25 21:52:06 localhost kernel: ivtv: v4l2 ioctl 0x80685600
Jul 25 21:52:06 localhost kernel: ivtv: v4l2 ioctl: querycap
Jul 25 21:52:06 localhost kernel: ivtv: v4l2 close
Jul 25 21:52:06 localhost kernel: ivtv: v4l2 open on minor 32
Jul 25 21:52:06 localhost kernel: ivtv: current minor 1
Jul 25 21:52:06 localhost kernel: ivtv: current minor 32
Jul 25 21:52:06 localhost kernel: ivtv: opened card # 1, stream 1
Jul 25 21:52:06 localhost kernel: ivtv: v4l2 ioctl 0x80685600
Jul 25 21:52:06 localhost kernel: ivtv: v4l2 ioctl: querycap
Jul 25 21:52:06 localhost kernel: ivtv: v4l2 close
Jul 25 21:52:06 localhost kernel: ivtv: v4l2 open on minor 48
Jul 25 21:52:06 localhost kernel: ivtv: current minor 1
Jul 25 21:52:06 localhost kernel: ivtv: current minor 32
Jul 25 21:52:06 localhost kernel: ivtv: current minor 225
Jul 25 21:52:06 localhost kernel: ivtv: current minor 24
Jul 25 21:52:06 localhost kernel: ivtv: current minor 65
Jul 25 21:52:06 localhost kernel: ivtv: current minor 16
Jul 25 21:52:06 localhost kernel: ivtv: current minor 228
Jul 25 21:52:06 localhost kernel: ivtv: current minor 232
Jul 25 21:52:06 localhost kernel: ivtv: current minor 48
Jul 25 21:52:06 localhost kernel: ivtv: opened card # 1, stream 8
Jul 25 21:52:06 localhost kernel: ivtv: v4l2 ioctl 0x80685600
Jul 25 21:52:06 localhost kernel: ivtv: v4l2 ioctl: querycap
Jul 25 21:52:06 localhost kernel: ivtv: v4l2 close
Jul 25 21:52:06 localhost kernel: ivtv: v4l2 open on minor 16
Jul 25 21:52:06 localhost kernel: ivtv: current minor 1
Jul 25 21:52:06 localhost kernel: ivtv: current minor 32
Jul 25 21:52:06 localhost kernel: ivtv: current minor 225
Jul 25 21:52:06 localhost kernel: ivtv: current minor 24
Jul 25 21:52:06 localhost kernel: ivtv: current minor 65
Jul 25 21:52:06 localhost kernel: ivtv: current minor 16
Jul 25 21:52:06 localhost kernel: ivtv: opened card # 1, stream 5
Jul 25 21:52:06 localhost kernel: ivtv: v4l2 ioctl 0x80685600
Jul 25 21:52:06 localhost kernel: ivtv: v4l2 ioctl: querycap
Jul 25 21:52:06 localhost kernel: ivtv: v4l2 close
Jul 25 21:52:06 localhost kernel: ivtv: v4l2 open on minor 24
Jul 25 21:52:06 localhost kernel: ivtv: current minor 1
Jul 25 21:52:06 localhost kernel: ivtv: current minor 32
Jul 25 21:52:06 localhost kernel: ivtv: current minor 225
Jul 25 21:52:06 localhost kernel: ivtv: current minor 24
Jul 25 21:52:06 localhost kernel: ivtv: opened card # 1, stream 3
Jul 25 21:52:06 localhost kernel: ivtv: v4l2 ioctl 0x80685600
Jul 25 21:52:06 localhost kernel: ivtv: v4l2 ioctl: querycap
Jul 25 21:52:06 localhost kernel: ivtv: v4l2 close

it *looks* fine to me, but i'd be suprised if i hadn't missed anything.

i've also been trying to play around with ivtvctl to try and manually 
set frequencies.  however, i've found that no matter what i tell 
ivtvctl to do, it goes back to the default.  for example:

[root at localhost profile.d]# ivtvctl -A -d /dev/video1
ioctl: VIDIOC_ENUMAUDIO
         Input   : 0
         Name    : Tuner Audio In

         Input   : 1
         Name    : Audio Line In
[root at localhost profile.d]# ivtvctl -Q -d /dev/video1
ioctl: VIDIOC_G_AUDIO
Input = 0: Tuner Audio In
[root at localhost profile.d]# ivtvctl -q=1 -d /dev/video1
ioctl: VIDIOC_S_AUDIO
Input set to 0

it sure seems that ivtvctl is ignoring commands.  certainly any time i 
tried to give it a new frequency it would not give an error, but it 
also would end up on frequency 0

jr

On Jul 25, 2005, at 11:20 AM, Petersen Curt wrote:

> Have you tried checking that ivtv is loading properly?  Place the
> following line in your config:
>
> options ivtv ivtv_debug=2
>
> If you already have options for ivtv declared, just add the
> "ivtv_debug" on the end
> Remove all of your ivtv-related modules (ivtv, tuner, tveeprom, etc.),
> or alternatively you can just reboot your machine.  Then load ivtv.
>
> Run dmesg (or check your /var/log/messages" and post the output
> between the "**** IVTV *****" lines.
>
> You can run "dmesg | tail -f" to watch the log while you fire up 
> ptune-ui.
>
> Be careful if you decide to actually capture some video while changing
> channels.  I wouldn't try looking at the ivtv debug while you're
> capturing.  You'll get a billion messages about DMA blocks being
> transferred.  Use ivtv_debug=1if you want to get rid of those
> messages.
>
>
> On 7/25/05, JR Powers-Luhn <jrpl at brown-college.org> wrote:
>> some more information, in case anyone feels like they can help us out:
>>
>> I tried just running ptune-ui and selecting channels with that and got
>> some output (that I had previously believed to be from mplayer):
>>
>>
>> XS_Tk__Callback_Call error:Error:  changeChannel(6) failed!
>>
>> Tk::Error: Error:  changeChannel(6) failed!
>>   Tk::Widget::Callback at
>> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Tk/Widget.pm
>> line 1079
>>   Tk::BrowseEntry::LbChoose at
>> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Tk/
>> BrowseEntry.pm line 296
>>   Tk::BrowseEntry::ListboxRelease at
>> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Tk/
>> BrowseEntry.pm line 163
>>   <ButtonRelease-1>
>>   (command bound to event)
>>
>> Once again, anyone who has any ideas, please drop me a line.  I have 
>> no
>> idea what I might be doing wrong, and Google searches have not proven
>> to be terribly useful.
>>
>> JR
>>
>> On Jul 20, 2005, at 10:48 AM, Ijaaz A. Ullah wrote:
>>
>>> I have the same problem.  I was just about to post a message when I
>>> found
>>> yours.
>>>
>>> I have a 350 and a 250 in my backend.  I just upgraded to FC4 (using
>>> apt).
>>> Prior to this, everything was working properly.  After the upgrade, I
>>> am
>>> able to watch previously recorded programs and access the backend 
>>> from
>>> my
>>> remote frontend without any issues.
>>>
>>> But, when I try to watch live tv, I can watch one channel (channel 
>>> 4).
>>>  When
>>> I try to change channels, the guide shows that the channel has 
>>> changed
>>> and
>>> updates the info, but the channel is stuck.  i.e. if I change to
>>> channel 5,
>>> it shows the program info for chan 5, but the video/audio from 
>>> channel
>>> 4.
>>>
>>> I've tried scheduling recordings for different channels, but I get 
>>> the
>>> proper program name, but again, video/audio from channel 4.
>>>
>>> I can not for the life of me find any errors in any logs.
>>>
>>>
>>> -----Original Message-----
>>> From: mythtv-users-bounces at mythtv.org
>>> [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of JR Powers-Luhn
>>> Sent: Wednesday, July 20, 2005 1:06 AM
>>> To: mythtv-users at mythtv.org
>>> Subject: [mythtv-users] can't change channels on PVR-350
>>>
>>> Howdy-
>>>
>>> I'm trying to build a MythTV box with a PVR-350 and a pcHDTV tuner
>>> cards using Fedora Core 3 (mostly following Jared's guide).  I
>>> installed ivtv version 0.2.0 and could watch and record video, but 
>>> only
>>> one channel.  I can't change using myth OR ptune-ui.  Nothing 
>>> glaringly
>>> obvious in the logs, but I'm new and could have missed something.
>>>
>>> I tried putting a line in modprobe.conf telling it that I had tuner 
>>> 47
>>> (that information gleaned from the logs), but to no avail.
>>>
>>>> Anyone think they can help?  I'm eager to see myth in action.
>>>> JR
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> mythtv-users mailing list
>>> mythtv-users at mythtv.org
>>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
>>
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
>>
>>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



More information about the mythtv-users mailing list