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 ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.14 - 2014/07/12] - Walrus - 2014-07-15

When you go to change that setting (shutdown function), the tooltip at the bottom states 'Define what action XBMC should do when it has been idle for a long period of time.'

At least for the Aeon Nox 5 skin.

I have that set to suspend anyways.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.14 - 2014/07/12] - Matt Devo - 2014-07-15

(2014-07-15, 03:47)Walrus Wrote: When you go to change that setting (shutdown function), the tooltip at the bottom states 'Define what action XBMC should do when it has been idle for a long period of time.'

At least for the Aeon Nox 5 skin.

I have that set to suspend anyways.

yeah, that's a bit of a misnomer. It literally means 'what should XBMC do when the Shutdown timer (setting directly above) expires,' but also affects the function performed when the powertoggle remote code is received.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.14 - 2014/07/12] - Walrus - 2014-07-15

Ok. It's the same behavior I was getting with my windows setup and the same dongle from the RRC-126 remote. Had to keep sending repetitive powertoggle commands and then it would finally wake. That HTPC I am using as my home server for now, so I have it set to 'exit' XBMC instead and leave the pc running. Power on actually sends a 'WIN+3' command to launch XBMC from the pinned program on the taskbar.

Right now I'm going to try sending 3 powertoggles in a row to turn it on. If that doesn't work, I'll order a receiver like one of the two you use. If that all fails, I'll just leave it running all the time.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.14 - 2014/07/12] - Matt Devo - 2014-07-15

(2014-07-15, 04:10)Walrus Wrote: Ok. It's the same behavior I was getting with my windows setup and the same dongle from the RRC-126 remote. Had to keep sending repetitive powertoggle commands and then it would finally wake. That HTPC I am using as my home server for now, so I have it set to 'exit' XBMC instead and leave the pc running. Power on actually sends a 'WIN+3' command to launch XBMC from the pinned program on the taskbar.

Right now I'm going to try sending 3 powertoggles in a row to turn it on. If that doesn't work, I'll order a receiver like one of the two you use. If that all fails, I'll just leave it running all the time.

there are other options to debug your remote issues before replacing the hardware. what IR receiver are you using? google show any other linux users with the same issue?


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.14 - 2014/07/12] - jsp1 - 2014-07-15

(2014-07-14, 23:22)Mark the Red Wrote:
(2014-07-14, 17:12)jsp1 Wrote: Yeah, it is no big deal. I think perhaps the box resumes faster than my AVR is capable of detecting or something. I'll check in with OE chat when I get some time.

I did some googling on the issue. Really haven't had a chance to implement the supposed fixes, but it appears it has something to do with HMDI CEC+ Anynet connections. Basically, when you "power" off your AVR, it may / may not allows a passthrough HDMI connection to a connected TV which your Chromebox tries to "adjust" to on the fly. So when you resume, it remembers the passthrough connection as the last audio driver and not the correct default AVR connection.

I have the same issue with my Chromebox, that when / if power it on without my AVR turned on first, I get no video because Chromebox thinks there are no active video outputs connected at the time it powered on. I fixed that by making the Harmony power this on last when I start the activity, but it is definitely similar problem to the audio resume issue.

Now I wish I could turn off the "smart adjust on the fly" features of the XBMC (Chromebox). In other words, force it to always output HDMI#1 1920 x1080p and the same deault DENON HDMI audio driver even if God himself tells it otherwise or powers it on. In other words, I would love for XBMC to have a "I'm not paying you to think" checkbox and always default to the same audio / video settings REGARDLESS of what is connected to it. But alas this is wish-thinking and coding this via ssh is beyond my ability.

Makes a lot of sense, because when the issue occurs my Pioneer AVR is no longer listed under HDMI1 were it used to be. So the box remains on HDMI1 but somehow the handshake doesn't occur. It would be nice to just throw a reboot command in the autostart.sh file, but I have a feeling this isn't triggered after a resume.

While I'm at it, why no threads discussing video lockup? I know about this: https://bugs.freedesktop.org/show_bug.cgi?id=78960
but it is really lacking in any info and quite discouraging to be honest. I know it will take someone some (presumably) hard work to fix and I'm not trying to rush anyone...it just seems like it would be nice to post an update on possible progress every once in a while. Is the issue linux wide for haswell or chromebox specific? Anyone know?


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.14 - 2014/07/12] - teki4u - 2014-07-15

