Re: Trackball, extra buttons, and X - I've lost something

2005-01-14 Thread Louis LeBlanc
On 01/13/05 09:29 PM, Mark Beaver sat at the `puter and typed:
> I think it's not so much a setting in X. I think it's more that X simply
> doesn't have the software to support those extra buttons (wether it's the
> server or the wm of choice) that's got the lack I'm not sure.
> 
> What I do know is that I can set this up fine using 4,5 as my ZAxisMapping,
> and leave xmodmap alone. The buttons get recognized, but as I stated, I
> don't think any of the current window managers have a "function" to allow
> for you to set something up for those input buttons. Good example:
> 
> Set your Zaxis mapping to 6 7 then leave xmodmap at 1 2 3 4 5 6 7 and the
> extra two buttons *should* control your scroll, and the mouse wheel should
> do nothing.

I have the ZAxis at 6 7, and xmodmap at 1 2 3 6 7 4 5, and I'm finally
getting some useable behavior.

The extra side buttons (one on the left, one or the right) are
behaving as forward/back controls in the browser, which was a pleasant
surprise.  The wheel works as a scroller should too.  The only problem
is that the side buttons and the scroller tend to pop up the Fvwm
builtin menu from the root window.  That's probably a problem for the
Fvwm list, since the buttons are being recognized by X now.

Thanks for the suggestions.

Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Chemistry professors never die, they just fail to react.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Trackball, extra buttons, and X - I've lost something

2005-01-13 Thread Mark Beaver
I think it's not so much a setting in X. I think it's more that X simply
doesn't have the software to support those extra buttons (wether it's the
server or the wm of choice) that's got the lack I'm not sure.

What I do know is that I can set this up fine using 4,5 as my ZAxisMapping,
and leave xmodmap alone. The buttons get recognized, but as I stated, I
don't think any of the current window managers have a "function" to allow
for you to set something up for those input buttons. Good example:

Set your Zaxis mapping to 6 7 then leave xmodmap at 1 2 3 4 5 6 7 and the
extra two buttons *should* control your scroll, and the mouse wheel should
do nothing.

Mark

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Louis LeBlanc
Sent: Thursday, January 13, 2005 8:52 PM
To: freebsd-questions@FreeBSD.org
Subject: Re: Trackball, extra buttons, and X - I've lost something

I think I have it partly figured out.  I had to change the xmodmap
command in .xsession to this:
xmodmap -e "pointer = 1 2 3 6 7 4 5"

But I kept the ZAxisMapping at 6 and 7.

Now xev shows the side buttons registering at 6 and 7, but I still
can't seem to get them working right through Fvwm.  At least I have
scrolling without annoying popup menus.

I'll try switching the ZAxisMapping and the xmodmap to see if I can
get a change.

Thanks
Lou


On 01/13/05 07:29 PM, Mark Beaver sat at the `puter and typed:
> In my experience with these leave the 4 5 as your ZAxisMapping and try it
> should keep your wheel working.
> 
> I'm not sure how to get the other two to work though, I've always had
issues
> with that.
> 
> 
> Mark Beaver
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Louis LeBlanc
> Sent: Thursday, January 13, 2005 7:08 PM
> To: FreeBSD Questions
> Subject: Trackball, extra buttons, and X - I've lost something
> 
> Ok, I've finally broken down and bought myself one of those fancy
> Microsoft thumbball thingys.  I got tired of tracking my mouse around
> on a 5"X5" square, which is exactly the amount of free space on my
> desk right now.
> 
> Anyway, since Microsoft is a pretty good accessory company I figured
> I'd check their thumbball out.  (I didn't say they were a good
> software company)
> 
> I got the following immediately after plugging in:
> Jan 13 17:07:31 keyslapper kernel: ums0: Microsoft Microsoft Trackball
> Optical®, rev 1.10/1.21, addr 2, iclass 3/1
> Jan 13 17:07:31 keyslapper kernel: ums0: 5 buttons and Z dir.
> 
> The only problem is that it has 5 buttons including the button wheel.
> 
> Give a man a hammer, he'll want to use it right?
> 
> Well, now I've got these two new hammers, and I can't get them
> working quite right.
> 
> I've got the following in xorg.conf:
> 
> Section "InputDevice"
> Identifier  "Mouse0"
> Driver  "mouse"
> Option  "Protocol" "auto"
> Option  "Device" "/dev/ums0"
> Option  "Buttons"  "7"
> Option  "ZAxisMapping" "6 7"
> EndSection
> 
> 
> This is what I used to have:
> Section "InputDevice"
> Identifier  "Mouse0"
> Driver  "mouse"
> Option  "Protocol" "auto"
> Option  "Device" "/dev/sysmouse"
> Option  "Buttons"  "5"
> Option  "ZAxisMapping" "4 5"
> EndSection
> 
> And I've restarted Xorg, and xev shows the proper button presses for
> the left (button 1) and right (button 3) buttons, wheel press (button
> 2), and weel scrolls (buttons 4 and 5).  It also shows events for the
> side buttons, 6 and 7.
> 
> I have the comand `xmodmap -e "pointer = 1 2 3 4 5 6 7"` in my
> ~/.xinitrc to set the buttons up, but I'm still getting odd behavior
> when I roll the wheel.
> 
> So what's this strange behavior?  Well, every time I roll the mouse
> wheel, I get the Fvwm Builtin menu.  I tried setting a Nop action in
> the Fvwm mouse events config for buttons 6 and 7, but that breaks
> scrolling with the wheel.  Now I can't seem to get scrolling back.  So
> I need to figure out how to stop the menu popup without breaking the
> scrolling.  Or at least get the scrolling back.
> 
> I've tried this with and without moused, but no change.  Naturally,
> I change the Device above to /dev/sysmouse, and moused polls from
> /dev/usm0.
> 

