linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Kanner <kanner@mail.ru>
To: linux-bluetooth@vger.kernel.org
Subject: Elektex bluetooth keyboard incorrect device class
Date: Wed, 15 Feb 2017 17:05:14 +0300	[thread overview]
Message-ID: <20170215140513.GA19149@localhost> (raw)

I'm trying to get Elektex (G-Tech) Bluetooth Smart Fabric keyboard
work on Linux (latest kernel).

This keyboard have been supported by Android devices via some
unofficial apk (I only found footprints of using some Bluez functions
and native Android keyboard + device key mapping in sources). But when
I tried to connect it to Linux, I saw that it's device class is
0x500204 (like a cell phone) in btmon output and it's naturally not
determined as a HID device.

Could someone direct me how to get this keyboard work like HID device?
Where should I start from?

Here is some minimal info about the device:

# hcitool scan
Scanning ...
        00:16:C1:00:6A:C8       keyboard
# sudo hcitool info 00:16:C1:00:6A:C8
Requesting information ...
        BD Address:  00:16:C1:00:6A:C8
        OUI Company: Eleksen Ltd (00-16-C1)
        Device Name: keyboard
        LMP Version: 1.1 (0x1) LMP Subversion: 0x5e1
        Manufacturer: Cambridge Silicon Radio (10)
        Features: 0xff 0xff 0x00 0x00 0x00 0x00 0x00 0x00
                <3-slot packets> <5-slot packets> <encryption> <slot offset>
                <timing accuracy> <role switch> <hold mode> <sniff mode>
                <park state> <RSSI> <channel quality> <SCO link> <HV2 packets>
                <HV3 packets> <u-law log> <A-law log>
# sudo hcitool cc --role=m 00:16:C1:00:6A:C8
Connections:
        < ACL 00:16:C1:00:6A:C8 handle 21 state 1 lm MASTER
# sudo hcitool con

(latest command return active connections, but after several seconds
the device is disconnected by host)

--
With best regards,
Andrew Kanner

                 reply	other threads:[~2017-02-15 14:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20170215140513.GA19149@localhost \
    --to=kanner@mail.ru \
    --cc=linux-bluetooth@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).