Friday, 22 April 2016

Intel Atom HDMI Audio and Wifi on Ubuntu 16.04 LTS

UpdateThis work is superseded by my 'isorespin.sh' script which can respin an official ISO suitable for use on Intel Atom devices.

Example ISOs using my ‘isorespin.sh‘ script suitable for Intel Atom and Intel Apollo Lake devices are available from http://linuxminipcs.com/isos

If anyone wants to try out the new Ubuntu 16.04 LTS on their Intel Compute Stick but would also like sound and wifi then I've created a patched kernel.


First download and install Ubuntu 16.04 and then download the file 'linuxium-patch-xenial-ics.sh' and enter:

sudo chmod 700 linuxium-patch-xenial-ics.sh
sudo ./linuxium-patch-xenial-ics.sh

This will install my patched kernel together with the required wifi firmware. As it is a patched kernel it means it will not get any automatic updates from Canonical so it should only be used for testing purposes. Currently only Intel Compute Sticks are supported.



It is also still in development and as everything is extremely new not everything has been exhaustively tested so your feedback is appreciated.

Credit goes to Pierre-Louis Bossart for the original HDMI audio patches which I've backported to the current 'xenial' kernel and to Bastien Nocera (hadess) for the wifi source.

31 comments:

  1. will it work on original Meegopad (T01)?

    ReplyDelete
    Replies
    1. I'm currently testing on the Intel Compute Sticks (Baytrail Z3735F & Cherrytrail x5-Z8300). Feedback and/or "level of interest" will determine whether it is worthwhile investing any further effort into this.

      Delete
    2. Please post your kernel debs so we can use them with other devices.

      Delete
    3. Hey, is there any chance of the patched kernel working on an Acer Switch 10V (SW05-14)? It has the same Cherry Trail CPU, x5-z8300. Works almost flawlessly other than WiFi, Sound and battery indicator (shows up as power supply).

      Delete
    4. Hello and thank you for your work on the Cherry Trail issues Linuxium! Running an AZW Z83V miniPC here reformatted from Windoze 10. I first tried your linuxium-atom-ubuntu-16.04.4-desktop-amd64.iso which would find sound hardware and bluetooth but would not stream bluetooth audio correctly (it stutters). WIFI worked when I applied the nvram patch. Because I couldn't get bluetooth audio to work correctly, I tried your linuxium-atom-bionic-desktop-amd64.iso next (fresh formatted install) but it won't recognize WIFI without patching....it recognizes my bluetooth speaker but won't stream anything....it does not recognize my audio hardware at all. I let Ubuntu update after installing - is this the likely issue?
      Do I understand correctly that the linixium.iso's are already kernel patched? I've been reading your blog and replies but am not quite sure about the process of implementing your .iso Thanks

      Delete
    5. To clarify my current ISOs now use official kernels however they may have different kernel versions and different kernel versions obviously have different levels of official kernel patching. I no longer provide patched kernels as the patches have all been 'upstreamed'.

      What is being seen is that different official kernel patches change what works and what doesn't and whilst normally things improve some things now require userspace modifications or additional software and firmware.

      Where a device's hardware and/or BIOS has been/appears to have been 'fudged' to get Windows working some new kernel patches break existing Linux functionality. Unfortunately the kernel patches are correct (as in they don't cater for 'fudges') and the breakages need to be fixed either with BIOS updates or in some cases modifications to the userspace.

      The Beelink (AZW) BT3/BT3 Pro/Z83V family of devices seem particularly problematic at the moment and as nobody who understands the issues seems to own one then fix recommendations are few and far between. Because I don't have the device it is rather hard to diagnose what the problems are and how to fix them.

      However Beelink did sell these devices with Ubuntu as the installed OS so in theory should be able to help. They do have a support forum which is probably the best starting point.

      Alternatively try fixes and suggestions from the various postings and comments here in the hope they may work or Google to see what else might be out there.

      It is unfortunately one of the key shortfalls in purchasing a cheap device that may not be popular with developers and doesn't come with any product support.

      Delete
  2. Would there be any universal solution for the Baytrail tablet "Black screen on boot" issue. Tried all sorts of things from:
    http://florian-berger.de/en/articles/i915-black-screen-on-boot-issue/
    http://askubuntu.com/questions/136593/how-can-i-fix-broken-i915-drivers-for-intel-gpus
    https://wiki.ubuntu.com/Kernel/Debugging/Backlight
    http://ubuntuforums.org/showthread.php?t=1744809
    etc etc
    but it seems that only "nomodeset" can produce output on internal display (800x600).
    One possibly interesting thing that I came across when I boot with "nomodeset" might be that the command "lshw -C video" produces output which apart from other stuff indicates "width: 32 bits" even though I boot a 64bit operating system. Of course it is 32bit UEFI and boot involves "bootia32.efi". Apologies if this is irrelevant, I am only a hobbyist and a poor amateur:). Thanks

    ReplyDelete
    Replies
    1. I always cold boot to prevent any 'hanging' issues.

      Delete
    2. tried that, same thing. luckily, hdmi always outputs well, which is a good fallback for ruining the fs. dmesg report wrong gpio pin somewhere in the graphics section. chestermills is installed.

      Delete
  3. After install on Intel Compute Stick STCK1A32WFC - kernel is not loaded - is freeze on step "Loading initial ramdisk ..." - Any idea for fixit? Update your kernel?

    ReplyDelete
    Replies
    1. Does it boot from a cold boot (i.e. unplug device and any peripherals, re-connect, power-up and boot using F10)?

      Delete
    2. I tried cold boot and the same error. Now am downloading ISO-16.04-linuxium - after install - i write feedback

      Delete
    3. The same problem with your 16.04-ics-ISO - system not boot - freeze - original ISO is normaly booted

      Delete
  4. just had something similar an hour ago. pressed esc on booting, advanced options, booted into recovery on earliest kernel, chose safe graphics mode, used synaptic to fix broken packages. then shutdown. then booted that kernel normally. the rest depends, i guess

    ReplyDelete
  5. Hi Ian, I am working on XJUbunTAB and your work is very useful. I think that we can all benefit from sharing knowledge between tablets and miniPCs users with Intel Atom CPUs
    http://techtablets.com/forum/topic/linux-on-atom-based-devices/

    ReplyDelete
  6. Update: This work has now been superseded. Please see http://linuxiumcomau.blogspot.com.au/2016/04/ubuntu-1604-iso-for-intel-atom-compute.html for my updated ISO.

    ReplyDelete
  7. Hello,
    how can i download the patch ( linuxium-patch-xenial-ics.sh )
    Thanks et bravo

    ReplyDelete
    Replies
    1. The patch been superseded. Please see http://linuxiumcomau.blogspot.com.au/2016/04/ubuntu-1604-iso-for-intel-atom-compute.html for my updated ISO.

      Delete
    2. Ok i have download the ISO but i have a blank screen.
      I have a wintel W8 pro with a x5-z8300
      the ISO is compatible with my mini PC ?

      Delete
    3. This ISO is specifically for Atom based Intel Compute Sticks.

      Delete
    4. Then can you reupload the patch so we can use the fix on other devices than your small list of compute sticks? Or your kernel .debs? I've got a Z3735-based minipc that I'm tinkering with to get HDMI audio working and the ISO is giving me the blackscreen on boot issue mentioned above.

      Delete
    5. The list is small as this is what I've got. Blame the manufacturers for not supporting the community.

      Delete
  8. Hi Linuxium!

    Can you send me the patched kernel (deb) for install in my custom 16.04? I have an imagen with aaaaall the system (Ubuntu 16.04) configured, with a lots of programs, emulators, etc., and I can't spend time again to configure all with your ISO.

    Furthermore If I try to patch de kernel (http://www.cnx-software.com/2016/05/26/updating-star-cloud-pcg02u-to-ubuntu-16-04-with-wifi-and-hdmi-audio-support/) finally I had an error :(

    And I tried boot ubuntu with your image and no luck, hang after grub.

    So...can you send me the patched kernel deb? pelusin.top@gmail.com

    Thanks in advance for all your work ;)

    ReplyDelete
    Replies
    1. This ISO is specifically for Atom based Intel Compute Sticks.

      Delete
  9. Update: This page refers to earlier work and my latest ISOs can be downloaded from http://linuxiumcomau.blogspot.com.au/2016/06/running-ubuntu-on-intel-compute-stick.html

    ReplyDelete
  10. Lubuntu 16.04 iso for the atom compute stick? are avaliable on somewhere???

    ReplyDelete
    Replies
    1. Have you tried respinning the official Lubuntu 16.04 ISO using my 'isorespin.sh' script?

      Delete
  11. I tried to install both linuxium atom isos (16 and 18) on an Intel Compute Stick (STK1AW32SC). Impossible to play videos on Youtube and others (Dailymotion etc...) advance 20 seconds by 20 seconds. It's not working

    ReplyDelete
    Replies
    1. You may get a slightly better performance using Lubuntu as this is less resource hungry otherwise Windows Edge works better for Youtube videos than Ubuntu Chrome/Firefox due to encoding issues.

      Delete
  12. I burnt linuxium-atom-ubuntu-16.04.4-desktop-amd64.iso with Rufus onto a USB memory and installed Ubuntu on my Kruger&Matz Explore 1402 laptop (has Intel Atom X5-Z8300). It installed just fine but there is no Wifi. I also installed original ISO images of the newest Lubuntu, Xubuntu, Deepin and Linux Mint. All of them installed just fine and not one of them works with WiFi. All of these systems just say that Wifi device is not found.

    ReplyDelete
    Replies
    1. Can you use pastebinit to post a dmesg after booting?

      Delete