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) [2016/04/26] - Matt Devo - 2016-05-25

(2016-05-25, 22:40)tmarin Wrote: Hi Matt,

I'm trying to switch from standalone to dual boot on my Dell Chromebox. I'm following the instructions here: http://kodi.wiki/view/Chromebox#Resetting_to_Stock

I am able to open the Firmware Utility script and select option 7) Restore Stock Firmware

I do not have a firmware backup file, so I select my model Dell 3010, but then I get the following error:

Failure reading current firmware; cannot proceed.

What can I do from here?
What OS / version etc?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - MikeMcr - 2016-05-26

Hi

I'm running Kodi in standalone mode with the custom coreboot firmware. Is there a command I can run to turn off the system LED when it enters sleep mode?

My Asus ChromeBox CN60 does this automatically but my Dell ChromeBox 3010 does not. It may be because the Dell is running a later coreboot firmware though, not sure.

Sorry if this has been answered before but the forum won't let me search this thread for "led". Yes, I know I could use some black tape Big Grin


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - Matt Devo - 2016-05-26

(2016-05-26, 23:24)MikeMcr Wrote: Hi

I'm running Kodi in standalone mode with the custom coreboot firmware. Is there a command I can run to turn off the system LED when it enters sleep mode?

My Asus ChromeBox CN60 does this automatically but my Dell ChromeBox 3010 does not. It may be because the Dell is running a later coreboot firmware though, not sure.

Sorry if this has been answered before but the forum won't let me search this thread for "led". Yes, I know I could use some black tape Big Grin

neither turns off the LED for sleep, but both should for suspend; that functionality isn't firmware version dependent. With the stock firmware, the Dell (and Acer) will actually flash/blink when suspended, but that's annoying AF so I killed that. I leave mine on 24/7 but the LEDs are a bit much so I bought some lightdims (and subsequently put them on pretty much all electronics in the house).

Are you seeing differing behavior with the two boxes running the same OS/version and with the same power settings?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - MikeMcr - 2016-05-26

(2016-05-26, 23:30)Matt Devo Wrote: neither turns off the LED for sleep, but both should for suspend; that functionality isn't firmware version dependent. With the stock firmware, the Dell (and Acer) will actually flash/blink when suspended, but that's annoying AF so I killed that. I leave mine on 24/7 but the LEDs are a bit much so I bought some lightdims (and subsequently put them on pretty much all electronics in the house).

Are you seeing differing behavior with the two boxes running the same OS/version and with the same power settings?
Sorry, I meant suspend (i.e. the mode you can quickly wake-up from). The shutdown option turns it off on both boxes.

Looking at my backup firmware file, I updated the coreboot firmware on the Asus in July 2015 and is running the Intel EGL build of OpenELEC.

On the Dell I updated it last week (new unit) so is fully up-to-date with coreboot and LibreELEC.

I agree that a flashing/blinking LED would be really annoying! Is it possible the change to kill the blinking also stopped it turning off completely in suspend mode? No big deal though, I can get some lightdims like you mentioned.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - wwessel - 2016-05-27

Hi Matt,

is it possible to execute some commands after resume from suspend? e.g. I want to "touch" my NAS HDD to spin it up just after waking up my Chromebox, so the HDD is ready when I start a movie...


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - Matt Devo - 2016-05-27

(2016-05-26, 23:45)MikeMcr Wrote: Sorry, I meant suspend (i.e. the mode you can quickly wake-up from). The shutdown option turns it off on both boxes.

Looking at my backup firmware file, I updated the coreboot firmware on the Asus in July 2015 and is running the Intel EGL build of OpenELEC.

On the Dell I updated it last week (new unit) so is fully up-to-date with coreboot and LibreELEC.

I agree that a flashing/blinking LED would be really annoying! Is it possible the change to kill the blinking also stopped it turning off completely in suspend mode? No big deal though, I can get some lightdims like you mentioned.

I played around this yesterday and am able to replicate this behavior on my Dell Chromebox as well - I think I never noticed it before because I had a lightdim on the LED. Unfortunately, I'm unable to get the LED to turn off during suspend, just blink at various rates. Maybe I will just go ahead and implement the blinking for all models since that appears to be the standard going forward. Or I could just leave it as-is.

(2016-05-27, 14:08)wwessel Wrote: Hi Matt,

is it possible to execute some commands after resume from suspend? e.g. I want to "touch" my NAS HDD to spin it up just after waking up my Chromebox, so the HDD is ready when I start a movie...

