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: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.8 - 2015/01/07] - tml2k2 - 2015-01-14

(2015-01-14, 07:22)Matt Devo Wrote:
(2015-01-14, 05:45)tml2k2 Wrote: hi Matt, so i'm using the exact script that i got through this thread and the video sometime wake from suspend still no picture.

do you have the issue when not using the suspend/resume script? Note that you have to reboot for any changes to take effect.


yeah before the script i have video but sometime no audio till i reboot.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.8 - 2015/01/07] - Matt Devo - 2015-01-14

(2015-01-14, 08:56)tml2k2 Wrote: yeah before the script i have video but sometime no audio till i reboot.

then I'd modify the script to read as follows:

Code:
#!/bin/sh
case $1 in
   pre)
     xrandr --output HDMI1 --set "audio" "off";
     ;;
   post)
     xrandr --output HDMI1 --set "audio" "on";
     ;;
esac

that way it's only changing the audio on suspend/resume. You can also try changing "on" to "auto" if necessary.

Unfortunately I don't have a HDMI receiver here to test with, and lots of AVRs behave differently, so there's a bit of trial and error involved. It's critical though if using a universal remote (eg, Harmony) to turn on/off your AVR as well, that the AVR be turned off and on before the ChromeBox, in order to ensure that the CB gets back valid EDID data upon power up.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.8 - 2015/01/07] - tml2k2 - 2015-01-14

(2015-01-14, 09:48)Matt Devo Wrote:
(2015-01-14, 08:56)tml2k2 Wrote: yeah before the script i have video but sometime no audio till i reboot.

then I'd modify the script to read as follows:

Code:
#!/bin/sh
case $1 in
   pre)
     xrandr --output HDMI1 --set "audio" "off";
     ;;
   post)
     xrandr --output HDMI1 --set "audio" "on";
     ;;
esac

that way it's only changing the audio on suspend/resume. You can also try changing "on" to "auto" if necessary.

Unfortunately I don't have a HDMI receiver here to test with, and lots of AVRs behave differently, so there's a bit of trial and error involved. It's critical though if using a universal remote (eg, Harmony) to turn on/off your AVR as well, that the AVR be turned off and on before the ChromeBox, in order to ensure that the CB gets back valid EDID data upon power up.

thanks Matt, i'll give it a try.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.8 - 2015/01/07] - alexis59 - 2015-01-14

Hello,

I will have the HP chromebox tomorrow and I have one question.

Do you know if it is possible to make a boot priority to load Openelec in a usb key at start-up and if the usb key is not insterted into the chromebox, Chrome os will start.

I ask this because I have a bluetooth keyboard which is not supported at start-up.

Thank you for your answers.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.8 - 2015/01/07] - Matt Devo - 2015-01-14

(2015-01-14, 21:24)alexis59 Wrote: Hello,

I will have the HP chromebox tomorrow and I have one question.

Do you know if it is possible to make a boot priority to load Openelec in a usb key at start-up and if the usb key is not insterted into the chromebox, Chrome os will start.

I ask this because I have a bluetooth keyboard which is not supported at start-up.

Thank you for your answers.

it is not possible. the only way to choose between boot modes (ChromeOS and legacy boot / other OS) in a dual boot setup is via the keyboard shortcuts ([CTRL-D] / [CTRL-L])


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.8 - 2015/01/07] - alexis59 - 2015-01-14

Thank you for your quick answer. I will make a stand alone ubuntu install instead of openelec + chrome os.

(2015-01-14, 21:33)Matt Devo Wrote:
(2015-01-14, 21:24)alexis59 Wrote: Hello,

I will have the HP chromebox tomorrow and I have one question.

Do you know if it is possible to make a boot priority to load Openelec in a usb key at start-up and if the usb key is not insterted into the chromebox, Chrome os will start.

I ask this because I have a bluetooth keyboard which is not supported at start-up.

Thank you for your answers.