Re: Trackball, extra buttons, and X - I've lost something

2005-01-13 Thread Louis LeBlanc
I think I have it partly figured out.  I had to change the xmodmap
command in .xsession to this:
xmodmap -e "pointer = 1 2 3 6 7 4 5"

But I kept the ZAxisMapping at 6 and 7.

Now xev shows the side buttons registering at 6 and 7, but I still
can't seem to get them working right through Fvwm.  At least I have
scrolling without annoying popup menus.

I'll try switching the ZAxisMapping and the xmodmap to see if I can
get a change.

Thanks
Lou


On 01/13/05 07:29 PM, Mark Beaver sat at the `puter and typed:
> In my experience with these leave the 4 5 as your ZAxisMapping and try it
> should keep your wheel working.
> 
> I'm not sure how to get the other two to work though, I've always had issues
> with that.
> 
> 
> Mark Beaver
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Louis LeBlanc
> Sent: Thursday, January 13, 2005 7:08 PM
> To: FreeBSD Questions
> Subject: Trackball, extra buttons, and X - I've lost something
> 
> Ok, I've finally broken down and bought myself one of those fancy
> Microsoft thumbball thingys.  I got tired of tracking my mouse around
> on a 5"X5" square, which is exactly the amount of free space on my
> desk right now.
> 
> Anyway, since Microsoft is a pretty good accessory company I figured
> I'd check their thumbball out.  (I didn't say they were a good
> software company)
> 
> I got the following immediately after plugging in:
> Jan 13 17:07:31 keyslapper kernel: ums0: Microsoft Microsoft Trackball
> Optical®, rev 1.10/1.21, addr 2, iclass 3/1
> Jan 13 17:07:31 keyslapper kernel: ums0: 5 buttons and Z dir.
> 
> The only problem is that it has 5 buttons including the button wheel.
> 
> Give a man a hammer, he'll want to use it right?
> 
> Well, now I've got these two new hammers, and I can't get them
> working quite right.
> 
> I've got the following in xorg.conf:
> 
> Section "InputDevice"
> Identifier  "Mouse0"
> Driver  "mouse"
> Option  "Protocol" "auto"
> Option  "Device" "/dev/ums0"
> Option  "Buttons"  "7"
> Option  "ZAxisMapping" "6 7"
> EndSection
> 
> 
> This is what I used to have:
> Section "InputDevice"
> Identifier  "Mouse0"
> Driver  "mouse"
> Option  "Protocol" "auto"
> Option  "Device" "/dev/sysmouse"
> Option  "Buttons"  "5"
> Option  "ZAxisMapping" "4 5"
> EndSection
> 
> And I've restarted Xorg, and xev shows the proper button presses for
> the left (button 1) and right (button 3) buttons, wheel press (button
> 2), and weel scrolls (buttons 4 and 5).  It also shows events for the
> side buttons, 6 and 7.
> 
> I have the comand `xmodmap -e "pointer = 1 2 3 4 5 6 7"` in my
> ~/.xinitrc to set the buttons up, but I'm still getting odd behavior
> when I roll the wheel.
> 
> So what's this strange behavior?  Well, every time I roll the mouse
> wheel, I get the Fvwm Builtin menu.  I tried setting a Nop action in
> the Fvwm mouse events config for buttons 6 and 7, but that breaks
> scrolling with the wheel.  Now I can't seem to get scrolling back.  So
> I need to figure out how to stop the menu popup without breaking the
> scrolling.  Or at least get the scrolling back.
> 
> I've tried this with and without moused, but no change.  Naturally,
> I change the Device above to /dev/sysmouse, and moused polls from
> /dev/usm0.
> 
> I'm running FreeBSD 5.3 RELEASE, Xorg 6.7.1 (built from ports) and
> Fvwm 2.4.19 built with imlib support from the ports.
> 
> I think that's all.
> 
> Any ideas?
> 
> TIA
> Lou
> -- 
> Louis LeBlanc   [EMAIL PROTECTED]
> Fully Funded Hobbyist, KeySlapper Extrordinaire :)
> http://www.keyslapper.org Ô¿Ô¬
> 
> QOTD:
>   "My life is a soap opera, but who gets the movie rights?"
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org Ô¿Ô¬

Zero Defects, n.:
  The result of shutting down a production line.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Trackball, extra buttons, and X - I've lost something

2005-01-13 Thread Mark Beaver
In my experience with these leave the 4 5 as your ZAxisMapping and try it
should keep your wheel working.

I'm not sure how to get the other two to work though, I've always had issues
with that.


Mark Beaver

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Louis LeBlanc
Sent: Thursday, January 13, 2005 7:08 PM
To: FreeBSD Questions
Subject: Trackball, extra buttons, and X - I've lost something

Ok, I've finally broken down and bought myself one of those fancy
Microsoft thumbball thingys.  I got tired of tracking my mouse around
on a 5"X5" square, which is exactly the amount of free space on my
desk right now.

Anyway, since Microsoft is a pretty good accessory company I figured
I'd check their thumbball out.  (I didn't say they were a good
software company)

I got the following immediately after plugging in:
Jan 13 17:07:31 keyslapper kernel: ums0: Microsoft Microsoft Trackball
Optical®, rev 1.10/1.21, addr 2, iclass 3/1
Jan 13 17:07:31 keyslapper kernel: ums0: 5 buttons and Z dir.

The only problem is that it has 5 buttons including the button wheel.

Give a man a hammer, he'll want to use it right?

Well, now I've got these two new hammers, and I can't get them
working quite right.

I've got the following in xorg.conf:

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/ums0"
Option  "Buttons"  "7"
Option  "ZAxisMapping" "6 7"
EndSection


This is what I used to have:
Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/sysmouse"
Option  "Buttons"  "5"
Option  "ZAxisMapping" "4 5"
EndSection

And I've restarted Xorg, and xev shows the proper button presses for
the left (button 1) and right (button 3) buttons, wheel press (button
2), and weel scrolls (buttons 4 and 5).  It also shows events for the
side buttons, 6 and 7.

I have the comand `xmodmap -e "pointer = 1 2 3 4 5 6 7"` in my
~/.xinitrc to set the buttons up, but I'm still getting odd behavior
when I roll the wheel.

So what's this strange behavior?  Well, every time I roll the mouse
wheel, I get the Fvwm Builtin menu.  I tried setting a Nop action in
the Fvwm mouse events config for buttons 6 and 7, but that breaks
scrolling with the wheel.  Now I can't seem to get scrolling back.  So
I need to figure out how to stop the menu popup without breaking the
scrolling.  Or at least get the scrolling back.

I've tried this with and without moused, but no change.  Naturally,
I change the Device above to /dev/sysmouse, and moused polls from
/dev/usm0.

I'm running FreeBSD 5.3 RELEASE, Xorg 6.7.1 (built from ports) and
Fvwm 2.4.19 built with imlib support from the ports.

I think that's all.

Any ideas?

TIA
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org Ô¿Ô¬

QOTD:
  "My life is a soap opera, but who gets the movie rights?"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Trackball, extra buttons, and X - I've lost something

2005-01-13 Thread Louis LeBlanc
Ok, I've finally broken down and bought myself one of those fancy
Microsoft thumbball thingys.  I got tired of tracking my mouse around
on a 5"X5" square, which is exactly the amount of free space on my
desk right now.

Anyway, since Microsoft is a pretty good accessory company I figured
I'd check their thumbball out.  (I didn't say they were a good
software company)

I got the following immediately after plugging in:
Jan 13 17:07:31 keyslapper kernel: ums0: Microsoft Microsoft Trackball 
Optical®, rev 1.10/1.21, addr 2, iclass 3/1
Jan 13 17:07:31 keyslapper kernel: ums0: 5 buttons and Z dir.

The only problem is that it has 5 buttons including the button wheel.

Give a man a hammer, he'll want to use it right?

Well, now I've got these two new hammers, and I can't get them
working quite right.

I've got the following in xorg.conf:

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/ums0"
Option  "Buttons"  "7"
Option  "ZAxisMapping" "6 7"
EndSection


This is what I used to have:
Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/sysmouse"
Option  "Buttons"  "5"
Option  "ZAxisMapping" "4 5"
EndSection

And I've restarted Xorg, and xev shows the proper button presses for
the left (button 1) and right (button 3) buttons, wheel press (button
2), and weel scrolls (buttons 4 and 5).  It also shows events for the
side buttons, 6 and 7.

I have the comand `xmodmap -e "pointer = 1 2 3 4 5 6 7"` in my
~/.xinitrc to set the buttons up, but I'm still getting odd behavior
when I roll the wheel.

So what's this strange behavior?  Well, every time I roll the mouse
wheel, I get the Fvwm Builtin menu.  I tried setting a Nop action in
the Fvwm mouse events config for buttons 6 and 7, but that breaks
scrolling with the wheel.  Now I can't seem to get scrolling back.  So
I need to figure out how to stop the menu popup without breaking the
scrolling.  Or at least get the scrolling back.

I've tried this with and without moused, but no change.  Naturally,
I change the Device above to /dev/sysmouse, and moused polls from
/dev/usm0.

I'm running FreeBSD 5.3 RELEASE, Xorg 6.7.1 (built from ports) and
Fvwm 2.4.19 built with imlib support from the ports.

I think that's all.

Any ideas?

TIA
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org Ô¿Ô¬

QOTD:
  "My life is a soap opera, but who gets the movie rights?"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"