hardware:sony_vaio_s13p
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
hardware:sony_vaio_s13p [2012/09/25 22:22] – created admin | hardware:sony_vaio_s13p [2017/10/12 21:58] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Sony Vaio S13P ====== | ====== Sony Vaio S13P ====== | ||
+ | *UPDATE: (Apr 2015) I recently put Linux Mint 17 on this and it works perfectly and has fixed a lot of problems such as the mouse works great now.* | ||
+ | |||
+ | Here are my notes on what I have working. | ||
+ | |||
+ | Yet to get working is | ||
+ | * Work out why WIFI is so flaky. Doesn' | ||
+ | * Get Nvidia card working for certain applications using something like: http:// | ||
+ | * Turbo CPU mode for longer that a split second. | ||
+ | * Control fan levels even more. | ||
+ | * Get finger reader working | ||
+ | |||
+ | ===== Crashing/ | ||
+ | |||
+ | When I installed a copy of Linux Mint 13 on this computer it crashed a lot sometimes three times a night. | ||
+ | |||
+ | I found the problem was the that the Nvidia card was actually on even though I had switched the switch to ' | ||
+ | |||
+ | To fix both of these problem I turned the Nvidia card off. This requires you to upgrade the kernel and use the bbswitch. | ||
+ | |||
+ | I started looking at Fan controls for the Sony Vaio S13P but the closest I found didn't work: [[http:// | ||
+ | |||
+ | |||
+ | ==== Upgrade to the latest kernel ==== | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | Upgraded from 3.2 to 3.4.0-030400-generic 64bit. | ||
+ | |||
+ | This combined with the bbswitch has stopped the freezing problem. | ||
+ | |||
+ | |||
+ | |||
+ | ==== bbswitch ==== | ||
+ | |||
+ | The bbswitch is used to disable the Hybrid Graphics card. | ||
+ | |||
+ | [[https:// | ||
+ | [[https:// | ||
+ | |||
+ | Compile the bbswitch | ||
+ | < | ||
+ | git clone https:// | ||
+ | cd bbswitch | ||
+ | make -j4 | ||
+ | sudo make load | ||
+ | sudo / | ||
+ | sudo make load | ||
+ | </ | ||
+ | |||
+ | Get status | ||
+ | cat / | ||
+ | |||
+ | Manually switch off | ||
+ | sudo tee / | ||
+ | |||
+ | Check status, first the proc, then the last line of dmesg. | ||
+ | cat / | ||
+ | dmesg | tail -1 | ||
+ | |||
+ | Dmesg output should look like: | ||
+ | < | ||
+ | : [ 1727.770947] bbswitch: version 0.4.2 | ||
+ | : [ 1727.770953] bbswitch: Found integrated VGA device 0000: | ||
+ | : [ 1727.770960] bbswitch: Found discrete VGA device 0000: | ||
+ | : [ 1727.771008] bbswitch: detected an Optimus _DSM function | ||
+ | : [ 1727.771014] bbswitch: Succesfully loaded. Discrete card 0000: | ||
+ | : [ 1766.857393] bbswitch: Unloaded. Discrete card 0000: | ||
+ | : [ 1766.858123] bbswitch: version 0.4.2 | ||
+ | : [ 1766.858130] bbswitch: Found integrated VGA device 0000: | ||
+ | : [ 1766.858136] bbswitch: Found discrete VGA device 0000: | ||
+ | : [ 1766.858194] bbswitch: detected an Optimus _DSM function | ||
+ | : [ 1766.858199] bbswitch: Succesfully loaded. Discrete card 0000: | ||
+ | : [ 1801.720954] bbswitch: disabling discrete graphics | ||
+ | : [ 1801.721091] bbswitch: Result of Optimus _DSM call: 01000059 | ||
+ | : [ 1801.736774] pci 0000: | ||
+ | </ | ||
+ | |||
+ | Install as dkms so that it builds on new kernels | ||
+ | sudo dkms remove bbswitch/ | ||
+ | sudo make -f Makefile.dkms | ||
+ | |||
+ | Add the following to / | ||
+ | bbswitch load_state=0 | ||
+ | |||
+ | Blacklist the open source nvidia drivers from starting | ||
+ | |||
+ | Add the following to / | ||
+ | blacklist vga16fb | ||
+ | blacklist nouveau | ||
+ | blacklist rivafb | ||
+ | blacklist nvidiafb | ||
+ | blacklist rivatv | ||
+ | |||
+ | Update the boot process. | ||
+ | sudo update-initramfs -u | ||
+ | |||
+ | Now reboot and make sure your card is off | ||
+ | |||
+ | |||
+ | ==== Optimus Nvidia setup ==== | ||
+ | |||
+ | |||
+ | 1. Install bumblebee and nvidia tools | ||
+ | : sudo apt-get install bumblebee primus bumblebee-nvidia nvidia-detect nvidia-driver | ||
+ | |||
+ | 2. Add the following to the kernel boot parameters | ||
+ | : rcutree.rcu_idle_gp_delay=1 | ||
+ | | ||
+ | Make it persistent after reboot | ||
+ | edit / | ||
+ | | ||
+ | : GRUB_CMDLINE_LINUX_DEFAULT=" | ||
+ | |||
+ | | ||
+ | : sudo grub-mkconfig -o / | ||
+ | |||
+ | 3. Install glxspheres (use instead of glxgears) - For tests | ||
+ | 1. Download VirtualGL (.deb) from: | ||
+ | : wget http:// | ||
+ | 2. Navigate to the folder containing the deb package and install it with: | ||
+ | : sudo dpkg -i VirtualGL_*.deb | ||
+ | 3. Run glxspheres: | ||
+ | : / | ||
+ | 4. Link | ||
+ | : sudo ln -s / | ||
+ | |||
+ | 4. Results | ||
+ | | Desc | command | ||
+ | | ||
+ | | original | ||
+ | | optirun | ||
+ | | primusrun | vblank_mode=0 primusrun glxspheres | 190 | | ||
===== Touchpad ===== | ===== Touchpad ===== | ||
Line 54: | Line 186: | ||
Now you should have a left, middle & right button at the bottom of your touchpad and you should be able to drag and drop. | Now you should have a left, middle & right button at the bottom of your touchpad and you should be able to drag and drop. | ||
+ | |||
+ |
hardware/sony_vaio_s13p.1348575763.txt.gz · Last modified: 2017/10/12 21:58 (external edit)