Asus Transformer T100TA Wifi Drivers [SOLVED]

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
Titan91
Level 1
Level 1
Posts: 45
Joined: Mon May 23, 2016 8:30 am

Asus Transformer T100TA Wifi Drivers [SOLVED]

Post by Titan91 » Wed Jul 27, 2016 10:13 pm

I am new to Linux and very green to compiling device drivers and installing kernel modules. I've heard some people have had success getting Wifi drivers installed on their T100TA tablets in Linux. I'm currently running Mint 18 on Linux kernel 4.4.0 and after cloning some repositories and trying a few different things my understanding so far is this:

1. This tablet uses a Broadcom 43241b4 SDIO chipset.
2. I need to find or compile some brcmfmac drivers.
3. In addition to these drivers I need to download or rip firmware in .bin format and NVRAM in .txt format.

I have installed https://github.com/hadess/rtl8723bs which, as far as I can tell, has been confirmed to work with a similar tablet using a similar chipset, the Chuwi Vi8. These drivers installed successfully on my Transformer T100TA but to no surprise, Mint still didn't find the Wifi controller.

I have also tried the well-known wireless-testing repo but building failed, I literally just cloned it and ran make which stopped at an error. I am not a software developer and literally know nothing about what I need to do with wireless-testing if I can build anything at all from it. Is there currently an easier more straightforward way to get objects/source code for this chipset and the firmware/NVRAM required to make it work? Or am I barking up the wrong tree and should I wait a few months for a more user friendly solution?
Last edited by Titan91 on Sat Jul 30, 2016 12:08 pm, edited 1 time in total.

JeremyB
Level 20
Level 20
Posts: 10877
Joined: Fri Feb 21, 2014 8:17 am

Re: Asus Transformer T100TA Wifi Drivers

Post by JeremyB » Thu Jul 28, 2016 5:25 am

You likely have the correct driver and part of the firmware. Post results for

Code: Select all

dmesg | grep brcm; ls /sys/firmware/efi/efivars/ | grep nvram

Titan91
Level 1
Level 1
Posts: 45
Joined: Mon May 23, 2016 8:30 am

Re: Asus Transformer T100TA Wifi Drivers

Post by Titan91 » Thu Jul 28, 2016 7:36 am

Code: Select all

[    8.962573] brcmf_sdio_drivestrengthinit: No SDIO Drive strength init done for chip 43340 rev 2 pmurev 20
[    8.965159] usbcore: registered new interface driver brcmfmac
[    8.995046] brcmfmac_sdio mmc1:0001:1: Direct firmware load for brcm/brcmfmac43340-sdio.txt failed with error -2
[   13.992931] brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[   15.000264] brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

User avatar
bbaker6212
Level 5
Level 5
Posts: 522
Joined: Wed Aug 12, 2015 6:35 pm

Re: Asus Transformer T100TA Wifi Drivers

Post by bbaker6212 » Thu Jul 28, 2016 1:50 pm

you missed..

Code: Select all

ls /sys/firmware/efi/efivars/ | grep nvram
Linux Mint Mate 19.1 k/4.15, Windows 10, Manjaro 18.03 Xfce k/4.19.24-1 MX-Linux 18.1 Lenovo Ideapad G50-45 8GB
Lenovo Ideapad 330S-15IKB, Core i5-8250U, 8GB RAM, Samsung EVO 850 SATA SSD, 14GB Optane M.2 PCIe NVMe, QCA9377 WiFi

User avatar
bbaker6212
Level 5
Level 5
Posts: 522
Joined: Wed Aug 12, 2015 6:35 pm

Re: Asus Transformer T100TA Wifi Drivers

Post by bbaker6212 » Thu Jul 28, 2016 2:38 pm

It's complaining about this brcmfmac43340-sdio.txt file.
Last edited by bbaker6212 on Thu Jul 28, 2016 2:47 pm, edited 1 time in total.
Linux Mint Mate 19.1 k/4.15, Windows 10, Manjaro 18.03 Xfce k/4.19.24-1 MX-Linux 18.1 Lenovo Ideapad G50-45 8GB
Lenovo Ideapad 330S-15IKB, Core i5-8250U, 8GB RAM, Samsung EVO 850 SATA SSD, 14GB Optane M.2 PCIe NVMe, QCA9377 WiFi

User avatar
bbaker6212
Level 5
Level 5
Posts: 522
Joined: Wed Aug 12, 2015 6:35 pm

Re: Asus Transformer T100TA Wifi Drivers

Post by bbaker6212 » Thu Jul 28, 2016 2:46 pm

This problem seems to be in the 4.4 kernel may have been fixed in Kernel 4.4.4 but to test, I would just instll the latest Kernel 4.7. You can always uninstall it later if needed.

Install Kernel 4.7 see this page if needed: http://ubuntuhandbook.org/index.php/201 ... ntu-16-04/
Open a terminal window and perform these commands:

Code: Select all

cd ~
mkdir kernel-4.7
cd kernel-4.7
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-headers-4.7.0-040700_4.7.0-040700.201607241632_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-headers-4.7.0-040700-generic_4.7.0-040700.201607241632_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-image-4.7.0-040700-generic_4.7.0-040700.201607241632_amd64.deb
sudo dpkg -i *.deb
Reboot

Uninstall Kernel 4.7:
For any reason you want to remove this Kernel, start/restart your machine and select boot with the previous kernel in Grub2 -> Advanced menu. Then remove the 4.7 kernel via Ubuntu Tweak, or just follow this tutorial: http://ubuntuhandbook.org/index.php/201 ... ntu-16-04/

If it still does not work after the above, followup with @JeremyB after posting the output of:

Code: Select all

ls /sys/firmware/efi/efivars/ | grep nvram
Linux Mint Mate 19.1 k/4.15, Windows 10, Manjaro 18.03 Xfce k/4.19.24-1 MX-Linux 18.1 Lenovo Ideapad G50-45 8GB
Lenovo Ideapad 330S-15IKB, Core i5-8250U, 8GB RAM, Samsung EVO 850 SATA SSD, 14GB Optane M.2 PCIe NVMe, QCA9377 WiFi

JeremyB
Level 20
Level 20
Posts: 10877
Joined: Fri Feb 21, 2014 8:17 am

Re: Asus Transformer T100TA Wifi Drivers

Post by JeremyB » Fri Jul 29, 2016 6:04 am

I found a copy of the file needed at github

Code: Select all

cd /lib/firmware/brcm

Code: Select all

sudo wget https://github.com/Asus-T100/firmware/raw/master/brcm/brcmfmac43340-sdio.txt
Reboot

If it is an issue with the 4.4 kernel, I can patch the module and compile it for the 4.4 kernel

Titan91
Level 1
Level 1
Posts: 45
Joined: Mon May 23, 2016 8:30 am

Re: Asus Transformer T100TA Wifi Drivers

Post by Titan91 » Fri Jul 29, 2016 8:01 pm

bbaker6212 wrote:This problem seems to be in the 4.4 kernel may have been fixed in Kernel 4.4.4 but to test, I would just instll the latest Kernel 4.7. You can always uninstall it later if needed.

Install Kernel 4.7 see this page if needed: http://ubuntuhandbook.org/index.php/201 ... ntu-16-04/
Open a terminal window and perform these commands:

Code: Select all

cd ~
mkdir kernel-4.7
cd kernel-4.7
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-headers-4.7.0-040700_4.7.0-040700.201607241632_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-headers-4.7.0-040700-generic_4.7.0-040700.201607241632_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-image-4.7.0-040700-generic_4.7.0-040700.201607241632_amd64.deb
sudo dpkg -i *.deb
Reboot

Uninstall Kernel 4.7:
For any reason you want to remove this Kernel, start/restart your machine and select boot with the previous kernel in Grub2 -> Advanced menu. Then remove the 4.7 kernel via Ubuntu Tweak, or just follow this tutorial: http://ubuntuhandbook.org/index.php/201 ... ntu-16-04/

If it still does not work after the above, followup with @JeremyB after posting the output of:

Code: Select all

ls /sys/firmware/efi/efivars/ | grep nvram
This is what I got when updating the kernel. I couple of errors, but it did finish.

Code: Select all

