Jump to content


Photo

Cable scan executable utility not found '/usr/bin/tda1002x'!

Xtrend ET9500 OpenPLi 8.3

  • Please log in to reply
12 replies to this topic

#1 Callel

  • New Member
  • 3 posts

0
Neutral

Posted 22 August 2023 - 22:55

Hello,

As soon as I try to access any tuner settings or do an automatic scan, I'm greeted by a red X/Stop sign and the text:
    Cable scan executable utility not found '/usr/bin/tda1002x'!

I've tried activating both the DVB-C tuners, but it doesn't make a difference.

Is a vital executable missing from the image build for the Xtrend ET9x00, or what does this mean? I'm not able to do a standard tuner scan!  :-)

I believe this question has been posted before ( https://forums.openp...t-nicht-sf8008/ ), but I don't think the replies are of any use to me, as I already know which configurations, network-ID etc to use - I'm just not able to start a search because of the missing executable!

 

Thank you in advance for any help you may provide! Also, I'm new to this, so at this point I don't know much about OpenPLi, its files, or how to build an image... - but if I need to learn to resolve the issue, I'm willing to do that!

 

Best regards,

Carl



Re: Cable scan executable utility not found '/usr/bin/tda1002x'! #2 WanWizard

  • PLi® Core member
  • 70,554 posts

+1,813
Excellent

Posted 23 August 2023 - 00:16

Odd, as as far as I know, no external binary is needed to do a scan? This is the old blindscan tool, which was very buggy and removed in 2012.

 

I found this (in Dutch, so you might night Google Translate): https://forums.openp...can-werkt-niet/


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Cable scan executable utility not found '/usr/bin/tda1002x'! #3 littlesat

  • PLi® Core member
  • 57,199 posts

+700
Excellent

Posted 23 August 2023 - 07:45

I see for some tuner types there is/was a binary. (see below) but does this mean we do not need the def startCableTransponderSearch(self, nim_idx) function in total?

Actually this looks like cable blindscan and since 2012 we do not offer the required binaries anymore.

Also the mediaclient is not in our image.... so blindscan Cable and Teristical cannot work,,,

if tunername == "CXD1981":
                                    exe_path = "/usr/bin/cxd1978"
                                    cmd = "cxd1978 --init --scan --verbose --wakeup --inv 2 --bus %d" % bus
                        elif tunername == "ATBM781x":
                                    exe_path = "/usr/bin/atbm781x"
                                    cmd = "atbm781x --init --scan --verbose --wakeup --inv 2 --bus %d" % bus
                        elif tunername.startswith("Sundtek"):
                                    exe_path = "/opt/bin/mediaclient"
                                    cmd = "%s --blindscan %d" % (exe_path, nim_idx)
                        else:
                                    bin_name = GetCommand(nim_idx)
                                    exe_path = "/usr/bin/%s" % bin_name.split()[0]
                                    cmd = "%s --init --scan --verbose --wakeup --inv 2 --bus %d" % (bin_name, bus)
[/code]

Edited by littlesat, 23 August 2023 - 07:51.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Cable scan executable utility not found '/usr/bin/tda1002x'! #4 littlesat

  • PLi® Core member
  • 57,199 posts

+700
Excellent

Posted 23 August 2023 - 07:54

It looks like they have a table that should work... but also exceptions (like the ones in the code above...) I think they need to be removed...

 

Sorry looks like spaghetti code and I always hated the separate binaries for blindscan when we're open source... this is a big trick....

 

Actually I think the table should be adapted so we somehow now in forehand if a tuner can do blindscan and if we have the binary available... I just get rid of the complete cable/teristical blindscan.... At the end we have channels here to scan which makes blindscan totally not required (unless of course they are using + and - channels on a network without network references etc...)


Edited by littlesat, 23 August 2023 - 08:00.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Cable scan executable utility not found '/usr/bin/tda1002x'! #5 WanWizard

  • PLi® Core member
  • 70,554 posts

+1,813
Excellent

Posted 23 August 2023 - 12:35

I've found it.

 

If you choose for "Manual Scan" instead of "Cable scan", and you select your DVB-C tuner, it will start the external binary.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Cable scan executable utility not found '/usr/bin/tda1002x'! #6 Callel

  • New Member
  • 3 posts

0
Neutral

Posted 25 August 2023 - 00:40

Hello!
 

Thank you very much for all your help!
You were right: it worked fine using the "Manual Scan"! When I tried that earlier, I must have messed up one of the settings, but now it worked like a charm! Thank you!

Best regards,
Carl

 

P.S. For anyone who's not so well-versed in these kind of settings but happen to stumble upon this thread somehow, I can mention that you should check with your provider what settings they use for "Network-ID", "Frequency", "Symbol rate", and "Modulation" - and be sure to enter these correctly.  :-)


Edited by Callel, 25 August 2023 - 00:43.


Re: Cable scan executable utility not found '/usr/bin/tda1002x'! #7 littlesat

  • PLi® Core member
  • 57,199 posts

+700
Excellent

Posted 25 August 2023 - 06:48

Should we consider to disable manual scan here?

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Cable scan executable utility not found '/usr/bin/tda1002x'! #8 Callel

  • New Member
  • 3 posts

0
Neutral

Posted 27 August 2023 - 09:36

Hello Littlesat!

I guess your question was not aimed at me, but I just wanted to say that, since the "Automatic scan" did not work for me, the only scan that woks is the "Manual scan". :-)
Also, when I saw the option for "Manual scan", I thought that it might imply searching for one TV channel at a time, but it worked more like an "Automatic scan", and I was very glad it was available.

 

