hello -
I installed ivtv. everything compiles and loads without
any errors (i knew it was too good to be true), but when
I run the ivtv test I get an i/o error.
does anyone have any ideas about where I screwed-up?
any help would be greatly appreciated.
Thanks
LT
********** system info **********
mandrake 9.3
kernel: 2.4.22-10mdk
video: nVidia GeForce FX 5200
tvcard: Hauppauge wintv pvr-250
********** compiled bttv **********
cd /usr/local/src/bttv/bttv-0.7.107
make clean > compile.log 2>&1
make >> compile.log 2>&1
make install >> compile.log 2>&1
********** compiled i2c **********
cd /usr/local/src/i2c/i2c-2.8.3
make clean >> compile.log 2>&1
make >> compile.log 2>&1
make install >> compile.log 2>&1
********** compiled ivtv driver **********
cd /usr/local/src/ivtv/ivtv/ivtv/driver
make clean >> compile.log 2>&1
make >> compile.log 2>&1
make install >> compile.log 2>&1
********** load modules **********
# modprobe i2c-core
# modprobe i2c-algo-bit
# modprobe tuner type=2
# modprobe msp3400
# modprobe videodev
# insmod saa7115.o
# insmod ivtv.o
********** list modules **********
# lsmod|sort|egrep -i 'video|tuner|saa|msp|ivtv|i2c|lirc'
i2c-algo-bit 8488 0 [ivtv]
i2c-core 20836 0 [ivtv saa7115 msp3400 tuner i2c-algo-bit]
ivtv 83316 0
msp3400 17120 0 (unused)
saa7115 7776 0 (unused)
tuner 11688 0 (unused)
videodev 7936 3 [ivtv]
********** compiled ivtv utils **********
cd /usr/local/src/ivtv/ivtv/ivtv/utils
make clean >> compile.log 2>&1
make >> compile.log 2>&1
********** configure ivtv utils values **********
# ./test_ioctl -u 0x3000
ioctl: VIDIOC_S_STD
Standard set to 00003000
# ./test_ioctl -p 4
ioctl: VIDIOC_S_INPUT
Input set to 4
# ./test_ioctl -f width=720,height=480
ioctl: VIDIOC_S_FMT
Before:
Type : Video Capture
Width : 384
Height : 288
After:
Type : Video Capture
Width : 720
Height : 480
********** test ivtv **********
# cat /dev/video0 > first_cap.mpg
cat: /dev/video0: Input/output error
********** error messages **********
# tail -30 /var/log/messages
Jan 22 03:51:21 wn kernel: i2c-core.o: i2c core module version 2.8.3
(20040115)
Jan 22 03:53:00 wn kernel: Linux video capture interface: v1.00
Jan 22 03:53:44 wn kernel: ivtv: version 0.1.7 (+ivtv-031125A
+aew-031212A) loading
Jan 22 03:53:44 wn kernel: ivtv: SGarray_size = 340, DSGarray_size = 16
Jan 22 03:53:44 wn kernel: ivtv: Found an iTVC16 based chip
Jan 22 03:53:46 wn kernel: ivtv: Encoder revision: 0x02040011
Jan 22 03:53:46 wn kernel: ivtv: i2c client addr: 97 not found!
Jan 22 03:53:46 wn kernel: ivtv: i2c client addr: 97 not found!
Jan 22 03:53:46 wn kernel: ivtv: i2c client addr: 64 not found!
Jan 22 03:53:46 wn kernel: ivtv: Registered v4l2 device, minor 0
Jan 22 03:53:46 wn kernel: ivtv: Registered v4l2 device, minor 32
Jan 22 03:53:46 wn kernel: ivtv: Registered v4l2 device, minor 224
Jan 22 03:53:46 wn kernel: ivtv: loaded
Jan 22 03:55:25 wn kernel: ivtv: i2c client addr: 97 not found!
Jan 22 03:55:25 wn kernel: ivtv: i2c client addr: 64 not found!
Jan 22 03:55:25 wn kernel: ivtv: i2c client addr: 33 not found!
Jan 22 03:56:04 wn kernel: ivtv: i2c client addr: 64 not found!
Jan 22 03:56:04 wn kernel: ivtv: i2c client addr: 33 not found!
Jan 22 03:56:04 wn kernel: ivtv: i2c client addr: 64 not found!
Jan 22 03:56:09 wn kernel: ivtv: i2c client addr: 64 not found!
Jan 22 03:56:09 wn kernel: ivtv: i2c client addr: 33 not found!
Jan 22 03:56:09 wn kernel: ivtv: i2c client addr: 64 not found!
Jan 22 03:57:00 wn kernel: ivtv: i2c client addr: 33 not found!
Jan 22 03:57:21 wn last message repeated 2 times
Jan 22 03:57:24 wn kernel: ivtv: Timeout waiting for data!
Jan 22 03:57:25 wn kernel: ivtv: EOS interrupt not received! stopping
anyway.
********** pci info **********
# lspci -vv
00:09.0 Multimedia video controller: Internext Compression Inc: Unknown
device 0016 (rev 01)
Subsystem: Hauppauge computer works Inc.: Unknown device 4009
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (32000ns min, 2000ns max), cache line size 08
Interrupt: pin A routed to IRQ 10
Region 0: Memory at e8000000 (32-bit, prefetchable) [size=64M]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX
5200] (rev a1) (prog-if 00 [VGA])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (1250ns min, 250ns max)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at e3000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at f0000000 (32-bit, prefetchable) [size=128M]
Expansion ROM at effe0000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [44] AGP version 3.0
Status: RQ=32 Iso- ArqSz=0 Cal=3 SBA+ ITACoh- GART64-
HTrans- 64bit- FW+ AGP3+ Rate=x4,x8
Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW-
Rate=<none>