Date: Thu, 22 Mar 2007 15:07:34 +0000 From: ml-vic <ml-vic@de-martino.it> To: freebsd-bluetooth@freebsd.org Subject: Cannot pair Nokia E61 Message-ID: <200703221507.34630.ml-vic@de-martino.it>
next in thread | raw e-mail | index | archive | help
I'm trying to connect my Nokia E61 (called 'e61' in /etc/bluetooth/host and 'NokiaVic' in /etc/bluetooth/hcsecd.conf, see below) to a laptop with the latest 6.2 thru a usb bluetooth dongle. The bottom line of it is that - form the E61 standpoint - the phone sees the computer as 'NbBSD.dom (ubt0)', but it fails to pair upon introduction of the pin 0000. In rc.conf I enabled hcsecd. Here you are a detailed script ofa long useless session (I'm connected as root) that for an expert can be useful to understand what's wrong with it. Please help. Ciao from Rome - Vittorio >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Script started on Thu Mar 22 14:00:43 2007 NbBSD# /etc/rc.bluetooth start ubt0 BD_ADDR: 00:11:f6:07:cb:b8 Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 00 0x80 <3-Slot> <5-Slot> <Encryption> <Slot offset> <Timing accuracy> <Switch> <Hold mode> <Sniff mode> <Park mode> <RSSI> <Channel quality> <SCO link> <HV2 packets> <HV3 packets> <u-law log> <A-law log> <CVSD> <Paging scheme> <Power control> <Transparent SCO data> <Unknown2.7> Max. ACL packet size: 384 bytes Number of ACL packets: 8 Max. SCO packet size: 64 bytes Number of SCO packets: 8 NbBSD# cat /etc/bluetooth/hcsecd.conf device { bdaddr 00:11:f6:07:c8:b8; name "CompaqPC"; key nokey; pin "0000"; } device { bdaddr 00:12:d2:65:c2:03; name "NokiaVic"; key nokey; pin "0000"; } NbBSD# cat /etc/bluetooth/hcsecd.conf /etc/bluetooth/hcsecd.conf # BD_ADDR Name [ alias0 alias1 ... ] # **localhost** 00:11:f6:07:c8:b8 compaq #The Nokia E61 cell 00:12:d2:65:c2:03 e61 NbBSD# usbdevs -v -d Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 uhub0 port 1 addr 2: full speed, self powered, config 1, product 0x4482(0x4482), vendor 0x04b3(0x04b3), rev 0.00 uhub3 port 1 powered port 2 powered port 3 powered port 4 powered port 2 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 uhub1 port 1 powered port 2 addr 2: full speed, self powered, config 1, product 0x0001(0x0001), vendor 0x0a12(0x0a12), rev 19.58 ubt0 Controller /dev/usb2: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 uhub2 port 1 powered port 2 powered Controller /dev/usb3: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), NEC(0x0000), rev 1.00 uhub4 port 1 powered Controller /dev/usb4: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), NEC(0x0000), rev 1.00 uhub5 port 1 addr 2: full speed, power 100 mA, config 1, Fusion UMTS Quad-GPRS(0x6300), Option N.V.(0x0af0), rev 0.00 ucom0 NbBSD# hccontrol -n ubt0hci inquiry Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: e61 Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 0x2 Page Scan Mode: 00 Class: 50:02:0c Clock offset: 0xf48 Inquiry complete. Status: No error [00] NbBSD# hccontrol -n ubt0hci remote_name_request BD_ADDR: e61 Name: NokiaVic NbBSD# hccontrol -n ubt0hci create_connection e61 BD_ADDR: e61 Connection handle: 42 Encryption mode: Disabled [0] NbBSD# hccontrol -n ubt0hci read_connection_list Remote BD_ADDR Handle Type Mode Role Encrypt Pending Queue State NbBSD# hccontrol -n ubt0hci create_connection NokiaVic 00:12:d2:65:c2:03 BD_ADDR: e61 Connection handle: 42 Encryption mode: Disabled [0] NbBSD# hccontrol -n ubt0hci read_connection_list Remote BD_ADDR Handle Type Mode Role Encrypt Pending Queue State NbBSD# hccontrol -n ubt0hci get_link_quality 42 Status: No connection [0x2] NbBSD# l2ping -a e61 0 bytes from e61 seq_no=0 time=1430.404 ms result=0 0 bytes from e61 seq_no=1 time=60.359 ms result=0 0 bytes from e61 seq_no=2 time=58.552 ms result=0 0 bytes from e61 seq_no=3 time=61.747 ms result=0 ^C NbBSD# l2control -a e61 read_connection_list l2control: Could not bind socket, bdaddr=00:12:d2:65:c2:03: Network is down NbBSD# hccontrol -n ubt0hci write_authentication_enable 1 NbBSD# hccontrol -n ubt0hci write_authentication_enable l Authentication Enable: Enabled [1] NbBSD# sdpcontrol -a e61 browse Record Handle: 0x00010000 Service Class ID List: A/V Remote Control (0x110e) Protocol Descriptor List: L2CAP (0x0100) Protocol specific parameter #1: u/int/uuid16 23 AVCTP (0x0017) Protocol specific parameter #1: u/int/uuid16 256 Protocol specific parameter #2: u/int/uuid16 3840 Record Handle: 0x00010001 Service Class ID List: OBEX Object Push (0x1105) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 9 OBEX (0x0008) Bluetooth Profile Descriptor List: OBEX Object Push (0x1105) ver. 1.0 Record Handle: 0x00010002 Service Class ID List: Dial-Up Networking (0x1103) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 2 Bluetooth Profile Descriptor List: Dial-Up Networking (0x1103) ver. 1.0 Record Handle: 0x00010003 Service Class ID List: Invalid Service Class ID List. Not a UUID, type=0x35 Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 1 Record Handle: 0x00010006 Service Class ID List: Imaging Responder (0x111b) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 15 OBEX (0x0008) Bluetooth Profile Descriptor List: Imaging (0x111a) ver. 1.0 Record Handle: 0x00010007 Service Class ID List: 0x00000002-0000-1000-8000-0002ee000002 Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 10 OBEX (0x0008) Bluetooth Profile Descriptor List: 0x00000002-0000-1000-8000-0002ee000002 ver. 1.0 Record Handle: 0x00010008 Service Class ID List: OBEX File Transfer (0x1106) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 11 OBEX (0x0008) Bluetooth Profile Descriptor List: OBEX File Transfer (0x1106) ver. 1.0 Record Handle: 0x00010009 Service Class ID List: 0x00005005-0000-1000-8000-0002ee000001 Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 12 OBEX (0x0008) Bluetooth Profile Descriptor List: 0x00005005-0000-1000-8000-0002ee000001 ver. 1.0 Record Handle: 0x0001000a Service Class ID List: 0x00000004-0000-1000-8000-0002ee000002 Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 13 OBEX (0x0008) Bluetooth Profile Descriptor List: 0x00000004-0000-1000-8000-0002ee000002 ver. 1.0 Record Handle: 0x0001000b Service Class ID List: 0x00005601-0000-1000-8000-0002ee000001 Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 14 OBEX (0x0008) Bluetooth Profile Descriptor List: 0x00005601-0000-1000-8000-0002ee000001 ver. 1.0 Record Handle: 0x0001000c Service Class ID List: SIM Access (0x112d) Generic Telephony (0x1204) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 8 Bluetooth Profile Descriptor List: SIM Access (0x112d) ver. 1.1 Record Handle: 0x0001000d Service Class ID List: Handsfree Audio Gateway (0x111f) Generic Audio (0x1203) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 28 Bluetooth Profile Descriptor List: Handsfree Audio Gateway (0x111f) ver. 1.1 Record Handle: 0x0001000e Service Class ID List: Headset Audio Gateway (0x1112) Generic Audio (0x1203) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 29 Bluetooth Profile Descriptor List: Headset (0x1108) ver. 1.0 Script done on Thu Mar 22 14:22:04 2007
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703221507.34630.ml-vic>