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.7 - 2014/06/06] - Matt Devo - 2014-06-08

(2014-06-07, 20:06)Veronica Wrote: @matt could you reply to this please

I don't have/have never used a Flirc. The fix I posted is for certain Microsoft MCE IR receivers.

I'm not sure about the Intel driver bugs, not something I've had time to look at yet.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.7 - 2014/06/06] - jsp1 - 2014-06-08

I could be wrong but it seems clear that the Intel bugs have been passed up the ladder to the Intel dev guys and they are happy with their current information and (hopefully) working on it.

Also, while I don't know anything about flirc....the remote found on section 2.3 of this wiki:
http://wiki.xbmc.org/index.php?title=List_of_MCE_remote_controls

simply emulates keyboard commands and presents no problems with the chromebox. It is dirt cheap and works great with harmony remotes. The receiver is kind of ugly/outdated but it isn't all that hard to hide somewhere and has pretty good line of site.

I probably wouldn't be happy about pulling my expensive flirc (if I had one) to put in some cheap chinese remote/receiver but sometimes a couple bucks is better than a few hours, you know?

Edit: Here's a link.
http://www.amazon.com/HDE-Wireless-Center-Remote-Control/dp/B008BW5A6S/ref=sr_1_30?ie=UTF8&qid=1402187953&sr=8-30&keywords=media+center+remote


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.7 - 2014/06/06] - Matt Devo - 2014-06-08

(2014-06-08, 02:33)jsp1 Wrote: I could be wrong but it seems clear that the Intel bugs have been passed up the ladder to the Intel dev guys and they are happy with their current information and (hopefully) working on it.

Also, while I don't know anything about flirc....the remote found on section 2.3 of this wiki:
http://wiki.xbmc.org/index.php?title=List_of_MCE_remote_controls

simply emulates keyboard commands and presents no problems with the chromebox. It is dirt cheap and works great with harmony remotes. The receiver is kind of ugly/outdated but it isn't all that hard to hide somewhere and has pretty good line of site.

I probably wouldn't be happy about pulling my expensive flirc (if I had one) to put in some cheap chinese remote/receiver but sometimes a couple bucks is better than a few hours, you know?

Edit: Here's a link.
http://www.amazon.com/HDE-Wireless-Center-Remote-Control/dp/B008BW5A6S/ref=sr_1_30?ie=UTF8&qid=1402187953&sr=8-30&keywords=media+center+remote

I believe you are correct re: the Intel driver bugs. We just need to be patient until new drivers are released.

For remotes, a Flirc *should* work, but if you're buying something new I'd recommend a genuine MCE remote/receiver, rather than one which just emulates a keyboard. Here's one from Amazon: http://www.amazon.com/dp/B00KDNIRYA/ and here's the receiver only for Harmony users (and what I use myself): http://www.amazon.com/dp/B000ZGHZ1G/


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.7 - 2014/06/06] - Netix - 2014-06-08

Personally I'm using a flirc on the chromebox and it's working perfectly in Ubuntu


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.7 - 2014/06/06] - jsp1 - 2014-06-08

(2014-06-08, 04:10)Matt Devo Wrote:
(2014-06-08, 02:33)jsp1 Wrote: I could be wrong but it seems clear that the Intel bugs have been passed up the ladder to the Intel dev guys and they are happy with their current information and (hopefully) working on it.

Also, while I don't know anything about flirc....the remote found on section 2.3 of this wiki:
http://wiki.xbmc.org/index.php?title=List_of_MCE_remote_controls

simply emulates keyboard commands and presents no problems with the chromebox. It is dirt cheap and works great with harmony remotes. The receiver is kind of ugly/outdated but it isn't all that hard to hide somewhere and has pretty good line of site.

I probably wouldn't be happy about pulling my expensive flirc (if I had one) to put in some cheap chinese remote/receiver but sometimes a couple bucks is better than a few hours, you know?

Edit: Here's a link.
http://www.amazon.com/HDE-Wireless-Center-Remote-Control/dp/B008BW5A6S/ref=sr_1_30?ie=UTF8&qid=1402187953&sr=8-30&keywords=media+center+remote

I believe you are correct re: the Intel driver bugs. We just need to be patient until new drivers are released.

For remotes, a Flirc *should* work, but if you're buying something new I'd recommend a genuine MCE remote/receiver, rather than one which just emulates a keyboard. Here's one from Amazon: http://www.amazon.com/dp/B00KDNIRYA/ and here's the receiver only for Harmony users (and what I use myself): http://www.amazon.com/dp/B000ZGHZ1G/

I have a Rosewill MCE, should it be more reliable? I don't have any experience with MCE on the chromebox, so I'm just wondering if your recommendation is based on compatibility or quality? I certainly wouldn't argue that the HP you linked is of superior quality...and as IR only it is not significantly more expensive either. Not questioning your judgment here, just curious.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.7 - 2014/06/06] - blahfod - 2014-06-08

(2014-06-07, 18:03)Continuities Wrote:
(2014-06-07, 06:07)rampagewsu Wrote:
(2014-06-07, 05:45)Matt Devo Wrote: are you connecting to a TV or monitor? It seems that the resolution used on the SeaBIOS boot screen is not one that all TVs can handle. You can always try blindly selecting your USB installer by pressing [ESC] then [2] and seeing if the installer screen comes up. You might have to play with the timing though. I just reset / reflashed both my i3 and celeron ChromeBoxes here to make sure everything is ok with the files/script, and it appears to be.


Created an account just to comment on this. I had the same problem as blahfod...exact same.

I blind booted, escape, then 2 and voila! It worked. I'm using a hdmi to DVI cable on a POS 1680x1050 monitor for reference.

Thanks Matt! You saved my night.

I may be having the same problem, though the blind booting hasn't worked for me so far... When I turn on the ChromeBox, I get power (the fan spins, and the USB devices are powered), but no video signal at all over HDMI. Neither my 1080p television nor my 2560x1440 monitor work. I've tried the blind [ESC] [2] thing a bunch of times, to no avail. It shouldn't matter which USB ports the keyboard and bootable drive are plugged into, right?

This is what i did to get it working. Disconnect power from chromebox, wait, plug back in. turn on chromebox, (my usb stick has a light that indicates its being read) when you figure the usb stick is powered (5 seconds or so), press esc, then press 2, then press enter. (sounds dumb, but i wasnt pressing enter when trying esc-2 over and over. doing exactly as above sjhould do the trick.
blahfod


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.7 - 2014/06/06] - Matt Devo - 2014-06-08

(2014-06-08, 05:44)blahfod Wrote: This is what i did to get it working. Disconnect power from chromebox, wait, plug back in. turn on chromebox, (my usb stick has a light that indicates its being read) when you figure the usb stick is powered (5 seconds or so), press esc, then press 2, then press enter. (sounds dumb, but i wasnt pressing enter when trying esc-2 over and over. doing exactly as above sjhould do the trick.
blahfod

enter isn't necessary to boot, but if whatever you're booting has a GRUB boot menu, then that's why you had to hit enter (after which the GPU was re-initialized and you got video)

(2014-06-08, 05:36)jsp1 Wrote: I have a Rosewill MCE, should it be more reliable? I don't have any experience with MCE on the chromebox, so I'm just wondering if your recommendation is based on compatibility or quality? I certainly wouldn't argue that the HP you linked is of superior quality...and as IR only it is not significantly more expensive either. Not questioning your judgment here, just curious.

many/most of the MCE remotes which act as keyboard emulators send Windows-specific commands for some of the buttons, rather than keyboard scan codes. That makes them useless under linux. If your Rosewill remote doesn't do that, great, but many/most of the cheap MCE clones do, which is why I recommend a genuine MCE IR receiver/remote, as it uses actual RC6 remote codes.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.7 - 2014/06/06] - jsp1 - 2014-06-08

(2014-06-08, 17:54)Matt Devo Wrote:
(2014-06-08, 05:44)blahfod Wrote: This is what i did to get it working. Disconnect power from chromebox, wait, plug back in. turn on chromebox, (my usb stick has a light that indicates its being read) when you figure the usb stick is powered (5 seconds or so), press esc, then press 2, then press enter. (sounds dumb, but i wasnt pressing enter when trying esc-2 over and over. doing exactly as above sjhould do the trick.
blahfod

enter isn't necessary to boot, but if whatever you're booting has a GRUB boot menu, then that's why you had to hit enter (after which the GPU was re-initialized and you got video)

(2014-06-08, 05:36)jsp1 Wrote: I have a Rosewill MCE, should it be more reliable? I don't have any experience with MCE on the chromebox, so I'm just wondering if your recommendation is based on compatibility or quality? I certainly wouldn't argue that the HP you linked is of superior quality...and as IR only it is not significantly more expensive either. Not questioning your judgment here, just curious.

many/most of the MCE remotes which act as keyboard emulators send Windows-specific commands for some of the buttons, rather than keyboard scan codes. That makes them useless under linux. If your Rosewill remote doesn't do that, great, but many/most of the cheap MCE clones do, which is why I recommend a genuine MCE IR receiver/remote, as it uses actual RC6 remote codes.

Actually, it is the Rosewill that I was asking if I should switch to. I currently use the knockoff I posted about. The Rosewill is a genuine MCE as you have suggested so I was wondering if I should switch it out. You make a good point though, there are some function keys such as the colored (red/blue/yellow) that have a set output with the keyboard type remote and would require extra fooling around in keyboard.xml to function properly. I was just curious why MCE...not argumentative if it came across as such.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.7 - 2014/06/06] - Matt Devo - 2014-06-08

(2014-06-08, 18:25)jsp1 Wrote: Actually, it is the Rosewill that I was asking if I should switch to. I currently use the knockoff I posted about. The Rosewill is a genuine MCE as you have suggested so I was wondering if I should switch it out. You make a good point though, there are some function keys such as the colored (red/blue/yellow) that have a set output with the keyboard type remote and would require extra fooling around in keyboard.xml to function properly. I was just curious why MCE...not argumentative if it came across as such.

it's not just the colored buttons. On one MCE clone I tested, the menu, guide, info, and a few others did not work.

I think the XBMC wiki + a forum search should tell you if a given remote will work properly under linux, and what type it is. The key differentiator is whether the remote is a genuine MCE "eHome" remote, or a keyboard emulator. See: http://wiki.xbmc.org/index.php?title=Remote_Control_Reviews. I'm not sure offhand which type the Rosewill is.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.7 - 2014/06/06] - tetsuya - 2014-06-08

(2014-06-08, 18:40)Matt Devo Wrote:
(2014-06-08, 18:25)jsp1 Wrote: Actually, it is the Rosewill that I was asking if I should switch to. I currently use the knockoff I posted about. The Rosewill is a genuine MCE as you have suggested so I was wondering if I should switch it out. You make a good point though, there are some function keys such as the colored (red/blue/yellow) that have a set output with the keyboard type remote and would require extra fooling around in keyboard.xml to function properly. I was just curious why MCE...not argumentative if it came across as such.

it's not just the colored buttons. On one MCE clone I tested, the menu, guide, info, and a few others did not work.

I think the XBMC wiki + a forum search should tell you if a given remote will work properly under linux, and what type it is. The key differentiator is whether the remote is a genuine MCE "eHome" remote, or a keyboard emulator. See: http://wiki.xbmc.org/index.php?title=Remote_Control_Reviews. I'm not sure offhand which type the Rosewill is.

It's an "eHome" remote.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.7 - 2014/06/06] - Matt Devo - 2014-06-08

(2014-06-08, 20:26)tetsuya Wrote:
(2014-06-08, 18:40)Matt Devo Wrote: it's not just the colored buttons. On one MCE clone I tested, the menu, guide, info, and a few others did not work.

I think the XBMC wiki + a forum search should tell you if a given remote will work properly under linux, and what type it is. The key differentiator is whether the remote is a genuine MCE "eHome" remote, or a keyboard emulator. See: http://wiki.xbmc.org/index.php?title=Remote_Control_Reviews. I'm not sure offhand which type the Rosewill is.

It's an "eHome" remote.

ok then it has my stamp of approval, for whatever that's worth Smile


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.7 - 2014/06/06] - jsp1 - 2014-06-08

Seen here:

http://www.newegg.com/Product/Product.aspx?Item=N82E16880101008

It claims RC6 compatibility and looks suspiciously similar to 1.2 in the wiki. As it is working correctly with my old foxconn ion using openelec I suspect it should work well on chromebox as well. I haven't personally had any button mapping issues with the chinavision though, so not sure if it would be beneficial for me to switch.

Anyway, good to know that not all keyboard emulator type remotes play nicely with linux...I'll be keeping that in mind for future purposes.

Thanks.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.7 - 2014/06/06] - Matt Devo - 2014-06-08

(2014-06-08, 20:37)jsp1 Wrote: Seen here:

http://www.newegg.com/Product/Product.aspx?Item=N82E16880101008

It claims RC6 compatibility and looks suspiciously similar to 1.2 in the wiki. As it is working correctly with my old foxconn ion using openelec I suspect it should work well on chromebox as well. I haven't personally had any button mapping issues with the chinavision though, so not sure if it would be beneficial for me to switch.

Anyway, good to know that not all keyboard emulator type remotes play nicely with linux...I'll be keeping that in mind for future purposes.

Thanks.

there's nothing specific to the ChromeBox that would affect remote compatibility, with the exception of resume from suspend, but pretty sure that's a linux/USB3 issue. If it works fine under OE on your other box, it will be fine on the CB and no need to replace.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.7 - 2014/06/06] - tetsuya - 2014-06-08

I get this output from the reciever for anyone that wants to know it's information for future refernece.

Code:
ls /dev/input/by-id
usb-Formosa21_eHome_Infrared_Transceiver

sudo ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event12) with:
    Driver mceusb, table rc-rc6-mce
    Supported protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC other
    Enabled protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC other
    Name: Media Center Ed. eHome Infrared
    bus: 3, vendor/product: 147a:e03e, version: 0x1001
    Repeat delay = 500 ms, repeat period = 125 ms



RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.7 - 2014/06/06] - Matt Devo - 2014-06-08

(2014-06-08, 22:07)tetsuya Wrote: I get this output from the reciever for anyone that wants to know it's information for future refernece.

Code:
ls /dev/input/by-id
usb-Formosa21_eHome_Infrared_Transceiver

sudo ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event12) with:
    Driver mceusb, table rc-rc6-mce
    Supported protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC other
    Enabled protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC other
    Name: Media Center Ed. eHome Infrared
    bus: 3, vendor/product: 147a:e03e, version: 0x1001
    Repeat delay = 500 ms, repeat period = 125 ms

the easiest way to tell is with:
Code:
lsusb -v | grep 'eHome'

if it returns something, you have a genuine MCE / eHome receiver; if not, it's a keyboard emulator / clone.