[opensource-dev] 3D connexion devices on linux

Francesco "Sythos" sythos at gmail.com
Sat Jun 4 01:37:47 PDT 2011


We cannot ask to the world to patch the kernel for SL, not all have enough
skills, and all other device and programs work fine. Imho the right way to
work is fix the SL side, without introduce risk and collateral effect
putting hands on kernel

-- 
Sent by iPhone

Il giorno 04/giu/2011, alle ore 08:59, "L. Christopher Bird" <
zenmondo at gmail.com> ha scritto:

I have a friend that uses a space navigator for SL and explains that it was
broken in the past and SL had a workaround, and by actually fixing the
kernel broke SL.  Here is the patch she wrote. In short just adding a
"return" in the right place.

diff -ru linux-2.6.36-gentoo-r5/drivers/hid/hid-lg.c
linux-2.6.36-gentoo-r5-new/drivers/hid/hid-lg.c
--- linux-2.6.36-gentoo-r5/drivers/hid/hid-lg.c 2010-10-20
16:30:22.000000000 -0400
+++ linux-2.6.36-gentoo-r5-new/drivers/hid/hid-lg.c     2011-03-09
20:44:53.000000000 -0500
@@ -53,6 +53,7 @@
                rdesc[84] = rdesc[89] = 0x4d;
                rdesc[85] = rdesc[90] = 0x10;
        }
+       return; // A cheap hack to make SL work.
        if ((quirks & LG_RDESC_REL_ABS) && rsize >= 50 &&
                        rdesc[32] == 0x81 && rdesc[33] == 0x06 &&
                        rdesc[49] == 0x81 && rdesc[50] == 0x06) {

-- Zen

On Fri, Jun 3, 2011 at 6:03 PM, Altair Sythos <sythos at gmail.com> wrote:

> linux resident with kernel 2.6.35 (or more) cannot use 3d mouse bc
> NDOF0.2 don't support new "evdev" interface, NDOF 0.3 (released by same
> author of previous one) support fine both old and new kernels, how can
> somebody submit via HG or else the new code?
> _______________________________________________
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/OpenSource-Dev
> Please read the policies before posting to keep unmoderated posting
> privileges
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20110604/6a4af27b/attachment.htm 


More information about the opensource-dev mailing list