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.



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…

FirefoxOS, A keyboard and prediction: Story of my first contribution

Returning to my cubical holding a hot cup of coffee and with a head loaded with frustration and panic over a system codebase that I managed to break with no sufficient time to fix it before the next morning. 

This was at IBM, New York where I was interning and working on the TJ Watson project. I returned back to my desk, turned on my dual monitors, started reading some blogs and engaging on Mozilla IRC (a new found and pretty short lived hobby). Just a few days before that, FirefoxOS was launched in India in the form of an Intex phone with a $35 price tag. It was making waves all around, because of its hefty price and poor performance . The OS struggle was showing up in the super low cost hardware. I was personally furious about some of the shortcomings, primarily the keyboard which at that time didn’t support prediction in any language other than English and also did not learn new words. Coincidentally, I came upon Dietrich Ayala in the FirefoxOS IRC channel, who at that time was a P…

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'…