PDA

View Full Version : Asus X205TA hardware support in Ubuntu



Pages : [1] 2 3 4 5 6 7 8 9

Jon Bradbury
November 26th, 2014, 04:21 PM
Hi

I followed the instructions here: https://github.com/lopaka/instructions/blob/master/ubuntu-14.10-install-asus-x205ta.md and have created a bootable USB stick with Ubuntu 14.10 that works on the Asus x205ta. Much of it is working - desktop, basic mouse functions, proper screen resolution.

However, there are lots of problems with the hardware:-


Hot keys do not work, apart from volume up / down / mute. In Ubuntu MATE Linux, there is an Asus Laptop keyboard type but selecting it has no effect.
Suspend doesn't appear to be working. It just turns the screen off.
The internal Broadcom wifi card is not recognised.
Bluetooth card not recognised.
Sound card not recognised.
No battery status available. The system thinks it is plugged into the mains.
The Micro SD card reader doesn't work. Cards are not recognised or mounted.
The trackpad does not support anything more than pointer positioning and right / left clicks. No multi touch (for example, two finger scrolling).
An external wifi card (EdiMax) will work, but is flaky; times out.


I am sure there are other problems and I know there is another thread that talks about running 14.04 on the X205TA.

I ran the utilities requested in that other thread and the output is here.

Output of 'sudo lspci -knn'


ubuntu
description: Notebook
product: X205TA (ASUS-NotebookSKU)
vendor: ASUSTeK COMPUTER INC.
version: 1.0
serial: XXXXXXXXXXXXXXXXX
width: 64 bits
capabilities: smbios-2.7 dmi-2.7 vsyscall32
configuration: boot=normal chassis=notebook family=X sku=ASUS-NotebookSKU uuid=060B9F3C-618E-4E09-AD6E-325920EEB823
*-core
description: Motherboard
product: X205TA
vendor: ASUSTeK COMPUTER INC.
physical id: 0
version: 1.0
serial: XXXXXXXXXXXXX
slot: MIDDLE
*-firmware
description: BIOS
vendor: American Megatrends Inc.
physical id: 0
version: X205TA.205
date: 10/06/2014
size: 64KiB
capacity: 960KiB
capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int14serial int17printer acpi usb smartbattery biosbootspecification uefi
*-memory
description: System Memory
physical id: b
slot: System board or motherboard
size: 2GiB
*-bank
description: DIMM DDR3 1333 MHz (0.8 ns)
product: Array1_PartNumber0
vendor: A1_Manufacturer0
physical id: 0
serial: A1_SerNum0
slot: A1_DIMM0
size: 2GiB
width: 64 bits
clock: 1333MHz (0.8ns)
*-cache:0
description: L1 cache
physical id: 10
slot: CPU Internal L1
size: 224KiB
capacity: 224KiB
capabilities: internal write-back
*-cache:1
description: L2 cache
physical id: 11
slot: CPU Internal L2
size: 1MiB
capacity: 1MiB
capabilities: internal write-back unified
*-cpu
description: CPU
product: Intel(R) Atom(TM) CPU Z3735F @ 1.33GHz
vendor: Intel Corp.
physical id: 12
bus info: cpu@0
version: Intel(R) Atom(TM) CPU Z3735F @ 1.33GHz
slot: SOCKET 0
size: 1330MHz
capacity: 2400MHz
width: 64 bits
clock: 83MHz
capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms cpufreq
configuration: cores=4 enabledcores=4 threads=4
*-pci
description: Host bridge
product: Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 0f
width: 32 bits
clock: 33MHz
configuration: driver=iosf_mbi_pci
resources: irq:0
*-display
description: VGA compatible controller
product: Atom Processor Z36xxx/Z37xxx Series Graphics & Display
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 0f
width: 32 bits
clock: 33MHz
capabilities: pm msi vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:105 memory:90000000-903fffff memory:80000000-8fffffff ioport:1000(size=8)
*-usb
description: USB controller
product: Atom Processor Z36xxx/Z37xxx Series USB xHCI
vendor: Intel Corporation
physical id: 14
bus info: pci@0000:00:14.0
version: 0f
width: 64 bits
clock: 33MHz
capabilities: pm msi xhci bus_master cap_list
configuration: driver=xhci_hcd latency=0
resources: irq:104 memory:90800000-9080ffff
*-generic
description: Encryption controller
product: Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine
vendor: Intel Corporation
physical id: 1a
bus info: pci@0000:00:1a.0
version: 0f
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=mei_txe latency=0
resources: irq:106 memory:90700000-907fffff memory:90600000-906fffff
*-isa
description: ISA bridge
product: Atom Processor Z36xxx/Z37xxx Series Power Control Unit
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 0f
width: 32 bits
clock: 33MHz
capabilities: isa bus_master cap_list
configuration: driver=lpc_ich latency=0
resources: irq:0
*-scsi
physical id: 1
bus info: usb@1:2.1
logical name: scsi0
capabilities: emulated scsi-host
configuration: driver=usb-storage
*-disk
description: SCSI Disk
physical id: 0.0.0
bus info: scsi@0:0.0.0
logical name: /dev/sda
size: 1937MiB (2031MB)
capabilities: gpt-1.00 partitioned partitioned:gpt
configuration: guid=e8412333-63a1-4ab4-9764-8c9e837c422f sectorsize=512
*-volume
description: Windows FAT volume
vendor: mkfs.fat
physical id: 1
bus info: scsi@0:0.0.0,1
logical name: /dev/sda1
logical name: /cdrom
version: FAT32
serial: 9901-bf29
size: 1934MiB
capacity: 1935MiB
capabilities: boot fat initialized
configuration: FATs=2 filesystem=fat mount.fstype=vfat mount.options=ro,noatime,fmask=0022,dmask=0022,cod epage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro state=mounted
*-network
description: Wireless interface
physical id: 1
bus info: usb@1:2.2
logical name: wlan0
serial: 80:1f:02:60:f8:07
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=rtl8192cu driverversion=3.16.0-23-generic firmware=N/A ip=10.0.1.42 link=yes multicast=yes wireless=IEEE 802.11bgn


Output of 'lspci':


00:00.0 Host bridge [0600]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register [8086:0f00] (rev 0f)
Subsystem: ASUSTeK Computer Inc. Device [1043:18cd]
Kernel driver in use: iosf_mbi_pci
00:02.0 VGA compatible controller [0300]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display [8086:0f31] (rev 0f)
Subsystem: ASUSTeK Computer Inc. Device [1043:18cd]
Kernel driver in use: i915
00:14.0 USB controller [0c03]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series USB xHCI [8086:0f35] (rev 0f)
Subsystem: ASUSTeK Computer Inc. Device [1043:182d]
Kernel driver in use: xhci_hcd
00:1a.0 Encryption controller [1080]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine [8086:0f18] (rev 0f)
Subsystem: ASUSTeK Computer Inc. Device [1043:182d]
Kernel driver in use: mei_txe
00:1f.0 ISA bridge [0601]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit [8086:0f1c] (rev 0f)
Subsystem: ASUSTeK Computer Inc. Device [1043:182d]
Kernel driver in use: lpc_ich


Output of 'lsusb':


Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
Bus 001 Device 004: ID 0930:6545 Toshiba Corp. Kingston DataTraveler 102 Flash Drive / HEMA Flash Drive 2 GB / PNY Attache 4GB Stick
Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 002: ID 0bda:57b5 Realtek Semiconductor Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


The Edimax card is an external USB micro wifi card. I think the Realtek device is the sound card.

How can this be progressed? It's a great machine otherwise, and (reportedly) on sale for only $99 in Staples for Black Friday (2014). You lucky Americans get all the best deals - I think there are going to be an awful lot of people buying them.

Cheers

JonB

Jon Bradbury
November 26th, 2014, 05:34 PM
More discussion on the Amazon review page comments here http://www.amazon.com/review/R2JJZZSPCO9OHH/

There is also a version of Fedora called Fedlet here : https://www.happyassassin.net/fedlet-a-fedora-remix-for-bay-trail-tablets/ which says it supports Bay Trail tablets including the Asus Transformer book (T-1000). I'm downloading it now to see if any more hardware is supported on the x205..

Latest is that Asus Technical Support have stated they do not support Linux on the x205 (comment posted on the Amazon product review thread).

Jon Bradbury
November 26th, 2014, 07:59 PM
Update: The Fedlet distribution doesn't load. You get a GRUB screen with options and on selecting Fedlet a pie shaped progress indicator which stops at around 95%. I think it's attempting to install on the internal drive. It doesn't look like a live CD.

haziz
December 3rd, 2014, 11:30 AM
Update: The Fedlet distribution doesn't load. You get a GRUB screen with options and on selecting Fedlet a pie shaped progress indicator which stops at around 95%. I think it's attempting to install on the internal drive. It doesn't look like a live CD.

Actually Fedlet did load a live CD enviroment for me, it does pause a couple of times during the boot but does make it to 100% and a "live CD" enviroment. The graphics and desktop enviroment felt quite slow, so I suspect it did not reconize the graphics chip well, but it did load a working Gnome 3 desktop. Ultimately it felt like getting it to work well on the X205 was going to be a fairly major project so I held off actually installing it and just installed Cygwin on Windows to tide me over - I usually work in the CLI anyway. Since then a newer beta of Fedlet was released so I may give that a try.

Jon Bradbury
December 3rd, 2014, 11:51 AM
@haziz: Thanks - I was beginning to think I was on my own in here.. :) How was hardware support in Fedlet? Does it recognise any of the ACPI / wifi hardware?

Anyway in the end I returned my x205 to the store. I had to use VirtualBox to get Ubuntu running propery and it wasn't too bad. Of course, all the x205 hardware worked perfectly. But mine was a blue one which looked like a 5 year old laptop after 3 days thanks to the paint finish showing up every little fingerprint, so I decided to wait for the gold one to become available in the UK (I saw a white one but it looked and felt really nasty). I might also be able to get a 64GB version if they ever make good on their announcement and produce it!

My VirtualBox settings were all default except for number of processors: 2 and memory: 996MB. I used the 32 bit Ubuntu MATE 14.04 distribution - you should give it a go, you might be surprised at how well it runs.

mike270
December 10th, 2014, 10:07 AM
I've just managed to install Ubuntu 14.10 on my asus x205ta notebook, following lopaka's guide like you Jon and I also had the same wifi etc. problems.
I used a different wifi adaptor (Netgear N300 Wifi Mini Adapter) but with the same flaky results - connection fading out and having to often reconnect.

I did have a few extra problems following lopaka, though. They're probably pretty trivial to more experienced
Linux installers but I'm not a complete novice, so it might be worth mentioning them.

1) After initial installation, when trying to boot back into the installed version via command line GRUB on the LiveLinux USB:

Lopaka had steered me right up to this point so when he suggested using

(hd1,gpt2)/boot/vmlinuz-3.16-0-23-generic

as the argument to the linux command, I went for that (the file existed). The attempted boot failed. After much
hair-pulling, I noticed that there had been another vmlinuz option. There was also
a vmlinuz-3.6-0-23.efi.signed file in /boot. I tried that instead and the command line GRUB boot succeeded.
(NOTE: I had remembered to disable secure boot, so that hadn't been the problem).

2) In the final stage of building grubia32.efi, I had problems with the line

../grub-install -d . --efi-directory /boot/efi/ --target=i386ex

It was giving me a 'Can't open <something>/dev/mmcblk0p1" error [sorry, can't remember the
exact wording of the message or what <something> was]. I thought that it was some esoteric problem
related to addressing MMC/SD device partitions because I'd seen some related errors on other forums,
Then somebody from whom I'd eventually asked for help, pointed out that I wasn't making the call as a su!
When I tried sudo ../grub_install... it worked fine. You could say it was just my stupidity to not spot
the problem immediately but I think it's an easy thing to overlook when you are paranoid about all
the potential problems with ****** eMMC storage devices.

Jon Bradbury
December 10th, 2014, 12:49 PM
Hi Mike

This kind of sucks. It's a perfect Linux machine. Oh well.

So, you actually installed to your internal storage? I kept mine as a live USB setup then ran Unbuntu MATE in a VM - it was reasonably quick and supported all hardware. Of course the problem with that is there is hardly any disk space left. Since then I returned the machine because I hated the nasty fingerprint grabbing paint, and will wait for a gold one to become available in the UK. We really need 64GB in this machine, then dual booting becomes reasonable. But for my part I can't really countenance installing Ubuntu internally until at least the wi-fi card works properly, otherwise it would severly limit the utility of the machine. I could have got by with an external card but the one I had gave the patchy results (and it is the same device mentioned as working in lopaka's guide).

One thing that was frustrating was the unavailability of a touchpad settings widget in the system prefs. This may be because it's not in the distro by default, or maybe it cannot detect the trackpad as a pad - seems to thnk it is a mouse?

Anyway, thanks for replying and keep up the good work.

Cheers
JonB

SteveWilliams
December 30th, 2014, 12:54 PM
Hey All,

I got an Asus X205 to work on to get this into a relatively working state.

To get rid of the MMC errors, you can go to https://plus.google.com/communities/117853703024346186936 and download their latest Stable 3.18 Kernels for Ubuntu 15.04 (I honestly don't know if they can be used on 14.10).

The 64-bit Kernel files are here: https://drive.google.com/folderview?id=0B4s5KNXf2Z36a3JzLUhvZ0lGaVU&usp=sharing&tid=0B9C1WK1FQhjfcXNrbzN6djQzajg

The battery indicator works with their patches, but I've so far been unable to get sound and wlan to work. I honestly think that the X205 is a T100 in a laptop format, but alas it seems that the sound and wifi must be different chipsets. I am positive that the X205 uses a brcm 4330 chipset for wifi on the X205 (that's what I got from the PCI vendor IDs when I HAD Windows installed), but I cannot get the module to load no matter what I try.

Cheers
Steve

francesco21
January 21st, 2015, 09:37 PM
Are they any news?
I've tried Fedora (fedlet, to be precise) but it doesn't boot.

Jon Bradbury
February 18th, 2015, 11:17 PM
I'm now in the position whereby I am looking to score another X205 in Gold, hurrah,although it is not a done deal yet. I hope to resurrect this thread or participate with others if I am successful.

@Steve: I read your blog and I can't tell if you got another X205 or not. What's your current status?

Cheers
Jon

PS, Posted from a Samsung NC-10 netbook running Ubuntu Mate. :D

Mason_B
March 1st, 2015, 10:15 AM
This is a great little machine so far. But it is begging for ubuntu. Hopefully 15.04 will add the needed hardware support for wifi, sound, etc. I really hope that I can get ubuntu minimal installed on here in the next couple months!

mörgæs
March 1st, 2015, 11:16 AM
You don't have to wait. You can try 15.04 (beta) right away.

Mason_B
March 1st, 2015, 07:52 PM
You don't have to wait. You can try 15.04 (beta) right away.

But has 15.04 added the needed hardware support yet?

mörgæs
March 1st, 2015, 08:23 PM
If you try a live boot you will find out.

Jon Bradbury
March 1st, 2015, 11:11 PM
I tried Ubuntu Mate 15.04 Beta 1 and it would not boot from CD or USB. I thought that 32-bit efi support was baked in now? I did try to install a 32 bit efi on the USB stick per lopaka's instructions (see first post) but it seems that 15.04 uses a different directory structure for the boot files and it wouldn't get past the GRUB screen.

I'd just like to add that the workaround mentioned on other sites of deleting the /dev/mmblk0rpmb device seems to clear up the USB wireless card problem, and it allowed me to use gparted to shrink the Windows Recovery Partition and increase the size of the main windows C: drive.

Jon Bradbury
March 3rd, 2015, 04:31 PM
Rightyho, I have got Ubuntu MATE 15.04 Beta 1 working. I realised I'd downloaded the i386 (32 bit) image and this doesn't have /EFI/BOOT directory... d'oh! I downloaded the AMD64 image and discovered that it doesn't have a bootia32.efi in its /EFI/BOOT directory, so copied a fresh one in there, following lopaka's instructions.

Here are my impressions:


Wireless still not working
Hotkeys not working apart from mute, volume up and volume down
Sound still not working
Touchpad still looks like a mouse. New to 15.04, it has a certain abount of lag that makes it look like it has momentum when you stop moving it. Very tricky to use.
Backlight intensity can now be changed from the power settings.
Still no battery status and it thinks it's on AC power even when disconnected from the mains.
Still no sleep mode (although the backlight cuts out when you close the lid as before - but this might be implemented in hardware).
Still doesn't recognise the micro-sd card adapter.
A wireless USB mouse (Logitech) failed to work.


All in all, the only improvement I can see is the screen backlight setting is working now. However the weird trackpad behaviour cancels this out.

This release is using a later kernel which is 3.18.0-13-generic and it's a shame it doesn't support more of the hardware. However, there is hope: https://wiki.debian.org/InstallingDebianOn/Asus/X205TA

