using mouse wheel

2007-08-05 Thread Wojciech Puchar
i just bought some cheap PS/2 mouse (A4 tech) 3-keys while middle key is a 
wheel that can be both pressed and rolled



no rolling works both in text and xorg

moused_enable=YES

in rc.conf

and

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5 6 7
EndSection


in xorg.conf

do i have to add something?

my friend uses USB mouse and scrolling works as is.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: using mouse wheel

2007-08-05 Thread RW
On Sun, 5 Aug 2007 21:19:08 +0200 (CEST)
Wojciech Puchar [EMAIL PROTECTED] wrote:

 i just bought some cheap PS/2 mouse (A4 tech) 3-keys while middle key
 is a wheel that can be both pressed and rolled
 
 
 no rolling works both in text and xorg
 
 moused_enable=YES
 
 in rc.conf
 
 and
 
 Section InputDevice
  Identifier  Mouse0
  Driver  mouse
  Option  Protocol auto
  Option  Device /dev/sysmouse
  Option  ZAxisMapping 4 5 6 7
 EndSection
 
 
 in xorg.conf
 
 do i have to add something?


Try running xev.  Put the pointer over the test window, and rotate the
wheel backwards and forward to see its button numbers. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mouse wheel doesn't work

2007-07-20 Thread Zhang Weiwu
Dear everyone on the list

On my xorg-6.9.0 installed on FreeBSD 6.2, USB mouse work just fine with
mouse wheel; ps/2 mouse do not work. Nothing happens when scrolling
mouse wheel.

As I have only one ps/2 mouse I cannot test if all ps/2 mice suffer from
such problem or just this one, but I am sure this mouse works fine on
Windows and Ubuntu Linux with wheel.

By testing with xev it turns out no event is sent to X when scrolling
mouse wheel. By running 'moused -df -p /dev/psm0' it turns out mouse
daemon is not aware of scrolling at all (no message output when
scrolling wheel, a lot of message output when moving mouse or clicking).

Various parameter of moused is tried, including '-z 4' and various mouse
type (which always get me the message mouse type mismatch (ps/2 !=
mouseman), ps/2 is assumed, as manual suggested there is only one type
for ps/2 mice).

Mouse section of xorg seems to be correct, and I think it's not useful
to tweak X configuration if moused cannot by itself detect mouse wheel
movement.

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  Buttons 5
Option  ZAxisMapping 4 5
EndSection

xmodmap also shows there is no re-mapping of mouse buttons. Again if
moused isn't aware of scrolling, working on X level doesn't seem to be
helpful.

The box is thinkpad 380XD with an IBM red check-point on the keyboard,
which as far as I know is also /dev/psm0, probably something on hardware
level is done to merge signal of check-point and real ps/2 mouse
together, and mouse wheel movement might be dropped during this merge.

manual pages for psm0 suggested there are multiple operation level of
the driver, at level one wheel events are ignored, at level two wheel
events are included. The manual suggested how to set operation level in
C, but didn't say how to set or get current operation level with command
line (if it's possible at all).

If it's because the model if my mouse is happen not to be in the model
database of psm0 then what should I do to submit my mouse model to the
database to help FreeBSD have a larger coverage of hardware information?

Thanks. 

P.S. I can use USB mouse which is fine, just still like to ask about
PS/2 mouse out of curious. 

Best Regards

-- 
锐业软服(国内业务)  http://www.realss.cn
Real SoftService  http://www.realss.com
销售咨询(Sales Department): 0086 592 20 99987 (Chinese, German, English)
国际业务(International Sales): 0086 10 8460 6011 (German and English)
联系:厦门大学科技园,嘉庚二号楼6楼
邮政:厦门大学2312号信箱(邮编361005)

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


Re: mouse wheel doesn't work

2007-07-20 Thread Nikola Lecic
Hello,

On Sat, 21 Jul 2007 05:02:49 +0800
Zhang Weiwu [EMAIL PROTECTED] wrote:

 Dear everyone on the list
 
 On my xorg-6.9.0 installed on FreeBSD 6.2, USB mouse work just fine
 with mouse wheel; ps/2 mouse do not work. Nothing happens when
 scrolling mouse wheel.
 
 As I have only one ps/2 mouse I cannot test if all ps/2 mice suffer
 from such problem or just this one, but I am sure this mouse works
 fine on Windows and Ubuntu Linux with wheel.

I think that then middle (wheel) click doesn't work; if it does, then
just copy Ubuntu xorg.conf entry or check if trackpoint and external
ps/2 mouse use different /dev.

 The box is thinkpad 380XD with an IBM red check-point on the keyboard,
 which as far as I know is also /dev/psm0, probably something on
 hardware level is done to merge signal of check-point and real ps/2
 mouse together, and mouse wheel movement might be dropped during this
 merge.

Yes, this is more likely -- the trackpoint and external ps/2 mouse
collide. 

 Mouse section of xorg seems to be correct, and I think it's not useful
 to tweak X configuration if moused cannot by itself detect mouse wheel
 movement.
 
 Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 Option  Protocol auto
 Option  Device /dev/sysmouse
 Option  Buttons 5
 Option  ZAxisMapping 4 5
 EndSection

Generally, using two parallel mouse devices calls for two separate
InputDevice mouse entries and for SendCoreEvents option.

 xmodmap also shows there is no re-mapping of mouse buttons. Again if
 moused isn't aware of scrolling, working on X level doesn't seem to be
 helpful.

Please read this page:

  http://salisburys.net/PetersNotes-TW.html
  (choose External mouse wheels and wheel emulation...)

and consider experimenting with this:

  http://tpctl.sourceforge.net
  
It doesn't seem ported, but they claim it runs on *BSD. Read the man
page, --setup-pointing-device* options could maybe solve the problem.

(tpctl should be started _before_ X.)

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


Re: mouse wheel doesn't work

2007-07-20 Thread Zhang Weiwu
On Sat, 2007-07-21 at 01:42 +0200, Nikola Lecic wrote:
 I think that then middle (wheel) click doesn't work; if it does, then

The middle click does work! However there is no middle key on thinkpad
track-point, thus it means at least some signal cannot be produced by
track-point is delivered to FreeBSD.

 just copy Ubuntu xorg.conf entry or check if trackpoint and external
 ps/2 mouse use different /dev.

Unfortunately it seems in dmesg only psm0 is discovered. dmesg attached

  Mouse section of xorg seems to be correct, and I think it's not useful
  to tweak X configuration if moused cannot by itself detect mouse wheel
  movement.
  
  Section InputDevice
  Identifier  Mouse0
  Driver  mouse
  Option  Protocol auto
  Option  Device /dev/sysmouse
  Option  Buttons 5
  Option  ZAxisMapping 4 5
  EndSection
 
 Generally, using two parallel mouse devices calls for two separate
 InputDevice mouse entries and for SendCoreEvents option.

Yes, if track-point and PS/2 have been discovered as two devices. 

 Please read this page:
 
   http://salisburys.net/PetersNotes-TW.html
   (choose External mouse wheels and wheel emulation...)

Very smart:)

 
 and consider experimenting with this:
 
   http://tpctl.sourceforge.net
   
 It doesn't seem ported, but they claim it runs on *BSD. Read the man
 page, --setup-pointing-device* options could maybe solve the problem.

compile failed with a lot of error messages. I'll try the good old
PS2.EXE later on DOS.

Thanks for all the info and help:)


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


Re: mouse wheel doesn't work

2007-07-20 Thread Nikola Lecic
On Sat, 21 Jul 2007 09:33:53 +0800
Zhang Weiwu [EMAIL PROTECTED] wrote:

 On Sat, 2007-07-21 at 01:42 +0200, Nikola Lecic wrote:
  I think that then middle (wheel) click doesn't work; if it does,
  then
 
 The middle click does work! However there is no middle key on thinkpad
 track-point, thus it means at least some signal cannot be produced by
 track-point is delivered to FreeBSD.

In Ubuntu? Please don't forget that Linux and FreeBSD use the same
Xorg, there is nothing Linux-specific about it. What can be the
difference, however, is that Linux maybe uses tpctl -- please check if
it is so.

But even so, maybe some functionality (of the trackpoint for example)
must be sacrified in order to get the external wheel working.
 
  just copy Ubuntu xorg.conf entry or check if trackpoint and external
  ps/2 mouse use different /dev.
 
 Unfortunately it seems in dmesg only psm0 is discovered. dmesg
 attached

dmesg is not here :)

  Please read this page:
  
http://salisburys.net/PetersNotes-TW.html
(choose External mouse wheels and wheel emulation...)
 
 Very smart:)

Well, have you tried that? (And I fotgot to ask: does wheel-click in
FreeBSD produce an X event?)

  and consider experimenting with this:
  
http://tpctl.sourceforge.net

  It doesn't seem ported, but they claim it runs on *BSD. Read the man
  page, --setup-pointing-device* options could maybe solve the
  problem.
 
 compile failed with a lot of error messages.

Ah, welcome to the realm of truth! A part of the world (very bad for
them) is gnu/linux-centic. I can't test it at the moment since
sourceforge is currently down, but please note two things:

  (a) configure script often can't find where libraries are installed;
  please take a look at './configure --help' and provide the
  correct paths where necessary;

  (b) don't forget that make (BSD make) is not fully compatible with the
  syntax of GNU Makefiles, so in that case you have to explicitly
  run 'gmake' when compiling something out of ports.

(If you can't compile it, start a thread about it, people will jump in
to help. Maybe you might even consider porting that peace of software to
FreeBSD :))

 I'll try the good old PS2.EXE later on DOS.

As you see, tpctl provides the same functionality as PS2.EXE and is
very feature-rich (much more beyond wheel functionality). I checked,
your Thinkpad model is listed as fully supported.

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


Re: mouse wheel doesn't work

2007-07-20 Thread Zhang Weiwu
On Sat, 2007-07-21 at 01:42 +0200, Nikola Lecic wrote:

 Yes, this is more likely -- the trackpoint and external ps/2 mouse
 collide. 

Thank you for the information! Now I have made it work.

0) edit /etc/rc.d/moused, remove '-t {$mytype}' from moused parameter
list:
#/usr/sbin/moused ${myflags} -p ${myport} -t ${mytype} ${_pidarg}
/usr/sbin/moused ${myflags} -p ${myport} ${_pidarg}
1) enter DOS mode with a Windows 98 rescue disk
2) use the PS2.EXE form Lenovo, run 'ps2.exe tpoint autodisable';
3) reboot, enter FreeBSD, mouse wheel is working now.


It's important to do step 0 because moused can only forward wheel scroll
to X if it's invoked without -t parameter. I think there are two bugs:

Bug A:

As manual of moused says:
 For the PS/2 mouse:
 ps/2 This is the only protocol type available for the
  PS/2 mouse and should be specified for any PS/2
  mice, regardless of the brand.
In fact, it is wrong! If I invoke moused with -t ps/2, mouse
wheel doesn't work.

This doesn't work (according to manual it should): 
moused -p /dev/psm0 -t ps/2
In fact, only this works: moused -p /dev/psm0, no -t
parameter.

This must be a bug. 100% of all users who read the manual should
directly conclude they should get equal or better result with -t
ps/2 than with no -t parameter for their ps/2 mouse, this is
wrong, they get better result without -t parameter.

Bug B:

As said in the manual, -t is an optional
parameter. /etc/rc.d/moused should respect this.

If user didn't specify -t, then it should not assume to use -t
microsoft, it should launch moused without -t parameter. Even
if there is a good reason to assume the device is microsoft
type, this assume logic should be placed in moused source code.
Moused should be the one knowing how to handle different
situation automatically and fall-back sanely. The rc.d script
tries to do too much and think it's smarter then device driver
on deciding device type without even communicating to device at
all.

This is a user's point of view and welcome developer with
background knowledge to correct me.

Thanks again Nikola for helping me out!

Best Regards

Zhang Weiwu

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


mouse wheel sends incorrect buttons

2007-03-10 Thread Jon Wolfgang
I am using a Microsoft Intellimouse Explorer in xwindows on FreeBSD 
6.2-RELEASE.


The mouse works correctly (except for the side buttons - I'll worry 
about those later), but the mouse wheel has some odd behaviour in apps 
like firefox and thunderbird.  Scrolling down works correctly, but 
scrolling up seems to send a button click as well as a scroll event.


I played around with xev and found that when scrolling up, a button4 
event is (correctly) sent, but then any other action sends a button9 and 
button8 event as well.  Scrolling down only sends a button5 event which 
is correct.  Here is the relevant section in xorg.conf:


Section InputDevice
   Identifier  Mouse0
   Driver  mouse
   Option  Protocol auto
   #Option Buttons 7
   Option  Buttons 5
   Option  Device /dev/psm0
   Option  ZAxisMapping 4 5
EndSection

