LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Philips saa7134 analog TV card not working (https://www.linuxquestions.org/questions/slackware-14/philips-saa7134-analog-tv-card-not-working-578005/)

jack_peter 08-18-2007 09:26 AM

Philips saa7134 analog TV card not working
 
hi,

I'm using a slack12 machine with a 2.6.22 kernel. I think I got the driver compiled in, some modules are loaded at boot time:

Code:

root@wayne:/usr/local/tvtime-1.0.1# lsmod
Module                  Size  Used by
bsd_comp                8960  0
ppp_synctty            10880  0
ppp_async              12032  1
crc_ccitt              5888  1 ppp_async
ppp_generic            24852  7 bsd_comp,ppp_synctty,ppp_async
slhc                    9344  1 ppp_generic
snd_pcm_oss            38528  0
snd_mixer_oss          16768  1 snd_pcm_oss
saa7134_dvb            18572  0
dvb_pll                15492  1 saa7134_dvb
video_buf_dvb          8452  1 saa7134_dvb
dvb_core              69416  1 video_buf_dvb
tda1004x              17412  1 saa7134_dvb
tuner                  59688  0
snd_via82xx            24084  1
snd_ac97_codec        91552  1 snd_via82xx
saa7134              115532  1 saa7134_dvb
ac97_bus                6016  1 snd_ac97_codec
snd_pcm                64516  3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
via_rhine              22536  0
snd_timer              20100  1 snd_pcm
video_buf              22404  3 saa7134_dvb,video_buf_dvb,saa7134
snd_page_alloc        10888  2 snd_via82xx,snd_pcm
compat_ioctl32          5248  1 saa7134
snd_mpu401_uart        9984  1 snd_via82xx
ir_kbd_i2c            10384  1 saa7134
snd_rawmidi            21120  1 snd_mpu401_uart
snd_seq_device          9868  1 snd_rawmidi
snd                    43268  11 snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
i2c_core              24320  6 saa7134_dvb,dvb_pll,tda1004x,tuner,saa7134,ir_kbd_i2c
ir_common              33412  2 saa7134,ir_kbd_i2c
videodev              28032  1 saa7134
v4l2_common            18560  3 tuner,saa7134,videodev
v4l1_compat            15748  2 saa7134,videodev

The device /dev/video0 exists and gives some output if I open it with cat. My first problem was that I couldn't compile tvtime:

Code:

root@wayne:/usr/local/tvtime-1.0.1# make
[...]
if gcc -DHAVE_CONFIG_H -I. -I. -I..    `/usr/bin/freetype-config --cflags`  -Wall -pedantic -I. -DDATADIR="\"/usr/share/tvtime\"" -DCONFDIR="\"/etc/tvtime\"" -DFIFODIR="\"/tmp\"" -D_LARGEFILE64_SOURCE -DLOCALEDIR="\"/usr/share/locale\"" -I../plugins  -I/usr/include/libxml2  -g  -O3 -fomit-frame-pointer -std=gnu99 -MT tvtime-kdetv_tomsmocomp.o -MD -MP -MF ".deps/tvtime-kdetv_tomsmocomp.Tpo" \
          -c -o tvtime-kdetv_tomsmocomp.o `test -f '../plugins/kdetv_tomsmocomp.c' || echo './'`../plugins/kdetv_tomsmocomp.c; \
        then mv -f ".deps/tvtime-kdetv_tomsmocomp.Tpo" ".deps/tvtime-kdetv_tomsmocomp.Po"; \
        else rm -f ".deps/tvtime-kdetv_tomsmocomp.Tpo"; exit 1; \
        fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..    -g -O2 -MT greedyh.o -MD -MP -MF ".deps/greedyh.Tpo" \
          -c -o greedyh.o `test -f '../plugins/greedyh.cpp' || echo './'`../plugins/greedyh.cpp; \
        then mv -f ".deps/greedyh.Tpo" ".deps/greedyh.Po"; \
        else rm -f ".deps/greedyh.Tpo"; exit 1; \
        fi
../plugins/greedyh.asm:21: error: extra qualification 'DScalerFilterGreedyH::' on member 'filterDScaler_SSE'
../plugins/greedyh.asm:21: error: extra qualification 'DScalerFilterGreedyH::' on member 'filterDScaler_3DNOW'
../plugins/greedyh.asm:21: error: extra qualification 'DScalerFilterGreedyH::' on member 'filterDScaler_MMX'
make[2]: *** [greedyh.o] Error 1
make[2]: Leaving directory `/usr/local/tvtime-1.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/tvtime-1.0.1'
make: *** [all] Error 2

Older releases also don't work, the same with xawtv. Then I tried kdetv 0.8.9, but it doen't find my TV card.

Is there a way to compile tvtime? Is it possible to watch with kaffeine after some configuration?

erklaerbaer 08-19-2007 09:33 AM

try the newest version.

jack_peter 08-20-2007 04:20 PM

sorry, but which version do you mean? kdetv? Haven't found a newer one...

ferradura 08-20-2007 06:09 PM

Quote:

Originally Posted by jack_peter (Post 2863006)
Is there a way to compile tvtime?

You need to patch the source (latest release is from 2005), i think it won`t compile with gcc-4.1.

Grab it here http://ecarux.de/ports/tvtime
Thanks to Hannes Mayer, who maintains this port for CRUX.

Road_map 08-21-2007 04:30 AM

You can also try tvtime 1.0.2 from linuxpackages: http://www.linuxpackages.net/pkg_details.php?id=9978. It is for Slackware 11.0, but works fine on my Slackware 12.0 system.

hexan 08-21-2007 06:15 AM

I did also have some problem compiling my frontend program for my tv-card. I used mplayer with another set of kernelheaders, I think i found those in the /extra directory on the slackware cd.

jack_peter 08-23-2007 01:25 PM

thanks for your advices, compilation works with patch

pino_otto 09-15-2007 03:00 PM

I also installed the tvtime version for Slackware 11.0 on my Slackware 12.0 and it is working.


All times are GMT -5. The time now is 07:57 PM.