public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthias Thomae <bluez@thomae-privat.de>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Epox Barton keyboard: HID create error 53
Date: Wed, 23 Jun 2004 02:49:34 +0200	[thread overview]
Message-ID: <40D8D39E.3070301@thomae-privat.de> (raw)
In-Reply-To: <1087897207.4328.89.camel@pegasus>

[-- Attachment #1: Type: text/plain, Size: 719 bytes --]

Hi Marcel,

Marcel Holtmann wrote:
>>Hmm, I had a look at the USB "Device Class Definiton for HID" document, 
>>and at net/bluetooth/hidp/hid.[h,c], but I think I will need much more 
>>time to understand how to analyse a HID Report Descriptor.
>>
>>Do you know of any tools to faciliate analysing/generating Report 
>>Descriptors?
> 
> look at the links on my HID page.

I did, attached is how far I got in decoding the descriptor, using the 
HID Specifications and the Descriptor Tool.
There are some values (marked with '?') which I can't find in 
Hut1_11.pdf, but the basic structure should be there.

Next I would have a closer look at the hid parser, but I'm not sure when 
I get to do this...

Regards.
Matthias

[-- Attachment #2: barton.txt --]
[-- Type: text/plain, Size: 3014 bytes --]

USAGE_PAGE (Generic Desktop)			05 01
USAGE (Keyboard)				09 06
COLLECTION (Application)			A1 01 
  USAGE_PAGE (Keyboard)				05 07
  REPORT_ID (1)					85 01 
  USAGE_MINIMUM (Keyboard LeftControl)		19 E0
  USAGE_MAXIMUM (Keyboard Right GUI)		29 E7
  LOGICAL_MINIMUM (0)				15 00 
  LOGICAL_MAXIMUM (1)				25 01 
  REPORT_SIZE (1)				75 01 
  REPORT_COUNT (8)				95 08 
  INPUT (Data,Var,Abs)				81 02 
  REPORT_SIZE (8)				75 08 
  REPORT_COUNT (1)				95 01 
  INPUT (Cnst,Ary,Abs)				81 01 
  USAGE_PAGE (Keyboard)				05 07
  USAGE_MINIMUM (Reserved (no event indicated))	19 00
  USAGE_MAXIMUM (?)				2A 00 FF
  LOGICAL_MINIMUM (0)				15 00 
  LOGICAL_MAXIMUM (65280)			26 00 FF
  REPORT_SIZE (8)				75 08 
  REPORT_COUNT (6)				95 06 
  INPUT (Data,Ary,Abs)				81 00 
  USAGE_PAGE (LEDs)				05 08
  REPORT_ID (1)					85 01 
  USAGE_MINIMUM (Num Lock)			19 01
  USAGE_MAXIMUM (Kana)				29 05
  REPORT_SIZE (1)				75 01 
  REPORT_COUNT (5)				95 05 
  OUTPUT (Data,Var,Abs)				91 02 
  REPORT_SIZE (3)				75 03 
  REPORT_COUNT (1)				95 01 
  OUTPUT (Cnst,Ary,Abs)				91 01 
END_COLLECTION					C0
USAGE_PAGE (Consumer Devices)			05 0C
USAGE (Consumer Control)			09 01
COLLECTION (Application)			A1 01 
  REPORT_ID (2)					85 02 
  USAGE_PAGE (Consumer Devices)			05 0C
  LOGICAL_MINIMUM (0)				15 00 
  LOGICAL_MAXIMUM (1)				25 01 
  REPORT_SIZE (1)				75 01 
  REPORT_COUNT (18)				95 12 
  USAGE (Stop)					09 B7
  USAGE (Play/Pause)				09 CD
  USAGE (Scan Next Track)			09 B5
  USAGE (Scan Previous Track)			09 B6
  USAGE (AL Consumer Control Configuration)	0A 83 01
  USAGE (Volume Down)				09 EA
  USAGE (Volume Up)				09 E9
  USAGE (Mute)					09 E2
  USAGE (AC Bookmarks )				0A 2A 02
  USAGE (AL Email Reader)			0A 8A 01
  USAGE (AC Home )				0A 23 02
  USAGE (AL Local Machine Browser )		0A 94 01
  USAGE (AL Calculator)				0A 92 01
  USAGE (AC Refresh )				0A 27 02
  USAGE (AC Stop )				0A 26 02
  USAGE (AC Search )				0A 21 02
  USAGE (AC Forward )				0A 25 02
  USAGE (AC Back )				0A 24 02
  INPUT (Data,Var,Abs)				81 02 
  REPORT_SIZE (1)				75 01 
  REPORT_COUNT (6)				95 06 
  INPUT (Cnst,Ary,Abs)				81 01 
END_COLLECTION					C0
USAGE_PAGE (Generic Desktop)			05 01
USAGE (System Control)				09 80
COLLECTION (Application)			A1 01 
  REPORT_ID (3)					85 03 
  LOGICAL_MINIMUM (0)				15 00 
  LOGICAL_MAXIMUM (1)				25 01 
  USAGE (Keyboard Volume Down)			09 81
  USAGE (Keyboard Locking Caps Lock)		09 82
  USAGE (Keyboard Locking Num Lock)		09 83
  REPORT_SIZE (3)				75 03 
  REPORT_COUNT (1)				95 01 
  INPUT (Data,Var,Abs)				81 02 
  REPORT_COUNT (5)				95 05 
  REPORT_SIZE (1)				75 01 
  INPUT (Cnst,Ary,Abs)				81 01 
END_COLLECTION					C0
USAGE_PAGE (Generic Device Controls)		05 06
USAGE (?)					09 01
COLLECTION (Application)			A1 01 
  REPORT_ID (255)				85 FF 
  REPORT_COUNT (1)				95 01 
  REPORT_SIZE (2)				75 02 
  USAGE (?)					09 24
  USAGE (?)					09 26
  INPUT (Data,Var,Abs)				81 02 
  REPORT_SIZE (6)				75 06 
  INPUT (Cnst,Ary,Abs)				81 01 
END_COLLECTION					C0

  reply	other threads:[~2004-06-23  0:49 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-14 17:34 [Bluez-users] Epox Barton keyboard: HID create error 53 Matthias Thomae
2004-06-14 23:27 ` Marcel Holtmann
2004-06-15  6:26   ` Matthias Thomae
2004-06-15  7:34     ` Marcel Holtmann
2004-06-15  9:23       ` Matthias Thomae
2004-06-15  9:48         ` Marcel Holtmann
2004-06-15 19:16           ` Matthias Thomae
2004-06-15 22:48             ` Marcel Holtmann
2004-06-22  7:20               ` Matthias Thomae
2004-06-22  9:40                 ` Marcel Holtmann
2004-06-23  0:49                   ` Matthias Thomae [this message]
2004-06-28 14:01                     ` Matthias Thomae
2004-06-28 19:55                       ` Marcel Holtmann
2004-06-29  8:57                         ` Matthias Thomae
2004-06-29  9:09                           ` Marcel Holtmann
2004-06-29 19:55                             ` Matthias Thomae
2004-06-29 21:11                               ` Marcel Holtmann
2004-06-30  7:59                                 ` Matthias Thomae
2004-07-10 17:24                                 ` Matthias Thomae
2004-07-10 17:29                                   ` 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=40D8D39E.3070301@thomae-privat.de \
    --to=bluez@thomae-privat.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox