Hi all,
I have been trying to get my saa7134 based TV-card to work for days with
no success.
When I try to start xawtv I get the following messages:
loki root # xawtv -remote -debug 1 -noxv
This is xawtv-3.74, running on Linux/i686 (2.4.19-pre8)
visual: id=0x22 class=4 (TrueColor), depth=24
visual: id=0x23 class=4 (TrueColor), depth=24
main: dga extention...
main: xinerama extention...
main: xvideo extention...
main: init main window...
x11: color depth: 24 bits, 3 bytes - pixmap: 4 bytes
x11: color masks: red=0x00ff0000 green=0x0000ff00 blue=0x000000ff
x11: server byte order: big endian
x11: client byte order: little endian
main: install signal handlers...
main thread [pid=7156]
main: open grabber device...
x11: remote display (overlay disabled)
vid-open: trying: v4l...
v4l: open: /dev/v4l/video0 (saa7134[0])
capabilities: capture tuner overlay clipping
size : 48x32 => 720x576
channels: 4
Television: 1 tuner audio tv
Composite1: 0 camera
Composite2: 0 camera
S-Video: 0 camera
audios : 1
4 (audio): muted=yes volume=32768 bass=0 treble=0
tuner : Television 0-4294967295 PAL
fbuffer : base=0x(nil) size=0x0 depth=0 bpl=0
picture : brightness=32896 hue=32896 colour=33026 contrast=35090
picture : whiteness=0 depth=24 palette=rgb24
mbuf: size=14155776 frames=8
v4l: using mapped buffers for capture
vid-open: ok: v4l
main: checking wm...
wmhooks: gnome
main: creating windows ...
Warning: Cannot convert string
"-*-ledfixed-medium-r-semicondensed--39-*" to type FontStruct
main: read config file ...
main: checking for vidmode extention ...
main: checking for lirc ...
main: checking for joystick ...
main: checking for midi ...
main: mapping main window ...
main: initialize hardware ...
main: parse channels from config file ...
cmd: "setfreqtab" "europe-west"
cmd: "capture" "overlay"
cmd: "setchannel" "S24"
gd: stop
v4l: freq: 327.250
main: known station tuned, not changing
main: enter main event loop...
gd: config 384x288 win=a00045
v4l: setformat
v4l: capture probe 32 bit TrueColor (BE: -rgb)... failed
setformat: 32 bit TrueColor (BE: -rgb) (384x288): failed
v4l: setformat
v4l: capture probe 24 bit TrueColor (LE: bgr)... ok
setformat: 24 bit TrueColor (LE: bgr) (384x288): ok
grabdisplay: using "24 bit TrueColor (LE: bgr)"
cmd: "capture" "off"
gd: stop
v4l: setformat
setformat: 32 bit TrueColor (BE: -rgb) (384x288): failed
v4l: setformat
setformat: 24 bit TrueColor (LE: bgr) (384x288): ok
v4l: setformat
v4l: getimage
ioctl: VIDIOCMCAPTURE(0,fmt=4,size=384x288): Invalid argument
cmd: "capture" "grab"
gd: start
v4l: setformat
setformat: 24 bit TrueColor (LE: bgr) (384x288): ok
v4l: startvideo
ioctl: VIDIOCMCAPTURE(0,fmt=4,size=384x288): Invalid argument
ioctl: VIDIOCMCAPTURE(0,fmt=4,size=384x288): Invalid argument
v4l: stopvideo
expose count=10
...
expose count=0
cmd: "setchannel" "next"
gd: stop
v4l: freq: 335.250
gd: start
v4l: setformat
setformat: 24 bit TrueColor (LE: bgr) (384x288): ok
v4l: startvideo
ioctl: VIDIOCMCAPTURE(0,fmt=4,size=384x288): Invalid argument
ioctl: VIDIOCMCAPTURE(0,fmt=4,size=384x288): Invalid argument
v4l: stopvideo
..
I think this is fine, besides the message:
ioctl: VIDIOCMCAPTURE(0,fmt=4,size=384x288): Invalid argument
It seems that the tuner is working, scantv finds some channels with a
PAL signal.
In the archive I found many emails about this, but actually no real help.
Here is my setup:
latest saa7134 driver from bytesex.org (version 0.1.6)
latest xawtv from bytesex.org (version 3.74)
kernel 2.4.19-pre8 with patch from bytesex.org
and here is the output from loading the modules:
Linux video capture interface: v1.00
saa7130/34: v4l2 driver version 0.1.6 loaded
saa7134[0]: found at 00:0a.0, rev: 1, irq: 12, latency: 32, mmio:
0xec000000
saa7134[0]: subsystem: 1131:0000, board: LifeView FlyVIDEO3000
i2c-core.o: adapter saa7134[0] registered as adapter 0.
saa7134[0]: Huh, no eeprom present (err=-5)?
saa7134[0]/video: DCSDT: no signal
i2c-core.o: driver i2c TV tuner driver registered.
tuner: probing saa7134[0] i2c adapter [id=0x90000]
tuner: chip found @ 0xc0
i2c-core.o: client [Philips PAL] registered to adapter [saa7134[0]](pos.
0).
saa7134[0]: registered device video0 [???]
saa7134[0]: registered device vbi0
saa7134[0]: registered device radio0
saa7134[0]: registered device dsp1
saa7134[0]: registered device mixer0
saa7134[0]/video: DCSDT: no signal
saa7134[0]/video: DCSDT: no signal
saa7134[0]/video: DCSDT: no signal
Any help appreciated, I simply don't know what to try anymore.
Thanks
dominik