Selecting previously unselected package linux-headers-4.7.0-040700.
(Reading database ... 221698 files and directories currently installed.)
Preparing to unpack linux-headers-4.7.0-040700_4.7.0-040700.201607241632_all.deb ...
Unpacking linux-headers-4.7.0-040700 (4.7.0-040700.201607241632) ...
Selecting previously unselected package linux-headers-4.7.0-040700-generic.
Preparing to unpack linux-headers-4.7.0-040700-generic_4.7.0-040700.201607241632_amd64.deb ...
Unpacking linux-headers-4.7.0-040700-generic (4.7.0-040700.201607241632) ...
Selecting previously unselected package linux-image-4.7.0-040700-generic.
Preparing to unpack linux-image-4.7.0-040700-generic_4.7.0-040700.201607241632_amd64.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.7.0-040700-generic /boot/vmlinuz-4.7.0-040700-generic
Done.
Unpacking linux-image-4.7.0-040700-generic (4.7.0-040700.201607241632) ...
Setting up linux-headers-4.7.0-040700 (4.7.0-040700.201607241632) ...
Setting up linux-headers-4.7.0-040700-generic (4.7.0-040700.201607241632) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.7.0-040700-generic /boot/vmlinuz-4.7.0-040700-generic
Error! Bad return status for module build on kernel: 4.7.0-040700-generic (x86_64)
Consult /var/lib/dkms/ndiswrapper/1.59/build/make.log for more information.
Setting up linux-image-4.7.0-040700-generic (4.7.0-040700.201607241632) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.7.0-040700-generic /boot/vmlinuz-4.7.0-040700-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.7.0-040700-generic /boot/vmlinuz-4.7.0-040700-generic
Error! Bad return status for module build on kernel: 4.7.0-040700-generic (x86_64)
Consult /var/lib/dkms/ndiswrapper/1.59/build/make.log for more information.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.7.0-040700-generic /boot/vmlinuz-4.7.0-040700-generic
update-initramfs: Generating /boot/initrd.img-4.7.0-040700-generic
W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/skl_guc_ver6.bin for module i915
Warning: No support for locale: en_US.utf8
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.7.0-040700-generic /boot/vmlinuz-4.7.0-040700-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.7.0-040700-generic /boot/vmlinuz-4.7.0-040700-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.7.0-040700-generic /boot/vmlinuz-4.7.0-040700-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.7.0-040700-generic
Found initrd image: /boot/initrd.img-4.7.0-040700-generic
Found linux image: /boot/vmlinuz-4.4.0-21-generic
Found initrd image: /boot/initrd.img-4.4.0-21-generic
Adding boot menu entry for EFI firmware configuration
done
Let me reboot and see if it's working now.

Titan91
Level 1
Level 1
Posts: 45
Joined: Mon May 23, 2016 8:30 am

Re: Asus Transformer T100TA Wifi Drivers

Post by Titan91 » Fri Jul 29, 2016 8:16 pm

JeremyB wrote:I found a copy of the file needed at github

Code: Select all

cd /lib/firmware/brcm

Code: Select all

sudo wget https://github.com/Asus-T100/firmware/raw/master/brcm/brcmfmac43340-sdio.txt
Reboot

If it is an issue with the 4.4 kernel, I can patch the module and compile it for the 4.4 kernel
This worked! :D Thank you, you guys have been very helpful. So I just needed the firmware file and a reboot. If you still need to see the NVRAM information:

Code: Select all

ls /sys/firmware/efi/efivars/ | grep nvram
nvram-74b00bd9-805a-4d61-b51f-43268123d113
So it appears the NVRAM image came in the repository I downloaded these drivers from, I was just missing the firmware. How did you find that repository? I'm surprised I didn't come across it. Now I have to find an audio driver and download the firmware listed for that. Fantastic!

JeremyB
Level 20
Level 20
Posts: 10877
Joined: Fri Feb 21, 2014 8:17 am

Re: Asus Transformer T100TA Wifi Drivers

Post by JeremyB » Sat Jul 30, 2016 5:50 am

I did a search for the file that the module was looking for, it may not have worked if it wasn't the same model computer as these files can be board specific at times. Normally we copy the nvram file and rename it using this command

Code: Select all

sudo cp /sys/firmware/efi/efivars/nvram-74b00bd9-805a-4d61-b51f-43268123d113  /lib/firmware/brcm/brcmfmac43241b4-sdio.txt
Please edit the subject in your original post to add [SOLVED]

Post Reply

Return to “Hardware Support”