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.12 - 2014/06/30] - Matt Devo - 2014-07-06

(2014-07-05, 20:32)Mark the Red Wrote: The IR sensor and remote work OOTB on the OpenELEC on my Windows PC.

ok, do me a favor and download this app on your windows PC: http://rweverything.com/download/. I used the portable x64 version.

run it, click the USB button, then copy/paste the output from it. want to compare what Windows is reporting to what Linux is, particularly for the endpoint interval values.

this definitely looks like a linux/USB3 issue, but not one I've seen before, as the issue my patch fixed was for devices which used bulb type endpoints, vs interrupt endpoints like your device (which were previously working fine to my knowledge). If we can figure out the issue, I can (try to) fix it under Linux, and provide a fixed version of OpenELEC until the patch makes it in.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.12 - 2014/06/30] - Mark the Red - 2014-07-06

PHP Code:
DriverKeyName: {36fc9e60-c465-11cf-8056-444553540000}\0044
DeviceName


Connection Information:
ConnectionIndex    0x00000001 - (Port number)
CurrentConfigurationValue    0x01
Speed    0x01 
Full speed
DeviceIsHub    0x00 
No
DeviceAddress    0x0001
NumberOfOpenPipes    0x00000002
ConnectionStatus    0x01 
DeviceConnected

Device Descriptor
:
12 01 00 02 00 00 00 08 84 17 06 00 02 01 01 02    ................
03 01                                              ..              

bLength    0x12
bDescriptorType    0x01
bcdUSB    0x0200 
Spec# = 02.00
bDeviceClass    0x00 - (Defined at Interface level)
bDeviceSubClass    0x00 
bDeviceProtocol    0x00 
bMaxPacketSize0    0x08 
8 bytes
idVendor    0x1784 
TopSeed Technology Corp.
idProduct    0x0006
bcdDevice    0x0102 
Device# = 01.02
iManufacturer    0x01 TopSeed Technology Corp.
iProduct    0x02 eHome Infrared Transceiver
iSerialNumber    0x03 
TS004RQf
bNumConfigurations    0x01

Configuration Descriptor
:
09 02 20 00 01 01 00 A0 32                         .. .....2       

bLength    0x09
bDescriptorType    0x02
wTotalLength    0x0020
bNumInterfaces    0x01
bConfigurationValue    0x01
iConfiguration    0x00
bmAttributes    0xA0 
Self-powered=NoRemote Wakeup=Yes
MaxPower    0x32 
100mA

Interface Descriptor:
09 04 00 00 02 FF FF FF 00                         .........       

bLength    0x09
bDescriptorType    0x04
bInterfaceNumber    0x00
bAlternateSetting    0x00
bNumEndpoints    0x02
bInterfaceClass    0xFF 
Vendor specific
bInterfaceSubClass    0xFF 
Vendor specific
bInterfaceProtocol    0xFF 
Vendor specific
iInterface    0x00

Endpoint Descriptor
:
07 05 01 03 20 00 00                               .... ..         

bLength    0x07
bDescriptorType    0x05
bEndpointAddress    0x01 
Endpoint# = 1, Direction = OUT
bmAttributes    0x03 Transfer Type Interrupt
wMaxPacketSize    0x0020 
32 bytes
bInterval    0x00 
0 milliseconds

Endpoint Descriptor
:
07 05 81 03 20 00 00                               .... ..         

bLength    0x07
bDescriptorType    0x05
bEndpointAddress    0x81 
Endpoint# = 1, Direction = IN
bmAttributes    0x03 Transfer Type Interrupt
wMaxPacketSize    0x0020 
32 bytes
bInterval    0x00 
0 milliseconds

Configuration Descriptor
:
05 02 02 00 04                                     .....           

bLength    0x05
bDescriptorType    0x02
wTotalLength    0x0002
bNumInterfaces    0x04
bConfigurationValue    0x00
iConfiguration    0x06 

bmAttributes    0x30 
Self-powered=NoRemote Wakeup=Yes
MaxPower    0x0F 
30mA

String LanguageID
=0x0409 

