Peppermint OS Community Forum

Support => Hardware => Topic started by: Crumbz on October 03, 2017, 05:36:17 pm

Title: ASUS E200HA (Cherry Trail CPU)
Post by: Crumbz on October 03, 2017, 05:36:17 pm
Hello, I am trying to install the 64bit version of Peppermint 8 onto my ASUS E200HA and am having some trouble.

I have been meaning to install Peppermint for some time now as its usually what I run on my laptop... however when I bought this one I discovered the Linux Kernel hadn't added support for the Z type processors from Intel (Cherry Trail). Now that the driver support has been confirmed to have been added, I figured id give it another go.

This time the LIVE Disk runs without issue.. except in the case of the keyboard. Whenever I press a key (does not matter which one I press) rather then displaying the pressed key it brings up the power menu. Touchpad, Wifi, Bluetooth work fine, I haven't tested the audio yet.

So my question is, is there a way to get this distro working correctly on this hardware, and if so has anyone else had success with doing so?


- Crumbz
Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: PCNetSpec on October 04, 2017, 12:39:19 pm
Have you got access to a Linux PC ?

If so, you could try using Linuxiums isorespin.sh shell script to respin the Peppermint 8 ISO image with the "--atom" option .. then burning the respun ISO to a LiveUSB

Create a directory on your desktop called linuxium-peppermint
Code: [Select]
mkdir ~/Desktop/linuxium-peppermint
download the Linuxium isorespin.sh shell script from here:
http://linuxiumcomau.blogspot.com/2017/06/customizing-ubuntu-isos-documentation.html
by clicking on the orange isorespin.sh link

Place the downloaded isorespin.sh file into the linuxium-peppermint directory on your desktop.

back in the terminal change directory to the linuxium-peppermint directory:
Code: [Select]
cd ~/Desktop/linuxium-peppermint
download the Peppermint 8 64bit ISO image into it
Code: [Select]
wget https://peppermintos.com/iso/Peppermint-8-20170527-amd64.iso
make the isorespin.sh file executable:
Code: [Select]
chmod +x isorespin.sh
run the isorespin.sh shell script on the Peppermint-8-20170527-amd64.iso file with the "--atom" option:
Code: [Select]
./isorespin.sh -i Peppermint-8-20170527-amd64.iso --atom
OR if you also want the 4.11.12 kernel
Code: [Select]
./isorespin.sh -i Peppermint-8-20170527-amd64.iso --atom -k v4.11.12
(enter your password if/when asked)

when that command is finished, you should find an ISO called "linuxium-atom-Peppermint-8-20170527-amd64.iso" (or "linuxium-atom-v4.11.12-Peppermint-8-20170527-amd64.iso" if you added the 4.11.12 kernel) in the linuxium-peppermint direectory on your desktop .. use whatever method to burn this to a USB stick.
Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: Crumbz on October 28, 2017, 09:07:34 am
Have you got access to a Linux PC ?

If so, you could try using Linuxiums isorespin.sh shell script to respin the Peppermint 8 ISO image with the "--atom" option .. then burning the respun ISO to a LiveUSB

Create a directory on your desktop called linuxium-peppermint
Code: [Select]
mkdir ~/Desktop/linuxium-peppermint
download the Linuxium isorespin.sh shell script from here:
http://linuxiumcomau.blogspot.com/2017/06/customizing-ubuntu-isos-documentation.html
by clicking on the orange isorespin.sh link

Place the downloaded isorespin.sh file into the linuxium-peppermint directory on your desktop.

back in the terminal change directory to the linuxium-peppermint directory:
Code: [Select]
cd ~/Desktop/linuxium-peppermint
download the Peppermint 8 64bit ISO image into it
Code: [Select]
wget https://peppermintos.com/iso/Peppermint-8-20170527-amd64.iso
make the isorespin.sh file executable:
Code: [Select]
chmod +x isorespin.sh
run the isorespin.sh shell script on the Peppermint-8-20170527-amd64.iso file with the "--atom" option:
Code: [Select]
./isorespin.sh -i Peppermint-8-20170527-amd64.iso --atom
OR if you also want the 4.11.12 kernel
Code: [Select]
./isorespin.sh -i Peppermint-8-20170527-amd64.iso --atom -k v4.11.12
(enter your password if/when asked)

when that command is finished, you should find an ISO called "linuxium-atom-Peppermint-8-20170527-amd64.iso" (or "linuxium-atom-v4.11.12-Peppermint-8-20170527-amd64.iso" if you added the 4.11.12 kernel) in the linuxium-peppermint direectory on your desktop .. use whatever method to burn this to a USB stick.
Thank you, i will have to give this a try. Would running this on a VM make a difference?

Sent from my Redmi Note 4 using Tapatalk

Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: murraymint on October 28, 2017, 09:16:11 am
You're supposed to have at least 10GB free for the respinning process, so bear that in mind. Otherwise, I can't see why it wouldn't work on a VM.
Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: Crumbz on December 03, 2017, 07:42:05 pm
You're supposed to have at least 10GB free for the respinning process, so bear that in mind. Otherwise, I can't see why it wouldn't work on a VM.
Well i have finally had the time to try this and im having mixed results. The respin went fine and they keyboard and wifi work flawlessly... But my audio is expereincing issues, flicking off and on.

Sent from my Redmi Note 4 using Tapatalk

Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: murraymint on December 03, 2017, 08:21:41 pm
What kernel are you on? What's the output of

Code: [Select]
uname -r
Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: Crumbz on December 03, 2017, 08:24:37 pm
What kernel are you on? What's the output of

Code: [Select]
uname -r
Version 4.11.12-041112-generic

Sent from my Redmi Note 4 using Tapatalk

Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: murraymint on December 03, 2017, 10:03:17 pm
a)  Have you done a full update?

b)  In the menu > Preferences > Software & Updates;
In the Additional Drivers tab, you could try enabling Processor microcode firmware.
Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: Crumbz on December 04, 2017, 12:36:56 am
a)  Have you done a full update?

b)  In the menu > Preferences > Software & Updates;
In the Additional Drivers tab, you could try enabling Processor microcode firmware.
I have run both sudo apt-get update and upgrade, both have not changed anything. And microcode firmware dosent seem to change anything either.

I have tried uninstalling pulseaudio but that dosent change the behaviour. That being said i dont believe the issue lies with pulseaudio.

To describe the issue the audio appears to mute/unmute every 5 seconds. Attempts to access the audio settings shows a loading status, flicks onto the settings page then just as quickly back to the loading status.
Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: PCNetSpec on December 04, 2017, 06:58:33 am
Can you post your full
Code: [Select]
inxi -Fz
output so people can see what hardware you have .. it might help troubleshoot the sound.
Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: Crumbz on December 04, 2017, 12:34:32 pm
System:    Host: R-PC Kernel: 4.11.12-041112-generic x86_64 (64 bit)
           Desktop: N/A Distro: Peppermint Eight
Machine:   Mobo: ASUSTeK model: E200HA v: 1.0
           Bios: American Megatrends v: E200HA.303 date: 12/21/2016
CPU:       Quad core Intel Atom x5-Z8350 (-MCP-) cache: 1024 KB
           clock speeds: max: 1920 MHz 1: 489 MHz 2: 847 MHz 3: 504 MHz
           4: 583 MHz
