User Tools

Site Tools


asus_f301a

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

asus_f301a [2017/11/27 16:35] (current)
don created
Line 1: Line 1:
 +====== Asus F301A (similar to X301A) ======
 +===== Author(s) =====
 +Victor : Ubuntu 12.04.2 (x64), Ubuntu 13.04 (x64), Ubuntu 13.10 (x64), Ubuntu 14.04 (x64), Ubuntu 16.04 (x64)
  
 +Ubuntu 16.04 works perfectly with this laptop! Everything works without having to tweak the kernel.
 +
 +===== Editing This Page =====
 +If you would like to edit this page please first view our [[Editing Guidelines]]
 +===== Specifications =====
 +| Name|F301A-RX073V|
 +| Processor|Intel® Pentium® Dual-Core B970 2.3 GHz|
 +| Screen|13.3"​ 16:9 1366 x 768 LED |
 +| RAM|DDR3 1600 MHz SDRAM, 4096 Mo |
 +| HDD|500 Go 5400 rpm|
 +| Optical Drive|No optical drive|
 +| Graphics|Intel® HD2000 Graphics|
 +| Network|Wifi 802.11 b/g/n, 10/100/1000 Base T|
 +|Connectors|1 x jack audio combo, 1 x USB 3.0, 1 x USB 2.0, 1 x jack RJ45 LAN, 1 x HDMI |
 +
 +===== Linux Compatibility =====
 +
 +The version mentionned are Ubuntu distributions
 +
 +^Device^12.04^13.04^13.10^14.04^16.04^Comments^
 +| Processor|Yes|Yes|Yes|Yes|Yes| |
 +| Screen|Yes|Yes|Yes|Yes|Yes| |
 +| HDD|Yes|Yes|Yes|Yes|Yes| |
 +| Graphics|Yes|Yes|Yes|Yes|Yes|Use hardware GPU acceleration with Chromium for video (see below)|
 +| Sound|Yes|Yes|Yes|Yes|Yes |
 +| Combo jack micro|Yes|Yes|Yes|Yes|Yes|Jack works out of the box, micro not tested|
 +| VGA/​HDMI|Yes|Yes|Yes|Yes|Yes| |
 +| Ethernet|Yes|Yes|Yes|Yes|Yes| |
 +| Wireless|Yes (fix)|Yes (fix)|Yes|Yes|Yes|Fix = Crash on resume: problem solved with a script (below)|
 +| USB |Yes|Yes|Yes|Yes|Yes|USB 3.0 works out of the box|
 +| Card Reader|Yes (fix)|Yes|Yes|Yes|Yes|12.04 : Installation needed (instructions below)|
 +| Camera|Yes|Yes|Yes|Yes|Not tested| |
 +| FN Keys|Yes (fix)|Yes|Yes|Yes|Yes|12.04:​ Brightness doesn'​t work, see below 13.10: Sleep FN key doesn'​t work. 14.04: Wifi FN key doesn'​t work|
 +| Clickpad|Yes|Yes|Yes|Yes|Yes|If drag is impossible see below|
 +| Suspend|Yes|Yes|Yes|Yes (fix)|Yes|In 13.10 laptop might not be able to sleep sometimes (rare); still unsolved, reboot solves the problem. In 14.04: read below|
 +
 +===== Notes for Ubuntu 16.04 =====
 +
 +To get the VPU/GPU acceleration in Chromium for video hardware decoding go to chrome://​flags/#​ignore-gpu-blacklist and enable it. Restart Chromium and check at chrome://​gpu that hardware acceleration is enabled:
 +
 +''​Video Decode: Hardware accelerated''​
 +
 +To get hardware acceleration with VLC install:
 +
 +''​sudo apt install -y i965-va-driver vainfo''​
 +
 +Then launch VLC in verbose mode with VAAPI:
 +
 +''​vlc --avcodec-hw=vaapi -v''​
 +
 +Try to open/read a H264 file and look at the output. If everything works then edit the desktop launcher for VLC:
 +
 +''​sudo sed -i '​s/​Exec=\/​usr\/​bin\/​vlc/​Exec=\/​usr\/​bin\/​vlc --avcodec-hw=vaapi/​g'​ /​usr/​share/​applications/​vlc.desktop''​
 +
 +This will make sure that VLC is launched with VAAPI.
 +
 +===== Notes for Ubuntu 14.04 =====
 +You might end with a black screen when recovering from sleep.
 +Use FN + F5/F6 to get the display back.
 +It might not work all the time and require a hard reboot.
 +
 +Read below to learn how to play flash videos smoothly (13.10 section)
 +
 +===== Notes for Ubuntu 13.10 =====
 +
 +Flash is not working smoothly especially in fullscreen.
 +
 +If you want a smooth youtube experience you will have to deal with drawbacks :
 +No subtitles
 +No annotations
 +
 +Use [[https://​addons.mozilla.org/​en-US/​firefox/​addon/​greasemonkey/​|GreaseMonkey]] extension on FireFox and [[https://​userscripts.org/​scripts/​show/​87011|ViewTube]] userscript. Prefer VLC player !
 +
 +
 +===== Notes for Ubuntu 12.04 =====
 +
 +Before trying these fixes, please update your kernel to the lastest stable version; it might solve some problems!
 +
 +**How to install the SD Card Reader :**
 +When you do lspci the SD Card Reader is listed as :
 +//​Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5289 (rev 01)//
 +
 +To install the card reader follow these steps :
 +
 +  wget http://​planet76.com/​drivers/​realtek/​rts-bpp-dkms_1.1_all.deb
 +  sudo apt-get install -y dkms
 +  sudo dpkg -i rts-bpp-dkms_1.1_all.deb
 +  echo '​DRIVERS=="​rts_bpp",​ ENV{ID_DRIVE_FLASH_SD}="​1"'​ | sudo tee -a /​lib/​udev/​rules.d/​81-udisks-realtek.rules
 +
 +Reboot and the card reader will work properly.
 +
 +**How to fix wifi connection on resume :**
 +If your laptop cannot connect to a wifi after resuming, you can reboot or use this script wich solves the problem perfectly :
 +
 +First of all we need to now what is your wifi driver : use ''​nm-tool''​ in a terminal :
 +Example of result :
 +''​- Device: wlan0  [Internet Wifi-network] ---------------------------------
 +  Type:              802.11 WiFi
 +**  Driver: ​           rt2800pci**''​
 +
 +In this example the driver is **rt2800pci**
 +
 +
 +Enter the following command into a terminal : ''​sudo ls /​etc/​pm/​sleep.d/''​
 +Example of result :
 +''​00-jupiter-restore ​ 10_grub-common ​ 10_unattended-upgrades-hibernate ​ novatel_3g_suspend''​
 +
 +You get a result like this, if you have a "​00"​ script, rename it "​01",​ use this command in the case showed :
 +''​sudo mv /​etc/​pm/​sleep.d/​00-jupiter-restore /​etc/​pm/​sleep.d/​01-jupiter-restore''​
 +
 +Then create a script :
 +''​sudo gedit /​etc/​pm/​sleep.d/​00-wireless_sleep''​
 +
 +  //#!/bin/sh
 +  ​
 +  case "​$1"​ in
 +    suspend|hibernate)
 +    /sbin/rmmod rt2800pci
 +      ;;
 +    resume|thaw)
 +     sudo /sbin/rmmod rt2800pci
 +     sudo /​sbin/​modprobe rt2800pci
 +      ;;
 +  esac
 +  exit 0//
 +
 +Don't forget to change **rt2800pci** with your wifi driver (see first step).
 +Save the file and make it executable :
 +''​sudo chmod 755 /​etc/​pm/​sleep.d/​00_wireless_sleep''​
 +
 +This script will automaticaly switch wifi off/on on suspend/​resume !
 +
 +**How to have brightness control :**
 +
 +sudo gedit /​etc/​default/​grub
 +Replace the line with :
 +  GRUB_CMDLINE_LINUX_DEFAULT="​quiet splash acpi_osi=Linux acpi_backlight=vendor splash"​
 +don't forget to run //sudo update-grub//​ after closing the saved file. Reboot the laptop.
 +
 +//sudo apt-get install -y xbacklight compiz compizconfig-settings-manager//​
 +Open Compiz and go into commands, add 4 commands :
 +//​xbacklight -dec 10
 +xbacklight -inc 10
 +xbacklight =0
 +xbacklight =100//
 +
 +In the second section :
 +//<​Super>​F5
 +<​Super>​F6
 +Alt<​Super>​F5
 +Alt<​Super>​F6//​
 +
 +Super(Windows)+F5 increase brightness
 +Super(Windows)+F6 decrease brightness
 +Alt+Super(Windows)+F5 set lowest brightness
 +Alt+Super(Windows)+F6 set highest brightness
 +
 +**Improved Clickpad**
 +If you can't drag, try this :
 +
 +sudo gedit /​usr/​share/​X11/​xorg.conf.d/​50-synaptics.conf ​
 +
 +    Section "​InputClass"​
 +            Identifier "​ETPS/​2 Elantech Touchpad"​
 +            MatchProduct "​ETPS/​2 Elantech Touchpad"​
 +            MatchDevicePath "/​dev/​input/​event*"​
 +            Driver "​synaptics"​
 +            Option "​TapButton1"​ "​1"​
 +            Option "​TapButton2"​ "​3"​
 +            Option "​TapButton3"​ "​2"​
 +            Option "​VertTwoFingerScroll"​ "​1"​
 +            Option "​HorizTwoFingerScroll"​ "​1"​
 +            Option "​CoastingSpeed"​ "​10"​
 +            Option "​EdgeMotionMinZ"​ "​30"​
 +            Option "​EdgeMotionMaxZ"​ "​40"​
 +            Option "​EdgeMotionMinSpeed"​ "​100"​
 +            Option "​EdgeMotionMaxSpeed"​ "​400"​
 +            Option "​FingerLow"​ "​9"​
 +            Option "​FingerHigh"​ "​12"​
 +            Option "​EmulateMidButtonTime"​ "​0"​
 +            Option "​ClickPad"​ "​True"​
 +            Option "​SoftButtonAreas"​ "50% 0 82% 0 0 0 0 0"
 +    EndSection
 +
 +Reboot the laptop to make the changes effect. You can still use 2 finger tap to right click. Bottom buttons work fine with this configuration
 +
 +**Save power**
 +Install jupiter :
 +sudo apt-add-repository -y ppa:​webupd8team/​jupiter && sudo apt-get update && sudo apt-get install -y jupiter laptop-mode-tools
 +Reboot and launch jupiter, choose power mode.
 +
 +**Very precise brightness control**
 +First, install xbacklight (//sudo apt-get install -y xbacklight//​)
 +Create a scirpt "​backlight_ctrl"​ using //sudo gedit /​usr/​bin/​backlight_ctrl//​. Paste the following script :
 +
 +  #!/bin/bash
 +  ​
 +  error="​Usage:​ $0 up | $0 down"
 +  xbl=`xbacklight`
 +  limit=10.0
 +  limit2=1.5
 +  ​
 +  if [ "​$#"​ -eq 1 ]
 +  then
 +           if [ $1 = "​up"​ ]
 +                   then
 +                   echo "​xBacklight up"
 +                   
 +                      if [ $(echo "$xbl < $limit"​|bc) -eq 1 ]
 +                      then
 +                      xbacklight +1
 +                      else
 +                      xbacklight +5
 +                      fi
 +                   
 +           elif [ $1 = "​down"​ ]
 +                   then
 +                   echo "​xBacklight down"
 +  ​
 +                   if [ $(echo "$xbl < $limit"​|bc) -eq 1 ]
 +                   then
 +                   
 +                      if [ $(echo "$xbl < $limit2"​|bc) -eq 1 ]
 +                      then
 +                      echo "​xBacklight minimum !"
 +                      xbacklight =1
 +                      else
 +                      xbacklight -1
 +                      fi
 +  ​
 +                   ​else  ​
 +                   ​xbacklight -5
 +                   fi
 +           
 +           ​else ​       ​
 +           echo $error
 +           fi
 +  else
 +  echo $error
 +  fi
 +
 +Try //​backlight_ctrl up//, //​backlight_ctrl down//, you have now avery precise control of the backlight (especially in very low luminosities). Change the shortcuts from the section "How to have brightness control"​ (xbacklight -dec 10 & xbacklight -inc 10)
asus_f301a.txt · Last modified: 2017/11/27 16:35 by don