Thanks again, and have a great day!



Re: Cable scan executable utility not found '/usr/bin/tda1002x'! #9 Pr2

  • PLi® Contributor
  • 6,182 posts

+261
Excellent

Posted 28 August 2023 - 08:45

Hello,

 

On all my DVB-C STB I always use the Cable Scan solution where you input the cable reference frequency and the network ID.

But in the past I also use the automatic and manual scan and they were all working, but I no longer use ET9x00 since years so I cannot test it anymore.

 

And at the time I was using the DVB-C USB adapter on the ET9x00 it was a Sundtek one and Sundtek was providing a very efficient support.

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Cable scan executable utility not found '/usr/bin/tda1002x'! #10 littlesat

  • PLi® Core member
  • 57,199 posts

+700
Excellent

Posted 28 August 2023 - 09:33

Actually it should work differently... when the tuner does not have the option and/or there is no binary for it you should not get the option. You only should get the option when the tuner actually supports cable blindscan... so the binary needs to be checked in forehand...

 

But it is working as is now... when it is not possible due to a missing binary blob... you get a warning...

 

NOTE: The whole blindscan stuff always used a binary blob for every tuner... and I hate this in open source stuff...  So this was always tricky...


Edited by littlesat, 28 August 2023 - 09:34.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Cable scan executable utility not found '/usr/bin/tda1002x'! #11 Pr2

  • PLi® Contributor
  • 6,182 posts

+261
Excellent

Posted 29 August 2023 - 14:29

Thanks for the clarification.


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Cable scan executable utility not found '/usr/bin/tda1002x'! #12 littlesat

  • PLi® Core member
  • 57,199 posts

+700
Excellent

Posted 29 August 2023 - 16:21

To make it right you should only have the functionality when the tuner supports it and the binary is there… some tuners are listed and maybe we should extend the list, add the binary (full path) to that table and use the table by check on tuner type… but we need a lot of boxes and usb tuners I do not have to test it. And beside this blandscan for cable/terristical does not have a big added value…. So we can also consider to totally remove it?

Edited by littlesat, 29 August 2023 - 16:24.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Cable scan executable utility not found '/usr/bin/tda1002x'! #13 sundtek

  • Senior Member
  • 170 posts

+8
Neutral

Posted 31 March 2024 - 06:56

Someone just asked about blindscan support for Sundtek Tuners, I haven't tested this for a long time with settopbox images, so if nothing changed within the last years it should still work as it is.

The blobs from the other vendors directly interfaced i2c in userspace back then we just emulated the same style with our mediaclient command, however we have extended the DVB API for supporting blindscan with our tuners.

 

Basically setting up the Blindscan request first and iterate through the band, the drivers and hardware do the magic in the background. While this is for DVB, we are even using similar approaches for FM and DAB Radio.

 

some pseudo code/snippets :

sundtek frontend.h
 
#define FE_SCAN_SETUP 95
struct dvb_scan_setup {
        uint32_t seekBWHz;
        /* this can be used to finetune DVB-T/T2 stepping frequency */
        uint32_t seekStepHz; /* <- this is unused at the moment */
        uint32_t minSRbps;
        uint32_t maxSRbps;
        uint32_t minRSSIdBm;
        uint32_t maxRSSIdBm;
        uint32_t minSNRHalfdB;
        uint32_t maxSNRHalfdB;
        uint32_t rangeMin;
        uint32_t rangeMax;
        uint32_t bandwidth;
        uint8_t countrycode_set;
        uint8_t countrycode[2];
        uint8_t default_setup; /* use default setup stored in the driver,
                                  overwrite all other values */
} __attribute__((packed));
 
#define FE_SCAN_NEXT_FREQUENCY 96
struct dvb_scan_parameters {
        uint32_t frequency;
        uint32_t symbol_rate_bps;
        uint32_t bandwidth_Hz;
        uint16_t dvb_t2_num_plp;
        uint32_t modulation;
        uint16_t stream;
        uint32_t delivery_system;
 
        uint32_t timeout;
        uint8_t status; /* do not clear the lock status when running
                           the scan loop, you're allowed to clear the struct
                           before running SCAN_NEXT_FREQUENCY the first time */
#define FE_SCAN_LOCKED    1
#define FE_SCAN_SEARCHING 2
#define FE_SCAN_ERROR     4
#define FE_SCAN_COMPLETE  8
} __attribute__((packed));
 
 
----
 
                struct dvb_scan_setup sp;
                memset(&sp, 0x0, sizeof(struct dvb_scan_setup));
                sp.minSRbps = 6800000;
                sp.maxSRbps = 7000000;
                sp.rangeMin = 114000000;
                sp.rangeMax = 874000000;
                rv = net_ioctl(fd, FE_SCAN_SETUP, &sp);
----

                struct dvb_scan_parameters scan_params;
                net_ioctl(fd, FE_SCAN_NEXT_FREQUENCY, &scan_params);
                while(1) {
                      net_ioctl(fd, FE_SCAN_NEXT_FREQUENCY, &scan_params);
                      switch(scan_params.status) {
                      case FE_SCAN_LOCKED:
                           .... take parameters from scan_params.
                      case FE_SCAN_SEARCHING:
                           .... still searching
                      case FE_SCAN_COMPLETE:
                           .... entire band scanned
                           .... end loop
                      case FE_SCAN_ERROR: 
                           ... error handling
                      }
             }





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users