Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Explorer Mouse question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
asiobob
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1375
Location: Bamboo Creek

PostPosted: Wed Nov 05, 2003 12:32 pm    Post subject: Explorer Mouse question Reply with quote

Hello,

I have an MS Explorer optical mouse that works in my current distro (mandrake).

Just a question when I install gentoo. the mouse section in mandrake XF86CONFIG-4 is

Code:

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/usbmouse"
    Option "ZAxisMapping" "6 7"
EndSection


1. the protocol is ExplorerPS/2, can I use this in gentoo? the installation gudie doesn't list this protocol.

2. I believe Option "ZAxisMapping" "6 7" lets my wheel work, but in Gentoo guide it says 4,5 so whats with 6 7 and whats it mean?
Back to top
View user's profile Send private message
Zoltan
Guru
Guru


Joined: 27 Aug 2003
Posts: 394
Location: Moscow, Russia

PostPosted: Wed Nov 05, 2003 12:44 pm    Post subject: Reply with quote

You can copy your XF86Config-4 from mandrake to Gentoo without changes.
_________________
Light travels faster than sound. That's why some people appear bright before you hear them speak.
Back to top
View user's profile Send private message
asiobob
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1375
Location: Bamboo Creek

PostPosted: Wed Nov 05, 2003 12:53 pm    Post subject: Reply with quote

oh thats good to know, I guess I'll have to install the nvidia drivers etc.. since thats what I'm using now.

On mandrake XF86Config-4 is the file that is used.
Am I correct that on gentoo is XF86Config ?
Back to top
View user's profile Send private message
Random Task
Apprentice
Apprentice


Joined: 31 Mar 2003
Posts: 171
Location: Canada

PostPosted: Wed Nov 05, 2003 6:33 pm    Post subject: Reply with quote

Actually that's a XFree86 thing.

Since 4.0 (I think) the file used is XF86Config-4

If you don't have an XF86Config-4 then XF86Config is used.

Hope that helps
_________________
If you can't kill something with that, it ain't supposed to die...

You're so drunk you're seeing double...
I've got two guns, one for each of ya!
-Val Kilmer as Doc Holliday, Tombstone
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Wed Nov 05, 2003 7:02 pm    Post subject: Reply with quote

Random Task wrote:
Actually that's a XFree86 thing.

Since 4.0 (I think) the file used is XF86Config-4

If you don't have an XF86Config-4 then XF86Config is used.

Hope that helps


seems as though i read somewhere that the XF86Config-4 was outdated now, it was just present in the transition stage from 3 series and 4 series. I could be wrong though.

chris
Back to top
View user's profile Send private message
Random Task
Apprentice
Apprentice


Joined: 31 Mar 2003
Posts: 171
Location: Canada

PostPosted: Wed Nov 05, 2003 7:34 pm    Post subject: Reply with quote

Well what I do is have both as the same thing (cp XF86Config-4 XF86Config) so if one stops working it'll pick up the same settings from the other one.

Thanks for letting me know, I'm definately going to look into that one.
_________________
If you can't kill something with that, it ain't supposed to die...

You're so drunk you're seeing double...
I've got two guns, one for each of ya!
-Val Kilmer as Doc Holliday, Tombstone
Back to top
View user's profile Send private message
Zoltan
Guru
Guru


Joined: 27 Aug 2003
Posts: 394
Location: Moscow, Russia

PostPosted: Thu Nov 06, 2003 8:19 am    Post subject: Reply with quote

If you have both XF86Config and XF86Config-4, then XF86Config-4 will be used.
_________________
Light travels faster than sound. That's why some people appear bright before you hear them speak.
Back to top
View user's profile Send private message
imagino
n00b
n00b


Joined: 07 Mar 2003
Posts: 47
Location: Italy

PostPosted: Thu Nov 13, 2003 2:10 pm    Post subject: imwheel Reply with quote

I found this browsing the net:

http://www.groundhog1.com/mouse/MSExplorer.html

It's very useful. The problem now is HOW to let

/usr/X11R6/bin/xmodmap -e "pointer = 1 2 3 6 7 4 5"
/usr/bin/imwheel -p -b "67"

start automatically every time X starts. I've tried to add these lines in /etc/inid.d/xdm or in /etc/X11/sartDM.sh but I haven't got any good result :(
Back to top
View user's profile Send private message
theyneverknew2
n00b
n00b


Joined: 06 Nov 2003
Posts: 23

PostPosted: Thu Nov 13, 2003 9:08 pm    Post subject: Reply with quote

add it to your ~/.xinitrc above where you start your wm :)
Back to top
View user's profile Send private message
imagino
n00b
n00b


Joined: 07 Mar 2003
Posts: 47
Location: Italy

PostPosted: Thu Nov 13, 2003 11:17 pm    Post subject: yes but... Reply with quote

would'nt be better to put it in a "global" directory (oh...I wonder if I can kyst put it in /etc/xinitrc ??) so that everyone logging in from kdm will get the mouse work, without having many identical ~/.xinitrc around?
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Fri Nov 14, 2003 5:22 am    Post subject: Re: imwheel Reply with quote

imagino wrote:
I found this browsing the net:

http://www.groundhog1.com/mouse/MSExplorer.html

It's very useful. The problem now is HOW to let

/usr/X11R6/bin/xmodmap -e "pointer = 1 2 3 6 7 4 5"
/usr/bin/imwheel -p -b "67"

start automatically every time X starts. I've tried to add these lines in /etc/inid.d/xdm or in /etc/X11/sartDM.sh but I haven't got any good result :(


I usually just throw it in at the top of my kde session script, or any other wm that you use.
Back to top
View user's profile Send private message
imagino
n00b
n00b


Joined: 07 Mar 2003
Posts: 47
Location: Italy

PostPosted: Fri Nov 14, 2003 8:53 am    Post subject: ~/.xinitrc Reply with quote

I tried but it looks that this file isn't used, when logging in from KDM.
Maybe modifying the startkde script would be an IDEA...but I'd like a more clean and gentooish way to do that.
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Fri Nov 14, 2003 6:19 pm    Post subject: Re: ~/.xinitrc Reply with quote

imagino wrote:
I tried but it looks that this file isn't used, when logging in from KDM.
Maybe modifying the startkde script would be an IDEA...but I'd like a more clean and gentooish way to do that.


I use to do it with xinitrc or something but it stopped working a couple of kde upgrades ago. not sure why it doensnt read the xinitrc file anymore...

chris
Back to top
View user's profile Send private message
Jewelie
n00b
n00b


Joined: 16 Nov 2003
Posts: 6
Location: UK

PostPosted: Tue Nov 18, 2003 2:48 pm    Post subject: Reply with quote

Quote:
I use to do it with xinitrc or something but it stopped working a couple of kde upgrades ago. not sure why it doensnt read the xinitrc file anymore...


Hmmm....

Does anyone have any idea what global system file the gentoo/kdm setup does read?

I'm desperately trying to put an all important xmodmap command in somewhere that's neat and sensible! :?

Ta-ra,
Julie
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Wed Nov 19, 2003 12:08 pm    Post subject: Reply with quote

I put the xmodmap line in /etc/X11/Xmodmap (just pointer = "1 2 3 8 9 4 5 6 7") and symlink to that from /etc/X11/xinit/.Xmodmap.

Also, put the imwheel command in /etc/X11/xinit/xinitrc.

This seems to work partly because /usr/X11R6/lib/X11/xinit is a symlink to /etc/X11/xinit/.

If there's a better way to do it, please tell me.

Btw: I use 9 buttons in order to be able to handle multi-wheel and net mice consistently.
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Wed Nov 19, 2003 6:02 pm    Post subject: Reply with quote

ecatmur wrote:
I put the xmodmap line in /etc/X11/Xmodmap (just pointer = "1 2 3 8 9 4 5 6 7") and symlink to that from /etc/X11/xinit/.Xmodmap.

Also, put the imwheel command in /etc/X11/xinit/xinitrc.

This seems to work partly because /usr/X11R6/lib/X11/xinit is a symlink to /etc/X11/xinit/.

If there's a better way to do it, please tell me.

Btw: I use 9 buttons in order to be able to handle multi-wheel and net mice consistently.


do you use kde?? the problem mentioned above is targeted toward kde evidently not reading the .xinitrc file..

chris
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum