Saturday 28 January 2017

Updated: Bleeding edge Ubuntu 4.10.0-5.7 kernel with 17.04 pseudo Alpha 2 ISO

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

Please note my blog is intended to be the 'dynamic' update content partner to my 'static' core content pages on my website. This particular post relates to my page where I've created some Ubuntu ISOs whose purpose is to better support Intel Atom based devices. 

Whilst Ubuntu flavours released their second alpha of the Zesty Zapus (to become 17.04) today, Ubuntu continues with daily releases until the final beta in March (see

So I've created a pseudo Ubuntu Alpha 2 based on the official daily release for the 27th January which is the same date as the released Ubuntu flavour Alpha 2 releases and I've created a Lubuntu Alpha 2 based on the official release.

I've replaced the included kernels with my latest bleeding edge patched Ubuntu 4.10.0-5.7 kernel from Canonical which is based on the mainline 4.10.0-rc5 kernel. I've added Pierre-Louis Bossart's latest patches for the HDMI LPE audio driver and RT5640 audio support, together with Hans de Goede's patches for PMC platform clocks, PMIC I2C bus semaphore implementation and Power Management IC AXP288 support for Bay Trail and Cherry Trail devices.

Also included is additional wifi support including Bastien Nocera's RTL8723BS driver, support for the Atheros AR6004 HW3.0 driver used on the Dell Venue Pro 11 Baytrail, and Broadcom 4330, 43430 and 43340/43341 support. Bluetooth support includes Larry Finger's code for RTL8723BS with a patch from Laszlo-Fiat.

Finally I've included patches to fix various issues like the CUBE iwork8 Air tablet getting stuck on booting and the persistent freezing issue with a patch from Mika Kuoppala. If freezing still persists Len Brown suggests adding "intel_idle.max_cstate=2" as a kernel boot parameter which enables Core-C6 but disables module/package-C6 as he has found this is still required for the ASUS Transformer Book T100 Chi.

My latest kernel and ISOs address a lot of outstanding issues when trying to run Ubuntu on Intel Atom based devices. For the first time ever I've now seen working bluetooth on Bay Trail Realtek chip based devices like the Meegopad T02 and Star Cloud PCG02U. Also bluetooth on Broadcom chip based devices like the Tronsmart Ara X5 works as does HDMI audio on the Mini Neo Z83-A.

Some peculiarities from being an Alpha release exist such as the installation not recognizing previously installed OS so until this is fixed in the official ISO it is best to use 'Something else' and manually partition as per your needs for example when dual booting with Windows. But I have fixed the installation error that prevented an LVM installation (with/without encryption) using the official ISO.  Prior to embarking on an encrypted LVM installation you should first open a terminal session and turn off swapping using the command 'sudo swapoff -a'.

Overall these are the closest to a fully working Ubuntu ISOs for a wide range of Intel Atom devices from stick to mini PCs and tablets than anything previously released. Note I recommend installing the ISO rather than using the kernel update script as it includes the necessary 'userland' files for audio, wifi and bluetooth. By simply performing a kernel upgrade you may not get the same level of functionality that a fresh install from my ISO will provide.

The links below (in red) have been updated for downloading the latest i.e. version 3.

To try an ISO download it from the link below (in red) and write it to a USB using either 'Rufus' in Windows or 'dd' in Linux.

Ubuntu 17.04 pseudo Alpha 2 (Version 4 superseded)
Ubuntu comes with everything. All the essential applications, like an office suite, browsers, email and media apps come pre-installed and thousands more games and applications are available in the Ubuntu Software Centre.

Lubuntu 17.04 Alpha 2 (superseded)
Lubuntu is a fast, energy saving and lightweight variant of Ubuntu using LXDE. It is popular with PC and laptop users running on low-spec hardware.

To turn on wifi for mini PCs with Broadcom wifi chips it is often necessary to reload the driver. In a terminal window enter 'sudo modprobe -r brcmfmac' followed by 'sudo modprobe brcmfmac'.

Because my ISOs include a patched kernel to address the missing functionality of the official ISOs it means no automatic Ubuntu kernel updates are provided. Consequently I've also developed a manual patching process where a script can be downloaded and then executed to update the kernel to match the official releases. As such my kernel update scripts are not intended to update the kernel installed on other Linux installations. Primarily because you would be missing the 'userland' files required for audio, wifi and bluetooth and the resultant environment may be unstable or worse. 

For the sake of completeness I'm including the kernel upgrade script which matches the kernel version included in my ISOs. The normal requirement would be to upgrade the existing installed kernel (created from my ISO or as a result of a previous upgrade) to the later version provided by the script. To use you would download the shell script and after making it executable (enter 'chmod 755 <script>') you then install it as 'root' (by entering 'sudo <script>'). Once the script has finished executing the device would need to be rebooted to use the updated (patched) kernel.

4.10.0-5.7 (Version 4) (superseded)

Don't forget when making a comment to include the name/model of your device and if reporting a technical issue please include a copy of the output from 'dmesg' by sharing the log using 'pastebinit' or similar.


Unknown said...

Prestigio Smartbook 116A: WIFI ok, sound works (some issues at control panel "Sound" - duplicate strings "MonoSpeaker playback"), HDMI output - no sound. Nevetheless it's the best linux for the moment. Good job! Thank you.

Unknown said...

I'm following your releases in order to have my laptop (obook 11 v5) working with a GNU/linux kernel; now the battery indicator shows up, but no wifi/bt/audio/touch and some other little things :D

If it helps I've run the script of this guy:

here's the output:

to sum up my current situation, hope it could help you.
Keep going the good work!

Alsetema said...

In the Yepo 737s It doesn't boot, black blank screen on both, but on the "Try Ubuntu first" option, the screen stays on, but nothing shows up, and in the Install Ubuntu option, the screen straightaway turns off.

Hopefully the thing is not a major problem.
Regards, Alsetema.

darvd29 said...
This comment has been removed by the author.
Danijel Posilovic said...

Any news on updating git source with latest patches ?

darvd29 said...

Hello man,
It's awesome! Please make Lubuntu version for my weak laptop :D

Unknown said...

On my Asus Vivotab 8 M81C, the wifi is now working (previously not working on 16.10 32bits) but the installation is stuck, I got an error status 1 when the installation is configuring the grub-amd64. Maybe the 32bits version of Ubuntu 17.04 like 16.10 I have installed may work.. please release the 32 bits version I could test it on my tablet. :)

Thank you for your work !
It's very cool to have Linux running on tablet !

Linuxium said...

Please try version 2 to see if this helps.

Linuxium said...

