Asus-E200HA-Linux-Post-Install-Script
Asus-E200HA-Linux-Post-Install-Script copied to clipboard
SD card
Hello!
Good job so far ;) You write SD cards should work with kernel >4.5. I have installed kernel 4.8 but it doesn't work either. What is your status? Have you already achieve to recognize a SD card once?
Thanks, best regards
Hey, thanks :D
SD Cards are the one thing that I haven't had a chance to test properly yet. All the cards I had are SanDisk which are known to not work. I just tried a no-name 2GB one and that was not recognized either so I'm going to assume they're not working for now, I'll change the page now, was going off reports from other forums and the Compute Stick.
Let me know if you figure anything out, I'll resolve the issue if it gets fixed.
I have also tried with a Kingston 64Go but no luck also. I thought that SD card was carried by the USB controller, but it is wrong as it is not working although USB does.
Huh so according to the Debian Wiki:
The MicroSD card reader doesn't work (reliably). Kernels 4.7.1 and 4.7.2 sometimes work, but sometimes they freeze. Kernels 4.7.3-4.7.10 freeze when inserting a card. Kernels 4.8 and 4.9 don't detect them and kernel 4.6.7 doesn't seem to work either.
I'm going to try and see how the SD card reader is detected tomorrow...
Also using a USB3 flash drive the system will freeze randomly when in the USB3 port and not USB2. Both HTOP and IOTOP show nothing out of the ordinary but the system freezes...
Update: Apparently SD works correctly with the custom 4.10 kernel under OpenSUSE Tubleweed. I haven't confirmed this yet but will try soon. Building the updated version of the 4.11 RC5 kernel right now for Ubuntu first.
Thanks for your scrpt !
Sandisk 128GB ... not worked =.=' Duracell micro sd card 8GB recognized !
I'll try to find others for test.
Glad to be of help! Thanks for the update! It's very strange how different cards are unrecognized, but it seems like all Sandisk (and derivatives) are not supported. I'm waiting on a Samsung 128GB tomorrow.
Hi Grippentech! Being very new to Linux, and owner of a Asus X206HA-FD0018TS which was previously running Windows 10 (correct me if I'm wrong, but I believe it's the same model as the E200HA) and a Samsung Memory Micro SD card 128 GB (I understood you have got one), I can say that doesn't work under Xubuntu 17.04, at least with the version of April 13th 2017. I can't get the micro sd card (nor the sound by the way). I'm going to try again with the version of June 6 2017, maybe I'm going to be more lucky. What is the Linux distribution that you succed to make it work? Thank you.
Hey Shemzone,
It looks like the X206 is an identical device. Make sure after typing "uname -r" in terminal the kernel version you get has some variation of "-custom" at the end, 3 in the case of the June 6 version.
This is tested to work under Ubuntu 17.04. If it doesn't work directly under Xubuntu you can try to install Ubuntu and then after getting it to work install the desktop environment of Xubuntu via apt-get.
Right now I'm using LXDE as a desktop environment and with the patch from June 6 it's surprisingly snappy all around.
Keep me updates, hope it works out for you.
I'm using budgie 17.04 with your -custom3 kernel. I can confirm, it's really snappy, good audio from the speakers, BT audio working, too. The only glitches so far:
- youtube video on chromium waiting forever (solved): youtube now uses html5 instead of flash for video playback, but prefers its own codec VP8 in webm container. No HW acceleration available, our Z8350 is unable to software decode the stream. https://www.howtogeek.com/227940/why-youtube-in-chrome-and-firefox-is-draining-your-laptop%E2%80%99s-battery-and-how-to-fix-it/ suggests the h264ify extension. Works like a charm
- I' ve tried a few micrSD cards, and was unable to use the SDXC 64 GB (both Kingston and Sandisk) with errors -110 or -84 , while I'm happily using a 32 GB samsung SDHC
- sometimes terminal scrolling hangs for a few seconds. still trying to understand the reason
But your custom kernel on a lightweight ubuntu variant like budgie is really wonderful. Thanks a lot
Hi Grippentech
Ubuntu 17.04 installed, your kernel is installed also (-custom3 ok). Sound ok (speakers and headset)
But the microSd reader embeded doesn't work. I can't see it.
I ran only e200ha_with_sound.sh. Do I need to run CherryTrailGeneric.sh also?
lspci gives me the following:
00:00.0 Host bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SoC Transaction Register (rev 22)
00:02.0 VGA compatible controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers (rev 22)
00:0b.0 Signal processing controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Power Management Controller (rev 22)
00:14.0 USB controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series USB xHCI Controller (rev 22)
00:1a.0 Encryption controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Trusted Execution Engine (rev 22)
00:1c.0 PCI bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Express Port #1 (rev 22)
00:1f.0 ISA bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCU (rev 22)
01:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 30)
I hope the micro sd car reader will work, then I will be able to let Windows 10 in its box...
@Shemzone As far as i know you don't need to run CherryTrailGeneric.sh
when you have installed the e200ha_with_sound.sh
. The CherryTrailGeneric.sh
is for devices with an Cherry Trail device but without need for the e200ha/x205 drivers.
Thank you @Daylien for the info
@Grippentech
Edit: command dmesg | tail -30 gives the following error twice:
mmc: error -84 whilst initialising sd card
What does this mean?
The SD card is a microsd Samsung 128 Gb
Edit2: I plugged the sdcard in a sd card adapter Micro USB and the sdcard is mounted correctly. So, I think it's the sdcard reader itself which is not recognised. I will retry with another sdcard with a smaller capacity. Sorry to be a so such noob, but what about this? https://wiki.archlinux.org/index.php/Asus_x205ta#SD_card_reader Not the same model but I guess you already tried this out.
@RobertoPirrone Thanks for the update and thorough testing! I'll include a note about the chrome plugin on the main ReadMe.
@Daylien Yes that would be correct, the CherryTrail generic has nothing to offer in our case, it's just some of the old power management and other small EMMC setting type fixes.
@Shemzone Yes as others have noted SD card support is in shambels for some cards. While I admit I haven't tried too hard to fix it I don't even know where I would begin as it appears to be more or less broken across the board for CherryTrail. (see http://linuxiumcomau.blogspot.com/2016/08/micro-sd-card-support-on-intel-compute.html)
Thanks for all the feedback guys! I hope we can find an SD card fix soon, I also need to experiment with using native system sleep on th enew kernel instead of the fix and ccompiling a lighter weight version of the kernel that just has the basic modules for the e200h. Cheers!
Well here's the driver for SDHC loading in DMESG...
And as a side note Webcam works now... I don't believe it did in the past?
There's a lot of talk about similar or identical issues with Intel Baytrail Atoms so maybe there's something to be found there, although most reference very old versions of the kernel and say it's gotten fixed then. I'll look around.
As a side note, does the internal microphone work for anybody?
@Grippentech doesn't had any trouble with the webcam in the old kernel but I doesn't try the new version of the kernel. I will check the microphone later (currently at my phone) and report back.
Thanks @Daylien!
Also unrelated but good news guys, script updated to now fix backlight controls on keyboard!
@Grippentech I tested with a sd card Lexar 8gb and it works like a charm. Definitively, the issue is related either to the manufacturer (Samsung in my case) or the capacity (128 gb in my case).
Quick report.
Tested on Ubuntu 17.04 Unity
SD works fine. Sound works fine. Webcam works fine. Internal microphone doesn't work. Headset microphone doesn't work.
Before Ubuntu 17.04 Unity i installed Ubuntu Gnome. The problem with this Kernel is you aren't able to login into gdm. The display isn't detected after the password check.
Does it drop you to shell or just no output after login?
No output. Like an infinite loop. Password field > Blackscreen (3~ secounds ) > Password field ...
And sudo startx
says no screens found.
That might be due to the back light fix I was trying to do, try running this if you're having that issue:
" sudo rm /usr/share/X11/xorg.conf.d/20-intel.conf"
and reboot after.
If you run a fresh clone of the script now and get the same error let me know.
On Jun 7, 2017 5:16 PM, "Daylien" [email protected] wrote:
No output. Like an infinite loop. Password field > Blackscreen (3~ secounds ) > Password field ...
And sudo startx says no screens found.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Grippentech/Asus-E200HA-Linux-Post-Install-Script/issues/1#issuecomment-306927584, or mute the thread https://github.com/notifications/unsubscribe-auth/AG0pImPObXRJ8g-SIFt3DKNjLnZHkorbks5sBxMugaJpZM4LcGOU .
I will try it later this day.
Works perfectly on Ubuntu Gnome 17.04 thanks !
Edit: Sound doesn't work now.
... lol I really have no idea what could be causing that...
@Grippentech @Daylien , I noticed this. Sometimes sound ripped off with no reason until reboot. Weird.
SD card works for me. However it doesn't detect the SD card if it is already inserted at boot time (I have to remove and re-insert the SD card).
I solved this problem executing this commands during startup (systemd script):
echo "80860F14:03" > /sys/bus/platform/drivers/sdhci-acpi/unbind
echo "80860F14:03" > /sys/bus/platform/drivers/sdhci-acpi/bind
Thanks! I'll look into it today and update the script to add these lines :) 👍
Yay! Sidestepped my lack of working SD card issue when I found a 64GB Lexar sitting around! Then swiftly ran into the mild issue that @federeghe ran into of it not mounting on boot. Definitely steps in the right direction :)
@eotatop Since the SD card issue seems to be manufactor or even model related, can you share the detailed type of the working 64GB Lexar card you are using? @Grippentech Speaking of GBs, I realized that after running the script my Ubuntu 17.04 took almost 100% more rare space on disk due to a huge 4.12.rc1-dbg kernel package which could be deleted w/o side effect. Maybe something to add to the cleanup section of the script. This aside thanks a lot to all contributors here - this project really helped a lot in replacing Windows 10 entirely on my e200ha!
@tillkuhn Yes that's a big problem he is already working on a smaller kernel you can try it, it's on the Mininmal kernel branch in this repo. You can follow #16 for updates.