Linux bluetooth development
 help / color / mirror / Atom feed
From: Andre Baron <andre@metalan.net>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Apple BT Keyboard and Ubuntu Linux
Date: Tue, 19 Apr 2005 10:48:33 -0700	[thread overview]
Message-ID: <42654471.7090804@metalan.net> (raw)
In-Reply-To: <1113907413.16233.167.camel@pegasus>

Marcel Holtmann wrote:

>Run "hcidump -X -V" as root and show us the dump while you are trying to
>connect. Try to input "0000" on your numeric pad and then press enter or
>call "hciconfig hci0 auth" before you connect for the first time.
>
>Regards
>
>Marcel
>
Hi Marcel

Thanks for the quick response.

Trust Apple to almost conform to standard, but now quite :P.

hcidump -X -V gave me an error message that -V was an invalid option. 
However I ran it without that option and here's the output.

lampshade:/home/andre# hcidump -X
HCIDump - HCI packet analyzer ver 1.12
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Write Authentication Enable (0x03|0x0020) plen 1
  0000: 01                                                .
 > HCI Event: Command Complete (0x0e) plen 4
  0000: 01 20 0c 00                                       . ..
< HCI Command: Inquiry (0x01|0x0001) plen 5
  0000: 33 8b 9e 08 c8                                    3....
 > HCI Event: Command Status (0x0f) plen 4
  0000: 00 01 01 04                                       ....
 > HCI Event: Inquiry Result (0x02) plen 15
  0000: 01 74 cc 3e 95 0a 00 01  00 00 40 25 00 fb 58     .t.>......@%..X
 > HCI Event: Inquiry Complete (0x01) plen 1
  0000: 00                                                .
< HCI Command: Create Connection (0x01|0x0005) plen 13
  0000: 74 cc 3e 95 0a 00 18 cc  01 00 fb d8 01           t.>..........
 > HCI Event: Command Status (0x0f) plen 4
  0000: 00 01 05 04                                       ....
 > HCI Event: Link Key Request (0x17) plen 6
  0000: 74 cc 3e 95 0a 00                                 t.>...
 > HCI Event: PIN Code Request (0x16) plen 6
  0000: 74 cc 3e 95 0a 00                                 t.>...
 > HCI Event: Connect Complete (0x03) plen 11
  0000: 10 29 00 74 cc 3e 95 0a  00 01 00                 .).t.>.....
< HCI Command: Write Authentication Enable (0x03|0x0020) plen 1
  0000: 01                                                .
 > HCI Event: Command Complete (0x0e) plen 4
  0000: 01 20 0c 00                                       . ..
< HCI Command: Create Connection (0x01|0x0005) plen 13
  0000: 74 cc 3e 95 0a 00 18 cc  02 00 00 00 01           t.>..........
 > HCI Event: Command Status (0x0f) plen 4
  0000: 00 01 05 04                                       ....
 > HCI Event: Connect Complete (0x03) plen 11
  0000: 04 00 00 74 cc 3e 95 0a  00 01 00                 ...t.>.....

during which I ran these commands:

lampshade:/etc/network# hciconfig hic0 auth
You have new mail in /var/mail/andre
lampshade:/etc/network# hidd --search
Searching ...
        Connecting to device 00:0A:95:3E:CC:74
Can't create HID control channel: Connection timed out
lampshade:/etc/network# hciconfig hic0 auth
lampshade:/etc/network# hidd --conn 00:0A:95:3E:CC:74
Can't create HID control channel: Host is down

During this time I tried inputting 0000 and hit enter on the Apple keyboard.

Is this an expierence that most people encounter with one of these 
keyboards? I'm just wondering if I should start thinking of trying my 
hand at my first howto describing how to get this up and working.

Thanks Again

Andre


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2005-04-19 17:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-19  5:59 [Bluez-users] Apple BT Keyboard and Ubuntu Linux Andre Baron
2005-04-19 10:43 ` Marcel Holtmann
2005-04-19 17:48   ` Andre Baron [this message]
2005-04-19 18:09     ` Marcel Holtmann
2005-04-19 18:39       ` Andre Baron
2005-04-19 18:45         ` Marcel Holtmann
2005-04-19 18:55           ` Andre Baron
2005-04-19 19:04             ` Marcel Holtmann
2005-04-20  6:32               ` Andre Baron

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=42654471.7090804@metalan.net \
    --to=andre@metalan.net \
    --cc=bluez-users@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