Re: [announce] bttv 0.8.18 (was: hanging system with bttv)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> >  - radio fix.  Was broken in older releases, this one might work.
> >    Untested as I don't have a card with radio currently.
>  
>  Well, no more those errors on open(2) but radio does _not_ work. -->
>  
>  Jun 28 15:35:37 ltop kernel: tuner: radio freq set to 88.12
>  Jun 28 15:35:37 ltop kernel: tuner: PLL not locked
>  Jun 28 15:35:37 ltop kernel: tuner: Signal: 8192
>  
>  Just a noise.

Hmm.  Try to add that old, funny workaround (patch below).  I assumed
the new tuner frequency range sanity checks made that obsolete, but
seems not...

>  Well, radio(1) from xawtv package does not work. v4l2 API problem maybe ?

No.  radio / vbi is still v4l1 (as mentioned in the README).

  Gerd

---------------------------- cut here ------------------------
--- bttv-driver.c~	Wed Jun 27 18:55:06 2001
+++ bttv-driver.c	Thu Jun 28 18:17:37 2001
@@ -2973,6 +2973,7 @@
 {
 	unsigned int minor = MINOR(inode->i_rdev);
 	struct bttv *btv = NULL;
+	unsigned long v = 400*16;
 	int i;
 
 	dprintk("bttv: open minor=%d\n",minor);
@@ -2994,6 +2995,7 @@
 	}
 	btv->radio_user++;
 	file->private_data = btv;
+	bttv_call_i2c_clients(btv,VIDIOCSFREQ,&v);
         bttv_call_i2c_clients(btv,AUDC_SET_RADIO,&btv->tuner_type);
 	audio_mux(btv,AUDIO_RADIO);
 	up(&btv->lock);





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux