Skip to contentSkip to conversation

Tr. : Irdeto Cam Problem, any help

DISCUSSION Sébastien RAILLARD (COEXSI) 1 participant 1 message Dec 11, 2011 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

"en50221_stdcam_llci_poll: Error reported by stack:-7" :
This isn’t really an error, it’s a design flaw in the libdvben50221 (it’s receving something it isn’t waiting for), it’s more a warning.I’ve published a patch for correcting that few months ago (I think the patch wasn’t noticed...)

There must be something wrong elsewhere, as I never got this error "EN50221ERR_BADCAMDATA". There is only one place where the code generate this error, in "en50221_stdcam_llci.c", during CAM reset :

static void llci_cam_in_reset(struct en50221_stdcam_llci *llci)

{
	if (dvbca_get_cam_state(llci->cafd, llci->slotnum) != DVBCA_CAMSTATE_READY) {
		return;
	}

	// register the slot
	if ((llci->tl_slot_id = en50221_tl_register_slot(llci->tl, llci->cafd, llci->slotnum,
	      						 LLCI_RESPONSE_TIMEOUT_MS, LLCI_POLL_DELAY_MS)) < 0) {
		llci->state = EN50221_STDCAM_CAM_BAD;
		return;
	}

	// create a new connection on the slot
	if (en50221_tl_new_tc(llci->tl, llci->tl_slot_id) < 0) {
		llci->state = EN50221_STDCAM_CAM_BAD;
		llci->tl_slot_id = -1;
		en50221_tl_destroy_slot(llci->tl, llci->tl_slot_id);
		return;
	}

	llci->state = EN50221_STDCAM_CAM_OK;
}

As there are many possible sources for this error, it may be useful to check the value of the "tl->error" variable.

Sebastien.

From: [email protected] [mailto:[email protected]]
Sent: mercredi 7 décembre 2011 00:05
To: [email protected]
Subject: Tr. : Irdeto Cam Problem, any help

C'est pour toi ça.

Signature · 41 lines
Brice

----- Forwarded message -----
De : "JULIAN GARDNER" <[email protected]>
Pour : "[email protected]" <[email protected]>
Objet : Irdeto Cam Problem, any help
Date : mar., déc. 6, 2011 23:50


Been trying now to get my IrdetoCam and card working, im using mumudvb for this.

Turning on debug i get the folowing in the output

nfo:  Autoconf:  Channel number :   0, name : "ERT World"  service id 0 
Info:  Autoconf:      Multicast4 ip : 227.25.0.1:1234
Deb0:  Autoconf:          pids : 5001 (PMT), 1160 (Video (MPEG4-AVC)), 1120 (Audio (MPEG2)), 
Info:  Main:  Channel "ERT World" is
now higly scrambled (97% of scrambled packets). Card 0
en50221_tl_handle_sb: Received T_SB for connection not in T_STATE_ACTIVE from module on slot 00

en50221_stdcam_llci_poll: Error reported by stack:-7

Deb1:  CAM:  Status change from EN50221_STDCAM_CAM_INRESET to EN50221_STDCAM_CAM_OK.
WARN: 
CAM:  Transport Layer Error change from EN50221ERR_NONE (No Error.) to 
EN50221ERR_BADCAMDATA (CAM supplied an invalid request.)
Deb1:  CAM:  CAM Application_Info_Callback
Info:  CAM:  CAM Application type: 01
Info:  CAM:  CAM Application manufacturer: cafe
Info:  CAM:  CAM Manufacturer code: babe
Info:  CAM:  CAM Menu string: Irdeto Access

Now can anybody help with the -7 error, as i am getting no decryption.

Patches would be welcome, before i start trying to delve deeper in

joolz
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html