Return-Path: Message-ID: <4265543A.2000505@metalan.net> From: Andre Baron MIME-Version: 1.0 To: bluez-users@lists.sourceforge.net Subject: Re: [Bluez-users] Apple BT Keyboard and Ubuntu Linux References: <42649E3C.1080608@metalan.net> <1113907413.16233.167.camel@pegasus> <42654471.7090804@metalan.net> <1113934141.2469.53.camel@pegasus> <42655077.7080609@metalan.net> <1113936350.2469.56.camel@pegasus> In-Reply-To: <1113936350.2469.56.camel@pegasus> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue, 19 Apr 2005 11:55:54 -0700 Marcel Holtmann wrote: >check if hcid is running, because nobody is answering the pin code and >link key requests. > >Regards > >Marcel > > > Ok Marcel, looks like it's running now: hcidump: lampshade:/# hcidump -X -V HCI sniffer - Bluetooth packet analyzer ver 1.19 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 Write Authentication Enable (0x03|0x0020) ncmd 1 0000: 00 . < HCI Command: Create Connection (0x01|0x0005) plen 13 bdaddr 00:0A:95:3E:CC:74 ptype 0xcc18 rswitch 0x01 clkoffset 0x0000 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 > HCI Event: Command Status (0x0f) plen 4 Create Connection (0x01|0x0005) status 0x00 ncmd 1 > HCI Event: Link Key Request (0x17) plen 6 bdaddr 00:0A:95:3E:CC:74 < HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6 bdaddr 00:0A:95:3E:CC:74 > HCI Event: Command Complete (0x0e) plen 10 Link Key Request Negative Reply (0x01|0x000c) ncmd 1 status 0x00 bdaddr 00:0A:95:3E:CC:74 > HCI Event: PIN Code Request (0x16) plen 6 bdaddr 00:0A:95:3E:CC:74 < HCI Command: PIN Code Request Negative Reply (0x01|0x000e) plen 6 bdaddr 00:0A:95:3E:CC:74 > HCI Event: Command Complete (0x0e) plen 10 PIN Code Request Negative Reply (0x01|0x000e) ncmd 1 status 0x00 bdaddr 00:0A:95:3E:CC:74 > HCI Event: Connect Complete (0x03) plen 11 status 0x06 handle 41 bdaddr 00:0A:95:3E:CC:74 type ACL encrypt 0x00 Error: PIN or Key Missing < HCI Command: Inquiry (0x01|0x0001) plen 5 lap 0x9e8b33 len 8 num 0 > HCI Event: Command Status (0x0f) plen 4 Inquiry (0x01|0x0001) status 0x00 ncmd 1 > HCI Event: Inquiry Complete (0x01) plen 1 status 0x00 < HCI Command: Inquiry (0x01|0x0001) plen 5 lap 0x9e8b33 len 8 num 0 > HCI Event: Command Status (0x0f) plen 4 Inquiry (0x01|0x0001) status 0x00 ncmd 1 > HCI Event: Inquiry Complete (0x01) plen 1 status 0x00 < HCI Command: Inquiry (0x01|0x0001) plen 5 lap 0x9e8b33 len 8 num 0 > HCI Event: Command Status (0x0f) plen 4 Inquiry (0x01|0x0001) status 0x00 ncmd 1 > HCI Event: Inquiry Result (0x02) plen 15 bdaddr 00:0A:95:3E:CC:74 mode 1 clkoffset 0x16e8 class 0x002540 > HCI Event: Inquiry Complete (0x01) plen 1 status 0x00 < HCI Command: Create Connection (0x01|0x0005) plen 13 bdaddr 00:0A:95:3E:CC:74 ptype 0xcc18 rswitch 0x01 clkoffset 0x16e8 (valid) Packet type: DM1 DM3 DM5 DH1 DH3 DH5 > HCI Event: Command Status (0x0f) plen 4 Create Connection (0x01|0x0005) status 0x00 ncmd 1 > HCI Event: Link Key Request (0x17) plen 6 bdaddr 00:0A:95:3E:CC:74 < HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6 bdaddr 00:0A:95:3E:CC:74 > HCI Event: Command Complete (0x0e) plen 10 Link Key Request Negative Reply (0x01|0x000c) ncmd 1 status 0x00 bdaddr 00:0A:95:3E:CC:74 > HCI Event: PIN Code Request (0x16) plen 6 bdaddr 00:0A:95:3E:CC:74 < HCI Command: PIN Code Request Negative Reply (0x01|0x000e) plen 6 bdaddr 00:0A:95:3E:CC:74 > HCI Event: Command Complete (0x0e) plen 10 PIN Code Request Negative Reply (0x01|0x000e) ncmd 1 status 0x00 bdaddr 00:0A:95:3E:CC:74 > HCI Event: Connect Complete (0x03) plen 11 status 0x06 handle 41 bdaddr 00:0A:95:3E:CC:74 type ACL encrypt 0x00 Error: PIN or Key Missing < HCI Command: Create Connection (0x01|0x0005) plen 13 bdaddr 00:0A:95:3E:CC:74 ptype 0xcc18 rswitch 0x01 clkoffset 0x16e8 (valid) Packet type: DM1 DM3 DM5 DH1 DH3 DH5 > HCI Event: Command Status (0x0f) plen 4 Create Connection (0x01|0x0005) status 0x00 ncmd 1 > HCI Event: Link Key Request (0x17) plen 6 bdaddr 00:0A:95:3E:CC:74 < HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6 bdaddr 00:0A:95:3E:CC:74 > HCI Event: Command Complete (0x0e) plen 10 Link Key Request Negative Reply (0x01|0x000c) ncmd 1 status 0x00 bdaddr 00:0A:95:3E:CC:74 > HCI Event: PIN Code Request (0x16) plen 6 bdaddr 00:0A:95:3E:CC:74 < HCI Command: PIN Code Request Negative Reply (0x01|0x000e) plen 6 bdaddr 00:0A:95:3E:CC:74 > HCI Event: Command Complete (0x0e) plen 10 PIN Code Request Negative Reply (0x01|0x000e) ncmd 1 status 0x00 bdaddr 00:0A:95:3E:CC:74 > HCI Event: Connect Complete (0x03) plen 11 status 0x06 handle 42 bdaddr 00:0A:95:3E:CC:74 type ACL encrypt 0x00 Error: PIN or Key Missing and commands: 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# hidd --conn 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: Invalid exchange lampshade:/etc/network# hidd --search Searching ... No devices in range or visible lampshade:/etc/network# hidd --search Searching ... No devices in range or visible lampshade:/etc/network# hidd --search Searching ... Connecting to device 00:0A:95:3E:CC:74 Can't create HID control channel: Invalid exchange lampshade:/etc/network# hidd --conn 00:0A:95:3E:CC:74 Can't create HID control channel: Invalid exchange Now I have a feeling we're getting closer... I'm also curious about the No Devices in range or visible message, there shouldn't be any sort of range problems, I'm within about 50cm of the transmitter. I'm wondering if the keyboard just isn't responding appropriatly. 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