Thanks for the 'pastebin'. For the wifi issue please copy across the Windows driver file stored in NVRAM. For example look for a file something like '/sys/firmware/efi/efivars/nvram-74b00bd9-805a-4d61-b51f-43268123d113' and then copy it using 'cat /sys/firmware/efi/efivars/nvram-74b00bd9-805a-4d61-b51f-43268123d113 > /lib/firmware/brcm/brcmfmac43430-sdio.txt'. Substitute the NVRAM filename your find for the 'nvram-*' filename in the command. Also please try version 2 to see if this fixes audio.

Linuxium said...

Hopefully my version 2 will work better.

Linuxium said...

It is now finally on github. For some reason the upload was taking an excessive amount of time and was getting cancelled by reboots for backup etc. Yesterday's upload took an astonishing eight hours to complete.

Linuxium said...

I'll be releasing a Lubuntu Alpha 2 respin once I've had feedback on the how my Ubuntu 4.10.0-5.7 kernel performs.

Linuxium said...

I'm not sure what the problem was but please try again with my version 2 above and see if this fixes the issue.

ndg_2000 said...


I'm having the same problem as Rocky Signavong with installing the latest version to my Linx 1010b. I have cleared the UEFI partition of all previous installs of Ubuntu and know i don't need to clear NVRAM as the boot menu is populated every time on boot. the install throws the error on the Signed 64 bit efi file. Im currently downloading the new update so hopefully his will fix it

many thanks for your continued work


darvd29 said...

Man awesome, idk how you did it but it fixed ASUS T100HA display problem. In previous versions and any other distros display wouldn't work without "nomodeset" but yours works after deleting "quiet splash" from grub settings.

Gonna try version 2 now :D Thank you and waiting for Lubuntu update!

ndg_2000 said...

i just tried to install again with the updated iso with the same problem please follow below link for the bug report i believe it should have enough info

Unknown said...

I tried the version 2 above as you suggest and I still have the same error.
Step :
Configuring grub-efi-amd64-signed (amd64)

Error Installing grub-efi-amd64-signed
subprocess installed post-installation script returned error exit status 1

I think my tablet doesn't support grub-efi-amd64 but only i386 version but I'm not sure.

codemonkey82 said...

HP Stream 7:


Wifi: Works
Bluetooth: Not tested, but was detected
Sound: Works. Has separate devices for internal speaker and headphones
Touch: Has issues. Sometimes a release of the finger is not detected. Also, when rotating the display via settings, the touch input will not be translated to the new state of the display (e.g. pressing left uppper corner is presented by pressing the left lower corner)

darvd29 said...

Same problem on my ASUS T100HA - touchscreen does not rotate with display.

ndg_2000 said...

This tablet has 32bit uefi.

Unknown said...

I didn't understand well what you asked me, maybe because I forgot to tell you that I deleted the (crappy) original windows 10 installation of that chinese notebook and I reinstalled a new clean w10 with every driver needed for every device. However a friend of mine (bless him) provided me with this:
and told me to save it's content in a temp file to use in the first part of your command:
"cat temp > /lib/firmware/brcm/brcmfmac43430-sdio.txt" but the wifi still remains dead.
The new kernel didn't helped with the audio, still mute.

p.s. I also tried the overwriting of "brcmfmac4330-sdio.txt" because that's the file the tab autocompletes in that folder.

p.p.s. at some point I made something huge because I couldn't do anything even with sudo commands (permission denied everywhere), I rebooted with gui and the os was not loading (tried some workarounds to fix "The system is running in low-graphics mode" but I failed), so I installed lubuntu and lost the win partition.

harryharryharry said...

Excellent iso !! Installing Linux on the Asus X205TA used to be a pita, but almost everything works out of the box !

I found some issues that have plagued the machine for a long time that also seem to affect this iso:
- wifi breaks after suspend (a workaround I use is blacklisting btsdio)
- touchpad breaks after suspend (a workaround I use is to reload elan_i2c)
- sometimes suspending leads to inability to resume (which, btw, can only be done by clicking the touchpad)

Sadly for the last point I have not yet found a fix or workaround, and it's a pretty serious point…

dmesg after suspending (and thus breaking touchpad and wifi):

(on a sidenote, headphones are not working yet. But maybe this is because Pierre Bossart fixed this pretty recently)

Linuxium said...

Thanks. I've found the issue and I'm working on a solution.

Linuxium said...

Thanks. I've found the issue and I'm working on a solution.

Linuxium said...

After copying the file with the command "cat temp > /lib/firmware/brcm/brcmfmac43430-sdio.txt" did you then enter 'sudo modprobe -r brcmfmac' followed by 'sudo modprobe brcmfmac' as this seems to be required to start wifi?

Sound is a separate issue and I am working on that at the moment.

Unknown said...

Thank you very much for these patched isos and kernels. I am able to run stable linux on my Cenovo Mini PC (4GB/64GB).

Kernel get better and better but I am still not able to use wifi (should be BCM43430 according to windows drivers).
Dmesg output attached - it detects emmc1 device but do not even tries to download a firmware for it...

Unknown said...

I am using latest 4.10.0-5.7 (Version 2) kernel with Ubuntu 16.10 Yakkety

Unknown said...

Yes of course, no networking device.

Unknown said...

Can I use kernel upgrade 4.10.0-5.7 (Version 2) on your ubuntu 16.10 iso installation?

Unknown said...

Yes, it works. In my case it works better than 4.8.0 Yakkety kernels

Linuxium said...

This is now fixed in version 3.0 above.

Linuxium said...

This is now fixed in version 3.0 above.

Linuxium said...

Version 3.0 above help with your sound issue.

Linuxium said...

In the past I have disabled suspend although this is more of a work around than a fix. As I don't have an Asus X205TA its difficult to guess what will and won't work. Is there a specific fix I should look to include for working headphones on that device?

ndg_2000 said...

huge thank you i now have a working install of UBUNTU on my LINX 1010b WIFI Battery management bluetooth, sound, detachable keboard touch pad all work.

Had to rotate screen manually and this doesn't rotate the screen touch pannel but i can live with that as i use this as a mini laptop.

thank you again


harryharryharry said...

Yeah disabling suspend pretty much the only safe choice if you're working on something important, which is a pity.

I think headphone output was fixed by these commits (still no jack detection though):

Unknown said...

>>>Linuxium 1 February 2017 at 01:20

>>>For the wifi issue did you copy across the Windows driver file stored in NVRAM? The file should look something like '/sys/firmware/efi/efivars/nvram-74b00bd9-805a-4d61-b51f-43268123d113' and you should copy it using 'cat /sys/firmware/efi/efivars/nvram-74b00bd9-805a-4d61-b51f-43268123d113 > /lib/firmware/brcm/brcm/brcmfmac43241b4-sdio.txt'. Substitute the NVRAM filename your find for the 'nvram-*' filename in the command.

OK, I did exactly that, using the version 3 alpha2.
Yes, I got the wifi working as per the above, copy the NVRAM file over and redo modprobe. The filename for the NVRAM matched what you had above.

I checked other functionality: This is an Acer Switch 10, model is SW3-013 , NT.MX1AA.007.
Bluetooth: not working, and it might be the same broadcom device as the wifi.
Touchscreen: working touchpad and keyboard: working.
battery indicator: working
audio: not working.


If I can provide more info to help out, please let me know.

Unknown said...

mmm ok thanks!
Black screen for me after upgrade.
I'll try 4.10.0-5.7 (Version 3).

I have ubuntu 16.10 with kernel 4.9 on Teclast x98 plus 3g

Unknown said...

Hello guys, for me (2 in 1 tablet thomson THBK1-10.64DB)
try ubuntu works. But unable to instal (app crash at start)

Best regards

Linuxium said...

I've uploaded a slightly modified ISO (Version 3 revision 2 above) that includes a minor change to the bluetooth systemd service specifically for Broadcom chipset devices. Please try this one to see if bluetooth now works on your device.

Linuxium said...

Is this error repeatable and if so can you provide further details as I cannot replicate it myself?

Linuxium said...

Thanks, I'll take a look at them. Soon the kernel will double in size due to all the platform-specific quirks for Bay Trail and Cherry Trail devices!

TranceLove said...

Test with GPD WIN (Z8700,4G,64G)

With 17.04 ISO downloaded form here:
Audio OK, Bluetooth detected, wifi not working
Wifi detection failure log messages:

With Ubuntu 16.04 (Maui actually) and kernel posted here + UCM files from
Audio OK, Bluetooth not detected, wifi not working
dmesg showed the same messages above

With Ubuntu 16.04 (Maui actually) and stock 4.4.0 series kernel + UCM files from
Audio not detected, Bluetooth not detected, wifi working

With above 3 cases, all had this file copied into /lib/firmware/brcm:

TranceLove said...

For touchscreen not behaving properly with rotated screen, you may need to use xinput to change the coordinate transformation matrix.

YMMV. For my GPD WIN as example, I turned the screen 90 degrees clockwise, but eventually I found I need to change the coordinate transformation matrix 90 degrees counterclockwise so the touchscreen would behave properly...

Once you found a combination that works, may add the xinput command into your display manager's init script, e.g. /usr/share/sddm/scripts/Xsetup if you are using sddm as your display manager.

Unknown said...

Well, I've finally made the WiFi working! A bad combination of BCM43430 firmware (brcmfmac43430-sdio.bin) and txt file (brcmfmac43430-sdio.txt) file caused weird/no error behaviour. Thank you very much!

Unknown said...

Sure it did!

I used the new version 3 revision 2.
The Bluetooth worked right away.

The wifi function again worked after copying the NVRAM over and re-do of modprobe.

Again, I have uploaded dmesg of today's session at

and I noticed that pastebinit of the NVRAM didn't offer you anything useful becuase of unprintable chars in the file, so I used uuencode.

Here's a 64-bit uuencode of the nvram-74b00bd9-805a-4d61-b51f-43268123d113 file from /sys/firmware on this tablet PC:
You should be able to reverse the uuencode at your end if you need the file.

the wifi works normally after copying over the nvram and redo of modprobe.

the bluetooth seems to work normally.
I paired to a BT keyboard and used the keyboard.
I paired to an audio device and used it to get some sound output, and the audio device was controllable through the normal sound settings.

I tried to pair to a BT mouse, that failed, but I think it's the mouse that is incompatible. It is called rocksoul BT mouse (ms-102ssbt). I read where people have trouble with this mouse with Apple OSx I can't find any other BT mice in the house to try. If I find other BT input device, I will try it.

Unknown said...

I did find another Bluetooth device to test with, it looks like a pen and acts like a mouse, it's called penclic mouse, and it pairs and works. I think the Broadcom bluetooth works fine.

ndg_2000 said...

Thank you for this when I get my head around it I will give it a go

Unknown said...

Wifi seems to work now, audio still dead. (Version 3 rev 1)

Unknown said...

There was a problem with partitions (EFI, /, and swap). Most of thing work now, except :

microsd slot,
internal micro,
mini Hdmi (video and sound),
rotation display,
multitouch (touch like mouse work),
webcam front and rear (front red led on),
and finaly headphone without selecting entry preferences.

thank read and support us.

Any ideas ?

Best regards.

Unknown said...

Hi! Here via the Asus X205TA thread on the Ubuntu forums. Just ran your script to install the kernel and got some error messages, which I've pasted here:

dmesg output:

Not working: sound, screen brightness function keys
Working: Bluetooth, WiFi (sort of. It's very spotty, disconnects every few minutes).

I'm using elementary OS Loki (based on Ubuntu 16.04) on the Asus X205TA. I'll give the ISO a whirl, but would rather just use the kernel. I tried opening the script in nano, but got some kind of encoding error, lots of weird characters.

Please delete if this is a double post! Like I said, spotty wifi.

Linuxium said...

You raise an interesting point which I've tried to address in the past however your comment re-highlights the issue: anyone coming to my blog starting from the latest post inevitable means they miss some of the rational, scope and background to my work.

In summary my blog is intended to be the 'dynamic' update content partner to my 'static' core content pages on my website. This particular post relates to my page where I've created some Ubuntu ISOs whose purpose is to better support Intel Atom based devices.

Because my ISOs include a patched kernel to address the missing functionality of the official ISOs it means no automatic Ubuntu kernel updates are provided. Consequently I've also developed a manual patching process where a script can be downloaded and then executed to update the kernel to match the official releases. As such my kernel update scripts are not intended to update the kernel installed on other Linux installations. Primarily because you would be missing the 'userland' files required for audio, wifi and bluetooth and the resultant environment may be unstable or worse.

So returning to your comment, the errors experienced from running the update script are as expected given the circumstances you describe. If you would like to try Ubuntu on your Asus X205TA I recommend you try my pseudo 17.04 Alpha 2 ISO. Perhaps not everything will work however it should be better than the official daily release of the same date.

Linuxium said...

From what I can see the loss of wifi with kernels greater than 4.4 is a known issue. I'll put it on the todo list.

Unknown said...

Oh, I see! In my case, long-term kernel updates are probably not going to be an issue, as most stuff works out of the box and the fixes will be included in later kernel versions eventually. I'll try out your ISO.

ndg_2000 said...
This comment has been removed by the author.
ndg_2000 said...

Hi just managed to get the touch screen to rotate correctly (same as you counterclockwise) but I haven't been able to find the /usr/share/sddm folder to add this to Xsetup.

I will have to apply this manually after boot.

Thanks for the tip

TranceLove said...

As said, your mileage may vary. There are too many ways to put the command in - xinitrc, xsession, lightdm (most Ubuntus use it)'s own init scripts, even a xorg.conf.d snippet. It all depends on the distro you are using.

Good luck and have fun finding the way that works for you... ;)

