I successfully managed to install 14.04.3 on my Sony Vaio S Series SVS1513C5E laptop and after few minor tweaks I adore the setup!
My concern here is:
The device has Optimus graphics that uses a hardware switch (Windows 7-8) to change between Intel and Nvidia card. On Ubuntu, I have Nvidia Prime with quick switch indicator all set up to change it via software, but I'm wondering if there is a slight possibility to add the commands:
sudo prime-select nvidia and
sudo prime-select intel
as executable script when changing between SPEED and STAMINA mode via that hardware switch?
There is a file in
sony-laptop folder named
gfx_switch_status that reacts on the switch and changes the "one word" in the file from
speed and that's it.
So the hardware switch is being recognized, the file content is edited accordingly, how can I control what happens when it changes?
Thanks for any help on that ;)
acpi_listen shows following hardware changes when moving the switch:
sony/hotkey SNY5001:00 00000003 00000000
sony/hotkey SNY5001:00 00000003 00000001