From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtpauth01.csee.siteprotect.eu ([83.246.86.180]) by www.linuxtv.org with esmtp (Exim 4.63) (envelope-from ) id 1Ka9cz-000821-L9 for linux-dvb@linuxtv.org; Mon, 01 Sep 2008 15:39:33 +0200 Received: from [192.168.10.241] (unknown [81.168.109.249]) (Authenticated sender: roger@beardandsandals.co.uk) by smtpauth01.csee.siteprotect.eu (Postfix) with ESMTP id F26C66C00D for ; Mon, 1 Sep 2008 15:38:58 +0200 (CEST) Message-ID: <48BBF072.3070807@beardandsandals.co.uk> Date: Mon, 01 Sep 2008 14:38:58 +0100 From: Roger James MIME-Version: 1.0 To: linux-dvb@linuxtv.org Subject: [linux-dvb] Binary compatibility TT-3200 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1786330936==" Mime-version: 1.0 Sender: linux-dvb-bounces@linuxtv.org Errors-To: linux-dvb-bounces+mchehab=infradead.org@linuxtv.org List-ID: --===============1786330936== Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I am trying to test an encrypted stream via a TT-3200 using the multiproto drivers. The patched scan szap works fine and I can get a lock. However I need to test with something that activates the CAM. So I tried gnutv. Gnutv uses dvb-apps/lib so it is not patched for multiproto and uses the FE_SET_FRONTEND ioctl.

My understanding from Manu's comments about binary compatibility where that this should work. I am wrong in this assumption? Anyway it does not work and never reports a lock.

roger@myth:~$ gnutv -channels satchannels.conf "BBC 1 London"
Cannot open decoder; defaulting to dvr output
Using frontend "STB0899 Multistandard", type DVB-S
CAM Application type: 0100 | snr 0000 | ber 00000000 | unc 00000000 |
CAM Application manufacturer: 4a70
CAM Manufacturer code: 4a70
CAM Menu string: PRED 3.66
CAM supports the following ca system ids:
  0x0100
  0x0500
  0x1702
  0x0b00
  0x4a70
  0x0d22
  0x0d03
  0x1801
  0x1762
  0x1800
  0x2600
  0x0d01
  0x0d00
  0x0961
  0x0d05
  0x0604
roger@myth:~$     nal 0000 | snr 0000 | ber 00000000 | unc 00000000 |

Here is the dmesg (I have killed the frontend zigzag diagnostics for clarity)

