Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
08-13-2004, 02:32 PM
|
#16
|
LQ Newbie
Registered: Jun 2004
Location: Brunswick, ME
Distribution: Debian
Posts: 15
Rep:
|
I am ussing a Kensingto Optical Elite. To get the wheel to work I hae to use ZAxisMapping as 4 5 not 6 7. I had the scroller working before I set of imwheelrc, but the right side button would act as right click and the left button would act as middle click, however when I used imwheel I got theleft button to be set as Left and the right button to be set as Right, the scroll wheel is Up/Down. The problem I am having is that after setting up my .imwheelrc just as it says and running: imwheel -k -b "67" the left side button is the same as scroll up and the right side button is the same as scroll down, not forward and back. The scroll wheel still works. I then tried imwheel -k -b "45" and then the side buttons just stop working. Does anyone know how to fix this?
thanks in advance,
spore
NEW >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I fixed the problem after reading the man page by simply ommitting the -b 67 option so that the mapping is in the standard order of 456789
Last edited by AlgebraicSpore; 08-13-2004 at 02:45 PM.
|
|
|
09-04-2004, 09:29 PM
|
#17
|
LQ Newbie
Registered: Sep 2004
Distribution: Gentoo/AMD64
Posts: 2
Rep:
|
Important notes about how imwheel actually works:
From the manpage:
Index Interpreted As Button Number
1 Wheel Up 4
2 Wheel Down 5
3 Wheel Left 6
4 Wheel Right 7
5 Thumb Button 1 8
6 Thumb Button 2 9
This defines how the -b "whatever" string is interpreted. using "Up" and "Down" in my .imwheelrc and -b "67" results in 6 and 7 being mapped to "Up" and "Down", which means they scroll the same as my mouse wheel is doing. The proper way to do this is with "Left" and "Right" or presumably (I haven't tried) "Button 1" and "Button 2" in your .imwheelrc and -b "0067" in your arguments to imwheel.
|
|
|
09-06-2004, 11:23 PM
|
#18
|
LQ Newbie
Registered: Sep 2004
Distribution: SuSE Linux 9.1 Personal
Posts: 2
Rep:
|
hmm.. i was trying to install imwheel in SuSE 9.1 and i get this while trying to install:
"configure: error: IMWheel depends on the X11 libraries!"
i looked it up and found some forum that said this happens because SuSE 9.1 uses xorg instead of XFree86... any idea if i can get this to work?
Thanks
|
|
|
09-07-2004, 12:53 AM
|
#19
|
Member
Registered: Sep 2003
Location: Alabama
Distribution: Blag, Fedora core 1 and 2, Clarck Connect
Posts: 70
Rep:
|
Hello, very nice HOW TO.
Just wanted to let you know how mine went. I just bought a logitech MX310. I changed the config to what you listed and entered xmodmap -e "pointer = 1 2 3 6 7 4 5" as root and that was it. All ran fine. Right, left, middles click, scroll wheel and the 2 side buttons (page forward and reverse).
It also work with Q3 as well.
Thanks again,
Jason -aka- Crane
|
|
|
09-07-2004, 05:17 AM
|
#20
|
LQ Newbie
Registered: Sep 2004
Distribution: Gentoo/AMD64
Posts: 2
Rep:
|
Quote:
Originally posted by AmitL
hmm.. i was trying to install imwheel in SuSE 9.1 and i get this while trying to install:
"configure: error: IMWheel depends on the X11 libraries!"
i looked it up and found some forum that said this happens because SuSE 9.1 uses xorg instead of XFree86... any idea if i can get this to work?
Thanks
|
You shouldn't even need imwheel anymore for most things (mozilla/firefox for ex) but if you want to get it working look at how Gentoo did/does it. It might actually be pulling in xfree 4.3.0 sources... no idea.
|
|
|
09-14-2004, 04:42 AM
|
#21
|
LQ Newbie
Registered: Sep 2004
Distribution: SuSE Linux 9.1 Personal
Posts: 2
Rep:
|
hmm I don't need imwheel to get the side buttons to work in mozilla firefox?? How do I do it then, because they don't by default.
By the way.. I found out that imwheel comes with SuSE and I already had it installed (doh!). But I followed those instructions and they didn't work. xev shows me different actions for all buttons though, so I have no idea why it isn't working..
|
|
|
09-14-2004, 04:28 PM
|
#22
|
LQ Newbie
Registered: Sep 2004
Location: Helsinki, Finland
Distribution: Mandrake 10.0 Official
Posts: 16
Rep:
|
Very good how-to, bluephile. To guarantee your effort an eternal life, consider entering it in the LQ wiki. The mouse page is at http://wiki.linuxquestions.org/wiki/Mouse .
-scapade
|
|
|
09-20-2004, 07:54 PM
|
#23
|
LQ Newbie
Registered: Sep 2004
Location: Linköping, Sweden
Distribution: Debian
Posts: 8
Rep:
|
you seem to know a lot about this... =D .. maybe you can help me with my problems (intellimouse explorer 4.0 of course) ...
i would love to have my "tilt thingie" working too... i've googled for 3 days now (spent hours each day just on this topic) .. and tried several different things on my own... seems to be no way to get the tilt wheel working =/ ... closest i've gotten is to get it to work when i tilt it to the right using 'evrouter' ... but to the left doesn't work at all.. and if i bind the right tilt to something and tilt it to the left once (even though nothing is detected when i do it) ... evrouter is shut down .. ..
also.. i'd like to have the mousewheel work properly.. it works without no problem.. but it has mousewheel acceleration.. i'd like to get rid of it ... it did the same thing in windows xp... and i could not use the mousewheel in quake3 since it was so buggy and only worked at some times ... although, after i installed the intellipoint drivers and turned off the option "use mousewheel acceleration" ... it worked perfectly in quake3 also... i'd like to do the same in linux.. =/
|
|
|
10-04-2004, 12:50 AM
|
#24
|
Member
Registered: Oct 2003
Posts: 45
Original Poster
Rep:
|
Thanks, scapade! Seems you put a refrence in there for me. I appreciate it.
zarac:
I don't know anything about your mouse, but I'll see if I can help. First, make sure that you have the number of buttons set high enough in your X config. Then, try using xev to find what comes out for wheel-tilting. lotheac reported earlier that it did not show up, but perhaps he only had 7 buttons configured.
I don't have any experience with scroll acceleration, either. Mouse settings like that would normally be set via 'xset,' so you might want to hunt around in that manpage.
phox:
Please share how to get firefox to read side buttons without the rather messy imwheel!
|
|
|
10-06-2004, 05:02 PM
|
#25
|
LQ Newbie
Registered: Oct 2004
Location: Buenos Aires, Argentina
Distribution: Fedora Core 2; Debian
Posts: 25
Rep:
|
Everything ok except for side buttons
Hi,
Great howto! However, I couldn't manage to get side buttons working, neither when configured for all 9 buttons nor when configured as you say. I'm using Fedora Core 2 and, in case it matters, when I cat /dev/input/mice, I get chars printed to the screen for all buttons and wheels except for the side buttons.
Still, thanks for the guide, and hope someone can help...
PS: Got the "cat /dev/input/mice" idea from a joystick thread recommending to cat /dev/js0 to test the joystick. I guess getting something there from side buttons doesn't depend on X11 conf, does it?
|
|
|
10-06-2004, 06:43 PM
|
#26
|
Member
Registered: Oct 2003
Posts: 45
Original Poster
Rep:
|
I'm not sure that that's a reliable method. After the first click I don't seem to get any output in my terminal for clicking the left (primary) mouse button. I suppose it has something to do with how the terminal renders the raw data.
Could you post the relevant section of your X config file? I assume that xev didn't report anything for the side buttons ...
|
|
|
10-07-2004, 03:57 PM
|
#27
|
LQ Newbie
Registered: Oct 2004
Location: Buenos Aires, Argentina
Distribution: Fedora Core 2; Debian
Posts: 25
Rep:
|
First of all, thanks for the help!
Quote:
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "6 7 8 9"
Option "Emulate3Buttons" "no"
Option "Buttons" "9"
|
I have a 9 button, 2 wheel "a4tech 5D" mouse. Xev doesn't do anything when I click the side buttons. My xmodmap is
Quote:
xmodmap -e "pointer = 1 2 3 8 9 4 5 6 7"
|
Thanks!
PS: In my case, putting the imwheel and xmodmap scripts in /etc/X11/initrc/xinitrc.d doesnt work in my fedora 2
|
|
|
10-09-2004, 10:06 AM
|
#28
|
LQ Newbie
Registered: Sep 2004
Location: Linköping, Sweden
Distribution: Debian
Posts: 8
Rep:
|
bluephile, thanks =D ... what mouse i'm using? .. intellimouse explorer 4.0 ... hmm.. i figured out somewhat what the problem was/is .... i think the ime4.0 has it on by default, and also something that doesn't allow me to move the mouse and scroll the wheel at the same time... because when i do that..it doens't pick up the wheel motion... although.. if i boot up my computer in windows... and then restart into linux (without turning the power off) ... then it works to scroll the wheel while i move the mouse... bet microsoft did that on purpous =D ...
i ended up buying a new mouse.. a logitech mx500... not only because of that.. but becuase the ime4.0 seems to be capped at 100hz.. (not even 125hz which the default usb is) ... not even with the kernel hack to run usb at 500hz i cannot get it above 100hz.... and neither with the ps/2 adapter.. still 100hz... exactly the same thing happens in windows... i've had several mice plugged in at the same time... ime3+ime4+mx500 ... the ime3 and the mx500 both work with the 500hz usb tweak.. but again... the ime4 is locked to 100hz... so .. it's a crappy mouse for gamers =D ...
|
|
|
10-11-2004, 12:22 AM
|
#29
|
Member
Registered: Jul 2004
Posts: 90
Rep:
|
this sort of worked for me. I have a wireless intellimouse, don't really know the model, it's blue though. It has a scroll wheel, but no side buttons, nothing too fancy. The scroll seems to work, but if i roll the scroll wheel too fast, it hits my back button my my firefox window. That's not acceptable.
|
|
|
10-13-2004, 05:01 PM
|
#30
|
LQ Newbie
Registered: Oct 2004
Location: Buenos Aires, Argentina
Distribution: Fedora Core 2; Debian
Posts: 25
Rep:
|
Got xmodmap and imwheel working
I managed to get xmodmap and imwheel working. Turns out I hadn't chmod-ed the scripts...
|
|
|
All times are GMT -5. The time now is 05:18 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|