Kodi Community Forum
Linux ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Hardware (https://forum.kodi.tv/forumdisplay.php?fid=112)
+--- Thread: Linux ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] (/showthread.php?tid=194362)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/10/12] - Matt Devo - 2016-11-05

(2016-11-05, 18:05)Chilll Wrote: I ran the commands & it was set to "Automatic". I was able to change the Broadcast RGB modes as u suggested, but they don't stick on reboot. So I am unable to confirm if forcing them prevents the TV from re-detecting the input as "PC" When I reboot, it returns to automatic. Im willing to do anymore testing on the issue you may have, thanks for spending time on looking for a fix!

xrandr --props output

as I said, put the command in an autostart script Smile

try both of the settings I mentioned before (individually)


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/10/12] - Chilll - 2016-11-07

I confirmed the settings stuck with the auto-start script but unfortunately it still renamed them to "PC"


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/10/12] - Matt Devo - 2016-11-07

(2016-11-07, 16:53)Chilll Wrote: I confirmed the settings stuck with the auto-start script but unfortunately it still renamed them to "PC"
what if you power toggle the display after the Chromebox is booted?

also, have you looked/posted on the avsforums? if anyone knows, those guys would


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/10/12] - Matt Devo - 2016-11-07

(2016-11-07, 16:57)Matt Devo Wrote:
(2016-11-07, 16:53)Chilll Wrote: I confirmed the settings stuck with the auto-start script but unfortunately it still renamed them to "PC"
what if you power toggle the display after the Chromebox is booted?

also, have you looked/posted on the avsforums? if anyone knows, those guys would

ok did some searching for you on AVS, seems that if you rename the HDMI input label from 'PC' to something else (eg, 'Kodi') and/or change the input type, and that should prevent it from auto-switching to PC mode. For more info on PC mode, see: http://www.avsforum.com/forum/166-lcd-flat-panel-displays/2387466-official-samsung-ks8000-ks8500-owners-thread.html


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/10/12] - Chilll - 2016-11-07

(2016-11-07, 16:57)Matt Devo Wrote:
(2016-11-07, 16:53)Chilll Wrote: I confirmed the settings stuck with the auto-start script but unfortunately it still renamed them to "PC"
what if you power toggle the display after the Chromebox is booted?

also, have you looked/posted on the avsforums? if anyone knows, those guys would

It will re select "PC" as the input if u power cycle the display. Yes I've searched rtings & several of the big avs threads on my TV model & saw some users mentioned having the same problem, but no one every replied back with a solution. They don't mention what media player they were using, but I tested my odroid c2 & rpi2 which neither had this problem. I dont have any other players to test it with.

I tried changing the "PC" input name to Kodi, once I powered both Chromebox & TV down then back on. It renamed the input back to "PC" everytime


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/10/12] - Matt Devo - 2016-11-07

(2016-11-07, 18:59)Chilll Wrote: It will re select "PC" as the input if u power cycle the display. Yes I've searched rtings & several of the big avs threads on my TV model & saw some users mentioned having the same problem, but no one every replied back with a solution. They don't mention what media player they were using, but I tested my odroid c2 & rpi2 which neither had this problem. I dont have any other players to test it with.

I tried changing the "PC" input name to Kodi, once I powered both Chromebox & TV down then back on. It renamed the input back to "PC" everytime

sounds like Samsung has some serious firmware bugs related to that feature unfortunately


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/10/12] - Diodato - 2016-11-10

(2016-11-03, 21:44)Chilll Wrote: I am having the same issue with my KS8000, Yamaha RX-A550 & Asus Chromebox running both Legacy/UEFI & Intel-openelc 6 / Libreelec 7.02. I tried flashing the UEFI firmware after having used the legacy firmware for years & can confirm the TV still resets the input to PC. I also picked up a JU7100 from 2015 & did not have this issue, but had to upgrade with the KS8000 sale that has been going on recently. The KS8000 is only TV of about 10 that I have tested it with that has this problem.

I swapped the Chromebox with an odroid c2 & it did not reset the input, so it is an isolated issue with the Chromebox, KS8000 & A/V receiver. I love my Chromebox & hopefully can get this resolved, but I don't think it will & my only solution is to replace it with a different box. Its worth the time saved having to select the input & reset all devices to get picture formatted properly with Movie mode selected every time I want to watch TV. At least with more 4K HEVC coming down the pipes, the Chromebox was going to be on its way out in the near future but not so soon Sad . It served me well for few years thanks again to Mr Chromebox!

I am in the same boat. I don't have any AVR so my Chromebox (CN60) running LibreELEC is directly connected to the Samsung KS8000 (European).
Happens on all 4 HDMI inputs even though HDMI2 is suggested by Samsung for PC connection (labelled HDMI2/DVI).