darvd29 said...

Man you're the best - add rotating touchscreen option and your Linux will be complete :D I mean when I rotate screen on my ASUS T100HA then touchscreen doesn't rotate with it so its impossible to choose anything correcly.

Unknown said...

First I want to thank you for your support in providing us with a ready to install and use Ubuntu tweaked for tablets,
I have a TreckStor SurfTab Wintron 8.0. I remove windows 8.1 and install your Ubuntu Mate 16.10. Screen + touch, USB, SD are working. Wireless, Bluetooth, Audio, Battery Level Meter, Front and rear webcam not working. I test your Ubuntu 17.04 Alpha 2, version 3, and Wireless (RTL8723BS), Bluetooth (RTL8723BS), Audio (ALC5640), Battery level meter (AXP288) start working, Front and rear webcam also not working.
As noted for issue is the battery level meter (using AXP288) appear as second battery so preventing standby when level meter is too low, as it also counts the "default battery" witch appear 100%. Second issue is screen on boot is initialized improperly, so it appear nu-synchronized (incorrect horizontal position) most of times, but it can be re-sync by logout or adjust and revert back the display settings. The third and most important issue, the OS is very unstable it crash if you work on settings like display audio, ... so I wait for a Beta version, preferably a Mate one.
In the end I am happy that things progress step by step, so soon I will have my favorite OS with all hardware supported on my tablet, (I do not care about webcams).
Thank you,

darvd29 said...

On ASUS T100HA display brightness control still doesn't work and it makes battery drain very fast :(

Unknown said...

It's works perfectly ! Thank you !!

Mary said...


I've used the 16.10 Mate on my HP Stream 7, there sound and BT are not working but rest seems good. After kernel update ((4.10.0-5.7 (Version 4)) sound was still not working but the touch got some issues (release of finger it not detected some times, ..).

Then I used the 17.4 (V.4). There sound is working but touchscreen hat still same issues.

Someone an idea what happens to touch? I can try to provide more / specific information if needed.

darvd29 said...

Also I can't get online videos to work, like YouTube. They load etc but are freezed on a frame and won't play.

Unknown said...

It happens when you change the audio settings from speaker to jack or bluetooth, if you use bluetooth switch to A2DP from default, incorrect settings prevent playing with audio in browser.

Unknown said...

Just to clarify a little bit my post, I have Ubuntu Mate 16.10 on my tablet from couple of months, testing of 17.04 Alpha 2 version 3 it was done only from USB live image, (without installing), so maybe some or all of this issues are no more existent after installing.

Unknown said...

I have done another thing, install only the kernel over Ubuntu Mate 16.10, so same issue with display out of horizontal sync on boot (witch prevent me using for log in the on screen keyboard, as touch and display is out of sync), same issue with double the battery, but this time the only improvement is the battery level meter (AXP288), the others remain un-functional (as you mention because of user-land files missing) Also some other same issues like other people, like display rotation and adjusting the back-light (I will test later Version 4)

Unknown said...

Vesion 4 tested back-light level adjusting also not working for me. I also revert back the kernel to one used on 16.10 otherwise I can't login without keyboard as display out of sync and on screen keyboard can't be used

darvd29 said...

Thank you, default sound device was wrongly chosen and now it works :) Thanks again!

ndg_2000 said...

thanks for all of the above info i will need to do a lot more research before i try and automate the rotation. i feel like a monkey wearing boxing gloves punching the keyboard in Linux/UNIX environments but I'm learning
thanks again

darvd29 said...

Well I'm a bit spamming but I wanted to say thank you for Lubuntu update. It made my screen work on T100HA and the only thing missing is brightness support (tried Alpha 4, didn't work). Waiting for next update and thank you again, you just made my laggy device a beast :D

Mary said...

Here's the dmesg output:

Anonymous said...

Hi. It's possible to have the patch list for the modified kernel? Thanks for your hard work! :)


Mary said...

I've tried compiling new module for the touchscrren (described in It feels a bit better, but still unusable.

Jor3l said...

Hello, does this iso work with the Android Mini PC? Thanks!

Christian Sandera said...

hello sir!

i wanna say thank you for your hard work. i am using your special lubuntu on my mini-pc with atom x5-z8350 processor and because it works so great i want to use it on my lenovo yoga tab 2, but there is no sound. if it would help to fix it, i can send a pastebin or whatever you need ...

friendly regards

darvd29 said...

First of all, thanks for your work :) Secondly - screen brightness control and bluetooth don't work on ASUS T100HA and your Lubuntu alpha. BT says no adapters found and can't find any nearby devices.

Linuxium said...

@darvd29: Can you test backlight on please?

gosa said...

So you're saying screen rotation works correctly now?
Can the T100HA be used as a laptop in landscape mode?

darvd29 said...

Yes, using xrandr you can rotate screen without problems because it boots with nomodeset. Although this only lasts one session, you can make an autostart script that launches and rotates screen every boot.

Personally I installed Cinnamon GUI and it has built-in display rotation in System Settings and that's persistent so that's how I worked it out but if you want to stay with LXDE then like I said you gotta make that script or mess a little bit with x conf :)

darvd29 said...

I meant it boots without nomodeset, sorry :D

gosa said...

that's nice to know... how do you experience the performance of Cinnamon comparing with Windows 10?

Knowing Cinnamon from my time with Linux Mint it is one of two options I'm thinking about. The second one is Openbox/Tint2 which I also like a lot...

darvd29 said...

Lubuntu with Cinnamon is using like 600MB RAM idling when Windows used at least 1,2GB idling. I think that says it all :P

It boots a little bit longer (idk how much, 15 secs maybe?) but otherwise works much better and if you open a lot of tabs in web browser (I usually work on 10+) then you should get a tab suspender so it's even faster.

darvd29 said...

Hello again and thank you for your reply 🙂
I've installed it but unfortunately it didn't work. At first I tried it on default LXDE using brightness keys (those are f5-darker and f6-brighter btw), then using settings but I couldn't find a proper setting, only "let power manager handle brightness keys" in power manager, which was checked. Then I tried it on Cinnamon DE as that's what I use everyday but also nothing - neither by the keys nor brightness slider in menu bar on battery icon. Brightness doesn't change.

