From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Forward and Backward keys on presenter
Date: Sat, 05 Jul 2008 19:21:35 +0200 [thread overview]
Message-ID: <1215278495.4349.23.camel@californication> (raw)
In-Reply-To: <1215241201.17606.7.camel@localhost>
Hi Rui,
> I have a microsoft notebook presenter mouse 8000
> (http://www.microsoft.com/hardware/Presenter/productdetails.aspx?pid=085) and I have managed to have it working (as a mouse). When switching to presenter mode, the multimedia keys work (volume up and down), but the forward and backword keys do not. I tried to get the key codes with xev, but nothing shows up. Even the scan code (with showkey -s or with getscancode - http://keytouch.sourceforge.net/) nothing shows up.
>
> However, with hcidump I can see that something goes through:
>
> (as a mouse)
> > 02 32 20 0B 00 07 00 41 00 A1 11 00 FF 00 00 00
> > 02 32 20 0B 00 07 00 41 00 A1 11 00 FE FF 00 00
> > 02 32 20 0B 00 07 00 41 00 A1 16 00 00 0F 00 00
> > 04 14 06 00 2E 00 00 00 00
> > 02 32 20 0B 00 07 00 41 00 A1 16 00 00 00 00 00
> (switching to presenter)
> > 04 14 06 00 2E 00 02 A2 00
> > 04 14 06 00 32 00 00 00 00
> > 04 14 06 00 32 00 02 4E 00
> (pressing forward key)
> > 02 32 20 0B 00 07 00 41 00 A1 16 00 00 00 00 00
> > 02 32 20 0B 00 07 00 41 00 A1 16 00 00 00 00 00
> (switching to mouse)
> > 04 14 06 00 32 00 00 00 00
> > 04 14 06 00 32 00 02 1E 00
> > 04 14 06 00 32 00 00 00 00
> > 04 14 06 00 32 00 02 4E 00
>
> (as a mouse)
> > ACL data: handle 50 flags 0x02 dlen 11
> L2CAP(d): cid 0x0041 len 7 [psm 0]
> A1 16 00 00 08 00 00
> > HCI Event: Mode Change (0x14) plen 6
> 00 32 00 00 00 00
> > HCI Event: Mode Change (0x14) plen 6
> 00 32 00 02 1E 00
> > ACL data: handle 50 flags 0x02 dlen 11
> L2CAP(d): cid 0x0041 len 7 [psm 0]
> A1 16 00 00 00 00 00
> (switching to presenter)
> > HCI Event: Mode Change (0x14) plen 6
> 00 32 00 00 00 00
> > HCI Event: Mode Change (0x14) plen 6
> 00 32 00 02 4E 00
> (pressing forward key)
> > ACL data: handle 50 flags 0x02 dlen 11
> L2CAP(d): cid 0x0041 len 7 [psm 0]
> A1 16 00 00 0E 00 00
> > HCI Event: Mode Change (0x14) plen 6
> 00 32 00 00 00 00
> > HCI Event: Mode Change (0x14) plen 6
> 00 32 00 02 1E 00
> > ACL data: handle 50 flags 0x02 dlen 11
> L2CAP(d): cid 0x0041 len 7 [psm 0]
> A1 16 00 00 00 00 00
> (back to mouse mode)
> > HCI Event: Mode Change (0x14) plen 6
> 00 32 00 00 00 00
> > HCI Event: Mode Change (0x14) plen 6
> 00 32 00 02 4E 00
>
> I do not know how to interpret this information. Does anyone knows if
> the problem is related to the bluetooth part or to X?
> Is there any possibility of getting it working?
the generic HID driver inside the kernel will handle this part. So to
convert all buttons, it might need some quirks to be setup. However I
have no idea which ones are needed since I don't have one of these
devices at home for testing.
Regards
Marcel
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
prev parent reply other threads:[~2008-07-05 17:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-05 7:00 [Bluez-devel] Forward and Backward keys on presenter Rui Pedro Lopes
2008-07-05 17:21 ` Marcel Holtmann [this message]
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=1215278495.4349.23.camel@californication \
--to=marcel@holtmann.org \
--cc=bluez-devel@lists.sourceforge.net \
/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