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/01/03] - giant25 - 2016-01-24

(2016-01-23, 23:42)aaronb Wrote:
(2016-01-23, 22:37)giant25 Wrote: I don't have a good answer to solve the problems with your receivers, but I use a Flirc with my Harmony 650 and Chromebox OE setup flawlessly. I highly recommend it, way easier to set up. Good luck.

It was very hit or miss for me. There were times when it worked fine, and I liked the flexibility and ease of setup, but lately it had become basically unusable. Hitting keys would result in an endless loop of repeating that key, so things like scrolling through a list of movies would just start cycling through endlessly until I rebooted the box. I tried pretty much every possible combination of settings for interkey delay, repeat, etc in both the Harmony software and the Flirc software, and none of them worked, I'd still get random key explosions
Fair enough. I found that the new firmware on the Flircs is very stable compared to the old days, and the built in profile within the Harmony for Kodi works great. I have zero problems with repeat characters, etc on both my Chromebox and Pi 2 running OE. If you have one, update the firmware and give it another fair shake if you get desperate.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/01/03] - Matt Devo - 2016-01-24

(2016-01-24, 00:35)mingliu Wrote: No such luck. Not sure if its a file permissioning problem. I can download and run the ez script but having problems with the coreboot file. Is there another goo.gl link I should try?

whoops, problem was a mismatch between the filename in the script and the one I actually used; the former got updated but the latter did not. Should be good to go now.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/01/03] - teki4u - 2016-01-24

(2016-01-23, 23:15)Matt Devo Wrote:
(2016-01-23, 22:37)giant25 Wrote: I don't have a good answer to solve the problems with your receivers, but I use a Flirc with my Harmony 650 and Chromebox OE setup flawlessly. I highly recommend it, way easier to set up. Good luck.

I feel like I'm alone in detesting the Flirc, since others seem to swear by it, but I could never get it working reliably (and dislike being limited to a keyboard emulator) whereas the MCE receivers have worked nearly perfectly OOTB for me.

Hi Matt you can also map Multimedia/Consumer Keys (table 12 of USB HID usage table) apart of keyboard keys (table 7) using flirc_utils.exe (Windows) or flirc_utils (Linux/OSX) in CLI.

I used the following tutorial to do so:
http://forum.flirc.tv/index.php?/topic/1339-force-flirc-to-work-as-generic-hid-device-instead-of-keyboard/

The usable values he mention are more than enough for most users, I used those and a modified Generic HID plugin for my Inteset INT-422 + Flirc + EventGhost setup, also use keyboard.xml for few special key maps in Kodi.

Image


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/01/03] - teki4u - 2016-01-24

(2016-01-23, 23:42)aaronb Wrote:
(2016-01-23, 22:37)giant25 Wrote: I don't have a good answer to solve the problems with your receivers, but I use a Flirc with my Harmony 650 and Chromebox OE setup flawlessly. I highly recommend it, way easier to set up. Good luck.

It was very hit or miss for me. There were times when it worked fine, and I liked the flexibility and ease of setup, but lately it had become basically unusable. Hitting keys would result in an endless loop of repeating that key, so things like scrolling through a list of movies would just start cycling through endlessly until I rebooted the box. I tried pretty much every possible combination of settings for interkey delay, repeat, etc in both the Harmony software and the Flirc software, and none of them worked, I'd still get random key explosions
Probably because you updated software/firmware. I've red many post where people claim their devices worked better with old firmware, but it could be the opposite depending on the remote.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/01/03] - mpowers - 2016-01-24

(2016-01-23, 11:14)Matt Devo Wrote:
(2016-01-23, 07:38)mpowers Wrote: Hi Matt, thanks for putting this out there, I've used it flawlessly for the last few years but have now run into a problem I can't seem to troubleshoot.

For some reason I seem to be stuck in a boot loop and can't get past the loading screen. The cursor shows up, the logo flashes and then this repeats incessantly. I haven't tried much because I don't know where to start. I've seen some other people post that this was a known bug in a build circa 2014, but it's the first time it happened to me.

I'm running openelec standalone on an Asus chromebox, I don't know the specific build as I can't get in to check.

My first thought is I should try a clean install, but I don't know how to wipe the old version or if I can just stick the USB boot in and it will overwrite and start from scratch.

Thanks in advance!

IIRC, the problem is a corrupted addon/addon data that causes Kodi to to crash and continually reload. Since it's just Kodi that's crashing/restarting and not OpenELEC, you can still access things via SMB or SSH to try and figure out which addon it is and remove it. Or, you can just blow everything away and start fresh, which is as simple as booting updated OpenELEC install media and choosing the quick install option (which partitions/formats the selected drive).

OK don't know what SMB/SSH are so going to have to leave that one alone.... But, another stupid question but what do you mean by as simple as booting updated OpenELEC install media? I should basically imagine I have a clean box and reinstall over it? The thing also turns on so fast that I can't get into any boot menu unfortunately either, just flashes right to Kodi and goes into the boot loop.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/01/03] - Matt Devo - 2016-01-24

(2016-01-24, 04:21)mpowers Wrote: OK don't know what SMB/SSH are so going to have to leave that one alone.... But, another stupid question but what do you mean by as simple as booting updated OpenELEC install media? I should basically imagine I have a clean box and reinstall over it? The thing also turns on so fast that I can't get into any boot menu unfortunately either, just flashes right to Kodi and goes into the boot loop.