it is not possible. the only way to choose between boot modes (ChromeOS and legacy boot / other OS) in a dual boot setup is via the keyboard shortcuts ([CTRL-D] / [CTRL-L])



RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.8 - 2015/01/07] - bolmsted - 2015-01-14

One of my coworkers has one of these Wireless Keyboards on his Android box and just wondering if I could use this on OpenELEC + Kodi?
http://www.dx.com/p/wireless-2-4ghz-usb-mini-keyboard-288368#.VLbMAivF_zh

I have a Harmony remote and was looking at the ORtek VRC-1100 for the IR receiver so I could use with my Harmony but this wireless keyboard would be good to navigate and do keyboard entry for shows, etc.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.8 - 2015/01/07] - gluvva - 2015-01-15

is there a way to remove the openelec dual boot from chromeos?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.8 - 2015/01/07] - nickr - 2015-01-15

(2015-01-14, 22:42)bolmsted Wrote: One of my coworkers has one of these Wireless Keyboards on his Android box and just wondering if I could use this on OpenELEC + Kodi?
http://www.dx.com/p/wireless-2-4ghz-usb-mini-keyboard-288368#.VLbMAivF_zh
I have an identical looking keyboard branded Rii I8. It works on my intel based hardware so should work on the Chromebox. It even works in the Bios of my Intel hardware, so may work for the chromebox ctrl- key options.

EDIT: the one I have http://www.dx.com/p/genuine-rii-mini-i8-wireless-92-key-qwerty-keyboard-mouse-touchpad-with-usb-receiver-black-134317#.VLbsGMl2M8s


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.8 - 2015/01/07] - bolmsted - 2015-01-15

Thanks nick. Wondering if I can use SD card rather than usb key to dual boot and then eventually use to install OS and then remove later. Save buying another key


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.8 - 2015/01/07] - Matt Devo - 2015-01-15

(2015-01-15, 00:06)gluvva Wrote: is there a way to remove the openelec dual boot from chromeos?

as in restore it to a factory state? follow directions in the wiki.

(2015-01-15, 03:09)bolmsted Wrote: Thanks nick. Wondering if I can use SD card rather than usb key to dual boot and then eventually use to install OS and then remove later. Save buying another key

huh? you don't need a USB stick to set up a dual boot install. But a SD card can be used in place of a USB stick for any instructions requiring one.

edit: I guess you do for the factory reset step, and yes a SD card works fine (as noted in the wiki for that step in fact)


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.8 - 2015/01/07] - bolmsted - 2015-01-15

Someone in an AVS forum thread used a USB key to dual boot until he was sure he was going to keep it


Edit. AVS link
http://www.avsforum.com/forum/39-networking-media-servers-content-streaming/1639937-kodi-xbmc-via-chromebox.html#/forumsite/3207/topics/1639937?page=1


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.8 - 2015/01/07] - Matt Devo - 2015-01-15

well you certainly can, but it's not one of the dual boot configurations supported by my script. A factory reset returns it to stock either way, so it's not exactly a big deal to try it out if you don't like it.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.8 - 2015/01/07] - bolmsted - 2015-01-15

(2015-01-15, 05:24)Matt Devo Wrote: well you certainly can, but it's not one of the dual boot configurations supported by my script. A factory reset returns it to stock either way, so it's not exactly a big deal to try it out if you don't like it.

Ah ok. Just do it I guess. Does that factory default apply to standalone too or I got to restore it with backup flash?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.8 - 2015/01/07] - Matt Devo - 2015-01-15

(2015-01-15, 05:30)bolmsted Wrote:
(2015-01-15, 05:24)Matt Devo Wrote: well you certainly can, but it's not one of the dual boot configurations supported by my script. A factory reset returns it to stock either way, so it's not exactly a big deal to try it out if you don't like it.

Ah ok. Just do it I guess. Does that factory default apply to standalone too or I got to restore it with backup flash?

you would perform a factory reset as well, but you would first need to restore the stock firmware, as per the instructions in the wiki