Mailing List archive

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

[linux-dvb] Re: [PATCH] Skystar2 pid filters reorganization



Hi!

I worked for B2C2 for more than 4 years. I left in February 2003. I'm doing contract work and have done some work for B2C2 after I left.
Please see below.

	Augusto

*********** REPLY SEPARATOR  ***********

On 11/28/2003 at 8:55 AM Niklas Peinecke wrote:

>Augusto Cardoso wrote:
>> Hi!
>> 
>> A few points about the Flexcop HW PIDs.
>> These extra pids, access using 0x310, are only available on FCIIB and
>FCIII. The original FCII doesn't have them.
>> Currently, the there are a few different boards for sale that use FCII,
>FCIIB and FCIII. The only way to know which chip you have is to look or by
>checking the version. IN general, the 2.3 have FCII, the 2.3P FCIIB and
>the 2.6B FCII(most) and FCIIB. FCIII is on all 3.X cards.
>> FCII only support the original HW PIDs, 2X 300,2X 304,2X 308 and the
>group pid at 30c.
>> Another detail is that the PID value should be mask with 0x1fff. The
>next two bits are used by the Flexcop chip. The chip has a built-in demux
>and section filter. The high bits of the pid will enable this for each
>individual PID. In order for the Flexcop to work in the current
>skystar2.o, you must not set these bits.
>> 
>> Hope this helps. Please let me know if you have more questions.
>> 
>> 	Augusto
>
>Hi Augusto,
>
>how come that you know so much about these devices? It's great to have a 
>guru to ask!
>
>If I understand you right, then to enable the extra filters one has to
>1) select the filter via 0x310
>2) set the PID in 0x314
>3) make shure the bits 0x6000 are cleared
>
These register are only available for FCIIB and FCIII.

Reg 0x310
Bits 4-0	PID index
Bits 7-5	Debug register index. FCIII only
Bit 8	Select which portion of the section filter to write to. (Only used when the internal demux is used).
Bit 9	Pass all-tables. (Only used when the internal demux is used, no match table-id). FCIII only

Reg 0x314
Bits 12-0 PID value
Bit 13 	Enable internal demux. Should be set to 0 for the current skystar2.c
Bit 14	Enable this filter. This should be set to 1 to enable this filter.

Reg 0x318 and 0x31c have sections for filtering, but only when the internal demux is in use.

>I pretend to disable a filter all one has to do is setting it's PID to 
>0x1fff?
>

That works. The register to write is the same. The only time you need to be careful with reading/writing registers is on the USB product -- FCIII.
Note that you can enable/disable the bit after you set it to 0x1fff, I would disable it by writing a 0 on bit 14.

	Augusto 



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index