Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 2008 08:27:15 -0700
From:      "Duane H. Hesser" <duane.hesser@gmail.com>
To:        "Achilov, Rashid" <achilov-rn@askd.ru>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: Supporting of wireless multimedia keyboards and mices
Message-ID:  <200804251527.m3PFRF0U012778@belinda.androcles.org>
In-Reply-To: <200804251225.54388.achilov-rn@askd.ru>
References:  <200804251225.54388.achilov-rn@askd.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 25 Apr 2008 12:25:54 +0700
"Rashid N. Achilov" <achilov-rn@askd.ru> wrote:

> Dear colleagues, what are you think about supporting wireless multimedia 
> keyboard + mouse twinboxes? I think, that is terrible. Five years ago (five 
> years!!) I have bought twinbox Genius Wireless TwinTouch+ Optical Value. It 
> still works (I type this letter on it :-)) ). And it still have non-working 
> mouse. It detects, but when I move it or press buttons, does nothing. To work 
> without wires, I must bought SEPARATE wireless mouse Logitech LX5. It works 
> without any attractions. Recently I have bought new (cool!) twinbox Microsoft 
> Wireless Laser 5000. Windows is bad, but keyboards from Microsoft is 
> accurate, precious and ergonomic, mices also. 
> 
> But mouse from twinbox does not working... Again. Even not detected - uhid0 
> and all. I use now 6.3-STABLE. So, please answer me anybody:
> 

I encountered the same problem when I installed 6.2 on an HP Pavilion machine,
with a "BTC Wireless Kit".  The keyboard worked, but not the mouse.  I tried
a Microsoft 3000 Notebook mouse.  That didn't work either.  A Microsoft 2.4GHZ
Tranceiver mouse...didn't work.  A 10 year old Logitech N48 borrowed from
my 4.11 machine worked fine.

I have a set of patches to 6.3 which solves the problem for me for all of those
mice, and which I believe solves the general problem of non-working mice on
FreeBSD.  That remains to be proven, however.  I do not plan to offer the patches
for official sanction until there is reasonable evidence that they will not
cause regressions, i.e. until more people are willing to test it on more mice.

The official driver is not prepared to handle devices with multiple report IDs
(e.g. "kits" which report both keyboard and mouse, and apparently most recent
Microsoft mice), due to a small error in one of the hid routines used in the
attach process.

I posted a notice about the patches to this group a couple of months ago.

The patches allow the driver to accomodate multiple report IDs and allow it
to be more aggressive in identifying mice.   I believe that it should attach
and operate any standards-conforming mouse without the use of quirks.

The patches also add several ioctl calls which allow a user-level program
("mouse_report") to query the device for everything it knows.

The official 7.0 driver includes some improvements in recognition (and a lot of
really nice code cleanup) but does not yet handle multiple report IDs.

I have a version of my patches which has been prepared for 7.x but never tested
(or even compiled).  I will send it to anyone who wants to test it, but I
have not posted it to the web.

You can find the 6.3 patches (and mouse_report) at

http://www.accima.com/members/dhesser/fbsd_mouse_stuff/

If you try this, I strongly recommend that you read the "fbsd6/READTHIS" file
(my ISP swallows READMEs...really!) so that you will know what you're getting.

The patched driver has been tested on just 5 mice (including a couple which
should be similar to your Microsoft 5000).  I would be interested to see if
it works on the Genius. 

If you would like to try the patches on 7.x, send mail.

> 1. These problems are presented in 7.0? (I am about support noticed Genius or 
> Microsoft mices)
> 2. How can I add support this device by myself?
> 3. Also multimedia keys doers not work at all - is there possible to bring it 
> to work?
> -- 
>    With Best Regards.
>    Rashid N. Achilov (RNA1-RIPE), Web: http://www.askd.ru/~shelton
>    OOO "ACK" telecommunications administrator, e-mail: achilov-rn [at] askd.ru
>    PGP: 83 CD E2 A7 37 4A D5 81 D6 D6 52 BF C9 2F 85 AF 97 BE CB 0A
> _______________________________________________
> freebsd-usb@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-usb
> To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org"
> 


-- 
Duane H. Hesser <duane.hesser@gmail.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804251527.m3PFRF0U012778>