doc:appunti:hardware:raspberrypi_micromediahub
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:hardware:raspberrypi_micromediahub [2017/12/24 07:40] – [Starting Kodi at Boot] niccolo | doc:appunti:hardware:raspberrypi_micromediahub [2020/09/28 20:45] (current) – [Kodi] niccolo | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| * Joystick controller | * Joystick controller | ||
| * LCD display 16x2 charaters | * LCD display 16x2 charaters | ||
| + | |||
| + | ====== Current consumption ====== | ||
| + | |||
| + | See **[[https:// | ||
| + | |||
| + | * **Raspberry Pi 3 Model B** | ||
| + | * 1GB RAM | ||
| + | * Typical bare-board active current consumption: | ||
| + | * Maximum total USB peripheral current draw: 1.2A | ||
| + | * Recommended PSU current capacity: 2.5A | ||
| + | * **Raspberry Pi 3 Model A+** | ||
| + | * 512MB LPDDR2 SDRAM | ||
| + | * Typical bare-board active current consumption: | ||
| + | * Maximum total USB peripheral current draw: Limited by PSU, board, and connector ratings only. | ||
| + | * **Toshiba Canvio Basics 1Tb** | ||
| + | * USB bus power (max. 900mA) | ||
| ====== Kodi ====== | ====== Kodi ====== | ||
| Line 20: | Line 36: | ||
| Kodi will not start automatically at boot, just execute **kodi-standalone** from the command line. | Kodi will not start automatically at boot, just execute **kodi-standalone** from the command line. | ||
| - | **NOTICE**: Raspbian | + | **NOTICE**: Raspbian |
| + | * **[[http:// | ||
| + | * **[[http:// | ||
| + | |||
| + | The first repository provides **Kodi 17.1** as per Debian Stretch. The second repository provided **Kodi version 17.6** on December 2017, but it was upgraded to **Kodi version 18** on february 2019. So beware of what packages you are installing, respect the right dependencies and be carefull with upgrades. | ||
| + | |||
| + | Our current installation uses these versions: | ||
| + | |||
| + | ^ kodi | 2: | ||
| + | ^ kodi-bin | ||
| + | ^ kodi-eventclients-common | ||
| + | ^ kodi-eventclients-kodi-send | ||
| + | ^ kodi-peripheral-joystick | ||
| + | ^ libkodiplatform17: | ||
| + | |||
| + | To activate a joypad you have to go through **// | ||
| ===== Starting Kodi at Boot ===== | ===== Starting Kodi at Boot ===== | ||
| Line 32: | Line 63: | ||
| * Can perform **reboot** and **poweroff** from Kodi menu. | * Can perform **reboot** and **poweroff** from Kodi menu. | ||
| - | So we want to execute **kodi-standalone** as **kodi** user, create | + | So we want to execute **kodi-standalone** as **kodi** user. Create |
| < | < | ||
| Line 75: | Line 106: | ||
| </ | </ | ||
| - | Now we have to solve a problem: the unprivileged Kodi user coannot | + | Now we have to solve a problem: the unprivileged Kodi user cannot |
| + | |||
| + | < | ||
| + | apt-get install policykit-1 | ||
| + | </ | ||
| + | |||
| + | We created the file **/ | ||
| + | |||
| + | < | ||
| + | [Actions for kodi user] | ||
| + | Identity=unix-group: | ||
| + | Action=org.freedesktop.upower.*; | ||
| + | ResultActive=yes | ||
| + | ResultAny=yes | ||
| + | ResultInactive=no | ||
| + | </ | ||
| + | |||
| + | ===== Problem Decoding Webm (VP8 Encoded) Videos ===== | ||
| + | |||
| + | We got a severe problem trying to play some **.webm** video files: the audio starts but it freeze shortly, | ||
| + | |||
| + | < | ||
| + | CMMALVideo:: | ||
| + | input port vc.ril.video_decode: | ||
| + | </ | ||
| + | |||
| + | To confirm that the video codec is VP8, we installed the **mediainfo** package an run the tool against the video; which actually uses the VP8 codec. The official **[[http:// | ||
| + | |||
| + | **[[https:// | ||
| + | |||
| + | < | ||
| + | start_x=1 | ||
| + | </ | ||
| + | |||
| + | See also the page **[[https:// | ||
| + | ===== Starting Kodi only if USB hard disk is present ===== | ||
| + | |||
| + | We keep all our media files (video, images, etc.) into an **USB hard disk**, connected through | ||
| + | |||
| + | ==== Web References ==== | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[http:// | ||
| ====== USB 3.0 VIA Labs Hub Problems ====== | ====== USB 3.0 VIA Labs Hub Problems ====== | ||
doc/appunti/hardware/raspberrypi_micromediahub.1514097636.txt.gz · Last modified: by niccolo
