Ubuntu kernel 4.8 for Acer Aspire Switch 10 SW5-012 (SW3-013)
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Documentation Patch to kernel 4.8.17 [EOL] Jan 16, 2017
arch Patch to kernel 4.8.17 [EOL] Jan 16, 2017
block Patch to kernel 4.8.17 [EOL] Jan 16, 2017
certs Initial commit - Linux kernel source 4.8.0 Release original Oct 21, 2016
crypto Patch to kernel 4.8.15 Dec 16, 2016
drivers Patch to kernel 4.8.17 [EOL] Jan 16, 2017
firmware Initial commit - Linux kernel source 4.8.0 Release original Oct 21, 2016
fs Patch to kernel 4.8.17 [EOL] Jan 16, 2017
include Patch to kernel 4.8.17 [EOL] Jan 16, 2017
init Enabled by default MuQSS Scheduler Nov 1, 2016
ipc Patch to kernel 4.8.4 Oct 23, 2016
kernel Patch to kernel 4.8.17 [EOL] Jan 16, 2017
lib Patch to kernel 4.8.12 Dec 5, 2016
mm Patch to kernel 4.8.17 [EOL] Jan 16, 2017
net Patch to kernel 4.8.17 [EOL] Jan 16, 2017
samples Initial commit - Linux kernel source 4.8.0 Release original Oct 21, 2016
scripts Patch to kernel 4.8.17 [EOL] Jan 16, 2017
security Patch to kernel 4.8.12 Dec 5, 2016
sound Patch to kernel 4.8.17 [EOL] Jan 16, 2017
tools Patch to kernel 4.8.11 Nov 26, 2016
usr Initial commit - Linux kernel source 4.8.0 Release original Oct 21, 2016
virt Patch to kernel 4.8.15 Dec 16, 2016
.cocciconfig Initial commit - Linux kernel source 4.8.0 Release original Oct 21, 2016
.gitignore Initial commit - Linux kernel source 4.8.0 Release original Oct 21, 2016
.mailmap Initial commit - Linux kernel source 4.8.0 Release original Oct 21, 2016
COPYING Initial commit - Linux kernel source 4.8.0 Release original Oct 21, 2016
CREDITS Initial commit - Linux kernel source 4.8.0 Release original Oct 21, 2016
Kbuild Initial commit - Linux kernel source 4.8.0 Release original Oct 21, 2016
Kconfig Initial commit - Linux kernel source 4.8.0 Release original Oct 21, 2016
MAINTAINERS Patch to kernel 4.8.4 Oct 23, 2016
Makefile Patch to kernel 4.8.17 [EOL] Jan 16, 2017
README Initial commit - Linux kernel source 4.8.0 Release original Oct 21, 2016
README.md Update README.md Oct 26, 2017
REPORTING-BUGS Initial commit - Linux kernel source 4.8.0 Release original Oct 21, 2016

README.md

NEWS:

Please view new kernel:

Aspire-SW5-012_Kernel_4.13.*

Kernel 4.13.* for Acer Aspire Switch 10 SW5-012/Fendi2 ONLY!

Forked from XanMod: Linux kernel source code tree - Xanmod Project

GitHub Active branch


This version is no longer supported!

Aspire-SW5-012_Kernel_4.8.17 [EOL]

Kernel 4.8.17 for Acer Aspire Switch 10 SW5-012

In this kernel, MuQSS (Multiple Queue Skiplist Scheduler) is enabled by default.

What works:

  • Keyboard
  • Keyboard's Hotkeys
  • Trackpad
  • Touchscreen (multitouch works)
  • Screen rotation
  • Sound
  • HDMI output
  • Switch to External Screen (HDMI)
  • Light sensor
  • Micro SD reader (Read & Write)
  • Wireless/Wifi
  • Bluetooth
  • Battery status information is available
  • Shutdown correctly works
  • Reboot correctly works
  • Screen power management works

What doesn't work:

  • Sreen backlight (always at full brightness)
  • Built-in camera

Be sure to add these lines to /etc/modprobe.d/blacklist.conf

blacklist snd-soc-sst-acpi
blacklist snd_soc_sst_acpi

blacklist b43
blacklist b43legacy
blacklist ssb
blacklist bcm43xx

Bluetooth

  Add to /etc/modules load btusb
  or load from console # sudo modprobe btusb

  Add to /etc/rc.local

rfkill unblock bluetooth
hciattach /dev/ttyS4 bcm2035 921600 flow

Brightness

Download script

Unpack and copy the file brightness.sh to the /etc/acpi/

Use:

Brightness up
# /etc/acpi/brightness.sh up

Brightness down
# /etc/acpi/brightness.sh down


You can use keyboard shortcuts to system settings.

Screen rotation

Bonuses by Peter Nelson!

I wrote a script to rotate the screen from portrait mode to landscape and back. The tricky bit was getting the touch-screen, touch-pad and mouse axes all properly inverted. It's really icing on the cake for this little hybrid. With the help of the Onboard keyboard (standard Ubuntu) it makes a really nice portrait-mode tablet, now.

You can grab the script and install instructions from its github page:

Download script

Sound system

To complete the work you need to install files from https://github.com/plbossart/UCM

To enable UCM on RT5640 platforms

1. copy directory to UCM location
sudo cp -rf ../bytcr-rt5640 /usr/share/alsa/ucm

UCM files should be detected and use with Pulseaudio 4.0 and above

Wireless

BRCM80211

The wifi device is an on-board SDIO device Broadcom 43241b1, firmware and nvram file need to be installed.

The nvram file can be found under /sys/firmware/efi/efivars/. If the directory is empty it may need to be (temporarily) mounted first by:

# mount -t efivarfs efivarfs /sys/firmware/efi/efivars

Then the nvram-file needs to be copied and renamed:

# cp /sys/firmware/efi/efivars/nvram-74b00bd9-805a-4d61-b51f-43268123d113 /lib/firmware/brcm/brcmfmac43241b4-sdio.txt

After that reboot the system or reload the brcmfmac module:

# sudo modprobe -r brcmfmac && sudo modprobe brcmfmac

RTL8723BS

Download rtl8723bs firmware

Extract the archive and copy all files to /lib/firmware/rtlwifi

  Use kernel module r8723bs,
  add to /etc/modules load r8723bs

  or load from console # sudo modprobe r8723bs

Kernel config file

 Kernel config file Acer Aspire Switch 10 SW5-012 locate to directory
 arch/x86/configs/acer_sw5-012_defconfig

Donate via BTC

Wallet: 1KvWrbLhuzk8DSb2Yq2948bMj3uQvVTQCW