Abylai Ospan wrote:> В Сбт, 29/09/2007 в 13:44 +0400, Manu Abraham пишет:>> > but "hacked" szap won't work:>>>> Ahh ..>> The szap modification was older than a previous API update.>>>> Just change the following line in szap.c>>>> } else if ((DVB_API_VERSION == 3) && (DVB_API_VERSION_MINOR == 1)){>>>> to>>>> } else if ((DVB_API_VERSION == 3) && (DVB_API_VERSION_MINOR == 2)){>>> this helps because I have DVB_API_VERSION_MINOR equal 3:> > 251c251> < if ((DVB_API_VERSION == 3) && (DVB_API_VERSION_MINOR == 1)) {> --->> if ((DVB_API_VERSION == 3) && (DVB_API_VERSION_MINOR == 3)) {> 287c287> < } else if ((DVB_API_VERSION == 3) && (DVB_API_VERSION_MINOR == 3)){> --->> } else if ((DVB_API_VERSION == 3) && (DVB_API_VERSION_MINOR == 1)){> > after this change szap locked successfully:> szap # ./szap -a 1 "MTV Russia"> reading channels from file '/root/.szap/channels.conf'> zapping to 2 'MTV Russia':> sat 0, frequency = 12245 MHz V, symbolrate 27500000, vpid = 0x0142, apid> = 0x0194 sid = 0x283f> Querying info .. Delivery system=DVB-S> using '/dev/dvb/adapter1/frontend0' and '/dev/dvb/adapter1/demux0'> status 01 | signal cd06 | snr b56e | ber 0000ff00 | unc 00000000 |> status 1f | signal cf74 | snr c7b9 | ber 00000800 | unc 00000000 |> FE_HAS_LOCK> status 1f | signal d0b9 | snr c819 | ber 00000100 | unc 00000000 |> FE_HAS_LOCK> > > but szap lost lock if I'm trying to touch CI+CAM with following command:> libdvb-0.5.5.1-sat # ./cam_set -a 1> Found 1CAM(s)> CAMInit: CI link layer level interface type> Using /dev/dvb/adapter1/ca0> Found 0 slots. caps.slot_num:1> CAM: Viaccess, 01, 0500, 0500> > szap show:> status 1f | signal d0bc | snr c753 | ber 00000100 | unc 00000000 |> FE_HAS_LOCK> status 1f | signal cf85 | snr c7f5 | ber 00000000 | unc 00000000 |> FE_HAS_LOCK> status 1f | signal d0bd | snr c828 | ber 00000100 | unc 00000000 |> FE_HAS_LOCK> status 01 | signal 95fe | snr 7ff5 | ber 0000334e | unc 00000000 |> status 01 | signal 951a | snr 7f56 | ber 000034f8 | unc 00000000 |> status 01 | signal 95e4 | snr 7fe3 | ber 000033e7 | unc 00000000 |> > anu ideas ? This shouldn't affect in anyway. Looks like some other problem Manu _______________________________________________linux-dvb mailing listlinux-dvb@xxxxxxxxxxxxxxx://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb