09-13-2017 12:35 AM - edited 09-13-2017 12:52 AM
I have recently (mostly) successfully installed Ubuntu 16.04.3 LTS on a x7 version of a Lenovo Miix 310 10ICR (an "80SG"). I got this in Japan; not sure if it is available elsewhere. This is using a CherryTrail Atom x7-8750. I used the stock Ubuntu Desktop installer flashed to a USB stick.
I also got it running in dual boot mode with the original Windows 10 installation but right after the boot it insisted on booting direct to windows... you have to force Windows to use grub using the instructions here: https://itsfoss.com/no-grub-windows-linux/ I should also mention I updated to BIOS 3YCN34WW and disabled safe boot in UEFI before attempting the install.
There are several semi-minor issues, however:
1. I got a freeze with the standard 4.10 kernel but upgraded to the 4.11.7 kernel and have not seen once since. I also tried a 4.12.12 but that one hangs on boot.
2. Built-in sound does not work. There does not seem to be an available Linux driver for the cherrytrailcraudio PCI "multimedia" device. I did get sound working with an external $5 USB sound adapter so the rest of the SW stack is fine. Note that HDMI sound only shows up after the kernel update, above.
3. The screen is rotated after boot but you can fix this in the control panel... at least for the display. Touch panel works but remains rotated. First login screen is also rotated and I haven't found a fix for it that works. Fortunately grub screen is, strangely, NOT rotated.
4. External HDMI is not working for me... but based on my experience with other CHT devices, this may just be the specific monitor I tested... CHT devices are little finicky, and I could not get it working under Windows, either.
5. The SD card reader does not show up, and I can't find it under either the pci or usb devices. Works under Windows. It would be great to get this working to expand storage (especially with dual-boot; I only managed to get 23GB put aside from Windows to install Ubuntu).
6. For some reason Alt-Ctrl-F1 etc does not work to access full-screen terminals. I can do this from an attached USB keyboard, but not from the built-in keyboard. The function keys on the built-in keyboard are shared with the number keys and so you have to push an Fn key at the same time to access the function keys. I suspect this is a limitation of the keyboard in accepting four button presses at once. Note the function keys themselves work fine.
7. I tried enabling the performance governor and that works, but apparently only "powersave" and "performance" are supported, not "ondemand". Oh, well. Default is "powersave".
8. There doesn't seem to be any way to control the backlight brightness from Ubuntu.
I'll post here again if I find any fixes to any of the above. Basically though it works great as a portable coding machine (I'm running Anaconda, Node.js, etc. on it, no problem) and the battery life is AWESOME. I've been sitting here hacking and downloading stuff for hours today and it still shows 7h+ on the battery meter. Also small enough to actually use on an airplane table tray...
09-13-2017 01:01 AM
I should note also that previous issues with graphics, wifi, and bluetooth seem to have been resolved; they worked out of the box (I only tried my install after updating the BIOS, however...).
09-15-2017 11:48 PM - edited 09-15-2017 11:51 PM
I found a few workarounds for some of the issues noted...
1. To enter and exit a virtual terminal: press Fn, then while holding it down, press Ctrl-Alt, then while holding those down, press the desired number key. In other words, the order matters. You have to press the Fn key before the others.
2. To make the virtual terminal show text in landscape (which makes the above much more useful): put the following in /etc/default/grub
and then run "sudo update-grub". This also makes boot messages come up in landscape. As this is a kernel boot option you have to reboot before it takes effect.
3. To get your login screen to show up in landscape put
display-setup-script=xrandr -o right
in /etc/lightdm/lightdm.conf. You have to restart lightdm (easiest way is to reboot) before it takes effect. You can also install lightdm-gtk-greeter-settings and onscreen if you want to tweak the login settings (for instance, to use large fonts or have an onscreen keyboard show up by default). Note: along the way to trying to get this working I also installed the lightdm-gtk-greeter and tried it. I THINK the above works with the default unity greeter, though.
09-16-2017 12:58 AM
Yet another update: to get the touch screen to work in landscape mode at boot, update your lightdm.conf file to include the setting (all on one line... the "bash -c" trick is needed to run multiple commands... a naked semicolon doesn't work here)
display-setup-script=bash -c "xrandr -o right; xinput set-prop \"FTSC0001:00 2808:1015\" --type=float \"Coordinate Transformation Matrix\" 0 1 0 -1 0 1 0 0 1"
This fixes input rotation for both the login screen and post-login input. You can modify these commands to make scripts to rotate the screen as you want after the fact though (the ubuntu documentation for xinput includes matrices for the other xrandr settings...)
While using the gtk greeter and an onscreen keyboard, this can be used to login while in tablet mode, among other applications.
09-16-2017 01:04 AM
The following script can be used to put the tablet into "performance" mode, where it runs the CPUs as fast as they will go, subject to thermal throttling. Put this in a file and mark it as executable, as you need to run the entire thing with sudo:
for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do [ -f $C
PUFREQ ] || continue; echo -n performance > $CPUFREQ; done
To put the system back into the default "powersave" mode, create another script like the above but with "powersave" in place of "performance".
Of course in performance mode your system will run hotter and will use up the battery charge faster.
12-27-2017 05:19 AM - edited 12-27-2017 05:21 AM
I have tried to boot on the Ubuntu live CD... And problem with graphics (blur of white pixels), no wifi, no bluetooth, no audio....
With kali linux live (on a usb drive) no graphic problem (except screen rotation ) but still no wifi nor bluetooth nor sound...
12-30-2017 11:45 PM
Did you upgrade your bios first? To what version? I will compare with mine...
Also, what version of Ubuntu? You need a fairly recent version as older versions won't have the right graphics and WiFi drivers included. I specifically used 16.04.3, and more specifically, the amd64 desktop version.
12-30-2017 11:48 PM
One more question: what is the exact model of your device? There is an x5 version and an x7 version (both called, as far as I can tell, "Miix 310"). Mine is the x7 version, and I bought it in Japan, so...
12-31-2017 12:15 AM - edited 12-31-2017 12:29 AM
You might also want to take a look at the following:
This is for the GPD Pocket, not the Miix 310, but they are very similar (at least, the x7 version of the Miix is). The "respin" script may also be tweaked to help set up a Miix. Unfortunately the Miix does not seem to be as popular an Ubuntu install target as the GPD Pocket (yes... I got both. Couldn't resist the GPD when it came out, even if the keyboard is a little too small to be practical, and the battery life is not as good. Overall I'm still pretty happy with the Miix as a Linux machine... the only thing I don't like, and the reason I got the GPD, was lack of USB 3.0/USB-C support on the Miix, which I needed. The whole reason I have a separate Ubuntu machine rather than just a VM is because I have to use hardware whose drivers don't work from inside a VM...). But USB 3.0 is also a power hog, so this may be part of the reason why the Miix has better battery life