{"id":675,"date":"2017-12-08T20:08:56","date_gmt":"2017-12-08T19:08:56","guid":{"rendered":"http:\/\/www.marcinwilk.eu\/?page_id=675"},"modified":"2018-02-05T10:40:29","modified_gmt":"2018-02-05T09:40:29","slug":"problems","status":"publish","type":"page","link":"https:\/\/www.marcinwilk.eu\/en\/projects\/hifi-libreelec-kodi\/problems\/","title":{"rendered":"Problems"},"content":{"rendered":"Those problems and\u00a0 their solutions are applicable only for LibreELEC (v 8.2.1 and v9 testing branch) operating system with KODI (v17 &amp; v18). It may not help with other Linux distributions, and for sure it will not work with Windows OS.<\/p>\n<div class=\"su-tabs su-tabs-style-default su-tabs-mobile-stack\" data-active=\"1\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-tabs-nav\"><span class=\"\" data-url=\"\" data-target=\"blank\" tabindex=\"0\" role=\"button\">Image scaling on TV<\/span><span class=\"\" data-url=\"\" data-target=\"blank\" tabindex=\"0\" role=\"button\">Bluetooth do not see devices<\/span><span class=\"\" data-url=\"\" data-target=\"blank\" tabindex=\"0\" role=\"button\">No WiFi networks<\/span><\/div><div class=\"su-tabs-panes\"><div class=\"su-tabs-pane su-u-clearfix su-u-trim\" data-title=\"Image scaling on TV\">\n<h5>1. Problem with scaling of the image on TV (TV-side error).<\/h5>\n<p><strong>Problem<\/strong>: My TV is quiet old model (from 2008) &#8211; Grundig Vision 4 32-4820. It's native resolution is 1366&#215;768. But TV connected to NUC device is sending wrong data. It says it's default resolutions is different (1280&#215;720), which makes picture scaled beyond TV display.<\/p>\n<figure id=\"attachment_697\" aria-describedby=\"caption-attachment-697\" style=\"width: 150px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.marcinwilk.eu\/wp-content\/2017\/12\/tv-scal-err01.jpg\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-697 size-thumbnail\" src=\"http:\/\/www.marcinwilk.eu\/wp-content\/2017\/12\/tv-scal-err01-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><figcaption id=\"caption-attachment-697\" class=\"wp-caption-text\">TV scaling problem 02<\/figcaption><\/figure>\n<figure id=\"attachment_698\" aria-describedby=\"caption-attachment-698\" style=\"width: 150px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.marcinwilk.eu\/wp-content\/2017\/12\/tv-scal-err02.jpg\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-698 size-thumbnail\" src=\"http:\/\/www.marcinwilk.eu\/wp-content\/2017\/12\/tv-scal-err02-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><figcaption id=\"caption-attachment-698\" class=\"wp-caption-text\">TV scaling problem 01<\/figcaption><\/figure>\n<p><strong>Solutions<\/strong>: To make it work I have to force NUC device, to use resolution i want. To do that i prepared script, that should be inserted on the device. So after every start it will always work. Restarting is necessary after uploading script.<\/p>\n<p>Here is repair script (you need to adjust it yourself for Your TV, put it inside Your NUC network folder \\\\Your NUC Device\\Configfiles):<br \/>\n<a href=\"http:\/\/www.marcinwilk.eu\/kodi\/autostart.sh\" target=\"_blank\" rel=\"noopener\">http:\/\/www.marcinwilk.eu\/kodi\/autostart.sh<\/a>.<\/p>\n<\/div>\n<div class=\"su-tabs-pane su-u-clearfix su-u-trim\" data-title=\"Bluetooth do not see devices\">\n<h5>2. Not working Bluetooth (Linux operating system error).<\/h5>\n<p>This solution will work only with <a href=\"https:\/\/www.broadcom.com\/products\/wireless\/wireless-lan-infrastructure\/bcm43224#overview\" target=\"_blank\" rel=\"noopener\">Broadcom BCM943228HMB<\/a> (detected as BCM43228).<br \/>\n<strong>Problem<\/strong>: Bluetooth didn't work, even after turning on its service. Computer couldn't find any BT devices.<br \/>\nChecking \"dmesg\" command while connected by ssh show that:<\/p>\n<div class=\"su-box su-box-style-default\" id=\"\" style=\"border-color:#000000;border-radius:3px;max-width:none\"><div class=\"su-box-title\" style=\"background-color:#333333;color:#FFFFFF;border-top-left-radius:1px;border-top-right-radius:1px\"># dmesg<\/div><div class=\"su-box-content su-u-clearfix su-u-trim\" style=\"border-bottom-left-radius:1px;border-bottom-right-radius:1px\">[ 3.102419] Bluetooth: hci0: BCM: chip id 63<br \/>\n[ 3.104542] Bluetooth: hci0: BCM: features 0x07<br \/>\n[ 3.110727] Bluetooth: BNEP (Ethernet Emulation) ver 1.3<br \/>\n[ 3.110730] Bluetooth: BNEP filters: protocol multicast<br \/>\n[ 3.110735] Bluetooth: BNEP socket layer initialized<br \/>\n[ 3.121799] Bluetooth: hci0: TV-Player<br \/>\n[3.124048] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1465<br \/>\n[ 3.124471] bluetooth hci0: <strong>Direct firmware load for brcm\/BCM20702A1-0489-e046.hcd failed with error -2<\/strong><br \/>\n[ 3.124477] <strong>Bluetooth: hci0: BCM: Patch brcm\/BCM20702A1-0489-e046.hcd not found<\/strong><\/div><\/div>\n<p>The source of the problem is lack of firmware file inside Linux operating system.<\/p>\n<p><strong>Solution<\/strong>:<br \/>\nSolution will be downloading and inserting firmware, so kernel of Linux will be able to load it on startup. Restarting is necessary. To do that, connect via ssh (login as root, password: libreelec) and follow the instructions below, confirm each line with Enter:<\/p>\n<div class=\"su-note\"  style=\"border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\">cd \/storage\/downloads\/<br \/>\nwget https:\/\/github.com\/winterheart\/broadcom-bt-firmware\/raw\/master\/brcm\/BCM20702A1-0489-e046.hcd<br \/>\nmkdir -p \/storage\/.config\/firmware\/brcm<br \/>\ncp \/storage\/downloads\/BCM20702A1-0489-e046.hcd \/storage\/.config\/firmware\/brcm<br \/>\nreboot<\/div><\/div>\n<p>It should look like the following picture:<\/p>\n<figure id=\"attachment_685\" aria-describedby=\"caption-attachment-685\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.marcinwilk.eu\/wp-content\/2017\/12\/inssh.jpg\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-685 size-medium\" src=\"http:\/\/www.marcinwilk.eu\/wp-content\/2017\/12\/inssh-300x93.jpg\" alt=\"\" width=\"300\" height=\"93\" srcset=\"https:\/\/www.marcinwilk.eu\/wp-content\/2017\/12\/inssh-300x93.jpg 300w, https:\/\/www.marcinwilk.eu\/wp-content\/2017\/12\/inssh-768x239.jpg 768w, https:\/\/www.marcinwilk.eu\/wp-content\/2017\/12\/inssh-1024x319.jpg 1024w, https:\/\/www.marcinwilk.eu\/wp-content\/2017\/12\/inssh-1200x374.jpg 1200w, https:\/\/www.marcinwilk.eu\/wp-content\/2017\/12\/inssh.jpg 1259w\" sizes=\"auto, (max-width: 300px) 85vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-685\" class=\"wp-caption-text\">Console works<\/figcaption><\/figure>\n<\/div>\n<div class=\"su-tabs-pane su-u-clearfix su-u-trim\" data-title=\"No WiFi networks\">\n<h5>3. No visible WiFi network (Linux operating system error).<\/h5>\n<p>This solution will work only with\u00a0<a href=\"https:\/\/www.broadcom.com\/products\/wireless\/wireless-lan-infrastructure\/bcm43224#overview\" target=\"_blank\" rel=\"noopener\">Broadcom BCM943228HMB<\/a> (detected as BCM43228).<br \/>\n<strong>Problem<\/strong>: In a development version of LibreELEC (testing) WiFi card do not detect any networks. The reason is Linux kernel using wrong driver of network card. Linux system is loading correct one and broken, making it fail to work.<\/p>\n<p><strong>Solution<\/strong>: The solution is to create a file in the device that will block the loading of an incorrect driver, allowing good one to work properly. Restarting is necessary. To do this, you must connect via ssh (sign as root, password: libreelec) and follow the instructions below, confirming each line with Enter:<\/p>\n<div class=\"su-note\"  style=\"border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\">echo blacklist brcmsmac &gt;&gt; \/etc\/modprobe.d\/blacklist-broadcom.conf<br \/>\necho blacklist bcma &gt;&gt; \/etc\/modprobe.d\/blacklist-broadcom.conf<br \/>\nreboot<\/div><\/div><\/div><\/div><\/div>\n<input class=\"fooboxshare_post_id\" type=\"hidden\" value=\"675\"\/>","protected":false},"excerpt":{"rendered":"<p>Those problems and\u00a0 their solutions are applicable only for LibreELEC (v 8.2.1 and v9 testing branch) operating system with KODI (v17 &amp; v18). It may not help with other Linux distributions, and for sure it will not work with Windows OS.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":626,"menu_order":3,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-675","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.marcinwilk.eu\/en\/wp-json\/wp\/v2\/pages\/675","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.marcinwilk.eu\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.marcinwilk.eu\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.marcinwilk.eu\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.marcinwilk.eu\/en\/wp-json\/wp\/v2\/comments?post=675"}],"version-history":[{"count":0,"href":"https:\/\/www.marcinwilk.eu\/en\/wp-json\/wp\/v2\/pages\/675\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.marcinwilk.eu\/en\/wp-json\/wp\/v2\/pages\/626"}],"wp:attachment":[{"href":"https:\/\/www.marcinwilk.eu\/en\/wp-json\/wp\/v2\/media?parent=675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}