• 1
  • 145
  • 146
  • 147(current)
  • 148
  • 149
  • 553
Linux ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21]
hi,

i've followed the instructions - but can't acess the command prompt - any ideas?
Reply
Hi, I have a Harmony Ultimate set up and works absolutely fine with IR but when I enable bluetooth and pair with the hub, the chromebox won't stay in suspend. It wakes up again after 2-3 seconds. If I disable bluetooth in openelec it works as normal (through IR) so for some reason the bluetooth is preventing standby, any ideas? Thanks
Reply
oh no, i've changed the boot options to dual boot before running the script a second time - now i think i've bricked it. damn you friday night beer Sad
Reply
(2014-12-05, 22:42)emitecaps Wrote: hi,

i've followed the instructions - but can't acess the command prompt - any ideas?

some wireless keyboards that have an on/off switch need to be toggled before you can hit [CTRL-ALT-F2] to bring up the shell prompt; my Logitech K360 is like this.

(2014-12-06, 00:05)snarby2014 Wrote: Hi, I have a Harmony Ultimate set up and works absolutely fine with IR but when I enable bluetooth and pair with the hub, the chromebox won't stay in suspend. It wakes up again after 2-3 seconds. If I disable bluetooth in openelec it works as normal (through IR) so for some reason the bluetooth is preventing standby, any ideas? Thanks

go into the BT setup, select the hub device, and enable standby. There might also be a setting on the hub/Logitech software, but that's kinda out of scope here.

(2014-12-06, 00:31)emitecaps Wrote: oh no, i've changed the boot options to dual boot before running the script a second time - now i think i've bricked it. damn you friday night beer Sad

no, all that happening is that it's going into legacy boot mode (after 1s I'm guessing) and there's nothing for it to boot. Hit [CTRL-D] *before* the black SeaBIOS/legacy boot screen appears to get back into ChromeOS, which may be before your monitor comes out of standby. You can hit [CTRL-D] a few times, it won't hurt anything. Once you get back into ChromeOS, run the script again to finish the dual boot install.
Reply
(2014-11-08, 21:54)Matt Devo Wrote:
(2014-11-08, 21:42)murilofla Wrote: Thanks Matt for your help

In this case, I'll give up of this crap Chrome/Chromium OS, and I'll use Mint + Openelec...

Thanks again
Murilo

in that case, I'd just run XBMC in Mint, no real reason to dual boot two different Linux distros.

Matt, the thing is that I want to use OpenELEC 90% of the time because it's a well maintained, always updated minimal and FAAAST booting system. But I would like to have a dual boot, so that I can use/experiment with different Linux distros, on an upgraded SSD, so I don't have to run the system off of a USB stick.

It would be great if your script could handle that. I tried Ununtu install, and adding OpenELEC, following the posted instructions on Kodi forums (or OE forums), but it did not quite work. Not an expert in Linux, but I was hoping to install OE, and afterwards let something like Mint, install it and have Mint offer and set up a dual boot for me. I know in WIndows/Linux dual boots, one always does windows first, would be great if we could do OE first, and some cool Linux distro afterwards. I know I would be thankful!

Domi
Reply
(2014-12-06, 04:20)dmalovic Wrote: Matt, the thing is that I want to use OpenELEC 90% of the time because it's a well maintained, always updated minimal and FAAAST booting system. But I would like to have a dual boot, so that I can use/experiment with different Linux distros, on an upgraded SSD, so I don't have to run the system off of a USB stick.

It would be great if your script could handle that. I tried Ununtu install, and adding OpenELEC, following the posted instructions on Kodi forums (or OE forums), but it did not quite work. Not an expert in Linux, but I was hoping to install OE, and afterwards let something like Mint, install it and have Mint offer and set up a dual boot for me. I know in WIndows/Linux dual boots, one always does windows first, would be great if we could do OE first, and some cool Linux distro afterwards. I know I would be thankful!

Domi

