-
Notifications
You must be signed in to change notification settings - Fork 5
Compiling the kernel for T100TAF
I WAS ABLE TO GET WORKING EVERYTHING EXCEPT THE CAMERA:
-
sound
-
screen brightness
-
multitouch touchpad
-
bluetooth
-
wifi
-
rotation/brightness
-
sensors
great work to all the community and a few dedicated intel devs
ONLY PROCEED OF YOU OWN A T100TAF and HAVE ADVANCED LINUX KNOWLEDGE
I don’t guarantee that you will not fry your speakers or your device if you proceed…
Everything works perfectly on mine.
-
You need patches from this branch: https://github.com/plbossart/sound/commits/topic/v4.9-fixes
-
you will also need the UCM files: https://github.com/plbossart/UCM/tree/master/bytcr-rt5640
you need to copy the bytcr-rt5640 directory to /usr/share/alsa/ucm and use pulseaudio 4.0+
-
you will have mono speaker sound, headphones sound, you will also have hdmi sound (beware cheap microhdmi cables do not have sound transport)
-
you will need the t100 multitouch patch: https://github.com/Asus-T100/kernel/commit/14648d7c17454c1a109a3d391c331a5d405d810c
-
and need to modify it for T100TAF: https://github.com/Asus-T100/kernel/commit/d770c0609ca52f7b7ae711c9edb3a703ee00a4d5
-
you will need to reattach the dock when starting up to get it working
-
You will need shobhit’s set of patches + a patched DSDT. https://github.com/Asus-T100/kernel/commit/1fef1951d70bb5b6f99a1331f16404897bbd2cc1
-
You can use my DSDT: https://github.com/Asus-T100/kernel/blob/linux-4.9.x/T100TAFdsdt.hex
-
Change your kernel .config:
CONFIG_I2C_DESIGNWARE_CORE=y CONFIG_I2C_DESIGNWARE_PLATFORM=y CONFIG_I2C_DESIGNWARE_PCI=y CONFIG_I2C_DESIGNWARE_BAYTRAIL=y CONFIG_PWM_LPSS=y CONFIG_PWM_LPSS_PCI=y CONFIG_PWM_LPSS_PLATFORM=y # CONFIG_STANDALONE is not set CONFIG_ACPI_CUSTOM_DSDT_FILE="/PATH_TO_THIS_FILE/T100TAFdsdt.hex" CONFIG_ACPI_CUSTOM_DSDT=y
-
Extract ACPI tables (as root):
# cat /sys/firmware/acpi/tables/DSDT > dsdt.dat
-
Decompile:
iasl -d dsdt.dat
-
open and find in dsdt.dsl
Method (_STA, 0, NotSerialized) // _STA: Status { If (((P10A == Zero) || (L11D == One))) { Return (Zero) } If ((OSSL & 0x80)) { - Return (Zero) + Return (0x0F) } Return (0x0F) }
-
Recompile:
iasl -tc dsdt.dsl
-
Use the generated *.hex in your kernel
-
For the brightness sensor you need this patch: https://github.com/Asus-T100/kernel/commit/ec48bca0b7e96996c5992160e932c27b27cfd722
-
If you use Gnome 3.20 you can install iio-sensor-proxy and you will have auto brightness…
-
You can also use T100 scripts for auto brightness provided by this community
-
i opted for the iio-sensor-proxy and i also have auto rotation in gnome…
-
You just need the HCD file and a command to enable it: https://github.com/Asus-T100/firmware/blob/master/brcm/BCM43341B0.hcd
-
put the file in /lib/firmware/brcm/
# btattach --bredr /dev/ttyS4 -P bcm
could be on your system:
# btattach --bredr /dev/ttyS1 -P bcm
-
needs only a txt file https://github.com/Asus-T100/firmware/blob/master/brcm/brcmfmac43340-sdio.txt
-
put it in /lib/firmware/brcm/