Bug 465657

Summary: mouse configuration: enable options for all mice
Product: [openSUSE] openSUSE 11.1 Reporter: macias - <bluedzins>
Component: YaST2Assignee: J. Daniel Schmidt <jdsn>
Status: RESOLVED INVALID QA Contact: Jiri Srain <jsrain>
Severity: Enhancement    
Priority: P5 - None CC: jdsn, sndirsch
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: xorg.conf
xorg.conf

Description macias - 2009-01-13 10:29:55 UTC
mouse configuration: enable options for all mice

For reason unknown yast does not allow to set option for the 2nd and further mouse. It leads to odd outcome -- because all mice have to share the same settings, why in practice it is not needed. 

X support distinct configuration per each mouse, so please use it.

I had to manually edit xorg.conf years ago and I have to do it now. At least I know what to do, but what is supposed to do weekend-user who only knows s/he would like to set reverse (left-mouse) buttons for his/her mouse, and normal for his/her touchpad?
Comment 1 J. Daniel Schmidt 2009-01-16 16:26:14 UTC
I doubt that it there are any users that need two mice on the same X-Server with one of them being configured right-handed and the other left-handed.

Nevertheless, I happen to have two mice connected to my computer and tested it. Actually I even can configure one of them right-handed and one left-handed.
Comment 2 J. Daniel Schmidt 2009-01-16 16:33:08 UTC
Ok, I can configure it consistently the mixed way but the change applies to both mice connected to the system.

Stefan, is this trivial to change?
Comment 3 macias - 2009-01-16 16:50:07 UTC
What do you mean by "any user". I am one of them and I have tree mice -- regular mouse, touchpad, and track point. Is laptop nowadays is such rarity?

Reopening, please test this on laptop, I can attach screenshot, whole section for mouse is disabled. Besides, originally, sax treat all mice as one, via /dev/input/mice (if I remember correctly).

Left/right-handed mix is just an example (but important for me, and I guess for a lot of handicapped users).
Comment 4 Stefan Dirsch 2009-01-16 16:57:40 UTC
With all your mice using "mouse" driver you can't have different settings. I'm sorry. Maybe it can work when we switch to evdev driver together with some runtime tool like xinput, but SaX2 is a tool for a static configuration using "mouse" driver.
Comment 5 macias - 2009-01-16 17:17:02 UTC
Stefan, than how I was able to configure three mice using opensuse 10.3?

I did it manually editing xorg.conf. No magic -- if I can do this, sax should be able to do this too. And I didn't use evdev.

Please reopen, this is really shame, sax is limiting xorg capabilities -- independent mice configuration as well as the properties (tapping, scrolling).
Comment 6 Stefan Dirsch 2009-01-16 17:32:49 UTC
(In reply to comment #5)
> Stefan, than how I was able to configure three mice using opensuse 10.3?
> 
> I did it manually editing xorg.conf. No magic -- if I can do this, sax should
> be able to do this too. And I didn't use evdev.
> 
> Please reopen, this is really shame, sax is limiting xorg capabilities --
> independent mice configuration

Again. That's not possible when using the "mouse" driver.

>  as well as the properties (tapping, scrolling).

Now you're talking about synaptics, a completely different driver.
Comment 7 macias - 2009-01-16 17:46:25 UTC
I am completely lost.

Sax is not able to make distinction between mice, so user has to manually edit xorg.conf and it is ok. Is this really state of the art of modern OS? Not an irony, but I cannot grasp an idea it is invalid report, i.e. wishing for adding such features into sax.

> Again. That's not possible when using the "mouse" driver.
> >  as well as the properties (tapping, scrolling).
> Now you're talking about synaptics, a completely different driver.

Stefan, what user knows about drivers? She/he would plug it in and configure mice.

Again, if I can do manually, editing xorg.cong without installing any extra software, then sax should be able to do this also.

As an attachment my old.xorg conf. 3 mice configured (manually) not knowing even anything about drivers.
Comment 8 macias - 2009-01-16 17:47:04 UTC
Created attachment 265736 [details]
xorg.conf
Comment 9 macias - 2009-01-16 17:48:12 UTC
And my current config, note that I don't use /dev/input/mice at all.
Comment 10 macias - 2009-01-16 17:48:52 UTC
Created attachment 265737 [details]
xorg.conf

current one
Comment 11 Stefan Dirsch 2009-01-16 18:08:59 UTC
Well, if you use /dev/input/mouse<X> or even /dev/ttyS<X> this might be possible.
But we really want to use the multiplexer /dev/input/mice for a static configuration, since then a mouse always works - even when plugged in after the
Xserver start.
Comment 12 macias - 2009-01-16 18:16:09 UTC
Hmm, could it be that for static connection -- already configured -- /dev/input/mouseX is used, and for dynamic -- dev/input/mice?

It is really painful to read all manuals for xorg.conf and do it manually (just for the record, I am happy it is doable at all, because it is not possible in windows).

Any improvement in this are would be really great.

Btw. thank you for the tip about evdev, maybe it will solve my current problem with bluetooth mouse.