There seems to be an unwritten law of nature that anything I do to
improve my mythtv machine must instantly result in catastrophic failure
for the amusement of others. All I wanted to do was add digital
sound to my system... a new motherboard and a system reinstall later
I'm almost back to the point I was at before I started making
"improvements".
I lost my config files in the process, and I must have done something
differently than I'm doing now, because I seem to be getting nothing
from the card.
[EMAIL PROTECTED] ~]$ ivtvctl -u 0x3000
ioctl VIDIOC_S_STD ok
Standard set to 00003000
[EMAIL PROTECTED] ~]$ ivtvctl -p 6
ioctl VIDIOC_S_INPUT ok
Video input set to 6
[EMAIL PROTECTED] ~]$ ivtvctl -f width=720,height=480
ioctl: VIDIOC_S_FMT
Before:
Type : Video Capture
Width : 720
Height : 480
After:
Type : Video Capture
Width : 720
Height : 480
[EMAIL PROTECTED] ~]$ ./ivtv-0.3.5t/utils/ptune.pl -c 5
Ch.5: 77250 1236
[EMAIL PROTECTED] ~]$ cat /dev/video0 > test.mpg
[EMAIL PROTECTED] ~]$ ll test.mpg
-rw-rw-r-- 1 mythtv mythtv 0 Sep 14 23:51 test.mpg
Meanwhile, dmesg is kicking out all kinds of stuff:
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.5 (t) loading
ivtv: Linux version: 2.6.11-6mdk 686 gcc-3.4
ivtv: In case of problems please include the debug info
ivtv: between the START INIT IVTV and END INIT IVTV lines when
ivtv: mailing the ivtv-devel mailinglist.
ivtv: Autodetected WinTV PVR 150 card
ivtv: Found an iTVC16 based chip
ivtv: XXX PCI device: 0x01e0 vendor: 0x10de
tveeprom: Hauppauge: model = 26552, rev = B268, serial# = 7827197
tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio_processor = MSP3410D (type = 5)
ivtv: i2c attach [client=tveeprom[50],ok]
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
cx25840: starting probe for adapter ivtv i2c driver #0 (0x10005)
cx25840: detecting cx25840 client on address 0x88
cx25840: writing init values
cx25840: FW image '/lib/modules/HcwMakoA.ROM' of size 13883 loaded.
cx25840: FW image md5 digest: a6f6a90a3be338cdb89d59e835798408
cx25840: FW image sha1 digest: ad2872fb98ad43b6c4afa45d239a57010edebe84
cx25840: Status: cx258433 (DEVICE_ID)
ivtv: i2c attach [client=cx25840[50],ok]
ivtv: i2c attach [client=wm8775[50],ok]
ivtv: Tuner Type 47, Tuner formats 0x00001000, Radio: yes, Model 0x00892598, Revision 0x00000001
ivtv: NTSC tuner detected
ivtv: Radio detected
ivtv: Encoder revision: 0x02040011
ivtv: Configuring WinTV PVR 150 card with 5 streams
ivtv: Registered v4l2 device, streamtype 0 minor 0
ivtv: Create DMA stream 0 using 128 16384 byte buffers 0 kbytes total
ivtv: Registered v4l2 device, streamtype 1 minor 32
ivtv: Create DMA stream 1 using 80 25920 byte buffers 0 kbytes total
ivtv: Registered v4l2 device, streamtype 2 minor 224
ivtv: Create DMA stream 2 using 165 12635 byte buffers 0 kbytes total
ivtv: Registered v4l2 device, streamtype 3 minor 24
ivtv: Create DMA stream 3 using 455 4608 byte buffers 0 kbytes total
ivtv: Registered v4l2 device, streamtype 4 minor 64
ivtv: Create stream 4
ivtv: Setting Tuner 47
tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0
cx25840: decoder set norm NTSC
ivtv: ivtv_enc_thread: pid = 7258, itv = 0xd8e385a0
ivtv: ivtv_enc_vbi_thread: pid = 7259, itv = 0xd8e385a0
cx25840: decoder set input (6)
cx25840: now setting Tuner input
cx25840: set audio input (0)
ivtv: Switching standard to NTSC.
ivtv: Initialized WinTV PVR 150, card #0
ivtv: ==================== END INIT IVTV ====================
cx25840: decoder set size 720x480 (from 720x480) -> scale 0x65536, filter 0
cx25840: decoder disable output
cx25840: decoder enable output
cx25840: decoder set norm NTSC
cx25840: decoder set input (6)
cx25840: now setting Tuner input
cx25840: set audio input (0)
ivtv: Allocate DMA stream 0 using 128 16384 byte buffers 2097152 kbytes total
ivtv: Setup VBI API header 0x0000bd0d pkts 1 buffs 4 ln 24 sz 1456
ivtv: Setup VBI start 0x0018ea04 frames 4 fpi 1 lines 0x00000140
cx25840: decoder disable output
cx25840: decoder enable output
cx25840: decoder set norm NTSC
cx25840: decoder set input (6)
cx25840: now setting Tuner input
cx25840: set audio input (0)
ivtv: Timeout waiting for data! Encoder buffers have 0x00000000 bytes trans_id = 0.
ivtv: Check digitizer Sync
ivtv: Resetting digitizer
cx25840: Reset
cx25840: FW image '/lib/modules/HcwMakoA.ROM' of size 13883 loaded.
cx25840: FW image md5 digest: a6f6a90a3be338cdb89d59e835798408
cx25840: FW image sha1 digest: ad2872fb98ad43b6c4afa45d239a57010edebe84
ivtv: Trying to restart capture.
ivtv: Setup VBI API header 0x0000bd0d pkts 1 buffs 4 ln 24 sz 1456
ivtv: Setup VBI start 0x0018ea04 frames 4 fpi 1 lines 0x00000140
cx25840: decoder disable output
cx25840: decoder enable output
cx25840: decoder set norm NTSC
cx25840: decoder set input (6)
cx25840: now setting Tuner input
cx25840: set audio input (0)
ivtv: Timeout waiting for data! Encoder buffers have 0x00000000 bytes trans_id = 0.
ivtv: Check digitizer Sync
ivtv: Resetting digitizer
cx25840: Reset
cx25840: FW image '/lib/modules/HcwMakoA.ROM' of size 13883 loaded.
cx25840: FW image md5 digest: a6f6a90a3be338cdb89d59e835798408
cx25840: FW image sha1 digest: ad2872fb98ad43b6c4afa45d239a57010edebe84
ivtv: Trying to restart capture.
ivtv: Setup VBI API header 0x0000bd0d pkts 1 buffs 4 ln 24 sz 1456
ivtv: Setup VBI start 0x0018ea04 frames 4 fpi 1 lines 0x00000140
cx25840: decoder disable output
cx25840: decoder enable output
cx25840: decoder set norm NTSC
cx25840: decoder set input (6)
cx25840: now setting Tuner input
cx25840: set audio input (0)
ivtv: ENC: Sleep timeout interrupted.
I'm letting just about everything be detected automagically, and this
is the version of ivtv I was using before I muddled everything
up. The only real difference is I had to find
/lib/modules/HcwMakoA.ROM on the Hauppage website because I couldn't
find the CD that came with my card.
Relevant modprobe.conf:
# alias char-major-81 videodev
# alias char-major-81-0 ivtv
# alias char-major-81-1 bttv
# options bttv radio=1 card=2
If anyone would care to point out, precisely, where I am an idiot, I
would be very grateful. At least I did it the week BEFORE the
fall season starts, instead of the afternoon before CSI:New York's
season finale like last time...
Ryan
- [ivtv-devel] System reinstal, PVR150 no longer works Ryan Steffes