Community
cancel
Showing results for 
Search instead for 
Did you mean: 
WLewi2
Beginner
869 Views

How do I make the power button work on headless Ubuntu?

I am running Ubuntu 14.04.3 LTS on the Windows 10 version of the compute stick using https://plus.google.com/+IanMORRISON/posts/igAkD5j3MAq Ian Morrison's build. My application for the stick has it running headless, so I used the instructions in /thread/76913?tstart=0 this thread to accomplish this. I'd like to be able to cleanly power down the stick without hooking up a keyboard and monitor, but tapping the power button has never worked ever since I installed Ubuntu. Holding down the button for a couple seconds works, but that's a hard shut down. Does anyone have any ideas on how to make tapping the power button shut down the stick cleanly?

0 Kudos
5 Replies
IUman
Honored Contributor II
34 Views

You can try updating the BIOS to the latest https://downloadcenter.intel.com/download/25506/BIOS-Update-FCBYT10H-86A- BIOS version, please follow the BIOS update instructions here:

http://www.intel.com/content/www/us/en/support/boards-and-kits/000005850.html F7 BIOS Update Instructions for Boards and Kits

Please be aware that if the unit came with Windows 10 and you install Ubuntu this has not been validated and any error can be expected.

http://www.intel.com/content/www/us/en/support/boards-and-kits/intel-compute-stick/000005899.html Supported Operating Systems for Boards and Kits

There is a version that comes with Ubuntu 14.04 LTS* (64-bit) already installed you can see it at the link I provided above.

Regards!

Ivan

WLewi2
Beginner
34 Views

As I explained, I followed the directions in the linked thread to make the stick run headless. This includes a BIOS upgrade (see comments 20 and 21). The BIOS upgrade did allow me to boot the stick headless, but it didn't make the power button work. As far as Linux's ACPI system is concerned, systemd-logind isn't getting any signals from the power button at all.

The version that comes with Ubuntu preinstalled is not an option as I need the extra RAM and storage for my application.

Is the hardware on the Ubuntu version any different from the Windows version other than the RAM and eMMC size? If not, you really should just post the Ubuntu build you'll support. Or just offer the better hardware with Ubuntu.

IUman
Honored Contributor II
34 Views

I would recommend that you check on the following post:

Information about validated Operating Systems for Intel Compute Stick would be here: http://www.intel.com/content/www/us/en/support/boards-and-kits/intel-compute-stick/000005899.html Supported Operating Systems for Boards and Kits

Ubuntu requirements do not need more than the hardware provided, also there is price difference.

Regards,

Ivan

WLewi2
Beginner
34 Views

I have the system booting headless with no problem after following the directions in the thread I linked to. I only mention it because there is no user interface in my application and I would like the button to work. Linking to another resource to solve a problem I've already solved is not helpful if it doesn't address the problem I'm actually asking about (making the power button work). If it's not about making the OS see power button presses and acting accordingly, it is not relevant.

Furthermore, I am aware that Ubuntu has more modest requirements than Windows. My application RUNNING on Ubuntu needs the extra RAM and storage. I am aware of the price difference.

IUman
Honored Contributor II
34 Views

In this case I recommend waiting for somebody else to post here with similar issue and how they were able to make the power button shut down the Intel(R) compute stick cleanly.

Regards!

Ivan