From mboxrd@z Thu Jan 1 00:00:00 1970
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative; boundary="_----------=_1175456689299430"
MIME-Version: 1.0
From: ramkromberg@mail.com
To: 9fans@cse.psu.edu
Date: Sun, 1 Apr 2007 21:44:49 +0200
Message-Id: <20070401194450.091AD1CE54C@ws1-6.us4.outblaze.com>
Subject: [9fans] serial mouse issues
Topicbox-Message-UUID: 3ae1474e-ead2-11e9-9d60-3106f5b1d025
This is a multi-part message in MIME format.
--_----------=_1175456689299430
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1"
I'm having mouse troubles, I have a serial mouse with a mouse wheel (set
to port 0).
The left and right button are working well, but the middle mouse wheel is
having troubles :
mousewheel up: cursor goes a little up and to the left.
mousewheel down: little to the right.
click mousewheel/middle button: little to the right + right click menu.
Worse yet when I shift+right click, the copy/paste menu flickers on and
off and I can't choose any of the commands.
I did some debugging (man mouse) and I noticed that when I use "echo
buttonmap 132 > /dev/mousectl" I can use the copy/paste menu but I
obviously lose the windowing menu...
* Hopefully someone here will guide me on how to fix the mouse
functionality (the mouse works on other systems so its a plan 9 issue
rather then an hardware issue), but I'm also interested on re-programming
the shift key in rio so to switch between buttonmap 132 and 123, this way
I can still have some functionality from that machine if all else fails.
Thanks,
Ram Kromberg
ramkromberg@mail.com
--_----------=_1175456689299430
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="iso-8859-1"
I'm having mouse troubles, I have a serial mouse with a mouse wheel (set to=
port 0).
The left and right button are working well, but the middle=
mouse wheel is having troubles :
mousewheel up: cursor goes a little up=
and to the left.
mousewheel down: little to the right.
click mousewh=
eel/middle button: little to the right + right click menu.
Worse yet whe=
n I shift+right click, the copy/paste menu flickers on and off and I can't =
choose any of the commands.
I did some debugging (man mouse) and I n=
oticed that when I use "echo buttonmap 132 > /dev/mousectl" I can use th=
e copy/paste menu but I obviously lose the windowing menu...
* Hopefully someone here will guide me on how to fix the mouse fu=
nctionality (the mouse works on other systems so its a plan 9 issue rather =
then an hardware issue), but I'm also interested on re-programming the shif=
t key in rio so to switch between buttonmap 132 and 123, this way I can sti=
ll have some functionality from that machine if all else fails.
Than=
ks,
Ram Kromberg
ramkromberg@mail.com
--=20
--_----------=_1175456689299430--
From mboxrd@z Thu Jan 1 00:00:00 1970
Message-ID: <415df1978c3d781f2e5ceaf4dbb11be1@coraid.com>
From: erik quanstrom
Date: Sun, 1 Apr 2007 18:40:34 -0400
To: 9fans@cse.psu.edu
Subject: Re: [9fans] serial mouse issues
In-Reply-To: <20070401194450.091AD1CE54C@ws1-6.us4.outblaze.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
Topicbox-Message-UUID: 3b17c738-ead2-11e9-9d60-3106f5b1d025
kbmap is a kernel driver that maps keys and mouse buttons.
- erik
On Sun Apr 1 15:44:49 EDT 2007, ramkromberg@mail.com wrote:
> * Hopefully someone here will guide me on how to fix the mouse
> functionality (the mouse works on other systems so its a plan 9 issue
> rather then an hardware issue), but I'm also interested on re-programming
> the shift key in rio so to switch between buttonmap 132 and 123, this way
> I can still have some functionality from that machine if all else fails.
>
> Thanks,
> Ram Kromberg
> ramkromberg@mail.com
>
From mboxrd@z Thu Jan 1 00:00:00 1970
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative; boundary="_----------=_1175479128241692"
MIME-Version: 1.0
From: ramkromberg@mail.com
To: 9fans@cse.psu.edu
Date: Mon, 2 Apr 2007 03:58:48 +0200
Subject: Re: [9fans] serial mouse issues
Message-Id: <20070402015848.A26BB1C00B4@ws1-1.us4.outblaze.com>
Topicbox-Message-UUID: 3bc57f2c-ead2-11e9-9d60-3106f5b1d025
This is a multi-part message in MIME format.
--_----------=_1175479128241692
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1"
Thanks erik, though I now only have access to the qemu machine (I'm not
not home) I think using kbmap will help allot by creating a map in
/sys/lib/kbmap/ to replace the start key with the middle mouse button and
maybe I'll even add in something for the mouse wheels (I see mouse-csa
and mouse-fn are a common solutions to laptop ;-) ).
I'm still hoping for someone to guide me through on debugging the mouse,
any takers ? Again, I know its not a hardware issue but rather a driver
issue...
P.S: As far as I can gather, the system register the serial port as
/dev/some-device then a second driver interprets the signal to a second
/dev/some-mouse-device and then rio does the rest, So its a matter of
identifying which devices are responsible to what, reading out the
information (cat won't work, I need to monitor the info in a more
"lively" fashion), identifying which part fails, and then making the
necessary modifications (code & compile ? script ? definitions file ?), I
just don't have the skillz... help... :-)
Thanks,
Ram Kromberg
ramkromberg@mail.com
--_----------=_1175479128241692
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="iso-8859-1"
Thanks erik, though I now only have access to the qemu machine (I'm not not=
home) I think using kbmap will help allot by creating a map in /sys/lib/kb=
map/ to replace the start key with the middle mouse button and maybe I'll e=
ven add in something for the mouse wheels (I see mouse-csa and mouse-fn are=
a common solutions to laptop ;-) ).
I'm still hoping for someone to=
guide me through on debugging the mouse, any takers ? Again, I know its no=
t a hardware issue but rather a driver issue...
P.S: As far as I can=
gather, the system register the serial port as /dev/some-device then a sec=
ond driver interprets the signal to a second /dev/some-mouse-device and the=
n rio does the rest, So its a matter of identifying which devices are respo=
nsible to what, reading out the information (cat won't work, I need to moni=
tor the info in a more "lively" fashion), identifying which part fails, and=
then making the necessary modifications (code & compile ? script ? def=
initions file ?), I just don't have the skillz... help... :-)
Thanks=
,
Ram Kromberg
ramkromberg@mail.com
--=20
--_----------=_1175479128241692--