I added the `Option Buttons 5' line hoping to remove the possibility 
of button 8 and 9 existing, but it didn't seem to work:


[EMAIL PROTECTED] ~]$ xmodmap -pp
There are 9 pointer buttons defined.

   PhysicalButton
Button  Code
   1  1
   2  2
   3  3
   4  4
   5  5
   6  6
   7  7
   8  8
   9  9


Then I tried mapping the button 8 and 9 keys to other buttons, but 
xmodmap didn't allow it.
Also, I'm not running moused if that is significant.  Does anyone have 
any suggestions?  I have seen some similar questions on forums and the 
mailing list archives, but no definitive solutions.  Any help would be 
great.


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


Re: portupgrade xorg-* - mouse-wheel stops working under X

2006-02-02 Thread Ewald Jenisch
On Fri, Jan 27, 2006 at 10:11:44AM -0500, George Fazio wrote:
 I had the same issue. My mouse wheel stopped working, and imwheel started
 using it for my broswer back/forward (instead of the buttons it's suppose to
 use). I was able to get the mouse wheel working again by editing my
 xorg.conf file, but I'm still having issues with imwheel which seem to stem
 from xmodmap saying my mouse should have 11 buttons and not 7 (which worked
 prior to the upgrade).

Hi George,

Sorry for getting back so late, but I've been away from any email for
the past days.

In short - it worked using your setup. Interestingly that you have to
disable moused in order to get the mouse fully working under X. Even
more interesting that nobody else seems to have stumbled across this
problem...

Thanks much for your hints!

-ewald

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


Re: portupgrade xorg-* - mouse-wheel stops working under X

2006-02-02 Thread Andrea Venturoli

Ewald Jenisch wrote:

On Fri, Jan 27, 2006 at 10:11:44AM -0500, George Fazio wrote:

I had the same issue. My mouse wheel stopped working, and imwheel started
using it for my broswer back/forward (instead of the buttons it's suppose to
use). I was able to get the mouse wheel working again by editing my
xorg.conf file, but I'm still having issues with imwheel which seem to stem
from xmodmap saying my mouse should have 11 buttons and not 7 (which worked
prior to the upgrade).


Hi George,

Sorry for getting back so late, but I've been away from any email for
the past days.

In short - it worked using your setup. Interestingly that you have to
disable moused in order to get the mouse fully working under X. Even
more interesting that nobody else seems to have stumbled across this
problem...



Not exactly, at least not for me.
I experienced the same problem, but I'm still using moused. I only had 
to remove

moused_flags=-z 4 5 #may not have been exactly so, I'm going by heart
from /etc/rc.conf.

Hope it helps.

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


Re: portupgrade xorg-* - mouse-wheel stops working under X

2006-02-02 Thread Andrew Pantyukhin
You can always tell xmodmap that you've got 11
buttons (or whatever xorg tells you in its log). Just
add ... 8 9 10 11 to the map and it will work fine
once again.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade xorg-* - mouse-wheel stops working under X

2006-02-02 Thread Xn Nooby
I fixed this problem by killing moused and setting the device to /dev/psm0.
I thought it was just me!



On 2/2/06, Andrew Pantyukhin [EMAIL PROTECTED] wrote:

 You can always tell xmodmap that you've got 11
 buttons (or whatever xorg tells you in its log). Just
 add ... 8 9 10 11 to the map and it will work fine
 once again.
 ___
 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]


Re: portupgrade xorg-* - mouse-wheel stops working under X

2006-02-02 Thread George Fazio
A friend of mine pointed me to this message from one of the Xorg lists. I
have not yet had time to test it, and it will probably be a couple days
before I do. Hope this helps everyone out. -George

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthias Hopf
Sent: Thursday, February 02, 2006 7:19 AM
To: Discuss issues related to the xorg tree
Subject: Re: ms intellimouse not working right


On Feb 01, 06 11:16:06 -0600, Jason Dravet wrote:
 I am using rawhide (fedora core development).  They just updated to xorg 7

 final and I was hoping that my mouse problem would be fixed, but it
wasn't.
 I have a 5 button + scrollwheel mouse (MS intellimouse explorer).  I want
 to use the side buttons.  In xorg 6.8 it worked great, but in 7 it does
not
 work.  Here is the mouse part of my xorg.conf:

 Section InputDevice
   Identifier Mouse0
   Driver mouse
   Option Protocol ExplorerPS/2
   Option Device /dev/input/mice
   Option Buttons 7
   Option Emulate3Buttons no
   Option ZAxisMapping 6 7
 EndSection

 I also have this file called mouse.sh in /etc/X11/xinit/xinitrc.d/
 #!/bin/sh
 # /etc/X11/xinit/xinitrc.d/mouse
 # Required for the configuration of a 5-button mouse
 xmodmap -e pointer = 1 2 3 6 7 4 5

No longer required, actually harmfull now.

man mouse (default was wrong, have commited that now):

   Option ButtonMapping N1 N2 [...]
  Specifies how physical mouse buttons are mapped to logical
 but-
  tons.   Physcial button 1 is mapped to logical button N1,
physi-
  cal button 2 to N2, and so forth.  This enables the use of
phys-
  icalbuttonsthatareobscuredby
ZAxisMapping.
  Default: 1 2 3 8 9 10 

So if you want to get buttons events 6 and 7 with physical buttons 4 and 5
you want
Option Buttons 5
Option ZAxisMapping 4 5
Option ButtonMapping 1 2 3 6 7

But as mice with two wheels are getting more available now, applications
might be configured to use buttons 6 and 7 for horizontal scrolling
soon. You might want to use the default configuration and configure
applications to use buttons 8 and 9 for button actions.

Though it is largely undecided right now whether the default like it is
now is a good idea, or whether other buttons should be reserved for the
secondary wheel.

 If I run mouse.sh I get this:
 xmodmap:  commandline:1:  bad number of buttons, must have 11 instead of 7
 xmodmap:  1 error encountered, aborting.

This is because due to default ButtonMapping you get 4 more buttons than
configured. But you don't want to use xmodmap any more.

 I was run xorg7 rc something and there was a discussion about the number
of
 buttons being hard coded or something like that the point is this is/was a

 known problem.  I can't find the thread now that I need it.

No. Different thing.

Matthias
--
Matthias Hopf [EMAIL PROTECTED]   ____   __
Maxfeldstr. 5 / 90409 Nuernberg(_   | |  (_   |__ [EMAIL PROTECTED]
Phone +49-911-74053-715__)  |_|  __)  |__  labs   www.mshopf.de
___
xorg mailing list
[EMAIL PROTECTED]
http://lists.freedesktop.org/mailman/listinfo/xorg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mouse wheel not working after upgrading KDE

2006-02-01 Thread David Israelsson
After upgrading KDE to the new 3.5 version from ports, my mouse wheel
stopped working.  I have the line:

  Option ZAxisMapping 4 5

in my xorg.conf, which has always worked fine before.  xev does not
report any events at all when scrolling the wheel in kde.  In other
wm's it works just like before.

How can I tell KDE not to steal my wheel events?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portupgrade xorg-* - mouse-wheel stops working under X

2006-01-27 Thread Ewald Jenisch
Hi,

Some days ago I portupgraded my system including some of the xorg-
ports like xorg-clients, xorg-server etc.

Since that upgrade the mouse wheel doesn't work any more under X-win

The problem definitely came with the upgrade. I've used the mouse
wheel for months without problems and didn't change anything
mouse-related in my config (i.e. /etc/rc.conf, and
/usr/X11R6/lib/X11/xorg.conf)

Here's what I have now:

# portversion -v | grep xorg
xorg-clients-6.9.0  =  up-to-date with port 
xorg-documents-6.9.0=  up-to-date with port 
xorg-fonts-100dpi-6.9.0 =  up-to-date with port 
xorg-fonts-75dpi-6.9.0  =  up-to-date with port 
xorg-fonts-encodings-6.9.0  =  up-to-date with port 
xorg-fonts-miscbitmaps-6.9.0  =  up-to-date with port 
xorg-fonts-truetype-6.9.0   =  up-to-date with port 
xorg-libraries-6.9.0=  up-to-date with port 
xorg-manpages-6.9.0 =  up-to-date with port 
xorg-server-6.9.0   =  up-to-date with port 
xorg-vfbserver-6.9.0=  up-to-date with port 
# 

Has anybody else experienced this problem?

Any cure?

Thanks much in advance for your help,
-ewald

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


Re: portupgrade xorg-* - mouse-wheel stops working under X

2006-01-27 Thread George Fazio
I had the same issue. My mouse wheel stopped working, and imwheel started
using it for my broswer back/forward (instead of the buttons it's suppose to
use). I was able to get the mouse wheel working again by editing my
xorg.conf file, but I'm still having issues with imwheel which seem to stem
from xmodmap saying my mouse should have 11 buttons and not 7 (which worked
prior to the upgrade).

Not sure what you're configuration is, but I had...

# Identifier and driver

Identifier  Mouse1
Driver  mouse
Option ProtocolAuto
Option Device  /dev/sysmouse
Option Buttons 7
Option ZAxisMapping 6 7

I change two lines, and disabled moused in my rc.conf file and killed the
process...

Option Device  /dev/psm0
Option ZAxisMapping 4 5

And, here's my .kde/Autostart/mouse.sh file that starts imwheel (failing
right now) incase anyone has any ideas on this.

xmodmap -e pointer = 1 2 3 4 5 6 7
imwheel -k -b 67

Hope this helps.

Goerge

On 1/27/06, Ewald Jenisch [EMAIL PROTECTED] wrote:

 Hi,

 Some days ago I portupgraded my system including some of the xorg-
 ports like xorg-clients, xorg-server etc.

 Since that upgrade the mouse wheel doesn't work any more under X-win

 The problem definitely came with the upgrade. I've used the mouse
 wheel for months without problems and didn't change anything
 mouse-related in my config (i.e. /etc/rc.conf, and
 /usr/X11R6/lib/X11/xorg.conf)


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


Re: mouse wheel problem

2005-09-03 Thread Wayne Sierke
On Thu, 2005-09-01 at 09:38 -0700, Dave McCammon wrote:
 
 --- Alejandro Pulver [EMAIL PROTECTED] wrote:
  Hello,
  
  It works for me without the ZAxisMapping option
  (and the same
  options in rc.conf):
  
  Identifier  Mouse1
  Driver  mouse
  Option  Protocol  Auto
  Option  Device/dev/sysmouse
  Option  Buttons   5
  
  Best Regards,
  Ale
 
 I had a heck of a time getting my wheel to work in
 RELENG_6. Eventually, starting moused with setting in
 rc.conf(below) and turning off Emulate3Buttons (had to
 put line in with the false. commenting out didn't
 work) and adding the Buttons line worked. The
 instructions out of the handbook didn't work this
 time.
 
I found the same with my Logitech MX500 - I had to add Emulate3Buttons
false whereas as best as I can remember it seemed that everything I
was reading at the time was telling me I only needed to set it to true
if I wanted to enable that option. Curious.

At the time this configuration was done I was probably running 5.3 and X
might still have been XFree86. The same config is working now with 5.4
and Xorg.

 xorg.conf sections--
 Section InputDevice
 
 # Identifier and driver
 
 Identifier  Mouse1
  Driver mouse
  Option Protocolauto
  Option Device  /dev/sysmouse
 
 Option Emulate3Buttons false
Option Buttons 5
 
 EndSection
 
Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 8 9
# Had to put this in because default is true!?!?
Option  Emulate3Buttons False
Option  Buttons 9
EndSection

 rc.conf---
 moused_enable=YES
 moused_type=auto
 moused_flags=-z 4
 
moused_enable=YES
moused_flags=-a 2.0 -z 8
moused_type=auto

The [ZAxisMapping 8 9], [Buttons 9] and [moused_flags=-z 8]
entries allow me to use both the scroll-wheel *and* the two buttons
adjacent to the scroll-wheel to scroll - I quite like being able to just
hold down either of those two buttons to scroll through long documents,
as it's much less finger-strain than lots of wheeling, and often more
convenient than mousing the cursor into the scroll bars which tend to be
quite narrow on my high-res display.

 excerpt from dmesg--
 psm0: PS/2 Mouse irq 12 on atkbdc0
 psm0: [GIANT-LOCKED]
 psm0: model IntelliMouse, device ID 3
 
 (It is a Logitech optic mouse.Two button with Wheel)
 
ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/18.00, addr 2, iclass 3/1
ums0: 7 buttons and Z dir.

I don't understand why it describes it as 7 buttons. There are the
'left' and 'right' buttons, two thumb buttons, two adjacent to the
mouse-wheel, plus another button on top behind the wheel, so that's 7
buttons. But then there's the wheel button itself which is the third
or middle button, so surely there are 8 buttons on this mouse, plus
the Z dir of the wheel. Curious.


Wayne


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


Re: mouse wheel problem

2005-09-01 Thread Efren Bravo
Hi, 
 
I solved the mousewheel problem. I had to comment out all related with 
moused on /etc/rc.conf to use the /dev/psm0 device 
on /etc/X11/xorg.conf:   
   
Section InputDevice 
Identifier  Mouse0 
Driver  mouse 
Option  Protocol auto 
Option  Device /dev/psm0 
Option  Buttons 5 
Option  ZAxisMapping 4 5 
EndSection 
 
Thanks for your time.. 
  
 
 
-Original Message- 
From: Jared Barneck [EMAIL PROTECTED] 
To: Efren Bravo [EMAIL PROTECTED] 
Cc: freebsd-questions@freebsd.org 
Date: Wed, 31 Aug 2005 19:47:04 -0600 
Subject: Re: mouse wheel problem 
 
 Alejandro Pulver wrote: 
  
 On Tue, 30 Aug 2005 11:57:18 -0500 
 Efren Bravo [EMAIL PROTECTED] wrote: 
  

  
 Hi,   

 I've written on /etc/rc.conf :   

 moused_port=/dev/psm0   
 moused_flags=-r high -z 4   
 moused_type=auto   
 moused_enable=YES   

  
  
 I joined late so I don't know if this is a USB mouse or not.  If it is 
 a  
 USB mouse, the you shouldn't enable moused in rc.conf because it will 
 be  
 launched by usb.conf. (ignore this if not a usb mouse) 
  
 Also, many people change settings in one xorg.conf only to find out 
 they  
 are using a different conf file in another directory.  Check that.   
 Maybe your settings are not taking because of that? 
  
 and on /etc/X11/xorg.conf   

 Section InputDevice   
 Identifier  Mouse0   
 Driver  mouse   
 Option  Protocol auto   
 Option  Device /dev/sysmouse   
 Option  Buttons 5   
 Option  ZAxisMapping 4 5   
 EndSection   

 But the scrollwheel doesn't work. I've tried with Kde's 
 Applications.  
 Have I a bad configuration?   

 Thanks...   
  
  
  
  
 Hello, 
  
 It works for me without the ZAxisMapping option (and the same 
 options in rc.conf): 
  
 Identifier   Mouse1 
 Driver   mouse 
 Option   Protocol  Auto 
 Option   Device/dev/sysmouse 
 Option   Buttons   5 
  
 Best Regards, 
 Ale 
 ___ 
 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]


Re: mouse wheel problem

2005-09-01 Thread Dave McCammon


--- Alejandro Pulver [EMAIL PROTECTED] wrote:

 On Tue, 30 Aug 2005 11:57:18 -0500
 Efren Bravo [EMAIL PROTECTED] wrote:
 
  Hi,  

  I've written on /etc/rc.conf :  

  moused_port=/dev/psm0  
  moused_flags=-r high -z 4  
  moused_type=auto  
  moused_enable=YES  

  and on /etc/X11/xorg.conf  

  Section InputDevice  
  Identifier  Mouse0  
  Driver  mouse  
  Option  Protocol auto  
  Option  Device /dev/sysmouse  
  Option  Buttons 5  
  Option  ZAxisMapping 4 5  
  EndSection  

  But the scrollwheel doesn't work. I've tried with
 Kde's
  Applications. 
  Have I a bad configuration?  

  Thanks...  
  
 
 Hello,
 
 It works for me without the ZAxisMapping option
 (and the same
 options in rc.conf):
 
 IdentifierMouse1
 Drivermouse
 OptionProtocol  Auto
 OptionDevice/dev/sysmouse
 OptionButtons   5
 
 Best Regards,
 Ale

I had a heck of a time getting my wheel to work in
RELENG_6. Eventually, starting moused with setting in
rc.conf(below) and turning off Emulate3Buttons (had to
put line in with the false. commenting out didn't
work) and adding the Buttons line worked. The
instructions out of the handbook didn't work this
time.

xorg.conf sections--
Section InputDevice

# Identifier and driver

Identifier  Mouse1
 Driver mouse
 Option Protocolauto
 Option Device  /dev/sysmouse

Option Emulate3Buttons false
   Option Buttons 5

EndSection

rc.conf---
moused_enable=YES
moused_type=auto
moused_flags=-z 4

excerpt from dmesg--
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3

(It is a Logitech optic mouse.Two button with Wheel)



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mouse wheel problem

2005-09-01 Thread Ed Stover
On Thu, September 1, 2005 10:38 am, Dave McCammon wrote:


 --- Alejandro Pulver [EMAIL PROTECTED] wrote:

 On Tue, 30 Aug 2005 11:57:18 -0500
 Efren Bravo [EMAIL PROTECTED] wrote:

  Hi,
 
  I've written on /etc/rc.conf :
 
  moused_port=/dev/psm0
  moused_flags=-r high -z 4
  moused_type=auto
  moused_enable=YES
 
  and on /etc/X11/xorg.conf
 
  Section InputDevice
  Identifier  Mouse0
  Driver  mouse
  Option  Protocol auto
  Option  Device /dev/sysmouse
  Option  Buttons 5
  Option  ZAxisMapping 4 5
  EndSection
 
  But the scrollwheel doesn't work. I've tried with
 Kde's
  Applications.
  Have I a bad configuration?
 
  Thanks...
 

 Hello,

 It works for me without the ZAxisMapping option
 (and the same
 options in rc.conf):

 Identifier   Mouse1
 Driver   mouse
 Option   Protocol  Auto
 Option   Device/dev/sysmouse
 Option   Buttons   5

 Best Regards,
 Ale

 I had a heck of a time getting my wheel to work in
 RELENG_6. Eventually, starting moused with setting in
 rc.conf(below) and turning off Emulate3Buttons (had to
 put line in with the false. commenting out didn't
 work) and adding the Buttons line worked. The
 instructions out of the handbook didn't work this
 time.

 xorg.conf sections--
 Section InputDevice

 # Identifier and driver

 Identifier  Mouse1
  Driver mouse
  Option Protocolauto
  Option Device  /dev/sysmouse

 Option Emulate3Buttons false
Option Buttons 5

 EndSection

 rc.conf---
 moused_enable=YES
 moused_type=auto
 moused_flags=-z 4

 excerpt from dmesg--
 psm0: PS/2 Mouse irq 12 on atkbdc0
 psm0: [GIANT-LOCKED]
 psm0: model IntelliMouse, device ID 3

 (It is a Logitech optic mouse.Two button with Wheel)



Yeah , this one time at band camp, I had a brand new mouse with a wheel
and for the life of me i couldent get the stupid thing to work. I treid
everything from new drivers, x configs, etc, etc turned out, my mouse
was honestly brokewasted about four hours on that stupid thing... grr.
Who needs mice anyways...

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


Re: mouse wheel problem

2005-08-31 Thread Alejandro Pulver
On Tue, 30 Aug 2005 11:57:18 -0500
Efren Bravo [EMAIL PROTECTED] wrote:

 Hi,  
   
 I've written on /etc/rc.conf :  
   
 moused_port=/dev/psm0  
 moused_flags=-r high -z 4  
 moused_type=auto  
 moused_enable=YES  
   
 and on /etc/X11/xorg.conf  
   
 Section InputDevice  
 Identifier  Mouse0  
 Driver  mouse  
 Option  Protocol auto  
 Option  Device /dev/sysmouse  
 Option  Buttons 5  
 Option  ZAxisMapping 4 5  
 EndSection  
   
 But the scrollwheel doesn't work. I've tried with Kde's
 Applications. 
 Have I a bad configuration?  
   
 Thanks...  
 

Hello,

It works for me without the ZAxisMapping option (and the same
options in rc.conf):

Identifier  Mouse1
Driver  mouse
Option  Protocol  Auto
Option  Device/dev/sysmouse
Option  Buttons   5

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


mouse wheel problem

2005-08-30 Thread Efren Bravo
Hi,  
  
I've written on /etc/rc.conf :  
  
moused_port=/dev/psm0  
moused_flags=-r high -z 4  
moused_type=auto  
moused_enable=YES  
  
and on /etc/X11/xorg.conf  
  
Section InputDevice  
Identifier  Mouse0  
Driver  mouse  
Option  Protocol auto  
Option  Device /dev/sysmouse  
Option  Buttons 5  
Option  ZAxisMapping 4 5  
EndSection  
  
But the scrollwheel doesn't work. I've tried with Kde's Applications.  
  
Have I a bad configuration?  
  
Thanks...  


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


mouse wheel problem

2005-08-30 Thread Robert Huff

Efren Bravo writes:

  Section InputDevice  
  Identifier  Mouse0  
  Driver  mouse  
  Option  Protocol auto  
  Option  Device /dev/sysmouse  
  Option  Buttons 5  
  Option  ZAxisMapping 4 5  
  EndSection  

  But the scrollwheel doesn't work. I've tried with Kde's Applications.  

  Have I a bad configuration?  

Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 Option  Device /dev/sysmouse
 Option  Protocol auto
 Option  Buttons 7
 Option  ZAxisMapping 4 5
 Option  Emulate3Buttons
 Option  ChordMiddle
EndSection

works for me under plain X.  (I don't use KDE.)


Robert Huff

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


Re: mouse wheel problem

2005-08-30 Thread Gary W. Swearingen
Efren Bravo [EMAIL PROTECTED] writes:

 Have I a bad configuration?  

You might need these in your /etc/rc.conf (and a re-boot):

moused_enable=YES
moused_flags=-z 4 5
##moused_flags=-m 1=3 -m 3=1 -z 4 5  ## I'll try un-swapped buttons for a 
while.
moused_port=/dev/psm0
moused_type=auto
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mouse wheel problem

2005-08-30 Thread David Kirchner
On 8/30/05, Efren Bravo [EMAIL PROTECTED] wrote:
 Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 Option  Protocol auto
 Option  Device /dev/sysmouse
 Option  Buttons 5
 Option  ZAxisMapping 4 5
 EndSection
 
 But the scrollwheel doesn't work. I've tried with Kde's Applications.

I've never used moused, and I have the mousewheel working in all apps
(although I don't run KDE). The primary difference between my setup
and yours is that I have Option Buttons 7 rather than 5, and am
using a USB mouse. I suspect the former is more relevant than the
latter.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: HOWTO : Setting Up a mouse + wheel on a traditional ps/2 port in FBSD 5.3

2005-02-28 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Valery
 Sent: Saturday, February 26, 2005 10:35 PM
 To: freebsd-questions@freebsd.org
 Subject: HOWTO : Setting Up a mouse + wheel on a traditional ps/2 port
 in FBSD 5.3


 * Setting Up a mouse + wheel on a traditional ps/2 port in FBSD 5.3
... and others ... *


Hey Valery, a few things on this:

This only works for mice that support the intellimouse protocol.

Simplest way to find out if your mouse supports this is to kill
the moused daemon, then issue the command:

moused -p /dev/psm0 -t auto -d -f

and read the first line, it will print out the model of the mouse
(for example MouseMan+) then move the
wheel up and down should generate a stream of events on the console

If moving the wheel generates nothing, buy a different mouse.

usb and serial mice with wheels can be tested with the same procedure
except change the port -p  of course.

 1. Must know
   ps2 bus   : the ps/2 bus is mapped as /dev/psm0
   /dev/psm0 : support only 'ps/2' protocol ( moused(8) )
   moused : map /dev/psm0 as a virtual port to
/dev/sysmouse (ie like /dev/ttyv0 is a virtual tty)
   X : work with the /dev/sysmouse virtual device as
 input device.
   xorg.conf : When setting up Protocol to Auto the protocol choosed
   by X is ps/2 which don't work for me (i don't know how to
   use a wheel with it without setting up parms for
 each apps)
   xorg.conf : setting up Protocol to sysmouse is the best
 way i find
   to use my wheel. /sysmouse/ work natively with xterm,
   Mozilla, and so on. No needs to change anything.


You should NEVER set the protocol for the mouse in either Xfree86 or
xorg to anything other than sysmouse, when using FreeBSD.  And, if
your going to run X you should -always- run moused.

Per the man page if you use moused, ps/2 or auto are the only acceptable
protocols that are allowed to be set for the ps/2 port.

During the FreeBSD installation for 4.X you are asked to set these up.

 2. Parameters
   /etc/rc.conf :
   moused -p /dev/psm0 -t ps/2

moused -p /dev/psm0 -t auto

is setup by the FreeBSD installation program and it will work just as
well.

Note - many wheel mice use a push on the wheel as a second button.


   /etc/X11/xorg.conf :
   Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 OptionProtocol sysmouse
 OptionDevice /dev/sysmouse
 OptionButtons 5
 OptionZAxisMapping X

This probably should be:

  OptionZAxisMapping 4 5

In fact, the only thing that generally needs to be added to this section
is:

  OptionButtons 5
  OptionZAxisMapping 4 5


   EndSection

 3. Some tips
   Testing :
   1 - kill the moused daemon
   2 - set mouse on console : vidcontrol -m on
   3 - launch moused on foreground to see if it's work :
moused -f -p /dev/psm0 -t ps/2
   4 - press ^C to end
   5 - if result are ok, launch moused with your previous parms
   6 - set up rc.conf  xorg.conf as above.
   7 - try to use a lightweight wm like IceWM or twm to test,
   it respect well X parms.


For testing with twm:

fill an xterm with text, scroll up and down.

firefox also supports the scroll wheel.

 4. Comments
i don't know why, but logoff/login or reboot your computer
 in order to
   get this stuff working properly : first time i set this parms, they
   don't work. Because i was almost sure they must work, i rebooted my
   computer and they work fine. Perhaps some guy from BSD could
   explain ...


I don't understand how your X server got:

   My X.log whith the 'sysmouse' protocol :
.
.
   (**) Option ZAxisMapping 4 5
   (**) Mouse0: ZAxisMapping: buttons 4 and 5

when you had configured

  OptionZAxisMapping X

If I knew I could probably tell you why rebooting worked.

Ted

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


Re: HOWTO : Setting Up a mouse + wheel on a traditional ps/2 port in FBSD 5.3

2005-02-28 Thread Valery
Ted Mittelstaedt wrote:
Hey Valery, a few things on this:
This only works for mice that support the intellimouse protocol.
Simplest way to find out if your mouse supports this is to kill
the moused daemon, then issue the command:
moused -p /dev/psm0 -t auto -d -f
All right, this explain a lot of mis-understand things i found
on the net (same parms working for one and not for others)
You should NEVER set the protocol for the mouse in either Xfree86 or
xorg to anything other than sysmouse, when using FreeBSD.  And, if
your going to run X you should -always- run moused.
Ok, that's what i found. But, why X choose ps/2 when Protocol
is set to Auto ?
I'm afraid that informations about Protocol sysmouse are very
difficult to find. I did not on my side, not even on the net nor
on the FreeBSD or X documentations.
Note - many wheel mice use a push on the wheel as a second button.
Thank
I don't understand how your X server got:
 My X.log whith the 'sysmouse' protocol :
(**) Option ZAxisMapping 4 5
(**) Mouse0: ZAxisMapping: buttons 4 and 5
when you had configured
  OptionZAxisMapping X
If I knew I could probably tell you why rebooting worked.
Sorry, it was the previous version of my log file.
(always difficult to write a summary with a lot of pieces)
Perhaps a mobo pb., or a forgot of mine, no matter to worry about that.
I'm sometimes Aemnesiac too ... :o)
Many thanks Ted for your tips. i hope that the whole thing will be
interesting for others, sheding a light on this stuff.
Just a little thing - to be clean - i found after posting :
2. Parameters
 /etc/X11/xorg.conf :
Section InputDevice
  # All parms according to previous posts and ...
  Option  Emulate3Buttons Off
EndSection
Regards,
v/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: HOWTO : Setting Up a mouse + wheel on a traditional ps/2 port in FBSD 5.3

2005-02-28 Thread Ted Mittelstaedt


 -Original Message-
 From: Valery [mailto:[EMAIL PROTECTED]
 Sent: Monday, February 28, 2005 4:24 AM
 To: Ted Mittelstaedt
 Cc: freebsd-questions@freebsd.org
 Subject: Re: HOWTO : Setting Up a mouse + wheel on a traditional ps/2
 port in FBSD 5.3


 Ted Mittelstaedt wrote:

  Hey Valery, a few things on this:
 
  This only works for mice that support the intellimouse protocol.
 
  Simplest way to find out if your mouse supports this is to kill
  the moused daemon, then issue the command:
 
  moused -p /dev/psm0 -t auto -d -f
 

 All right, this explain a lot of mis-understand things i found
 on the net (same parms working for one and not for others)

  You should NEVER set the protocol for the mouse in either Xfree86 or
  xorg to anything other than sysmouse, when using FreeBSD.  And, if
  your going to run X you should -always- run moused.
 
 Ok, that's what i found. But, why X choose ps/2 when Protocol
 is set to Auto ?

auto instructs the mouse daemon that when it sees a ps/2 port to use
the ps/2 protocol, when it sees a serial port to probe for that, when
it sees a usb port to setup for usb protocol.

It is preferable particularly in a doc like this because it applies
universally.

 I'm afraid that informations about Protocol sysmouse are very
 difficult to find. I did not on my side, not even on the net nor
 on the FreeBSD or X documentations.


You don't need to worry about it.  Any problems between moused and
X's support for the sysmouse protocol are something an ordinary user
probably will never see.  This can be ignored as the problem of the
moused authors and X authors.

What an ordinary user needs to be concerned with is if moused is
correctly talking to their rodent.

  Note - many wheel mice use a push on the wheel as a second button.

 Thank

  I don't understand how your X server got:
 
   My X.log whith the 'sysmouse' protocol :
 (**) Option ZAxisMapping 4 5
 (**) Mouse0: ZAxisMapping: buttons 4 and 5
 
  when you had configured
 
OptionZAxisMapping X
 
  If I knew I could probably tell you why rebooting worked.

 Sorry, it was the previous version of my log file.
 (always difficult to write a summary with a lot of pieces)
 Perhaps a mobo pb., or a forgot of mine, no matter to worry about that.
 I'm sometimes Aemnesiac too ... :o)

 Many thanks Ted for your tips. i hope that the whole thing will be
 interesting for others, sheding a light on this stuff.

 Just a little thing - to be clean - i found after posting :
 2. Parameters
   /etc/X11/xorg.conf :
  Section InputDevice
# All parms according to previous posts and ...
Option  Emulate3Buttons Off

It's off whenever more than 2 buttons are detected - a wheel mouse always
has more than 2 - but this might prevent a useless error message in the
log

Ted

  EndSection

 Regards,

 v/


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


HOWTO : Setting Up a mouse + wheel on a traditional ps/2 port in FBSD 5.3

2005-02-27 Thread Valery
* Setting Up a mouse + wheel on a traditional ps/2 port in FBSD 5.3
  ... and others ... *
1. Must know
 ps2 bus   : the ps/2 bus is mapped as /dev/psm0
 /dev/psm0 : support only 'ps/2' protocol ( moused(8) )
 moused: map /dev/psm0 as a virtual port to
 /dev/sysmouse (ie like /dev/ttyv0 is a virtual tty)
 X : work with the /dev/sysmouse virtual device as input device.
 xorg.conf : When setting up Protocol to Auto the protocol choosed
 by X is ps/2 which don't work for me (i don't know how to
 use a wheel with it without setting up parms for each apps)
 xorg.conf : setting up Protocol to sysmouse is the best way i find
 to use my wheel. /sysmouse/ work natively with xterm,
 Mozilla, and so on. No needs to change anything.
2. Parameters
 /etc/rc.conf :
moused -p /dev/psm0 -t ps/2
 /etc/X11/xorg.conf :
Section InputDevice
  Identifier  Mouse0
  Driver  mouse
  OptionProtocol sysmouse
  OptionDevice /dev/sysmouse
  OptionButtons 5
  OptionZAxisMapping X
EndSection
3. Some tips
 Testing :
 1 - kill the moused daemon
 2 - set mouse on console : vidcontrol -m on
 3 - launch moused on foreground to see if it's work :
  moused -f -p /dev/psm0 -t ps/2
 4 - press ^C to end
 5 - if result are ok, launch moused with your previous parms
 6 - set up rc.conf  xorg.conf as above.
 7 - try to use a lightweight wm like IceWM or twm to test,
 it respect well X parms.
4. Comments
  i don't know why, but logoff/login or reboot your computer in order to
 get this stuff working properly : first time i set this parms, they
 don't work. Because i was almost sure they must work, i rebooted my
 computer and they work fine. Perhaps some guy from BSD could
 explain ...
 My X.log whith the 'sysmouse' protocol :
(**) Option Protocol sysmouse
(**) Mouse0: Device: /dev/sysmouse
(**) Mouse0: Protocol: sysmouse
(**) Option CorePointer
(**) Mouse0: Core Pointer
(**) Option Device /dev/sysmouse
(**) Option BaudRate 1200
(**) Option StopBits 2
(**) Option DataBits 8
(**) Option Parity None
(**) Option Vmin 1
(**) Option Vtime 0
(**) Option FlowControl None
(**) Option Buttons 5
(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Option ZAxisMapping 4 5
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 5
(**) Mouse0: BaudRate: 1200
// ... //
(II) 3rd Button detected: disabling emulate3Button
5. Probed apps
  xterm
  Mozilla
  gVim
6. Ref.
  sysmouse(4), moused(8)
  /usr/X11R6/lib/X11/doc/README.mouse ...
  ... no information about sysmouse protocol
  http://colas.nahaboo.net/mouse-wheel-scroll/#FAQ
yours
v/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mouse wheel

2004-12-09 Thread dusan
hi there. can somebody tell me the best way how to configure mouse wheel 
on freebsd ?? thx alt
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mouse wheel

2004-12-09 Thread Kevin D. Kinsey, DaleCo, S.P.
dusan  wrote:
hi there. can somebody tell me the best way how to configure mouse 
wheel on freebsd ?? thx alt
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


Check the FAQ for the answer to the question My mouse has a fancy 
wheel.

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


Re: mouse wheel

2004-12-09 Thread martin hudec
Hello,

On Thu, Dec 09, 2004 at 05:32:07PM +0100 or thereabouts, dusan  wrote:
 hi there. can somebody tell me the best way how to configure mouse wheel 
 on freebsd ?? thx alt

never heard about mouse wheel in console environment, never
needed to use it. But if your question is pointed out for
X environment then you need to add to your XFree86/Xorg config
located at /etc/X11 following line:

Option ZAxisMapping 4 5

in section named InputDevice with Identifier like 'Mouse'.


Cheers,

Martin


-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgpR90ruEloAZ.pgp
Description: PGP signature


Re: mouse wheel

2004-12-09 Thread Dan Kilbourne
martin hudec extolled:

 never heard about mouse wheel in console environment, never

I use it daily - highlight with the mouse to select and copy text, 
middle click to paste. Quite convenient.

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


Re: mouse wheel

2004-12-09 Thread Danny Howard
dusan  wrote:
hi there. can somebody tell me the best way how to configure mouse 
wheel on freebsd ?? thx alt
dusan,
Someone already has:
http://www.gsoft.com.au/~doconnor/x-wheel.html
-danny
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mouse wheel on XOrg 6.7.0 (FreeBSD 5.3-beta5)

2004-09-26 Thread Seahawk

I've had my mousewheel running under XOrg, these are the following lines I
put in the two following files


rc.conf:

moused_enable=YES
moused_type=auto
moused_flags=-z 4


xorg.conf:

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  Buttons 5
EndSection


I just used the instructions on the FreeBSD faq here:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/x.html#X-AND-WHEEL

and just used the examples for XFree86 4.x in my xorg.conf file


-Chad



On Sat, 25 Sep 2004, David Gerard wrote:

 I've just installed the latest 5.3 beta with XOrg 6.7.0.
 The mouse works, except I can't get the mouse wheel to work.
 The mouse section of xorg.conf is as follows:

  I recently switched to X.org without changing any of my configuration.
  My mouse section looks like this:
  Section InputDevice
  Identifier  Mouse0
  Driver  mouse
  Option  Protocol SysMouse
  Option  Device /dev/sysmouse
  Option  ZAxisMapping  4 5
  EndSection
  Works fine. I guess you have to change the protocol to SysMouse.

 Alex de Kruijff wrote:

   This needs to go in /etc/rc.conf
   moused_flags=-a .4
   moused_port=/dev/psm0
   moused_type=auto
   moused_enable=YES
   The value afther a is a correction factor.


 Unfortunately, neither of these suggestions work, either separately
 or together!

 More detail: the mouse is a Compaq (Logitech) USB optical mouse.
 I did try moused_port=/dev/ums0 as well.

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


Mouse wheel on XOrg 6.7.0 (FreeBSD 5.3-beta5)

2004-09-25 Thread David Gerard
I've just installed the latest 5.3 beta with XOrg 6.7.0.
The mouse works, except I can't get the mouse wheel to work.
The mouse section of xorg.conf is as follows:
Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol Auto
Option  Device /dev/sysmouse
Option  Buttons 5
Option  ZAxisMapping 4 5
EndSection
The last two option lines are as the XFree86 config on my
old 4.x install was.
Is there something simple and obvious I haven't done?
- d.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mouse wheel on XOrg 6.7.0 (FreeBSD 5.3-beta5)

2004-09-25 Thread Benjamin Walkenhorst
On Sat, 25 Sep 2004 12:44:46 +0100
David Gerard [EMAIL PROTECTED] wrote:

 I've just installed the latest 5.3 beta with XOrg 6.7.0.
 The mouse works, except I can't get the mouse wheel to work.
 
 The mouse section of xorg.conf is as follows:
 

[ ... ]

 
 The last two option lines are as the XFree86 config on my
 old 4.x install was.
 
 Is there something simple and obvious I haven't done?

I recently switched to X.org without changing any of my configuration.
My mouse section looks like this:

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol SysMouse
Option  Device /dev/sysmouse
Option  ZAxisMapping  4 5
EndSection

Works fine. I guess you have to change the protocol to SysMouse.

 - d.

Hope it helps,
Benjamin

-- 
If cars had improved at [the computer industry's] rate, a Rolls Royce
would now cost 10 dollars and get a billion miles per gallon.
(Unfortunately, it would probably also have 200-page manual telling how
to open the door.)
--
Andrew Tanenbaum, Introduction To Distributed Systems
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mouse wheel on XOrg 6.7.0 (FreeBSD 5.3-beta5)

2004-09-25 Thread Alex de Kruijff
On Sat, Sep 25, 2004 at 12:44:46PM +0100, David Gerard wrote:
 I've just installed the latest 5.3 beta with XOrg 6.7.0.
 The mouse works, except I can't get the mouse wheel to work.
 
 The mouse section of xorg.conf is as follows:
 
 Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 Option  Protocol Auto
 Option  Device /dev/sysmouse
 Option  Buttons 5
 Option  ZAxisMapping 4 5
 EndSection
 
 The last two option lines are as the XFree86 config on my
 old 4.x install was.
 
 Is there something simple and obvious I haven't done?

This needs to go in /etc/rc.conf
moused_flags=-a .4
moused_port=/dev/psm0
moused_type=auto
moused_enable=YES

The value afther a is a correction factor.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mouse wheel on XOrg 6.7.0 (FreeBSD 5.3-beta5)

2004-09-25 Thread David Gerard
Benjamin Walkenhorst wrote:
David Gerard [EMAIL PROTECTED] wrote:

I've just installed the latest 5.3 beta with XOrg 6.7.0.
The mouse works, except I can't get the mouse wheel to work.
The mouse section of xorg.conf is as follows:

I recently switched to X.org without changing any of my configuration.
My mouse section looks like this:
Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol SysMouse
Option  Device /dev/sysmouse
Option  ZAxisMapping  4 5
EndSection
Works fine. I guess you have to change the protocol to SysMouse.
Alex de Kruijff wrote:
 This needs to go in /etc/rc.conf
 moused_flags=-a .4
 moused_port=/dev/psm0
 moused_type=auto
 moused_enable=YES
 The value afther a is a correction factor.
Unfortunately, neither of these suggestions work, either separately
or together!
More detail: the mouse is a Compaq (Logitech) USB optical mouse.
I did try moused_port=/dev/ums0 as well.
Any other ideas?
- d.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mouse wheel on XOrg 6.7.0 (FreeBSD 5.3-beta5)

2004-09-25 Thread Joe Altman
On Sat, Sep 25, 2004 at 12:44:46PM +0100, David Gerard wrote:
 I've just installed the latest 5.3 beta with XOrg 6.7.0.
 The mouse works, except I can't get the mouse wheel to work.
 
 The mouse section of xorg.conf is as follows:
 
 Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 Option  Protocol Auto
 Option  Device /dev/sysmouse
 Option  Buttons 5
 Option  ZAxisMapping 4 5
 EndSection
 
 The last two option lines are as the XFree86 config on my
 old 4.x install was.
 
 Is there something simple and obvious I haven't done?

Case on the word auto?

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5
EndSection

Check the log to see if the Protocol Auto is unknown, or otherwise
throws an error.

-- 
One million points of light shining on the new world-order model for
fascism and tyranny. Get in line.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mouse wheel on XOrg 6.7.0 (FreeBSD 5.3-beta5)

2004-09-25 Thread Benjamin Walkenhorst
On Sat, 25 Sep 2004 22:27:41 +0100
David Gerard [EMAIL PROTECTED] wrote:

 Unfortunately, neither of these suggestions work, either separately
 or together!
 
 More detail: the mouse is a Compaq (Logitech) USB optical mouse.
 I did try moused_port=/dev/ums0 as well.
 
 Any other ideas?

I am sorry it didn't work. 
I have been using PS/2 for mouse and keyboard since I got my first
ATX-board. I tried a USB-mouse once, under Linux, and it didn't work, so
I never tried again... ;-/ If it has to do with the mouse being a
USB-mouse, I'm out of my element. =(

But wait, does moused work? If not, is it giving any error messages?
If moused does not work - or doesn't work with the mousewheel, anyway -
X.org won't support the mousewheel, either.
You can also try to configure moused via /sbin/sysinstall.

 - d.

Kind regards,
Benjamin

-- 
If cars had improved at [the computer industry's] rate, a Rolls Royce
would now cost 10 dollars and get a billion miles per gallon.
(Unfortunately, it would probably also have 200-page manual telling how
to open the door.)
--
Andrew Tanenbaum, Introduction To Distributed Systems
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mouse wheel on XOrg 6.7.0 (FreeBSD 5.3-beta5)

2004-09-25 Thread David Gerard
Joe Altman wrote:
On Sat, Sep 25, 2004 at 12:44:46PM +0100, David Gerard wrote:

The mouse section of xorg.conf is as follows:
   Option  Protocol Auto

Case on the word auto?
Check the log to see if the Protocol Auto is unknown, or otherwise
throws an error.
Appears not:
(**) Option Protocol Auto
(**) Mouse1: Device: /dev/sysmouse
(**) Mouse1: Protocol: Auto
(**) Option CorePointer
(**) Mouse1: Core Pointer
(**) Option Device /dev/sysmouse
(==) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(==) Mouse1: Buttons: 3
(II) Keyboard Keyboard1 handled by legacy driver
(II) XINPUT: Adding extended input device Mouse1 (type: MOUSE)
(II) Mouse1: SetupAuto: hw.iftype is 4, hw.model is 0
(II) Mouse1: SetupAuto: protocol is SysMouse
- d.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mouse wheel on XOrg 6.7.0 (FreeBSD 5.3-beta5)

2004-09-25 Thread David Gerard
Benjamin Walkenhorst wrote:
 I have been using PS/2 for mouse and keyboard since I got my first
 ATX-board. I tried a USB-mouse once, under Linux, and it didn't work, so
 I never tried again... ;-/ If it has to do with the mouse being a
 USB-mouse, I'm out of my element. =(

The same mouse on the same box worked in 4.x with XFree86, that's what's
so odd about this ...
 But wait, does moused work? If not, is it giving any error messages?

Seems to work - I have a mouse cursor when not in X.
 If moused does not work - or doesn't work with the mousewheel, anyway -
 X.org won't support the mousewheel, either.
 You can also try to configure moused via /sbin/sysinstall.

Did that :-)
Thanks anyway :-)
- d.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mouse wheel on XOrg 6.7.0 (FreeBSD 5.3-beta5)

2004-09-25 Thread Alex de Kruijff
On Sat, Sep 25, 2004 at 10:27:41PM +0100, David Gerard wrote:
 Benjamin Walkenhorst wrote:
 David Gerard [EMAIL PROTECTED] wrote:
 
 I've just installed the latest 5.3 beta with XOrg 6.7.0.
 The mouse works, except I can't get the mouse wheel to work.
 The mouse section of xorg.conf is as follows:
 
 I recently switched to X.org without changing any of my configuration.
 My mouse section looks like this:
 Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 Option  Protocol SysMouse
 Option  Device /dev/sysmouse
 Option  ZAxisMapping  4 5
 EndSection
 Works fine. I guess you have to change the protocol to SysMouse.
 
 Alex de Kruijff wrote:
 
  This needs to go in /etc/rc.conf
  moused_flags=-a .4
  moused_port=/dev/psm0
  moused_type=auto
  moused_enable=YES
  The value afther a is a correction factor.
 

Benjamin,

This one setup the driver and gives you directly mouse access to the
console. Consentrate on that first. 

 Unfortunately, neither of these suggestions work, either separately
 or together!

The need to be togther.

 More detail: the mouse is a Compaq (Logitech) USB optical mouse.
 I did try moused_port=/dev/ums0 as well.

man moused says:
You can attach multiple USB mice to your system or to your USB hub.
They are accessible as /dev/ums0, /dev/ums1, and so on.

-- 
Alex

P.S. Its common on these list to reply to all. I usaly miss mail thats
not send to but no to me.


Articles based on solutions that I use:
http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IMPS/2 for mouse-wheel not supported

2004-05-18 Thread Richard Bradley
Hi,

I have a brand new Microsoft optical wheel mouse with a 'tilt wheel'.

It works as a 3-button mouse under X with:

Option  Protocol  PS/2
Option  Device/dev/psm0

but the wheel doesn't work (i.e. doesn't even show up in `xev`)

The X documentation:
[ http://www.xfree86.org/current/mouse6.html ]
seems to suggest that I use either IMPS/2 or ExplorerPS/2, but both of these 
fail with Protocol not supported.

Does FreeBSD support PS/2 mouse initialization (which the above link says is 
required for these protocols)? Is there a kernel module I need to enable 
this?


Any help would be much appreciated.


Rich

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


Re: IMPS/2 for mouse-wheel not supported

2004-05-18 Thread John Oxley
Here is an excerpt from my XF86Config

  Option ProtocolAuto
  Option Device  /dev/sysmouse
  Option ZAxisMapping 4 5

You may also want to include
  Option Buttons 5


On Tue 2004-05-18 (16:23), Richard Bradley wrote:
 Hi,
 
 I have a brand new Microsoft optical wheel mouse with a 'tilt wheel'.
 
 It works as a 3-button mouse under X with:
 
   Option  Protocol  PS/2
   Option  Device/dev/psm0
 
 but the wheel doesn't work (i.e. doesn't even show up in `xev`)
 
 The X documentation:
 [ http://www.xfree86.org/current/mouse6.html ]
 seems to suggest that I use either IMPS/2 or ExplorerPS/2, but both of these 
 fail with Protocol not supported.
 
 Does FreeBSD support PS/2 mouse initialization (which the above link says is 
 required for these protocols)? Is there a kernel module I need to enable 
 this?
 
 
 Any help would be much appreciated.
 
 
 Rich
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
/~\ The ASCII   ASCII stupid question, get a EBCDIC ANSI.
\ / Ribbon Campaign John Oxley
 X  Against HTMLhttp://oxo.rucus.net/
/ \ Email!  oxo at rucus.ru.ac.za
Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy 
dungeon like NT.
-- Thomas Scoville
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IMPS/2 for mouse-wheel not supported

2004-05-18 Thread Richard Bradley
 On Tue 2004-05-18 (16:23), Richard Bradley wrote:
  Hi,
 
  I have a brand new Microsoft optical wheel mouse with a 'tilt wheel'.
 
  It works as a 3-button mouse under X
  but the wheel doesn't work (i.e. doesn't even show up in `xev`)
 
  The X documentation:
  [ http://www.xfree86.org/current/mouse6.html ]
  seems to suggest that I use either IMPS/2 or ExplorerPS/2, but both of
  these fail with Protocol not supported.
 
 
On Tuesday 18 May 2004 5:42 pm, John Oxley wrote:
 Here is an excerpt from my XF86Config

   Option ProtocolAuto
   Option Device  /dev/sysmouse
   Option ZAxisMapping 4 5

 You may also want to include
   Option Buttons 5


I have tried Protocol as Auto, but it had the same effect. I have also 
tried using `moused` and /dev/sysmouse, in each case, everything works 
fine, except the mouse only has 3 buttons and no scroll. (I've tried the -z 
flag to moused as well)

This mouse is a replacement for another wheel mouse (different brand) which 
worked fine. Even when I didn't have ZAxisMapping set up, the wheel showed 
up as a button in `xev`.

Cheers,


Rich





 On Tue 2004-05-18 (16:23), Richard Bradley wrote:
  Hi,
 
  I have a brand new Microsoft optical wheel mouse with a 'tilt wheel'.
 
  It works as a 3-button mouse under X with:
 
  Option  Protocol  PS/2
  Option  Device/dev/psm0
 
  but the wheel doesn't work (i.e. doesn't even show up in `xev`)
 
  The X documentation:
  [ http://www.xfree86.org/current/mouse6.html ]
  seems to suggest that I use either IMPS/2 or ExplorerPS/2, but both of
  these fail with Protocol not supported.
 
  Does FreeBSD support PS/2 mouse initialization (which the above link
  says is required for these protocols)? Is there a kernel module I need to
  enable this?
 
 
  Any help would be much appreciated.
 
 
  Rich
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

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


Re: Mouse Wheel in X

2004-01-31 Thread Jorn Argelo
On Saturday 31 January 2004 18:49, Jammet wrote:
 Im running 4.9 right now, and i have a Logitech Trackman for a mouse. My
 current XFree86Config file looks like this with the mouse section

 Section InputDevice
 Identifier Mouse0
 Driver mouse
 Option Device /dev/sysmouse
 Option Protocol Auto
 Option ZAxisMapping 4 5

I got my wheel working with only those three options. I guess that you don't 
need to add the other two.

Cheers,

Jorn

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


Problems with my Mouse Wheel of Genisu NetScroll+

2003-07-08 Thread =?unknown-8bit?q?Lu=EDs_Vit=F3rio?= Cargnini
Hi i have a Genius NetScroll+. In version 4.X my mouse wheel worked fine, but now on 
version 5.0 and 5.1 it isn't working more. This is a know problem or could be only 
with me ? I'm asking this because i have done everything that is mandatory to mouse 
wheel works but it ins't working.
-- 
Thanks  Regards
Luís Vitório Cargnini


pgp0.pgp
Description: PGP signature


RE: Problems with my Mouse Wheel of Genisu NetScroll+

2003-07-08 Thread Will Saxon
 -Original Message-
 From: Luís Vitório Cargnini [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 08, 2003 11:49 AM
 To: [EMAIL PROTECTED]
 Subject: Problems with my Mouse Wheel of Genisu NetScroll+
 
 
 Hi i have a Genius NetScroll+. In version 4.X my mouse wheel 
 worked fine, but now on version 5.0 and 5.1 it isn't working 
 more. This is a know problem or could be only with me ? I'm 
 asking this because i have done everything that is mandatory 
 to mouse wheel works but it ins't working.
 -- 
 Thanks  Regards
 Luís Vitório Cargnini
 

Are you using moused or trying to use the mouse directly from X?

I found that I had forgotten the proper procedure for getting the wheel to work 
correctly the last time I configured a new machine. 

If you are using moused, make sure you use the -z flag and probably have it look like 
this:

moused -t auto -p /dev/psm0 -r high -z 4

In rc.conf I have:
moused_enable=YES
moused_flags=-r high -z 4

Then, in XF86Config the only thing you have to do is make sure that you are using 
'Auto' or 'Sysmouse' as the mouse protocol, /dev/sysmouse as the mouse device and have 
the line:

Buttons 5

In that section. If you do it this way it should work.

I am not completely sure how to set up the mouse with the wheel bypassing moused and 
doing it directly with X, but I believe you just have to change the port and protocol 
(probably to 'Auto' and '/dev/psm0', respectively) and add:

ZAxisMapping 4 5 

To the XF86Config file.

I use the moused method, and it has usually worked for me. The only time I have ever 
had mouse wheel problems was when using a KVM switch that did not seem to present the 
mouse capabilities properly to FreeBSD during boot.

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


Re: Problems with my Mouse Wheel of Genisu NetScroll+

2003-07-08 Thread =?unknown-8bit?q?Lu=EDs_Vit=F3rio?= Cargnini

Thanks,
i been using the moused and put the flags -z 4 5, and at my X configuration file i 
have the buttons 5. I'll try to do how you are saying and puting too the ZAxisMapping, 
maybe it work, later i'll post the results.
Thanks again!

-- 
Thanks  Regards
Luís Vitório Cargnini


pgp0.pgp
Description: PGP signature


Mouse wheel Not working in 5.0/5.1

2003-06-16 Thread Ken Thompson
Hello all, I have two systems set up on FreeBSD, one with 5.0 and one with 
5.1. I can't seem to get the wheel to work on either one even though I have 
added Option ZAxisMapping 4 5 to my XFree86Config. One mouse is a cheap 
M$ and the other is an OEM Logitech.. Both are detected and work flawlessly 
as Generic Wheel Mouse in Mandrake, SuSE and Knoppix..
Any ideas or work arounds??? 
Thanks,
-- 
Ken Thompson WA7SYR
Payette, Idaho
Email: [EMAIL PROTECTED]

Linux- Coming Soon To A Desktop Near You
Registered Linux User #183936

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


Re: Mouse wheel Not working in 5.0/5.1

2003-06-16 Thread Chris
Below is mine. - I suspect your issues my be either the proto, or the device. 
FYI - I'm using a Logitec wheel via PS/2 port


# Identifier and driver

Identifier  Mouse1
Driver  mouse
Option ProtocolAuto
Option Device  /dev/sysmouse
Option Buttons5
Option ZAxisMapping   4 5




On Monday 16 June 2003 07:36 pm, Ken Thompson wrote:
 Hello all, I have two systems set up on FreeBSD, one with 5.0 and one with
 5.1. I can't seem to get the wheel to work on either one even though I have
 added Option ZAxisMapping 4 5 to my XFree86Config. One mouse is a cheap
 M$ and the other is an OEM Logitech.. Both are detected and work flawlessly
 as Generic Wheel Mouse in Mandrake, SuSE and Knoppix..
 Any ideas or work arounds???
 Thanks,

-- 

Best regards,
 Chris
__

PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363

PGP Mail encouraged / preferred - keys available on common key servers
__
   01010010011101100011011001010111001001011000


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


Re: Mouse wheel Not working in 5.0/5.1

2003-06-16 Thread sweetleaf
I had the same problem with my logitech scroll mouse. I fixed it with the following in 
my XF86Config:

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  Emulate3Buttons true
Option  ZAxisMapping 4 5
EndSection


On Mon, 16 Jun 2003 19:51:07 -0500
Chris [EMAIL PROTECTED] wrote:

 Below is mine. - I suspect your issues my be either the proto, or the device. 
 FYI - I'm using a Logitec wheel via PS/2 port
 
 
 # Identifier and driver
 
 Identifier  Mouse1
 Driver  mouse
 Option ProtocolAuto
 Option Device  /dev/sysmouse
 Option Buttons5
 Option ZAxisMapping   4 5
 
 
 
 
 On Monday 16 June 2003 07:36 pm, Ken Thompson wrote:
  Hello all, I have two systems set up on FreeBSD, one with 5.0 and one with
  5.1. I can't seem to get the wheel to work on either one even though I have
  added Option ZAxisMapping 4 5 to my XFree86Config. One mouse is a cheap
  M$ and the other is an OEM Logitech.. Both are detected and work flawlessly
  as Generic Wheel Mouse in Mandrake, SuSE and Knoppix..
  Any ideas or work arounds???
  Thanks,
 
 -- 
 
 Best regards,
  Chris
 __
 
 PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363
 
 PGP Mail encouraged / preferred - keys available on common key servers
 __
01010010011101100011011001010111001001011000
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


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


Re: Mouse wheel Not working in 5.0/5.1

2003-06-16 Thread Chris
I think what's going on here, or not understood is simply this.
Taking my mouse, you have the left and right button (1  2) the wheel, it is 
clickable (3) and then the Up/Down motion (4 and 5) I did mine manually. This 
worked for me.

Chris


On Monday 16 June 2003 08:08 pm, sweetleaf wrote:
 I had the same problem with my logitech scroll mouse. I fixed it with the
 following in my XF86Config:

 Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 Option  Protocol auto
 Option  Device /dev/sysmouse
 Option  Emulate3Buttons true
 Option  ZAxisMapping 4 5
 EndSection


 On Mon, 16 Jun 2003 19:51:07 -0500

 Chris [EMAIL PROTECTED] wrote:
  Below is mine. - I suspect your issues my be either the proto, or the
  device. FYI - I'm using a Logitec wheel via PS/2 port
 
 
  # Identifier and driver
 
  Identifier  Mouse1
  Driver  mouse
  Option ProtocolAuto
  Option Device  /dev/sysmouse
  Option Buttons5
  Option ZAxisMapping   4 5
 
  On Monday 16 June 2003 07:36 pm, Ken Thompson wrote:
   Hello all, I have two systems set up on FreeBSD, one with 5.0 and one
   with 5.1. I can't seem to get the wheel to work on either one even
   though I have added Option ZAxisMapping 4 5 to my XFree86Config.
   One mouse is a cheap M$ and the other is an OEM Logitech.. Both are
   detected and work flawlessly as Generic Wheel Mouse in Mandrake, SuSE
   and Knoppix..
   Any ideas or work arounds???
   Thanks,
 
  --
 
  Best regards,
   Chris
  __
 
  PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363
 
  PGP Mail encouraged / preferred - keys available on common key servers
  __
 01010010011101100011011001010111001001011000
 
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

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

-- 

Best regards,
 Chris
__

PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363

PGP Mail encouraged / preferred - keys available on common key servers
__
   01010010011101100011011001010111001001011000


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


Mouse wheel configuration

2002-12-17 Thread omax
Hi all ,

I have PS/2 standart mouse
I am trying to configura mouse wheel as was described today.
This is my XF86Config section


Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
# Was earlier
#Option  Buttons   5

# Added
Option  ZAxisMapping  4 5

# Some other stuff
#Option Protocol MouseSystems
#Option Protocol PS/2
#Option Device /dev/psm0
#Option Emulate3Buttons
EndSection

Earlier I was using imwheel to enable scrolling
but it scrols all window rather then 3 lines of it (looks awful).

Where is my mistake? What am I doing wrong?
Please help!!!


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Mouse wheel configuration

2002-12-17 Thread dick hoogendijk
 I have PS/2 standart mouse
 I am trying to configura mouse wheel as was described today.

The right config would be:

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  Buttons   5
Option  ZAxisMapping  4 5

But for this to work, you also need to put the following lines in your
/etc/rc.conf:
moused_type=auto
moused_enable=YES
-(reboot)-

 Where is my mistake? What am I doing wrong?

You may not have done both (?) ;-)

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message