Nevertheless, your work made my laptop usable as it's not lagging anymore as on Windows, so I'll be happy to provide more information and tests, just let me know what you need!

darvd29 said...

f5 and f6 alongside with "fn" key of course :)

Linuxium said...

Can you post a dmesg when running this test kernel so I can check it please?

darvd29 said...
This comment has been removed by the author.
darvd29 said...

Here you are :)
I've also noticed now that Bluetooth also doesn't work :( When I press "Setup New Device" it gives an error "no adapters found" and everything in Bluetooth Devices menu is greyed out.

Linuxium said...

Thanks. I'm going to have to the backlight issue some more thought. Did bluetooth work okay using my Ubuntu ISO?

darvd29 said...

Unfortunately I didn't check that before, but if you wish then I can download the ISO tomorrow and try from LiveUSB if it works :)

And one more thing - touchscreen rotation also doesn't work. I mean my screen is sideways when booting but I rotated it using xrandr, touchscreen didn't rotate its X and Y axis' so it's unusable.

If you could take a look at that too, it would be awesome :D! I'm going to sleep now cause it's 0:00, I'll write back in ~10 hours, if you need anything else then let me know :)

Unknown said...

Teclast X98 Plus A5C6 : (Live-Mode) After the Ubuntu bootlogo and the following text lines, the screen turns black and nothing happens anymore :/ i tried all of your Alphas. So sadly, i cant post any dmesg.
Working Live Modes: Ubuntu 16.04 x64, Ubuntu 16.10 x64, Xjubuntu and Linuxium 16.04;
BUT all of them crash when i try to install them (the installer crashes right after i set region, username and password).
Any ideas? (i know i dont have much to offer,sorry)

Urko M. said...

Trying to install these ISOs, I get an error almost at the end of the installation with the Lubuntu ISO. It says there was an error copying one file. Then when I use the "Check disk for defects", it also says error in 1 file, for both Lubuntu and Ubuntu, latest ISO files as of now (version 4 of Ubuntu, version 2 of Lubuntu).

Ankush Kale said...
This comment has been removed by the author.
Ankush Kale said...

I have CRXT 1179

Working: Touchscreen , audio (headphone + speakers), wifi ,bluetooth , accelerometer ( detected atleast )

Not Working : Battary not detected, screen rotation not working

kernel params used: nomodeset ( if not used screen goes blank)

even manual screen rotation seems impossible ( tried different things,none working )


Ankush Kale said...

updating my alpha 1 with new kernel 4.10, now battery is detected correctly but still screen rotation not working

Unknown said...

I have Hometech Wi10 (Z3735F, BAY LAKE CR (6)
I rotate console and X manually with commands.
After efi vga module load, console and X screen starts in the middle.
Screen goes to normal after xrandr -o right
Batttery detected but incorrect. Wifi works. I dont need others now.

Unknown said...

As you post as a reply on previous comments:

"From what I can see the loss of wifi with kernels greater than 4.4 is a known issue. I'll put it on the todo list."

I also check Ubuntu 16.04 and confirm that Wi-Fi is working (so I preferable against Ubunutu 16.10, until the display will be fixed in Mate 17.04 kernel)

Unknown said...

As I also have a issue with screen boot initialization after EFI load, and I want to thank you for the tip with command, as I use the log-out for reinitialization.
In my case work with $xradr -o normal
Thanks ;)

Unknown said...

I observe an abnormality on sound using the test procedure on sound settings for setting to speaker playback
Sound Left: OK on Left Speaker
Sound Right: On Both Left and Right Speakers
Sound on external jack is OK

JPas said...
This comment has been removed by the author.
browerbr said...


I'm very new to the world of linux but i'm trying to install linux in some atom based cheap tablet that is sold in my country.

I managed to install lubuntu and it works, but i'm having some problems with the touchscreen.... I can only use it with keyboard and mouse by microusb.... the touch isn't working and i couldn't figure... someone could help??


thanks for any advice!!!

Unknown said...

It is kernel problem. I changed /etc/default/grub file as follows
GRUB_CMDLINE_LINUX="i915.fastboot=1 fbcon=rotate:1"

after that updated grub with
$ sudo update-grub2

JPas said...

First of all thx for your Work ! got a HP Protablet 10 EE.

Work : touchscreen, Bluetooth.
not Working : wifi (no device detected) , Sounds (speaker and output jack, device : bytcr-rt5640).


Urko M. said...

Hi, can someone help me and verify md5sum and sha1sum of the downloads?

3c66e451deba6a1919f5aede851367ce zesty-lubuntu-desktop-alpha-2-linuxium.iso
3b7d4f542445e9edc8c0fcea5f8c683d zesty-ubuntu-desktop-alpha-270117-linuxium.iso

ffe571a0b778e45593e36c74cf08bab097dfcd7e zesty-lubuntu-desktop-alpha-2-linuxium.iso
25a4ff3de1c2e4e764e758113d8cda6a9bde38a1 zesty-ubuntu-desktop-alpha-270117-linuxium.iso

I still can't install due to an error almost at the end of the Lubuntu installer. The Ubuntu installer crashes right away, can't even select language.
I have the Tronsmart Ara X5 Plus


Linuxium said...

Both the md5sum and sha1sum are as per your post.

For both installations, if they crash can you open a terminal session and upload the file '/var/log/syslog' somewhere or email me the file directly so I can see what exactly is causing the issue on your device?

Linuxium said...

For wifi try copying the Windows firmware across using 'sudo cat /sys/firmware/efi/efivars/nvram-74b00bd9-805a-4d61-b51f-43268123d113 > /lib/firmware/brcm/brcm/brcmfmac43241b4-sdio.txt' and then enter 'sudo modprobe -r brcmfmac' followed by 'sudo modprobe brcmfmac'.

Linuxium said...

Please see my reply below to your checksum request.

JPas said...

Works !!! Thx a lot ! Just for know, it is possible to have a kind of persistant mode ? ( i can't install linux in Hard it's a "company tablet" )

Unknown said...
This comment has been removed by the author.
Unknown said...

I observe these on music playback left speaker is louder than right one (because of sum of those two channels), trying to figure out was happening i run the audio settings speaker test.
Probably the person that make the driver copy the code from mono speaker out to stereo one and add code to right speaker without modifying the left one,...

Unknown said...
This comment has been removed by the author.
browerbr said...

I forgot to put the model of the tablet:
it's a CCE TF74W (

I have the touchpad drivers for windows 8.1, the touch model is a SileadTouch.Inst, ACPI\MSSL1680.

VENDOR = "Silead"
SileadTouch = "KMDF HID Minidriver for Touch I2C Device"
DISK_NAME = "HID I2C Touch Device Sample Install Disk"

There is a way to install this touch in Linux so the touchscreen can work?

(sorry for dumb questions, i'm really new in linux)

Danijel Posilovic said...

Hi all. On ASUS T100HAN backlight is working if you blacklist i915 module, also with a few options in xorg conf we can get smooth image without tearing. Tomorrow I will try to install latest debian with coustom built kernel to test some touchscreen/touchpad drivers on gnome.

darvd29 said...

Hello I have same laptop and I'm pretty new in Linux, could you give me instructions how you fixed those things?

wojoti said...

As you can see here (comment 29) driver for ES8316 is now avaliable. Can you add it to your next release? :)

argonlefou said...

I have a CENOVO-MINI PC II device, based on a Z8300 atom CPU

Thanks to your work, I managed to succesfully install this version : Ubuntu 17.04 pseudo Alpha 2 (Version 4)

Wifi is working very well
HDMI audio is working well to (sometimes it's a bit laggy but it's rare)

Unfortunatelly I cannot have any sound on the 3.5mm jack output, and Bluetooth won't I can't use any of my speaker/hearphones :(

Here's my dmesg :

is the sound issue related to this line :
"intel_sst_acpi 808622A8:00: No matching machine driver found"


Unknown said...

I install on external HDD Ubuntu 17.04, with swap and everything work fine, no more crashing issue like on live image, also Mate desktop install with usual commands, so no issue either here.
I am very happy right now with this OS, (so no more 16.10).
For screen issue your last suggestion regarding grub update does not work in my case, but thanks anyway for your suggestion ;)

Unknown said...

The system crash issue is related to live image issue on my limited 1Gb system as it creates 500MB swap (on my used 8GB stick) witch is not enough for testing the OS, after install issue is solved.

Unknown said...

I can also partial confirm that battery level indicator level is valid on the system start, after I have not observed any refresh on it.

Renato said...

hello, i have Z83 II mini PC, Intel Atom x5-Z8350 Cherry Trail, 2GB ram, Intel HD Graphics 400, i updated kernel to 4.10.0-5 that you provided, to see if it get better stability with my astrometa dvb-c usb card. it only worked out with kernel 4.9 that you previous had.
my install base was zesty-desktop-alpha-131216-linuxium.
only wifi wasnt working and never worked... but since i use cable, it wasnt problem.
i just use this device to run tvheadend and kodi, soo i need hdmi audio. and with this last kernel it stoped working, and even with the previous kernel, sometimes i had to close kodi, and enter again, because i get without sound.
now my dmesg gives this error, [drm] HDaudio controller not detected, using LPE audio instead
But on audio option at kodi, and ubuntu control pannel i only have some pulse audio, that doesnt work.

My dmesg :
i hope you can help.
and i think graphics aceleration is not working, because when i watch tv i have cpu at 50 to 70% usage. thank you for all of your work!

Unknown said...

The above issue is related to Unity desktop.
On Mate desktop, it appear two identical devices (but only one function) and on this desktop I have not manage to get right speaker to work at all on first test, maybe it works after restart, but not tested.

hurior said...

Hi, I want to congrat your work, I love it because I have working the wifi, BT and the battery indicator on my Chuwi Lapbook.

But I have also bad news, I don't have sound, not on the speakers and neither on the jack out.

I've installed the last iso (zesty-ubuntu-desktop-alpha-270117-linuxium.iso) and it says that the audio is "Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers" in the configuration os Ubuntu.
And "Realtek IS Audio Codec y Intel SST Audio Device (WDM)" under Windows.

You can check all the hardware on the web

How can I have the audio working?
Thanks for your help!

LuisMars said...

First of all, thanks for your time and effort.

I'm trying the latest Ubuntu image on an Asus E200HA, most things work.

Camera is working.
Touchpad has multitouch.
Can adjust brightness but not with the designated keys.
Card reader works.

Wifi works, but after a few minutes it was so slow that I could not even ping and had to restart it.

Bluetooth is not working at all.
Audio is not working, it detects an output device but it doesn't detect the microphone.
Hibernation doesn't work either.

I was unable to play video.

Ankush Kale said...

CRXT 1179

Manual screen rotation working,
screen brightness control not working & battery charge wont update

All other are working

with this new iso / new kernel, I no longer need to add nomodeset param.

Unknown said...

I've tested the latest (version 4) on both HP X2 Detachable, ( and a iLife Zedair mini (

Sound works (but not mic), I've not tested wired headphones
Wifi works fine.
Bluetooth works headset audio profile does not work, most likely firmware problem (since it works with generic USB Bluetooth adapter, on the same atom laptops).
Power management doesn't work but you can see battery charge level but updates is only done at boot time.
I've tested a lot of video etc and no issues with hanging as per before.

I'm trying to focus on getting headset Bluetooth sound to work and I found you on github but it looks like u been doing updates after and not updated github.

I was looking for the BT driver but can't see it loaded or am I wrong looks like you complied in the kernel it self or did you rename? Wanted to test different firmware to see if I can get things working better.

Cheers Jorm

Unknown said...

I am trying to bring up audio on my baytrail- rt5640 on ubuntu 16.04 for last few weeks.
Even with your "Updated: Bleeding edge Ubuntu 4.10.0-5.7 kernel with 17.04 pseudo Alpha 2 ISO" , sadly there is no sound.
But there is no sound even with your kernel patch on top 4.10-Rc5 +Ubuntu 16.04

I have rebuilt my kernel since my DSDT table doesnt have information abou the CHAN for the Device (RTEK).
Could you provide me with the Patches you have used on top 4.10 rc5 or the kernel source?
It would be great help.
Please see my kernel log
[ 6.427853] Audio Probbed BIOS Routing: AIF1 connected
[ 6.427858] bytcr_rt5640 bytcr_rt5640: quirk IN1_MAP enabled
[ 6.427861] bytcr_rt5640 bytcr_rt5640: quirk DIFF_MIC enabled
[ 6.427863] bytcr_rt5640 bytcr_rt5640: quirk SSP0_AIF1 enabled
[ 6.427865] bytcr_rt5640 bytcr_rt5640: quirk MCLK_EN enabled
[ 6.427867] Audio Probbed byt_rt5640_cpu_dai_name ssp0-port
[ 6.427875] bytcr_rt5640 bytcr_rt5640: Failed to get MCLK from pmc_plt_clk_3: -2
[ 6.431975] Audio Probbed Failed to get MCLK from pmc_plt_clk_3: -2
[ 6.439096] rt5640_probe snd_soc_codec_force_bias_level
[ 6.442536] rt5640_probe sRT5640_ID_5640
[ 6.442758] rt5640_probe return Success now
[ 6.443609] bytcr_rt5640 bytcr_rt5640: snd-soc-dummy-dai <-> media-cpu-dai mapping ok
[ 6.443678] bytcr_rt5640 bytcr_rt5640: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok
[ 6.443724] compress asoc: snd-soc-dummy-dai <-> compress-cpu-dai mapping ok
[ 6.444599] bytcr_rt5640 bytcr_rt5640: rt5640-aif1 <-> ssp0-port mapping ok
[ 6.447420] devm_snd_soc_register_card Success call platform_set_drvdata 0
[ 6.447422] Audio Probbed snd_byt_rt5640_mc_probe returns
[ 10.603446] ASoC: Baytrail Audio Port no valid capture route
[ 10.603455] soc_pcm_open caled
[ 10.603457] ASoC: cpu_dai->name media-cpu-dai
[ 10.654754] SST_IPC ***IPC_IA_FW_INIT_CMPLT_MRFLD: RX ***
[ 10.654757] SST_IPC *** FW Init msg came***
[ 10.654765] intel_sst_acpi 80860F28:00: FW Version 01.0c.00.01
[ 10.654766] FW Version RX 01.0c.00.01
[ 10.654768] Build date RX Mar 4 2015 Time 22:09:57
[ 10.654797] platform-> = sst-mfld-platform
[ 10.654800] ASoC: start codec cpu_dai->name media-cpu-dai
[ 10.655173] Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[ 10.655711] Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[ 10.655970] Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port


Jorm said...

Did you go in and choose the different cards in the sound settings, I found it no sound at startup but when switching "card" in the sound setting it worked. (This is tested on the Ubuntu 17.04 pseudo Alpha 2 (Version 4) ISO)

Cheers Jorm

hurior said...

I have the same problem, and I can't swicht the sound card. Where and how can I swicht it? Thanks!

Unknown said...
This comment has been removed by the author.
Unknown said...

First and foremost, thank you for this very useful work.

I have tested (3/4 successfully) your Ubuntu Unity 17.04 on an Asus T102HA mini-notebook.

My review is too large to be accepted in this blog, which won't accept two posts from the same person.

This review can be read on

Hope this helps,

Jorm said...

It's under sound control, there will be two output for the sound card, and one for head phone and one input for mic. If I get the time in the next day or too I will try to fix a screenshot.

Cheers Jorm

hurior said...

Hi Jorm, please send the screenshot, just because in case I'm wrong. I onlo have one sound card in the options, but in the comand line and in alsamixer, I have 2.
Thanks a lot for your help!

Unknown said...
This comment has been removed by the author.
Unknown said...
This comment has been removed by the author.
ndg_2000 said...

Hi just read your review on google drive you can fix the touch rotation if you google "InputCoordinateTransformation Ubuntu" there is a very helpful wiki on how to rotate/flip the touch. after a lot of google time i also made a script to change this on startup after install. hope this comes i useful

ndg_2000 said...


#xinput set-prop 'NAME OF TOUCH SCREEN' 'Coordinate Transformation Matrix' MATRIX REQUIRED TO CHANGE TOUCH ROTATION

xinput set-prop 'Goodix Capacitive TouchScreen' 'Coordinate Transformation Matrix' 0 1 0 -1 0 1 0 0 1

this is the contents of the script i used to set you on the way whilst you are testing this you can use the terminal to apply the different matrices to try them before setting the script up hope this helps

ps save the file with a .sh extension and then use terminal to chmod 755 file then you can add that file to "startup applications" search for it when you click the ubuntu logo top left

Pablus said...

For some reason the intaller give this error:
Signature verification failed for 7media/cdrom7dist/yakkety/Release.gpg and the installation, cannot continue.

Unknown said...

I don't find the switch card option in 16.04..Thanks

spungle said...


many thanks a lot for your great work!
I'm sorry for my bad english writing:(

I have a new Cherry Trail EzPad 6 with keyboard dock. With your 16.10 image there are freezes. I got it ran with your latest 17.04 image and a bit investigation.

- wlan with brcmfmac driver / sometimes i have to modprobe -r followed by modprobe
- basic touchscreen mssl1680 function. I have extracted the firmware/ copied to /lib/firmware and then installed the driver from

don't work:
- sound = es8316 chip
- bluetooth

The tochscreen curser is out of my finger tip.
If i calibrate it per xinpunt_calibration it has no effect.

If i do
xinput_calibrator --output-type hal
and do the changes in /etc/hal/fdi/policy/touchscreen.fdi
it has no effect.

Even if i create a 99-calibration.conf with the parameters from xinpunt_calibration in etc/X11/xorg.xconf.d/ or /usr/share/X11/xorg.conf.d/
gives back following error:

sudo xinput set-int-prop "11" "Evdev Axis Calibration" 32 208 6704 -9163 651 don't give an error but have no effect.

If i do something like
xinput set-prop "11" --type=float "Coordinate Transformation Matrix" 1.345 0 0 0.7 1 0 0.5 0 1.2
the touchscreen curser position relative to my fingertip change but i have no how i can figure out the right parameters.

here is a link to the extracted and working firmware of the touchscreen

I wonder why the xinpunt_calibration don't work?

If i do a dist-upgrade and it touches the kernel then i run the script.
After a reboot Wlan don't work. If i copy the baked up /lib/firmware folder from the fresh install over the updated folder i regot it to work.

Unknown said...

Don't know if link will work well but as u can see there is two outputs (not really card and its' first when pressing this output when i get sound to work). This might have to do with the fact that Linuxium been focusing on HDMI sound which is important for him and laptop users simply need to switch by clicking. Anyways it works for me in stereo mode.

hurior said...

So my problem is bigger that I though... I don't have so much options there, I only see one card... :(
What can I do to see all that?

Unknown said...

Running xubuntu 16.04 with 4.9.0-11-linuxium since 33 days on a meego pad t02:

- sounds is working, hdmi and jack with the UCM files (sound seems better on hdmi), but after a few days I began to get a lot of messages in syslog

Feb 19 07:29:49 meegopadt02 kernel: [2794326.723013] hdmi-lpe-audio hdmi-lpe-audio: invalid position: , pos = 4416, buffer size = 4416, period size = 1104
Feb 19 07:30:33 meegopadt02 kernel: [2794370.273062] had: Driver detected 1 missed buffer done interrupt(s)!!!!

but it doesn't seem to affect the fonctionnality.

- bluetooth is working, but when disabled via applet or rfkill, I need to relaunch it with :

sudo rtk_hciattach -n -s 115200 /dev/ttyS4 rtk_h5

- wifi was working great when I was near the access point, now that I'm farther it's not very good. First the signal is very dependant of the position of the meegopad, obviously related to the antenna. It's sometimes kinda stuck, running

sudo iw wlan scan

improves things like if a buffer needed to be purged.
Still there is a lot of packets dropped :

wlan0 Link encap:Ethernet HWaddr 58:63:56:bd:06:33
inet addr: Bcast: Mask:
inet6 addr: fe80::4ebd:ede9:39c7:e459/64 Scope:Link
RX packets:59428 errors:0 dropped:60575 overruns:0 frame:0

- sd card : it's working but iirc there was still some complaints appearing in syslog, but I don't use it a lot.

I've installed thermald because there is no fan, it's working ok with the default configuration.

I've activated turboboost:

for X in $(cat /proc/cpuinfo | grep processor | cut -f2 -d':'); do sudo wrmsr -p$X 0x1a0 0x850089 ; done;

which gives a 20-25% performance boost.

After upgrading the graphics stack with the paulo-miguel-dias's ppa I had to add a configuration file in xorg.conf.d to have tear free videos, even with TearFree the graphics is performing a lot better versus the graphic stack available in vanilla 16.04.

mpv with vaapi (and TearFree option) is the less intense option for the cpu to use the meegopadt02 for video.

Before xubuntu I tried the 'vendor' ubuntu 13.10 and the performance was very bad, compiz was constently using the cpu which lead to temperature 70°c, perhaps it's better with a newer ubuntu.

No sleeping modes are working, even freeze mode fails to wake up, I'm not sure if it's linked to the pm mode of the wifi driver or simply a limitation of the rtc.

I've also tested opengl, after 2-3 minutes the performance is divided by 3-4 after the temperature rises to a threshold, but this is expected for a device without a fan.

Thank you.
A lot.

Linuxium said...

You can certainly try it as a LiveUSB however I would not recommend installing it unless you know what you are doing as your Android may/will be affected.

Linuxium said...

What is the sound chip for the Lenovo Yoga Tab 2?

Linuxium said...

The ES8316 driver is not yet ready/working. I'll add it to the TODO list.

Linuxium said...

I don't know what your question is however there are no updates outside of github.

Linuxium said...

Neither of the ISOs above are 'yakkety' based so perhaps you need to re-download and write to your USB again.

Linuxium said...

For sound once the ES8316 drive is ready I'll add it as a kernel update.

Unknown said...


1:Oh I was checking and the latest update is Feb 1st and version 4 is released afterwards, hence my question if all updates are on github.

2: Is the RTL8723BS_BT driver compiled into the kernel or a module? I don't find it, did you rename it? I wanted to try a different firmware.

Cheers Jorm

Linuxium said...

Ah I see. Version 4 is a recompilation based on the same source as I wanted to make sure I'd compiled with the supplied config. And the name of the RTL8723BS module is unchanged namely r8723bs.

Linuxium said...

Thanks to everyone for their comments and suggestions. I've now released new ISOs which supersede those above. Please see

Unknown said...

I've been trying the 16.04 and 16.10 Xubuntu builds on my X5 Z8300 tablet and getting stuck on a black screen during boot. I'll try the newest when I get home this evening. Any plans of making a Xubuntu release for 17.04?

Links2004 said...


have get my hands on a Lenovo Miix 3-1030
at first great work!


- touchscreen
- keyboard
- touchpad
- soundkey and powerkey

not working:

- wifi
- bluetooth
- sdcard
- sound
- backlight

Technical data:
CPU: Z3735F
WiFi: Realtek RTL8723BS Wireless LAN 802.11n SDIO Network Adapter
Sound: Intel SST Audio Device (WDM)


the sdcard / mmc0 problem may has todo with:
[ 2.906061] genirq: Flags mismatch irq 8. 00000088 (mmc0) vs. 00000080 (rtc0)
[ 2.909958] mmc0: Failed to request IRQ 8: -16

not sure if it helps IRQ list from windows:

Unknown said...

this is the fix for mmc0

From 46524ace94eaf68c9719725472ab4ea28d079a7b Mon Sep 17 00:00:00 2001
From: Aubrey Li
Date: Mon, 30 Mar 2015 10:50:09 -0500
Subject: [PATCH] x86/platform, acpi: Statically assign IRQ numbers in ACPI
hardware reduced mode

We should be able to dynamically assign IRQ number on the platform in ACPI
Hardware-reduced mode, but on the Bay Trail-T(ASUS-T100) platform, there is
a RTC device still using the legacy hardcoded IRQ8, which could cause the
following error:

7486341a98f: genirq: Flags mismatch irq 8. 00000080 (mmc0) vs. 00000000 (rtc0)

So we want to statically assign IRQ numbers in ACPI hardware reduced mode to
fix this error

Signed-off-by: Li Aubrey
Cc: Alan Cox
Cc: Len Brown
Cc: Rafael J. Wysocki
Cc: Arjan van de Ven
arch/x86/kernel/acpi/boot.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index 803b684..4cd0761 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -460,8 +460,12 @@ acpi_parse_ioapic(struct acpi_subtable_header * header, const unsigned long end)


- /* Statically assign IRQ numbers for IOAPICs hosting legacy IRQs */
- if (ioapic->global_irq_base < nr_legacy_irqs())
+ /*
+ * Statically assign IRQ numbers for IOAPICs hosting legacy IRQs,
+ * Or for the platform in Hardware-reduced ACPI model
+ */
+ if (ioapic->global_irq_base < nr_legacy_irqs() ||
+ acpi_gbl_reduced_hardware)

mp_register_ioapic(ioapic->id, ioapic->address, ioapic->global_irq_base,

Coddy said...

The commit you shared, has it already been merged into the kernel ?
I'm interested as I own an T100TA and I'm trying to figure out what kernel version should I opt for that has fewer issues (less patching better life). I'm new to this stuff so I rely only on other's hard work to install an over-all stable linux build.

Anonymous said...

Could you please update the links. There are no links at all!!!!

Linuxium said...

Maybe you missed the first paragraph at the top of the page that states "Update: This page refers to earlier work and my latest ISOs and kernel upgrade scripts can be downloaded from my latest post."?

Anonymous said...
This comment has been removed by the author.
Christian Sandera said...

sorry for the delay. didn't noticed your answer, because i didn't receive any email like normally.

the device manager says: Intel SST Audio Device (WDM), Mpow Wolverine-Stereo and Wolfson Microelectronics Audio WM5102

thank you very much

Linuxium said...

I haven't seen any patches for WM5102 unfortunately.

Christian Sandera said...

thanks for answering. never mind. i am happy with my ohter 2 boxes i am using your lubuntu.
love you! :-)

Post a Comment