Operating System - HP-UX
1819803 Members
3303 Online
109607 Solutions
New Discussion юеВ

PS/2-USB 3 button mouse emulation w/2 button PS2 mouse

 
Michael Redmond
Occasional Contributor

PS/2-USB 3 button mouse emulation w/2 button PS2 mouse

We have an HP Visualize Center running HPUX 11 and we want to use a 2 button Gyropoint with it. It connects as PS/2 mouse through a PS/2 to USB converter on our J5600 system.

Problem: Configuring X to recognize 2 button mouse and then allow chording for 3 button emulation. So far, we have only found methods to connect 2 button serial mice, not PS/2 mice and not through the USB/HID. Setting chording seems straightforward.

Request: How does one modify the X0pointerkeys file to recognize 2 button USB/PS2 mouse (or other solution for configuring HID)?

Thanks for your help!
Mike Redmond
UW-Madison
2 REPLIES 2
Kenneth Platz
Esteemed Contributor

Re: PS/2-USB 3 button mouse emulation w/2 button PS2 mouse

Michael, I do not believe that HP's Xserver contains the routines that permit button chording, so if you wish to have a 2-button PS2 mouse, then you will not have access to button3.
I think, therefore I am... I think!
Michael Redmond
Occasional Contributor

Re: PS/2-USB 3 button mouse emulation w/2 button PS2 mouse

Kenneth,
Button Chording is not a problem. By setting:

button_chording on # turn chording on for all devices

in X0pointerkeys, we have successfully determined that chording works. When off, a three button mouse has three button settings. When on, it has 5 button settings (determined using the xmodmapp -pp command). The issue we are running into is that we don't know how to get the system to recognize that the mouse has two buttons (to chord or not) rather than three.

This information can supposedly be set in the X0devices file, but we don't have sufficient information to set up a 2 button, PS2/USB mouse using the HID driver. There are instructions about setting up 2 button serial connected mice as well as other devices such as the Spaceball by Spacetec/Logitech. What we really need is the HP's exact syntax and driver identification to set up a 2 button mouse on the HID kernel USB driver.

This information is pretty fully defined for Linux systems with USB/HID devices in the XF86Config file (see http://www.linux-usb.org/USB-guide/x194.html). But I have yet to find a document that describes how to do this in detail for HPUX in the X0devices file.

If someone can point us to this information, I think the issue can be very quickly resolved.

Thanks for your help...
Mike Redmond
UW-Madison