USB Mouse with Scroll Wheel under Solaris/SPARC

Jan 30, 2005 16:53


I am very happy today, as I've finally discovered how to make my USB mouse work with my UltraSPARC. It ended up being an incredibly simple solution described in a SunManagers' summary. I had never before seen this procedure documented anywhere on the Internet (and I'd searched for about a month last year), and I'm going to describe it again, just in case it gets lost in the mists of the Internet.

Be sure to have a recent version of Solaris 9 installed. As I write this, I am running 12/03. Prior releases of Solaris 9, and Solaris 8 should work given proper patches, but I can't test them.

First, plug in the mouse, and find it's device file under the /devices tree. Mine was:

/devices/pci@1f,4000/usb@2,3/mouse@1:mouse
Strip off the leading /devices, and the final :mouse, adding the following to /etc/system

set consconfig:usb_ms_path="/pci@1f,4000/usb@2,3/mouse@1"
Substituting, the correct value for the particular machine, of course.

Reboot, and the USB mouse should work just dandy.

To setup the scroll wheel, some additional patches are required for Solaris 9. For Solaris 8, I have no idea. I initially came across this information on someone's blog, but the page is slightly outdated. If most of your applications are modern (i.e. GTK+, Mozilla, E), then all that is required is to install the following patches:

112785-45 or greater
115553-14 or greater
117418-01 or greater
114128-02 or greater
and any prerequisite patches. As of today, none of the patches are included in the recommended patches bundle. Restart X, and it should just work.

If you wish to add support for the wheel mouse to older programs, I'd recommend looking at Colas Nahaboo's page.
Previous post Next post
Up