From: Mario Miko�evi� <[EMAIL PROTECTED]>
> > > tuner: radio freq set to 400.00
> > > tuner: radio freq (400.00) out of range (65-108)
> > >
> > > Hum?
> >
> > Is this the radio device from bttv?
>
> Yep, /dev/radio from tuner module (bttv driver)
And where did you get the output from??
> > > Some ioctl( .. VIDIOCSFREQ .. ) too early ?!
> >
> > ioctl() before open()???
>
> Nope. No ioctls in my C program (yet).
> It's something like :
>
> if( ( fd = open( dev_name, O_RDONLY ) ) > 0 ) {
> printf( "Hurray!\n" );
> } else {
> fprintf( stderr, "No interface found!\n" );
> exit(1);
> }
open() is allowed to return 0; check against -1. Replace the fprintf
with perror("it's me") and guess...
...send the output of your program.
Bye,
Robert
_______________________________________________
Video4linux-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list