mörgæs
March 4th, 2015, 12:14 PM
Thanks for testing 15.04. If you feel like it you could discuss the problems in the development forum (http://ubuntuforums.org/forumdisplay.php?f=427) and / or report the bugs in Launchpad.

I don't have ideas right now for troubleshooting, sorry.

Jon Bradbury
March 5th, 2015, 07:32 AM
Shouldn't these support questions go to the kernel devs at kernel.org? Happy to discuss here but I think we're downstream of the devs who would provide fixes (correct me if I'm wrong).

mörgæs
March 5th, 2015, 12:52 PM
I guess you are right but you will be better off by getting a confirmation in the development forum. I don't have much experience in this field.

TheNighthawk
March 15th, 2015, 03:00 AM
Hi all,

I've done the following on my girlfriend's brand new X205TA:

(1) Make a bootable USB stick and back-up whole flash drive

(2) Install on the Windows partition Lubuntu 15.04 beta1 (nightly build) following the steps from: https://github.com/lopaka/instructions/blob/master/ubuntu-14.10-install-asus-x205ta.md .
Note that at the end of the procedure one should do a "sudo update-grub". Afterwards, no boot issues anymore.

(3) Upgrade to Linux kernel 4.0 RC3

(4) Get the microsd card reader working: https://wiki.debian.org/InstallingDebianOn/Asus/X205TA

(5) I have the kernel modules loaded, but no audio devices found, somebody any idea? This is lsmod, would there be modules missing for the sound device to be created? Afaik, snd_soc_sst_baytrail_pcm and snd_soc_rt5640 are the ones?

vempc:~$ lsmod | grep snd
snd_soc_sst_baytrail_pcm 28672 0
snd_intel_sst_acpi 16384 0
snd_soc_sst_dsp 53248 1 snd_soc_sst_baytrail_pcm
snd_intel_sst_core 73728 1 snd_intel_sst_acpi
snd_soc_sst_byt_rt5640_mach 16384 0
snd_soc_sst_mfld_platform 77824 1 snd_intel_sst_core
snd_soc_rt5640 94208 1 snd_soc_sst_byt_rt5640_mach
dw_dmac_core 28672 2 dw_dmac,snd_soc_sst_dsp
snd_soc_rl6231 16384 1 snd_soc_rt5640
snd_soc_core 200704 4 snd_soc_rt5640,snd_soc_sst_baytrail_pcm,snd_soc_ss t_byt_rt5640_mach,snd_soc_sst_mfld_platform
snd_compress 20480 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_pcm 110592 5 snd_soc_rt5640,snd_soc_core,snd_soc_sst_baytrail_p cm,snd_soc_sst_mfld_platform,snd_pcm_dmaengine
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 32768 1 snd_seq_midi
snd_soc_sst_acpi 16384 0
snd_seq 69632 2 snd_seq_midi_event,snd_seq_midi
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 32768 2 snd_pcm,snd_seq
snd 86016 8 snd_soc_core,snd_timer,snd_pcm,snd_seq,snd_rawmidi ,snd_soc_sst_mfld_platform,snd_seq_device,snd_comp ress
soundcore 16384 1 snd


(6) Now trying to get the Wifi working (on-going battle). Based this comment: http://permalink.gmane.org/gmane.linux.kernel.wireless.general/135839 , I can now finally see Wifi's but the connection still fails (via network-applet and via wpa_supplicant)

vempc:~$ sudo wpa_supplicant -Dwext -iwlan0 -cwpa.conf
[sudo] password
Successfully initialized wpa_supplicant
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
wlan0: Trying to associate with a1:b1:e9:da:fd:75 (SSID='WiFiD85' freq=2472 MHz)
ioctl[SIOCSIWFREQ]: Operation not supported
wlan0: Association request to the driver failed
wlan0: Authentication with a1:b1:e9:da:fd:75 timed out.
wlan0: CTRL-EVENT-DISCONNECTED bssid=a1:b1:e9:da:fd:75 reason=3 locally_generated=1
ioctl[SIOCSIWSCAN]: Invalid exchange


thanks for the help,
Koen.

TheNighthawk
March 15th, 2015, 03:19 AM
Hi all,

Quick update, seems that the file: /lib/firmware/brcm/brcmfmac43340-sdio.txt (copied over from /sys/firmware/efi/efivars/nvram*), contained an incorrect MAC address. I've updated in brcmfmac43340-sdio.txt the correct MAC (given by wpa_supplicant) and now I got my X205TA finally online with Linux :-)

Only the audio that's left (and maybe BT).

Koen.

Jon Bradbury
March 15th, 2015, 09:28 PM
Hi Koen

Thank you for posting this information - I can see light at the end of the tunnel!

Do the hotkeys and power settings (sleep especially) work with the 4.0 kernel? And does the trackpad have multitouch or is it still behaving like a mouse?

Cheers
JonB

Mason_B
March 17th, 2015, 03:33 PM
This is great news! I purchased this device specifically with putting ubuntu on it. Was worried that I would have to stick with windows 8.1.

antidrugue
March 18th, 2015, 05:05 AM
Hi all,

Quick update, seems that the file: /lib/firmware/brcm/brcmfmac43340-sdio.txt (copied over from /sys/firmware/efi/efivars/nvram*), contained an incorrect MAC address. I've updated in brcmfmac43340-sdio.txt the correct MAC (given by wpa_supplicant) and now I got my X205TA finally online with Linux :-)

Only the audio that's left (and maybe BT).

Koen.

Hi Koen, I did also find the brcmfmac43340-sdio.bin file in the Android repository. However I don't have the Windows partition intact. Could you post a copy of the brcmfmac43340-sdio.txt file? Thanks!

TheNighthawk
March 19th, 2015, 06:54 PM
Hi,

Concerning the wireless, it seems that an additional step is needed to have it working correctly. On needs to do following extra steps, to be added in /etc/rc.local so it's executed at boot time:

rmmod brcmfmac
rmmod brcmutil
echo on > /sys/bus/platform/drivers/sdhci-acpi/INT33BB\:00/power/control
modprobe brcmfmac

(Credits to the people in : https://bugzilla.kernel.org/show_bug.cgi?id=88061 )

If you wouldn't do these extra steps, the network manager will only be rarely capable of connecting to a selected network.

----
@Jon_Bradbury ; I don't have the impression the hotkeys work already out of the box, maybe with extra config ... The mousepad, I didn't test yet, how should I try to do this? For example, zooming out on Google Maps?
@antidrugue ; I don't have the laptop with me now but I'll try to add the file tomorrow evening or Saturday.

Anyone an idea about the audio? I don't get it; "needed" audio kernel modules are loaded but no audio devices are seen ... Could I try or test something? Someboy an idea? Because the kern.log is not at all throwing errors ...

For the rest, it seems to run quite stable (taking into account beta 1 of Lubuntu 15.04 + a RC3 of kernel 4.0 ) and quite fast (taking into account the limited hardware resources).

Br,
Koen.

Jon Bradbury
March 20th, 2015, 09:03 PM
Hi koen

Try two finger scrolling, that is minimum multitouch functionality. Also look in the settings to see if a trackpad was detected or is it just seeing a mouse?

Cheers
JonB

TheNighthawk
March 21st, 2015, 01:35 AM
Hi,

Please find the required files (to be modified) via following link: http://www.filedropper.com/x205ta . About the multitouch, doesn't seem to work (yet), but I still need to check if I could do something to get it working. Nobody meanwhile for the audio?

Thanks,
Koen.

raviarya
March 21st, 2015, 06:20 PM
Hi Nighthawk
Could you please put all the steps required in step-wise form and help? Did you put update 15.04 to daily/alphas and then put sdio files? Many people like me are struggling to make wifi/audio work on this great cheap laptop and your post shows some hope now.

Thanks


Hi,

Please find the required files (to be modified) via following link: http://www.filedropper.com/x205ta . About the multitouch, doesn't seem to work (yet), but I still need to check if I could do something to get it working. Nobody meanwhile for the audio?

Thanks,
Koen.

lyre2005
March 22nd, 2015, 02:15 AM
Hi TheNighthawk,
I managed to do the same thing as you did for the first 2 steps, but with Ubuntu 15.04 daily build 64 bit. Now if you can share some detail steps on how to upgrade to Linux kernel 4.0 RC3, then I can try out the WiFi setup you shared here.

Thanks,

Lyre

raviarya
March 22nd, 2015, 02:58 AM
I think he might have downloaded rc3 from : http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-rc3-vivid/




Hi TheNighthawk,
I managed to do the same thing as you did for the first 2 steps, but with Ubuntu 15.04 daily build 64 bit. Now if you can share some detail steps on how to upgrade to Linux kernel 4.0 RC3, then I can try out the WiFi setup you shared here.

Thanks,

Lyre

lyre2005
March 22nd, 2015, 08:04 AM
Thanks for the info. I managed to use these 4.0RC3 kernel to successfully get a working WiFi. :)
Now onto to sound card driver/module issue. Got exactly same problem as TheNightHawk. Tried to blacklist the snd_soc_sst_mfld_platform module and the laptop did not like it at all and refuse to complete booting until I had to get into recovery mode to undo the blacklisting. Will try this agian when I have some time.

Just curious if anyone has managed to get laptop suspend/resume working yet.

Lyre

TheNighthawk
March 22nd, 2015, 02:01 PM
Hi,

I've downloaded and installed a compiled kernel 4.0 RC3 from : http://linuxg.net/how-to-install-kernel-4-0-rc3-on-ubuntu-15-04-ubuntu-14-10-ubuntu-14-04-and-derivative-systems/ I've tried to build it myself a few time but it always failed for a reason that had to see with build tools versioning (it failed each time after 5h of building, kinda frustrating it was).

I'd like to do some more testing and trials but I don't have much time the last week and it's not easy to explain to my girl friend that here laptop became a study object that is not available to her ;-)

So, trials and results from other people are warmly welcome too ... To me, the most annoying is now the audio ... Mayb I should try to contact some specialists on kernel fora ...

Cheers,
Koen.

raviarya
March 22nd, 2015, 02:25 PM
Hi lyre2005
So to make wifi working, did you do following?:
1. install 15.04 64bit daily build by lopaka's git linl
2. install 4.0RC3
3. ??? ( put sdio files?)
Could you put it in step wise forms please?

Regarding sound, Ubuntu T100 Google+ has info that next ALSA build may have support.


Thanks
Ravi



Thanks for the info. I managed to use these 4.0RC3 kernel to successfully get a working WiFi. :)
Now onto to sound card driver/module issue. Got exactly same problem as TheNightHawk. Tried to blacklist the snd_soc_sst_mfld_platform module and the laptop did not like it at all and refuse to complete booting until I had to get into recovery mode to undo the blacklisting. Will try this agian when I have some time.

Just curious if anyone has managed to get laptop suspend/resume working yet.

Lyre

lyre2005
March 22nd, 2015, 03:25 PM
You are right. I did follow the first 2 steps. Although my version of 15.04 daily build is from last week when I was tinkering with it. Not sure if the newer version on Ubuntu website is going to be very different or not.

As for the wifi, the 15.04 daily build out of box does not have the built-in wifi chip Broadcom 43340 firmware files. That is why TheNighthawk file in his post #27 is very important.
His file is a zip file containing the following files:

- blacklist.conf
- brcmfmac43340-sdio.bin
- brcmfmac43340-sdio.txt
- rclocal.txt

* modify the file brcmfmac43340-sdio.txt for the entry that has line "macaddr=xx:xx:xx:xx:xx:xx" to match your own x205TA's MAC Address.(I wrote it down while it still had Windows 8.1 on it by look into the wireless connection property in Windows 8.1)

* Deploy the 2 firmware files to the locations as root (or sudo) as
/lib/firmware/brcm/brcmfmac43340-sdio.bin
/lib/firmware/brcm/brcmfmac43340-sdio.txt
These are the locations that the newer wireless driver for 43340 will try to load firmware from in the Linux 4.0 RC3 kernel.

* Deploy blacklist.conf to /etc/modprobe.d/blacklist-custom.conf as root(or sudo)

* Deploy rclocal.txt to /etc/rc.local as root (or sudo) and make sure it is executable.

* Reboot

Let me know if you need any help.


Hi lyre2005
So to make wifi working, did you do following?:
1. install 15.04 64bit daily build by lopaka's git linl
2. install 4.0RC3
3. ??? ( put sdio files?)
Could you put it in step wise forms please?

Regarding sound, Ubuntu T100 Google+ has info that next ALSA build may have support.


Thanks
Ravi

krist0ph
March 22nd, 2015, 07:46 PM
I never tried, but regarding sound, there is a post that suggests we are missing files in linux-firmware:

http://ubuntuforums.org/showthread.php?t=2254631

edit: seems that this issue has already been fixed a while ago

Kuci
March 23rd, 2015, 05:26 PM
X205TA uses rt5648 and not rt5640. Unfortunately, as of next-20150323 I can not see any rt5648 related code in linux-next :(

andrea61
March 23rd, 2015, 06:03 PM
hi Kuci,
where can i see that the codec is rt5648?
on debian wiki it's 5640

edit: i'm asking information @ realtek support :)

Kuci
March 23rd, 2015, 07:57 PM
hi Kuci,
where can i see that the codec is rt5648?
on debian wiki it's 5640

edit: i'm asking information @ realtek support :)
The device bus in mapped on my X205TA as i2c-10EC5648, which implies that there is rt5648 instead of rt5640. If there was rt5640, the bus would be mapped as i2c-10EC5640. Also, an error message from dmesg "sst-acpi 80860F28:00: No matching ASoC machine driver found" supports my assumption since I have built my kernel with rt5640 kernel modules. All in all, I guess somebody has to write a new driver for us.

andrea61
March 23rd, 2015, 08:19 PM
Thank you for the explanation
I can't find anything about rt5648 in the web
I hope it's only an acpi 5 problem

Kuci
March 23rd, 2015, 08:31 PM
Thank you for the explanation
I can't find anything about rt5648 in the web
I hope it's only an acpi 5 problem
I doubt it. I think the debug message mentioned before made it clear. i2c, which is a PCI/ACPI driver, detects the card but is not able to find an ASoC driver for it.

I might be wrong. However, right now this is the only explanation I can come up with.

andrea61
March 23rd, 2015, 10:18 PM
Did anyone test kernel 4.0rc5?

Kuci
March 24th, 2015, 05:57 PM
Nothing changed in 4.0rc5.

TheNighthawk
March 24th, 2015, 06:08 PM
Hi all,

Just heard that the lastest update (of today?) in Lubuntu 15.04 (pushing systemd instead of upstart) breaks the boot process of Lubuntu 15.04 . Didn't had the time yet to look at it, but some people ideas or already a work-around?

Thanks,
Koen.

andrea61
March 25th, 2015, 12:58 PM
same update in vivid
nothing changed

Kuci
March 26th, 2015, 04:19 PM
After further investigation I have found out that the laptop uses rt5648 which is basically rt5645 for Baytrail chipsets. So, Intel Baytrail SST RT5648 machine driver and codec are what we need. I have already submitted a bug report on kernel bug tracker: https://bugzilla.kernel.org/show_bug.cgi?id=95681

andrea61
March 27th, 2015, 12:24 PM
After further investigation I have found out that the laptop uses rt5648 which is basically rt5645 for Baytrail chipsets. So, Intel Baytrail SST RT5648 machine driver and codec are what we need. I have already submitted a bug report on kernel bug tracker: https://bugzilla.kernel.org/show_bug.cgi?id=95681

so ....
in the kernel we have all
it looks like the problem is in the loader
i have seen some patch in next

now i play with touchpad

raviarya
March 27th, 2015, 09:56 PM
Did anybody had any success with SUSPEND functionality?

lyre2005
March 28th, 2015, 01:04 AM
Suspend does not work for me either in Ubuntu 15.04. But it is less of concern for me since you can close the lid to turn off screen back light and this laptop does last long for the whole work day for me. The otherwise stable laptop will become very unstable in my company wireless environment. I haven't figured out why yet other that that turning off wireless function will prevent laptop Ubuntu OS crashing hard, i.e. freezing and require hard reboot. Please let me know if anyone else experience similar thing like this after installing Ubuntu 15.04. I also would like to see if we can get a LVM encrypted setup working.

Lyre

podenno
March 28th, 2015, 01:50 AM
Just heard that the lastest update (of today?) in Lubuntu 15.04 (pushing systemd instead of upstart) breaks the boot process of Lubuntu 15.04 . Didn't had the time yet to look at it, but some people ideas or already a work-around?


That appears to be the case with the daily build and beta 2; I cannot get past the first few screens of the install process without hanging.

m4uf
March 28th, 2015, 06:02 PM
Hello, I managed to install Kubuntu 15.04 with Kernel 4 RC 3 following the recomendations given here before.
Results:
+ MicroSD-Card = working
+ WIFi = working
- Sound = not working
- PowerManagement = not working
I have the problem, too, that the netbook is freezing when left alone... The only thing to get it work again is a hard reboot. This netbook is really annoying!

jfenwick
March 29th, 2015, 12:59 AM
I'm getting really stuck here.
I followed lopaka's instructions.
At some point during installation from USB key it crashed complaining about grub efi amd64.
However, I was still able to boot into the Ubuntu I installed by rebooting on the USB key.
Later I ran into a similar problem whenever I was using apt-get.
It complained that grub-efi-amd64-signed would not install.
Eventually I used dpkg --purge grub-efi-amd64-signed and that seemed to make it go away.

When I was working on installing the 32-bit grub and tried copying grub/grubia32.efi into /boot/efi/EFI/ubuntu it said ubuntu directory didn't exist, so I created it. This made me wonder if at some point it was supposed to already have already been created.
I installed the 32-bit grub and rebooted and I still just got a grub screen. It did not boot into Ubuntu.
I tried booting in with the USB key again and experimenting but couldn't get it working, so I started completely over and reinstalled the OS again.
After all that I still got the same result.

Then I noticed in the BIOS screen that the Boot Override menus had multiple ubuntu options, neither of which worked.
I started researching and found out about efibootmgr.
I tried deleting one of the extra ubuntu entries.
At some point in my experiments this is what I saw:

$ sudo efibootmgr -v
BootCurrent: 0007
Timeout: 2 seconds
BootOrder: 0000,0006,0007,0001,0002,0003
Boot0000* grub HD(1,800,100000,96369397-d7cd-4f11-bc0f-16afd7a2d9a2)File(\EFI\GRUB\GRUBIA32.EFI)
Boot0001* UEFI:CD/DVD Drive BIOS(81,0,00)
Boot0002* UEFI:Removable Device BIOS(82,0,00)
Boot0003* UEFI:Network Device BIOS(83,0,00)
Boot0006* ubuntu HD(1,800,100000,96369397-d7cd-4f11-bc0f-16afd7a2d9a2)File(\EFI\UBUNTU\GRUBX64.EFI)
Boot0007* UEFI: KingstonDataTraveler 2.0PMAP ACPI(a0341d0,0)PCI(1d,0)USB(1,0)USB(2,0)USB(1,0)HD (1,800,1d1331f,29f396c4-bc7e-4a9c-987f-f464adc82122)..BO

So now I have a lot of questions.
Why do we need this ubuntu directory? Why isn't /boot/efi/EFI/grub enough?
When are the entires that are in efibootmgr created? At some point I deleted some entries, and then they got recreated, and I don't really understand why they were recreated.
What files should actually be in the /boot/efi/EFI/grub and /boot/efi/EFI/ubuntu directores?
What should I see in efibootmgr to know it's set up correctly?
Where does this list that efibootmgr modifies actually live? Is it on the Ubuntu partition, or is this a magic first partition similar to MBR on older computers?

I'm also considering trying to the instructions here:
https://wiki.debian.org/InstallingDebianOn/Asus/X205TA

But using the EFI shell sounds a lot scarier and I'm having a hard time seeing where these instructions overlap with lopaka's.

raviarya
March 29th, 2015, 01:34 AM
I had the same problems and finally installed Debian from http://cdimage.debian.org/cdimage/jessie_di_rc2/multi-arch/iso-dvd/ (http://cdimage.debian.org/mirror/cdimage/weekly-builds/multi-arch/iso-dvd/)
Burnt this DVD and it just installed.

Definitely wifi was not working after install. Copied required files to X205TA according to https://wiki.debian.org/InstallingDebianOn/Asus/X205TA
and now it is functional with inbuilt wifi.

Things can be easier if you have spare wifi USB dongle.



I'm getting really stuck here.
I followed lopaka's instructions.
At some point during installation from USB key it crashed complaining about grub efi amd64.
However, I was still able to boot into the Ubuntu I installed by rebooting on the USB key.
Later I ran into a similar problem whenever I was using apt-get.
It complained that grub-efi-amd64-signed would not install.
Eventually I used dpkg --purge grub-efi-amd64-signed and that seemed to make it go away.

When I was working on installing the 32-bit grub and tried copying grub/grubia32.efi into /boot/efi/EFI/ubuntu it said ubuntu directory didn't exist, so I created it. This made me wonder if at some point it was supposed to already have already been created.
I installed the 32-bit grub and rebooted and I still just got a grub screen. It did not boot into Ubuntu.
I tried booting in with the USB key again and experimenting but couldn't get it working, so I started completely over and reinstalled the OS again.
After all that I still got the same result.

Then I noticed in the BIOS screen that the Boot Override menus had multiple ubuntu options, neither of which worked.
I started researching and found out about efibootmgr.
I tried deleting one of the extra ubuntu entries.
At some point in my experiments this is what I saw:


So now I have a lot of questions.
Why do we need this ubuntu directory? Why isn't /boot/efi/EFI/grub enough?
When are the entires that are in efibootmgr created? At some point I deleted some entries, and then they got recreated, and I don't really understand why they were recreated.
What files should actually be in the /boot/efi/EFI/grub and /boot/efi/EFI/ubuntu directores?
What should I see in efibootmgr to know it's set up correctly?
Where does this list that efibootmgr modifies actually live? Is it on the Ubuntu partition, or is this a magic first partition similar to MBR on older computers?

I'm also considering trying to the instructions here:
https://wiki.debian.org/InstallingDebianOn/Asus/X205TA

But using the EFI shell sounds a lot scarier and I'm having a hard time seeing where these instructions overlap with lopaka's.

raviarya
March 30th, 2015, 04:01 PM
Some further updates from Debian developer regarding UEFI:

http://blog.einval.com/debian/CDs/Jessie-EFI_6.comments

podenno
March 31st, 2015, 01:32 AM
Some further updates from Debian developer regarding UEFI:

http://blog.einval.com/debian/CDs/Jessie-EFI_6.comments

When I try this image, and several other, the system boots into grub showing no menu items to choose and no kernel found in any partition. In fact, poking around with ls, it appears that there isn't much of anything in any known partition but /boot/grub/grub.cfg. I must be doing something very wrong. I'm new to EFI.

jfenwick
March 31st, 2015, 06:49 PM
When I try this image, and several other, the system boots into grub showing no menu items to choose and no kernel found in any partition. In fact, poking around with ls, it appears that there isn't much of anything in any known partition but /boot/grub/grub.cfg. I must be doing something very wrong. I'm new to EFI.

Ya I noticed that when I reinstalled it didn't put some of the files there that it put the first time.
I have a suspicion that grub doesn't completely wipe out the boot loader region if there has already been stuff installed in there by a different debian installer.

podenno
April 2nd, 2015, 06:06 PM
Ya I noticed that when I reinstalled it didn't put some of the files there that it put the first time.
I have a suspicion that grub doesn't completely wipe out the boot loader region if there has already been stuff installed in there by a different debian installer.

That very well might have been the problem, but I went through so much to get it (Kubuntu Daily) installed that I can't say for certain.
What I think worked was:

1) Mostly install kubuntu but fail on writing the boot loader (which might have occurred for the reason you suggest).
2) Boot into the live disk, mount / and install and run boot-repair.
3) Follow the instructions here http://askubuntu.com/questions/254491/failed-to-get-canonical-path-of-cow to mount several directories,
chroot and run update-grub (I had the "canonical path of /cow" problem this page speaks of).
4) Boot to grub with a USB stick and continue with Lopaka's instructions for installing grub.

I'm not suggesting that this makes sense, but if others get stuck getting grub built, the above might be worth a try.

- Peter

awakephd
April 3rd, 2015, 05:12 PM
This thread has been extremely helpful in tweaking my Ubuntu installation to my Asus EEE X205, especially with respect to getting the internal wifi working. I see, though, that some recent posters are still having some struggles loading Ubuntu to this machine. With hesitation I am offering my write-up of how to set up Ubuntu 14.10 on the X205 in a dual-boot configuration (to go exclusively with Ubuntu, just select the appropriate option during installation). If this is helpful to anyone, credit is due to many, many others, both on this forum and elsewhere on the 'net!

ryoung-e
April 3rd, 2015, 05:25 PM
Just want to share my experience, as I just bought one of these little beasties.

I managed to do a minimal netinstall of Debian 8 (jessie) - I happened to have a wifi dongle, so once install was complete I was able to install all the necessary extra packages to have a fully fledged machine running gnome.

I upgraded the kernel to 4.0.0-040000rc6-generic and managed to get battery stats, and wifis working.

While audio still doesn't work, I use a USB headset which works flawlessly with no configuration.

This thread has been wildly helpful!

jfenwick
April 4th, 2015, 08:52 AM
This thread has been extremely helpful in tweaking my Ubuntu installation to my Asus EEE X205, especially with respect to getting the internal wifi working. I see, though, that some recent posters are still having some struggles loading Ubuntu to this machine. With hesitation I am offering my write-up of how to set up Ubuntu 14.10 on the X205 in a dual-boot configuration (to go exclusively with Ubuntu, just select the appropriate option during installation). If this is helpful to anyone, credit is due to many, many others, both on this forum and elsewhere on the 'net!

Thanks for posting that.
I think what actually helped the most was this link:
http://www.jfwhome.com/2014/03/07/perfect-ubuntu-or-other-linux-on-the-asus-transformer-book-t100/

I think a command of this is what finally did it:
https://wiki.debian.org/GrubEFIReinstall

Probably this one:
apt-get install --reinstall grub-efi

This talks a bit about what some of the files are:
http://askubuntu.com/questions/342365/what-is-the-difference-between-grubx64-and-shimx64

And this seems to be a great resource that I'm starting to read through:
http://www.rodsbooks.com/efi-bootloaders/

On to getting wireless working!

jfenwick
April 5th, 2015, 09:01 AM
I was reading that the wifi drivers have an incorrect MAC address that needs to be modified.
Is there a way to find the MAC address now that I don't have Windows on there any more?
I've been able to get the wifi module to load, and the wlan shows up, but I can't actually get it to connect to a network and I'm not sure why.

podenno
April 5th, 2015, 09:13 AM
Hi all,

Quick update, seems that the file: /lib/firmware/brcm/brcmfmac43340-sdio.txt (copied over from /sys/firmware/efi/efivars/nvram*), contained an incorrect MAC address. I've updated in brcmfmac43340-sdio.txt the correct MAC (given by wpa_supplicant) and now I got my X205TA finally online with Linux :-)

Koen.

By "an incorrect MAC address" I assume that you mean that the MAC specific to your wireless hardware (found, for example, with iwconfig) needed to be provided in the file. (I ask this because mine doesn't work, with the provided MAC or mine. Maybe that is because I installed the OS with a USB wireless and the ASUS one is now eth0. But I'm just guessing.)

d-radzik
April 5th, 2015, 07:33 PM
hi, I would like to buy this laptop to use with ubuntu. Light weight is what I'm looking for. Is this better than chromebook? Do you think that the remaining issues will be solved to make it fully ubuntu friendly?
Thanks

schmidtbag
April 10th, 2015, 01:11 AM
Jon Bradbury - you should edit your first post with a step-by-step guide with proven results for this. It seems this laptop is gaining popularity pretty quickly, and it seems like results are very specific. Here, I can start you out:
1. Download your chosen variant of Ubuntu 15.04. In my experience, using debian, even with the 4.0 kernel, has had some regressions.
2. If using unetbooting to make a bootable flash drive and you want a 64 bit setup, check the "EFI/BOOT/" folder for a 32-bit EFI (bootia32.efi) and get one if it is missing.
3. When booting the ISO, run "sudo rm /dev/mmcblk0rpmb"
4. If you don't intend to dual boot, use gparted and delete all partitions. For some reason, the Ubuntu installer seems really picky about how the EFI partition is set up, so don't use it just yet
5. When running the installer, let it choose how to partition the drive. Though the EFI partition is a bit excessive (512MB), it creates a 2GB swap space, which is reasonable.
6. Before rebooting, if you are using the 64-bit release, chroot into your Ubuntu install and run "apt-get remove grub-efi-amd64" and "apt-get install grub-efi-ia32"
7. Reboot
8. Download the linux 4.0 RC3 (or newer) kernel and install it. In my experience, RC1 seemed to make the trackpad "choppy".
9a. Download http://www.filedropper.com/x205ta
9b. Copy blacklist.conf to /etc/modprobe.d/
9c. Copy rclocal.txt to /etc/
9d. Copy the brcmfmac43340* files to /lib/firmware/brcm/
9e. In my experience, you don't need to worry about the MAC address in the .txt file. It worked for me without having to change that.
10a. Add "options sdhci debug_quirks=0x8000" to /etc/modprobe.d/sdhci.conf
10b. And then run "update-initramfs -u -k all"


So anyway, did anybody get Bluetooth to work? Since lspci doesn't tell me anything useful at all, I can't figure out what it is called. If I can at least get bluetooth to work, I can try getting some bluetooth headphones and wait for the built-in audio to get implemented.

Since this laptop boots so quickly and is so low-power, I personally find suspend to be a very low priority. Besides, linux is notorious for poor suspend support, so I'm personally not going to bother focusing on that.

Pieni_Sieni
April 10th, 2015, 11:25 AM
Thanks very much for all the useful information on this thread.

I have been attempting a 64bit install of the Desktop version of Ubuntu 15.04 beta2.

The install goes fine until it starts installing GRUB.

Installation GUI pops up with an error message saying: "Unable to install GRUB in /dev/mmcblk0".

A closer look at the syslog states:


ubuntu grub-installer: info: Installing grub on '/dev/mmcblk0'
ubuntu grub-installer: info: grub-install does not support --no-floppy
ubuntu grub-installer: info: Running chroot /target grub-install --force
ubuntu grub-installer: grub-install: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.
ubuntu grub-installer: error: Running 'grub-install --force failed.


So far, I used Rufus to prepare a bootable USB stick from "ubuntu-15.04-beta2-desktop-amd64.iso" with a GPT Partition scheme for UEFI. Then copied bootia32.efi to the /EFI/BOOT directory. Also I turned of secure boot control, and set the USB controller select setting to EHCI in the BIOS.

Plus tried first cleaning the partition tables with gparted before install. Any ideas would be very much welcome, thanks.

PS. Did "sudo rm /dev/mmcblk0rpmb" too!

andrea61
April 11th, 2015, 12:14 AM
boot using plugged usb drive and press "c" to boot manually

## boot without grub
linux (hd1,gpt2)/boot/vmlinuz[use tab to complete the name] root=/dev/mmcblk0p2 reboot=pci,force init=/bin/systemd ro quiet
initrd (hd1,gpt2)/boot/vmlinuz[use tab to complete the name]
boot


## install grub
apt-get install git bison libopts25 libselinux1-dev autogen m4 autoconf help2man libopts25-dev flex libfont-freetype-perl automake autotools-dev libfreetype6-dev texinfo
mkdir git
cd git
git clone git://git.savannah.gnu.org/grub.git
cd grub
./autogen.sh
./configure --with-platform=efi --target=i386 --program-prefix=""
make
cd grub-core
sudo ../grub-install -d . --efi-directory /boot/efi/ --target=i386
sudo nautilus --> copy /boot/efi/EFI/grub/grubia32.efi to /boot/efi/EFI/ubuntu/
sudo update-grub2




*** with kernel from daily builds 2015 04 10 --> webcam is working fine (but can't test sound)

TheNighthawk
April 18th, 2015, 11:33 AM
Hi all,

Question, we're experiencing regular freezes of Lubuntu (kernel 4.0 final), does somebody else have this too? It's reproducable when closing the laptop cover (system goes in standby?) and reopening it. I tried to configure that the laptop shouldn't do anything when closing the laptop but this doesn't seem to help. Next to that also while working (surfing, LibreOffice), sometimes (not often) the system freezes and a reboot is necessary ... Somebody has this too and knows a work-around?

Thanks,
br, Koen.

raviarya
April 18th, 2015, 05:50 PM
I do face the same problems but don't know the workaround.


Hi all,

Question, we're experiencing regular freezes of Lubuntu (kernel 4.0 final), does somebody else have this too? It's reproducable when closing the laptop cover (system goes in standby?) and reopening it. I tried to configure that the laptop shouldn't do anything when closing the laptop but this doesn't seem to help. Next to that also while working (surfing, LibreOffice), sometimes (not often) the system freezes and a reboot is necessary ... Somebody has this too and knows a work-around?

Thanks,
br, Koen.

andrea61
April 19th, 2015, 01:07 PM
Hi all,

Question, we're experiencing regular freezes of Lubuntu (kernel 4.0 final), does somebody else have this too? It's reproducable when closing the laptop cover (system goes in standby?) and reopening it. I tried to configure that the laptop shouldn't do anything when closing the laptop but this doesn't seem to help. Next to that also while working (surfing, LibreOffice), sometimes (not often) the system freezes and a reboot is necessary ... Somebody has this too and knows a work-around?

Thanks,
br, Koen.

I have the same issue but it's really rare.
Sometimes the 4.0 kernel freezes during boot.

Are there any news about sound driver and codec?

AtticHacker
April 19th, 2015, 03:35 PM
Just want to share my experience, as I just bought one of these little beasties.

I managed to do a minimal netinstall of Debian 8 (jessie) - I happened to have a wifi dongle, so once install was complete I was able to install all the necessary extra packages to have a fully fledged machine running gnome.

I upgraded the kernel to 4.0.0-040000rc6-generic and managed to get battery stats, and wifis working.

While audio still doesn't work, I use a USB headset which works flawlessly with no configuration.

This thread has been wildly helpful!

Hi, I also used the Debian 8 netinstall, compiled the 4.0 kernel from source and got wifi working. However I still can't see my battery through acpi / upower. Did you do anything specific to get the battery working?

Edit: I tried the ubuntu provided kernel image and now it seems to work! I guess I didn't enable specific modules during my build.
Edit2: Also having the freezing issue now with this kernel. Didn't have these issues with my custom kernel build.

AtticHacker
April 20th, 2015, 11:51 PM
I believe I fixed the freezing when closing the laptop, I simply added the following line in /etc/systemd/logind.conf

HandleLidSwitch=ignore
(Afterwards you need to restart logind or reboot)

I assume that the laptop tries to go to sleep and isn't able to wake up again, now it just simply does nothing when the lid is closed.
I was able to reproduce the freezing after 2 minutes of the lid being closed, but since I made this chance I've been unable to reproduce it (2, 5, 10 minutes).
Thankfully the screen has a hardware switch so it turns off when the lid is closed.

launchpad-net-aicardi
April 22nd, 2015, 06:04 PM
Hi everyone in this thread and thanks everyone who posted before.

I'm planning to buy this great netbook and Ubuntu would be my only OS.

Has someone succeeded in making sound working?

Thanks a lot.

Marco

AtticHacker
April 22nd, 2015, 06:16 PM
Hello everyone,

As I mentioned before regarding the freezing when the lid is closed, so far I haven't experienced the issue again.

Although that seems to be fixed I was still getting random freezes just by using the laptop, I noticed an extreme flood in evbug logs:
(And I had recently removed this file)


# cat /var/log/syslog | grep evbug | wc -l
7125


This seems to be a recurring issue and can be /fixed/ by adding evbug to blacklist

cat /etc/modprobe.d/blacklist.conf:


blacklist evbug


I can't say for sure that this was the reason for the freezes but everytime I did freeze this was in the logs. I added the blacklist, rebooted a few times and haven't experienced any more freezes so far. If I do happen to freeze again I'll edit this post.


EDIT: This did not seem to fix the freezing issue unfortunately, but I still recommend doing to to prevent log spam.

Jon Bradbury
April 23rd, 2015, 10:01 PM
Jon Bradbury - you should edit your first post with a step-by-step guide with proven results for this.

Agree, but I have stopped working on it for the time being until more compatibility appears in the kernel (and I have more spare time!). I asked the question - but I'm not the expert here and I have not actually done a proper install (I'm running Ubuntu Mate in OpenBox under Win8.1).

schmidtbag
April 26th, 2015, 04:00 PM
So I've tried something that may help prevent the random freezing. I haven't tried it extensively enough to prove this though:

During boot, try going to the advanced boot options and select the option to boot using upstart. The default boot (with systemd) seems to be a little finicky. Keep in mind though - this seems to disable all ACPI features, so, you'll have to temporarily create a shortcut for "shutdown -h now"


EDIT:
nevermind, doesn't seem to work. It seems to delay the freezing, but it still happens.

schmidtbag
May 3rd, 2015, 08:16 PM
It appears that if you add the line:
rm -f /dev/mmcblk0rpmb
to /etc/rc.local the freezing will stop.

TheNighthawk
May 14th, 2015, 09:30 PM
Hi,

For your information, I've installed kernel 4.1-rc3 today on the machine. With this I hope to avoid freezes since I've read that kernel 4.1 contains optimizations for Baytrail chipsets, at least the system seems to be a bit more snappier on Lubuntu 15.04. Let's hope the system freezes stay away. Audio is still not working ...

Cheers,
Koen.

francesco25
May 17th, 2015, 02:26 AM
Jon Bradbury - you should edit your first post with a step-by-step guide with proven results for this. It seems this laptop is gaining popularity pretty quickly, and it seems like results are very specific. Here, I can start you out:
1. Download your chosen variant of Ubuntu 15.04. In my experience, using debian, even with the 4.0 kernel, has had some regressions.
2. If using unetbooting to make a bootable flash drive and you want a 64 bit setup, check the "EFI/BOOT/" folder for a 32-bit EFI (bootia32.efi) and get one if it is missing.
3. When booting the ISO, run "sudo rm /dev/mmcblk0rpmb"
4. If you don't intend to dual boot, use gparted and delete all partitions. For some reason, the Ubuntu installer seems really picky about how the EFI partition is set up, so don't use it just yet
5. When running the installer, let it choose how to partition the drive. Though the EFI partition is a bit excessive (512MB), it creates a 2GB swap space, which is reasonable.
6. Before rebooting, if you are using the 64-bit release, chroot into your Ubuntu install and run "apt-get remove grub-efi-amd64" and "apt-get install grub-efi-ia32"
7. Reboot
8. Download the linux 4.0 RC3 (or newer) kernel and install it. In my experience, RC1 seemed to make the trackpad "choppy".
9a. Download http://www.filedropper.com/x205ta
9b. Copy blacklist.conf to /etc/modprobe.d/
9c. Copy rclocal.txt to /etc/
9d. Copy the brcmfmac43340* files to /lib/firmware/brcm/
9e. In my experience, you don't need to worry about the MAC address in the .txt file. It worked for me without having to change that.
10a. Add "options sdhci debug_quirks=0x8000" to /etc/modprobe.d/sdhci.conf
10b. And then run "update-initramfs -u -k all"


So anyway, did anybody get Bluetooth to work? Since lspci doesn't tell me anything useful at all, I can't figure out what it is called. If I can at least get bluetooth to work, I can try getting some bluetooth headphones and wait for the built-in audio to get implemented.

Since this laptop boots so quickly and is so low-power, I personally find suspend to be a very low priority. Besides, linux is notorious for poor suspend support, so I'm personally not going to bother focusing on that.

Well done man! but i have to say that there is something in the blacklist that is blocking the wifi from working >.<... at least in my case .. any suggestion ? i reinstalled all ubuntu on my asus right now because in the previous installation after i get connected to some wifi like my highschool one .. the system used to freezes.. so i decided to reinstall everything as i like to say A CLEAR INSTALLATION! so any suggestion about that issue ? i'm trying with my own wifi wlan but as the last crappy install it wont make me crash... i'd like to suppose that maybe some particular kind of wifi protection make the system freezes? anyway i write below whats written in the blacklist =) sorry about bad english!!
FROM blacklist.conf :
# /etc/modprobe.d/blacklist-custom
# Custom blacklist file so I don't mess with any of the files that come with
# the module-init-tools package.
blacklist brcmfmac
blacklist brcmutil
# blacklist snd_timer
# blacklist snd_pcm
# blacklist snd_seq
# blacklist snd_seq_midi
# blacklist snd_rawmidi
# blacklist snd_seq_device
# blacklist snd_compress
# blacklist snd_seq_midi_event
# blacklist snd_pcm_dmaengine
# blacklist snd_soc_sst_mfld_platform
# blacklist snd_intel_sst_core
# blacklist snd_intel_sst_acpi

IMPORTANT: i like to mark that if i DELETE this blacklist file with the fix files given from schmidtbag wifi is working but not shure if is stable !!!

Jammyjamjamman
May 18th, 2015, 02:07 AM
Apologies if this post is annoying, I am very new to this sort-of stuff and don't really know what I'm doing :P

(using the github wiki page and the install-debian page)
I've got my hands on one of these really nice netbooks and successfully installed ubuntu-MATE and made it bootable, installed the linux-4.1-rc3 kernel installed and got the wifi working successfully. I wanted to get lubuntu installed but I got some error (mentioned earlier in this thread, seems to be exclusively an lubuntu-thing).

The performance however, is very good. I only use about 300-350MiB of ram when the system is idle. Also, the wifi-behaviour seems... odd to say the least. Sometimes no network device is recognised. When the wifi-card is recognised, I have to attempt to connect to a wifi device that I don't want to actually connect to, then I can connect to the wifi device of my preference that I have saved the details of in my system (eduroam). Also playing round with the wifi can easily cause the system to freeze, and I have to force shut down. Sound is not working as for everyone else.

