[mythtv-users] Hauppauge PVR-250 and ivtv driver

Cave Wetterau cwetterau at austin.rr.com
Mon Apr 12 10:18:59 EDT 2004


I am using RH9.  Kernel is 2.4.20-30_37.rh9.at

I have tried several ways to get the tuner on the card to work.  Cannot seem
to get it to go.

I have submitted questions to the ivtv forum too.  Including additional info
below


Below is output from the dmesg:
ivtv: You've not seen the last of willy!
ivtv: version 0.1.9 (0.1.10pre2-ck26) loading
ivtv: Autodetecting cardtype for card #0
ivtv: Autodetecting cardtype for card #1
ivtv: Autodetecting cardtype for card #2
ivtv: Autodetecting cardtype for card #3
ivtv: Autodetecting cardtype for card #4
ivtv: Autodetecting cardtype for card #5
ivtv: Autodetecting cardtype for card #6
ivtv: Autodetecting cardtype for card #7
ivtv: Autodetecting cardtype for card #8
ivtv: SGarray_size = 420, DSGarray_size = 16
ivtv: Found an iTVC16 based chip
PCI: Found IRQ 12 for device 00:0a.0
ivtv (i2c)= 0xe1cfbb20
tuner: probing ivtv i2c driver #0 i2c adapter [id=0x10005]
tuner: chip found @ 0xc2
tuner(bttv): type forced to 8 (Temic NTSC (4036 FY5)) [insmod]
msp34xx: init: chip=MSP3448W-A2, has NICAM support
msp3410: daemon started
saa7114.c: starting probe for adapter ivtv i2c driver #0 (0x10005)
saa7114.c: detecting saa7114 client on address 0x42
saa7115.c: writing init values
status: (1E) 0x48, (1F) 0xc0
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
lirc_dev: lirc_register_plugin:sample_rate: 10
ivtv: Encoder revision: 0x02040011
ivtv: Registered v4l2 device, minor 0
ivtv: Registered v4l2 device, minor 32
ivtv: Registered v4l2 device, minor 224
ivtv: Registered v4l2 device, minor 24
ivtv: loaded
saa7115[1]: decoder set norm NTSC
saa7115[1] set audio: 0x02
saa7115[1]: decoder set size
Hpsc: 0x00024, Hfsc: 0x00400
Setting full NTSC height
saa7115[1]: decoder set size
Setting full NTSC width
Setting full NTSC height
saa7115[1]: decoder disable output
saa7115[1]: decoder enable output
ivtv: Timeout waiting for data!
saa7115[1] status: 0xc0
ivtv: Resetting digitizer
saa7115[1]: decoder RESET ivtv: Timeout waiting for data!
saa7115[1] status: 0xc0
ivtv: Resetting digitizer
saa7115[1]: decoder RESET ivtv: Timeout waiting for data!
saa7115[1] status: 0xc0
ivtv: Resetting digitizer
saa7115[1]: decoder RESET ivtv: Timeout waiting for data!
saa7115[1] status: 0xc0
ivtv: Resetting digitizer
saa7115[1]: decoder RESET ivtv: You've not seen the last of willy!
ivtv: version 0.1.9 (0.1.10pre2-ck26) loading
ivtv: Autodetecting cardtype for card #0
ivtv: Autodetecting cardtype for card #1
ivtv: Autodetecting cardtype for card #2
ivtv: Autodetecting cardtype for card #3
ivtv: Autodetecting cardtype for card #4
ivtv: Autodetecting cardtype for card #5
ivtv: Autodetecting cardtype for card #6
ivtv: Autodetecting cardtype for card #7
ivtv: Autodetecting cardtype for card #8
ivtv: SGarray_size = 420, DSGarray_size = 16
ivtv: Found an iTVC16 based chip
PCI: Found IRQ 12 for device 00:0a.0
ivtv (i2c)= 0xe1cfbb20
tuner: probing ivtv i2c driver #0 i2c adapter [id=0x10005]
tuner: chip found @ 0xc2
tuner(bttv): type forced to 8 (Temic NTSC (4036 FY5)) [insmod]
msp34xx: init: chip=MSP3448W-A2, has NICAM support
msp3410: daemon started
saa7114.c: starting probe for adapter ivtv i2c driver #0 (0x10005)
saa7114.c: detecting saa7114 client on address 0x42
saa7115.c: writing init values
status: (1E) 0x48, (1F) 0xc0
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
lirc_dev: lirc_register_plugin:sample_rate: 10
ivtv: Encoder revision: 0x02040011
ivtv: Registered v4l2 device, minor 0
ivtv: Registered v4l2 device, minor 32
ivtv: Registered v4l2 device, minor 224
ivtv: Registered v4l2 device, minor 24
ivtv: loaded
saa7115[2]: decoder disable output
saa7115[2]: decoder enable output
ivtv: Timeout waiting for data!
saa7115[2] status: 0xc0
ivtv: Resetting digitizer
saa7115[2]: decoder RESET ivtv: Timeout waiting for data!
saa7115[2] status: 0xc0
ivtv: Resetting digitizer
saa7115[2]: decoder RESET ivtv: Timeout waiting for data!
saa7115[2] status: 0xc0
ivtv: Resetting digitizer
saa7115[2]: decoder RESET ivtv: Timeout waiting for data!
saa7115[2] status: 0xc0
ivtv: Resetting digitizer
saa7115[2]: decoder RESET


