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) [2015/11/10] - Matt Devo - 2015-11-18

(2015-11-18, 01:19)walkerx Wrote: Hi Matt,

I'm using 15.2 git:02e7013

The system had auto updated so I downloaded stable build, copied to the update folder, rebooted, it then updated - powered off and shows the box in suspend (light-on) but will check tomorrow to see if still the case

also the keyboard I'm using is 'Rii i8+ 2.4GHz Mini Mobile Wireless Keyboard with Touchpad Mouse' which works fines as a remote

1) run the Intel-EGL OpenELEC build, since it has the fan speed fix

2) light on = not suspended -- something is preventing the box from going into suspend, since the power LED turns off when in suspend mode. I'd recommend starting with a fresh install and go from there


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/10] - McButton - 2015-11-18

On my Chromebox, I notice that it doesn't always keep an external drive connected. I had a 2TB that would disco then reconnect, and my 6 does now too. I've used 4 different cables and 3 of the 4 ports. All the same issue. Also, when it idles for long periods of time, upon turning the system back on, it's no longer accessible, though it is clearly on.

Any ideas? I read somewhere about the USB 3.0 having some sort of power save mode that may disconnect and not allow a reconnect. Whether it's a temp or total disconnect, a reboot always fixes it. It's pretty annoying.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/10] - lancastrian - 2015-11-18

(2015-11-18, 10:56)McButton Wrote: On my Chromebox, I notice that it doesn't always keep an external drive connected. I had a 2TB that would disco then reconnect, and my 6 does now too. I've used 4 different cables and 3 of the 4 ports. All the same issue. Also, when it idles for long periods of time, upon turning the system back on, it's no longer accessible, though it is clearly on.

Any ideas? I read somewhere about the USB 3.0 having some sort of power save mode that may disconnect and not allow a reconnect. Whether it's a temp or total disconnect, a reboot always fixes it. It's pretty annoying.
I had an issue writing to a portable HDD when connected to my Chromebox's USB 3.0 ports (it would disconnect/fail mid-transfer). In the end the workaround was attaching it via a cheap USB 2.0 hub - not as quick, but it worked, suggesting the problem was USB 3.0 related.

It's a strange one, because I connected the same drive directly to my dad's Chromebox - an identical HP CB1-030na with the exact same version of OpenELEC (and even the same add-ons) - without any issues whatsoever.

Another possible option, and one I've since taken, is to attach your HDD directly to your router (or NAS if you have one) and have your Chromebox retreive the files across your network. This also means you can access the files from other devices when your Chromebox is not switched on.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/10] - Soli - 2015-11-18

(2015-11-17, 21:49)Matt Devo Wrote:
(2015-11-17, 20:55)Soli Wrote: I hope this hasn't been answered lately, I did do a quick search.
Matt: is there any way I can force the fan speed to less rotations on my HP chromebox. The fan is pretty annoying when Kodi is idle. I suspect because I use Artic Zephyr skin with animated backgrounds. (Although it's the same if I'm in the system info windows with only a single picture animating) I see the cpu usage is around 15-80/5-35 when idle, avg. cpu is probably around 40/20 temps are 59/58.

With (stock) Confluence it's 0-40/0-10, but the average is maybe around 15% (although it's all over the place), cpu speed is usually between 800mhz to 1240. Cpu temps are around 49-51 on both cores. With Confluence the fan stays at the lowest speed.

I'm using ubuntu kernel 4.1.x atm. with Kodibuntu. Although the idle cpu usage is just ridiculous, i don't really mind ..except that the fan gets pretty loud. I think I read it stays at the lowest speed until 67c, and stays at medium speed until 58c,so I guess I'm right at the edge:

With arctic zephyr it hovers around 65/66 for a little while before it hit's 67c. I guess I'd be ok with a threshold of 72c and a fallback threshold of 65c. Since the Chromebox feels pretty cool, so again, I wonder if there is any way to up the threshold of when the fan ramps up (and/or change the speeds)?

Actually I just bought an Asus CB to replace my HP (and give away the HP as xmas present for my folks), I hope it's as silent as you say it is, as it is the only reason I bought the AsusWink with the better cooling I'll probably stay under the thresholds.

the firmware-specified fan speeds/temp ranges can be overridden by the OS. For ubuntu, look at thermald

Thanks. TBH I was looking for the offset/numbers that I manually could modify the firmware. If possible: Would it be a good idea to implement this as a "super-advanced" mode in the script, to manually sett the temperature thresholds? No, it's probably not, but I'd still like it thereWink


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/10] - Matt Devo - 2015-11-18

(2015-11-18, 12:36)Soli Wrote: Thanks. TBH I was looking for the offset/numbers that I manually could modify the firmware. If possible: Would it be a good idea to implement this as a "super-advanced" mode in the script, to manually sett the temperature thresholds? No, it's probably not, but I'd still like it thereWink

since you can adjust the fan speeds/temperature thresholds via a userspace program like thermald, there's no reason to modify the firmware defaults. Allowing those to be set dynamically at the time of flashing would require a non-trivial amount of effort (in terms of code changes), and would essentially duplicate functionality that already exists, so I can't see a good reason to do that.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/10] - McButton - 2015-11-18

Weird. I have a 2.0 hub, but wouldn't it still disco since it's routing through the chromebox 3.0? I have all my files on my cloud too. The drive is a backup. Cloud would be easier, but I don't want buffering. It's usually really good, but I'd rather keep it more of a stable source.

If I could access the 3.0 to ensure it always stayed live, I'd be set. I'll try the 2.0 route. It doesn't need to be faster to play my VIDS and all I transfer to it is from my laptop through the network.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/10] - Matt Devo - 2015-11-18

