Ubuntu Volume Wheel Problem [ Fix ]

I have a toshiba u305-s5077 laptop.It had a problem with volume wheel like when i tried to use volume wheel it makes the volume iteratively maximize or minimize(And it has no end).While it is happening i cant write anything or i cant click something.That’s why i had to restart X screen with CTRL+ALT+BACKSPACE.

I search the internet and i found a solution for it.
At first if it won’t work if you don’t want to kill X screen at least you can use this;
Change your status to text mode via using CTRL+ALT+ {F1-F2-F3-F4-F5-F6}.Then turn back X Screen with ALT+F7.

Lets make it works:
Firstly lets create a backup if it wont work or if something goes wrong we can handle it.

  1.  

Download my edited version of xf86-input-evdev {meanwhile Im using Ubuntu 9.04}
http://www.tsenyurt.com/down/xf86-input-evdev-2.1.1_fixed.tar.gz

If your ubuntu version is different then the 9.04 ( jaunty ) you have to download your version of xf86-input-endev packet from Ubuntu Package Repository.Then extract the tar.gz file and jump into the src directory and open endev.c file with your editor then search

  1. /* filter repeat events for chording keys *//* XXX windows keys? */

After this code block add that code under it;

  1. /* fix events for volume keys *///MODIFY THIS LINE
  2.     {
  3.     //post a keydown and then a keyup, as media keys have no automatic key-up

if you downloaded changed version or downloaded it and changed by yourself, lets compile then.

  1.  

After that we gonna create our “Makefile”.This tells the computer how to compile.

  1.  

then if didnt get any error write

  1.  

and then lets install it with writing ;

  1.  

After at all we should copy the correct location.This will cause to restart your X season that’s why i strongly advise you to save all of your work.After the restart volume keys should work.

  1.  

If it wont restart then try CTRL+ALT+Backspace for restart.
It is done.If it wont worked for you just copy the backup file .If we want to get back our backup just write to console;

  1.  

It will restore your original driver. After that, restart the computer with the following commands;

  1.  

It worked for me i hope it will work for you too…

Tags: , , , , , , , , , ,

Sunday, March 29th, 2009 C & C++, Linux, OS, Programming, Tips, Uncategorized

2 Comments to Ubuntu Volume Wheel Problem [ Fix ]

  • AL says:

    Dude thanks for saving me from a headache!!!!

  • ~ says:

    u rock dude