Tell me if this is the right code. The window on the left referred to this eHome Infrared Receiver. Thanks.


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

(2014-07-06, 08:50)Mark the Red Wrote: Tell me if this is the right code. The window on the left referred to this eHome Infrared Receiver. Thanks.

it's right, but unfortunately reporting the exact same info in Windows as in Linux, so no hint as to what the problem is. It's definitely a Linux/USB3/MCE driver issue, just not sure how to debug it at this point.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.12 - 2014/06/30] - Mark the Red - 2014-07-06

Any other IR receiver I can buy you recommend? I got the one off the amazon link you recommended. Some say they are RC6 IR Protocol....will those work?

Could this also be (?) I did not install the firmware / BIOS correctly? Is there a way I can reinstall the bios via the ssh terminal. The sudo bash syntax gave me errors (post 1 instructions).


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

(2014-07-06, 09:20)Mark the Red Wrote: Any other IR receiver I can buy you recommend? I got the one off the amazon link you recommended. Some say they are RC6 IR Protocol....will those work?

Could this also be (?) I did not install the firmware / BIOS correctly? Is there a way I can reinstall the bios via the ssh terminal. The sudo bash syntax gave me errors (post 1 instructions).

the HP receiver I have is model 5188-1667, and works out of the box. There's absolutely no way you didn't install the firmware correctly, or that the firmware is an issue here. I'd return the receiver you have and buy the one linked below - least hassle.

HP receiver on ebay: http://www.ebay.com/itm/like/191049086497?lpid=82


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.12 - 2014/06/30] - Hannes The Hun - 2014-07-06

Matt, seeing as the coreboot FW got updated I thought about updating my setup via the script... well... how would I get terminal access?

ssh won't work, connection refused. ctrl&alt&F2 with the keyboard brings up a non-working command prompt in full screen.

am I doing something obviously wrong here? already googled the hell out of the openelec ssh problem but to no avail.
outdated guides say to create an ssh_enable file in the configfiles samba folder of the chromebox, current guides say
to just enable SSH in the openelec settings but there's only the option to disable ssh password.


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

(2014-07-06, 10:43)Hannes The Hun Wrote: Matt, seeing as the coreboot FW got updated I thought about updating my setup via the script... well... how would I get terminal access?

ssh won't work, connection refused. ctrl&alt&F2 with the keyboard brings up a non-working command prompt in full screen.

am I doing something obviously wrong here? already googled the hell out of the openelec ssh problem but to no avail.
outdated guides say to create an ssh_enable file in the configfiles samba folder of the chromebox, current guides say
to just enable SSH in the openelec settings but there's only the option to disable ssh password.

The script has to be run from either ChromeOS or ChromiumOS. Since you can no longer boot the former, you need to make a USB stick with the latter and download/run the script from there


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.12 - 2014/06/30] - Hannes The Hun - 2014-07-06

ah okay, got it. thanks!


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

Matt, I did backup my stock bios, however...I am getting nothing when trying to restore the mac and such from the new script. It seems that my usb got corrupted somehow? Anyway, I can pull some files under recovery, could you tell me what the filename/size should be for the backup?


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

(2014-07-07, 16:26)jsp1 Wrote: Matt, I did backup my stock bios, however...I am getting nothing when trying to restore the mac and such from the new script. It seems that my usb got corrupted somehow? Anyway, I can pull some files under recovery, could you tell me what the filename/size should be for the backup?

stock-firmware.rom, 8.4 MB


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

(2014-07-07, 16:48)Matt Devo Wrote:
(2014-07-07, 16:26)jsp1 Wrote: Matt, I did backup my stock bios, however...I am getting nothing when trying to restore the mac and such from the new script. It seems that my usb got corrupted somehow? Anyway, I can pull some files under recovery, could you tell me what the filename/size should be for the backup?

stock-firmware.rom, 8.4 MB

Thanks. Nothing of the sort shows up, lost cause?

Edit: It looks like I can recover my original chromeOS update...perhaps that would contain the info?


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.12 - 2014/06/30] - tret - 2014-07-07

