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: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - Matt Devo - 2016-09-14 (2016-09-14, 08:00)McButton Wrote: Hey, I'm having the below issue again. I actually removed the 2.0 hub assuming that was causing the attached hard drive to fail. It worked, and there is no issue. However, since it was needed previously, isn't it likely to start up again? unfortunately not - I haven't seen anything to indicate this is an issue with the Chromebox hardware or firmware, more likely an incompatibility somewhere between the firmware on the external HDD controller and the Chromebox (which is quite hard to debug) (2016-09-14, 08:06)McButton Wrote: 2nd point: I've been fighting the Chromebox "no audio on restore" issue for a year. There are 3 workarounds/fixes to this issue:
(2016-09-14, 18:20)RayTrace77 Wrote: Somewhat in relation to McButton's post, if my Chromebox is on before any of my other equipment then I got no video out, extremely fustrating problem, currently trying to deal with an issue where the Chromebox is randomly turning on by itself, I think it's the PS3 BD remote(old one) which I recently connected to the Chromebox via Bluetooth, seems to be that after 30 mins or so, if I lift the PS3 remote it auto turns the Chromebox on(resumes it from suspended state) the kernel log (dmesg) will tell you what's causing the wakeup event. Try disconnecting the PS3 remote temporarily and see if the issue continues. RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - RayTrace77 - 2016-09-14 Thanks for the response Matt, much appreciated, will check it out as soon as it turns back on, it's random so I have to wait, will post back with what I find. RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - nickr - 2016-09-14 Leave it on, they use bugger all power. Or extract your EDID and set your chromebox to use the extracted EDID. RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - RayTrace77 - 2016-09-14 Yeah that's what I did earlier today, I followed the guide in the link below to set a custom xorg.conf which used an extracted edid but that made no difference, still no video out, I just resumed it from sleep now(while my other equipment was already on) and it STILL didn't send in video through, I extracted all the logs and have uploaded them to the link below, if anyone can take a look, I looked through all of the dmesg logs but couldn't tell which message shows how it was turned on. custom xorg link: http://wiki.openelec.tv/index.php/Configuring_a_Custom_xorg.conf#tab=Intel my kodi logs: https://dropfile.to/i5IbRzO RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - RayTrace77 - 2016-09-15 So I did some more testing, my setup is as below: ChromeBox > LG System > TV It seems to be an issue with the LG System, connecting the Chromebox directly to the TV and restarting 6-7 times and suspending/resuming seemed fine, only when going through the LG System does the no video issue kick in, if the Chromebox is on BEFORE the LG System is on then most of the time there is nothing I can do to get the Chromebox to output video, not even reboots, not even using xrandr to send output to HDMI1, only a power off on the Chromebox and back on brings video back, there has been 1 or 2 times where in this situation using xrandr has working in bringing video back, but it's 50/50 wether it works or not. I reverted back to OpenELEC 5.0.8 which seemed to be a bit more stable, as long the LG System was on before the Chromebox, rebooting and resuming seemed to go ok, I'm at a complete and utter loss here, it's so intermittent and I've been trawling through the logs to try and identify what is going on but can't find anything that would explain it, then there's the issue of it randomly turning itself on, it did it 2 times, in the link below is the logs for when it did it, would anyone be able to tell me what turned the Chromebox on in the logs below ? https://dropfile.to/JoVjScV RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - Matt Devo - 2016-09-15 (2016-09-14, 23:44)RayTrace77 Wrote: Yeah that's what I did earlier today, I followed the guide in the link below to set a custom xorg.conf which used an extracted edid but that made no difference, still no video out, I just resumed it from sleep now(while my other equipment was already on) and it STILL didn't send in video through, I extracted all the logs and have uploaded them to the link below, if anyone can take a look, I looked through all of the dmesg logs but couldn't tell which message shows how it was turned on. (2016-09-15, 01:50)RayTrace77 Wrote: So I did some more testing, my setup is as below: these logs tell me: - you're still running the stock firmware -- is this a dual boot setup? - you didn't implement the EDID loading as described in the link; the xorg file isn't what you need, the EDID is - the PS3 DB remote woke the system from sleep the custom EDID will likely address the issues caused by the LG system and the newer Intel drivers RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - RayTrace77 - 2016-09-15 Hey Matt, I did this a long time ago but yes I think it is a dual boot setup, it's set to load OpenELEC first through so I can just power on and about 5 seconds later Kodi is loaded. Ok so after I followed that Xorg guide and it didn't work I reverted back to how it was before, that's why there's no xorg.conf file being used, what did you mean when you said the xorg file isn't what I need ?, originally I followed the guide and placed the Intel template based xorg file in /storage/.config/ and then the rest of the guide was about extracting the edid data and editing the boot parameter file. The first post of logs I made is when I woke it up, it wouldn't output any video, the post I just did with the link "https://dropfile.to/JoVjScV" is the one with the logs where it randomly turns on, is it still the PS3 remote that woke it up ? Also which log/line told you it was the PS3 remote that woke it up ? RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - RayTrace77 - 2016-09-15 I'll trying starting from scratch and switching to a standalone setup tomorrow. RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - Matt Devo - 2016-09-15 (2016-09-15, 02:12)RayTrace77 Wrote: Hey Matt, You don't need a custom xorg.conf - that's if you need a resolution that the driver isn't reporting is available for some reason. Your problem is that when the Chromebox is powering on and/or waking from suspend*, that the LG System isn't providing the EDID data for itself and your TV, so the Chromebox thinks there isn't anything connected. So, you need to capture the EDID data from your setup when working, then inject that data at boot so that it "remembers" what devices are connected even when the LG system misbehaves. You do that by following the custom EDID section at the bottom of the page on that link. * suspend/resume don't usually work properly with the stock ChromeOS firmware, and isn't supported (by me). YMMV The dmesg log from https://dropfile.to/JoVjScV tells me they were taken from a cold power on, not a suspend/resume. The dmesg log from https://dropfile.to/i5IbRzO tells me the PS3 remote was connected around 17 mins after boot, but doesn't appear to have ever been suspended (maybe just screen blanked) RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - RayTrace77 - 2016-09-15 Ah I see now, ok, I will start again from scratch on this Chromebox with a single boot LibreELEC install, depending on how that goes I will also try the EDID mod after that. The dmesg log from https://dropfile.to/JoVjScV is from a suspended/resumed state, it's odd that it looks like a cold boot, I know for a fact it was in a suspended state, 2-3 seconds after I put it in a suspend state(from the gui), it woke itself up. Thanks for the help though, much appreciated, will post tomorrow how it went. RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - Matt Devo - 2016-09-15 (2016-09-15, 02:41)RayTrace77 Wrote: Ah I see now, ok, I will start again from scratch on this Chromebox with a single boot LibreELEC install good deal, be sure to install the firmware update first, then do a fresh install of LE (I'd use 7.90.005, then update to Milhouse's latest nightly) RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - RayTrace77 - 2016-09-15 Ok, in quite a bit of a problem now, I looked around and could not find anywhere on how to actually change from dual boot to single, or set the ChromeOS + 30s back, so I used a Google Recovery Utility and it did it's restore, now the Developer Mode screen shows up, 2 seconds later it starts SeaBIOS and says Decompressing Kernel, then it's just a blank screen, if I press Ctrl+D at the Developer Screen it tries to boot ChromeOS but says "the owner has disabled developer mode on this device" which I don't understand, at the SeaBIOS screen when I try to press ESC to get to a boot menu it does not work for some reason, not sure where to go from here RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - RayTrace77 - 2016-09-15 Ok, got out of that rather bad situation, coreboot firmware flashed and running LibreELEC 7.90.005 now,will post a guide shortly on what I did incase anyone else has this issue in the future. RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - tredman - 2016-09-15 I have an odd problem, in case anyone has seen it before. Just factory reset my Chromebox and set it all back up. Works perfectly on every 1080p TV I have. I move it to my 4k tv and nothing at all - black screen, no sound nada. I planned to use it on 1080p mode via HDMI. Any ideas how I can get something up on the screen at all? RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - RayTrace77 - 2016-09-15 @tredman, Can you SSH into your box while it's on and use xrandr to query the current display status ?, you can do something like: xrandr --output HDMI1 --off xrandr --output HDMI1 --mode 1920x1080 <--1080p just to see if it shows up on the 4k tv |