If LibreElec's GUI is set to 1920x1080p @59.94 or @60 the TV recognizes the signal as coming from a PC and will disable certain viewing modes and many picture settings. And it is completely independent of the Limited or Full RGB settings of Kodi.
Any other refresh rate for progressive full HD or any refresh frequency for interlaced will not trigger the "PC mode".
Of course the same applies when Kodi automatically changes the refresh rate depending on the video material (and if Kodi is set to change the display refresh rate). So any "interlaced" video file (29.97/30/59.97/60) will cause the TV to activate the "PC signal" mode.


This happens only with the Chromebox.
  • my PS3 outputs 1920x1080@60p and the TV doesn't switch to "PC mode".
  • my Pioneer BDP-140 BD player outputs 1920x1080@60p and the TV doesn't switch to "PC mode".
  • my Wii U player outputs 1920x1080@60p (limited RGB) and the TV doesn't switch to "PC mode".
I can play with the HDMI settings of these devices: resolution, interlaced/progressive, refresh rate, full/limited scale and the TV will not recognize the source as a "PC". Only Chromebox (tested both Jarvis/Krypton).

(2016-11-07, 18:31)Matt Devo Wrote: ok did some searching for you on AVS, seems that if you rename the HDMI input label from 'PC' to something else (eg, 'Kodi') and/or change the input type, and that should prevent it from auto-switching to PC mode. For more info on PC mode, see: http://www.avsforum.com/forum/166-lcd-flat-panel-displays/2387466-official-samsung-ks8000-ks8500-owners-thread.html
Thanks for your effort but renaming or changing the icon for a specific input doesn't matter. You can't set the "tupe" only name and icon. As soon as the Chromebox outputs Full HD @ 59.97 or @60Hz the TV renames the HDMI input to "PC" and changes accordingly the icon.
I'm on the latest firmware 1142, maybe this was a solution with previous firmwares.
Also the North American KS8000 model is different than the European. Thanks Samsung for the confusing model names....

(2016-11-07, 19:20)Matt Devo Wrote: sounds like Samsung has some serious firmware bugs related to that feature unfortunately

Well, I wouldn't blame Samsung so fast. Like I wrote above this happens only with a Chromebox and does not happen with three other devices.

Any ideas?


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/10/12] - squidly1 - 2016-11-14

hi all

so I messed up !!

Used Matt's script a few years back to install openelec in dual boot mode on my Asus chrombox. Recently changed to Libreelec. Only having one problem - that being HDMI handshake ( I think)
whereas on occasion when turning on the system Chromebox- Sony AV Receiver - TV , the tv is blank. Have to power off/on the Chromebox - the unit reboots and all is ok till next time.

I found a "solution" using a custom EDID http://wiki.openelec.tv/index.php/Configuring_a_Custom_xorg.conf#tab=Intel

of course I screwed up royally and now when it boots I get

Error in mount_flash: most_common: could not mount LABEL=SYSTEM
cant acess tty job control turned off

I did take a screen shot of a file this procedure edited called extlinux.conf .
My original setting was boot-LABEL-KERN-C disk-LABEL-ROOT-C tty quiet
the instructions had me change it to boot=LABEL=System disk=LABEL=Storage ssh quiet

so my questions are..
is there any way from chromos to edit or delete the files from libreelec ?
if not or still will not boot whats the best way to proceed? run the script again ?

thanks ever so much


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/10/12] - Matt Devo - 2016-11-14

(2016-11-14, 18:13)squidly1 Wrote: hi all

so I messed up !!

Used Matt's script a few years back to install openelec in dual boot mode on my Asus chrombox. Recently changed to Libreelec. Only having one problem - that being HDMI handshake ( I think)
whereas on occasion when turning on the system Chromebox- Sony AV Receiver - TV , the tv is blank. Have to power off/on the Chromebox - the unit reboots and all is ok till next time.

I found a "solution" using a custom EDID http://wiki.openelec.tv/index.php/Configuring_a_Custom_xorg.conf#tab=Intel

of course I screwed up royally and now when it boots I get

Error in mount_flash: most_common: could not mount LABEL=SYSTEM
cant acess tty job control turned off

I did take a screen shot of a file this procedure edited called extlinux.conf .
My original setting was boot-LABEL-KERN-C disk-LABEL-ROOT-C tty quiet
the instructions had me change it to boot=LABEL=System disk=LABEL=Storage ssh quiet

so my questions are..
is there any way from chromos to edit or delete the files from libreelec ?
if not or still will not boot whats the best way to proceed? run the script again ?

thanks ever so much