there's a download link on the wiki for the latest OpenELEC install image, and a link to OpenELEC's wiki instructions for creating the install media. When the ChromeBox is powered on with multiple boot devices available (eg, a USB stick inserted), you have 5s to press ESC and bring up the boot menu; when only a single boot device is found (the internal ssd) the boot menu prompt is skipped.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/01/03] - rich110 - 2016-01-29

This may seem like a stupid question, but where is the best place to post troubleshooting questions for these OpenElec builds?

I am using the 6.0.98-fritz build on an Asus Celeron chromebox. Sometimes, seemingly at random, when I change between different video streams {for example changing directly from a live tv stream to a video on my NAS box) the audio in Kodi disappears and can't be restored without a reboot.

I've thought about posting at the Openelec forums but it seems really quiet over there and not terribly active. I would post here at the Kodi forums, but I'm not sure where the best place would be to do it for such a specialised build (plus it is Openelec, not pure Kodi).

Any recommendations?

Cheers, Rich


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

(2016-01-29, 10:57)rich110 Wrote: This may seem like a stupid question, but where is the best place to post troubleshooting questions for these OpenElec builds?

the EGL thread in the linux support forum, however the Kodi v15.2 EGL stuff isn't supported anymore. All the work moved to v17 a while back, and those test builds are what the devs are interested in getting feedback on.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/01/03] - rich110 - 2016-01-29

Thanks Matt. I might give the v17 versions a shot when I'm feeling brave. How is the addon support for them?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/01/03] - jrochet - 2016-01-29

I'm currently on like month 7 or 8 of flawless victory with single boot OpenElec on my Chromebox, stumbled a little with finding my favorite remote which is finally the Harmony 350+Flirc and only one custom keymap button (power = suspend). Everything is wonderful!, except I'm considering changing over to Ubuntu so that I can start to use autodl-irssi. Just wondering if anyone has any negative feedback on the Ubuntu front for Chromebox that might persuade me to not bother. Anything based on Flirc and my Harmony specifically with Chromebox and Ubuntu that stands out would be great to hear. Or any other shortcomings in general when comparing Ubuntu on Chromebox to OpenElec on Chromebox.

Thanks in advance!


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/01/03] - michi_jl - 2016-01-29

Hey Matt,

maybe you should add the ubuntu path to the troubleshooting sleep.d scripts.
In ubuntu you need to use
Code:
/lib/systemd/system-sleep/
instead of
Code:
/storage/.config/sleep.d

Maybe would help some people Blush

EDIT:

Also in the 01-cbox_resume.power script
Code:
xrandr --output HDMI1...
needs to be
Code:
xrandr --display :0 --output HDMI1...



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

(2016-01-29, 11:46)rich110 Wrote: Thanks Matt. I might give the v17 versions a shot when I'm feeling brave. How is the addon support for them?

unsure, I'm still running 6.0.98 on my main box as I'd have no reason to upset something running without issue.

(2016-01-29, 13:17)jrochet Wrote: I'm currently on like month 7 or 8 of flawless victory with single boot OpenElec on my Chromebox, stumbled a little with finding my favorite remote which is finally the Harmony 350+Flirc and only one custom keymap button (power = suspend). Everything is wonderful!, except I'm considering changing over to Ubuntu so that I can start to use autodl-irssi. Just wondering if anyone has any negative feedback on the Ubuntu front for Chromebox that might persuade me to not bother. Anything based on Flirc and my Harmony specifically with Chromebox and Ubuntu that stands out would be great to hear. Or any other shortcomings in general when comparing Ubuntu on Chromebox to OpenElec on Chromebox.

Thanks in advance!

it will take considerable more work to set up Ubuntu and get it close to the same level of stability you have now with OpenELEC, and you likely won't get there. There are lots of alternatives to autodl-irssi that do work well under OpenELEC, perhaps it's a good time to re-evaluate those?

(2016-01-29, 16:59)michi_jl Wrote: Hey Matt,

maybe you should add the ubuntu path to the troubleshooting sleep.d scripts.
In ubuntu you need to use
Code:
/lib/systemd/system-sleep/
instead of
Code:
/storage/.config/sleep.d

Maybe would help some people Blush

not being a Ubuntu user, I'm not able to provide/test solutions for it. The wiki is open for editing, so you're welcome to create an account and add the info yourself Smile


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/01/03] - jrochet - 2016-01-30

Do you have the same disclaimer for Kodibuntu as with Ubuntu (regarding the autodl-irssi)? I know it's not the place but I can't seem to find anything for OpenElec around this other than a dev on OpenElec's forums stating autodl-irssi won't work. I'll continue researching though.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/01/03] - Matt Devo - 2016-01-30

(2016-01-30, 03:38)jrochet Wrote: Do you have the same disclaimer for Kodibuntu as with Ubuntu (regarding the autodl-irssi)? I know it's not the place but I can't seem to find anything for OpenElec around this other than a dev on OpenElec's forums stating autodl-irssi won't work. I'll continue researching though.
I'm just talking about overall, nothing specific with autodl-irssi. With OpenELEC, everything works out of the box; with Ubuntu/Kodibuntu etc, remotes, Bluetooth, video drivers, etc will likely need some TLC to get working 100%, that's all.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/01/03] - Soli - 2016-01-30

Been running Kodibuntu a good while now. I find that it suits me better than OE, and easier to tweak. But that is a double crossed sword.. I never got comfortable using OE, and Kodibuntu is for me smoother in use. I found my bluez setup worked better than OE. (Using a ps3 bd remote wakes faster from sleep, and I can set custom timeouts instead of waiting for the screensaver, and I never found out how to change the button maps, although I didn't try that hard since I had a working solution with Kodibuntu)