You are not logged in.

#1 2016-06-07 19:38:37

voidptr
Member
Registered: 2016-06-07
Posts: 1

Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

I got one a few days ago, and got Arch on it with few problems. Here are my installation notes: https://docs.google.com/document/d/190L … sp=sharing

Hadn't seen a lot of success stories around, and a lot of dumb mucking around with Grub when you really don't have to.

TL:DR; ArchISO works fine out of the box, as long as you have an HDMI dongle to capture the console output for the initial installation. Wifi doesn't work (yet), so you'll need an external wifi dongle.

Offline

#2 2016-06-08 13:56:49

xPm
Member
Registered: 2013-05-23
Posts: 2

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

For what it's worth, I also have a Cherry Trail laptop with a broadcom wifi using SDIO (but another one: BCM4356).
There exists a kernel patch to get it working, which is not in the stable kernel yet.
However, just like you, wifi doesn't work despite having the appropriate drivers for the wifi card.

Having spent some time trying to figure it out, I've reached the conclusion that the problem comes from SDHCI and not the broadcom module itself.

I'll skip the boring details, here's a summary:
- my laptop has 3 sd card slots : one for the emmc (working), one for a sd card (working with windows, not working with linux), one for the wifi sdio card (working with windows, not working with linux)
- dmesg | grep mmc mentions mmc0 without error, mentions mmc1 (but says something along the lines of : can't initialize SDIO card), doesn't mention mmc2 at all
- loading the brcmfmac module outputs nothing at all in dmesg

I know my laptop is not the same, but it seems you have some symptoms in common with me (cherry trail laptop whose wifi is not working with a broadcom sdio card despite having drivers supposed to work), and you might also have a sdhci problem just like me. Don't spend too much time trying to fix the wifi module until you've confirmed the SD works properly.

For the record, the probable culprit is a Intel 80860F14 SD controller.

I suggest dumping a dmesg.

Offline

#3 2016-07-24 21:23:39

clownfish
Member
Registered: 2006-09-04
Posts: 72

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

I'm looking for a device like the T100HA. Does wifi work already? How is your experience with Arch Linux on the T100HA until now?

Offline

#4 2016-08-14 08:33:02

rapiertg
Member
Registered: 2016-08-14
Posts: 5

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

Hello,

You should really try 'video=LVDS-1:d' instead of nomodeset. Nomodeset seems to use some 'work around' fbdev driver. Parameter I pasted works for me, with working randr extensions - so I can flip my screen with gnome-settings without any xorg.conf magic. Also gdm is working fine for me with this parameter. Using 4.7 kernel here.

Cheers.

EDIT: Unfortunatelly, this seems not to work every boot. Have to reboot the machine sometimes after black screen.

Last edited by rapiertg (2016-08-14 09:24:19)

Offline

#5 2016-08-18 17:26:01

gmelchett
Member
Registered: 2016-08-18
Posts: 75

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

Hi,

Did also give arch linux on my T100HAN a try. Two things that can be done a little easier than with voidptr's great guide:
- Press "e" at the bootmenu and add "nomodeset fbcon=rotate:3" to the kernel command line instead of using an external monitor.
- Use an android phone (or I guess iphone) in "share internet over usb" mode. Just attach your phone and run "systemctl restart dhcpcd@en< what "ip link" tells you>"

I started with running "evtest", and regarding input units this is the status:

- Fully working: touchscreen, including multi touch. Closing Lid is detected. (Don't know about opening, since suspend is aborted.)
- Not working: volume up/down, power button.
- partially working: keyboard. Most keys that requires FN to be pressed becomes nothing or ABS_MISC. touchpad: left and right click, plus single touch. multi touch for scrollwheel isn't working. (There is a crude patch for multitouch floating around on google+. didn't try it)

Didn't try remove/connect the keyboard/touchpad part.
Other tests:
- USB 2.0 otg and USB port on the side of the keyboard seems to work fine
- SD card is not detected at all. Inserting/removing sdcard is completely undetected.
- suspend/resume fails during suspend and gives up. Didn't investigate.
- reboot seems to work, but halting doesn't.
- eMMC seems to be working. installation was a success and it boots nicely.
- screen in "textmode".

I'll continue to poke into the status of the different hardware parts of the T100HAN.

EDIT: /sbin/shutdown -h now works

Last edited by gmelchett (2016-08-22 17:22:26)

Offline

#6 2016-08-22 17:31:35

gmelchett
Member
Registered: 2016-08-18
Posts: 75

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

Did run i2cdetect, summary:

bus 0 - 0x66, 0x68
bus 1 - 0x1a
bus 2 - nothing
bus 3 - failed to scan
bus 4 - failed to scan
bus 5 - (0x5c - in use)
bus 6 - 0x5e (0x6e - in use)

bus 5, 0x5c is the touchscreen. I didn't manage to findout what device that uses 0x6e on bus 6.

From windows I've figured out that the two cameras:
    - front unicam hm2051
        http://www.himax.com.tw/products/cmos-i … rs/hm2051/
    - back ov5670
        https://github.com/kirananto/ZENFONE2/b … c/ov5670.c

is controlled over i2c, but I've not found out the addresses.

EDIT: bus 3 works fine.

Last edited by gmelchett (2016-10-09 12:04:57)

Offline

#7 2016-09-11 18:03:06

rapiertg
Member
Registered: 2016-08-14
Posts: 5

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

People over here managed to get WIFI working:

http://www.transformerforums.com/forum/ … 0ha-4.html

Unfortunatelly it is not working for me. Probably I am doing something wrong. Let me hear if it is working for someone on Arch.

Offline

#8 2016-09-15 17:11:03

rapiertg
Member
Registered: 2016-08-14
Posts: 5

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

I managed to make WIFI working with the way above (fixing ACPI with DSDL). Note It is not working on kernel 4.7.2, but is working on 4.7.3-2 kernel.

Offline

#9 2016-10-09 12:08:14

gmelchett
Member
Registered: 2016-08-18
Posts: 75

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

With the DSDT patch for WIFI, the sd card reader starts to work - but only if you boot with a card inserted. Card detection fails.

I've filed a bug report on that issue: https://bugzilla.kernel.org/show_bug.cgi?id=177101

I've also filed a bug on that scanning i2c bus 4 fails: https://bugzilla.kernel.org/show_bug.cgi?id=177111
IMHO, it is not important for Asus T100HA, since it's just a camera sitting on that i2c bus, but might be other cherry trail based computers that suffers more.

Offline

#10 2016-10-12 11:21:42

gmelchett
Member
Registered: 2016-08-18
Posts: 75

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

With CONFIG_PINCTRL_CHERRYVIEW=y instead of CONFIG_PINCTRL_CHERRYVIEW=m, card detect works just fine!

Offline

#11 2016-10-18 10:28:31

gmelchett
Member
Registered: 2016-08-18
Posts: 75

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

4.9-rc1 does bring support for the Intel Sensor Hub (screen rotation), Crystal Cove updates (handles power, among other things backlight) and Whiskey Cove (USB3). But still, booting with i915 KMS enabled results in a black screen.

Offline

#12 2016-10-20 20:20:35

jmiahman
Member
Registered: 2016-10-20
Posts: 25

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

If anyone has a kernel for me to test let me know, I am doing stock 4.9 RC1, so far I have just been able to get the WIFI to work using the mkinitrd update DSDT method, no sound and using the efifb drive for grahpics.

Last edited by jmiahman (2016-10-21 16:31:49)

Offline

#13 2016-10-21 23:01:57

jmiahman
Member
Registered: 2016-10-20
Posts: 25

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

One more thing.. as I am finding inconsistancies with the multitouch driver by kernel version.. For those of you who have working touchscreens could you do me a huge favor and post.. your uname -a and lsmod output. Thanks

Offline

#14 2016-10-22 06:01:33

gmelchett
Member
Registered: 2016-08-18
Posts: 75

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

Issues with the touchscreen or the touchpad? Without having tested, I guess that for multitouch for the touchpad you would need the same patch as for the T100:
https://local.thedrhax.pw/jenkins/job/t … rnel_v4.8/

According to DSDT, there are several audio chips, but windows says that the one in use is RealTek I2S 3270 (ALC3270) which I couldn't find a kernel driver for.

Offline

#15 2016-10-22 08:49:48

rapiertg
Member
Registered: 2016-08-14
Posts: 5

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

After upgrading to 4.8.x I again have black screen issues, even with "video=LVDS-1:d", and have to use nomodeset, which disables i915 driver.

Offline

#16 2016-10-22 10:35:30

gmelchett
Member
Registered: 2016-08-18
Posts: 75

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

rapiertg, did your system run stable with i915 on 4.7? I've not tested extensively and the https://bugs.freedesktop.org/show_bug.cgi?id=94807 mention that it isn't.
I don't know if I will find time, but I might try to backport crystalcove patches from 4.9rc to 4.7..

Offline

#17 2016-10-22 18:14:53

gmelchett
Member
Registered: 2016-08-18
Posts: 75

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

With 4.7.10, I blacklisted i915 and probed it later. That didn't help regarding random black screens (v sync timeout). But it fixed hw backlight!
i915 tends to start before pwm_crc, which causes the issue.

Offline

#18 2016-10-22 18:40:18

rapiertg
Member
Registered: 2016-08-14
Posts: 5

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

gmelchett, nice finding. On i915 it froze my system two or three times, but were stable enough to use for every day. Also note it did not succeded to load without black screen every time (actually about 80% times succeded). Maybe its some timing issue too...

Offline

#19 2016-10-23 06:50:47

gmelchett
Member
Registered: 2016-08-18
Posts: 75

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

Good! Time to migrate from virtualbox then.

I did try to modprobe i915 with all CPUs, but one offline, but that didn't change anything. Still got "pipe A vblank wait timed out" from the driver. I did test 4.8 as well, and I got the same error message. but with 4.8 I have like 0% success, while with 4.7.10 it's more like 2/3 success rate.

I'll write a bug report on the vblank time out issue or add some more info to existing ones. There seems to be a few around.

Btw, suspend/resume to mem looks promising. I think it will work if you rmmod the touchscreen driver and wlan before suspend and insmod them afterwards.

Offline

#20 2016-10-23 11:38:27

gmelchett
Member
Registered: 2016-08-18
Posts: 75

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

Filed a bug regarding the black screen:
https://bugzilla.kernel.org/show_bug.cgi?id=180041

Offline

#21 2016-10-24 11:40:32

gmelchett
Member
Registered: 2016-08-18
Posts: 75

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

There are at least two patches from Asus T100 google+ group:

https://drive.google.com/drive/folders/ … WU0bkRxa28

that are of interest:
meta-key-asus.patch - Adds support from Fn-Fx keys
usbhid-asus-t100-v2.patch - Transforms the touchpad to a touchpad (not a mouse as it is by default)
You just have the change:
#define ASUS_T100_DEVICEID 0x17e0
to
#define ASUS_T100_DEVICEID 0x1807

However, tapping on the touchpad isn't counted as a mouse click.

Maybe "dumbing down" the driver and use touchegg - https://github.com/JoseExposito/touchegg would be a better solution?

EDIT: The driver doesn't do much extra, except defining areas for left and right button.

Last edited by gmelchett (2016-10-24 14:42:07)

Offline

#22 2016-10-26 01:58:30

jmiahman
Member
Registered: 2016-10-20
Posts: 25

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

I have been doing research on sound and apparently this laptop was cursed with needing the cx2072x codec..

https://bugzilla.kernel.org/show_bug.cgi?id=115531

I get the same error "intel_sst_acpi 808622A8:00: No matching machine driver found" as the E200HA and the HP X2 N109. According to Pierre Bossart who works for Intel it is going to be a while before this is supported.

So if you have gotten sound to work on the T100HA.. a How-To would be nice especially since it could be used to help out at least 2 other devices.

Last edited by jmiahman (2016-10-26 01:59:05)

Offline

#23 2016-10-26 02:26:15

basica
Member
From: Australia
Registered: 2012-10-31
Posts: 217

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

I've got a cherry trail based device which doesn't do sound over HDMI. Based on a set of patches that have yet to be merged upstream by one of the Intel developers, I've created an AUR package for a patched kernel which can be found here. Not sure if this will work for those of you with sound issues as I believe sound via USB works on my device without any patches, just not via HDMI. If it works, let me know so we can update the wiki accordingly.

Offline

#24 2016-10-26 04:24:08

jmiahman
Member
Registered: 2016-10-20
Posts: 25

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

Sound via USB is not working sound.. you're most likely using a DSP built into the USB device. That has nothing to do with the on chip sound device. Also sound over HDMI is not a fix for sound either. If you can play sound over the internal speakers and through the 3.5 headphone jack that's what I'm interested in.

Last edited by jmiahman (2016-10-26 04:27:15)

Offline

#25 2016-10-26 04:25:31

basica
Member
From: Australia
Registered: 2012-10-31
Posts: 217

Re: Guide: Installing Arch on Asus Transformer T100HA (T100HAN)

jmiahman wrote:

Sound via USB is not working sound.. you're most likely using a DSP built into the USB device. That has nothing to do with the on chip sound device. Also sound over HDMI is not a fix for sound either.

Fair enough, I don't pretend to know much about it. Thanks for the clarification.

Offline

Board footer

Powered by FluxBB