Graphics:  Card: Intel Device 22b0
           Display Server: X.Org 1.19.3 drivers: (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.06hz
           GLX Renderer: Mesa DRI Intel HD Graphics (Cherrytrail)
           GLX Version: 3.0 Mesa 17.0.2
Audio:     Card Intel HDMI/DP LPE Audio driver: HdmiLpeAudio
           Sound: Advanced Linux Sound Architecture v: k4.11.12-041112-generic
Network:   Card: Qualcomm Atheros Device 0042 driver: ath10k_pci
           IF: wlp1s0 state: up speed: N/A duplex: N/A mac:
Drives:    HDD Total Size: NA (-) ID-1: /dev/mmcblk0 model: N/A size: 31.3GB
Partition: ID-1: / size: 25G used: 5.0G (22%) fs: ext4 dev: /dev/mmcblk0p2
           ID-2: swap-1 size: 4.18GB used: 0.00GB (0%) fs: swap dev: /dev/mmcblk0p3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 33.0C mobo: N/A
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 188 Uptime: 10 min Memory: 286.6/3844.2MB
           Client: Shell (bash) inxi: 2.2.35
Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: PCNetSpec on December 04, 2017, 01:07:17 pm
are you using an external HDMI monitor ?

What's the output from:
Code: [Select]
lsmod | grep snd
and
Code: [Select]
aplay -l
?
Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: Crumbz on December 04, 2017, 01:17:30 pm
I do not use an HDMI monitor, only the built in monitor.

here is the out put from lsmod | grep snd:

snd_soc_rt5645        147456  0
snd_soc_rl6231         16384  1 snd_soc_rt5645
snd_hdmi_lpe_audio     24576  1
snd_intel_sst_acpi     16384  0
snd_intel_sst_core     77824  1 snd_intel_sst_acpi
snd_soc_sst_atom_hifi2_platform   102400  1 snd_intel_sst_core
snd_soc_sst_match      16384  1 snd_intel_sst_acpi
snd_soc_core          229376  2 snd_soc_sst_atom_hifi2_platform,snd_soc_rt5645
snd_compress           20480  1 snd_soc_core
ac97_bus               16384  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_pcm               102400  5 snd_hdmi_lpe_audio,snd_pcm_dmaengine,snd_soc_sst_atom_hifi2_platform,snd_soc_rt5645,snd_soc_core
snd_seq_midi           16384  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_rawmidi            32768  1 snd_seq_midi
snd_seq                65536  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         16384  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              32768  2 snd_seq,snd_pcm
snd                    77824  11 snd_compress,snd_seq,snd_hdmi_lpe_audio,snd_timer,snd_soc_sst_atom_hifi2_platform,snd_rawmidi,snd_seq_device,snd_soc_core,snd_pcm
soundcore              16384  1 snd

And the output form aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: Audio [Intel HDMI/DP LPE Audio], device 0: HdmiLpeAudio [Intel HDMI/DP LPE Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

The strangest part is if i leave the sound settings windows open long enough it seems to catch there is an audio device and stops flickering. But alas the audio still does not work as it only detects the HDMI audio but no output device beyond that.
And on another note i discovered that streamed videos (youtube) play at proper speed while the audio is flicking, but after stopping the flicking the same video plays at 400x speed with no audio.

Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: PCNetSpec on December 04, 2017, 01:27:01 pm
Have you seen the scripts here:
https://github.com/Grippentech/Asus-E200HA-Linux-Post-Install-Script
(which appears to download a custom 4.12 series kernel and some config files for audio for the E200HA)

I can tell you how to run them (or simply how to manually run what's in the JustSound script), but if they screw things up are you okay to reinstall ?
Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: Crumbz on December 04, 2017, 01:43:49 pm
Yes i am good to reinstall if need be, id like to get this working.

I will try running those scripts
Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: PCNetSpec on December 04, 2017, 01:46:31 pm
You only really need to run one ..

if you just wanna fix audio - justSound.sh

If you wanna fix everything (touchpad/wireless/backlight/sound/etc) - e200ha_with_sound.sh

And you'll want an active internet connection when you run them, because they both download stuff and install it.



e200ha.sh seems to fix everything EXCEPT sound .. so e200ha_with_sound.sh is a script that combines both e200ha.sh and justSound.sh
Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: Crumbz on December 04, 2017, 01:51:21 pm
currently i am runnning e200ha with sound.sh as i believe there is more wrong then just the  audio
Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: PCNetSpec on December 04, 2017, 01:52:05 pm
Okey dokey, good luck and please let us know how you get on :)
Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: Crumbz on December 04, 2017, 02:11:25 pm
So the audio seems to be working and the video issue seems resolved for the time being.

Thank you so much for the help everyone!
Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: PCNetSpec on December 04, 2017, 02:12:00 pm
Great news :)
Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: Crumbz on January 06, 2018, 07:45:00 pm
Now there IS one issue i cant seem to find a fix for and thats the SD Card reader is not detected by the system.

I didnt notice at first because i dont usually use it at all. But i did the other day and was wondering if their was a known fix for it?
Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: Crumbz on June 11, 2018, 05:55:33 pm
After an update sound failed and no amount of prodding had resolved the issue. Sound was lost and the touchpad failed to register in the system.

Tried a reinstall and same issues persist, unfortunately tried ubuntu 18.04 and worked right out of the box so not sure whats up, bur the Intel Cherry Trail x8350 is probably the worst CPU ive ever used for firmware compatibility.

If you want a good Linux laptop for work or whatever i suggest staying away from the Intel x8350 or x8300 as they both suffer from the same issues.

Thank you all for the help you provided with trying to get this to work.
Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: scifidude79 on June 11, 2018, 08:40:25 pm
Personally, I'd stay away from an Atom processor anyway, especially with today's i3 low end CPUs being so reasonably priced and much more powerful. For the extremely budget minded, I'd suggest a Pentium, which is basically last year's i3 anymore, or a Celeron, which is essentially last year's Pentium. Any of those would rock over an Atom. (just saying)

Anyway, that's weird with the sound and touchpad issues. Reinstalling definitely won't help if it was an update issue, unless you were able to track it to a specific package and not update that package after reinstalling.
Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: PCNetSpec on June 11, 2018, 10:34:26 pm
If Ubuntu 18.04 works OOTB, you might want to come back when PM9 is released ;)
Title: Re: ASUS E200HA (Cherry Trail CPU)
Post by: Crumbz on June 11, 2018, 10:58:01 pm
I just might! ;)