2004-06-09 23:47:38

by David Wuertele

[permalink] [raw]
Subject: [Bluez-users] Thinkpad X31 @ fedora core 2, trying to connect to Nokia 6380i

I boot my thinkpad, and the bluetooth chip is recognized. My phone
has bluetooth turned on. I see my phone when I scan, but I can't seem
to connect with it:

# uname -a
Linux 5nave 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 i686 i686 i386 GNU/Linux
# rpm -q bluez-utils bluez-libs
bluez-utils-2.4-3
bluez-libs-2.5-2.1
# grep CONFIG_BT_ /usr/src/linux-2.6.5-1.358/.config
CONFIG_BT_L2CAP=m
CONFIG_BT_SCO=m
CONFIG_BT_RFCOMM=m
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=m
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_CMTP=m
CONFIG_BT_HCIUSB=m
CONFIG_BT_HCIUSB_SCO=y
CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_BCSP=y
CONFIG_BT_HCIUART_BCSP_TXCRC=y
CONFIG_BT_HCIBCM203X=m
CONFIG_BT_HCIBFUSB=m
CONFIG_BT_HCIDTL1=m
CONFIG_BT_HCIBT3C=m
CONFIG_BT_HCIBLUECARD=m
CONFIG_BT_HCIBTUART=m
CONFIG_BT_HCIVHCI=m
# hcitool scan
Scanning ...
00:60:57:2A:37:E9 Dave's Nokia
# ls -l /dev/rfcomm0
crw-r--r-- 1 root root 216, 0 Jun 9 16:15 /dev/rfcomm0
# hcitool dev
Devices:
hci0 00:20:E0:75:D6:F6
# ps auxwf | grep hcid
root 1982 0.0 0.0 3100 700 ? S 16:24 0:00 hcid: processing events
root 2785 0.0 0.0 3104 700 ? S 16:43 0:00 \_ hcid: processing events
root 2790 0.0 0.0 4012 572 pts/1 S 16:44 0:00 \_ grep hcid
# rfcomm connect rfcomm0 00:60:57:2A:37:E9
Can't connect RFCOMM socket: Resource temporarily unavailable
# tail -2 /var/log/messages
Jun 9 16:43:37 5nave hcid[1982]: link_key_request (sba=00:20:E0:75:D6:F6, dba=00:60:57:2A:37:E9)
Jun 9 16:43:37 5nave hcid[1982]: pin_code_request (sba=00:20:E0:75:D6:F6, dba=00:60:57:2A:37:E9)
#

Is there something else I should be doing?

Thanks,
Dave



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2004-06-10 10:16:49

by Nicholas A. Preyss

[permalink] [raw]
Subject: Re: [Bluez-users] Thinkpad X31 @ fedora core 2, trying to connect to Nokia 6380i

On 0, David Wuertele <[email protected]> wrote:
> I boot my thinkpad, and the bluetooth chip is recognized. My phone
> has bluetooth turned on. I see my phone when I scan, but I can't seem
> to connect with it:
>
> # uname -a
> Linux 5nave 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 i686 i686 i386 GNU/Linux
> # rpm -q bluez-utils bluez-libs
> bluez-utils-2.4-3
> bluez-libs-2.5-2.1
> # hcitool scan
> Scanning ...
> 00:60:57:2A:37:E9 Dave's Nokia
> [...]
> # ps auxwf | grep hcid
> root 1982 0.0 0.0 3100 700 ? S 16:24 0:00 hcid: processing events
> root 2785 0.0 0.0 3104 700 ? S 16:43 0:00 \_ hcid: processing events
> root 2790 0.0 0.0 4012 572 pts/1 S 16:44 0:00 \_ grep hcid
> # rfcomm connect rfcomm0 00:60:57:2A:37:E9
> Can't connect RFCOMM socket: Resource temporarily unavailable
> # tail -2 /var/log/messages
> Jun 9 16:43:37 5nave hcid[1982]: link_key_request (sba=00:20:E0:75:D6:F6, dba=00:60:57:2A:37:E9)
> Jun 9 16:43:37 5nave hcid[1982]: pin_code_request (sba=00:20:E0:75:D6:F6, dba=00:60:57:2A:37:E9)
>
> Is there something else I should be doing?

Seems that your PIN exchange doesn't work. What is your "security"
setting in hcid.conf? Does appear a pin windows on the mobile display?

nicholas


-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users