Does anyone know how to wake on lan OpenElec from Windows 8 PC locally? if it can be done via SSH or VNC then even better, TIA!
I have used Yatse app to WOL the Chromebox with standalone OpenElec but i want to be able to do it from my windows 8 PC too


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.14 - 2014/07/12] - YellowDog - 2014-07-15

(2014-07-15, 07:24)Veronica Wrote: Does anyone know how to wake on lan OpenElec from Windows 8 PC locally? if it can be done via SSH or VNC then even better, TIA!
I have used Yatse app to WOL the Chromebox with standalone OpenElec but i want to be able to do it from my windows 8 PC too

Try this http://sourceforge.net/projects/aquilawol/


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.14 - 2014/07/12] - Walrus - 2014-07-15

(2014-07-15, 04:16)Matt Devo Wrote: there are other options to debug your remote issues before replacing the hardware. what IR receiver are you using? google show any other linux users with the same issue?

Dongle from Rosewill RRC-126 remote. Google shows some issues. I'll try some of the troubleshooting options, like changing the responsiveness in Harmony software. Hmm.. I need to shove the batteries in the actual Rosewill remote and see if it powers on reliably. If it does, it's a Harmony issue then.

This is the remote: http://www.newegg.com/global/au/Product/Product.aspx?Item=N82E16880101002


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.14 - 2014/07/12] - vudiff - 2014-07-15

Has anyone figured out, if possible yet, to dual boot openelec with ubuntu (or any OS with OE)?


Re: RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.14 - 2014/07/12] - Matt Devo - 2014-07-15

(2014-07-15, 16:50)vudiff Wrote: Has anyone figured out, if possible yet, to dual boot openelec with ubuntu (or any OS with OE)?

of course you can - configure the Chromebox to run in standalone mode, then setup would be the same as on any other PC (which is beyond the scope of this script/thread)


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.14 - 2014/07/12] - vudiff - 2014-07-15

Thanks for the quick response Matt. But everything I've tried, I am unable to boot anything after modifying the grub "40_custom" file after setting up as standalone & manually adding OE partitions. I am not a noob to linux but not an expert either. I'll keep trying! Also, I want to thank you for all your hard work on this script. Made everything easier


Re: RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.14 - 2014/07/12] - Matt Devo - 2014-07-15

(2014-07-15, 17:06)vudiff Wrote: Thanks for the quick response Matt. But everything I've tried, I am unable to boot anything after modifying the grub "40_custom" file after setting up as standalone & manually adding OE partitions. I am not a noob to linux but not an expert either. I'll keep trying! Also, I want to thank you for all your hard work on this script. Made everything easier

I'm afraid I'm not familiar enough with grub to advise how to get that working. maybe try either the OpenELEC or Ubuntu forums?


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.14 - 2014/07/12] - vudiff - 2014-07-15

Will do! Thanks again for the quick replies


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.14 - 2014/07/12] - furii - 2014-07-15

(2014-07-15, 05:29)jsp1 Wrote: While I'm at it, why no threads discussing video lockup? I know about this: https://bugs.freedesktop.org/show_bug.cgi?id=78960
but it is really lacking in any info and quite discouraging to be honest. I know it will take someone some (presumably) hard work to fix and I'm not trying to rush anyone...it just seems like it would be nice to post an update on possible progress every once in a while. Is the issue linux wide for haswell or chromebox specific? Anyone know?

i'm curious what material people are playing when the lockup occurs. i have vaapi enabled and haven't once experienced a lockup. all my material is h264 streamed over smb. chromebox is oe standalone with just the standard 2gb ram.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.14 - 2014/07/12] - Matt Devo - 2014-07-15

(2014-07-15, 05:29)jsp1 Wrote: While I'm at it, why no threads discussing video lockup? I know about this: https://bugs.freedesktop.org/show_bug.cgi?id=78960
but it is really lacking in any info and quite discouraging to be honest. I know it will take someone some (presumably) hard work to fix and I'm not trying to rush anyone...it just seems like it would be nice to post an update on possible progress every once in a while. Is the issue linux wide for haswell or chromebox specific? Anyone know?

http://forum.xbmc.org/showthread.php?tid=199498