Raspberry Pi 2 model B - LibreELEC

Hardware info on main page.

  • LibreELEC version: 8.0.0
  • KODI version: 17
  • plugin: tvheadend HTSP Client 3.4.18.1
  • plugin: Script - Network Tools 8.1.100

Links

KODI, LibreELEC, Use The ATI Remote Wonder with OpenELEC and Kodi,

local links

digital TV - DVB,

History

2021-09-06: I re-created this page on my self-hosted web server.

2019-03-27: installed Retrospect plugin from a zip file.

2019-03-27: LibreELEC - upgraded to version 8.2.5 from within LibreELEC. This is Kodi 17.6. Hmm, it doesn't look like LibreELEC 8.2.5 wants to play videos or nrk.no streams, or anything. Ok, a reboot fixed that.

2017-12-06: this evening KODI wasn't responding to input, even if everything looked all right from the OS (LibreELEC). I tried plugging out and in the receiver for the keyboard, but it didn't help (in dmesg I could see that both events were recognized). So I just rebooted the Pi, now all is back to normal.

2017-08-12: LibreELEC - install Tvheadend HTSP Client (PVR addons), Network Tools. Configured tvh HTSP Client, PVR works now. Videos - create a place to mount to

LibreELEC:~ # mkdir -p /storage/videos/quiet

and do the mount

LibreELEC:~ # /storage/.kodi/addons/virtual.network-tools/bin/sshfs tingo@quiet:/d2/media/video/other/ /storage/videos/quiet/
The authenticity of host 'quiet (10.1.150.8)' can't be established.
ECDSA key fingerprint is SHA256:nbEZ3HbfI1H5CD4uKwbuyScZn/HJz+qDtYv65G4GElE.
Are you sure you want to continue connecting (yes/no)? yes
Password for tingo@kg-quiet.kg4.no:

verify that it shows up

LibreELEC:~ # df -h
Filesystem                Size      Used Available Use% Mounted on
devtmpfs                362.3M         0    362.3M   0% /dev
/dev/mmcblk0p1          511.7M    142.1M    369.6M  28% /flash
/dev/mmcblk0p2            6.7G     24.2M      6.7G   0% /storage
/dev/loop0              131.4M    131.4M         0 100% /
tmpfs                   367.8M         0    367.8M   0% /dev/shm
tmpfs                   367.8M      6.4M    361.4M   2% /run
tmpfs                   367.8M         0    367.8M   0% /sys/fs/cgroup
tmpfs                   367.8M    240.0K    367.6M   0% /var
tmpfs                   367.8M         0    367.8M   0% /tmp
tingo@quiet:/d2/media/video/other/
                         21.1T     18.2T      1.3T  94% /storage/videos/quiet

looks good.

2017-08-12: Pi2 now boot LibreELEC 8.0.2

[tingo@localhost ~]$ ssg root@10.1.161.40
Warning: Permanently added '10.1.161.40' (ECDSA) to the list of known hosts.
root@10.1.161.40's password: 
##############################################
#                 LibreELEC                  #
#            http://libreelec.tv             #
##############################################

LibreELEC (official) Version: 8.0.2
LibreELEC:~ # 

of course, now I have to set up everything again.

2017-08-12: I used Etcher (from etcher.io) on my Fedora laptop to write LibreELEC 8.0.2 to a new 8 GB microSD card. afterwards the card looks like this:

[tingo@localhost ~]$ ll /dev/mmc*
brw-rw----. 1 root disk 179, 0 Aug 12 21:57 /dev/mmcblk0
brw-rw----. 1 root disk 179, 1 Aug 12 21:57 /dev/mmcblk0p1
brw-rw----. 1 root disk 179, 2 Aug 12 21:57 /dev/mmcblk0p2

disktype says

[tingo@localhost ~]$ sudo disktype /dev/mmcblk0

--- /dev/mmcblk0
Block device, size 7.422 GiB (7969177600 bytes)
DOS/MBR partition map
Partition 1: 512.0 MiB (536871424 bytes, 1048577 sectors from 2048, bootable)
  Type 0x0C (Win95 FAT32 (LBA))
  FAT16 file system (hints score 5 of 5)
    Volume size 511.7 MiB (536584192 bytes, 65501 clusters of 8 KiB)
    Volume name "LIBREELEC"
Partition 2: 32.00 MiB (33554944 bytes, 65537 sectors from 1052672)
  Type 0x83 (Linux)
  Ext3 file system
    UUID 2DAABA59-3915-499A-98B9-D1427640C143 (DCE, v4)
    Volume size 32 MiB (33554432 bytes, 32768 blocks of 1 KiB)