Michael T. Dean wrote:

> Cave Wetterau wrote:
>
>> tvee: tuner=Temic 4036FY5 (idx=26, type=8)
>
>
> Says your tuner type is 8.
>
>> modules.conf contains
>>
>> #ivtv modules setup
>> alias char-major-81 videodev
>> alias char-major-81-0 ivtv
>> #options ivtv debug=1 mpg_buffers=99
>> options ivtv mpg_buffers=99
>
>
> I haven't used mpg_buffers, so I don't know how that will affect
> things (and you can probably take it out), but debug should be
> specified as (it's actually ivtv_debug):
> options ivtv ivtv_debug=1
>
>> options cardtype=2
>
>
> Probably better to let the driver auto-detect card type.  I would take
> out the options cardtype line.
>
>>
>> options tuner type=2
>
>
> Should be:
> options tuner type=8
>
>> options msp3400 once=1 simple=1
>> add below ivtv msp3400 saa7115 tuner
>
>
> You need to add in the saa7127, too.  Use a line like:
> add below ivtv saa7115 saa7127 msp3400 tuner
>
>> add above ivtv lirc_dev lirc_i2c
>
>
> If you're trying to use MythTV (or anything else that uses X output),
> you'll need ivtv-fb, too:
> add above ivtv lirc_dev lirc_i2c ivtv-fb
>
> And, finally, you're missing your saa7127 options
> Should be something like:
> options saa7127 enable_output=1 output_select=1
>
> (or possibly output_select=0 ).
>
>> I have tried using the /usr/bin/test_ioctl command to set the input from
>> 0-9  most show up as composite or SVideo in the dmesg file.  The card
>> has a coax connector and I am attaching it to cable or an antenna.  Same
>> results on either one.  Input / Output error  timing out waiting on data
>>
>> How do I set ivtv to get data from the Tuner not the SVideo or
>> Composite?
>> Where am I missing something here?
>
>
> run:
> test_ioctl -a 2>&1 | tee pvrinfo | less
>
> It will give you a list of all the available "-p" options under
> "ioctl: VIDIOC_ENUMINPUT" (it's a very long output, so we're saving a
> copy to the file pvrinfo and paging the output)
>
> Mine gives:
> ioctl: VIDIOC_ENUMINPUT
>        Name    : Composite 0
>        Type    : 0x00000002
>        Audioset: 0x00000001
>        Tuner   : 0x00000000
>        Standard: 0x            3000 ( NTSC )
>        Status  : 0
>        Name    : Composite 1
>        Type    : 0x00000002
>        Audioset: 0x00000001
>        Tuner   : 0x00000000
>        Standard: 0x            3000 ( NTSC )
>        Status  : 0
>        Name    : Composite 2
>        Type    : 0x00000002
>        Audioset: 0x00000001
>        Tuner   : 0x00000000
>        Standard: 0x            3000 ( NTSC )
>        Status  : 0
>        Name    : Composite 3
>        Type    : 0x00000002
>        Audioset: 0x00000001
>        Tuner   : 0x00000000
>        Standard: 0x            3000 ( NTSC )
>        Status  : 0
>        Name    : Tuner 0
>        Type    : 0x00000001
>        Audioset: 0x00000000
>        Tuner   : 0x00000000
>        Standard: 0x            3000 ( NTSC )
>        Status  : 0
>        Name    : Composite 4
>        Type    : 0x00000002
>        Audioset: 0x00000001
>        Tuner   : 0x00000000
>        Standard: 0x            3000 ( NTSC )
>        Status  : 0
> ... (and more) ...
>
> Which means, counting the inputs--starting at 0--I would use "-p 4"
> for my tuner.  Note that "-p 4" corresponds to tuner 0 and "-p 5"
> corresponds to composite 4 (in other words, there's no intuitive
> pattern you can use to guess--your best bet is to ask the card).
>
> For more details, check out the TvOutHowto at
> http://ivtv.writeme.ch/tiki-index.php?page=TvOutHowto and _for anyone
> else who's using PAL_ check out the additional PAL information at
> http://ivtv.writeme.ch/tiki-index.php?page=TvOutPal . (I'm assuming
> you're using NTSC, Cave, because your tuner is an NTSC tuner, if
> that's not the intention, you might want to check the return policy of
> the store where you bought the card. ;)
>
> Good luck, and happy captures.
>
> Mike
>
>
>

On Fri, Apr 09, 2004 at 08:51:53PM -0500, Cave Wetterau wrote:
> I have used Jarod's documentation to install MythTV on both RH9 and FC1.
On
> both versions I cannot get the capture to work.  I don't think that the
> tuner is being turned on properly.  I have tried both the ivtiv 1.9
version
> and the 1.10 version of the driver.

What kernel are you using?  The tuner didn't want to work at all when I
built ivtv against 2.6.3, but it works just fine with 2.6.5.

(This is with ivtv 0.1.9 on a Gentoo system.)

  _/_
 / v \ Scott Alfter
(IIGS( http://alfter.us/            Top-posting!
 \_^_/ rm -rf /bin/laden            >What's the most annoying thing on
Usenet?




More information about the mythtv-users mailing list