I was just wondering about the sound problem... It was posted in the "install debian on an asusx205ta" webpage:
Kernel modules for on-board Realtek RT5640 are not built (Bug #773835 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773835))
then I looked at the bug report and saw this:
Source-Version: 3.16.7-ckt7-1

We believe that the bug you reported is fixed in the latest version of
linux, which is due to be installed in the Debian FTP archive.

I am now wondering.. is this driver activated in the 4.x kernels on ubuntu? Is anyone doing anything to make sure they are activated? Am I just asking stupid questions? Cheers :P

Kuci
May 18th, 2015, 06:34 PM
Apologies if this post is annoying, I am very new to this sort-of stuff and don't really know what I'm doing :P

(using the github wiki page and the install-debian page)
I've got my hands on one of these really nice netbooks and successfully installed ubuntu-MATE and made it bootable, installed the linux-4.1-rc3 kernel installed and got the wifi working successfully. I wanted to get lubuntu installed but I got some error (mentioned earlier in this thread, seems to be exclusively an lubuntu-thing).

The performance however, is very good. I only use about 300-350MiB of ram when the system is idle. Also, the wifi-behaviour seems... odd to say the least. Sometimes no network device is recognised. When the wifi-card is recognised, I have to attempt to connect to a wifi device that I don't want to actually connect to, then I can connect to the wifi device of my preference that I have saved the details of in my system (eduroam). Also playing round with the wifi can easily cause the system to freeze, and I have to force shut down. Sound is not working as for everyone else.

I was just wondering about the sound problem... It was posted in the "install debian on an asusx205ta" webpage:
then I looked at the bug report and saw this:

I am now wondering.. is this driver activated in the 4.x kernels on ubuntu? Is anyone doing anything to make sure they are activated? Am I just asking stupid questions? Cheers :P
We were discussing problems with Wi-Fi and sound card in previous posts. X205TA does not use RT5640, it uses RT5648 and there is currently no driver for this sound card.

francesco25
May 18th, 2015, 08:05 PM
IMPORTANT: i like to mark that if i DELETE this blacklist file with the fix files given from schmidtbag wifi is working but not shure if is stable !!!

OK i tried with a long session that if i stay with my WLAN i mean with the WEP2 protocol everythin goes fine for hours..
Instead freezes happens randomly if i connect to a public Wlan such as highschool one .. with different security and much restricted protocol... any helps or tips ? is it happening only to me ?
REMEMBER:
this happens while i didn't add the blacklist file, instead if i do Wifi hardware seems not to be recognized .. and then impossible to get an Hook on a WLAN.. i know i am a neofite :( and my english is bad ..
P.S
maybe there is something in the list that prevent the freezes but there is something else that prevent the system to recognize the wifi builtin fix ! i really dont know =( ..

TY ! :3

Pieni_Sieni
May 20th, 2015, 08:14 AM
I've installed kernel 4.1-rc3 today on the machine. With this I hope to avoid freezes since I've read that kernel 4.1 contains optimizations for Baytrail chipsets

Also on Lubuntu 15.04. I have been using both kernel v4.1-rc3-unstable & v4.1-rc4-unstable, both which freeze. Less or more, it's hard to say. Well, luckily the freezes are not that frequent, might even manage through a day without one if lucky.

##edit: kernel v4.1-rc5-unstable craches too. rc3 seems the most "reliable".

miatawnt2b
May 28th, 2015, 05:20 AM
double post

miatawnt2b
May 28th, 2015, 05:22 AM
Hey guys. I am betting our devices are very similar.

http://ubuntuforums.org/showthread.php?t=2234219&page=5&p=13293789&posted=1#post13293789

I have the brcmfmac wifi working very well on my switch. I can't get the SDcard reader to mount rw though. I am using the custom 4.0 release kernel that was posted in the Asus T100 G+ community.

Sound is an interesting beast... It just flat doesn't work :) but I can get the machine to see the chipset after boot.



root@switch:~# cat /proc/asound/cards
--- no soundcards ---
root@switch:~# sudo alsa force-reload
Unloading ALSA sound driver modules: snd-soc-sst-byt-rt5640-mach snd-intel-sst-acpi snd-intel-sst-core snd-soc-sst-mfld-platform snd-soc-rt5640 snd-soc-rl6231 snd-seq-midi snd-seq-midi-event snd-soc-core snd-rawmidi snd-compress snd-pcm-dmaengine snd-seq snd-pcm snd-seq-device snd-timer snd-soc-sst-acpi.
Loading ALSA sound driver modules: snd-soc-sst-byt-rt5640-mach snd-intel-sst-acpi snd-intel-sst-core snd-soc-sst-mfld-platform snd-soc-rt5640 snd-soc-rl6231 snd-seq-midi snd-seq-midi-event snd-soc-core snd-rawmidi snd-compress snd-pcm-dmaengine snd-seq snd-pcm snd-seq-device snd-timer snd-soc-sst-acpi.
root@switch:~# cat /proc/asound/cards
0 [baytrailcraudio]: baytrailcraudio - baytrailcraudio
baytrailcraudio
root@switch:~# alsactl -f /var/lib/alsa/asound.state restore

max109
May 31st, 2015, 08:07 AM
Hi,

Please find the required files (to be modified) via following link: http://www.filedropper.com/x205ta . About the multitouch, doesn't seem to work (yet), but I still need to check if I could do something to get it working. Nobody meanwhile for the audio?

Thanks,
Koen.

Hi, the url http://www.filedropper.com/x205ta seems to be gone for me (it redirects to http://www.filedropper.com (http://www.filedropper.com/x205ta)). Could you re-upload it? I can't find a copy of brcmfmac43340-sdio.txt and I don't have a nvram-* file in my efivars folder

max109
May 31st, 2015, 08:38 AM
Also it seems the trackpad isn't supported as a trackpad -- it only gives me basic mouse configuration.

In /proc/bus/input/devices I see:


I: Bus=0018 Vendor=04f3 Product=0401 Version=0100
N: Name="ELAN0100:00 04F3:0401"
P: Phys=
S: Sysfs=/devices/platform/80860F41:03/i2c-11/i2c-ELAN0100:00/0018:04F3:0401.0002/input/input9
U: Uniq=
H: Handlers=mouse0 event9
B: PROP=0
B: EV=17
B: KEY=30000 0 0 0 0
B: REL=103
B: MSC=10


...which led me to this bugzilla: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1439111

The bugzilla isn't for Bus=0018 Vendor=04f3 Product=0401 Version=0100, it's for Bus=0018 Vendor=04f3 Product=0400 Version=0100, but maybe it's close enough to work for the x205ta touchpad? I'm not sure how to test the fix there but maybe someone here can test it.

ael-gain
June 4th, 2015, 03:44 PM
Hi, the url http://www.filedropper.com/x205ta seems to be gone for me (it redirects to http://www.filedropper.com (http://www.filedropper.com/x205ta)). Could you re-upload it? I can't find a copy of brcmfmac43340-sdio.txt and I don't have a nvram-* file in my efivars folder

Hi everyone, same thing for me, could you please reupload the files ? Or at least post the content of brcmfmac43340-sdio.txt ? I have some files in my /sys/firmware/efi/efivars/ directory, but no nvram-* one... Thanks ! :)

palatis
June 7th, 2015, 11:50 PM
can someone with working wifi kindly post your brcmfmac43340_sdio.txt?

I tried to browse the /sys/firmware/efi/efivars but there's no `nvram-74b00bd9-805a-4d61-b51f-43268123d113`.
I only had `BDADDR-74b00bd9-805a-4d61-b51f-43268123d113`, but it's a binary file with something I dunno what that is inside (i guess it has something to do with the bluetooth mac address, maybe?).

# ls -l *74b00bd9*
-rw-r--r-- 1 root root 10 Jun 8 06:20 BDADDR-74b00bd9-805a-4d61-b51f-43268123d113

# xxd BDADDR-74b00bd9-805a-4d61-b51f-43268123d113
0000000: 0700 0000 04e6 7642 94a3 ......vB..

I couldn't find any text-looking brcmfmac43340_sdio.txt as the one provided in https://github.com/jfwells/linux-asus-t100ta/tree/master/nvram/lib/firmware/brcm.
I tried to use modified-nvram3.txt but it didn't work.

I'm getting

[ 1632.860100] brcmfmac_sdio: probe of mmc1:0001:1 failed with error -22
[ 1632.904020] brcmf_sdio_drivestrengthinit: No SDIO Drive strength init done for chip 43340 rev 2 pmurev 20
[ 1632.904562] usbcore: registered new interface driver brcmfmac
while trying to modprobe brcmfmac.

I'm using the latest daily-build kernel:

# uname -a
Linux Palabuntu 4.1.0-999-generic #201506062205 SMP Sun Jun 7 02:06:17 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

ps. I'm using bios version 208, does that make a difference?

palatis
June 8th, 2015, 05:39 PM
for those people suffered the wifi nvram.txt problem, I've found a solution.

dunno why, I'm having a 10byte binary /sys/firmware/efi/efivars/BDADDR-74b00bd9-blah, cp it to /lib/firmware/brcm/brcmfmac43340-sdio.txt just won't work.

So, I poked around the internet and found this:
https://github.com/lubing521/bcm-wiced-sdk/blob/master/platforms/BCM943341WCD1/wifi_nvram_image.h

and composed the char array into a txt file, placed under /lib/firmware/brcm.

and viola! it worked!

now i'm having inbuilt wifi working.

the NVRAM_GENERATED_MAC_ADDRESS is not a problem, no matter what I write it just reverts to the hardware default.

use "macaddr=00:11:22:33:44:55\n" for that line should suffice.

kreoouzis
June 9th, 2015, 09:56 PM
Hello Everybody..So finally in this moment the only think doesn't work is the sound? The Wifi is working good now with the last modifications? I want to ask also there is hardware acceleration in Graphics card with browsers?

ekyo
June 10th, 2015, 10:06 AM
Hello Everybody..So finally in this moment the only think doesn't work is the sound? The Wifi is working good now with the last modifications? I want to ask also there is hardware acceleration in Graphics card with browsers?

Hello,

Not really :

- The sound card does't work now, but Michele Curti assisted by Liam Girdwood from Intel has work in progress and I hope soon we'll have an alsa module for the rt5648. cf . http://comments.gmane.org/gmane.linux.alsa.devel/138822

- We always have a hang of the laptop which need a hard reboot. Nobody knows why and how for the moment.

- The touchpad is working, but lacks multitouch. I didn't manage to make it works, even with max109 's workaround. I did recompile kernel 4.1 rc6 with the patch that works on a Lenovo Yoga 3 (cf. https://lkml.org/lkml/2015/3/31/929) with adding of the 0x0401 in hid-core.c , but when reboot, the touchpad doesn't respond anymore.

- And finally the suspend functionnality is broken (not really important in my opinion because the battery power life is great : 14H with screen luminosity decreased and only internet brownsing/terminal work after i did some optimisations and powertop tunnings)

Everything else is working great.

So the laptop is really great (battery life, cpu enough for my needs, lightweight) and even if it is usable under linux (i run archlinux, not ubuntu), support is'nt complete.

Sorry for my english mistakes, i'm not fluent, i'm french native language.
Have a good day.

kreoouzis
June 10th, 2015, 04:12 PM
Thanks for the reply...But can i ask the Graphics hardware acceleration works?262507

palatis
June 10th, 2015, 07:02 PM
Yes it does.
works ootb! GJ intel devs.

now the things that don't work are
1. sound, some people working on it and having cracking noise. may just need more time.
2. bluetooth, I found the hcd file from edison-src (https://github.com/instantinfrastructure/edison-src) but haven't found out a way to upload it to the chip.
3. touchpad, working as standard pointer device, no multitouch.
4. suspend/resume, dunno why it didn't, tho. I kinda expected it to work since it should just be ACPI S2R...

Jeremy_A.
June 10th, 2015, 10:48 PM
Hello,
Can someone please post a working link to the NVram files...

Regards,

Jeremy_A.
June 10th, 2015, 10:51 PM
Man, it would sure help if the post about people having trouble with nvram on the previous page was written in english...

Jeremy_A.
June 10th, 2015, 11:22 PM
for those people suffered the wifi nvram.txt problem, I've found a solution.

dunno why, I'm having a 10byte binary /sys/firmware/efi/efivars/BDADDR-74b00bd9-blah, cp it to /lib/firmware/brcm/brcmfmac43340-sdio.txt just won't work.

So, I poked around the internet and found this:
https://github.com/lubing521/bcm-wiced-sdk/blob/master/platforms/BCM943341WCD1/wifi_nvram_image.h

and composed the char array into a txt file, placed under /lib/firmware/brcm.

and viola! it worked!

now i'm having inbuilt wifi working.

the NVRAM_GENERATED_MAC_ADDRESS is not a problem, no matter what I write it just reverts to the hardware default.

use "macaddr=00:11:22:33:44:55\n" for that line should suffice.


Copied what is on the github link into a txt file in the directory mentioned under the name: brcmfmac43340-sdio.txt

and nothing happened.

- xubuntu 15.04 kernel 4.1 rc2 w/ windows nuked.

palatis
June 11th, 2015, 02:58 AM
okay... okay...

you don't just move the .h to .txt, you have to strip the c code and only get what's relevant.


manfid=0x2d0
prodid=0x0653
vendid=0x14e4
devid=0x4386
boardtype=0x0653
boardrev=0x1203
boardnum=22
macaddr=02:0A:F7:2A:3B:4C
sromrev=3
boardflags=0x0090201
xtalfreq=37400
nocrc=1
ag0=255
aa2g=1
aa5g=1
ccode=ALL
pa0itssit=0x20
pa0b0=6747
pa0b1=-808
pa0b2=-178
tssifloor2g=69
rssismf2g=0xf
rssismc2g=0x8
rssisav2g=0x1
cckPwrOffset=3
rssismf5g=0xf
rssismc5g=0x7
rssisav5g=0x3
pa1lob0=5659
pa1lob1=-693
pa1lob2=-178
tssifloor5gl=93
pa1b0=5172
pa1b1=-671
pa1b2=-212
tssifloor5gm=77
pa1hib0=5320
pa1hib1=-663
pa1hib2=-179
tssifloor5gh=74
rxpo5g=0
maxp2ga0=0x4E
cck2gpo=0x0000
ofdm2gpo=0x42000000
mcs2gpo0=0x2222
mcs2gpo1=0x7662
maxp5ga0=0x46
maxp5gla0=0x46
maxp5gha0=0x46
ofdm5gpo=0x52222222
ofdm5glpo=0x52222222
ofdm5ghpo=0x52222222
mcs5gpo0=0x0000
mcs5gpo1=0x8550
mcs5glpo0=0x0000
mcs5glpo1=0x8550
mcs5ghpo0=0x0000
mcs5ghpo1=0x8550
swctrlmap_2g=0x00080008,0x00100010,0x00080008,0x01 1010,0x11f
swctrlmap_5g=0x00020002,0x00040004,0x00020002,0x01 1010,0x2fe
gain=32
triso2g=8
triso5g=8
loflag=0
iqlocalidx5g=40
dlocalidx5g=70
iqcalidx5g=50
lpbckmode5g=1
txiqlopapu5g=0
txiqlopapu2g=0
dlorange_lowlimit=5
txalpfbyp=1
txalpfpu=1
dacrate2xen=1
papden2g=1
papden5g=1
gain_settle_dly_2g=4
gain_settle_dly_5g=4
noise_cal_po_2g=-1
noise_cal_po_40_2g=-1
noise_cal_high_gain_2g=73
noise_cal_nf_substract_val_2g=346
noise_cal_po_5g=-1
noise_cal_po_40_5g=-1
noise_cal_high_gain_5g=73
noise_cal_nf_substract_val_5g=346
cckpapden=0
paparambwver=1

BTW I managed to get mouse working, now evtest reports absolute event with multitouch, but X isn't picking it up.
still figuring out why, would post the patch later.

palatis
June 11th, 2015, 06:50 AM
I managed to get touchpad working with this attached patch (see attachment)

modprobe got it:

[ 5.975172] elan_i2c i2c-ELAN0100:00: Elan Touchpad Information:
Module product ID: 0x0026
Firmware Version: 0x000a
Sample Version: 0x0001
IC Type: 0x0008
IAP Version: 0x0000
Max ABS X,Y: 3120,1716
Width X,Y: 148,143
Resolution X,Y: 31,32 (dots/mm)
[ 5.980767] input: Elan Touchpad as /devices/platform/80860F41:03/i2c-3/i2c-ELAN0100:00/input/input3

/proc/bus/input/devices shows it's managed by elan_i2c:

I: Bus=0018 Vendor=0000 Product=0000 Version=0000
N: Name="Elan Touchpad"
P: Phys=
S: Sysfs=/devices/platform/80860F41:03/i2c-3/i2c-ELAN0100:00/input/input3
U: Uniq=
H: Handlers=mouse0 event3
B: PROP=5
B: EV=b
B: KEY=e520 10000 0 0 0 0
B: ABS=e63800011000003

evtest show the info:

Input driver version is 1.0.1
Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0
Input device name: "Elan Touchpad"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 272 (BTN_LEFT)
Event code 325 (BTN_TOOL_FINGER)
Event code 328 (BTN_TOOL_QUINTTAP)
Event code 330 (BTN_TOUCH)
Event code 333 (BTN_TOOL_DOUBLETAP)
Event code 334 (BTN_TOOL_TRIPLETAP)
Event code 335 (BTN_TOOL_QUADTAP)
Event type 3 (EV_ABS)
Event code 0 (ABS_X)
Value 0
Min 0
Max 3120
Resolution 31
Event code 1 (ABS_Y)
Value 0
Min 0
Max 1716
Resolution 32
Event code 24 (ABS_PRESSURE)
Value 0
Min 0
Max 255
Event code 28 (ABS_TOOL_WIDTH)
Value 0
Min 0
Max 15
Event code 47 (ABS_MT_SLOT)
Value 0
Min 0
Max 4
Event code 48 (ABS_MT_TOUCH_MAJOR)
Value 0
Min 0
Max 2220
Event code 49 (ABS_MT_TOUCH_MINOR)
Value 0
Min 0
Max 2145
Event code 53 (ABS_MT_POSITION_X)
Value 0
Min 0
Max 3120
Resolution 31
Event code 54 (ABS_MT_POSITION_Y)
Value 0
Min 0
Max 1716
Resolution 32
Event code 57 (ABS_MT_TRACKING_ID)
Value 0
Min 0
Max 65535
Event code 58 (ABS_MT_PRESSURE)
Value 0
Min 0
Max 255
Event code 59 (ABS_MT_DISTANCE)
Value 0
Min 0
Max 1
Properties:
Property type 0 (INPUT_PROP_POINTER)
Property type 2 (INPUT_PROP_BUTTONPAD)
Testing ... (interrupt to exit)

and absolute pointer events:

Event: time 1434001262.202575, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 0
Event: time 1434001262.202575, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1460
Event: time 1434001262.202575, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 760
Event: time 1434001262.202575, type 3 (EV_ABS), code 59 (ABS_MT_DISTANCE), value 1
Event: time 1434001262.202575, type 3 (EV_ABS), code 28 (ABS_TOOL_WIDTH), value 4
Event: time 1434001262.202575, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 232
Event: time 1434001262.202575, type 3 (EV_ABS), code 49 (ABS_MT_TOUCH_MINOR), value 159
Event: time 1434001262.202575, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1434001262.202575, type 1 (EV_KEY), code 325 (BTN_TOOL_FINGER), value 1
Event: time 1434001262.202575, type 3 (EV_ABS), code 0 (ABS_X), value 1460
Event: time 1434001262.202575, type 3 (EV_ABS), code 1 (ABS_Y), value 760
Event: time 1434001262.202575, -------------- EV_SYN ------------
Event: time 1434001262.234432, type 3 (EV_ABS), code 28 (ABS_TOOL_WIDTH), value 3
Event: time 1434001262.234432, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 174
Event: time 1434001262.234432, -------------- EV_SYN ------------
Event: time 1434001262.246522, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1489
Event: time 1434001262.246522, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 746
Event: time 1434001262.246522, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 212
Event: time 1434001262.246522, type 3 (EV_ABS), code 49 (ABS_MT_TOUCH_MINOR), value 174
Event: time 1434001262.246522, type 3 (EV_ABS), code 0 (ABS_X), value 1489
Event: time 1434001262.246522, type 3 (EV_ABS), code 1 (ABS_Y), value 746
Event: time 1434001262.246522, -------------- EV_SYN ------------
Event: time 1434001262.259378, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1511
Event: time 1434001262.259378, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 736
Event: time 1434001262.259378, type 3 (EV_ABS), code 28 (ABS_TOOL_WIDTH), value 4
Event: time 1434001262.259378, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 232
Event: time 1434001262.259378, type 3 (EV_ABS), code 49 (ABS_MT_TOUCH_MINOR), value 212
Event: time 1434001262.259378, type 3 (EV_ABS), code 0 (ABS_X), value 1511
Event: time 1434001262.259378, type 3 (EV_ABS), code 1 (ABS_Y), value 736
Event: time 1434001262.259378, -------------- EV_SYN ------------
Event: time 1434001262.270246, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1538
Event: time 1434001262.270246, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 725
Event: time 1434001262.270246, type 3 (EV_ABS), code 49 (ABS_MT_TOUCH_MINOR), value 159
Event: time 1434001262.270246, type 3 (EV_ABS), code 0 (ABS_X), value 1538
Event: time 1434001262.270246, type 3 (EV_ABS), code 1 (ABS_Y), value 725
Event: time 1434001262.270246, -------------- EV_SYN ------------
Event: time 1434001262.286536, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1567
Event: time 1434001262.286536, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 716
Event: time 1434001262.286536, type 3 (EV_ABS), code 28 (ABS_TOOL_WIDTH), value 3
Event: time 1434001262.286536, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 174
Event: time 1434001262.286536, type 3 (EV_ABS), code 0 (ABS_X), value 1567
Event: time 1434001262.286536, type 3 (EV_ABS), code 1 (ABS_Y), value 716

even multi-touch:

Event: time 1434001266.854244, -------------- EV_SYN ------------
Event: time 1434001266.866257, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 0
Event: time 1434001266.866257, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 1434001266.866257, type 3 (EV_ABS), code 49 (ABS_MT_TOUCH_MINOR), value 0
Event: time 1434001266.866257, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 1
Event: time 1434001266.866257, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1
Event: time 1434001266.866257, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 2
Event: time 1434001266.866257, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 1434001266.866257, type 3 (EV_ABS), code 49 (ABS_MT_TOUCH_MINOR), value 0
Event: time 1434001266.866257, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 3
Event: time 1434001266.866257, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1
Event: time 1434001266.866257, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 4
Event: time 1434001266.866257, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1
Event: time 1434001266.866257, type 1 (EV_KEY), code 333 (BTN_TOOL_DOUBLETAP), value 1
Event: time 1434001266.866257, type 1 (EV_KEY), code 328 (BTN_TOOL_QUINTTAP), value 0
Event: time 1434001266.866257, -------------- EV_SYN ------------

but...... sad thing is X server didn't pick it up......
interesting thing is, Xorg.0.log actually tells me it got that...

[ 9.483] (II) config/udev: Adding input device Elan Touchpad (/dev/input/event3)
[ 9.483] (**) Elan Touchpad: Applying InputClass "evdev touchpad catchall"
[ 9.483] (**) Elan Touchpad: Applying InputClass "touchpad catchall"
[ 9.483] (**) Elan Touchpad: Applying InputClass "Default clickpad buttons"
[ 9.483] (II) LoadModule: "synaptics"
[ 9.485] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 9.492] (II) Module synaptics: vendor="X.Org Foundation"
[ 9.492] compiled for 1.16.0, module version = 1.8.99
[ 9.492] Module class: X.Org XInput Driver
[ 9.492] ABI class: X.Org XInput driver, version 21.0
[ 9.492] (II) Using input driver 'synaptics' for 'Elan Touchpad'
[ 9.493] (**) Elan Touchpad: always reports core events
[ 9.493] (**) Option "Device" "/dev/input/event3"
[ 9.510] (II) synaptics: Elan Touchpad: found clickpad property
[ 9.510] (--) synaptics: Elan Touchpad: x-axis range 0 - 3120 (res 31)
[ 9.510] (--) synaptics: Elan Touchpad: y-axis range 0 - 1716 (res 32)
[ 9.510] (--) synaptics: Elan Touchpad: pressure range 0 - 255
[ 9.510] (--) synaptics: Elan Touchpad: finger width range 0 - 15
[ 9.510] (--) synaptics: Elan Touchpad: buttons: left double triple
[ 9.510] (--) synaptics: Elan Touchpad: Vendor 0 Product 0
[ 9.510] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[ 9.511] (--) synaptics: Elan Touchpad: touchpad found
[ 9.511] (**) Elan Touchpad: always reports core events
[ 9.526] (**) Option "config_info" "udev:/sys/devices/platform/80860F41:03/i2c-3/i2c-ELAN0100:00/input/inp
ut3/event3"
[ 9.526] (II) XINPUT: Adding extended input device "Elan Touchpad" (type: TOUCHPAD, id 12)
[ 9.526] (**) synaptics: Elan Touchpad: (accel) MinSpeed is now constant deceleration 2.5
[ 9.526] (**) synaptics: Elan Touchpad: (accel) MaxSpeed is now 1.75
[ 9.526] (**) synaptics: Elan Touchpad: (accel) AccelFactor is now 0.056
[ 9.527] (**) Elan Touchpad: (accel) keeping acceleration scheme 1
[ 9.527] (**) Elan Touchpad: (accel) acceleration profile 1
[ 9.527] (**) Elan Touchpad: (accel) acceleration factor: 2.000
[ 9.527] (**) Elan Touchpad: (accel) acceleration threshold: 4
[ 9.527] (--) synaptics: Elan Touchpad: touchpad found
[ 9.528] (II) config/udev: Adding input device Elan Touchpad (/dev/input/mouse0)
[ 9.528] (**) Elan Touchpad: Ignoring device from InputClass "touchpad ignore duplicates"

I guess I have to make a custom synaptics configuration or something?

kreoouzis
June 11th, 2015, 09:29 AM
Great news...The most important of the above i think is the sound..
The wifi is stable now?

ekyo
June 11th, 2015, 10:29 AM
The wifi is stable now?

I run archlinux with a 4.1 rc7 kernel and wifi is very stable. Downloading huge quantity via torrent and no problem. Sensitivity is better on this device than the others of my house (tosh z830, moto g lte), i can receive wifi far in my garden, under the trees, where the others can't :)

kreoouzis
June 11th, 2015, 10:57 AM
I think Bluetooth and multi touch trackpad is not so important like sound..Without sound is very difficult to go away for the creep windows installed to this beautiful small laptop...After a lot of years i use Windows cause of the sound problem...Please do your best..I am not sure i can make a driver unfortunately..

palatis
June 11th, 2015, 11:35 AM
I think Bluetooth and multi touch trackpad is not so important like sound..Without sound is very difficult to go away for the creep windows installed to this beautiful small laptop...After a lot of years i use Windows cause of the sound problem...Please do your best..I am not sure i can make a driver unfortunately..
I just got this damn driverless eeeebook 3 days ago, trying to fix what I can.

1. boot works flawless just by removing grub-efi-amd64 and install grub-efi-x86 (manually invoke grub-install after that)
2. wifi works great after I finally found the correct brcm43340-sdio.txt. sometimes it fails to bring up the chip after hot reboot, I just do a complete power cycle instead.
3. trying to get touchpad working, actually it reports evdev events correctly (looks correct to me), just dunno why xserver didn't pick it up. `xinput test "Elan Touchpad"` didn't show a thing when I fondle the touchpad, but `evtest /dev/input/event3` does verbose a lot... guess will hack into synaptics driver later on.
4. sound... may have to port cherry trail code to bay trail. read the alsa mailing-list, but didn't try the patch, yet.
5. found bluetooth hcd file, just dunno how do I upload it to the chip (through SDIO? through Serial? or what?). It'd be good to know where did the asus guys hook the serial (and at what baudrate...), or just pure sdio.
6. s2r... don't have any clue about what went wrong... may have to dig into ACPI stuff like DSDT. s2d should work fine. but that battery stains almost forever when lid is closed...... I left it there overnight and dropped ~15% battery, guess that's acceptable...

BTW, if it's difficult for you to creep windows, just don't, then. No one puts a gun in your head.

kreoouzis
June 11th, 2015, 12:23 PM
Without sound i can't use the laptop (No music,no youtube,no videos,no skype - nothing)....When the sound be fixed i will format it directly and install just xubuntu 15.04 as all my systems uses linux the last 5 years...I dont care about Bluetooth,synaptic and suspend...But sound and wifi is basic needs for a laptop..

palatis
June 11th, 2015, 12:46 PM
Without sound i can't use the laptop (No music,no youtube,no videos,no skype - nothing)....When the sound be fixed i will format it directly and install just xubuntu 15.04 as all my systems uses linux the last 5 years...I dont care about Bluetooth,synaptic and suspend...But sound and wifi is basic needs for a laptop..

yup go fix the sound then.

Jeremy_A.
June 12th, 2015, 07:53 PM
This is what I am getting from lspci -vvnn:


manfid=0x2d0
prodid=0x0653
vendid=0x14e4
devid=0x4386
boardtype=0x0653
boardrev=0x1203
boardnum=22
macaddr=02:0A:F7:2A:3B:4C
sromrev=3
boardflags=0x0090201
xtalfreq=37400
nocrc=1
ag0=255
aa2g=1
aa5g=1
ccode=ALL
pa0itssit=0x20
pa0b0=6747
pa0b1=-808
pa0b2=-178
tssifloor2g=69
rssismf2g=0xf
rssismc2g=0x8
rssisav2g=0x1
cckPwrOffset=3
rssismf5g=0xf
rssismc5g=0x7
rssisav5g=0x3
pa1lob0=5659
pa1lob1=-693
pa1lob2=-178
tssifloor5gl=93
pa1b0=5172
pa1b1=-671
pa1b2=-212
tssifloor5gm=77
pa1hib0=5320
pa1hib1=-663
pa1hib2=-179
tssifloor5gh=74
rxpo5g=0
maxp2ga0=0x4E
cck2gpo=0x0000
ofdm2gpo=0x42000000
mcs2gpo0=0x2222
mcs2gpo1=0x7662
maxp5ga0=0x46
maxp5gla0=0x46
maxp5gha0=0x46
ofdm5gpo=0x52222222
ofdm5glpo=0x52222222
ofdm5ghpo=0x52222222
mcs5gpo0=0x0000
mcs5gpo1=0x8550
mcs5glpo0=0x0000
mcs5glpo1=0x8550
mcs5ghpo0=0x0000
mcs5ghpo1=0x8550
swctrlmap_2g=0x00080008,0x00100010,0x00080008,0x01 1010,0x11f
swctrlmap_5g=0x00020002,0x00040004,0x00020002,0x01 1010,0x2fe
gain=32
triso2g=8
triso5g=8
loflag=0
iqlocalidx5g=40
dlocalidx5g=70
iqcalidx5g=50
lpbckmode5g=1
txiqlopapu5g=0
txiqlopapu2g=0
dlorange_lowlimit=5
txalpfbyp=1
txalpfpu=1
dacrate2xen=1
papden2g=1
papden5g=1
gain_settle_dly_2g=4
gain_settle_dly_5g=4
noise_cal_po_2g=-1
noise_cal_po_40_2g=-1
noise_cal_high_gain_2g=73
noise_cal_nf_substract_val_2g=346
noise_cal_po_5g=-1
noise_cal_po_40_5g=-1
noise_cal_high_gain_5g=73
noise_cal_nf_substract_val_5g=346
cckpapden=0
paparambwver=1


lshw -C network shows nothing. This is what I have in my lib/firmware/brcm/ directory:


$ ll
total 8108
drwxr-xr-x 2 root root 4096 Jun 9 22:41 ./
drwxr-xr-x 68 root root 20480 Jun 10 18:36 ../
-rw-r--r-- 1 root root 269595 Nov 24 2014 bcm4329-fullmac-4.bin
-rw-r--r-- 1 root root 96224 Dec 1 2014 bcm43xx-0.fw
-rw-r--r-- 1 root root 180 Dec 1 2014 bcm43xx_hdr-0.fw
-rw-r--r-- 1 root root 397312 Dec 1 2014 brcmfmac43143.bin
-rw-r--r-- 1 root root 385067 May 13 10:08 brcmfmac43143-sdio.bin
-rw-r--r-- 1 root root 348160 Nov 24 2014 brcmfmac43236b.bin
-rw-r--r-- 1 root root 455745 Dec 1 2014 brcmfmac43241b0-sdio.bin
-rw-r--r-- 1 root root 403855 Dec 1 2014 brcmfmac43241b4-sdio.bin
-rw-r--r-- 1 root root 479232 May 13 10:09 brcmfmac43242a.bin
-rw-r--r-- 1 root root 253748 Dec 1 2014 brcmfmac4329-sdio.bin
-rw-r--r-- 1 root root 222126 Dec 1 2014 brcmfmac4330-sdio.bin
-rw-r--r-- 1 root root 397378 Jun 7 17:08 brcmfmac43340-sdio.bin
-rw-r--r-- 1 root root 1425 Jun 12 13:42 brcmfmac43340-sdio.txt
lrwxrwxrwx 1 root root 22 Jun 8 13:10 brcmfmac43341-sdio.bin -> brcmfmac43340-sdio.bin
-rw-r--r-- 1 root root 451566 Dec 1 2014 brcmfmac4334-sdio.bin
-rw-r--r-- 1 root root 569291 Dec 1 2014 brcmfmac4335-sdio.bin
-rw-r--r-- 1 root root 219557 Dec 1 2014 brcmfmac43362-sdio.bin
-rw-r--r-- 1 root root 493599 May 13 10:13 brcmfmac4339-sdio.bin
-rw-r--r-- 1 root root 507752 May 13 09:33 brcmfmac4354-sdio.bin
-rw-r--r-- 1 root root 557056 May 13 10:11 brcmfmac43569.bin
-rw-r--r-- 1 root root 550333 May 13 10:12 brcmfmac43570-pcie.bin
-rw-r--r-- 1 root root 588940 May 13 10:10 brcmfmac43602-pcie.ap.bin
-rw-r--r-- 1 root root 590544 May 13 10:10 brcmfmac43602-pcie.bin


And I don't have any nvram file in sys/firmware/efi/efivars...

Any suggestions of what to try?

Regards,

Jeremy_A.
June 12th, 2015, 07:58 PM
Hello,
Nevermind, restarting it fixed it :D. Im ecstatic. Thank you for the txt file contents. I am going to try to get the touchpad stuff working now.

Regards,

Juergen_Bausa
June 12th, 2015, 08:10 PM
> I managed to get touchpad working with this attached patch (see attachment)

Dear Palatis,

great to hear that. I tried to apply your patch to my kernel (4.1rc4) but it didnt work. Which kernel do you use?

Juergen

palatis
June 12th, 2015, 09:59 PM
I got the touchpad......
but a bit hacky, have to work with (maybe) Duson Lin (author of elan_i2c) or ASUS people to get it right.
for now just use the attached patch.

The idea is, I inspected evtest output and it was reporting X/Y position (even with multi-touch). but compare with my other old notebook, it's not reporting pressure.
so I dig into elan_i2c_core.c to find out why it's not reporing pressure.
then I found that hover_event is always true (in my case, no matter how hard I press the pad, even when the physical button underneath clicks).
so I just hacked it to make it always false, so the pressure is (always) reported.
now it somehow worked, but don't recognize hover event......

this patch should actually be splitted into 4 seperate patch, it does 4 things:
1. tell hid_i2c to ignore this touchpad
2. tell elan_i2c to pick up this pad
3. bypass ic_type check, breaks firmware update, but everything else should work.
4. always report pressure event by ignoring the reported hover_event.

palatis
June 12th, 2015, 10:03 PM
brcmfmac picks up brcmfmac43340-sdio.{bin,txt} for firmware files, linking it to brcmfmac43341-sdio.bin actually is unneeded.
use the .txt I provided for brcmfmac43340-sdio.txt. I just dunno why no one shared theirs......

It may be BIOS version problem, like (maybe) older BIOS does export nvram content through efivars, but newer (208 in my case) doesn't.

palatis
June 12th, 2015, 10:10 PM
it's actually linux-next git...

$ uname -r
4.1.0-rc7-next-20150609-palatis+

what do you mean by "it didn't work?"
1. the patch didn't apply
2. the patch applied with conflict
3. the patch applied without conflict, but doesn't compile.
4. the compiled module doesn't load
5. the compiled module loads, but doesn't pick up the touchpad
6. the module picked up the touchpad, but evtest shows nothing when you fondle the touchpad
7. evtest shows something, but doesn't work under X

btw, it works now, try the new patch.

ekyo
June 13th, 2015, 01:18 PM
it's actually linux-next git...

$ uname -r
4.1.0-rc7-next-20150609-palatis+
[...]
btw, it works now, try the new patch.

Greaaat ! The patch doesn't work with mainline kernel (4.0 +4.1.0rc7 patches from https://www.kernel.org/pub/linux/kernel/v4.x/ ) because there is no elan_get_fwinfo function in elan_i2c_core.c
I'm running the git clone for linux-next branch, and i'll apply your patch, will tell you the result but it should work :)

Thanks Palatis for your work and for sharing it with us !

kreoouzis
June 13th, 2015, 03:52 PM
I hope this guy do it finally with sound driver..

http://permalink.gmane.org/gmane.linux.alsa.devel/139740

i cant wait to see xubuntu in this laptop.

jurasenko
June 13th, 2015, 05:10 PM
Thanks everyone for your valuable advice, I've found this thread very helpful when installing Debian testing on an X205TA, which I've had for a few days now.

Right now I'm running 4.1.0-999 from the Ubuntu mainline kernel repos. In summary: wifi works and is very stable, battery life is shown via acpi, the soundcard is not detected at all, the touchpad is detected as a mouse. Suspend to RAM doesn't seem to do anything. I've managed to get suspend to disk to work once or twice (via executing s2disk), but after bootup the wifi wouldn't work (removing and readding the brcmfmac module, or any of the wifi-related modules, didn't work; I could only restore wifi by rebooting, which kind of defeats the purpose of suspending to disk). Strangely, the hibernation itself sometimes works and sometimes doesn't (then it just freezes and I have to do a hard poweroff). The special backlight keys don't work, but backlight can be easily controlled via scripts bound to keyboard shortcuts (if anyone's interested, I can paste the scripts).

I've tried several different kernels from the Ubuntu mainline kernel repos, but I've experienced freezes with all of them. It's really frustrating. They seem to occur either during the early stages of booting (just before the LVM passphrase prompt is shown), or randomly during use (in X). I've found nothing relevant in the logs...

...but perhaps I've found a solution. I'm not sure yet, but I've had over 21 hours of uptime without a freeze now. Here's what I did:

1. I've added this:

i915.modeset=1 i915.semaphores=1 i915.enable_ips=0 i915.enable_rc6=0

to my boot parameters. I've seen this recommended on other Intel-based hardware that would freeze. The RC6 option has to do with a deep sleep state that supposedly isn't implemented on the Bay Trail, and so the hypothesis is that when the driver tells the GPU to enter that state, it just freezes. I don't know for sure yet, though. The IPS thing was supposed to deal with the weird flashing on the console (it didn't help). The semaphores option is, again, stability-related. Modesetting is on by default so I guess you can safely omit that.

