All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oli Ellis <oliver.ellis@ntlworld.com>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] dinovo multimedia keys
Date: Tue, 23 Mar 2004 16:01:32 +0000	[thread overview]
Message-ID: <40605F5C.30902@ntlworld.com> (raw)
In-Reply-To: <1080051605.2515.20.camel@pegasus>

Re: the dinovo wrong consumer usage

Possibly cracked it?

>>My question is, are the consumer keymaps in parser.c some sort of 
>>immutable bluetooth standard or just what your personal keyboard is? For 
>>example, you have the following for volumes:
>>        case 0xe2:    butt = KEY_MUTE;    break;
>>        case 0xe9:    butt = KEY_VOLUMEUP;    break;
>>        case 0xea:    butt = KEY_VOLUMEDOWN;    break;
>>Whereas, my dinovo works with
>>        case 0xe3:    butt = KEY_MUTE;    break;
>>        case 0xea:    butt = KEY_VOLUMEUP;    break;
>>        case 0xeb:    butt = KEY_VOLUMEDOWN;    break;
>>What sort of keyboard do you have?
>>
>Maybe there is a bit error somewhere in parser.c. Actually the consumer
>usages are defined in the USB HID standard and should be general for all
>Bluetooth keyboards.
>  
>
It does not seem to be an error with the parser - I checked the USB HID 
usage tables, and they tally up with the parser code. However, the 
consumer buttons on the dinovo all seem to be out by one. For example:

Key label	keyboard reports (hex)	Should be (hex)
-------------------------------------------------------
My Pictures	1b7			1b6
My Music	1b8			1b7
Volume+		ea			e9
Volume-		eb			ea
Mute		e3			e2
&c

Now the question is whether this is a problem in hardware (and if so how
widespread it is), or the kernel bluetooth bit, or the parser. I can't see
anything wrong with parser.c, and am inclined towards a bodge job by
Logitech (and I was so pleased with my new keyboard...) However the
DiNovo is widespread, so if it is a HID implementation error, any ideas on
how it can be elegantly worked around?

Regards,
Oli

  reply	other threads:[~2004-03-23 16:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-23  9:39 [Bluez-users] dinovo multimedia keys Oli Ellis
2004-03-23 14:20 ` Marcel Holtmann
2004-03-23 16:01   ` Oli Ellis [this message]
2004-03-23 20:55     ` 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=40605F5C.30902@ntlworld.com \
    --to=oliver.ellis@ntlworld.com \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=marcel@holtmann.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.