[Kwintv] Problem to set-up KDETV

Dirk Ziegelmeier dziegel at gmx.de
Thu May 20 10:30:08 CEST 2004


On Wednesday 19 May 2004 11:27, Lucien Mathieu wrote:

Hello,

1) The Linux KERNEL has an API for video devices: Video4Linux. One driver that 
implements this API is the bttv driver.

2) XFree offers capabilities for overlay video display via the XVIDEO v4l 
bridge. This makes sense due to some technical advantages (better redraw).

3) kdetv is a plugin based program. It can have several video plugins that 
support different video display methods:

3.1) The kdetv xv plugin implements video display using the XFree v4l bridge. 
The devices are called "video4linux - XVIDEO port XXX"

3.2) The kdetv v4l plugin directly uses the Linux kernel and it's video4linux 
kernel API to display video. The devices have the name of your card with the 
device postfixed (e.g. "BT878 Video (Hauppauge WinTV PVR) 
Video4Linux(/dev/video)")


From your further info below, I see that kdetv does not detect any device. 
This usually happens if kdetv cannot load it's video plugins. Go to the 
config dialog, page "Video". Look if kdetv found the two video plugins I 
described above (xv and v4l). If not, you downloaded the wrong rpms for your 
system.

If yes, you have a problem with your bttv installation. Do other programs 
work?

BTW, the debug output from the bttv kernel driver looks stange to me, looks 
like it finds two video cards but initialises them both as bttv0... Are you 
sure you correctly set up your driver?

Dirk



> Hello,
>
> 	please could you clarify what you are talking about the v4l plugin and
> video4linux port? No sure what you are trying to explain, is there a
> plugin to the tv tuner adapted for video4linux? It's what bttv is use
> for! I don't see why I should add a plugin for video4linux?
>
> 	when you run kdetv there is a dialog box that ask to select the device,
> source and encoding (kdetv 0.8, just in case you have another version)
> It's where the dropdown boxes are all empty.
>
> 	Any bright idea? Actualy I have the following messages in the
> kdebug.dbg (I use kdebugdialog --fullmode, thanks to someone from the
> kde-gear list)
>
> detv: WARNING: Sourcemanager: No screenwidget set! Cannot scan video
> plugins!
> kdetv: WARNING: OSDManager: No screenwidget set! Cannot scan OSD
> plugins!
> kdetv: WARNING: MiscManager: No screenwidget set! Cannot scan Misc
> plugins!
> kdetv: WARNING: MainWindow::setupInfraRed(): Lirc not available
> kdetv: WARNING: KLocale: trying to look up "" in catalog. Fix the
> program
> kdetv: WARNING: KLocale: trying to look up "" in catalog. Fix the
> program
> kdetv: WARNING: Kdetv::start(): No device selected, trying to use
> default:
> kdetv: WARNING: Sourcemanager: No screenwidget set! Cannot scan video
> plugins!
> kdetv: WARNING: OSDManager: No screenwidget set! Cannot scan OSD
> plugins!
> kdetv: WARNING: MiscManager: No screenwidget set! Cannot scan Misc
> plugins!
> kdetv: WARNING: MainWindow::setupInfraRed(): Lirc not available
> kdetv: WARNING: KLocale: trying to look up "" in catalog. Fix the
> program
> kdetv: WARNING: KLocale: trying to look up "" in catalog. Fix the
> program
>
> May be the plugins that you are talking about are the ones on warning in
> this debug file, but I downloaded the rpms from kde.org web site, I
> didn't any further plugins for kde, where are they then?
>
> Thanks in advance,
> Lucien.
>
> Le dim 16/05/2004 à 21:47, Dirk Ziegelmeier a écrit :
> > On Sunday 16 May 2004 11:48, Lucien Mathieu wrote:
> >
> > Hello,
> >
> > please clarify:
> >
> > 1) kdetv does not detect your device (e.g. "Devices" menu is empty)
> >
> > 2) it does not find your SOURCE ("Devices" menu shows your device, but
> > you can't select the source you expect)
> >
> > I suspect case 2, since xvinfo shows that the XVIDEO v4l bridge only
> > finds an "svideo" source, and you probably expect a "television" source.
> > I can't do anything about that, since the v4l bridge code is totally
> > independent of kdetv. You may want to try to use the v4l plugin (devices
> > that are not called "video4linux - port XXX", maybe it works better for
> > you.
> >
> > Dirk
> >
> > > Hello,
> > >
> > > 	I have some problem to setup kdetv, any good advice on why it's 	not
> > > finding my video device?
> > >
> > > 	lsmod is as follow
> > >
> > > 	bttv                  101504   0  (autoclean)
> > > 	i2c-algo-bit            8712   0  (autoclean) [bttv]
> > > 	soundcore               6692   7  (autoclean) [emu10k1 sound
> > > 							bttv]
> > > 	i2c-core               21060   0  (autoclean) [tuner 							tvaudio
> > > 							msp3400    bttv 							i2c-algo-bit]
> > > 	videodev                9120   3  (autoclean) [bttv]
> > >
> > > 	config is as follow (I find it out on the web a tool to check my
> > > 	config, it's not coming from the kdetv web site though, could not
> > > 	find anything on the kdetv web site)
> > >
> > > 	# i2c
> > > 	alias char-major-89 i2c-dev
> > > 	options i2c-core i2c_debug=1
> > > 	options i2c-algo-bit bit_test=1
> > >
> > > 	# bttv
> > > 	alias char-major-81 videodev
> > > 	alias char-major-81-0 bttv
> > > 	options bttv card=1 pll=0
> > > 	options bttv card=39 pll=0
> > > 	options tuner type=0 debug=0
> > > 	options msp3400 once=1 simple=1
> > > 	post-install bttv modprobe tuner; modprobe videodev
> > >
> > > 	xvinfo is getting me the following information:
> > >
> > > 	Adaptor #0: "video4linux"
> > > 	      encoding ID #21: "pal-svideo"
> > > 	      encoding ID #22: "ntsc-svideo"
> > > 	      encoding ID #23: "secam-svideo"
> > > 	      encoding ID #24: "palnc-svideo"
> > > 	      encoding ID #25: "palm-svideo"
> > > 	      encoding ID #26: "paln-svideo"
> > > 	      encoding ID #27: "ntscjp-svideo"
> > >
> > > 	It's all about I can get, but still the video device is not 	recognise
> > > in kdetv... Pinnacle Miro PCTV
> > >
> > >  	Ah yes the var/log as follow:
> > >
> > > 	May 16 01:20:50 localhost kernel: i2c-core.o: i2c core module version
> > > 2.8.4 (20040207)
> > > 	May 16 01:20:50 localhost kernel: Linux video capture interface: v1.00
> > > 	May 16 01:20:50 localhost kernel: bttv: driver version 0.7.108 loaded
> > > May 16 01:20:50 localhost kernel: bttv: using 4 buffers with 2080k
> > > (8320k total) for capture
> > > May 16 01:20:50 localhost kernel: bttv: Bt8xx card found (0).
> > > May 16 01:20:50 localhost kernel: bttv0: Bt878 (rev 17) at 00:07.0,
> > > irq: 18, latency: 64, mmio: 0xdddfe000
> > > May 16 01:20:50 localhost kernel: bttv0: detected: Pinnacle PCTV
> > > [card=39], PCI subsystem ID is 11bd:0012
> > > May 16 01:20:50 localhost kernel: bttv0: using: Pinnacle PCTV
> > > Studio/Rave [card=39,insmod option]
> > > May 16 01:20:50 localhost kernel: bttv0: i2c: checking for MSP34xx @
> > > 0x80... found
> > > May 16 01:20:50 localhost kernel: bttv0: miro: id=16 tuner=1
> > > radio=fmtuner stereo=yes
> > > May 16 01:20:50 localhost kernel: bttv0: using tuner=1
> > > May 16 01:20:50 localhost kernel: bttv0: i2c: checking for MSP34xx @
> > > 0x80... found
> > > May 16 01:20:50 localhost kernel: msp34xx: init: chip=MSP3450G-B8
> > > +nicam +simple +radio
> > > May 16 01:20:50 localhost kernel: msp3410: daemon started
> > > May 16 01:20:50 localhost kernel: bttv0: i2c: checking for TDA9875 @
> > > 0xb0... not found
> > > May 16 01:20:50 localhost kernel: bttv0: i2c: checking for TDA7432 @
> > > 0x8a... not found
> > > May 16 01:20:50 localhost kernel: tvaudio: TV audio decoder +
> > > audio/video mux driver
> > > May 16 01:20:50 localhost kernel: tvaudio: known chips:
> > > tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic
> > >16c5 4 (PV951),ta8874z May 16 01:20:50 localhost kernel: tuner: chip
> > > found @ 0xc2 May 16 01:20:50 localhost kernel: tuner(bttv): type forced
> > > to 0 (Temic PAL (4002 FH5)) [insmod]
> > > May 16 01:20:50 localhost kernel: tuner: type already set (0)
> > > May 16 01:20:50 localhost kernel: bttv0: registered device video0
> > > May 16 01:20:50 localhost kernel: bttv0: registered device vbi0
> > > May 16 01:20:50 localhost kernel: bttv0: registered device radio0
> > >
> > > 	Thanks for your help...
> > >
> > > _______________________________________________
> > > kwintv mailing list
> > > kwintv at kde.org
> > > https://mail.kde.org/mailman/listinfo/kwintv


More information about the kwintv mailing list