2. I've edited xorg.conf to use the UXA accel mode instead of the now default SNA mode:

Section "Device"
Identifier "Card0"
Driver "intel"
Option "AccelMethod" "uxa"
BusID "PCI:0:2:0"
EndSection

Again, this is something I've seen referred to in connection with freezes on computers with an Intel GPU. It apparently slows down video playback (which I don't use anyway due to the non-working sound card), but otherwise it's not noticable.

3. I've turned off XHCI in the BIOS and turned on EHCI. Again, no idea if this is really responsible for the freezing.

If I experience no more freezing, I'll try to pinpoint the exact cause by reverting the settings one by one. If anyone could try the same tweaks and report any freezing, that'd be great.

Pieni_Sieni
June 14th, 2015, 10:01 AM
If I experience no more freezing, I'll try to pinpoint the exact cause by reverting the settings one by one. If anyone could try the same tweaks and report any freezing, that'd be great.

And thanks for addressing the freeze issue, which for me is by far the most severe problem. A day or two of uptime doesn't necessarily prove much. My record uptime is somewhere around three days or more, probably depending on use. While sometimes the systems crashes soon after booting, or even at boot time, the most common situation for me seems to be when use is heavier. Some kernels "seem" to be more stable than others, but who knows.

For example I am at kernel rc6 (lubuntu) at the moment with an uptime of more than 2days. With a very basic install. I'll definitely try out some of your suggestions and report back if I see any difference! Much thanks.

Edits:

Test 1: Freezed in 2hours

Command line: BOOT_IMAGE=/boot/vmlinuz-4.1.0-040100rc6-generic root=UUID=a2b3eaf5-862f-434f-ba98-79d582d2d164 ro quiet splash i915.modeset=1 i915.semaphores=1 i915.enable_ips=0 i915.enable_rc6=0 vt.handoff=7

Luka_Karinja
June 14th, 2015, 01:13 PM
Hey guys. I have a Asus T100TAF that has the same cpu,wifi,sound as your device.
You could try some of the patches the guys over at https://plus.google.com/u/0/communities/117853703024346186936 put together for the T100TA ( Z3740 )
I ported them to 4.1.
My TAF doesnt experience any lockups.
I still dont have sound working or BT.
Hopefully we can get them working together

https://github.com/pinkflozd/T100TAF_kernel/commits/master
.debs
https://drive.google.com/folderview?id=0B6tEZnBHb-u9fllJME52XzBUS25yemhJRFdNTEJFdktVcHh4SzhJa0M0WVBa RU94Nk5iRTQ&usp=sharing

jurasenko
June 14th, 2015, 02:37 PM
Test 1: Freezed in 2hours

Command line: BOOT_IMAGE=/boot/vmlinuz-4.1.0-040100rc6-generic root=UUID=a2b3eaf5-862f-434f-ba98-79d582d2d164 ro quiet splash i915.modeset=1 i915.semaphores=1 i915.enable_ips=0 i915.enable_rc6=0 vt.handoff=7

Oh man. Thanks for the heads up. Can you try the UXA stuff?

jurasenko
June 14th, 2015, 02:41 PM
Hey guys. I have a Asus T100TAF that has the same cpu,wifi,sound as your device.

Hey, thanks for the links.

This

https://github.com/pinkflozd/T100TAF_kernel/commit/2f17b52d62157490c0989da7baa7a3374ed1c34d

could be relevant to the X205TA freezing, too.

Jammyjamjamman
June 14th, 2015, 10:34 PM
Thanks everyone for your valuable advice, I've found this thread very helpful when installing Debian testing on an X205TA, which I've had for a few days now.

Right now I'm running 4.1.0-999 from the Ubuntu mainline kernel repos. In summary: wifi works and is very stable, battery life is shown via acpi, the soundcard is not detected at all, the touchpad is detected as a mouse. Suspend to RAM doesn't seem to do anything. I've managed to get suspend to disk to work once or twice (via executing s2disk), but after bootup the wifi wouldn't work (removing and readding the brcmfmac module, or any of the wifi-related modules, didn't work; I could only restore wifi by rebooting, which kind of defeats the purpose of suspending to disk). Strangely, the hibernation itself sometimes works and sometimes doesn't (then it just freezes and I have to do a hard poweroff). The special backlight keys don't work, but backlight can be easily controlled via scripts bound to keyboard shortcuts (if anyone's interested, I can paste the scripts).

I've tried several different kernels from the Ubuntu mainline kernel repos, but I've experienced freezes with all of them. It's really frustrating. They seem to occur either during the early stages of booting (just before the LVM passphrase prompt is shown), or randomly during use (in X). I've found nothing relevant in the logs...

...but perhaps I've found a solution. I'm not sure yet, but I've had over 21 hours of uptime without a freeze now. Here's what I did:

1. I've added this:

i915.modeset=1 i915.semaphores=1 i915.enable_ips=0 i915.enable_rc6=0

to my boot parameters. I've seen this recommended on other Intel-based hardware that would freeze. The RC6 option has to do with a deep sleep state that supposedly isn't implemented on the Bay Trail, and so the hypothesis is that when the driver tells the GPU to enter that state, it just freezes. I don't know for sure yet, though. The IPS thing was supposed to deal with the weird flashing on the console (it didn't help). The semaphores option is, again, stability-related. Modesetting is on by default so I guess you can safely omit that.

2. I've edited xorg.conf to use the UXA accel mode instead of the now default SNA mode:

Section "Device"
Identifier "Card0"
Driver "intel"
Option "AccelMethod" "uxa"
BusID "PCI:0:2:0"
EndSection

Again, this is something I've seen referred to in connection with freezes on computers with an Intel GPU. It apparently slows down video playback (which I don't use anyway due to the non-working sound card), but otherwise it's not noticable.

3. I've turned off XHCI in the BIOS and turned on EHCI. Again, no idea if this is really responsible for the freezing.

If I experience no more freezing, I'll try to pinpoint the exact cause by reverting the settings one by one. If anyone could try the same tweaks and report any freezing, that'd be great.

Task 3 does not work. I have had ehci switched on in my laptop ever since I got it, the freezing still persisted.

Task 1 does not work. I added your parameters and the laptop froze after using it for 10 mins.

Task 2 looks like it might have fixed the freezing error! I have now had my laptop active for 24hrs with no freezing after adding your xorg.conf configuration (I have been using it at some points during the 24hrs, and I've left the odd programs like a web browser/ word editor open during this time)! I recommend everyone tries task 2 to stop the freezing. Good job suggesting these fixes and good luck everyone!

jurasenko
June 15th, 2015, 07:41 AM
Hey, thanks for the info. I've had all three tweaks turned on since before my first post here and so far no freezing (even during heavier use). Hopefully it's the AccelMethod. Unfortunately, this will not fix the freezing at boot time.

ekyo
June 15th, 2015, 07:52 PM
Hey, thanks for the info. I've had all three tweaks turned on since before my first post here and so far no freezing (even during heavier use). Hopefully it's the AccelMethod. Unfortunately, this will not fix the freezing at boot time.

For info, I never had a freeze at boot time since december 2014, maybe an ubuntu related problem (i run archlinux, no splash, quiet mode, slim login manager)

kreoouzis
June 16th, 2015, 08:19 AM
The Option "AccelMethod" "uxa" solution unfortunately doesn't work...I believe that freeze is about wireless card and the network manager..When i use external usb stick for wifi i have never had a freeze..
I put xubuntu finally without sound and i hope the driver release soon..

jurasenko
June 16th, 2015, 09:28 AM
So did you have a freeze with UXA?

I don't use NetworkManager but wicd. Still no freezes.

kreoouzis
June 16th, 2015, 11:37 AM
a lot of times freeze with UXA..Yesterday i also installed wicd.But i am sure that freeze is something with wireless card or network manager...I use wireless usb stick now without any problem..

ekyo
June 16th, 2015, 04:24 PM
i use wicd and i've freeze.

Pieni_Sieni
June 16th, 2015, 09:37 PM
Oh man. Thanks for the heads up. Can you try the UXA stuff?

Test 2: Freezed in approx. 2 days

--> Xorg.0.log:[ 13.867] (**) intel(0): Option "AccelMethod" "uxa"


Hey guys. I have a Asus T100TAF that has the same cpu,wifi,sound as your device.


Would have been interested in trying out the customized kernel images, but T100TAF is a 32bit environment. X205TA is 64bit.

Anyway, when someone has an uptime of a week+ without problems.. then we just might have the dude who has found a solution. Anyone who can claim that? :)

Jammyjamjamman
June 17th, 2015, 03:45 AM
Hmm this is very odd... My netbook has been running for ~3days now with no freezing with the UXA method and EHCI activated in the bios.... I also noticed that fiddling with the wifi *appeared* to trigger the freezing, so I tried to freeze the netbook by switching my wifi connection, and by testing the netbook in very weak wifi spots where the signal drops frequently.

I'm running ubuntu MATE 15.04 x64 with kernel 4.1-rc7, and I'm using the internal wifi card.

I'll reboot it and see if I start getting feezes again. Hope these details help.

jurasenko
June 17th, 2015, 03:14 PM
I still haven't had with a freeze (all three settings on) except at early boot. Once after booting up the wifi card didn't show up at all, but maybe that's unrelated.

Jammyjamjamman
June 17th, 2015, 06:42 PM
I still haven't had with a freeze (all three settings on) except at early boot. Once after booting up the wifi card didn't show up at all, but maybe that's unrelated.

I have had these problems too, even with UXA and ehci activated.

I've just discovered something quite interesting. I disabled UXA in an attempt to make the laptop freeze again and.... it still doesn't freeze/ I can't get it to freeze! It looks like UXA has no effect on the freezing. I must done something else to stop the OS from crashing.

I now have a suspicion that the freezing stopped when I updated the kernel to 4.1-rc7. My recommendation is that everyone tries kernel 4.1-rc7 or newer + update ubuntu to the latest software.

Pieni_Sieni
June 17th, 2015, 07:39 PM
I now have a suspicion that the freezing stopped when I updated the kernel to 4.1-rc7. My recommendation is that everyone tries kernel 4.1-rc7 or newer + update ubuntu to the latest software.

This proves nothing. My system also crashed with the UXA setting. I deactivated it, updated lubuntu, and kernel to 4.1-rc8. After a boot, the system soon crashed. After the second boot, it has been working fine for several hours. Voila, nothing has changed.

tp199911
June 17th, 2015, 07:58 PM
I now have a suspicion that the freezing stopped when I updated the kernel to 4.1-rc7. My recommendation is that everyone tries kernel 4.1-rc7 or newer + update ubuntu to the latest software.

Just a heads up, rc8 is out. I have updated, and removed all boot flags + uxa, as they didn't prevent the hangups. I'll keep you posted if I see a significant change in crash frequency.

kreoouzis
June 17th, 2015, 08:45 PM
Is it any official announcement from Kernel developers that they gonna support this hardware in future?

Jammyjamjamman
June 17th, 2015, 09:05 PM
This proves nothing. My system also crashed with the UXA setting. I deactivated it, updated lubuntu, and kernel to 4.1-rc8. After a boot, the system soon crashed. After the second boot, it has been working fine for several hours. Voila, nothing has changed.

You did not read my comment properly, I never claimed to 'prove' anything. I was simply saying that my results seem to match everyone else's experience, and yes I know UXA has not helped (probably) anyone. But anyway, what is important is that for some reason my system no longer freezes, and I have no idea why :S. I'm trying to work out everything that I might have changed to prevent this freezing. Here is my EXACT system setup:

-EHCI activated in BIOS
-Ubuntu MATE x64 installed with kernel 4.1-rc7
-internal wifi card txt file contains this:



manfid=0x2d0
prodid=0x0653
vendid=0x14e4
devid=0x4386
boardtype=0x0653
boardrev=0x1203
boardnum=22
macaddr=02:0A:F7:2A:3B:4C
sromrev=3
boardflags=0x0090201
xtalfreq=37400
nocrc=1
ag0=255
aa2g=1
aa5g=1
ccode=ALL
pa0itssit=0x20
pa0b0=6747
pa0b1=-808
pa0b2=-178
tssifloor2g=69
rssismf2g=0xf
rssismc2g=0x8
rssisav2g=0x1
cckPwrOffset=3
rssismf5g=0xf
rssismc5g=0x7
rssisav5g=0x3
pa1lob0=5659
pa1lob1=-693
pa1lob2=-178
tssifloor5gl=93
pa1b0=5172
pa1b1=-671
pa1b2=-212
tssifloor5gm=77
pa1hib0=5320
pa1hib1=-663
pa1hib2=-179
tssifloor5gh=74
rxpo5g=0
maxp2ga0=0x4E
cck2gpo=0x0000
ofdm2gpo=0x42000000
mcs2gpo0=0x2222
mcs2gpo1=0x7662
maxp5ga0=0x46
maxp5gla0=0x46
maxp5gha0=0x46
ofdm5gpo=0x52222222
ofdm5glpo=0x52222222
ofdm5ghpo=0x52222222
mcs5gpo0=0x0000
mcs5gpo1=0x8550
mcs5glpo0=0x0000
mcs5glpo1=0x8550
mcs5ghpo0=0x0000
mcs5ghpo1=0x8550
swctrlmap_2g=0x00080008,0x00100010,0x00080008,0x01 1010,0x11f
swctrlmap_5g=0x00020002,0x00040004,0x00020002,0x01 1010,0x2fe
gain=32
triso2g=8
triso5g=8
loflag=0
iqlocalidx5g=40
dlocalidx5g=70
iqcalidx5g=50
lpbckmode5g=1
txiqlopapu5g=0
txiqlopapu2g=0
dlorange_lowlimit=5
txalpfbyp=1
txalpfpu=1
dacrate2xen=1
papden2g=1
papden5g=1
gain_settle_dly_2g=4
gain_settle_dly_5g=4
noise_cal_po_2g=-1
noise_cal_po_40_2g=-1
noise_cal_high_gain_2g=73
noise_cal_nf_substract_val_2g=346
noise_cal_po_5g=-1
noise_cal_po_40_5g=-1
noise_cal_high_gain_5g=73
noise_cal_nf_substract_val_5g=346
cckpapden=0
paparambwver=1


That's all I've done with my system. I still seem unable to cause the system to freeze.....

**Update** I'm now using linux4.1-rc8 kernel and I still have no freezes.

kreoouzis
June 18th, 2015, 04:45 PM
Yo had blacklisted any modules?

Jammyjamjamman
June 18th, 2015, 05:16 PM
AFAIK I haven't blacklisted anything. The only thing I remember changing to stop the freezing was enabling the UXA method, but that is clearly not the reason.

kreoouzis
June 19th, 2015, 12:19 PM
can you please post the xorg file?(i mean all the xorg.conf)

Jammyjamjamman
June 19th, 2015, 08:37 PM
My xorg file is blank :/ . It exists though.... if that would make any difference....

kreoouzis
June 20th, 2015, 09:25 AM
But the UXA option it must be enable in xorg.conf right?

tp199911
June 20th, 2015, 09:46 AM
Quick observation: sometimes when my system freezes, I can still go to a terminal by means of <Ctrl>-<Alt>-<F1>. Up until now I only used this to gracefully restart, but I figured I could as well do some probing? I have no idea what exactly to do though, so if anyone has any ideas of what to run next time, let me know.

kreoouzis
June 20th, 2015, 01:34 PM
are you sure with archlinux no freeze?

Jammyjamjamman
June 24th, 2015, 09:33 PM
But the UXA option it must be enable in xorg.conf right?

First I enabled UXA, and the freezing stopped on my laptop at that point. That's when I thought the UXA prevented the freezing. However, it appears that is not the reason, because I disabled the UXA method and I STILL get no freezes :S. I have still yet to find the reason for the disappearance of the freezing.....

