LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-15-2006, 08:59 PM   #1
nakko
Member
 
Registered: Oct 2004
Location: Austin, TX
Distribution: Ubuntu Dapper Drake
Posts: 39

Rep: Reputation: 15
apt-get upgrade ruined my mousewheel


I have had things running just dandy on my MS IntelliMouse Explorer for a million years, until I recently ran an apt-get upgrade. In fact, everything was fine after that until I rebooted...

Now, my mouse wheel and its extra buttons aren't functional anymore. The <b>zinger!</b> is that all my previous config is still intact. My xorg.conf still has the same lines for the mouse that it used to, imwheel is still supposed to be running at X startup, but I can't seem to find it with a `# ps aux | grep imwheel`.

Not sure what messed with my mouse!
 
Old 02-15-2006, 09:34 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by nakko
I have had things running just dandy on my MS IntelliMouse Explorer for a million years, until I recently ran an apt-get upgrade. In fact, everything was fine after that until I rebooted...

Now, my mouse wheel and its extra buttons aren't functional anymore. The <b>zinger!</b> is that all my previous config is still intact. My xorg.conf still has the same lines for the mouse that it used to, imwheel is still supposed to be running at X startup, but I can't seem to find it with a `# ps aux | grep imwheel`.

Not sure what messed with my mouse!
Perhaps the package got updated and installed the default config file without you noticing if so then the imwheel will not be getting loaded as it defaults to off.

Edit: I have a post here on getting my MS Optical Trackball working you may want to check you have all the files necessary if the package changed to a newer format as well.

Last edited by HappyTux; 02-15-2006 at 09:35 PM.
 
Old 02-15-2006, 09:40 PM   #3
nakko
Member
 
Registered: Oct 2004
Location: Austin, TX
Distribution: Ubuntu Dapper Drake
Posts: 39

Original Poster
Rep: Reputation: 15
Nope, I checked that imwheel is running when I start X; the config files are all still there, all still intact just the way I left them.

I have a clue, I suppose: part of the scheme was the order of the buttons on the mouse had to be remapped, which was accomplished with the fairly well-known command:
xmodmap -e "pointer = 1 2 3 6 7 4 5"

However, when this command is run, xmodmap takes a nose-dive! This is what I am given instead of a working mouse:
$ xmodmap -e "pointer = 1 2 3 6 7 4 5"
xmodmap: commandline:1: bad number of buttons, must have 11 instead of 7
xmodmap: 1 error encountered, aborting.

This always worked before, I have no idea why xmodmap thinks I have four extra buttons on my mouse all of a sudden. As I stated in my earlier post: all my other config files are the same. xorg.conf explicitly states I have seven buttons, -not- eleven. Anybody fluent in xmodmap-ese?


==EDIT!==

Apparently it must have been an upgraded xmodmap that's at least partially to blame. I have come to discover that my imwheel arguments:
imwheel -k -p -b "6 7"
No longer likes having spaces in it, so I believe I need to use:
imwheel -k -p -b "67" instead. I am not really sure, but with the space, imwheel gives me an error, and without it, everything seems to run smoothly.

The big change however, must be xmodmap: I am thinking it "detects" more buttons to be more compatible with all these newfangled mice covered in zillions of clicks, axes, and doodads...
For me, this used to Just Work:
xmodmap -e "pointer = 1 2 3 6 7 4 5"
But as HappyTux pointed me to, and as many other Debian users have been coming to learn recently (some of us quite recent! ...as we don't have to reboot or restart X very often!), I discovered to get the same functionality, all other things staying the same, I now have to do:
xmodmap -e "pointer = 1 2 3 8 9 4 5 6 7 10 11"
I have no solid idea why, but hopefully this will point someone in the right direction. I was baffled, because I still don't have eleven friggin' buttons, but oh well...

Last edited by nakko; 02-15-2006 at 09:55 PM.
 
Old 02-15-2006, 10:22 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by nakko
I discovered to get the same functionality, all other things staying the same, I now have to do:
xmodmap -e "pointer = 1 2 3 8 9 4 5 6 7 10 11"
I have no solid idea why, but hopefully this will point someone in the right direction. I was baffled, because I still don't have eleven friggin' buttons, but oh well...
Nor do I have 13 buttons with an X config saying 9 .... Oh well that is the way it goes sometimes good to hear you got it going BTW.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get question: dist-upgrade vs upgrade Arodef Fedora 9 06-15-2012 01:33 PM
apt-get upgrade does not upgrade my kernel halfpower Debian 5 12-11-2005 09:53 AM
apt-get upgrade lodder Debian 5 11-24-2005 09:06 PM
How to apt-get upgrade? lewkh Debian 3 11-10-2004 10:16 AM
What's the difference between apt-get upgrade and apt-get dist-upgrade? davidas Linux - Newbie 4 04-04-2004 08:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration