From: Marcel Holtmann <marcel@holtmann.org>
To: Michael Frey <mfrey@pepper.com>
Cc: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] HIDP backport for 2.4
Date: Tue, 27 Jul 2004 17:24:07 +0200 [thread overview]
Message-ID: <1090941847.4845.29.camel@pegasus> (raw)
In-Reply-To: <A9BDE398-DFDF-11D8-BE76-00039390D626@pepper.com>
Hi Michael,
> root@(none):/usr/bin# hcitool inq
> Inquiring ...
> 00:02:72:40:8A:97 clock offset: 0x4a58 class: 0x002540
the subclass value is 0x40 which means that this is only a keyboard. The
problem can be that they really only support the keyboard in boot mode
or that they simply set the subclass value wrong. If the kernel things
that this is only a keyboard it don't creates a mouse device. Try this
patch for the hidd to tell the kernel it is also a mouse:
RCS file: /cvsroot/bluez/utils/hidd/sdp.c,v
retrieving revision 1.4
diff -u -r1.4 sdp.c
--- hidd/sdp.c 4 Jul 2004 15:41:53 -0000 1.4
+++ hidd/sdp.c 27 Jul 2004 15:17:34 -0000
@@ -126,6 +126,7 @@
pdlist = sdp_data_get(rec, 0x0202);
req->subclass = pdlist ? pdlist->val.uint8 : 0;
+ req->subclass = 0x40 | 0x80;
pdlist = sdp_data_get(rec, 0x0203);
req->country = pdlist ? pdlist->val.uint8 : 0;
To check what is really going on run "hcidump -x" as root and use the
mouse.
Do you ever checked if 2.6.7-mh2 is working for you?
> The website is http://www.bluelogic.co.kr/main_eng.php
Will anyone buy one of these for me so I get one for testing?
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2004-07-27 15:24 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-17 8:58 [Bluez-devel] HIDP backport for 2.4 Marcel Holtmann
2004-07-25 12:52 ` Marcel Holtmann
2004-07-25 16:57 ` Michael Frey
2004-07-26 17:24 ` Michael Frey
2004-07-26 17:47 ` Marcel Holtmann
2004-07-26 18:05 ` Michael Frey
2004-07-26 18:16 ` Marcel Holtmann
2004-07-26 18:49 ` Michael Frey
2004-07-26 21:01 ` Marcel Holtmann
2004-07-27 0:31 ` Michael Frey
2004-07-27 8:18 ` Marcel Holtmann
2004-07-27 14:53 ` Michael Frey
2004-07-27 15:01 ` Marcel Holtmann
2004-07-27 15:14 ` Michael Frey
2004-07-27 15:24 ` Marcel Holtmann [this message]
[not found] ` <86089F56-DFE5-11D8-BE76-00039390D626@pepper.com>
2004-08-01 15:57 ` Marcel Holtmann
2004-08-11 21:19 ` Michael Frey
2004-08-11 22:11 ` Marcel Holtmann
2004-08-13 17:27 ` Michael Frey
2004-08-13 17:53 ` Marcel Holtmann
2004-08-13 18:16 ` Michael Frey
2004-08-13 18:21 ` Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1090941847.4845.29.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-devel@lists.sourceforge.net \
--cc=mfrey@pepper.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox