From: rangzen <lipare@gmail.com>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Re: [micro-howto] Ericsson K700i as hid device (hidd options)
Date: Wed, 1 Feb 2006 11:18:15 +0100 [thread overview]
Message-ID: <19c2b3920602010218m5da411ek@mail.gmail.com> (raw)
In-Reply-To: <pan.2006.02.01.09.16.29.862248@wikidev.net>
[-- Attachment #1: Type: text/plain, Size: 7236 bytes --]
No device, etc. All work
Feb 1 10:50:55 lef hcid[17602]: pin_code_request (sba=00:0A:94:02:56:9A,
dba=00:16:20:2E:4F:08)
Feb 1 10:50:56 lef hcid[17602]: link_key_notify (sba=00:0A:94:02:56:9A,
dba=00:16:20:2E:4F:08)
Feb 1 10:50:56 lef hidd[17606]: New HID device 00:16:20:2E:4F:08 ()
Feb 1 10:50:56 lef hal.hotplug[17653]: DEVPATH is not set (subsystem input)
Feb 1 10:50:57 lef input.agent[17660]: evdev: already loaded
Feb 1 10:50:57 lef input.agent[17670]: evdev: already loaded
Feb 1 10:50:57 lef input.agent[17654]: tsdev: already loaded
Feb 1 10:50:57 lef input.agent[17654]: mousedev: already loaded
Feb 1 10:50:57 lef input.agent[17654]: evdev: already loaded
Feb 1 10:50:57 lef input.agent[17657]: evdev: already loaded
Feb 1 10:51:09 lef hal.hotplug[17839]: DEVPATH is not set (subsystem input)
Connect again :
Feb 1 10:52:05 lef hcid[17602]: link_key_request (sba=00:0A:94:02:56:9A,
dba=00:16:20:2E:4F:08)
And the phone display "Connection failed"
I delete the device in the phone, connect again :
Feb 1 10:54:52 lef hcid[17602]: pin_code_request (sba=00:0A:94:02:56:9A,
dba=00:16:20:2E:4F:08)
Feb 1 10:54:53 lef hcid[17602]: link_key_notify (sba=00:0A:94:02:56:9A,
dba=00:16:20:2E:4F:08)
And now, it fails ...
Remove all in /var/lib and not in the phone
Feb 1 10:57:22 lef hcid[17602]: link_key_request (sba=00:0A:94:02:56:9A,
dba=00:16:20:2E:4F:08)
Feb 1 10:57:28 lef hcid[17602]: pin_code_request (sba=00:0A:94:02:56:9A,
dba=00:16:20:2E:4F:08)
Feb 1 10:57:28 lef hcid[17602]: link_key_notify (sba=00:0A:94:02:56:9A,
dba=00:16:20:2E:4F:08)
Failed.
Remove all in /var/lib/bluetooth and in the phone :
Feb 1 10:59:05 lef hcid[17602]: pin_code_request (sba=00:0A:94:02:56:9A,
dba=00:16:20:2E:4F:08)
Feb 1 10:59:05 lef hcid[17602]: link_key_notify (sba=00:0A:94:02:56:9A,
dba=00:16:20:2E:4F:08)
Failed.
Remove all in /var/lib/bluetooth and in the phone and restart service :
Feb 1 11:00:15 lef hidd[17606]: Exit
Feb 1 11:00:15 lef sdpd[17604]: terminating...
Feb 1 11:00:15 lef hcid[17602]: Exit.
Feb 1 11:00:16 lef hcid[18334]: Bluetooth HCI daemon
Feb 1 11:00:16 lef sdpd[18336]: Bluetooth SDP daemon
Feb 1 11:00:16 lef hidd[18338]: Bluetooth HID daemon
Feb 1 11:00:16 lef hcid[18334]: Starting security manager 0
Feb 1 11:00:38 lef hcid[18334]: pin_code_request (sba=00:0A:94:02:56:9A,
dba=00:16:20:2E:4F:08)
Feb 1 11:00:39 lef hcid[18334]: link_key_notify (sba=00:0A:94:02:56:9A,
dba=00:16:20:2E:4F:08)
Failed.
Stop services, rm /var/lib/, remove device in the phone, start the service :
Feb 1 11:01:23 lef hidd[18338]: Exit
Feb 1 11:01:23 lef sdpd[18336]: terminating...
Feb 1 11:01:23 lef hcid[18334]: Exit.
Feb 1 11:02:38 lef hcid[18518]: Bluetooth HCI daemon
Feb 1 11:02:38 lef hcid[18518]: Starting security manager 0
Feb 1 11:02:38 lef sdpd[18522]: Bluetooth SDP daemon
Feb 1 11:02:38 lef hidd[18524]: Bluetooth HID daemon
Feb 1 11:02:52 lef hcid[18518]: pin_code_request (sba=00:0A:94:02:56:9A,
dba=00:16:20:2E:4F:08)
Feb 1 11:02:52 lef hcid[18518]: link_key_notify (sba=00:0A:94:02:56:9A,
dba=00:16:20:2E:4F:08)
Failed.
Remove device in the phone, stop bluetooth on the phone, stop service, rm
/var/lib, start service :
Feb 1 11:05:35 lef hidd[18524]: Exit
Feb 1 11:05:35 lef sdpd[18522]: terminating...
Feb 1 11:05:35 lef hcid[18518]: Exit.
Feb 1 11:05:58 lef hcid[18721]: Bluetooth HCI daemon
Feb 1 11:05:58 lef hcid[18721]: Starting security manager 0
Feb 1 11:05:58 lef sdpd[18725]: Bluetooth SDP daemon
Feb 1 11:05:58 lef hidd[18727]: Bluetooth HID daemon
Feb 1 11:06:20 lef hcid[18721]: pin_code_request (sba=00:0A:94:02:56:9A,
dba=00:16:20:2E:4F:08)
Feb 1 11:06:20 lef hcid[18721]: link_key_notify (sba=00:0A:94:02:56:9A,
dba=00:16:20:2E:4F:08)
Failed.
I've a "one shot" bluetooth device :D
2006/2/1, Gabriel Wicke <lists@wikidev.net>:
>
> On Tue, 31 Jan 2006 14:36:16 +0100, rangzen wrote:
>
> > Still doesn't work for me with a K750i :/
> >
> > rm all in /var/lib/bluetooth/
> > no device in the phone
> >
> > All works fine :)
> >
> > But now the device is registred in the phone and the "local" device is
> in
> > /var/lib/bluetooth
> > I try again and :
> >
> > # /usr/local/sbin/hcidump -X -V
> > HCI sniffer - Bluetooth packet analyzer ver 1.29
> > device: hci0 snap_len: 1028 filter: 0xffffffff
> >> HCI Event: Connect Request (0x04) plen 10
> > bdaddr 00:16:20:2E:4F:08 class 0x520204 type ACL
> > < HCI Command: Accept Connection Request (0x01|0x0009) plen 7
> > bdaddr 00:16:20:2E:4F:08 role 0x00
> > Role: Master
> >> HCI Event: Command Status (0x0f) plen 4
> > Accept Connection Request (0x01|0x0009) status 0x00 ncmd 1
> >> HCI Event: Role Change (0x12) plen 8
> > status 0x00 bdaddr 00:16:20:2E:4F:08 role 0x00
> > Role: Master
> >> HCI Event: Link Key Request (0x17) plen 6
> > bdaddr 00:16:20:2E:4F:08
> > < HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
> > bdaddr 00:16:20:2E:4F:08 key 7D2DBC19D998316AE9DB5D9645707E08
> >> HCI Event: Command Complete (0x0e) plen 10
> > Link Key Request Reply (0x01|0x000b) ncmd 1
> > status 0x00 bdaddr 00:16:20:2E:4F:08
> >> HCI Event: Connect Complete (0x03) plen 11
> > status 0x00 handle 42 bdaddr 00:16:20:2E:4F:08 type ACL encrypt 0x01
> > < HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
> > handle 42 policy 0x0f
> > Link policy: RSWITCH HOLD SNIFF PARK
> >> HCI Event: Page Scan Repetition Mode Change (0x20) plen 7
> > bdaddr 00:16:20:2E:4F:08 mode 1
> >> HCI Event: Command Complete (0x0e) plen 6
> > Write Link Policy Settings (0x02|0x000d) ncmd 1
> > status 0x00 handle 42
> > < HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
> > handle 42 ptype 0xcc18
> > Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> >> HCI Event: Command Status (0x0f) plen 4
> > Change Connection Packet Type (0x01|0x000f) status 0x00 ncmd 1
> >> HCI Event: Connection Packet Type Changed (0x1d) plen 5
> > status 0x00 handle 42 ptype 0xff1e
> > Packet type: DM1 DM3 DM5 DH1 DH3 DH5 2-DH1 2-DH3 2-DH5 3-DH1 3-DH3
> 3-DH5
> >> HCI Event: Max Slots Change (0x1b) plen 3
> > handle 42 slots 5
> >> HCI Event: Disconn Complete (0x05) plen 4
> > status 0x00 handle 42 reason 0x13
> > Reason: Remote User Terminated Connection
> >
> > :/
> > The phone display "Connection failed"
>
> Do you get any messages in /var/log/syslog from hidd?
>
> --
> Gabriel
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
--
liberté - partage - respect
freedom - share - respect
[-- Attachment #2: Type: text/html, Size: 9524 bytes --]
next prev parent reply other threads:[~2006-02-01 10:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-30 19:35 [Bluez-users] [micro-howto] Ericsson K700i as hid device (hidd options) Gabriel Wicke
2006-01-31 13:36 ` rangzen
2006-02-01 9:16 ` [Bluez-users] " Gabriel Wicke
2006-02-01 10:18 ` rangzen [this message]
2006-02-01 22:31 ` [Bluez-users] " Gabriel Wicke
2006-02-02 7:48 ` rangzen
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=19c2b3920602010218m5da411ek@mail.gmail.com \
--to=lipare@gmail.com \
--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;
as well as URLs for NNTP newsgroup(s).