Further news, It appears my netbook is not completely freezing-free. Sometimes when I leave the laptop with the lid shut (I've disabled hibernate/sleep/lock etc. so the screen just powers off and the OS keeps running normally), and I then re-open the lid, I just get a black screen/ frozen desktop! I still have not experienced a freeze while using the netbook though.


Quick observation: sometimes when my system freezes, I can still go to a terminal by means of <Ctrl>-<Alt>-<F1>. Up until now I only used this to gracefully restart, but I figured I could as well do some probing? I have no idea what exactly to do though, so if anyone has any ideas of what to run next time, let me know.

I used to use this method on my main computer, which has dreaded optimus graphics. Except I did not reboot. Instead, I pressed the combination Ctrl+Alt+F7 to return to my X instance, and the system would *magically* be unfrozen. Sadly, with the x205ta something much worse is happening than just X crashing, because getty appears to fail too. This means the only way to escape the freezing is to hold down the power button :/ .

palatis
June 27th, 2015, 09:16 AM
I get no crash if no heavy cpu/disk usage.

$ uptime
16:14:30 up 4 days, 14:06, 3 users, load average: 2.10, 1.89, 1.78
but it does crash if I'm browsing some heavy javascriptted websites, or compiling kernel with make -j8.

my kernel:

$ uname -a
Linux Palabuntu 4.1.0-rc7-next-20150615-palatis+ #13 SMP Fri Jun 19 20:37:22 CST 2015 x86_64 x86_64 x86_64 GNU/Linux

kreoouzis
June 28th, 2015, 10:12 AM
Any suggestion how make a bootable windows installation iso to restore the system back? The bios cant see the usb anymore at startup

Jammyjamjamman
June 30th, 2015, 03:17 AM
There are a few things you need to do.

First, make sure the partition table your USB uses is a GPT (you can change this using GParted).

Second, write the ISO to the USB, using a method preferably recommended by Microsoft. You can only install 32bit windows, and the live image must be configured so that a UEFI system can recognise it. (I assume that you've already correctly performed this step 1 and 2).

(2.5 step, make sure the efi partition has on the USB a 'bootable' flag. This should be an obsolete step afaik, but might be worth a try (this can also be done in gparted))

Third, I recommend resetting the BIOS to the default settings. It may also be necessary to wipe the netbook's internal hdd (this can be done easily with gparted too).
Fourth (most important). Somewhere in the bios you can change the device you'd prefer to boot first. select the USB as the most preferred device. Make sure you do this step, as afaik you cannot choose the device you boot from before actually booting.

There's a high chance these steps won't work, but they might all be worth a try. Another option worth looking at, is to try different bootable USB creation methods. Bad tools are a common reason for bootable usb's failing.

Juergen_Bausa
July 17th, 2015, 01:49 PM
@Palatis

Finally got your patch compiled. Had to wait for 4.2 appearing in ubuntu, cause thats for me the easiest way to compile a kernel and create a debian package.

So, the patch applied cleanly and compiled fine.

Now, scrolling with the touchpad works. But, normal mouse movement does not. Is this also your experience? And did you improve your patch in the meantime? Did you send it to the kernel developers, so that they can fix the problems and include it into the official sources?

Juergen


I got the touchpad......
but a bit hacky, have to work with (maybe) Duson Lin (author of elan_i2c) or ASUS people to get it right.
for now just use the attached patch.

The idea is, I inspected evtest output and it was reporting X/Y position (even with multi-touch). but compare with my other old notebook, it's not reporting pressure.
so I dig into elan_i2c_core.c to find out why it's not reporing pressure.
then I found that hover_event is always true (in my case, no matter how hard I press the pad, even when the physical button underneath clicks).
so I just hacked it to make it always false, so the pressure is (always) reported.
now it somehow worked, but don't recognize hover event......

this patch should actually be splitted into 4 seperate patch, it does 4 things:
1. tell hid_i2c to ignore this touchpad
2. tell elan_i2c to pick up this pad
3. bypass ic_type check, breaks firmware update, but everything else should work.
4. always report pressure event by ignoring the reported hover_event.

Cpbee
July 20th, 2015, 09:37 AM
Hi Everyone,

I am ne to this forum. However, I would like to contribute and give feedback regarding my experience with Ubuntu / Linux Mint on the X205:

First at all - I installed both distros and both run good. Currently I am running the generic 4.2rc2 kernel on Ubuntu.

Except the known issues (no sound, no suspend/sleep, no multitouch) everything is running. BUT I also experience the random freezes.

I am using the WiFi setting from "palatis" and this strongly improved the freeze behavior. But still I am getting the random freezes. And I am not exactly sure where they come from.

Has anyone more insights on those random freezes?

Thanks for your help.

Chris.

Cpbee
July 20th, 2015, 09:44 AM
Add-on: I quickly looked into the syslog and kern.log and see repeated errors for the wlan card.


Jul 20 10:38:59 Mantisshrimp kernel: [ 323.973118] brcmf_cfg80211_escan: Connecting: status (7)
Jul 20 10:38:59 Mantisshrimp kernel: [ 323.973134] brcmf_cfg80211_scan: scan error (-11)
Jul 20 10:40:59 Mantisshrimp kernel: [ 443.937486] brcmf_cfg80211_escan: Connecting: status (7)
Jul 20 10:40:59 Mantisshrimp kernel: [ 443.937510] brcmf_cfg80211_scan: scan error (-11)

Jul 20 10:32:59 Mantisshrimp kernel: [ 8.505130] brcmf_sdio_bus_rxctl: resumed on timeoutJul 20 10:32:59 Mantisshrimp kernel: [ 8.505142] brcmf_c_preinit_dcmds: Retreiving cur_etheraddr failed, -52
Jul 20 10:32:59 Mantisshrimp kernel: [ 8.505147] brcmf_bus_start: failed: -52
Jul 20 10:32:59 Mantisshrimp kernel: [ 8.505158] brcmf_sdio_firmware_callback: dongle is not responding
Jul 20 10:32:59 Mantisshrimp kernel: [ 8.518086] brcmf_sdio_dpc: failed backplane access over SDIO, halting operation

Crash here!



Someone any idea what settings do affect this? Could this be the reason for the random freezes?

edward31
July 24th, 2015, 07:05 PM
Can someone reupload the files contained in filedropper.com/x205ta? The link seems to be dead now.

palatis
July 27th, 2015, 06:50 AM
@Palatis

Finally got your patch compiled. Had to wait for 4.2 appearing in ubuntu, cause thats for me the easiest way to compile a kernel and create a debian package.

So, the patch applied cleanly and compiled fine.

Now, scrolling with the touchpad works. But, normal mouse movement does not. Is this also your experience? And did you improve your patch in the meantime? Did you send it to the kernel developers, so that they can fix the problems and include it into the official sources?

Juergen
It worked for me.

I mean everything, including moving the pointer with one finger, scrolling with two fingers, clicks (one finger for left click, two fingers for right, and three fingers for middle).

I can't diagnostic nothing with no logs, you may want to follow my steps here and see what went wrong on your machine:
http://ubuntuforums.org/showthread.php?t=2254322&page=10&p=13301796#post13301796

1. check dmesg for elan_i2c related stuff
2. check /proc/bus/input/devices
3. run evtest and see what it says
4. check Xorg.log to see if it's using the synaptics driver

Juergen_Bausa
July 27th, 2015, 08:20 PM
Dear Palatis,

thanks for your help! See the output of all tests at the end.


It worked for me.

I mean everything, including moving the pointer with one finger, scrolling with two fingers, clicks (one finger for left click, two fingers for right, and three fingers for middle).

I can't diagnostic nothing with no logs, you may want to follow my steps here and see what went wrong on your machine:
http://ubuntuforums.org/showthread.php?t=2254322&page=10&p=13301796#post13301796

1. check dmesg for elan_i2c related stuff
2. check /proc/bus/input/devices
3. run evtest and see what it says
4. check Xorg.log to see if it's using the synaptics driver

1. check dmesg for elan_i2c related stuff:

jba@lina:~$ dmesg | grep elan
jba@lina:~$

2. check /proc/bus/input/devices:


cat /proc/bus/input/devices
...
I: Bus=0018 Vendor=0000 Product=0000 Version=0000
N: Name="Elan Touchpad"
P: Phys=
S: Sysfs=/devices/platform/80860F41:03/i2c-3/i2c-ELAN0100:00/input/input5
U: Uniq=
H: Handlers=mouse0 event5 evbug
B: PROP=5
B: EV=b
B: KEY=e520 0 10000 0 0 0 0 0 0 0 0
B: ABS=6638000 13000003
...


3. run evtest and see what it says

I ran evtest and moved my finger on the touchpad. From the output it seems, that the mouse position is measured and recorded. But the cursor on the screen doesnt move at all!


root@lina:/home/jba# evtest /dev/input/event5
Input driver version is 1.0.1
Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0
Input device name: "Elan Touchpad"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 272 (BTN_LEFT)
Event code 325 (BTN_TOOL_FINGER)
Event code 328 (BTN_TOOL_QUINTTAP)
Event code 330 (BTN_TOUCH)
Event code 333 (BTN_TOOL_DOUBLETAP)
Event code 334 (BTN_TOOL_TRIPLETAP)
Event code 335 (BTN_TOOL_QUADTAP)
Event type 3 (EV_ABS)
Event code 0 (ABS_X)
Value 742
Min 0
Max 3120
Resolution 31
Event code 1 (ABS_Y)
Value 346
Min 0
Max 1716
Resolution 32
Event code 24 (ABS_PRESSURE)
Value 0
Min 0
Max 255
Event code 25 (ABS_DISTANCE)
Value 0
Min 0
Max 1
Event code 28 (ABS_TOOL_WIDTH)
Value 0
Min 0
Max 15
Event code 47 (ABS_MT_SLOT)
Value 0
Min 0
Max 4
Event code 48 (ABS_MT_TOUCH_MAJOR)
Value 0
Min 0
Max 2220
Event code 49 (ABS_MT_TOUCH_MINOR)
Value 0
Min 0
Max 2145
Event code 53 (ABS_MT_POSITION_X)
Value 0
Min 0
Max 3120
Resolution 31
Event code 54 (ABS_MT_POSITION_Y)
Value 0
Min 0
Max 1716
Resolution 32
Event code 57 (ABS_MT_TRACKING_ID)
Value 0
Min 0
Max 65535
Event code 58 (ABS_MT_PRESSURE)
Value 0
Min 0
Max 255
Properties:
Property type 0 (INPUT_PROP_POINTER)
Property type 2 (INPUT_PROP_BUTTONPAD)
Testing ... (interrupt to exit)
Event: time 1438023736.855780, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 7
Event: time 1438023736.855780, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 450
Event: time 1438023736.855780, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 525
Event: time 1438023736.855780, type 3 (EV_ABS), code 58 (ABS_MT_PRESSURE), value 61
Event: time 1438023736.855780, type 3 (EV_ABS), code 28 (ABS_TOOL_WIDTH), value 3
Event: time 1438023736.855780, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 212
Event: time 1438023736.855780, type 3 (EV_ABS), code 49 (ABS_MT_TOUCH_MINOR), value 174
Event: time 1438023736.855780, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1438023736.855780, type 1 (EV_KEY), code 325 (BTN_TOOL_FINGER), value 1
Event: time 1438023736.855780, type 3 (EV_ABS), code 0 (ABS_X), value 450
Event: time 1438023736.855780, type 3 (EV_ABS), code 1 (ABS_Y), value 525
Event: time 1438023736.855780, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 61
Event: time 1438023736.855780, -------------- EV_SYN ------------
Event: time 1438023736.943164, type 3 (EV_ABS), code 58 (ABS_MT_PRESSURE), value 66
Event: time 1438023736.943164, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 66
Event: time 1438023736.943164, -------------- EV_SYN ------------
Event: time 1438023737.031162, type 3 (EV_ABS), code 58 (ABS_MT_PRESSURE), value 71
Event: time 1438023737.031162, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 71
Event: time 1438023737.031162, -------------- EV_SYN ------------
Event: time 1438023737.059775, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 465
Event: time 1438023737.059775, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 536
Event: time 1438023737.059775, type 3 (EV_ABS), code 28 (ABS_TOOL_WIDTH), value 4
Event: time 1438023737.059775, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 232
Event: time 1438023737.059775, type 3 (EV_ABS), code 49 (ABS_MT_TOUCH_MINOR), value 212
Event: time 1438023737.059775, type 3 (EV_ABS), code 0 (ABS_X), value 465
Event: time 1438023737.059775, type 3 (EV_ABS), code 1 (ABS_Y), value 536
Event: time 1438023737.059775, -------------- EV_SYN ------------
Event: time 1438023737.071162, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 474
Event: time 1438023737.071162, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 540
Event: time 1438023737.071162, type 3 (EV_ABS), code 0 (ABS_X), value 474
Event: time 1438023737.071162, type 3 (EV_ABS), code 1 (ABS_Y), value 540
Event: time 1438023737.071162, -------------- EV_SYN ------------
Event: time 1438023737.087166, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 487
Event: time 1438023737.087166, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 544
Event: time 1438023737.087166, type 3 (EV_ABS), code 0 (ABS_X), value 487
Event: time 1438023737.087166, type 3 (EV_ABS), code 1 (ABS_Y), value 544
Event: time 1438023737.087166, -------------- EV_SYN ------------
Event: time 1438023737.099166, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 500
Event: time 1438023737.099166, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 548
Event: time 1438023737.099166, type 3 (EV_ABS), code 0 (ABS_X), value 500
Event: time 1438023737.099166, type 3 (EV_ABS), code 1 (ABS_Y), value 548
Event: time 1438023737.099166, -------------- EV_SYN ------------
Event: time 1438023737.111161, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 518
Event: time 1438023737.111161, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 553
Event: time 1438023737.111161, type 3 (EV_ABS), code 28 (ABS_TOOL_WIDTH), value 3
Event: time 1438023737.111161, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 212
Event: time 1438023737.111161, type 3 (EV_ABS), code 49 (ABS_MT_TOUCH_MINOR), value 174
Event: time 1438023737.111161, type 3 (EV_ABS), code 0 (ABS_X), value 518
Event: time 1438023737.111161, type 3 (EV_ABS), code 1 (ABS_Y), value 553
Event: time 1438023737.111161, -------------- EV_SYN ------------
Event: time 1438023737.127163, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 536
Event: time 1438023737.127163, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 558
Event: time 1438023737.127163, type 3 (EV_ABS), code 0 (ABS_X), value 536
Event: time 1438023737.127163, type 3 (EV_ABS), code 1 (ABS_Y), value 558
Event: time 1438023737.127163, -------------- EV_SYN ------------
Event: time 1438023737.139163, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 556
Event: time 1438023737.139163, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 562
Event: time 1438023737.139163, type 3 (EV_ABS), code 28 (ABS_TOOL_WIDTH), value 4
Event: time 1438023737.139163, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 232
Event: time 1438023737.139163, type 3 (EV_ABS), code 49 (ABS_MT_TOUCH_MINOR), value 212
Event: time 1438023737.139163, type 3 (EV_ABS), code 0 (ABS_X), value 556
Event: time 1438023737.139163, type 3 (EV_ABS), code 1 (ABS_Y), value 562
Event: time 1438023737.139163, -------------- EV_SYN ------------
Event: time 1438023737.155163, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 579
Event: time 1438023737.155163, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 566
Event: time 1438023737.155163, type 3 (EV_ABS), code 0 (ABS_X), value 579
Event: time 1438023737.155163, type 3 (EV_ABS), code 1 (ABS_Y), value 566
Event: time 1438023737.155163, -------------- EV_SYN ------------
Event: time 1438023737.171570, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 604
Event: time 1438023737.171570, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 570
Event: time 1438023737.171570, type 3 (EV_ABS), code 0 (ABS_X), value 604
Event: time 1438023737.171570, type 3 (EV_ABS), code 1 (ABS_Y), value 570
Event: time 1438023737.171570, -------------- EV_SYN ------------
Event: time 1438023737.187163, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 632
Event: time 1438023737.187163, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 575
Event: time 1438023737.187163, type 3 (EV_ABS), code 0 (ABS_X), value 632
Event: time 1438023737.187163, type 3 (EV_ABS), code 1 (ABS_Y), value 575
Event: time 1438023737.187163, -------------- EV_SYN ------------
Event: time 1438023737.199160, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 661
Event: time 1438023737.199160, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 579
Event: time 1438023737.199160, type 3 (EV_ABS), code 28 (ABS_TOOL_WIDTH), value 3
Event: time 1438023737.199160, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 212
Event: time 1438023737.199160, type 3 (EV_ABS), code 49 (ABS_MT_TOUCH_MINOR), value 174
Event: time 1438023737.199160, type 3 (EV_ABS), code 0 (ABS_X), value 661
Event: time 1438023737.199160, type 3 (EV_ABS), code 1 (ABS_Y), value 579
Event: time 1438023737.199160, -------------- EV_SYN ------------
Event: time 1438023737.211167, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 691
Event: time 1438023737.211167, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 582
Event: time 1438023737.211167, type 3 (EV_ABS), code 28 (ABS_TOOL_WIDTH), value 4
Event: time 1438023737.211167, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 232
Event: time 1438023737.211167, type 3 (EV_ABS), code 49 (ABS_MT_TOUCH_MINOR), value 212
Event: time 1438023737.211167, type 3 (EV_ABS), code 0 (ABS_X), value 691
Event: time 1438023737.211167, type 3 (EV_ABS), code 1 (ABS_Y), value 582
Event: time 1438023737.211167, -------------- EV_SYN ------------


4. check Xorg.log to see if it's using the synaptics driver:


jba@lina:~$ grep synaptics /var/log/Xorg.0.log
[ 7.396] (II) LoadModule: "synaptics"
[ 7.396] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 7.397] (II) Module synaptics: vendor="X.Org Foundation"
[ 7.398] (II) Using input driver 'synaptics' for 'Elan Touchpad'
[ 7.436] (II) synaptics: Elan Touchpad: found clickpad property
[ 7.436] (--) synaptics: Elan Touchpad: x-axis range 0 - 3120 (res 31)
[ 7.436] (--) synaptics: Elan Touchpad: y-axis range 0 - 1716 (res 32)
[ 7.436] (--) synaptics: Elan Touchpad: pressure range 0 - 255
[ 7.436] (--) synaptics: Elan Touchpad: finger width range 0 - 15
[ 7.436] (--) synaptics: Elan Touchpad: buttons: left double triple
[ 7.436] (--) synaptics: Elan Touchpad: Vendor 0 Product 0
[ 7.437] (--) synaptics: Elan Touchpad: touchpad found
[ 7.476] (**) synaptics: Elan Touchpad: (accel) MinSpeed is now constant deceleration 2.5
[ 7.476] (**) synaptics: Elan Touchpad: (accel) MaxSpeed is now 1.75
[ 7.476] (**) synaptics: Elan Touchpad: (accel) AccelFactor is now 0.056
[ 7.477] (--) synaptics: Elan Touchpad: touchpad found

Juergen

Cpbee
July 30th, 2015, 07:32 AM
Dear all,

for those who are still fighting against the random freezes: It seems to be something with the Wifi card or its corresponding driver module:

Even with the config file from Palatis I got the freezes!

However once in a while the wifi card does not come up after reboot and I have to manually modprobe the driver. While doing so I realized that I did not encounter any crashes (during that run cycle). Therefore, I did after every boot unload and reload the brcmfmac Module:


sudo modprobe -r brcmfmac
sudo modprobe brcmfmac

After that the computer runs flawlessly without the random crashes!

Maybe one of the experts can recheck if the boot order or how the Wifi driver is loaded might have an effect on the crashes? Where can I change the order of module loading.

Thanks a lot.

Chris.

palatis
August 1st, 2015, 04:24 AM
Dear Palatis,

thanks for your help! See the output of all tests at the end.

... deleted

Strange, I have no idea what happened over there.
Looks like the input layer is good, your evtest result looked just like mine, including pressure reports.

maybe you want to run synclient and check pressure related settings?


$ synclient | grep -i pres
PressureMotionMinZ = 30
PressureMotionMaxZ = 160
PressureMotionMinFactor = 1
PressureMotionMaxFactor = 1

Juergen_Bausa
August 1st, 2015, 08:21 PM
Strange, I have no idea what happened over there.
Looks like the input layer is good, your evtest result looked just like mine, including pressure reports.

maybe you want to run synclient and check pressure related settings?


$ synclient | grep -i pres
PressureMotionMinZ = 30
PressureMotionMaxZ = 160
PressureMotionMinFactor = 1
PressureMotionMaxFactor = 1

Just tried it. Got exactly the same output.

Juergen

kreoouzis
August 2nd, 2015, 01:25 PM
Any news about the sound driver?...

TheNighthawk
August 2nd, 2015, 07:41 PM
Hi all,

Just wanted to say that with Lunbuntu 15.04 ; kernel 4.1.2 ; WCID networkmanager and the specific config settings for the wireless firmware, we're not seeing run-time crashes anymore.

The audio though says an unsolved problem ...

Cheers,
Koen.

GeneralKenobi
August 13th, 2015, 08:41 PM
no luck with sound driver... however, I was in a skype call earlier with a friend of mine, and he was able to hear the sound coming from the X205TA.... /*sounds*/ like to me that by default that the computer is routing the speakers to the mic, but that's just a theory. I'm awaiting to hear an answer or an update on a driver for the RT5648 card.

dinunnob
August 14th, 2015, 06:14 AM
Was able to get Debian (Jessie) installed using these methods (with kernel 4.1.5):
- Wifi works well
- computer has not frozen one time
- no sound
- cannot suspend
- if i shut the lid, when i open it again the brightness is too low (created a script which handles this and is easy to execute even with a dim screen)
#!/bin/bash
echo "4000">/sys/class/backlight/intel_backlight/brightness
--------------------------
Thanks for all the help! The only problem is that its getting hard for me to mesh together fixes by going through this thread. The install and wifi fixes were easy to follow, but then the conversation devolves into a myriad of other problems.
Has anyone figured out how to get the touch pad working properly? I saw some patches, but was unsure how to implement them and didnt know if anyone else was able to replicate the success.

Thanks

GeneralKenobi
August 14th, 2015, 06:45 AM
Well, I tried to patch the touchpad drivers.... it failed to compile.

Pieni_Sieni
August 15th, 2015, 11:10 AM
Was able to get Debian (Jessie) installed using these methods (with kernel 4.1.5):
- Wifi works well
- computer has not frozen one time
Thanks

Thanks for the report. What is your best uptime without a freeze?

notmerlin
August 16th, 2015, 09:12 AM
Hey guys,


Just reporting in since this seems to be the most active x205ta thread on the net. Just got the x205ta yesterday and today, thanks largely to the information collected here, it's mostly working. I've documented most of my stepsl here: https://wiki.archlinux.org/index.php/Asus_x205ta.

Here're the details:


Distro: Arch (don't judge me)
Kernel: 4.2rc6 (with palatis' patch)


What works:


- Booting install media (had to create custom grub standalone 32-bit efi file and splice into standard install media)
- Power status (added CONFIG_I2C=y and CONFIG_ACPI_I2C_OPREGION=y kernel parameters at compile time)
- Wifi (ln -s .../nvram... ...43340-sdio.txt)
- Touchpad with full synaptics support (patched mainline kernel 4.2rc6 with palatis' patch)
- Webcam
- Microsd reader

What doesn't work:


- Sound (looks like we have no option but to wait for drivers...)
- Suspend / Hibernate
- Hotkeys (except pgup, pgdown, and audio volume keys---ironic, since sound doesn't work)
- Freezing (getting a lot of these now, tried all solutions proposed here but no dice)
- Bluetooth (hciconfig and rfkill see the device, but trying to put it up throws "Can't init device hci0: Input/output error (5)", with no other useful information obvious in any log file).



I'm getting a solid 14h of battery life with the screen brightness at 5%-10%, using X and xmonad, mostly for text editing. Much less if I need the screen brighter.

di-logvinov
August 16th, 2015, 01:45 PM
Sound!
Found this: http://lxr.free-electrons.com/source/sound/soc/codecs/rt5640.c
And this: https://lists.ozlabs.org/pipermail/devicetree-discuss/2013-June/035174.html

Looks like, there were problems with this device since 2013.

dinunnob
August 16th, 2015, 08:36 PM
@Pieni_Sieni

It still has not crashed a single time, so I guess I'm up to 4 days now.

notmerlin
August 18th, 2015, 07:42 AM
Are you running on AC or battery, or both?

I've found I get no crashes when connected to the AC... but this is all a little stochastic...

dinunnob
August 19th, 2015, 12:06 AM
Are you running on AC or battery, or both?

Im running on both, and I still haven't had any crashes. It would seem that there are a few differences between my setup and everyone else's (based on what I've read):
- I am using debian (jessie)
- I am running the 32-bit version (I think everyone else is using the 64-bit version).

Kuci
August 19th, 2015, 12:34 PM
Arch Linux x86_64 with linux-baytrail (https://aur.archlinux.org/packages/linux-baytrail) 4.1.6, no crashes. Plus, I use F2FS, no swap and I have journal turned off.

Safergrgg
August 20th, 2015, 11:57 AM
Just found out that the freezes on my Arch Linux x86_64 were caused by networkmanager or one of its dependencies. I removed it and I just use wifi-menu instead. Good luck!

ekyo
August 20th, 2015, 02:19 PM
Arch Linux x86_64 with linux-baytrail (https://aur.archlinux.org/packages/linux-baytrail) 4.1.6, no crashes. Plus, I use F2FS, no swap and I have journal turned off.

Hi Kuci, i agree that the crash issue is kernel related : with arch stock kernel i got some crashes, mostly during internel browsing, but with mainline there is a lot more.
I'm compiling your aur kernel package, will tell you.

I don't use network manager, but netctl-auto, and i have crashes so i don't think it's related.

I also notice that when i'm in game there's no crashes, never. I play native linux games (nwn, fez, supermeatboy), wine (wow vanilla, hearthstone, smac), and dosbox (heroes2, dune), for long periods, without crash.

@Palatis : Thank you for your touchpad patch, works very well and no issue at this time ! Does upstream will include it ?

notmerlin
August 20th, 2015, 04:36 PM
Kuci: excellent, thank you. Will try your baytrail kernel and report back. Will also patch it up to 4.2rc7 to make it compatible with Palatis' touchpad patch and see if that makes a difference.

To find the cause of the freezes, I'm trying to figure out what exactly is different between your kernel and the stock kernel. From what I can see, it's just these four kernel parameters in config.x86_64:

CONFIG_ACPI_I2C_OPREGION=y
CONFIG_PCI_BUS_ADDR_T_64BIT=y
CONFIG_CROS_EC_CHARDEV=m
CONFIG_CROS_EC_LPC=m

Is that correct? Have I missed something?

Safergrgg/ekyo: can confirm, it's not networkmanager. I also use Arch with linux-mainline x86_64, using wifi-menu/netctl-auto for networking, but have regular crashes.


UPDATE: tried Kali's baytrail kernel, patched to 4.2rc7. Froze within 10m. Trying next with kernel 4.1.6.

dinunnob
August 20th, 2015, 09:08 PM
I went up to 4.2rc7 and my computer crashes frequently now (mostly when im browsing the web).
The most stable kernel for me was 4.1.5

notmerlin
August 21st, 2015, 12:33 AM
So far kernel 4.1.6 hasn't crashed for me. It's definitely performing better than 4.2. Now we just need to figure out what changed that made such a difference...

In the meantime, for your convenience, here's a re-diff of palatis' patch relative to kernel 4.1.6, so you can have *both* touchpad features and fewer freezes: 263988.

Note, after booting the the patched kernel I had to "rmmod elan_i2c; modprobe elan_i2c" before the touchpad worked, but then it worked perfectly.

Kuci
August 21st, 2015, 05:39 AM
Well, I do use NetworkManager. For me it is obvious it is a kernel problem. 4.1.5 and 4.1.6 are so stable because there were important mac80211, mmc, x86 and CPU fixes. For more info, check changelog on kernel.org (https://www.kernel.org/).

ekyo
August 21st, 2015, 12:23 PM
No crash so far with with 4.1.6, dispite intensive web browsing, youtube watching (which is the most crashing activity) :

┌─[remy@ix][~]
└»»[$]uptime ; uname -a
13:25:29 up 20:23, 0 users, load average: 0,45, 0,41, 0,27
Linux ix 4.1.6-1-baytrail #1 SMP PREEMPT Thu Aug 20 16:17:59 CEST 2015 x86_64 GNU/Linux

Edit : Finally it crashed after more of 3 days of uptime. Great anyway.

notmerlin
August 25th, 2015, 09:21 AM
Anyone had any luck getting bluetooth working on this baby? Could give us a temporary solution for getting sound until we have a driver for the sound card.

I get:

# hciconfig hci0 up
Can't init device hci0: Input/output error (5)

michele17
August 25th, 2015, 09:51 AM
The touchpad patch will be in linux-next soon
https://lkml.org/lkml/2015/8/24/647


Sound driver, well...
http://comments.gmane.org/gmane.linux.alsa.devel/143281
it seems that the firmware fw_sst_0f28_ssp0.bin is the right one, maybe just some audio routes missing...

3epehr
August 25th, 2015, 07:06 PM
Hi, I'm having problems with mainly 2 things:

1. How can I boot ubuntu from the built-in microSD-card reader?

So far I managed to boot a live 15.04 using a usb card reader. But put the same microSD card into the built-in card reader, and nothing shows up. I get nothing to boot from in either the bios or grub ("ls" only shows hd0 to hd03).

I tried adding to /etc/initramfs-tools/modules as described here (http://help.ubuntu.com/community/BootFromSD) but that didn't seem to work.

When I run:

update-initramfs -u -k all

I get this a part of the output:


cryptsetup: WARNING: failed to detect canonical device of overlay
cryptsetup: WARNING: could not determine root device from /etc/fstab
ln: failed to create symbolic link ‘/root/lib/systemd/system/cdrom.mount’: No such file or directory
I also get the same error when I try to fix the microSD-card-reader from the liveusb. (as described here (https://wiki.debian.org/InstallingDebianOn/Asus/X205TA))

2. How can I update the kernel on the liveusb? or setup a liveusb with all the necessary modification to get everything working?

Again I tried to use the kernels (1.4.6) on kernel-ppa but got an error similar to above.

ekyo
August 25th, 2015, 07:52 PM
The touchpad patch will be in linux-next soon
https://lkml.org/lkml/2015/8/24/647


Sound driver, well...
http://comments.gmane.org/gmane.linux.alsa.devel/143281
it seems that the firmware fw_sst_0f28_ssp0.bin is the right one, maybe just some audio routes missing...

Thanks for your work Michele, you do a great job with intel guys to bring audio on this little great laptop.


Anyone had any luck getting bluetooth working on this baby? Could give us a temporary solution for getting sound until we have a driver for the sound card.

I get:

# hciconfig hci0 up
Can't init device hci0: Input/output error (5)

No, i have not seen somebody with bluetooth working on linux@x205ta.

As an alternative, i use a small usb dac :
http://www.audiophonics.fr/7400-large_default/audiophonics-usabre-usb-dac-24bit96khz-sa9023es9023-v2.jpg

kreoouzis
August 26th, 2015, 06:50 PM
That means in the next Linux kernel audio gonna be working for sure? If it happens it is great news:)..I cant stand anymore with these stupid windows..With audio working i will format it directly with Linux..
I hope also after sometimes somebody found the solution with crash problems.

ekyo
August 27th, 2015, 12:06 PM
That means in the next Linux kernel audio gonna be working for sure? If it happens it is great news:)..I cant stand anymore with these stupid windows..With audio working i will format it directly with Linux..
I hope also after sometimes somebody found the solution with crash problems.

No, if you read carefully : touchpad multitouch support patch will be included in kernel next. For audio, work is in progress, but it doesn't work for now.

schmidtbag
August 27th, 2015, 06:01 PM
That means in the next Linux kernel audio gonna be working for sure? If it happens it is great news:)..I cant stand anymore with these stupid windows..With audio working i will format it directly with Linux..
I hope also after sometimes somebody found the solution with crash problems.
I've recently just tried Debian Stretch and so far there isn't any freezing. Looking around these forums, I did a collection of things that are supposed to stop the freezing. Most notably, using the 4.1 kernel, I installed 32 bit instead of 64 (32 bit is easier to work with considering the EFI anyway), and I used WICD instead of network-manager.

Though I didn't use the graphical install for Debian, I also noticed I didn't seem to get any problems involving mmcblk0rpmd. There could be a slew of reasons for this, but I wonder if using Debian has anything to do with it.

marijnfs
August 28th, 2015, 06:11 PM
I've recently just tried Debian Stretch and so far there isn't any freezing. Looking around these forums, I did a collection of things that are supposed to stop the freezing. Most notably, using the 4.1 kernel, I installed 32 bit instead of 64 (32 bit is easier to work with considering the EFI anyway), and I used WICD instead of network-manager.Though I didn't use the graphical install for Debian, I also noticed I didn't seem to get any problems involving mmcblk0rpmd. There could be a slew of reasons for this, but I wonder if using Debian has anything to do with it.I have been using debian (64bit) for a while now, and had many hangs. I should try out WICD, but not sure how to shut of the network manager.I especially hope the sound gets fixed, it looks like drivers exist but need some tweaking?

schmidtbag
August 28th, 2015, 06:14 PM
I have been using debian (64bit) for a while now, and had many hangs. I should try out WICD, but not sure how to shut of the network manager.I especially hope the sound gets fixed, it looks like drivers exist but need some tweaking?
Are you using Debian Stretch? Also, it might be easier to just simply uninstall network manager, just so it doesn't conflict with anything. It's not that big of a program and you can always keep your config files. I'm not sure if WICD actually fixes anything either, I just made the decision based on what others have mentioned.

I too hope sound gets fixed. I'm overall really disappointed in Intel and Asus for making such a locked-down system.

marijnfs
August 28th, 2015, 11:09 PM
Yes using Stretch, and just hung again using wicd. Although I still have a feeling it has to do with wireless, since it hung sometimes while playing with network. Maybe some 64bit + network driver problem?

Kuci
August 29th, 2015, 09:15 AM
It has pretty much nothing to do with architecture for sure. I was running Arch Linux i686 before I reinstalled to Arch Linux x86_64 and it seems like there were even more crashes on i686. But it is possible there is something wrong with the wireless driver, for me it still does not look that stable.

ZannaStar
August 29th, 2015, 10:56 PM
Edit: solved it!

Apologies if this is in the wrong place. I know (now) that I shouldn't have bought it, but I am a total beginner trying to get Ubuntu 14.04.3 to boot on this device, and all of the guides assume too much prior knowledge for me to follow. I have successfully made a bootable USB to run the live version and have tried installing from it several times doing different things. I am using tethering to my nexus 7 for WiFi so i can get online no problem. However nothing i do makes it boot. Everyone seems to recommend these instructions https://github.com/lopaka/instructions/blob/master/ubuntu-14.10-install-asus-x205ta.md but I can't get this to work. I successfully chrooted into the install and ran apt-get upgrade and updated grub but I know I need to insert a different version somehow somewhere, not the 64bit one it updates to. I've tried really hard to fix it myself and I really need help! Fingers crossed someone can give me a hand

3epehr
August 30th, 2015, 08:56 AM
Apologies if this is in the wrong place. I know (now) that I shouldn't have bought it, but I am a total beginner trying to get Ubuntu 14.04.3 to boot on this device, and all of the guides assume too much prior knowledge for me to follow. I have successfully made a bootable USB to run the live version and have tried installing from it several times doing different things. I am using tethering to my nexus 7 for WiFi so i can get online no problem. However nothing i do makes it boot. Everyone seems to recommend these instructions https://github.com/lopaka/instructions/blob/master/ubuntu-14.10-install-asus-x205ta.md but I can't get this to work. I successfully chrooted into the install and ran apt-get upgrade and updated grub but I know I need to insert a different version somehow somewhere, not the 64bit one it updates to. I've tried really hard to fix it myself and I really need help! Fingers crossed someone can give me a hand

I suggest you install 15.04 as (I read) it solved some issues but if you need 14.04 you can probably make it work too.

You might find this post (http://ubuntuforums.org/showthread.php?t=2254322&p=13261807#post13261807) helpful but I didn't have to do all the steps there (i.e. 3,9). Here's what I did after Installing:

- Run "apt-get remove grub-efi-amd64" and "apt-get install grub-efi-ia32" from your newly installed ubuntu.
- Make a 200mb EFI partition and run sudo grub-install /dev/XXX (you need to change XXX to your partition name which is probably something like mmcblk0p2 ). I'm not sure but maybe you don't need a new partition and can just do it on your install partition.
- Then update your kernel to 4.1.X according to here (https://wiki.ubuntu.com/Kernel/MainlineBuilds).
- Then fix WIFI and microSD-reader as described here (https://wiki.debian.org/InstallingDebianOn/Asus/X205TA).

kreoouzis
August 30th, 2015, 03:12 PM
I am starting to be really disappointed bought that laptop..I had more than 20 laptops in my life and i have never had these problems to put my favorite Linux distro..
It is so beautiful and small but useless with Windows :(

ZannaStar
August 30th, 2015, 06:48 PM
Thanks so much for replying. I did try doing it that way using chroot because I couldn't get into the installation, but it didn't work. Finally I managed to follow lopaka's guide by reading the initrd address in grub.cfg and boot from grub - it was plain sailing from there! I'll follow your advice to update the kernel etc once I've got over the euphoria of actually getting it to boot and caught up with all the super-urgent officey stuff I need to do ^_^ I'll think about moving to 15.04... Keeping an eye on progress in this thread. Thanks again!

Cpbee
August 31st, 2015, 06:58 AM
It is definitely the Kernel Version that leads to the hangs:

I used 4.2 and had terrible hangs ... someone wrote here to use the 4.1.6. Stepped back installed from the Ubuntu Repro 4.1.6 mainline/unstable -> no hangs anymore.

Not working:
- Sound
- Synaptic touchpad (basic functions there)
- Sleep / Suspend

Otherwhise perfect.

notmerlin
August 31st, 2015, 08:08 AM
Can confirm. Had hourly freezes on the 4.2 series, but have been running for a week on 4.1.6 without a single problem.

Cpbee: you can get full synaptic functionality by recompiling your 4.1.6 kernel with michele17's patch above. To add to your list: bluetooth and hotkeys also still not working for me.

Pieni_Sieni
September 1st, 2015, 04:14 PM
Lubuntu 15.04 & Kernel 4.1.6 here with regular freezes.

KernelAshmead
September 2nd, 2015, 02:17 PM
Running 14.04 LTS with 4.1.5-040105 and getting an occasional lock up. Wireless is intermittent - if it's going to work, it'll work directly from boot. Every few boots it won't fire up, so I have to resort to using a NetGear dongle. Looking forward to getting sound, Bluetooth, etc.

I've just tried kernel 4.1.6 and got frequent freezes.

schmidtbag
September 4th, 2015, 05:28 PM
http://www.phoronix.com/scan.php?page=news_item&px=Linux-4.3-Sound-Pull

Seriously... RT5645 support coming up but no RT5648? Is this some sort of joke?

kreoouzis
September 5th, 2015, 01:52 PM
Maybe the driver for RT5645 also work on chip RT5648?

Sangyong_Gwak
September 6th, 2015, 12:09 PM
Can you share patched kernel and kernel config files?

Kosmodrey
September 13th, 2015, 02:39 PM
Hey, someone has created a petition Fix The Lack of 64-bit Firmware on Early Intel Atom Bay Trail Tablets (https://www.change.org/p/tablet-makers-fix-the-lack-of-64-bit-firmware-on-early-bay-trail-tablets?recruiter=382467188&utm_source=share_petition&utm_medium=copylink).

Let's make it happen!

ekyo
September 13th, 2015, 07:43 PM
The touchpad patch will be in linux-next soon
https://lkml.org/lkml/2015/8/24/647


Sound driver, well...
http://comments.gmane.org/gmane.linux.alsa.devel/143281
it seems that the firmware fw_sst_0f28_ssp0.bin is the right one, maybe just some audio routes missing...

Hi Michele,

I just compiled 4.3 rc1 with your touchpad patch included, and it doesn't work for me : pointer is stuck on middle of the screen, i can't move it.
Palatis's "dirty" patch was working for me on 4.2.
Could others x205ta owners test this patch and confirm/unconfirm this behaviour ?
Michele, can i do something to help troubleshouting this issue ? Thanks.

michele17
September 14th, 2015, 08:20 AM
Hi ekyo,
the touchpad stopped working after commit 58f1eae48e53.

Sent another patch to fix the problem but maybe the patch 58f1eae48e53 will be reverted instead.
http://www.spinics.net/lists/linux-input/msg40942.html

kreoouzis
September 14th, 2015, 09:09 PM
Any news about freezings and sound?

ekyo
September 15th, 2015, 03:38 PM
Thank you for the info Michele.

Anyway, 4.2 and 4.3 makes my laptop completly unusable because of the frequent freezes.
Anyone has a touchpad patch for 4.1.6 (the most stable at the moment) ?
Thank you, i wish i had your C programming skills but compiling is the only thing i can do, and yet it has to succeed without error ... :)

hipunk
September 18th, 2015, 03:57 AM
So recently I had Linux installed on this machine and I am extremely certain that the constant crashes are coming from the graphics driver.
In one week of using Linux (Mint Xfce 64 Bit 17.2 with Kernel 4.1.6 without any of the patches) I literally had 0 crashes when disabling hardware acceleration in Firefox and using no 3D programs. The Xfce wm is a wm that renders on the CPU, so no GPU usage here.

When enabling hardware acceleration or playing Miami Hotline via Steam, I ran into crashes that sometimes locked up the computer so hard that not even the mouse cursor was movable. Yet, sometimes the laptop locked up, but the mouse cursor remained movable and it was still possible to press alt tab and see the app switcher pop up being laid onto all other windows. Still: it wasn't possible to change the application, I had to reboot the hard way with the power button as nothing else worked, even tty1 (or what is that called you get when pressing ctrl F1?) wasn't working properly anymore.

Can somebody confirm this behaviour?

Also the mSD card reader hack didn't work for me. Question: Did you apply the one liner patch with the mSD being inserted at the moment of patching or not? I had mine not inserted when applying the patch. Maybe that was the source of the bug.

Another thing: Sometimes when I rebooted, I had no network connection and had to reboot multiple times to get it back up again.

Also I would like to use this moment to thank all of you people for your efforts trying to get Linux running well on this machine (including the people that made the nice arch/debian wiki pages).

Btw: I am currently having problems with the UEFIs secure boot and Windows after the latest Windows 8.1 optional updates (september 2015, 12 optional updates). I installed them, shut down, booted again some time later and all of the sudden I have to DISABLE secure boot to boot up Windows as it refuses to boot with it being enabled.

QIII
September 18th, 2015, 04:12 AM
Wow, what an incredibly awful registration procedure on these forums. Well, whatever.

That's not the registration process for the Forums, but for Ubuntu One. We don't have anything to do with that. Canonical IS controls that and they decided you need an Ubuntu One account to use the Forums. We can't control that -- they own the server.

Anyway ... Glad you got here!

schmidtbag
September 18th, 2015, 03:46 PM
@hello6
I'm not sure if the GPU drivers are the problem, at least they're not the only issue. I originally tried Ubuntu on this a couple months ago and crashes were frequent. I switched to debian and it's been crash-free for a while now, and the GPU drivers are being used. However, it could actually be a hardware problem. To elaborate:
A couple years ago, I got a laptop with an Ivy Bridge i5 in it. I replaced Windows with Arch Linux and it overall performed fine. However, I noticed that if the GPU was under too much stress, the whole system would reboot. CPU stress didn't seem to cause any problems at all. It had a much higher probability of rebooting if I was running off the battery. I don't recall Windows itself ever having this problem, so I figured power distribution and GPU reclocking had something to do with it. Anyway, I tried lowering the max GPU frequency and ran some GPU stress tests, and the rebooting stopped.

I guess my point is for some mobile devices, it seems the linux intel drivers aren't good at managing the GPU frequency. As of right now, I'm not experiencing freezing issues, but for those of you who are I'd highly recommend you try lowering the GPU max frequency and try some GPU stress tests to see if that helps. I'd try lowering it in increments of 100MHz. If the freezing stops, then you can try adding increments of 20MHz until the freezing happens again.
This might be a good place to start:
https://www.reddit.com/r/linux/comments/2s57b8/intel_frequency_manipulate_intel_gpu_frequency/


Also, for anyone wondering - using wicd over networkmanager doesn't seem to have an impact on the freezing. If anything, wicd makes things worse because for some reason it doesn't always detect the network adapter.

dom1986
September 20th, 2015, 01:34 AM
Hi,

I tried this machine out today in a electrical retailer (Currys in England), using Ubuntu 15.04 64bit with 32bit EFI on a Live USB stick. Booting the USB stick was pretty easy; I entered the BIOS via F2, disabled Secure boot, saved and exit from the BIOS, and upon exit from BIOS and restart, Ubuntu booted. It ran pretty well, but as already discovered and discussed on this thread, the sound didn't work, neither did the Wi-Fi, I forgot to check for Bluetooth, but as there was no Bluetooth indicator on the right-hand side of the panel (per attached Pics), I assume Bluetooth wasn’t working neither, the Touchpad didn’t recognize two-finger scroll, but the WebCam did work. The machine didn’t experience any freezes, or crashes in the 20 minutes I spent testing the machine out with Ubuntu.

http://i.imgur.com/AUr2NRlm.jpg (http://i.imgur.com/AUr2NRl.jpg)http://i.imgur.com/A38mUMum.jpg (http://i.imgur.com/A38mUMu.jpg)http://i.imgur.com/jhuVnzim.jpg (http://i.imgur.com/jhuVnzi.jpg)http://i.imgur.com/182enchm.jpg (http://i.imgur.com/182ench.jpg)
http://i.imgur.com/EXi98L4m.jpg (http://i.imgur.com/EXi98L4.jpg)

It's a nice machine, a very ideal Travel device, but it's a shame still, that some things still aren’t working with Linux. I also tested the HP Stream 11 and 13 a few weeks ago, and everything worked on those machines running Ubuntu 15.04.

http://i.imgur.com/w3SuNovm.jpg (http://i.imgur.com/w3SuNov.jpg)http://i.imgur.com/oYgJY4um.jpg (http://i.imgur.com/oYgJY4u.jpg)

dom1986
September 20th, 2015, 01:41 AM
Does Bluetooth work ? And if so, as there is currently no sound support, can Sound be redirected through Bluetooth to a Bluetooth speaker or Headphones/set ?

hiruko
September 22nd, 2015, 06:12 PM
Wow, what an incredibly awful registration procedure on these forums. Well, whatever.

So recently I had Linux installed on this machine and I am extremely certain that the constant crashes are coming from the graphics driver.
In one week of using Linux (Mint Xfce 64 Bit 17.2 with Kernel 4.1.6 without any of the patches) I literally had 0 crashes when disabling hardware acceleration in Firefox and using no 3D programs. The Xfce wm is a wm that renders on the CPU, so no GPU usage here.

When enabling hardware acceleration or playing Miami Hotline via Steam, I ran into crashes that sometimes locked up the computer so hard that not even the mouse cursor was movable. Yet, sometimes the laptop locked up, but the mouse cursor remained movable and it was still possible to press alt tab and see the app switcher pop up being laid onto all other windows. Still: it wasn't possible to change the application, I had to reboot the hard way with the power button as nothing else worked, even tty1 (or what is that called you get when pressing ctrl F1?) wasn't working properly anymore.

Can somebody confirm this behaviour?

Also the mSD card reader hack didn't work for me. Question: Did you apply the one liner patch with the mSD being inserted at the moment of patching or not? I had mine not inserted when applying the patch. Maybe that was the source of the bug.

Another thing: Sometimes when I rebooted, I had no network connection and had to reboot multiple times to get it back up again.

Also I would like to use this moment to thank all of you people for your efforts trying to get Linux running well on this machine (including the people that made the nice arch/debian wiki pages).

Btw: I am currently having problems with the UEFIs secure boot and Windows after the latest Windows 8.1 optional updates (september 2015, 12 optional updates). I installed them, shut down, booted again some time later and all of the sudden I have to DISABLE secure boot to boot up Windows as it refuses to boot with it being enabled.
Not quite sure of what to think about this, I am seeing a UEFI infection here on my machine, but nothing is confirmed yet. I also don't know if it's ever going to be confirmed. Resetting UEFI values does not help; Windows remains activated. It doesn't belong here (wrong OS, I get it, pls don't elaborate your opinion on Windows in a reply to this), but it somewhat still belongs here as it seems to only affect our laptops.

Same problem with wifi , after several reboot i have network. Any solution ??.

In Debian:
Conflict between sdhci-acpi and brcmfmacDue to some conflit between sdhci-acpi and brcmfmac (https://bugzilla.kernel.org/show_bug.cgi?id=88061), a parameters has to be changed for the sdhci-acpi driver. There are several ways to do this, but a quick fix is to add this line in /etc/sysfs.conf (make sure you have the package sysfsutils installed), this way the option is passed before the brcmfmac driver is loaded


Anyone know what are the other ways to solve the Conflict between sdhci-acpi and brcmfmac ?
Thanks in advance

zetarancio
September 22nd, 2015, 10:18 PM
Does Bluetooth work ? And if so, as there is currently no sound support, can Sound be redirected through Bluetooth to a Bluetooth speaker or Headphones/set ?

Nope, I can confirm it doesn't work. Not even with 4.3rc2, that, in addition broke the touchpad support as suggested above.

zetarancio
September 22nd, 2015, 10:20 PM
Same problem with wifi , after several reboot i have network. Any solution ??.

In Debian:
Conflict between sdhci-acpi and brcmfmac

Due to some conflit between sdhci-acpi and brcmfmac (https://bugzilla.kernel.org/show_bug.cgi?id=88061), a parameters has to be changed for the sdhci-acpi driver. There are several ways to do this, but a quick fix is to add this line in /etc/sysfs.conf (make sure you have the package sysfsutils installed), this way the option is passed before the brcmfmac driver is loaded


Anyone know what are the other ways to solve the Conflict between sdhci-acpi and brcmfmac ?
Thanks in advance

I suggest to update to kernel 4.1;)

hiruko
September 22nd, 2015, 10:23 PM
I suggest to update to kernel 4.1;)
Hi, i have kernel 4.1.6 ,no freezes , but same problem whit wifi

zetarancio
September 22nd, 2015, 10:28 PM
Hi, i have kernel 4.1.6 ,no freezes , but same problem whit wifi
Did you applied the fix here?
https://wiki.debian.org/InstallingDebianOn/Asus/X205TA
I am not having that issue on kernel 4.1.0, I am trying the 4.1.6 right now.

EDIT: Seems to work for me :confused:

richard103
September 24th, 2015, 06:00 AM
Hi, I've tried to fix the wifi problems by updating to kernel 4.1.xxx (latest stable) and installed the brcm drivers as per the debian webpage on the X205TA. It still does not work. Am I doing something wrong?

zetarancio
September 24th, 2015, 01:11 PM
Ok, which ubuntu version are you trying, I am on 15.04 and kernel 4.1.6, but the nvram files I am using was taken from the ubuntu stock kernel (I believe it was 3.19.0-15). I don't think it's relevant btw;)

KernelAshmead
September 24th, 2015, 02:42 PM
I got on-board wifi working with 14,04 and kernel 4.1.5 by following, in desperation, the 'Wifi' instructions section found here... https://wiki.debian.org/InstallingDebianOn/Asus/X205TA (https://wiki.debian.org/InstallingDebianOn/Asus/X205TA).
However, the wifi is intermittent (see my previous post p.19).

richard103
September 24th, 2015, 09:40 PM
I'm on 14.10 at the moment, because that was the only distro I could get to install grub properly. I'll update to 15.04 and try the new kernel and let you know how it goes.

EDIT: Updated to 15.04 and kernel 4.1.6 with the same problems. I've tried to detect the network card and it does not even show up.

At least the system no longer crashes or freezes. :D

EDIT2: The wifi card works now. I edited rc.local again and it solved my problem. Now all that's left is the sound, suspend and two finger scrolling.

tasty2
September 28th, 2015, 11:27 AM
I noticed that system crashes are not related to wifi as many think. They are related to cpu load, whenever cpu load gets high for a longer period the system freezes. I was having constant freezes while watching video streams from the internet. I am also having freezes when wifi or any connection is off but cpu is compiling some stuff.

schmidtbag
September 28th, 2015, 05:27 PM
I noticed that system crashes are not related to wifi as many think. They are related to cpu load, whenever cpu load gets high for a longer period the system freezes. I was having constant freezes while watching video streams from the internet. I am also having freezes when wifi or any connection is off but cpu is compiling some stuff.
As I've stated in an earlier post, I don't think CPU usage has anything to do with it, but GPU usage might. It isn't necessarily the GPU itself, but generally speaking, if GPU usage is high, so is CPU. When both are high, there is a lot of power being drawn, and I think the electronic power management can't handle it.

Try lowering the GPU frequency a by a couple hundred Hz and see if that helps.

richard103
September 28th, 2015, 09:40 PM
How should I lower GPU frequency? I have installed a CPU monitoring app and have noticed that when the system freezes (I can only move a cursor), CPU usage goes up to 100%. I don't know if this has anything to do with the issues everyone has been experiencing.
Also, what is the most stable kernel for the X205TA and is there any new news for sound support?

Thanks.

zetarancio
September 29th, 2015, 09:14 AM
How should I lower GPU frequency? I have installed a CPU monitoring app and have noticed that when the system freezes (I can only move a cursor), CPU usage goes up to 100%. I don't know if this has anything to do with the issues everyone has been experiencing.
Also, what is the most stable kernel for the X205TA and is there any new news for sound support?

Thanks.
4.1.6 seems stable to me. No changes in 4.3rc3 with mouse support still broken:popcorn:

richard103
September 29th, 2015, 10:48 AM
4.1.6 seems stable to me. No changes in 4.3rc3 with mouse support still broken:popcorn:

Yeah, I'm using 4.1.6 right now, but occasional freezes when the CPU usage goes up. I've read that you can also enable multitouch support for trackpad with a patch for 4.1.6, but I can't seem to find it in the thread, nor do I know how to apply it. :(

harryharryharry
September 29th, 2015, 11:29 AM
I noticed that system crashes are not related to wifi as many think. They are related to cpu load, whenever cpu load gets high for a longer period the system freezes. I was having constant freezes while watching video streams from the internet. I am also having freezes when wifi or any connection is off but cpu is compiling some stuff.

Since I can compile a kernel no problem, I don't think high cpu load is the causing factor for system crashes. I do notice kde crashes more often than xfce, so (gpu as mentioned before) might be a factor. Shouldn't be too hard to determine this with a stress test.

schmidtbag
September 29th, 2015, 04:42 PM
How should I lower GPU frequency? I have installed a CPU monitoring app and have noticed that when the system freezes (I can only move a cursor), CPU usage goes up to 100%. I don't know if this has anything to do with the issues everyone has been experiencing.
Also, what is the most stable kernel for the X205TA and is there any new news for sound support?

Thanks.

I'm not sure if there's ever a point when a computer freezes where the CPU isn't under 100% load. Anyway, I don't remember how to do it off the top of my head but this link should help:
http://blog.ffwll.ch/2013/03/overclocking-your-intel-gpu-on-linux.html
You want to lower specifically the max frequency. The others don't really matter.

I'm not 100% sure this will work, but based on my experience with intel laptops, the max GPU frequency has known to cause stability issues. If you find something that works, sticking an echo command in your /etc/rc.local would be a good way to ensure you're always at the right max frequency every time you boot up.

zetarancio
September 29th, 2015, 05:04 PM
Without frequency settings I had never experienced a crash. I am using all the kernel powersave settings I am aware of and I suspect they might help in preventing crashes since most of them are intel related.
I'll post them just in case.


acpi=force rcutree.rcu_idle_gp_delay=1 libahci.ignore_sss=1 splash quiet acpi_enforce_resources=lax i915.i915_enable_rc6=1 i915.lvds_downclock=1 i915.semaphores=1 i915.i915_enable_fbc=1 drm.vblankoffdelay=1 pcie_aspm=force

mvelinder
September 29th, 2015, 05:37 PM
I just got a shiny new ASUS X205TA (this generation, if it matters: http://www.amazon.com/gp/product/B00NY29UIO?psc=1&redirect=true&ref_=od_aui_detailpages00 )

It sounds like I'm coming in fairly late to the party, so thanks for all the head work everyone has done to get this awesome little machine playing nicely with Linux!

I've been reading for days now about getting Ubuntu installed on it - but getting overwhelmed (I'm still quite the Linux newbie) by the amount of info, status of current hardware issues, etc.

Is there a summary or newbie friendly guide to getting Ubuntu (or Debian or otherwise even) onto a fresh X205TA? It'd be great to have a guide for everything from downloading the Ubuntu release (which one is preferable at this point? 64-bit? 32-bit?), how to make the bootable USB (with how to make the bootia32.efi file trick), on through getting on board wifi working and the latest fixes for the trackpad (multi touch scrolling, etc).

Could someone point me to a "You just got a new X205TA and want to put Linux on it" guide that is relatively straightforward to a Linux newbie?

Thanks so much! This little machine will be EXACTLY what I was hoping for if I can get a stable and (mostly) functional distro on it.

schmidtbag
September 29th, 2015, 05:58 PM
Could someone point me to a "You just got a new X205TA and want to put Linux on it" guide that is relatively straightforward to a Linux newbie?
Unfortunately, this is a terrible product for a newbie to work with. Many of us here have had several years worth of experience with Linux of varying distributions and even we are having trouble getting this thing to be usable on a daily basis. This is easily the worst experience I've had with linux, and I've installed linux on dozens of different devices, many of which weren't based on x86.

Intel is partially to blame for this being so difficult, but Microsoft and Asus are the main culprits here - Microsoft for demanding Secure Boot and having poor 64 bit EFI support, and Asus for doing the bare minimum to get Windows to work. I've encountered another Asus laptop that is so locked-down that you can't even boot from a flash drive.

If you really want to give this a go, in my experience, Debian Stretch seems to be the most well-behaved on this platform. It hasn't been freezing for me, and wifi seems to behave as long as you use networkmanager (I got issues with wicd). I personally used XFCE for the desktop environment; I'm not sure if others may cause problems. I haven't bothered with multi-touch. Bluetooth and audio still don't work.


Linux (Ubuntu in particular) is normally much faster and easier to install than Windows. For the vast majority of computers out there you should have no problems at all. But unless you're open to an un-rewarding challenge, personally, I'd recommend you return this and get something else, and probably avoid Asus in general. The product has a lot of potential to be good but Asus allowed Microsoft to cripple this product.

mvelinder
September 29th, 2015, 06:20 PM
Thanks for the reply schmidtbag. I was able to get netinst Debian 8 installed last night. But without wifi I wasn't able to get an actual desktop environment installed (at least I think that's what was happening - I was able to install to completion and boot into Debian, but just ended up with a login prompt).

So right now I'm debating getting a wifi or ethernet USB dongle and trying Debian again - hopefully allowing it to fetch those GUI and other updates during install. Is Debian 8 stable on this machine with wifi working? Otherwise, I may just send it back and get an HP Stream 11. They're uglier imo, but from what I've read Ubuntu pretty much "just works" on them. Can you or anyone else confirm that would be a good plan?

Somewhat unrelated, in returning this to Amazon, should I be worried that I wiped the drive and have (half of) a Debian install on it? That didn't void any silly warranty or anything did it?

Thanks for the help and thoughts!

Edit: Or would the Acer Aspire E 11 ES1-111M-C40S or Aspire One be a good choice? Essentially I'm looking for a 11.6" machine that I can throw a stable linux distro on for learning Python and do basic web browsing, etc on.

schmidtbag
September 29th, 2015, 06:49 PM
I've personally had problems with debian 8, but that was also a while ago. I'd suggest you try debian 9 (stretch) 32 bit, which so far has been the most problem-free. Besides, if there's ever a kernel update to get sound to work, debian 8 might not ever get it. As discussed earlier in this topic, there's a theory that 64 bit might be causing stability issues. It isn't proven yet, but ever since I switched to 32 bit the computer stopped freezing.

Having a USB wifi or ethernet dongle would make life a little easier, but if you copy over the wifi files to a flash drive you can get away with not needing an external network device. Somewhere buried in this forum topic should have what you need for wifi - it should be somewhere within the first few pages.


HP is relatively linux-friendly, so I'm sure the Stream 13 would be problem-free (though if it uses Secure Boot, be sure to turn that off). As for returning your Asus - did you happen to write down the product key for Windows? You can always try re-installing Windows but without the product key that could be a challenge. You could always contact Asus and ask them for it, and maybe they can supply you with an ISO too. Generally speaking, Amazon is pretty great when it comes to returning things. They'll take back just about anything for any reason.

mvelinder
September 29th, 2015, 06:58 PM
Thanks again schmidt. I started a return for X205TA via Amazon. I assume they'll take it back as is. It actually missed the promised delivery date - so I went ahead and claimed that for the reason to return. :P

I ordered this Acer Aspire One as a replacement: http://www.amazon.com/gp/product/B0149QDD1S?psc=1&redirect=true&ref_=oh_aui_detailpage_o00_s00

Hopefully that fits the bill.

richard103
September 29th, 2015, 11:15 PM
So far kernel 4.1.6 hasn't crashed for me. It's definitely performing better than 4.2. Now we just need to figure out what changed that made such a difference...

In the meantime, for your convenience, here's a re-diff of palatis' patch relative to kernel 4.1.6, so you can have *both* touchpad features and fewer freezes: 263988.

Note, after booting the the patched kernel I had to "rmmod elan_i2c; modprobe elan_i2c" before the touchpad worked, but then it worked perfectly.

This is the patch I am trying to use. How do I apply this patch? I'm running kernel 4.1.6.

Thanks.

richard103
September 30th, 2015, 06:42 AM
I'm not sure if there's ever a point when a computer freezes where the CPU isn't under 100% load. Anyway, I don't remember how to do it off the top of my head but this link should help:
http://blog.ffwll.ch/2013/03/overclocking-your-intel-gpu-on-linux.html
You want to lower specifically the max frequency. The others don't really matter.

I'm not 100% sure this will work, but based on my experience with intel laptops, the max GPU frequency has known to cause stability issues. If you find something that works, sticking an echo command in your /etc/rc.local would be a good way to ensure you're always at the right max frequency every time you boot up.

I've experimented with many frequencies but the kernel still crashes. For some reason, the 3.16 kernel is completely stable but 4.1.5 and 4.1.6 always crash when I install packages.

marijnfs
September 30th, 2015, 08:39 AM
After messing up my last installation by using the experimental btrfs, I went to a 32 bit Debian stretch installation. It's running for several days without crashes! I'm using Cinnamon with the standard wifi system (no wicd). Man I hope someone figures out the sound!

Linux debian 4.1.0-2-686-pae #1 SMP Debian 4.1.6-1 (2015-08-23) i686 GNU/Linux

richard103
September 30th, 2015, 08:43 AM
After messing up my last installation by using the experimental btrfs, I went to a 32 bit Debian stretch installation. It's running for several days without crashes! I'm using Cinnamon with the standard wifi system (no wicd). Man I hope someone figures out the sound!

Linux debian 4.1.0-2-686-pae #1 SMP Debian 4.1.6-1 (2015-08-23) i686 GNU/Linux

Interesting, I've heard that debian seems more stable on this device.

schmidtbag
September 30th, 2015, 02:24 PM
Interesting, I've heard that debian seems more stable on this device.

Not just debian, but specifically debian 32 bit.

sunny_sigara
October 3rd, 2015, 06:59 AM
Hi,

I need help regarding dual booting with windows 8. I know lots of people here managed to do that successfully. So I am asking here, instead opening a new tread.

I was following instruction from http://askubuntu.com/questions/560741/ which does not tell much about manual partitioning.
I created two partitions from windows: one for / and one for swap. But the question is what should I do with efi partition? Should I leave it as it is?
Where should I install the bootloader? /dev/sda(default) ?

My efi partition is already there as windows came pre-installed. Some say I should not touch it as my usb is also booting in uefi mode. Wiki says "change the mount point to /boot/efi". Although I don't know how to do that because the existing efi partition does not have mount point setting option.


I am struggling to find a answer regarding manual partitioning. Can anyone help?

Thanks.

mvelinder
October 3rd, 2015, 06:08 PM
Unfortunately, this is a terrible product for a newbie to work with. ... For the vast majority of computers out there you should have no problems at all. But unless you're open to an un-rewarding challenge, personally, I'd recommend you return this and get something else, and probably avoid Asus in general. The product has a lot of potential to be good but Asus allowed Microsoft to cripple this product.

Just a quick follow up for anyone potentially seeking out this information. In my quest to set up a minimalist Ubuntu netbook style machine, I returned the X205TA and snagged an Acer Aspire One Cloudbook 11 AO1-131-C9PM. It's a fun little dual core Celeron, 2GB DDR3, 32GB eMMC. It has worked pretty much out of the box with Ubuntu 14.04 LTS. Snappy fast Ubuntu only system. Touchpad was not recognized, but following this bios workaround, it works perfectly fine now. https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/1487748/comments/2 All the other tweaks, a Linux-newbie can figure out with some Googling and mild degree of competency.

I'd recommend the Acer Aspire One Cloudbook to anyone looking to build the same sort of machine. Thanks for the help everyone! Good luck with the X205TA! ;)

sunny_sigara
October 5th, 2015, 08:05 PM
This thread has been extremely helpful in tweaking my Ubuntu installation to my Asus EEE X205, especially with respect to getting the internal wifi working. I see, though, that some recent posters are still having some struggles loading Ubuntu to this machine. With hesitation I am offering my write-up of how to set up Ubuntu 14.10 on the X205 in a dual-boot configuration (to go exclusively with Ubuntu, just select the appropriate option during installation). If this is helpful to anyone, credit is due to many, many others, both on this forum and elsewhere on the 'net!

I was following your instruction. Can you please answer to the post I made earlier in this thread (http://ubuntuforums.org/showthread.php?t=2254322&p=13366815#post13366815) ? Regarding manual partitioning? Thanks.

l-johan
October 6th, 2015, 12:33 PM
I'm at a loss here... I can't the computer to find the USB... I only get the Windows Bootmanager in the BIOS

harryharryharry
October 6th, 2015, 02:37 PM
You need to:

(obligatory warning: Make sure you have the right disk/partition of the usbdevice or you might fubar your host system):

with Gparted:
create a gpt partition table on the usbdisk,
create a fat32 partition

with Gdisk:
set the partition's type code to 'EFI System' (the type code for EFI system is 'ef00').

with 7z or mounting the iso as a loop-device:
copy/extract the iso-contents onto the fat32 partition,

Finally place the file bootia32.efi (you should be able to find a copy somewhere in this thread) in the directory <mountpoint-usbdevice>/efi/boot/ (This directory should already exist, if not the iso is not efi-compatible).
(!) You could also try this step first on your existing usb-drive since if this file is not there, the usb drive will not show up as a bootable device (I think).

(maybe not all of the steps above are necessary, but this is how I get a bootable usbdisk).

l-johan
October 6th, 2015, 07:01 PM
Ahh... I'll test that!

Thanks!

jbMacAZ
October 6th, 2015, 09:34 PM
Wow, what an incredibly awful registration procedure on these forums. Well, whatever.

So recently I had Linux installed on this machine and I am extremely certain that the constant crashes are coming from the graphics driver.
In one week of using Linux (Mint Xfce 64 Bit 17.2 with Kernel 4.1.6 without any of the patches) I literally had 0 crashes when disabling hardware acceleration in Firefox and using no 3D programs. The Xfce wm is a wm that renders on the CPU, so no GPU usage here.

When enabling hardware acceleration or playing Miami Hotline via Steam, I ran into crashes that sometimes locked up the computer so hard that not even the mouse cursor was movable. Yet, sometimes the laptop locked up, but the mouse cursor remained movable and it was still possible to press alt tab and see the app switcher pop up being laid onto all other windows. Still: it wasn't possible to change the application, I had to reboot the hard way with the power button as nothing else worked, even tty1 (or what is that called you get when pressing ctrl F1?) wasn't working properly anymore.

Can somebody confirm this behaviour?

I have an ASUS T100CHI (distantly related model) with Mint 17.2x64 Cinnamon. Using any of several T100-4.x kernels (from Google+ T100/Ubuntu group), I see the same behavior. Regular Cinnamon desktop freezes often, software rendering Cinnamon rarely freezes. 4.2 kernel is a little worse than the others for freezing but does other things better. I've tried GPU under-clocking (~50% of max frequency) and had success reducing how often the freezes occur.

The graphics driver was being updated starting in 4.2, but it still isn't quite right yet. 4.3-RC4 still freezes.

(I also had a registration nightmare - I had to switch browsers to finish it and get into this forum.)

cogito.ergo.lulz
October 13th, 2015, 10:24 AM
Hello, I lurked for many pages and finally decided to register, and I'm bringing great news!
I am currently using the X205TA with Debian 32 bit. Just installed the kernel 4.3RC5 and it solved many of the issues experienced until now:
- wifi: working (but I am not sure if it is due to previous patches or not, if you tell me how can I verify this I can try)
- touch: working (two finger scrolling too)
- battery stats: working

What is not working:
- audio
- suspend/sleep

About the freezes:
I haven't experienced any freeze until now, but it's too early to be sure about this

EDIT:
Small update: WiFi is working but I'm almost sure it's because of the firmware and nvram installation.
Freezes are still present

KernelAshmead
October 13th, 2015, 07:31 PM
I have installed Mint 17.2 64-bit 'Raf' with kernel 4.3RC5 and so far no freezes, BUT, on-board wifi does not work at all now. ](*,)

zetarancio
October 16th, 2015, 03:37 PM
Yeah, I'm using 4.1.6 right now, gbut occasional freezes when the CPU usage goes up. I've read that enable multitouch support for trackpad with a patch for 4.1.6, but I can't seem to find it in the thread, nor do I know how to apply it. :(


Just download the linux source package from kernel.org. I used a diff patch of palatis that was posted a while ago.
Extract the archive.
Copy the patch in it, open a terminal and use "patch -p1 --ignore-whitespace -i PATCHFILE"
And then compile it as usual, there are lots of guide on how to compile.

I am currently using a patched 4.1.6 and it works.

zetarancio
October 16th, 2015, 03:37 PM
I have installed Mint 17.2 64-bit 'Raf' with kernel 4.3RC5 and so far no freezes, BUT, on-board wifi does not work at all now. ](*,)


Did you try to rmmod brcmfmac and then modprobe it?

KernelAshmead
October 16th, 2015, 06:32 PM
Ah, no I haven't done that. Thanks for the tip Alessandro. I'll try it out.

zetarancio
October 16th, 2015, 07:01 PM
Ah, no I haven't done that. Thanks for the tip Alessandro. I'll try it out.I could not get it to work at boot so I ended up blacklisting the module and then loading back again with a "modprobe" in /etc/rc.local ;)

richard103
October 17th, 2015, 03:37 AM
Can anyone help me solve a problem? When I finished installing Debian 32 bit, I get an error during boot which says /etc/mtab is not a symlink or not pointing to /proc/self/mounts. I don't think I can access terminal or anything. Any suggestions to solve this? I'm using Debian Stretch Alpha 3.

zetarancio
October 17th, 2015, 02:46 PM
Can anyone help me solve a problem? When I finished installing Debian 32 bit, I get an error during boot which says /etc/mtab is not a symlink or not pointing to /proc/self/mounts. I don't think I can access terminal or anything. Any suggestions to solve this? I'm using Debian Stretch Alpha 3.Are you trying to dual boot with windows?

richard103
October 17th, 2015, 08:35 PM
No, this is a clean install after I wiped the disk. I've solved the problem though, by manually creating a symlink from a repair usb.

richard103
October 18th, 2015, 09:20 PM
Hi guys, I seem to have a new problem now. When I install any large packages such as a kernel, the system just freezes and hangs. I've tried lowering the GPU frequency by about half, which seems to be the cause of the problem but this does not work. How can I resolve this?.

Using debian 32 bit stretch.

cogito.ergo.lulz
October 19th, 2015, 12:25 AM
A workaround is to log in to a text only session and install the packages from there

Pieni_Sieni
October 19th, 2015, 03:54 AM
Using debian 32 bit stretch.

Which Kernel are you using?

These X205TA Linux install (http://www.elftronix.com/asus-eeebook-x205ta-debian-linux-install-notes/) instructions for Debian 32bit might be of interest.

richard103
October 19th, 2015, 07:54 AM
Which Kernel are you using?

These X205TA Linux install (http://www.elftronix.com/asus-eeebook-x205ta-debian-linux-install-notes/) instructions for Debian 32bit might be of interest.
I'm using 4.0.something-pae. The problem is I can't upgrade anything because the system always freezes. That includes the kernel. I will try text only install and will report how it goes.

Pieni_Sieni
October 19th, 2015, 03:12 PM
I'm using 4.0.something-pae. The problem is I can't upgrade anything because the system always freezes. That includes the kernel. I will try text only install and will report how it goes.

Stretch Alpha 3 came with Kernel 4.1.6-1 out of the box (as far as I can remember), which is working fine for me.