(2015-11-18, 20:48)McButton Wrote: Weird. I have a 2.0 hub, but wouldn't it still disco since it's routing through the chromebox 3.0? I have all my files on my cloud too. The drive is a backup. Cloud would be easier, but I don't want buffering. It's usually really good, but I'd rather keep it more of a stable source.

If I could access the 3.0 to ensure it always stayed live, I'd be set. I'll try the 2.0 route. It doesn't need to be faster to play my VIDS and all I transfer to it is from my laptop through the network.
No, since it forces the xhci controller into ehci/USB 2.0 mode


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/10] - VanillaXtract - 2015-11-19

(2015-11-17, 23:13)Matt Devo Wrote:
(2015-11-17, 23:07)VanillaXtract Wrote: I'll give that a shot next. I've always used your script and it has always worked, so I never looked for more. I installed using your script 15.04 and ubuntu boots just fine now. Terminal still doesn't work though. I've had this issue before and I can't remember how I solved it. The search key doesn't bring up the search menu, etc. Oh well.

seriously, chrx is miles better. I'll probably remove the Ubuntu dual boot feature soon and just point people to chrx

Thank you for the suggestion. chrx works and I am currently running GalliumOS. My last question, which I believe is on topic, what are differences between your seabios and johnlewis's? Is one more suitable for certain uses over the other?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/10] - Matt Devo - 2015-11-19

(2015-11-19, 01:31)VanillaXtract Wrote: Thank you for the suggestion. chrx works and I am currently running GalliumOS. My last question, which I believe is on topic, what are differences between your seabios and johnlewis's? Is one more suitable for certain uses over the other?

at one point we were using different codebases as a starting point, but I *think* we're mostly in sync now, outside of a few differences:

mine:
- ignores multiple 'ESC' key presses to prevent inadvertent booting
- skips the boot menu when only one boot device is present
- correctly labels USB devices when booting
- allows for setting of default boot device (HDD vs USB) at time of flash (granted this is a script feature not a code change)

his:
- has his custom JELKA payload, which allows for net-based install of a handful of Linux distros

I post my code, build scripts, and flashing scripts on my github page; links are in the OP. John hasn't posted anything publicly to my knowledge, so I can't be 100% sure.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/10] - Soli - 2015-11-19

(2015-11-18, 16:53)Matt Devo Wrote:
(2015-11-18, 12:36)Soli Wrote: Thanks. TBH I was looking for the offset/numbers that I manually could modify the firmware. If possible: Would it be a good idea to implement this as a "super-advanced" mode in the script, to manually sett the temperature thresholds? No, it's probably not, but I'd still like it thereWink

since you can adjust the fan speeds/temperature thresholds via a userspace program like thermald, there's no reason to modify the firmware defaults. Allowing those to be set dynamically at the time of flashing would require a non-trivial amount of effort (in terms of code changes), and would essentially duplicate functionality that already exists, so I can't see a good reason to do that.
Just wanted to chime in regarding Asus vs HP. I cloned HP disk to the Asus. The Asus idles at a few degrees cooler than the HP. Just enough so that the fan never ramps up, I'll check out thermald if it ever becomes a problem with the fan, but for now this works just fine.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/10] - pettergulbra - 2015-11-19

(2015-10-22, 05:03)red_z Wrote: I've been searching for several days for a Kodibuntu/OpenElec solution that will allow Atmos, TrueHD, HD Audio 7.1 passthrough to an AVR for decoding. After much searching and trials on various boxes, I was finally able to get this to work using OpenElec on a Dell Chromebox. I used the method outlined here (which is very easy to follow) and used the OpenElec dual-boot method. I am now able to playback all of my high bit-rate mkv movies and the AVR receives the audio as bitstream Atmos and even displays Atmos on the receiver indicating the stream is coming through properly.

Many thanks to all who have pointed me in the right direction. For anyone else trying to do this (and I know there are many that I've seen in various forums), I hope this helps. For what its worth, I tried several other solutions before landing here and this was the only one that came through correctly. This includes trying the Dual-Boot Ubuntu method on the same Chromebox and running Kodi 15.2 RC. This last solution appeared to not recognize the HDMI correctly as it would only output PCM and not the raw passthrough audio. In fact it only gave me a single option to select Passthrough (which didn't seem to work) and did not expose the other options you usually get on passthrough - like TrueHD capable receiver, DTS-HD capable receiver, etc. So the same box with Kodibuntu wouldn't work, but with OpenElec worked flawlessly right out of the box.

This appears to be an amazing solution for a low-cost, simple, fast-booting HTPC. High bit-rate mkvs are playing smoothly and with full Atmos audio with no stuttering, hiccups, etc. Been looking for something like this for a very long time... :-)

Hi, do you think this will also help my problem?

I have a problem with the sound, I can't use the passtrough option. (with it, I get no sound at all) All I get is PCM sound on my AVR.

And I have a major problem with panning pictures, it stutters always.
And in some movies, it stutters on angel changes, and scene changes.

This is very annoying.

I`m using an HP Chromebox PCcb1-030no
KODI 15.2 Git:02e7013


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/10] - fritsch - 2015-11-19

Just try it.

Kodibuntu uses years old kernel / userspace ... OE is bleeding edge. With bleeding edge features and bleeding edge bugs :-) Choose your poison.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/10] - pettergulbra - 2015-11-19

Yes I think I will.

But, if no one really think it will help, what the point of trying.
That was my real question. But then, you got a point.....

Then It is just to try to remove KodiBuntu and install OE.
And try to keep all the menus and stuff.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/10] - fritsch - 2015-11-19

You can also just try to install an updated kernel from vivid backports:

sudo apt-get install linux-image-generic-lts-vivid

is enough.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/10] - Matt Devo - 2015-11-19

OE is easy enough to boot up in a live session, just try that