[Gutsy] pand connect fails

Bug #173097 reported by John Eckman
4
Affects Status Importance Assigned to Milestone
bluez-utils (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: bluez-utils

Laptop as client using mobile phone internet connection over bluetooth through USB dongle.

Used to work under Fiesty, not longer works under Gutsy (never did, for me).

Not certain if this is a bluez-utils bug - appreciate any help anyone can offer in troubleshooting/debugging.

Laptop is Dell Latitude D810, Kubuntu Gutsy.
USB Dongle is an IOGear model GBU221

lsusb:
Bus 004 Device 002: ID 0a5c:2101 Broadcom Corp.

hcitool dev:
        hci0 00:02:72:02:21:E1

hcitool scan:
        00:18:AF:A2:30:B5 eckman-blackjack

(which is the phone I'm trying to connect to)

I think the key part of /var/log/syslog is here, following after issuing the sudo pand -c [bt address] command:

Nov 30 12:39:54 jeckman-ubuntu pand[6843]: Bluetooth PAN daemon version 3.19
Nov 30 12:39:54 jeckman-ubuntu pand[6843]: Connecting to 00:18:AF:A2:30:B5
Nov 30 12:39:54 jeckman-ubuntu NetworkManager: <debug> [1196444393.242220] nm_hal_device_added()
: New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_a5c_2101_0002720221E1_if
0_bluetooth_hci_bluetooth_hci').
Nov 30 12:39:56 jeckman-ubuntu kernel: [ 224.588000] hci_acldata_packet: hci0 ACL packet for un
known connection handle 12
Nov 30 12:39:56 jeckman-ubuntu kernel: [ 224.744000] hci_acldata_packet: hci0 ACL packet for un
known connection handle 12
Nov 30 12:39:56 jeckman-ubuntu hcid[6093]: link_key_request (sba=00:02:72:02:21:E1, dba=00:18:AF
:A2:30:B5)
Nov 30 12:39:56 jeckman-ubuntu pand[6843]: Connect to 00:18:AF:A2:30:B5 failed. Success(0)
Nov 30 12:39:58 jeckman-ubuntu NetworkManager: <debug> [1196444398.984350] nm_hal_device_removed
(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_a5c_2101_0002720221E1_if
0_bluetooth_hci_bluetooth_hci').

I don't know what the hci0 ACL packet for unknown connection handle is, or why NetworkManager shows a new device being added and then removed.

Revision history for this message
John Eckman (eckman-john) wrote :

And here's the output of hcidump when I issue the command:

HCI sniffer - Bluetooth packet analyzer ver 1.39
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
> HCI Event: Command Status (0x0f) plen 4
> ACL data: handle 12 flags 0x01 dlen 0
> HCI Event: Role Change (0x12) plen 8
> ACL data: handle 12 flags 0x01 dlen 0
> HCI Event: Connect Complete (0x03) plen 11
< ACL data: handle 12 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 15 scid 0x0040
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
> HCI Event: Command Status (0x0f) plen 4
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
> HCI Event: Read Remote Supported Features (0x0b) plen 11
> HCI Event: Command Complete (0x0e) plen 6
> HCI Event: Max Slots Change (0x1b) plen 3
> ACL data: handle 12 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0044 scid 0x0040 result 0 status 0
      Connection successful
< ACL data: handle 12 flags 0x02 dlen 16
    L2CAP(s): Config req: dcid 0x0044 flags 0x00 clen 4
      MTU 1691
> ACL data: handle 12 flags 0x02 dlen 16
    L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
      MTU 1691
< ACL data: handle 12 flags 0x02 dlen 18
    L2CAP(s): Config rsp: scid 0x0044 flags 0x00 result 0 clen 4
      Success
      MTU 1691
> ACL data: handle 12 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
      Success
< ACL data: handle 12 flags 0x02 dlen 11
    L2CAP(d): cid 0x0044 len 7 [psm 15]
      BNEP: Control(0x01|0)
        Setup Req(0x01) size 0x02 dst 0x1116(NAP) src 0x1115(PANU)
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Remote Name Req Complete (0x07) plen 255
> HCI Event: Link Key Request (0x17) plen 6
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
> HCI Event: Command Complete (0x0e) plen 10
> ACL data: handle 12 flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x0040 scid 0x0044
< ACL data: handle 12 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0044
> HCI Event: Number of Completed Packets (0x13) plen 5
< HCI Command: Disconnect (0x01|0x0006) plen 3
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Disconn Complete (0x05) plen 4

Revision history for this message
Mario Limonciello (superm1) wrote :

Pand is no longer supported as a method to create pan connections starting on the 4.x stack.

Changed in bluez-utils:
status: New → Won't Fix
Revision history for this message
Gabriele Tozzi (gabriele-tozzi) wrote :

Same on Jaunty. What are we supposed to use instead?

Changed in bluez-utils (Ubuntu):
status: Won't Fix → New
Changed in bluez-utils (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for bluez-utils (Ubuntu) because there has been no activity for 60 days.]

Changed in bluez-utils (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.