Skip to main content

Sony Vaio E Series Touchpad Right Click doesn't work in Ubuntu 12.04 LTS / Elementary OS

The past six months I had barely touched my own laptop. Thanks to the awesome server I was working on and the work laptop that T J Watson was so kind to provide me. My personal laptop seemed to slow and unresponsive compared to them.

Well after all I had a server with 16 Xeon Processor (so yeah each with 10 core) and a little more than 26 GB RAM to go with it. The laptop was nothing to compare with that, but it was a decent T430 with a awesome keyboard and decent processor+ram. But since I was approaching the end of my internship and the end of this vanity trip I thought better to go back to my own game and polish up my Vaio(SVE15118FNB) a little bit before I go back to it.

So I *again* followed my standard sanitation procedure and cleaned+formatted+duel booted the whole machine. And for a change thought I'll give Elementary OS a try.

The whole installation process was silky smooth and went without a hitch. The first time I booted the laptop, it had problem with the graphics though. But it vanished quickly when I installed the AMD Proprietary drivers(yeah I have a graphics card). But then I faced a new/weird issue.

I generally never had issue with touchpad drivers and even this time I didn't notice anything at first, but then realized......the right click doesn't work. No it just simply doesn't register as a right click but registers as a left click. No matter what you do what settings you change this doesn't solve. Even getting the synaptiks package manager won't do you any good. The mouse works perfectly well though.

So after days of head banging I finally came up with the solution and I am packaging it with this
This is only for kernel 3.2.0-24-generic-pae so I can't promise if it will run in any other system or not.

  1. Download the patch form here
  2. sudo apt-get install dkms build-essential
  3. cd Downloads (I'm assuming you kept the downloaded file here)
  4. tar jxvf psmouse-3.2.0-24-generic-pae.tar.bz2
  5. sudo mv psmouse-3.2.0-24-generic-pae /usr/build
  6. cd /usr/build
  7. sudo chmod -R a+rx psmouse-3.2.0-24-generic-pae
  8. sudo dkms add -m psmouse -v 3.2.0-24-generic-pae
  9. sudo dkms build -m psmouse -v 3.2.0-24-generic-pae
  10. sudo dkms install -m psmouse -v 3.2.0-24-generic-pae
  11. sudo modprobe -r psmouse
  12. sudo modprobe psmouse
  13. sudo dkms status
If everything goes alright then the output should be something like this

fglrx-updates, 13.350.1, 3.2.0-51-generic, x86_64: installed
fglrx-updates, 13.350.1, 3.2.0-70-generic, x86_64: installed
psmouse, 3.2.0-24-generic-pae, 3.2.0-70-generic, x86_64: installed (original_module exists)

(it will obviously be a little different for you)

Now you should be able to use your hardware right click buttons. Restart is not required.



Comments

Popular posts from this blog

HackRice 7.5: How "uFilter" was born

I have a thing for Hackathon. I am a procrastinator. A lazy and procrastinator graduate student, not a nice combination to have. But still when I see hundreds of sharp minds in a room scrabbling over idea, hungry to build and prototype their idea. Bring it to life, it finally pushes me to activity, makes me productive.  That is why I love Hackathon, that is why I love HackRice, our resident Hackathon of Rice University.

TL;DR: if you just want to try the extension, chrome version is here and Firefox version is here.
I have been participating at HackRice since 2014, when I think for the first time it was open for non-rice students, and have been participating ever since. What a roller coaster ride it has been, but that is a story for another day. HackRice 7.5 being the last one I will be able to attend at Rice, it was somewhat special and emotional for me.
HackRice 7.5 was a tad different form the other iterations. For starters it was the first time it was being held in Spring semester…

Story of a Drupal theme mis-configuration, Hacking and Ministry of Defense India

If you have been following news or were online for past couple of hours you might have noticed this news making a tweet-storm and appearing all over your timeline regarding how India's Ministry of Defense website got hacked (allegedly by 'Chinese' origin).
Almost all the big media outlets covered it. Including
* Youtube : TimesNow * Times Now * Hindustan Times * NDTV
* Business Standard * Times of India An example of the coverage

Fueled by our own famous ministers chiming in with their own ideas

Action is initiated after the hacking of MoD website ( https://t.co/7aEc779N2b ). The website shall be restored shortly. Needless to say, every possible step required to prevent any such eventuality in the future will be taken. @DefenceMinIndia@PIB_India@PIBHindi — Nirmala Sitharaman (@nsitharaman) April 6, 2018
It all seemed for the fact that the homepage of the websites showed this image with a Chinese character
And though most of india's government portals and websites aren'…

Bringing the Focus back : Firefox Focus (Builds) for Android

Firefox Focus – A Free, Fast Private Browser for....android! On 17th November 2016 Mozilla announced Firefox Focus. A free fast and easy to use private browser for iOS. Firefox Focus was filled with goodies. From inbuilt tracker blocking, content blockers to making privacy the first class citizen. It was all of that. Wrapped in a nice package, but only for Apple Ecosystem. The argument for having focus was to make privacy dead simple and default experience for most people out there. An excellent read is this article "Privacy made simple with Firefox Focus".
And while this was all fine, a lot of us were severely disappointed that we don't have an android version. That all changes now.
Mozilla has released a port of the Firefox Focus source code and I decided to build a port from it. And this is how it looks in my One Plus One.
If you notice it looks almost similar to its iOS counterpart. Focus blocks tracking cookies by default in its system. But there are small design c…