Sponsored links

Go Back   Sat Industry Forums > Dreambox > Dreambox Development
Register FAQ Members List Calendar Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-15-2007
Registered User
 
Join Date: Mar 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
karnicero is on a distinguished road
Question Compiling mgcamd

Hi,

I've just compiled CDK and now I've compiled mgcamd code but when I try to run it in dreambox it shows the following error:

Code:
root@dreambox:/tmp> ./mgcam
Analyzing PMT.TMP ...
Program number 65 ...
Language = esl
ca_descr 18 01 e6 22
Found nagra
Language = eng
ca_descr 18 01 e6 22
Found nagra
DMX SET SECTION FILTER: Invalid argument
Try system Nagra id 0 ecm 622
DMX SET SECTION FILTER: Invalid argument
Try system Nagra id 0 ecm 622
It seems the problem is here:

Code:
static void SetFilt(int fd,int pid,int tnr)
{
  struct dmxSctFilterParams FilterParams;

  memset(&FilterParams.filter.filter,0,DMX_FILTER_SIZE);
  memset(&FilterParams.filter.mask,0,DMX_FILTER_SIZE);

  if (tnr >= 0)
  {
    FilterParams.filter.filter[0] = tnr;
    FilterParams.filter.mask[0] = 0xff;
  }
  FilterParams.timeout = 15000;
  FilterParams.flags = DMX_IMMEDIATE_START;
  FilterParams.pid = pid;

  if (ioctl(fd,DMX_SET_FILTER,&FilterParams) < 0)
    perror("DMX SET SECTION FILTER");
}
Any ideas?

Thanks in advance.
Reply With Quote
Sponsored links
  #2 (permalink)  
Old 05-23-2007
Registered User
 
Join Date: Mar 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
karnicero is on a distinguished road
Thumbs up Re: Compiling mgcamd

I was compiling a bad dmx.h file, now it works perfectly.
Reply With Quote
  #3 (permalink)  
Old 06-03-2007
Registered User
 
Join Date: Mar 2004
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts
arachid is on a distinguished road
Re: Compiling mgcamd

Which mgcamd code have you compiled ? Older one or a new version. I need newer version if you can manage.

Thanks
Reply With Quote
  #4 (permalink)  
Old 4 Weeks Ago
Registered User
 
Join Date: Mar 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
karnicero is on a distinguished road
Re: Compiling mgcamd

Quote:
Originally Posted by arachid
Which mgcamd code have you compiled ? Older one or a new version. I need newer version if you can manage.

Thanks
Hi,

I just compiled the source code posted in this forum:

mgcamd Source for Developers

you only need to make some improvements
Reply With Quote
  #5 (permalink)  
Old 1 Day Ago
Registered User
 
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
billytk06 is on a distinguished road
Re: Compiling mgcamd

Hi,

I need to compile mgcamd source. Once I compile it I will add web_dcw_sharing and DCW sharing ...

please help me.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling Enigma aquaman Dreambox Development 4 03-06-2007 07:45 PM
Mgcamd and BISS @ Vlad and mgcamd team AnderSat2 Dreamulators 3 05-02-2006 03:24 AM
Error compiling CDK aalex77 Dreambox Development 1 10-05-2005 04:02 PM
Error compiling CDK arachid Dreambox Development 4 09-08-2004 08:52 PM
Compiling the CDK arachid Dreambox Development 4 07-20-2004 05:51 AM


All times are GMT +10. The time now is 09:06 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2023, Jelsoft Enterprises Ltd.
by
Page generated in 0.19918 seconds with 10 queries