absolutely, see: http://wiki.openelec.tv/index.php/Creating_Suspend_and_Resume_Scripts


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - MikeMcr - 2016-05-27

(2016-05-27, 17:35)Matt Devo Wrote: I played around this yesterday and am able to replicate this behavior on my Dell Chromebox as well - I think I never noticed it before because I had a lightdim on the LED. Unfortunately, I'm unable to get the LED to turn off during suspend, just blink at various rates. Maybe I will just go ahead and implement the blinking for all models since that appears to be the standard going forward. Or I could just leave it as-is.
Personally I think making it blink would be annoying. In fact, I just opened up an IR receiver to rip out a red LED because the manufacturer thought it was cool to light up the entire room every time you pressed a remote button!


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - Matt Devo - 2016-05-27

(2016-05-27, 18:30)MikeMcr Wrote: Personally I think making it blink would be annoying. In fact, I just opened up an IR receiver to rip out a red LED because the manufacturer thought it was cool to light up the entire room every time you pressed a remote button!

I do too, but that seems to be the standard way to differentiate between S3 and S5 modes


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - MikeMcr - 2016-05-27

(2016-05-27, 18:32)Matt Devo Wrote: I do too, but that seems to be the standard way to differentiate between S3 and S5 modes
Some implementations aren't too bad if a) the brightness is set very low and b) it slowly pulses instead of a quick on/off blink which can be very distracting.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - Matt Devo - 2016-05-27

(2016-05-27, 18:39)MikeMcr Wrote: Some implementations aren't too bad if a) the brightness is set very low and b) it slowly pulses instead of a quick on/off blink which can be very distracting.

I don't seem to have the ability to adjust the brightness, just the blink rate (0.25Hz, 0.5Hz, 1Hz, 4Hz). 0.5Hz doesn't seem to bad honestly (with the lightdim)


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - wwessel - 2016-05-27

(2016-05-27, 17:35)Matt Devo Wrote:
(2016-05-27, 14:08)wwessel Wrote: Hi Matt,

is it possible to execute some commands after resume from suspend? e.g. I want to "touch" my NAS HDD to spin it up just after waking up my Chromebox, so the HDD is ready when I start a movie...

absolutely, see: http://wiki.openelec.tv/index.php/Creating_Suspend_and_Resume_Scripts

Ah, that's exactly what I'm searching for. Thanx a lot Smile


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - MikeMcr - 2016-05-29

I'm setting up my new Dell ChromeBox in a room where the power is cut overnight. What is the expected behaviour when power is restored - can it remember the previous on/off state like my PC? I have Kodi set to suspend after x minutes of inactivity. However, after a power failure it seems to stay off until you press the power button.

As I understand it, you cannot power on using an IR remote but you can resume from standby. Therefore, if it stays off after a power failure I'm a bit stuck.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - Matt Devo - 2016-05-29

(2016-05-29, 23:03)MikeMcr Wrote: I'm setting up my new Dell ChromeBox in a room where the power is cut overnight. What is the expected behaviour when power is restored - can it remember the previous on/off state like my PC? I have Kodi set to suspend after x minutes of inactivity. However, after a power failure it seems to stay off until you press the power button.

As I understand it, you cannot power on using an IR remote but you can resume from standby. Therefore, if it stays off after a power failure I'm a bit stuck.
The normal behavior is to restore the previous power state when AC power is lost and then returns. Because suspend is actually S3/suspend to RAM, when power is lost, so is the S3 state, so the default is to return to S5 (power off). The only way around this would be to change the default behavior to power on whenever AC power is applied, regardless of previous state. While I don't want to change the default for all users, I'm happy to make a custom firmware for you that will do that (and have the power LED blink slowly when suspended if you'd like)


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - MikeMcr - 2016-05-29

(2016-05-29, 23:16)Matt Devo Wrote: The normal behavior is to restore the previous power state when AC power is lost and then returns. Because suspend is actually S3/suspend to RAM, when power is lost, so is the S3 state, so the default is to return to S5 (power off). The only way around this would be to change the default behavior to power on whenever AC power is applied, regardless of previous state. While I don't want to change the default for all users, I'm happy to make a custom firmware for you that will do that (and have the power LED blink slowly when suspended if you'd like)
If you are willing to do that, I would be very grateful, thank you. Do you have a donations link?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - Matt Devo - 2016-05-29

(2016-05-29, 23:44)MikeMcr Wrote: If you are willing to do that, I would be very grateful, thank you. Do you have a donations link?

shoot me an email at [email protected]