In that case, install OpenELEC first in standalone mode, then boot the Ubuntu/Mint/whatever installer, and have it resize the 2nd partition to use as much as you need (OE only needs a gig or two for the 2nd partition). Whatever Linux distro you install should have you install GRUB and allow you to select which OS to boot at startup, but that sort of configuration is an exercise left to the user, and not something I intend to ever add to my script.
Reply
Has anyone else had trouble performing a factory reset? I can't get my Asus Chromebox to respond to the recovery USB for the life of me. I've tried 4Gb, 8 Gb, and 16 Gb flash drives (Lexar). I've tried using the Chrome recovery tool in ChromeOS as well as downloading the image, renaming the extension from .BIN to .IMG, and writing it to a USB drive using Win32 Disk Imager. As soon as I enter recovery mode, I insert the USB, and absolutely nothing happens. I've left it in for hours. Not sure what else to try at this point.
Reply
(2014-12-05, 13:54)LilSnoop40 Wrote: Matt, i used putty to get into the box that i wasn't sure if i updated the bios on. after type the 2 commands on page one i am getting this error:

OpenELEC (official) Version: 4.2.1
OpenELEC:~ # curl -L -O http://goo.gl/3Tfu5W
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 260 0 260 0 0 3267 0 --:--:-- --:--:-- --:--:-- 3291
0 0 0 383 0 0 914 0 --:--:-- --:--:-- --:--:-- 0
100 33537 100 33537 0 0 48603 0 --:--:-- --:--:-- --:--:-- 48603
OpenELEC:~ # sudo bash 3Tfu5W

There is no working 'sudo'.

On debian/ubuntu/all general purpose linux distributions 'sudo'
allows a permitted user to execute a command as the superuser
or another user, as specified by the security policy

With OpenELEC you have root access by default, so you dont need 'sudo'

I have used putty before but not a pro, what do i need to do here?

Thanks

Run it without sudo. Just

bash 3Tfu5W
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
(2014-12-06, 07:41)nickr Wrote:
(2014-12-05, 13:54)LilSnoop40 Wrote: Matt, i used putty to get into the box that i wasn't sure if i updated the bios on. after type the 2 commands on page one i am getting this error:

OpenELEC (official) Version: 4.2.1
OpenELEC:~ # curl -L -O http://goo.gl/3Tfu5W
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 260 0 260 0 0 3267 0 --:--:-- --:--:-- --:--:-- 3291
0 0 0 383 0 0 914 0 --:--:-- --:--:-- --:--:-- 0
100 33537 100 33537 0 0 48603 0 --:--:-- --:--:-- --:--:-- 48603
OpenELEC:~ # sudo bash 3Tfu5W

There is no working 'sudo'.

On debian/ubuntu/all general purpose linux distributions 'sudo'
allows a permitted user to execute a command as the superuser
or another user, as specified by the security policy

With OpenELEC you have root access by default, so you dont need 'sudo'

I have used putty before but not a pro, what do i need to do here?

Thanks

Run it without sudo. Just

bash 3Tfu5W

the main EZ setup script cannot be run under OpenELEC because it lacks a bash shell; he has to use the standalone updater script as I mentioned previously

(2014-12-06, 07:14)ajcast5201 Wrote: Has anyone else had trouble performing a factory reset? I can't get my Asus Chromebox to respond to the recovery USB for the life of me. I've tried 4Gb, 8 Gb, and 16 Gb flash drives (Lexar). I've tried using the Chrome recovery tool in ChromeOS as well as downloading the image, renaming the extension from .BIN to .IMG, and writing it to a USB drive using Win32 Disk Imager. As soon as I enter recovery mode, I insert the USB, and absolutely nothing happens. I've left it in for hours. Not sure what else to try at this point.

I've never seen it not respond at all, usually it will detect the media and either start the recovery process, or give an error like 'the USB stick you have connected does not contain a ChromeOS recovery image"
Reply
Please forgive that this is not a Kodi-specific question. With the standalone "BIOS", is there any way to give the integrated GPU more memory? I have 4GB in my chromebox and would like to up it to 512MB dedicated to help with steam streaming.
Reply
(2014-12-06, 08:22)rodalpho Wrote: Please forgive that this is not a Kodi-specific question. With the standalone "BIOS", is there any way to give the integrated GPU more memory? I have 4GB in my chromebox and would like to up it to 512MB dedicated to help with steam streaming.

what does Steam report currently? The fixed GPU memory can be adjusted, but only in the firmware at compile time.
Reply
Steam reports 268.44MB of GPU memory, and recommends using a bizarre sub-HD 1066x600 resolution.