you can either mount the partition and edit the file from ChromeOS (using vim), or just reinstall using the script. To do the former, from a terminal shell in ChromeOS:
Code:
mkdir /tmp/system
sudo mount /dev/sda6 /tmp/system
sudo vim /tmp/system/extlinux.conf
(edit / save file)
sudo umount /tmp/system
sudo reboot

changing the volume labels was unnecessary / broke things; all you needed to do was add the parts related to the EDID loading


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/10/12] - BoxFreak - 2016-11-14

I suspect my second Asus Chromebox (CN60) is somehow broken. After clean install (tried several times with OE and LE) system just hangs randomly. Hanging doesn't seem to be related to any activity I'm doing, and it can happen while watching video, or while accessing Kodi menus and settings. How to troubleshoot what could be the faulty part of hardware? I can always try rams and ssd from my other box, but is there some easier way? I've already tried with different PSU's and WLAN / Ethernet, but it doesn't matter at all.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/10/12] - squidly1 - 2016-11-14

(2016-11-14, 18:24)Matt Devo Wrote:
(2016-11-14, 18:13)squidly1 Wrote: hi all

so I messed up !!

Used Matt's script a few years back to install openelec in dual boot mode on my Asus chrombox. Recently changed to Libreelec. Only having one problem - that being HDMI handshake ( I think)
whereas on occasion when turning on the system Chromebox- Sony AV Receiver - TV , the tv is blank. Have to power off/on the Chromebox - the unit reboots and all is ok till next time.

I found a "solution" using a custom EDID http://wiki.openelec.tv/index.php/Configuring_a_Custom_xorg.conf#tab=Intel

of course I screwed up royally and now when it boots I get

Error in mount_flash: most_common: could not mount LABEL=SYSTEM
cant acess tty job control turned off

I did take a screen shot of a file this procedure edited called extlinux.conf .
My original setting was boot-LABEL-KERN-C disk-LABEL-ROOT-C tty quiet
the instructions had me change it to boot=LABEL=System disk=LABEL=Storage ssh quiet

so my questions are..
is there any way from chromos to edit or delete the files from libreelec ?
if not or still will not boot whats the best way to proceed? run the script again ?

thanks ever so much

you can either mount the partition and edit the file from ChromeOS (using vim), or just reinstall using the script. To do the former, from a terminal shell in ChromeOS:
Code:
mkdir /tmp/system
sudo mount /dev/sda6 /tmp/system
sudo vim /tmp/system/extlinux.conf
(edit / save file)
sudo umount /tmp/system
sudo reboot

changing the volume labels was unnecessary / broke things; all you needed to do was add the parts related to the EDID loading

Thanks Matt ! They don't call ya Mister Chromebox for nothing. Hardest part was remembering vim commands. Note to self - a little knowledge is dangerous


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/10/12] - Matt Devo - 2016-11-14

(2016-11-14, 19:33)squidly1 Wrote: Thanks Matt ! They don't call ya Mister Chromebox for nothing. Hardest part was remembering vim commands. Note to self - a little knowledge is dangerous

I can't ever remember anything besides :wq!, have to look it up every time I use it Smile


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/10/12] - ggp759 - 2016-11-23

Hi. I have a Asus Chromebox with libreelec build from May 2016. I tried to update to a recent build and i got the message that i have to resize the partition. I read on the wiki that i have to do a clean install from a usb. I created the usb with the Libreelec tool but how do i force it to boot from a usb and do a clean install? Upon restarting it boots from hard disk again. Any help? greatly appreciated. Thanks.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/10/12] - Matt Devo - 2016-11-23

(2016-11-23, 20:14)ggp759 Wrote: Hi. I have a Asus Chromebox with libreelec build from May 2016. I tried to update to a recent build and i got the message that i have to resize the partition. I read on the wiki that i have to do a clean install from a usb. I created the usb with the Libreelec tool but how do i force it to boot from a usb and do a clean install? Upon restarting it boots from hard disk again. Any help? greatly appreciated. Thanks.
press ESC when prompted to bring up the boot menu, then select the USB from the list


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/10/12] - ggp759 - 2016-11-23

(2016-11-23, 20:37)Matt Devo Wrote:
(2016-11-23, 20:14)ggp759 Wrote: Hi. I have a Asus Chromebox with libreelec build from May 2016. I tried to update to a recent build and i got the message that i have to resize the partition. I read on the wiki that i have to do a clean install from a usb. I created the usb with the Libreelec tool but how do i force it to boot from a usb and do a clean install? Upon restarting it boots from hard disk again. Any help? greatly appreciated. Thanks.
press ESC when prompted to bring up the boot menu, then select the USB from the list

ok got it. thanks