atom feed43 messages in org.freebsd.freebsd-multimediaRe: Problem with my Wincast, fxtv
FromSent OnAttachments
Kyle MesteryAug 16, 1997 8:41 pm 
Steve PasseAug 16, 1997 9:09 pm 
Kenneth MerryAug 16, 1997 10:13 pm 
Steve PasseAug 16, 1997 10:53 pm 
Amancio HastyAug 16, 1997 11:02 pm 
Steve PasseAug 16, 1997 11:05 pm 
Amancio HastyAug 16, 1997 11:13 pm 
Amancio HastyAug 16, 1997 11:29 pm 
Steve PasseAug 16, 1997 11:39 pm 
Amancio HastyAug 16, 1997 11:45 pm 
Michael SmithAug 17, 1997 2:55 am 
Luigi RizzoAug 17, 1997 4:21 am 
Kyle MesteryAug 17, 1997 10:12 am 
Steve PasseAug 17, 1997 11:19 am 
Amancio HastyAug 17, 1997 11:43 am 
Terry LambertAug 17, 1997 1:05 pm 
Amancio HastyAug 17, 1997 2:33 pm 
Michael SmithAug 17, 1997 4:17 pm 
Michael SmithAug 17, 1997 4:31 pm 
Michael SmithAug 17, 1997 4:40 pm 
Terry LambertAug 17, 1997 5:14 pm 
Michael SmithAug 17, 1997 6:09 pm 
Amancio HastyAug 17, 1997 6:23 pm 
Michael SmithAug 17, 1997 6:33 pm 
Amancio HastyAug 17, 1997 6:44 pm 
Amancio HastyAug 17, 1997 7:01 pm 
Luigi RizzoAug 17, 1997 7:41 pm 
Steve PasseAug 17, 1997 7:44 pm 
Amancio HastyAug 17, 1997 9:04 pm 
Amancio HastyAug 18, 1997 1:05 am 
Luigi RizzoAug 18, 1997 3:36 am 
Luigi RizzoAug 18, 1997 3:41 am 
Amancio HastyAug 18, 1997 9:49 am 
Steve PasseAug 18, 1997 10:02 am 
Amancio HastyAug 18, 1997 10:08 am 
Luigi RizzoAug 19, 1997 3:54 am 
Bruce EvansAug 19, 1997 4:10 am 
Amancio HastyAug 19, 1997 9:57 am 
Kyle MesteryAug 22, 1997 1:34 pm 
Steve PasseAug 22, 1997 1:51 pm 
Kyle MesteryAug 22, 1997 5:26 pm 
Kyle MesteryAug 22, 1997 5:33 pm 
Randall HopperSep 10, 1997 4:19 pm 
Subject:Re: Problem with my Wincast, fxtv
From:Steve Passe (sm@csn.net)
Date:Aug 17, 1997 11:19:34 am
List:org.freebsd.freebsd-multimedia

Hi,

Well, if your feeling adverturous perhaps you should write a simple channel scanner. its something the driver could use.

b4 doing that, try turning on AFC (auto freq control) I think fxtv has a menu item for that, but if not, use ioctl TVTUNER_SETAFC. this will cause the tuner code to adjust the selected frequency within a +-5 mHz range while polling the hardware for a "centered" signal.

--- if that doesn't help a crude userland auto scan would be something like: ******************** THE FOLLOWING IS ALL THEORY ***********************

#define AFC_BITS 0x07 #define AFC_FREQ_MINUS_125 0x00 #define AFC_FREQ_MINUS_62 0x01 #define AFC_FREQ_CENTERED 0x02 #define AFC_FREQ_PLUS_62 0x03 #define AFC_FREQ_PLUS_125 0x04

#define BOTTOM (unsigned long)(55.25 * 16) #define TOP (unsigned long)(655.25 * 16)

int afcon = 1; unsigned long freq, freq2, status; int fd;

fd = open( ... );

if ( ioctl( fd, TVTUNER_SETAFC, &afcon ) < 0 ) { ERROR; }

for ( freq = BOTTOM; freq < TOP; freq += (6.0 * 16) ) { printf( "\ntrying freq: %f", (double)((double)freq / 16.0) ); if ( ioctl( fd, TVTUNER_SETFREQ, &freq ) < 0 ) { ERROR; } if ( ioctl( fd, TVTUNER_GETFREQ, &freq2 ) < 0 ) { ERROR; }

if ( ioctl( fd, TVTUNER_GETSTATUS, &status ) < 0 ) { ERROR; } if ( !(status & 0x40) ) { printf( ", no lock (?)\n" ); sleep( 1 ); continue; }

/** XXX not sure about the / 16 */ printf( "\nafc picked freq: %f", (double)((double)freq2 / 16.0) );

printf( ", hit return to continue..." ); gets(); }