Web lists-archives.org

RE: Driver Development




> -----Original Message-----
> From: Steven Toth [mailto:stoth@xxxxxxxxxxx] 
> Sent: 18 January 2008 21:07
> To: Paul
> Cc: video4linux-list@xxxxxxxxxx
> Subject: Re: Driver Development
> 
> Paul wrote:
> >> -----Original Message-----
> >> From: Mauro Carvalho Chehab [mailto:mchehab@xxxxxxxxxxxxx]
> >> Sent: 15 January 2008 16:49
> >> To: Steven Toth
> >> Cc: Paul; video4linux-list@xxxxxxxxxx
> >> Subject: Re: Driver Development
> >>
> >> On Tue, 15 Jan 2008 11:16:50 -0500
> >> Steven Toth <stoth@xxxxxxxxxxx> wrote:
> >>
> >>> Paul wrote:
> >>>> Hi Steven,
> >>>>
> >>>> I tried creating the channels.conf plus the following line -
> >>>> 	test:473000000:8VSB:33:36
> >>>> but status is always 00 (on WABC and test).
> >>>> The test signal I have is on 473MHz, but I don't know the
> >> audio and
> >>>> video stream IDs (which I assume are the last 2 numbers
> >> on each line).
> >>>> I'm guessing azap gets its status from s5h1409_read_status.
> >>>> I modified this function to show the value of reg, and the high 
> >>>> nibble is always 0, so FE_HAS_VITERBI, FE_HAS_LOCK and
> >> FE_HAS_SYNC
> >>>> are never set.
> >>>>
> >>>>
> >>>> Thanks
> >>>> Paul
> >>>>
> >>>>
> >>>> -----Original Message-----
> >>>> From: Steven Toth [mailto:stoth@xxxxxxxxxxx]
> >>>> Sent: 15 January 2008 15:55
> >>>> To: Paul
> >>>> Cc: video4linux-list@xxxxxxxxxx
> >>>> Subject: Re: Driver Development
> >>>>
> >>>> Paul wrote:
> >>>>> Hi Steven,
> >>>>>
> >>>>> I've never actually used any of the zap utilities.
> >>>>> My understanding was that these needed a channels.conf
> >> file to work.
> >>>>> Since dvbscan fails, I don't have a channels.conf file yet.
> >>>>> Is it possible to create one manually?
> >>>>> I only know the frequency of the ATSC test signal, I
> >> don't know the
> >>>>> IDs of the programs (if it works the same way as DVB-T).
> >>>>>
> >>>>>
> >>>>> Thanks
> >>>>> Paul
> >>>>>
> >>>>>
> >>>>> -----Original Message-----
> >>>>> From: Steven Toth [mailto:stoth@xxxxxxxxxxx]
> >>>>> Sent: 15 January 2008 15:23
> >>>>> To: video4linux-list@xxxxxxxxxx
> >>>>> Cc: Paul
> >>>>> Subject: Re: Driver Development
> >>>>>
> >>>>>
> >>>>>> I'm at a loss of what to try, so any response will be
> >> appreciated.
> >>>>> Do you get sync lock (status 0x1f) when running azap?
> >>>> Put this in your $HOME/.azap/channels.conf
> >>>>
> >>>> WABC:561000000:QAM_256:33:36
> >>>> WNBC:567000000:QAM_256:34:36
> >>>>
> >>>> then azap -r WABC
> >>>>
> >>>> See what status returns.
> >>> It sounds like the tuner isn't doing what you expect. 
> >> Enable debug for
> >>> the 3028 and see what comes from that. Do you have the 
> firmware in 
> >>> place? Check the cx23885 tree for examples of how to attach
> >> the 3028.
> >>
> >> tuner-xc2028 needs to be aware of the IF frequency of your 
> demod. If 
> >> this is wrongly setup, the channel will be shifted, and you won't 
> >> find anything at the address.
> >>
> >> Looking at s5h1409, it seems to work with IF=4000 kHz or 
> IF=5380 kHz 
> >> (s5h1409_set_if_freq). You need to setup .scode_table attribute to 
> >> the corresponding IF that you're using on your demod. So, 
> if you're 
> >> using IF=4000kHz, scode_table should be equal to 4000.
> >>
> >> Not all IF's are supported. IF=4000 is supported. You can use 
> >> firmware_tool (under v4l2_apps/util/xc3028-firmware) to list the 
> >> supported SCODE tables.
> >>
> >> Cheers,
> >> Mauro.
> > 
> > Is there any way I could check the XC3028 is working using 
> a scope or 
> > spectrum analyser?
> > I.e. Could I solder a test wire somewhere on the card, 
> reinstall it, 
> > then look for a signal while it scans?
> > If so, I don't have datasheets for the XC3028 or S5H1409, so some 
> > pinouts would be useful.
> 
> I don't have the pin details handy but why not probe around 
> the tuner ping with a spectrum analyzer, around the IF freq, 
> 5.38MHz comes to mind but your have to check existing drivers 
> to be sure.
> 
> It sounds more like an attac struct configuration issue to 
> me, especially when we already have the 3028 running reliably 
> with the 1409 on another board.
> 
> - Steve

Hi All,

Minor breakthrough - by tuning between 471112500Hz and 471500000Hz
(inclusive), dvbscan now finds the channels on my 473MHz ATSC test
signal.
I guess this make the middle point at 471312500Hz.
Any ideas why this offset exists?


Thanks
Paul


--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list