public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] hidp 2.4 backport
@ 2004-05-22 14:05 Franck Arnaud
  2004-05-25 12:04 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Franck Arnaud @ 2004-05-22 14:05 UTC (permalink / raw)
  To: bluez-devel

Hello,

I have an epox (CSR) bluetooth mouse and I'm using kernel 2.4. I 
tried bthid 0.10, which worked fine initially but I could not make 
it handle reconnections (after a long enough timeout, clicking 
the mouse just after the disconnection message seems to 
reconnect OK). This looks like the problem described in the doc, 
although the solution (pinging the mouse to keep it awake) is 
not acceptable.

It would be a pain at this time to upgrade to 2.6 in my setup, so 
I backported the 2.6.6-mh1 hidp module to 2.4:

http://www.nenie.org/misc/bluetooth/bluez-hidp-backport-2.4-26.tar.gz

it may be broken as I don't know anything about kernel 
programming :-) but it seems to work fine, except it seems you 
need the -t timeout option on hidd, otherwise it fails like with 
bthid (I do not understand why).

It may not be worth applying to the official 2.4 patches as I 
guess most people can upgrade to 2.6 more easily than me.



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-devel] hidp 2.4 backport
  2004-05-22 14:05 [Bluez-devel] hidp 2.4 backport Franck Arnaud
@ 2004-05-25 12:04 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2004-05-25 12:04 UTC (permalink / raw)
  To: Franck Arnaud; +Cc: BlueZ Mailing List

Hi Franck,

> I have an epox (CSR) bluetooth mouse and I'm using kernel 2.4. I 
> tried bthid 0.10, which worked fine initially but I could not make 
> it handle reconnections (after a long enough timeout, clicking 
> the mouse just after the disconnection message seems to 
> reconnect OK). This looks like the problem described in the doc, 
> although the solution (pinging the mouse to keep it awake) is 
> not acceptable.
> 
> It would be a pain at this time to upgrade to 2.6 in my setup, so 
> I backported the 2.6.6-mh1 hidp module to 2.4:
> 
> http://www.nenie.org/misc/bluetooth/bluez-hidp-backport-2.4-26.tar.gz

nice work. Keep it up and I already changed some stuff in 2.6.6-mh2.

> it may be broken as I don't know anything about kernel 
> programming :-) but it seems to work fine, except it seems you 
> need the -t timeout option on hidd, otherwise it fails like with 
> bthid (I do not understand why).

The hidd should set a default timeout of 30 minutes if you don't specify
any on the command line. Only if you set timeout to 0 it disables the
idle timer in the kernel module. Please check this on a 2.6 machine as
soon as possible.

> It may not be worth applying to the official 2.4 patches as I 
> guess most people can upgrade to 2.6 more easily than me.

Maybe if we are at HIDP version 0.8 or so. Right now it would be too
much overhead for me to maintain it.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-25 12:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-22 14:05 [Bluez-devel] hidp 2.4 backport Franck Arnaud
2004-05-25 12:04 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox