středa 29. dubna 2020

Rasbian na RaspberryPi 4

Povolit consoli v souboru: /boot/config.txt

enable_uart=1

  1. # hcitool dev
    
    Sometimes the device is not active right away. Try starting the interface with:
    # hciconfig hci0 up
  2. Power off the bluetooth:
    [bluetooth] # power off
  3. Power on the bluetooth, then enable the pairing method on the mouse if needed"
    [bluetooth] # power on
  4. List the available bluetooth devices, you have to copy the mouse device ID XX:XX:XX:XX:XX:XX:
    [bluetooth] # scan on
  5. Unpair the device if already paired:
    [bluetooth] # remove XX:XX:XX:XX:XX:XX
  6. Trust the device:
    [bluetooth] # trust XX:XX:XX:XX:XX:XX
  7. Pair the mouse with the computer:
    [bluetooth] # pair XX:XX:XX:XX:XX:XX
  8. Connect the computer with the mouse:
    [bluetooth] # connect XX:XX:XX:XX:XX:XX
  9. Unblock the device control:
    [M585/M590] # unblock

Instalace Kodi

sudo apt-get update
sudo apt-get install kodi

A přidáme Kodi do seznamu úloh po startu (/etc/xdg/lxsession/LXDE-pi/autostart):
@kodi

podrobněji o vyladění výkonu:
https://www.raspberrypi.org/forums/viewtopic.php?t=251645

https://wiki.archlinux.org/index.php/bluetooth_mouse
https://learn.adafruit.com/adafruits-raspberry-pi-lesson-5-using-a-console-cable/enabling-serial-console