dvb_frontend_open
dvb_frontend_start
dvb_frontend_thread
DVB: initialising frontend 0 (STB0899 Multistandard)...
dvb_frontend_ioctl
dvb_ca adapter 0: DVB CAM detected and initialised successfully
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_add_event
dvb_frontend_thread: Frontend ALGO = DVBFE_ALGO_CUSTOM, state=2
dvb_frontend_thread: Retune requested, FESTAT_RETUNE
dvb_frontend_thread: STATUS = DVBFE_ALGO_SEARCH_SUCCESS
dvb_frontend_thread: TRACK callback exists at 0xe0be7078
dvb_frontend_thread: Frontend ALGO = DVBFE_ALGO_CUSTOM, state=16
dvb_frontend_thread: STATUS = DVBFE_ALGO_SEARCH_SUCCESS
dvb_frontend_thread: TRACK callback exists at 0xe0be7078
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_thread: Frontend ALGO = DVBFE_ALGO_CUSTOM, state=16
dvb_frontend_thread: STATUS = DVBFE_ALGO_SEARCH_SUCCESS
dvb_frontend_thread: TRACK callback exists at 0xe0be7078
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_thread: Frontend ALGO = DVBFE_ALGO_CUSTOM, state=16
dvb_frontend_thread: STATUS = DVBFE_ALGO_SEARCH_SUCCESS
dvb_frontend_thread: TRACK callback exists at 0xe0be7078
dvb_frontend_thread: Frontend ALGO = DVBFE_ALGO_CUSTOM, state=16
dvb_frontend_thread: STATUS = DVBFE_ALGO_SEARCH_SUCCESS
dvb_frontend_thread: TRACK callback exists at 0xe0be7078
dvb_frontend_thread: Frontend ALGO = DVBFE_ALGO_CUSTOM, state=16
dvb_frontend_thread: STATUS = DVBFE_ALGO_SEARCH_SUCCESS
dvb_frontend_thread: TRACK callback exists at 0xe0be7078
dvb_frontend_thread: Frontend ALGO = DVBFE_ALGO_CUSTOM, state=16
dvb_frontend_thread: STATUS = DVBFE_ALGO_SEARCH_SUCCESS
dvb_frontend_thread: TRACK callback exists at 0xe0be7078
dvb_frontend_thread: Frontend ALGO = DVBFE_ALGO_CUSTOM, state=16
dvb_frontend_thread: STATUS = DVBFE_ALGO_SEARCH_SUCCESS
dvb_frontend_thread: TRACK callback exists at 0xe0be7078
dvb_frontend_thread: Frontend ALGO = DVBFE_ALGO_CUSTOM, state=16
dvb_frontend_thread: STATUS = DVBFE_ALGO_SEARCH_SUCCESS
dvb_frontend_thread: TRACK callback exists at 0xe0be7078
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_thread: Frontend ALGO = DVBFE_ALGO_CUSTOM, state=16
dvb_frontend_thread: STATUS = DVBFE_ALGO_SEARCH_SUCCESS
dvb_frontend_thread: TRACK callback exists at 0xe0be7078
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_thread: Frontend ALGO = DVBFE_ALGO_CUSTOM, state=16
dvb_frontend_thread: STATUS = DVBFE_ALGO_SEARCH_SUCCESS
dvb_frontend_thread: TRACK callback exists at 0xe0be7078
dvb_frontend_thread: Frontend ALGO = DVBFE_ALGO_CUSTOM, state=16
dvb_frontend_thread: STATUS = DVBFE_ALGO_SEARCH_SUCCESS
dvb_frontend_thread: TRACK callback exists at 0xe0be7078
dvb_frontend_thread: Frontend ALGO = DVBFE_ALGO_CUSTOM, state=16
dvb_frontend_thread: STATUS = DVBFE_ALGO_SEARCH_SUCCESS
dvb_frontend_thread: TRACK callback exists at 0xe0be7078
dvb_frontend_thread: Frontend ALGO = DVBFE_ALGO_CUSTOM, state=16
dvb_frontend_thread: STATUS = DVBFE_ALGO_SEARCH_SUCCESS
dvb_frontend_thread: TRACK callback exists at 0xe0be7078
dvb_frontend_thread: Frontend ALGO = DVBFE_ALGO_CUSTOM, state=16
dvb_frontend_thread: STATUS = DVBFE_ALGO_SEARCH_SUCCESS
dvb_frontend_thread: TRACK callback exists at 0xe0be7078
dvb_frontend_thread: Frontend ALGO = DVBFE_ALGO_CUSTOM, state=16
dvb_frontend_thread: STATUS = DVBFE_ALGO_SEARCH_SUCCESS
dvb_frontend_thread: TRACK callback exists at 0xe0be7078
dvb_frontend_release
dvb_frontend_thread: frontend_wakeup
roger@myth:~$

Here is a run of szap

roger@myth:~$ szap -c satchannels.conf "BBC 1 London"
reading channels from file 'satchannels.conf'
zapping to 1 'BBC 1 London':
sat 0, frequency = 10773 MHz H, symbolrate 22000000, vpid = 0x1388, apid = 0x1389 sid = 0x189d
Querying info .. Delivery system=DVB-S
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
----------------------------------> Using 'STB0899 DVB-S' DVB-S
do_tune: API version=3, delivery system = 0
do_tune: Frequency = 1023000, Srate = 22000000
do_tune: Frequency = 1023000, Srate = 22000000


status 1e | signal 0193 | snr 007b | ber 00000000 | unc fffffffe | FE_HAS_LOCK

roger@myth:~$


and here is the dmesg from that

dvb_frontend_open
dvb_frontend_start
dvb_frontend_thread
DVB: initialising frontend 0 (STB0899 Multistandard)...
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_ioctl: DVBFE_GET_INFO
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_get_event
dvb_frontend_ioctl
newfec_to_oldfec: Unsupported FEC 9
dvb_frontend_ioctl: FESTATE_RETUNE: fepriv->state=2
dvb_frontend_add_event
dvb_frontend_thread: Frontend ALGO = DVBFE_ALGO_CUSTOM, state=2
dvb_frontend_thread: Retune requested, FESTAT_RETUNE
dvb_frontend_ioctl
stb6100_set_bandwidth: Bandwidth=51610000
stb6100_get_bandwidth: Bandwidth=52000000
stb6100_get_bandwidth: Bandwidth=52000000
stb6100_set_frequency: Frequency=1023000
stb6100_get_frequency: Frequency=1022994
stb6100_get_bandwidth: Bandwidth=52000000
dvb_frontend_thread: SEARCH callback exists at 0xe0be8cf3
dvb_frontend_thread: STATUS = DVBFE_ALGO_SEARCH_SUCCESS
dvb_frontend_thread: TRACK callback exists at 0xe0be7078
dvb_frontend_add_event
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_ioctl
dvb_frontend_release
roger@myth:~$


I am having a little difficulty working out whta is going on. Am I wasting my time?

Roger
--===============1786330936== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb --===============1786330936==--