Has there been any progress (resolution or workaround) for the VAAPI hardware accelerated playback freezing issue?

Symptom - During playback, the video freezes while the audio continues to play. Key presses are non-responsive and the chromebox needs to be powered off/rebooted to regain normal function.

Obviously disabling hardware accelerated playback prevents the symptoms however higher bitrate content playback is choppy, particularly when syncing to a 24p display. I haven't seen much chatting about this issue and haven't been able to find any solutions in the thread. If there isn't one, is this on the XBMC Dev team's radar?

Note: Running standalone openelec v4.0.6. The content is being pulled (over SMB) from a NAS on a 1Gb link. Same config/content works fine on an older Zotac zbox w/ celeron CPU and nvidia GPU.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.12 - 2014/06/30] - jerndl - 2014-07-07

(2014-07-07, 18:31)tret Wrote: Has there been any progress (resolution or workaround) for the VAAPI hardware accelerated playback freezing issue?

Symptom - During playback, the video freezes while the audio continues to play. Key presses are non-responsive and the chromebox needs to be powered off/rebooted to regain normal function.

Obviously disabling hardware accelerated playback prevents the symptoms however higher bitrate content playback is choppy, particularly when syncing to a 24p display. I haven't seen much chatting about this issue and haven't been able to find any solutions in the thread. If there isn't one, is this on the XBMC Dev team's radar?

Note: Running standalone openelec v4.0.6. The content is being pulled (over SMB) from a NAS on a 1Gb link. Same config/content works fine on an older Zotac zbox w/ celeron CPU and nvidia GPU.
I'm having the exact same problem "Symptom - During playback, the video freezes while the audio continues to play. Key presses are non-responsive and the chromebox needs to be powered off/rebooted to regain normal function." It doesn't happen all the time, although it "seems like" it is happening more frequently. I am also running standalone OE 4.0.6 but my content is coming from a 4TB WD MyBook external USB 3.0 drive. I set this up awhile ago during the early stages of the EZ setup script, before the Coreboot firmware update. Any Ideas? I can provide a log if needed. BTW during the "freeze" the Chromebox continues to work as a SMB server for other XBMC "clients". Thanks.

Jay


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.12 - 2014/06/30] - tret - 2014-07-07

(2014-07-07, 18:54)jerndl Wrote:
(2014-07-07, 18:31)tret Wrote: Has there been any progress (resolution or workaround) for the VAAPI hardware accelerated playback freezing issue?

Symptom - During playback, the video freezes while the audio continues to play. Key presses are non-responsive and the chromebox needs to be powered off/rebooted to regain normal function.

Obviously disabling hardware accelerated playback prevents the symptoms however higher bitrate content playback is choppy, particularly when syncing to a 24p display. I haven't seen much chatting about this issue and haven't been able to find any solutions in the thread. If there isn't one, is this on the XBMC Dev team's radar?

Note: Running standalone openelec v4.0.6. The content is being pulled (over SMB) from a NAS on a 1Gb link. Same config/content works fine on an older Zotac zbox w/ celeron CPU and nvidia GPU.
I'm having the exact same problem "Symptom - During playback, the video freezes while the audio continues to play. Key presses are non-responsive and the chromebox needs to be powered off/rebooted to regain normal function." It doesn't happen all the time, although it "seems like" it is happening more frequently. I am also running standalone OE 4.0.6 but my content is coming from a 4TB WD MyBook external USB 3.0 drive. I set this up awhile ago during the early stages of the EZ setup script, before the Coreboot firmware update. Any Ideas? I can provide a log if needed. BTW during the "freeze" the Chromebox continues to work as a SMB server for other XBMC "clients". Thanks.

Jay

I also set mine up some time ago, approx 6 weeks ago, and haven't updated the firmware since. Matt, is this perhaps something that has been fixed in later firmware/bios updates?


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

I see 12 separate partitions on the firmware backup.

Can anyone suggest how to backup the flash drive. Can I use

Code:
dd if=/dev/sdb of=chrome-backup.img