ok.

2017-08-12: today the Pi2 didn't respond at all, neither to pings or via the keyboard. A power off / power on didn't work either. I took out the microSD card; I can't read it neither in my Fedora laptop, or my FreeBSD workstation. Perhaps it is worn out? From Fedora

[tingo@localhost ~]$ uname -a
Linux localhost.localdomain 4.11.8-200.fc25.x86_64 #1 SMP Thu Jun 29 16:13:56 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

from /var/log/messages

Aug 12 21:30:41 localhost kernel: mmc0: card never left busy state
Aug 12 21:30:41 localhost kernel: mmc0: error -110 whilst initialising SD card
Aug 12 21:30:43 localhost kernel: mmc0: card never left busy state
Aug 12 21:30:43 localhost kernel: mmc0: error -110 whilst initialising SD card
Aug 12 21:30:45 localhost kernel: mmc0: card never left busy state
Aug 12 21:30:45 localhost kernel: mmc0: error -110 whilst initialising SD card

ok.

2017-02-26: set up aliases.

LibreELEC:~ # cat ~/.profile
export ENV=$HOME/.shrc
LibreELEC:~ # cat ~/.shrc
alias l='ls -aF'
alias ll='ls -laF'
alias tvlm='echo "systemd: use journalctl to view logs."'

ok.

2017-02-25: add-on I installed Network Tools (Script - Network Tools) 8.1.100. Set up a folder for my videos

LibreELEC:~ # mkdir /storage/videos/quiet

and use sshfs from network tools

LibreELEC:~ # /storage/.kodi/addons/virtual.network-tools/bin/sshfs tingo@quiet:/d2/media/video/other/ /storage/videos/quiet/
The authenticity of host 'quiet (10.1.150.8)' can't be established.
ECDSA key fingerprint is SHA256:nbEZ3HbfI1H5CD4uKwbuyScZn/HJz+qDtYv65G4GElE.
Are you sure you want to continue connecting (yes/no)? yes
Password for tingo@kg-quiet.kg4.no:
LibreELEC:~ # 

and

LibreELEC:~ # df -h
Filesystem                Size      Used Available Use% Mounted on
devtmpfs                362.3M         0    362.3M   0% /dev
/dev/mmcblk0p1          511.7M    138.3M    373.4M  27% /flash
/dev/mmcblk0p2            6.7G     22.1M      6.7G   0% /storage
/dev/loop0              127.9M    127.9M         0 100% /
tmpfs                   367.8M         0    367.8M   0% /dev/shm
tmpfs                   367.8M      5.4M    362.4M   1% /run
tmpfs                   367.8M         0    367.8M   0% /sys/fs/cgroup
tmpfs                   367.8M    240.0K    367.6M   0% /var
tmpfs                   367.8M         0    367.8M   0% /tmp
tingo@quiet:/d2/media/video/other/
                         21.1T     18.5T   1008.0G  95% /storage/videos/quiet

yes.

2017-02-25: inserted the card in the RPi2, powered on, boot, resize, reboot, configure LibeELEC and KODI, install tvheadend add-on (HTSP client), configure, and it is working. Nice!

[tingo@localhost ~]$ ssg root@10.1.161.40
Warning: Permanently added '10.1.161.40' (ECDSA) to the list of known hosts.
root@10.1.161.40's password: 
####################################################
#                 LibreELEC                  #
#            http://libreelec.tv             #
##############################################

LibreELEC (official) Version: 8.0.0
LibreELEC:~ # 

nice.

2017-02-25: I downloaded LibreELEC 8.0.0 (which contains KODI 17) and used my Fedora laptop to write it to a 8 GB Kingston microSD card.

2017-01-21: Ok, I fixed the freeze problem by quickly pressing the "cancel" button on the "PVR Manager starting" dialog, that helped. now Kodi works again. Good.

2017-01-21: the kodi log file /storage/.kodi/temp/kodi.log ends with:

22:34:15 2001.735474 T:1962491904  NOTICE: Found (1360x768@60.000000) at 30, setting to RES_DESKTOP at 16
22:34:15 2001.735596 T:1962491904  NOTICE: Checking resolution 16
22:34:15 2001.867432 T:1962491904  NOTICE: GL_VENDOR = Broadcom
22:34:15 2001.867676 T:1962491904  NOTICE: GL_RENDERER = VideoCore IV HW
22:34:15 2001.867676 T:1962491904  NOTICE: GL_VERSION = OpenGL ES 2.0
22:34:15 2001.867798 T:1962491904  NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.00
22:34:15 2001.867920 T:1962491904  NOTICE: GL_EXTENSIONS = GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture 
GL_OES_texture_npot GL_OES_depth24 GL_OES_vertex_half_float GL_OES_EGL_image GL_OES_EGL_image_external GL_EXT_discard_framebuffer 
GL_OES_rgb8_rgba8 GL_OES_depth32 GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888 GL_APPLE_rgb_422 GL_EXT_debug_marker
22:34:16 2002.915894 T:1962491904  NOTICE: Register - new cec device registered on cec->RPI: CEC Adapter (2708:1001)
22:34:16 2003.129761 T:1962491904  NOTICE: Running database version Addons20
22:34:16 2003.132568 T:1962491904  NOTICE: Running database version ViewModes6
22:34:16 2003.135620 T:1962491904  NOTICE: Running database version Textures13
22:34:17 2003.144531 T:1962491904  NOTICE: Running database version MyMusic56
22:34:17 2003.159424 T:1962491904  NOTICE: Running database version MyVideos99
22:34:17 2003.163330 T:1962491904  NOTICE: Running database version TV29
22:34:17 2003.170654 T:1962491904  NOTICE: Running database version Epg11
22:34:17 2003.175659 T:1962491904  NOTICE: start dvd mediatype detection
22:34:18 2004.154175 T:1962491904 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
22:34:18 2004.307617 T:1788867488  NOTICE: PVRManager - starting up
22:34:18 2004.313232 T:1962491904  NOTICE: ActiveAE DSP - starting
22:34:18 2004.330078 T:1962491904  NOTICE: initialize done
22:34:18 2004.330322 T:1962491904  NOTICE: Running the application...
22:34:18 2004.722778 T:1962491904  NOTICE: starting zeroconf publishing
22:34:18 2004.724121 T:1962491904  NOTICE: WebServer: Started the webserver
22:34:18 2004.724365 T:1962491904  NOTICE: starting upnp client
22:34:18 2004.729004 T:1656746912  NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
22:34:18 2004.729248 T:1656746912  NOTICE: UDP: Listening on port 9777
22:34:19 2005.424561 T:1763701664  NOTICE: ## LibreELEC Addon ## 0.7.5
22:34:19 2005.447998 T:1763701664 WARNING: CSkinInfo: failed to load skin settings
22:34:19 2005.633423 T:1805644704  NOTICE: script.grab.fanart: Grab Fanart Service Started

ok.

2017-01-21: unfortunately, it seems that Kodi locks up while / after imprting guide data from tvheadend. Bummer. Let me see which kodi services we have

LibreELEC:~ # systemctl list-units kodi* | more
UNIT                   LOAD   ACTIVE SUB     DESCRIPTION
kodi-cleanlogs.service loaded active exited  Kodi clean debug logs
kodi.service           loaded active running Kodi Media Center
kodi.target            loaded active active  Kodi Mediacenter Interface

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

3 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

