Posts by Softlander

    Hello,

    I have created a similar thread on kodi forum and still waiting for a reply, and I really don't know the cause of the issue so I just want to know if it is a kodi, libreelec, or hardware problem.

    So the issue I'm encountring on a fresh installation of LibreELEC 10.0.2 on RPi 3B is that after installing "Arctic Zephyr | Reloaded" skin from the Kodi repo I have noticed a flickering of movie trailers played from youtube when you stop on a movie poster in the widget, Here is a video example:

    Kodi Example on Trailer Problem
    An Example on Trailer Problem on Kodi
    youtu.be

    I also have the LOG here after enabling debugging and re-creating the issue again. http://ix.io/44Wi

    When the problem happens trying to play the trailer of "The Iron Giant" as an example -The source of the trailer is youtube-, sometimes it only plays sound sometimes it is video with sound but with constant flickering as you can see above. Every thing is OK once I switch to full screen trailer.

    Here is my player settings:

    The problem also happens when you for example preview a channle on live tv in the channel list before switching to it with full screen, I mean when it is in a small window on the left. It is also worthy to mention that I have tried "Titan BINGIE MOD" skin and the same problem happens. Unfortunately I don't know how to test this on Estuary because I think this feature is not available.

    I have tried different LEDs with Different cables as well to try to eliminate this part of the hardware as the source of the problem.


    There is also some sluggish play or stuttering when playing any video file when you bring the OSD on the screen while the file is playing (like slowing down then play quickly)

    The "Arctic Zephyr | Reloaded" skin maintainer told me in kodi forum that it is probably a Kodi/OS/Hardware issue since it happens with other skins as well. I have seen videos on youtube for people playing auto trailers without any problems but no one specified their hardware. I just need to know if there is any way to fix this on RP3.

    Thanks in advance


    Regards

    Which LE version are you using`? If you are still on LE9.x simply run "ir-keytable -D 1000".

    so long,

    Hias

    Thank you very much. Indeed I'm still using 9.2.8 because this is the latest for RP3. ir-keytable worked. but it did not solve the problem and I give up now. Thank you very much for your help.

    I was wondering in case it worked how would you make that change persistent? because every time you reboot the original values for D and P is modified again.

    Thanks again for your time

    Best Regards

    Code
    LibreELEC:~ # evrepeat -d 1000 /dev/input/event0
    Repeat delay = 500 ms, repeat period = 125 ms
    Changed repeat delay to 1000 ms and repeat period to 125 ms

    Thank you very much for your reply. But this is what I get when trying to apply evrepeat:

    Do I need to install something before trying to use evrepeat?

    Regards

    Thank you CvH for your reply. It's more about the desire to learn what has been done and not to waste a piece of hardware that is laying around...that's it. I know that using a USB remote will be much better but it was the desire to learn something. I know this is not a forum to teach Linux but what really made me post this again is what I have told you above. I like to learn how to tune things to my preferences. One more thing to mention is that the remote works without any problem under windows using TTviewer as there is an option in the software to set "Antirepeat to 125ms", and that what made me believe that it should be achievable in libreelec that's why I was trying to tune it. But again I don't have the required coding skills.

    I'm willing to learn. It will be a very nice experiment. I would really appreciate if someone tells me where to start.

    Thanks to you all

    Hello everyone,

    Sory to bump this issue again after 3 years but what happened at that time was the driver for my technotrend tt-4600 having alot of problems and I was not able to use it proparly and one of them was the autorepeat of the IR remote control as you can see in this thread, so I ended up all plans and projects for a media center at that time.

    I decided to give it a try again now since I have found that the driver is working without any problems once crazycat drivers are activated. I would like to use the IR remote supplied with the tuner.

    I know you have advised me to get an MCE USB remote control that will work OOTB but it seems that it is not available for online orders anymore and even if you find it, it will not be practical to buy it (under its current price) with international shipping cost in addition compared to the price of the raspberry pi for example.

    So HiassofT solved in that thread most of the problem and he was nice enough to build an image and uploade it in the thread and explained what he did. Is there any way for some one like me without any skills in linux to repeat that again or at least find a way to learn what he did so I could do it myself (the kernel patch)?.

    The idea is that I don't want to be a burden every time in fixing these issues and I would like to learn.

    Best Regards

    To answer your question: YES, I am able to watch Satellite Channels using my technotrend 4600 attached to my raspberry PI but only using the image provided here in this thread thanks again to CvH and crazycat .

    If I were you I would keep your statement in the wiki for now as the sellers are not providing a working drivers for their products that use the new chip until now!! which is a huge shame on them. I still regret buying the technotrend 4600 :@.

    And for loading the driver issue. The log does not change. Even after I start tvheadend and start watching channels. It stays like this.

    Thanks a lot for your help. Unfortunately I don't have much knowledge in Linux and every thing I learned was from troubleshooting the tt-4600 every once in a while since the moment I bought it and I know it is nothing but a single drop in the sea of Linux. Terms like "poll interval", "upstream", and "libreelec tree" look difficult to understand for me^^ but any way, If I have a working driver on some Img, will I be able to apply your patch to it?

    Another question If you may since this is your area of experience, what do you recommend as a good remote control to be used in KODI environment that is not too expensive or too cheap?

    Thanks a gain for your help

    Can you check if this build fixes the IR repeat issues?

    libreelec-rpi2.arm-9.0-devel-20181020140428-bd467bb.tar

    Yes it does^^. The autorepeat issue has been fixed, not 100% though I still encounter it like every 20 presses but it is much much better now. The remote is a little bit sluggish but I can live with that, I would love to know what have you done so I can tune it to my preferences. But it is 100% usable.

    It is worth to mention that it does still generate 2 scancodes for every press but somehow it is handled nicely this time.

    On the other hand the driver of the tuner crashes with standard kernel or crazycat drivers :(. I used this Img for RP3 before to get it to work

    Index of /test/ds3103b/

    here is a dmesg|paste with standard kernel activated

    http://ix.io/1pdd

    And this is with crazycat Drivers activated

    http://ix.io/1pde

    and the ir-keytable looks like this in both cases

    Code
    LibreELEC:~ # ir-keytable
    Found /sys/class/rc/rc0/ (/dev/input/event1) with:
            Name: TechnoTrend TT-connect S2-4600
            Driver: dw2102, table: rc-tt-1500
            lirc device: /dev/lirc0
            Supported protocols: rc-5
            Enabled protocols: rc-5
            bus: 3, vendor/product: 0b48:3011, version: 0x0000
            Repeat delay = 500 ms, repeat period = 125 ms

    I almost forgot to mention that also ir-ctl -t 150000 returns the same thing as above in previous post.

    Can you please post a link to your full dmesg dmesg | paste and the output of ir-keytable

    here is dmesg|paste and ir-keytable while crazycat drivers are activated -which I'm actually using now-

    http://ix.io/1pba

    Code
    libreelec:~ # ir-keytable
    Found /sys/class/rc/rc0/ (/dev/input/event1) with:
            Name: TechnoTrend TT-connect S2-4600
            Driver: dw2102, table: rc-tt-1500
            lirc device: /dev/lirc0
            Supported protocols: rc-5
            Enabled protocols: rc-5
            bus: 3, vendor/product: 0b48:3011, version: 0x0000
            Repeat delay = 500 ms, repeat period = 125 ms

    If I disable crazycat drivers and use the standard kernel the tuner will not work and the remote control is working but with the same problem

    http://ix.io/1pbb

    Code
    libreelec:~ # ir-keytable
    Found /sys/class/rc/rc0/ (/dev/input/event1) with:
            Name: TechnoTrend TT-connect S2-4600
            Driver: dw2102, table: rc-tt-1500
            lirc device: /dev/lirc0
            Supported protocols: rc-5
            Enabled protocols: rc-5
            bus: 3, vendor/product: 0b48:3011, version: 0x0000
            Repeat delay = 500 ms, repeat period = 125 ms

    You should be able to work around this by increasing the IR receive timeout with eg ir-ctl -t 200000 - you can play a bit with the value, 150000 should probably work as well and give a bit better response or you can go up a bit, eg to 250000. Just test what works best for you.

    That command did't work, here is what I've got:

    Code
    libreelec:~ # ir-ctl -t 150000
    /dev/lirc0: device does not support setting timeout

    The more problematic thing is that the signals seem to arrive at about 250ms interval instead of 110ms which is the standard for the rc-5 protocol.

    looks like this if you take a look at dmesg|paste http://ix.io/1pbt here you will see:

    Code
    [    7.374977] Registered IR keymap rc-tt-1500
    [    7.375166] rc rc0: TechnoTrend TT-connect S2-4600 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/rc/rc0
    [    7.375317] input: TechnoTrend TT-connect S2-4600 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/rc/rc0/input1
    [    7.376498] rc rc0: lirc_dev: driver dw2102 registered at minor = 0, scancode receiver, no transmitter
    [    7.376509] dvb-usb: schedule remote query interval to 250 msecs.
    [    7.376522] dw2102: su3000_power_ctrl: 0, initialized 1
    [    7.376526] dvb-usb: TechnoTrend TT-connect S2-4600 successfully initialized and connected.

    Can you post the ir-keytable -t output of a ~1second button press?

    so long,

    Hias

    This is while pressing Right key for a second

    Code
    libreelec:~ # ir-keytable -t
    Testing events. Please, press CTRL-C to abort.
    558.343470: lirc protocol(rc5): scancode = 0xd50
    558.621547: lirc protocol(rc5): scancode = 0xd50
    558.876888: lirc protocol(rc5): scancode = 0xd50
    559.162419: lirc protocol(rc5): scancode = 0xd50

    Another example, This is while pressing 1 key for a second

    Code
    libreelec:~ # ir-keytable -t
    Testing events. Please, press CTRL-C to abort.
    1119.463409: lirc protocol(rc5): scancode = 0x543
    1119.730132: lirc protocol(rc5): scancode = 0x543
    1119.996816: lirc protocol(rc5): scancode = 0x543
    1120.263477: lirc protocol(rc5): scancode = 0x543

    If I press really quick like what you usually do when browsing through kodi it will generate different scancodes for the same key. And sometimes it will generate 1 scancode and sometimes 2 successive scancodes (the autorepeat I'm talking about), like this for example when pressing 1 key quickly for 2 times (the 1st line for the first press and the 2nd,3rd lines for the second press)

    Code
    libreelec:~ # ir-keytable -t
    Testing events. Please, press CTRL-C to abort.
    1266.450049: lirc protocol(rc5): scancode = 0x543
    1268.050020: lirc protocol(rc5): scancode = 0xd43
    1268.316830: lirc protocol(rc5): scancode = 0xd43

    We've done a second revision of the tuner using another USB Chipset which is easier to handle (in terms of manufacturing) for us, the tuners will be assembled next week.

    PCBs should arrive any day now in our company, the components are ready - we assemble the units by ourself.

    The english product description is not up-to-date yet, the previous tuner revision is discontinued for some time already (no old tuners will be shipped anymore).

    - SkyTV 8 supports DVB-S/S2/S2X

    - Infrared Support via Interrupt transfers and/or polling

    Wow Sundtek is here. Very nice. Every body recommends your tuners, I'm looking forward to try the last version when its ready.

    Hello,

    So as the Title says and after being able to use my tt-4600 with libreelec -thanks again to CvH and crazycat -, I have been trying to configure the remote control that came with the tuner to work and I have read the wiki carefully and found that there is no working keytable file that is ready to be used so I had to jump to "the hard way" part of that tutorial and when I have reached to the part where I have to relate every scancode to its Linux keycode I have used a keytable wrote by mglae and double checked it using ir-keytable -t after stopping both kodi and eventlircd. this remote also uses only rc-5 type protocol.

    It has only one issue and that is the "Autorepeat", I have tried to disable for example 0xd43 for KEY_1 and leave only 0x543 active as they are both scancodes for key number 1 but it didn't work. I don't know why the same key has 2 different scancodes!!

    I still for example scroll more than one line on TV channel list when I have only pressed the "Down" key one time only. Is there a solution for this?

    here is the keytable I used http://ix.io/1p4g

    I've created a keymap for the S2-4600 about two years ago, but not used it (and never tested with LE9). Use ir-keytable -c -w <file> to load.

    There are some issues: all keys are using two different key codes (handled by the keymap) and there is a fast autorepeat than cannot be configured.

    thanks a lot mglae you have saved me a huge time writing that keytable file and it works with the IMG that is used in this thread. I have read the wiki carefully and found that there is no working keytable file that is ready to be used so I had to jump to "the hard way" part of that tutorial and when I have reached to the part where I have to relate every scancode to its Linux keycode I knew the amount of job you have done to write the keytable.


    Anyway, yes it has only one issue and that is the "Autorepeat", I have tried to disable for example 0xd43 for KEY_1 and leave only 0x543 active as they are both scancodes for key number 1 but it didn't work. I still for example scroll more than one line on TV channel list when I have only pressed the "Down" key one time only. I think I will start a new thread asking about this issue.