Posts by HiassofT

    Actully better to bui air mouse remote, looking how does it work after drop old remote.conf it's not worth, at least for me, not enough patience to use ir remote now. No matter what I do or configure, unable to fire fast events by continous fast key press, it's very frustrating especially when I need to scrool down 100 channels in pvr mode. I would advice to return back to remote.conf until this issue is resolved but I know this is not gonna happen.

    If you want precise control then use an IR remote using the rc6 protocol (eg Microsoft MCE remote) or the rc5 protocol (eg Philips or Hauppauge remotes).

    IR remotes using the NEC protocol (eg most of the cheap remotes from Asia) won't work as precise as the former ones as there's no toggle bit in the protocol.

    You can work around to some extend by reducing the IR timeout (ir-ctl -t ...) but in the end you got what you paid for :)

    so long,

    Hias

    Just tested and it's working fine here in Austria on RPi3B+, LE 8.95.002, Netflix addon v0.13.21, inputstream.adaptive v2.3.12.0.

    IIRC I usually needed to restart kodi (or reboot LE) after widevine updates, otherwise I'd get the spinning circle and was then dropped back to the list after a couple of seconds. So doing a reboot after widevine installation or update won't hurt.

    so long,

    Hias

    This is a line I was already searching for a long time ago and eventually figured it out myself. This should be put somewhere in the LibreElec remote wiki. It would have spared me a lot of time figuring everything out.

    To be honest, as well the kodi wiki as the libreElec wiki are a little bit confusing about this matter.

    I just added a paragraph to the Introduction section of the IR wiki page, with links to the relevant kodi wiki pages. Hope this makes things clearer now.

    so long,

    Hias

    I am still confused with that. In general, no lags but if (for example) I keep pressing Down button very quickly, 1 of 3 events are lost.

    This is caused by a combination of using remotes with the NEC protocol (which doesn't have a flag if it's a new button press) in combination with the old 3.14 kernel (which is missing the IR optimizations found in current linux kernels).

    You can get better remote response by running

    Code
    ir-ctl -t 30000

    Just add it to autostart.sh (you can test with lower values, down to 10000-20000 as well)

    so long,

    Hias

    Best stick to the kodi button names in the devinput section of Lircmap.xml and use the keycodes that are mapped to kodi buttons (eg KEY_INFO, KEY_MENU, KEY_FORWARD, KEY_REWIND, ...).

    A full list of kodi button names is in the IRTranslator source file irtranslator.cpp#l164-l229

    As explained in the Kodi wiki LIRC - Official Kodi Wiki remote button mapping is a two-step process. First Lircmap.xml maps a KEY_xxx code to a kodi button name and then you assign actions to kodi buttons in remote.xml

    so long,

    Hias

    What kind of remote are you using and did you create the IR keymap file by yourself?

    If you create an IR keymap it's best to stick to the keycodes that are usually found on remotes (see eg the rc6_mce keymap of the Microsoft MCE remote) as these will work out-of-the-box in kodi. More details are in the wiki Infrared Remotes [LibreELEC.wiki]

    If you are using an RF remote it's not using the ir-keytable configuration discussed in this thread - in this case please open a separate thread.

    so long,

    Hias

    Thanks a lot for testing!

    It'd be best to contact Matt Flax (who created the card and wrote the driver) and tell him that the driver doesn't work on kernel 4.19. He can then submit the required changes to the RPi kernel where we will pick them up.

    Opening an issue on RPi kernel github would be another possibility, but as probably only Matt has the hardware and knows what to change contacting him directly would probably be easier/quicker.

    so long,

    Hias

    Could you check if the card works in Raspbian with kernel 4.19?

    First install Raspbian Stretch and add the soundcard config, the card should be detected.

    Then run the following command to switch to kernel 4.19

    Code
    sudo BRANCH=next rpi-update

    Then reboot and check if the card is still detected.

    The LibreELEC kernel config looks fine (all drivers should be there) but IIRC the Audioinjector Octo driver was dropped for some time in kernel 4.19 because it didn't compile - maybe the driver isn't fully working yet in kernel 4.19.

    so long,

    Hias

    In general I2S soundcards should work fine, but I'm not familiar with the audioinjector octo card.

    Can you please post the full dmesg and vcdbg log msg output?

    Code
    vcdbg log msg 2>&1 | paste
    dmesg | paste

    You seem to have dtparam=audio=on in config.txt, drop that, it's not needed. Also not sure why you have spi=on and i2c_arm=on in config.txt- the devicetree overlay should enable all components so in general it's enough to add the dtoverlay line.

    so long,

    Hias

    Thanks for testing and the feedback!

    Quite certainly the chinese manufacturer choose some odd audio setup/configuration that isn't supported in Linux. So using a USB soundcard is probably the easiest option.

    Some time ago I bought a cheap PCM2704 based USB audio adapter on ebay (approx. 5 EUR shipped from china), which works out of the box in Linux and Kodi. Build quality is about what you'd expect for the price but it has both analog and digital (coax and toslink) outputs and does it's job.

    so long,

    Hias

    I still suspect it's an audio driver or firmware issue.

    Kodi should be fine, it's the same 18.0rc3 version as in the current LE beta and except for a bunch of errors because the baytrail audio device doesn't support surround the kodi log looks fine (at least for opening the audio device).

    One difference between kodi and speaker-test though is that kodi outputs audio in 24bit format whereas speaker-test uses 16bit.

    An interesting test would be playing a 24bit 48kHz stereo WAV file with aplay. If there's a driver / firmware bug it should give the same (or similar) distortions as kodi.

    Can you also test the ssp0 and windows driver firmware files and the amixer settings as I outlined before?

    so long,

    Hias

    I'm using berryboot

    Don't do that, berryboot is causing exactly the issues you are seeing by swapping out LibreELEC's linux kernel with it's own - which is probably missing the driver or some patches.

    LibreELEC 8.2.5 and current LibreELEC 9.0 alpha releases support the DVB dongle out of the box on RPi, without needing to enable any DVB drivers or other stuff.

    Just install LibreELEC directly to an SD card, without using berryboot, or use NOOBS/PINN if you want to have a multi-boot setup.

    so long,

    Hias

    Kodi supports an EjectTray() function, see List of built-in functions - Official Kodi Wiki which is mapped for (infrared) remotes, but not for keyboards.

    The easiest solution is to manually create a .kodi/userdata/keymaps/keyboard.xml file with the appropriate config. eg something like this:to eject the tray when you press e

    Code
    <keymap>
      <global>
        <keyboard>
          <e>EjectTray()</e>
        </keyboard>
      </global>
    </keymap>

    Instead of <e>EjectTray()</e> you can also specify keycodes via eg <key id="123">EjectTray()</key> - see the kodi keymap wiki page for details Keymap - Official Kodi Wiki

    so long,

    Hias