(the pipe through more is necessary to avoid less catching the output. Whoever configured this environment / way of working didn't do it to my liking). I can stop kodi

# systemctl stop kodi

and start it

# systemctl start kodi

both works, but kodi hangs while starting up. crap.

2017-01-21: From the System, LibreELEC menu, under Updates, I select "Check for updates now", which show version 7.0.3 available. I select "Yes" to update now. It downloads the tar file and start the update process. Reboot, extract tar archive, updating, cleanup and reboot again. Now I have version 7.0.3:

[tingo@localhost ~]$ ssh root@10.1.161.40
root@10.1.161.40's password: 
##############################################
#                 LibreELEC                  #
#            http://libreelec.tv             #
##############################################

LibreELEC (official) Version: 7.0.3
LibreELEC:~ # 

cool. Kernel

LibreELEC:~ # uname -a
Linux LibreELEC 4.4.13 #1 SMP Sat Nov 26 09:36:16 GMT 2016 armv7l GNU/Linux

ok.

2016-10-30: connect to the LibreELEC box again and set up my video share:

[tingo@localhost ~]$ ssh root@10.1.161.40
root@10.1.161.40's password: 
##############################################
#                 LibreELEC                  #
#            http://libreelec.tv             #
##############################################

LibreELEC (official) Version: 7.0.2
LibreELEC:~ # 
connect share:
LibreELEC:~ # /storage/.kodi/addons/virtual.network-tools/bin/sshfs tingo@quiet:/d2/media/video/other/ /storage/videos/quiet/
read: Connection reset by peer
LibreELEC:~ # /storage/.kodi/addons/virtual.network-tools/bin/sshfs tingo@quiet:/d2/media/video/other/ /storage/videos/quiet/
read: Connection reset by peer

Hmm, why?

LibreELEC:~ # ssh tingo@quiet
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:nbEZ3HbfI1H5CD4uKwbuyScZn/HJz+qDtYv65G4GElE.
Please contact your system administrator.
Add correct host key in /storage/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /storage/.ssh/known_hosts:2
ECDSA host key for quiet has changed and you have requested strict checking.
Host key verification failed.

aha, I changed the key when I upgraded the machine. Oh well, fix it. Retry share connect

LibreELEC:~ # /storage/.kodi/addons/virtual.network-tools/bin/sshfs tingo@quiet:/d2/media/video/other/ /storage/videos/quiet/
Warning: the ECDSA host key for 'quiet' differs from the key for the IP address '10.1.150.8'
Offending key for IP in /storage/.ssh/known_hosts:1
Matching host key in /storage/.ssh/known_hosts:2
Are you sure you want to continue connecting (yes/no)? yes
Password for tingo@kg-quiet.kg4.no:

ok. What does it look like?

LibreELEC:~ # df -h
Filesystem                Size      Used Available Use% Mounted on
devtmpfs                363.4M         0    363.4M   0% /dev
/dev/mmcblk0p1          511.7M    127.8M    384.0M  25% /flash
/dev/mmcblk0p2            6.7G    193.7M      6.5G   3% /storage
/dev/loop0              117.9M    117.9M         0 100% /
tmpfs                   368.5M         0    368.5M   0% /dev/shm
tmpfs                   368.5M      6.3M    362.2M   2% /run
tmpfs                   368.5M         0    368.5M   0% /sys/fs/cgroup
tmpfs                   368.5M    352.0K    368.1M   0% /var
tmpfs                   368.5M         0    368.5M   0% /tmp
tingo@quiet:/d2/media/video/other/
                         21.1T     14.9T      4.5T  77% /storage/videos/quiet

nice.

2016-10-01: kodi - I installed network tools addon and now I have sshfs:

LibreELEC:~ # mkdir -p /storage/videos/quiet
LibreELEC:~ # /storage/.kodi/addons/virtual.network-tools/bin/sshfs tingo@quiet:/d2/media/video/other/ /storage/videos/quiet/
Password:

does it show up?

LibreELEC:~ # df -h
Filesystem                Size      Used Available Use% Mounted on
devtmpfs                363.4M         0    363.4M   0% /dev
/dev/mmcblk0p1          511.7M    127.8M    384.0M  25% /flash
/dev/mmcblk0p2            6.7G    184.5M      6.5G   3% /storage
/dev/loop0              117.9M    117.9M         0 100% /
tmpfs                   368.5M         0    368.5M   0% /dev/shm
tmpfs                   368.5M      6.3M    362.1M   2% /run
tmpfs                   368.5M         0    368.5M   0% /sys/fs/cgroup
tmpfs                   368.5M         0    368.5M   0% /tmp
tmpfs                   368.5M    356.0K    368.1M   0% /var
tingo@quiet:/d2/media/video/other/
                         21.1T     15.0T      4.5T  77% /storage/videos/quiet

indeed. And playing videos works too. Very nice.

2016-09-23: keyboard - I plugged the RF receiver for the Plexgear Mediatrack Go keyboard in a usb port on the Pi2 and powered on the keyboard (which uses 2 x AAA batteries). Info from dmesg :

[11396.677903] usb 1-1.2: new full-speed USB device number 9 using dwc_otg
[11396.777134] usb 1-1.2: New USB device found, idVendor=062a, idProduct=4105
[11396.777168] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[11396.777183] usb 1-1.2: Product: 2.4G Keyboard Mouse
[11396.777198] usb 1-1.2: Manufacturer: MOSART Semi.
[11396.789005] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:062A:4105.0005/input/input6
[11396.842858] hid-generic 0003:062A:4105.0005: input,hidraw4: USB HID v1.10 Keyboard [MOSART Semi. 2.4G Keyboard Mouse] on usb-3f980000.usb-1.2/input0
[11396.857563] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:062A:4105.0006/input/input7
[11396.909294] hid-generic 0003:062A:4105.0006: input,hiddev0,hidraw5: USB HID v1.10 Mouse [MOSART Semi. 2.4G Keyboard Mouse] on usb-3f980000.usb-1.2/input1

info from lsusb

LibreELEC:~ # lsusb
Bus 001 Device 008: ID 099a:6200 Zippy Technology Corp. 
Bus 001 Device 006: ID 0bc7:0004 X10 Wireless Technology, Inc. X10 Receiver
Bus 001 Device 004: ID 04b4:6560 Cypress Semiconductor Corp. CY7C65640 USB-2.0 "TetraHub"
Bus 001 Device 009: ID 062a:4105 Creative Labs 
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

funny that the keyboard is detected as "Creative Labs" by lsusb instead of "MOSART Semi". Anyway, the keyboard works, the trackball and mouse buttons work, the scroll wheel does nothing

2016-09-23: interface info:

LibreELEC:~ # ethtool eth0
Settings for eth0:
 Supported ports: [ TP MII ]
 Supported link modes:   10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
 Supported pause frame use: No
 Supports auto-negotiation: Yes
 Advertised link modes:  10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
 Advertised pause frame use: Symmetric Receive-only
 Advertised auto-negotiation: Yes
 Link partner advertised link modes:  10baseT/Half 10baseT/Full 
                                     100baseT/Half 100baseT/Full 
 Link partner advertised pause frame use: Symmetric
 Link partner advertised auto-negotiation: Yes
 Speed: 100Mb/s
 Duplex: Full
 Port: MII
 PHYAD: 1
 Transceiver: internal
 Auto-negotiation: on
 Supports Wake-on: pumbag
 Wake-on: g
 Current message level: 0x00000007 (7)
       drv probe link
 Link detected: yes

ok.

2016-09-23: after a power outage, KODI doesn't show guide date from tvheadend anymore. A reboot fixed it.

2016-09-14: in KODI, I go to LibreELEC settings, Bluetooth. I turn on my Apple keyboard and after a while it shows in the lits. I select it, Connect, enter code + ENTER, and it is connected - but; I get a Bluetooth error - and it is not connected. A few more tries, and I can get it to say "connected" in KODI, but it still says "Bluetooth error" and it doesn't work. Crap.

2016-09-14: plugging the 38-534 Bluetooth dongle into one of the usb ports on the Rpi2 gets it detected:

LibreELEC:~ # lsusb
Bus 001 Device 012: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 011: ID 099a:6200 Zippy Technology Corp. 
Bus 001 Device 010: ID 04f3:0103 Elan Microelectronics Corp. ActiveJet K-2024 Multimedia Keyboard
Bus 001 Device 009: ID 0bc7:0004 X10 Wireless Technology, Inc. X10 Receiver
Bus 001 Device 004: ID 04b4:6560 Cypress Semiconductor Corp. CY7C65640 USB-2.0 "TetraHub"
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

as device 001:012 here.

LibreELEC:~ # lsusb -d 0a12:0001
Bus 001 Device 012: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

and dmesg messages:

LibreELEC:~ # dmesg | tail -11
[262186.969547] usb 1-1.4: new full-speed USB device number 12 using dwc_otg
[262187.077072] usb 1-1.4: New USB device found, idVendor=0a12, idProduct=0001
[262187.077105] usb 1-1.4: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[262187.077121] usb 1-1.4: Product: CSR8510 A10
[262187.133490] Bluetooth: Core ver 2.21
[262187.133677] NET: Registered protocol family 31
[262187.133693] Bluetooth: HCI device and connection manager initialized
[262187.133729] Bluetooth: HCI socket layer initialized
[262187.133753] Bluetooth: L2CAP socket layer initialized
[262187.133811] Bluetooth: SCO socket layer initialized
[262187.156484] usbcore: registered new interface driver btusb

now let me see if I can configure it in KODI without things going wrong.

2016-09-11: rebooting uncovered another problem: channel order isn't saved; now the channel order is back to the way it was before I configured it. Ok it seems to be a KODI bug. Workaround: change settings, switch skin, switch back to your skin again.

2016-09-11: I tried rebooting the machine, but no, the Bluetooth dongle still dont get recognized properly.

2016-09-10: added a Bluetooth dongle:

LibreELEC:~ # lsusb -d 0a12:0001
Bus 001 Device 011: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

dmesg shows that it works:

LibreELEC:~ # dmesg | tail
[594739.377594] usb 1-1.3.1: New USB device found, idVendor=0a12, idProduct=0001
[594739.377633] usb 1-1.3.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[594739.377649] usb 1-1.3.1: Product: CSR8510 A10
[594739.458368] Bluetooth: Core ver 2.21
[594739.458556] NET: Registered protocol family 31
[594739.458572] Bluetooth: HCI device and connection manager initialized
[594739.458610] Bluetooth: HCI socket layer initialized
[594739.458632] Bluetooth: L2CAP socket layer initialized
[594739.458685] Bluetooth: SCO socket layer initialized
[594739.479574] usbcore: registered new interface driver btusb

now, how to connect a Bluetooth keyboard.

I got it to work in LibreELEC, but then the Bluetooth adapter disappeared. If I unplug it and replug it dmesg shows

[597536.823963] usb 1-1.3.1: new full-speed USB device number 20 using dwc_otg
[597541.890563] usb 1-1.3.1: device descriptor read/64, error -110
[597542.060592] usb 1-1.3.1: device descriptor read/64, error -32
[597542.230592] usb 1-1.3.1: new full-speed USB device number 21 using dwc_otg
[597542.297232] usb 1-1.3.1: device descriptor read/64, error -32
[597542.467266] usb 1-1.3.1: device descriptor read/64, error -32
[597542.637259] usb 1-1.3.1: new full-speed USB device number 22 using dwc_otg
[597543.043907] usb 1-1.3.1: device not accepting address 22, error -32
[597543.110596] usb 1-1.3.1: new full-speed USB device number 23 using dwc_otg
[597543.517263] usb 1-1.3.1: device not accepting address 23, error -32
[597543.517565] usb 1-1.3-port1: unable to enumerate USB device

not good.

2016-09-10: usb devices:

LibreELEC:~ # lsusb
Bus 001 Device 010: ID 099a:6200 Zippy Technology Corp. 
Bus 001 Device 007: ID 04f3:0103 Elan Microelectronics Corp. ActiveJet K-2024 Multimedia Keyboard
Bus 001 Device 009: ID 0bc7:0004 X10 Wireless Technology, Inc. X10 Receiver
Bus 001 Device 004: ID 04b4:6560 Cypress Semiconductor Corp. CY7C65640 USB-2.0 "TetraHub"
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

ok.

2016-09-10: ssh access:

[tingo@localhost ~]$ ssh root@10.1.161.40
root@10.1.161.40's password: 
##############################################
#                 LibreELEC                  #
#            http://libreelec.tv             #
##############################################

LibreELEC (official) Version: 7.0.2
LibreELEC:~ # 

ok.

2016-09-03: after installing the tvheadend addon, enabling and configuring the client, kodi / LibreELEC works. Nice.

2016-09-03: I connected a usb hub, with a wireless receiver for a kayboard and mouse, connected network cable, HDMI - to DVI cale, sudio cable and power. The machine powered up, showed a picture on the TV 1360x768, according to TV OSD. The wireless keyboard and mouse didn't work at first, So I connected a USB mouse and keyboard. After running the Setup wizard, the wireless mouse works. The wireless keyboard (Zippy RF-520) appears to be dead.

2016-09-03: I downloaded LibreELEC (Jarvis 16.1) v7.0.2, image for Rpi2 and Rpi3. First I checked the sha256 has on it:

[tingo@localhost linux]$ sha256sum LibreELEC-RPi2.arm-7.0.2.img.gz
801a6cc7147433116b00b8cf5d6e6065bda20f140a80025d12ef561758f5e03c  LibreELEC-RPi2.arm-7.0.2.img.gz

ok. I used my Fedora laptop to write the image to a Kingston 8 GB microSD card.

[tingo@localhost linux]$ sudo dd if=./LibreELEC-RPi2.arm-7.0.2.img of=/dev/mmcblk0 bs=4M
137+0 records in
137+0 records out
574619648 bytes (575 MB) copied, 65.0948 s, 8.8 MB/s

took out and inserted the card, and checked with blkid

tingo@localhost linux]$ sudo blkid
[...]
/dev/mmcblk0: PTUUID="99176dab" PTTYPE="dos"
/dev/mmcblk0p1: SEC_TYPE="msdos" UUID="176D-2AFE" TYPE="vfat" PARTUUID="99176dab-01"
/dev/mmcblk0p2: UUID="f2c26989-d7ab-4c16-9d6a-36e40c02035b" TYPE="ext4" PARTUUID="99176dab-02"

(omitted lines not relevant)