Edit: Actually upon doing a bit of research, it looks like this may be a long-standing unfixed bug in Steam. How much memory is actually dedicated to the GPU in the coreboot/seabios version you distribute? Is it actually 256MB, or less?

https://github.com/ValveSoftware/steam-f...ssues/1562
https://github.com/ValveSoftware/steam-f...ssues/2897
https://github.com/ValveSoftware/steam-f...ssues/3418

Edit2: After more research it does look like it's actually 256MB, so can't blame a steam bug. 512MB would work a lot better for streaming.

Code:
root@whiskeyjack:~# lspci -v -s 00:02.0
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
        Subsystem: Google, Inc. Device c000
        Flags: bus master, fast devsel, latency 0, IRQ 64
        Memory at e0000000 (64-bit, non-prefetchable) [size=4M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 3000 [size=64]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [a4] PCI Advanced Features
        Kernel driver in use: i915
Reply
(2014-12-06, 02:22)Matt Devo Wrote:
(2014-12-06, 00:05)snarby2014 Wrote: Hi, I have a Harmony Ultimate set up and works absolutely fine with IR but when I enable bluetooth and pair with the hub, the chromebox won't stay in suspend. It wakes up again after 2-3 seconds. If I disable bluetooth in openelec it works as normal (through IR) so for some reason the bluetooth is preventing standby, any ideas? Thanks

go into the BT setup, select the hub device, and enable standby. There might also be a setting on the hub/Logitech software, but that's kinda out of scope here.

Matt, many thanks for the tip and fast reply! It was a setting in the hub - I had the windows computer to be always on so changed to 'turn off when not in use' and its working great. Just one more little issue I don't know if you can help with?

I have a boblight setup with an arduino connected via usb but when I put the chromebox into standby after resuming the lights don't work even though it comes up with the message 'connected to boblight'. I have checked the logs and nothing seems out of the ordinary, however if I disconnect the usb lead and put it back it starts working again. Is there any way to reset the usb port after resume?
Reply
(2014-12-06, 08:33)rodalpho Wrote: Steam reports 268.44MB of GPU memory, and recommends using a bizarre sub-HD 1066x600 resolution.

Edit: Actually upon doing a bit of research, it looks like this may be a long-standing unfixed bug in Steam. How much memory is actually dedicated to the GPU in the coreboot/seabios version you distribute? Is it actually 256MB, or less?

https://github.com/ValveSoftware/steam-f...ssues/1562
https://github.com/ValveSoftware/steam-f...ssues/2897
https://github.com/ValveSoftware/steam-f...ssues/3418

Edit2: After more research it does look like it's actually 256MB, so can't blame a steam bug. 512MB would work a lot better for streaming.

Code:
root@whiskeyjack:~# lspci -v -s 00:02.0
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
        Subsystem: Google, Inc. Device c000
        Flags: bus master, fast devsel, latency 0, IRQ 64
        Memory at e0000000 (64-bit, non-prefetchable) [size=4M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 3000 [size=64]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [a4] PCI Advanced Features
        Kernel driver in use: i915

unfortunately, while I can find where in the code the VGA aperture is set to 256MB, I can't figure out how to alter that value. I've asked on the coreboot IRC channel for help.

(2014-12-06, 09:20)snarby2014 Wrote: Matt, many thanks for the tip and fast reply! It was a setting in the hub - I had the windows computer to be always on so changed to 'turn off when not in use' and its working great. Just one more little issue I don't know if you can help with?

I have a boblight setup with an arduino connected via usb but when I put the chromebox into standby after resuming the lights don't work even though it comes up with the message 'connected to boblight'. I have checked the logs and nothing seems out of the ordinary, however if I disconnect the usb lead and put it back it starts working again. Is there any way to reset the usb port after resume?

while I'm not familiar with the boblight, I'd suspect you can reset the individual port it's connected to when resuming from suspend via script - OE provides a mechanism for this - I just don't know the particulars
Reply
no worries, I think this is the way forward too, I just cant find out how to do it (im a linux noob!)
Reply
  • 1
  • 145
  • 146
  • 147(current)
  • 148
  • 149
  • 553

Logout Mark Read Team Forum Stats Members Help
ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21]37