Operating System - HP-UX
1748161 Members
4039 Online
108758 Solutions
New Discussion юеВ

ux11, B2000, X, USB Logitech mouse problem

 
Julian Perry
Occasional Advisor

ux11, B2000, X, USB Logitech mouse problem

Hi

I use a B2000, on ux11, with a USB cordless Logitech keyboard/mouse - it works really well. In case it matters I also run two displays in multi-screen mode too.

The mouse wheel (it's a cordless TrackMan Wheel mouse) is not recognised. The normals buttons 1-3 work fine.

The wheel is supposed to be seen as buttons 4 and 5, but the X server (fully patched) will only recognise 3 buttons (confirmed by xmodmap and xev).

How do I get the X server to see the other two buttons (i.e. the wheel)?

--
Cheers
Jules.
2 REPLIES 2
Alex Glennie
Honored Contributor

Re: ux11, B2000, X, USB Logitech mouse problem

could try the following .......

1. Verify that the Xserver contains the USB driver:
Search for '/usr/lib/X11/extensions/hid.1' in the
'/var/X11/Xserver/logs/X0.log' file.
2. The default translations for the scrollbar widget are defined in
'/usr/dt/config/C/sys.resources' in the following manner.
Note: These translations allow the roller to work when the cursor
is in the scrollbar area, not the main window of an
application.*XmScrollBar*Translations:#override\nNone,:IncrementUpOrLeft(0)IncrementUpOrLeft(0)IncrementUpOrLeft(0)
IncrementUpOrLeft(0)IncrementUpOrLeft(0)\nNone,:IncrementDownOrRight(0)IncrementDownOrRight(0)
IncrementDownOrRight(0)IncrementDownOrRight(0)IncrementDownOrRight(0)\nShift,:IncrementUpOrLeft(0)\n\Shift,:IncrementDownOrRight(0)\nCtrl,:PageUpOrLeft(0)\n\Ctrl,:PageDownOrRight(0)
3. For xterm, Netscape, and other applications, create or edit
$HOME/.Xdefaults to contain the following information:
XTerm*VT100*Translations: #override \n\: scroll-back(1,halfpage) \n: scroll-forw(1, halfpage)Netscape*globalTranslations: #override \n: PageUp() \n\: pagedown() 4. Merge the resources:
xrdb -merge $HOME/.Xdefaults
There are many other actions to add to the translations to scroll a
line, halfpage, full page, and so on. For more ideas:
1. Go to alta-vista.com.
2. A. Enter '+netscape +btn4down' in the search window. --OR--
B. See the Actions section of the xterm manpage.
Julian Perry
Occasional Advisor

Re: ux11, B2000, X, USB Logitech mouse problem

Yes I saw that advice on the
forum from a while back.

Yes hid.1 is loaded.

Yes I do have all those files
set up correctly.

Although from what I understand
all those file settings are
irrelevant unless the Xserver
is actually recognising buttons
4 and 5 in the first place,
which it doesn't appear to be
doing.

Any further thoughts?