Differences between revisions 7 and 8
Revision 7 as of 2016-07-31 20:22:45
Size: 7259
Editor: ?JoseCalhariz
Comment:
Revision 8 as of 2016-08-29 17:59:43
Size: 9774
Editor: ?JoaoPirralha
Comment: Added my notes on how to install Debian on this machine. Note: from a Xubuntu 16.04 installation, may not be completely correct for Debian.
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
~- Sub-models ('''LIST OF MODEL REFERENCE NUMBER''') options :<<BR>> - Video card (Intel or ATI radeon or ATI FireGL) '''(adapt this list to actually match __options__ available. Common features are listed below)''' <<BR>> - Screen size (14", 15", or 15" ''wide'')<<BR>> - Wireless card<<BR>> - Disk and Ram size, optical device <<BR>> - Other options, like fingerprint reader, bluetooth... -~ Unfortunately Intel doesn't support Linux on Cherry Trail Atom SOCs, so this laptop has problems with audio and video. Most problems can be remediated, but if you're looking to a buy machine like this you should purchase one with a Celeron (or supported AMD equivalent) instead.

##
~- Sub-models ('''LIST OF MODEL REFERENCE NUMBER''') options :<<BR>> - Video card (Intel or ATI radeon or ATI FireGL) '''(adapt this list to actually match __options__ available. Common features are listed below)''' <<BR>> - Screen size (14", 15", or 15" ''wide'')<<BR>> - Wireless card<<BR>> - Disk and Ram size, optical device <<BR>> - Other options, like fingerprint reader, bluetooth... -~
Line 53: Line 55:
Debian stretch (or newer) is needed.
Line 59: Line 63:

== Keyboard ==

Your keyboard layout may not be correctly loaded. To correct this, run `setxkbmap pt` (adapt to your keyboard layout), and add it to `~/.profile` to execute it at every login.

== Storage ==
Install Debian with `discard` and `noatime` options for every partition, as E200HA's storage is eMMC flash memory. This will help prolonging its lifespan.

If you miss this during installation, you can do it later by editing `/etc/fstab` and adding `discard,noatime` every fourth column.

E.g. for the root partition right before `errors=remount-ro 0`, so that it looks like `discard,noatime,errors=remount-ro 0`.

== WiFi ==

As this is the only means of networking of this laptop, you need to address this before installing any packages, such as those mentioned in the sections below.

As of the date of writing, Debian's `firmware-nonfree` package (version 20160110-1) is outdated and doesn't include QCA9377's firmware, so you need to obtain it manually. In the future it should be included in `firmware-nonfree` and [[http://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/|non-free images including firmware]].

In another computer:
{{{
git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
}}}

and copy `linux-firmware/ath10k/QCA9377/` to `/lib/firmware/ath10k/` in the Asus E200HA, and then reboot.

Alternative: http://blog.calhariz.com/post/2016/07/30/Enabling-Wifi-QCA9377-on-a-Asus-E200HA
Line 65: Line 95:
 (not covered yet)
To control the display brightness you can install the package `xbacklight` and adjust it like `xbacklight -set 50`. Add it to `~/.profile` to execute it at every login.
Line 69: Line 100:

== Power Management ==
## Have you tested Hibernation and/or
## Then explain how to get it working
Not working, see [[https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833009|Bug#833009]].

Unfortunately suspend doesn't work on Linux on Cherry Trail. You can disable accidental suspend commands via:
{{{
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
}}}

You can also make it not attempt to suspend when closing the lid by adding this to `/etc/systemd/logind.conf`:
{{{
[Login]
HandleLidSwitch=ignore
HandleLidSwitchDocked=ignore
}}}

More details: https://wiki.debian.org/Suspend

It is recommended to install packages such as `tlp` and `thermald`, to help saving battery power.
Line 73: Line 125:
 (not covered yet)
Unfortunately audio doesn't work on Linux on Cherry Trail. However, you can use an external USB sound card. Also audio via HDMI supposedly works.
Line 76: Line 129:
 (not covered yet)

== Power Management ==
## Have you tested Hibernation and/or
## Then explain how to get it working
 Not working, see [[https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833009|Bug#833009]]

== WiFi ==

http://blog.calhariz.com/post/2016/07/30/Enabling-Wifi-QCA9377-on-a-Asus-E200HA

== Modem ==
 (not covered yet)
The touchpad should work.

Translation(s): none

DebianOn is an effort to document how to install, configure and use Debian on some specific hardware. Therefore potential buyers would know if that hardware is supported and owners would know how get the best out of that hardware.

The purpose is not to duplicate the Debian Official Documentation, but to document how to install Debian on some specific hardware.

If you need help to get Debian running on your hardware, please have a look at our user support channels where you may find specific channels (mailing list, IRC channel) dedicated to certain types of hardware.

Models covered
ASUS Vivobook E200HA

https://www.asus.com/Notebooks/ASUS-Vivobook-E200HA

Unfortunately Intel doesn't support Linux on Cherry Trail Atom SOCs, so this laptop has problems with audio and video. Most problems can be remediated, but if you're looking to a buy machine like this you should purchase one with a Celeron (or supported AMD equivalent) instead.

Overall Status

Core Components

[ATTACH]

Boot Standard Kernel:

{OK}

LAN network card:

[-]

Detect CD/DVD:

[-]

Detect hard drives:

{OK}

Extra Features

CPU Frequency Scaling

[?]

Hibernation

/!\

Sleep / Suspend

{X} Does not have ACPI S3

Xorg

{OK}

- OpenGL

[?]

- Resize-and-Rotate(randr)

[?]

Switch to External Screen

[?]

Mouse

- Built-in (Trackpoint)

[-]

- Built-in (Touchpad)

{OK}

Modem

[-]

Wireless/Wifi

X-(

Keyboard's Hotkeys

/!\

Legend :
{OK} = OK ; {X} Unsupported(No Driver) ; /!\ = Error (Couldn't get it working); [?] Unknown, Not Test ; [-] Not-applicable
{i} = Configuration Required; X-( = Only works with a non-free driver and or firmware

Important Note

May need to disable Secure Boot on UEFI/BIOS. To enter in BIOS press and release F2.

Debian stretch (or newer) is needed.

Configuration

Keyboard

Your keyboard layout may not be correctly loaded. To correct this, run setxkbmap pt (adapt to your keyboard layout), and add it to ~/.profile to execute it at every login.

Storage

Install Debian with discard and noatime options for every partition, as E200HA's storage is eMMC flash memory. This will help prolonging its lifespan.

If you miss this during installation, you can do it later by editing /etc/fstab and adding discard,noatime every fourth column.

E.g. for the root partition right before errors=remount-ro 0, so that it looks like discard,noatime,errors=remount-ro 0.

WiFi

As this is the only means of networking of this laptop, you need to address this before installing any packages, such as those mentioned in the sections below.

As of the date of writing, Debian's firmware-nonfree package (version 20160110-1) is outdated and doesn't include QCA9377's firmware, so you need to obtain it manually. In the future it should be included in firmware-nonfree and non-free images including firmware.

In another computer:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

and copy linux-firmware/ath10k/QCA9377/ to /lib/firmware/ath10k/ in the Asus E200HA, and then reboot.

Alternative: http://blog.calhariz.com/post/2016/07/30/Enabling-Wifi-QCA9377-on-a-Asus-E200HA

Display

To control the display brightness you can install the package xbacklight and adjust it like xbacklight -set 50. Add it to ~/.profile to execute it at every login.

Power Management

Not working, see Bug#833009.

Unfortunately suspend doesn't work on Linux on Cherry Trail. You can disable accidental suspend commands via:

sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

You can also make it not attempt to suspend when closing the lid by adding this to /etc/systemd/logind.conf:

[Login]
HandleLidSwitch=ignore
HandleLidSwitchDocked=ignore

More details: https://wiki.debian.org/Suspend

It is recommended to install packages such as tlp and thermald, to help saving battery power.

Audio

Unfortunately audio doesn't work on Linux on Cherry Trail. However, you can use an external USB sound card. Also audio via HDMI supposedly works.

Mouse

The touchpad should work.


System Summary

lspci

00:00.0 Host bridge [0600]: Intel Corporation Braswell SoC Transaction Router [8086:2280] (rev 22)
00:02.0 VGA compatible controller [0300]: Intel Corporation Braswell PCI Configuration Registers [8086:22b0] (rev 22)
00:0b.0 Signal processing controller [1180]: Intel Corporation Braswell P-Unit Power Management [8086:22dc] (rev 22)
00:14.0 USB controller [0c03]: Intel Corporation Braswell USB xHCI Host Controller [8086:22b5] (rev 22)
00:1a.0 Encryption controller [1080]: Intel Corporation Braswell Trusted Execution Engine Interface [8086:2298] (rev 22)
00:1c.0 PCI bridge [0604]: Intel Corporation Braswell PCIe Port 1 [8086:22c8] (rev 22)
00:1f.0 ISA bridge [0601]: Intel Corporation Braswell Platform Controller Unit LPC [8086:229c] (rev 22)
01:00.0 Network controller [0280]: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter [168c:0042] (rev 30)

lsusb

lsusb -v | grep -E '\<(Bus|iProduct|bDeviceClass|bDeviceProtocol)' 2>/dev/null

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         3 
  iProduct                2 xHCI Host Controller
Bus 001 Device 004: ID 046d:c001 Logitech, Inc. N48/M-BB48/M-UK96A [FirstMouse Plus]
  bDeviceClass            0 (Defined at Interface level)
  bDeviceProtocol         0 
  iProduct                2 USB Mouse
      (Bus Powered)
  (Bus Powered)
Bus 001 Device 003: ID 13d3:3496 IMC Networks 
  bDeviceClass          224 Wireless
  bDeviceProtocol         1 Bluetooth
  iProduct                0 
Bus 001 Device 002: ID 0bda:57ed Realtek Semiconductor Corp. 
  bDeviceClass          239 Miscellaneous Device
  bDeviceProtocol         1 Interface Association
  iProduct                1 USB2.0 VGA UVC WebCam
      (Bus Powered)
  bDeviceClass          239 Miscellaneous Device
  bDeviceProtocol         1 Interface Association
  (Bus Powered)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         1 Single TT
  iProduct                2 xHCI Host Controller

USB Host controllers entries (without OHCI, UHCI, EHCI) are removed too.

Resources

Attachments

Some configuration files and sample outputs.

Bug#832925

Credits