[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Connect failed ! (kernel2.4.10 openbt0.0.8 CSR USB)



Hello, it is Soeda.
I was using Red Hat 7.1 (kernel-2.4.2-2), and openbt CVS 2001/09/18.
This time, it upgraded to kernel-2.4.10 openbt-0.0.8.
It became impossible to connect in btd as a result.
What should teach in a cause.
An execution situation is appended below.

# btd -u /dev/ttyUB0 -m -e 0
Bluetooth Control Application
-----------------------------
Running as server
Physdev /dev/ttyUB0, btdev /dev/ttyBT0, speed 115200 baud
Registered bluetooth line discipline on /dev/ttyUB0
Init stack
Setting write_scan_enable in CSR module!
Setting write_pagescan_activity in CSR module!
Setting event filter in CSR module!
Now entering cmd line mode

Menu
------------------------
  inq <Max number of responses> (inquiry scan) 
  rf_conn <xx:xx:xx:xx:xx:xx> <srv ch> <line>
  rf_send <nbr bytes> <nbr repeats> <line>
  rf_disc <line>
  rf_wait <line>
  me <1/0>
  setbd <xx:xx:xx:xx:xx:xx>
  readbd
  reset
  role_switch <xx:xx:xx:xx:xx:xx> <role> (0=master, 1=slave)
  ppp
  quit
> inq 1 10
BD 0: 00:03:5b:ff:06:08
> rf_conn 00:03:5b:ff:06:08 1 0
Connect failed [Unknown layer - unknown reason ((-1))]
> 


Oct 30 10:43:45 Bluetooth1 btd: Initiating signal handler 
Oct 30 10:43:45 Bluetooth1 btd: Starting SDP server [sdp_server] 
Oct 30 10:43:45 Bluetooth1 sdp_server: SDP Server starting
Oct 30 10:43:45 Bluetooth1 btd: Opening dev /dev/ttyUB0 
Oct 30 10:43:45 Bluetooth1 kernel: BT (driver) bt_open: Line 7
Oct 30 10:43:45 Bluetooth1 kernel: BT (driver) Registering tty on line 7 (btd)
Oct 30 10:43:45 Bluetooth1 kernel: BT (driver) Now 1 open fd:s for ttyBTC [btd]
Oct 30 10:43:45 Bluetooth1 kernel: BT (driver) bt_close: Line 7
Oct 30 10:43:45 Bluetooth1 kernel: BT (driver) Unregistering tty on line 7
Oct 30 10:43:45 Bluetooth1 btd: Opening dev /dev/ttyBTC 
Oct 30 10:43:45 Bluetooth1 kernel: BT (ldisc) bt_tty_open
Oct 30 10:43:45 Bluetooth1 kernel: BT SYS: Setting BT driver to use serial tty
Oct 30 10:43:45 Bluetooth1 kernel: BT (driver) bt_open: Line 7
Oct 30 10:43:45 Bluetooth1 kernel: BT (driver) Registering tty on line 7 (btd)
Oct 30 10:43:45 Bluetooth1 kernel: BT (driver) Now 1 open fd:s for ttyBTC [btd]
Oct 30 10:43:45 Bluetooth1 kernel: BT (driver) bt_flush_buffer: Ignored
Oct 30 10:43:45 Bluetooth1 kernel: BT SYS: Initialising Bluetooth Stack
Oct 30 10:43:45 Bluetooth1 kernel: BT SYS: Current HW: CSR
Oct 30 10:43:45 Bluetooth1 kernel: BT SYS: Initialising BTMEM [2500 bytes]
Oct 30 10:43:45 Bluetooth1 kernel: BT SYS: Initialising HCI
Oct 30 10:43:45 Bluetooth1 kernel: BT SYS: HCI emulator off
Oct 30 10:43:45 Bluetooth1 kernel: BT SYS: Initialising HCI inbuffers [800]
Oct 30 10:43:45 Bluetooth1 kernel: BT SYS: Reading buffer sizes in HW module
Oct 30 10:43:45 Bluetooth1 kernel: 
Oct 30 10:43:45 Bluetooth1 kernel: HW module contains...
Oct 30 10:43:45 Bluetooth1 kernel: 8 ACL buffers at 192 bytes
Oct 30 10:43:45 Bluetooth1 kernel: 8 SCO buffers at 64 bytes
Oct 30 10:43:45 Bluetooth1 kernel: 
Oct 30 10:43:45 Bluetooth1 kernel: BT SYS: Reading firmware info in HW module
Oct 30 10:43:45 Bluetooth1 kernel: HCI: process_vendor_event [CSR]
Oct 30 10:43:45 Bluetooth1 last message repeated 2 times
Oct 30 10:43:45 Bluetooth1 kernel: BT SYS: Host flow control not enabled
Oct 30 10:43:45 Bluetooth1 kernel: BT SYS: M/S switch disabled
Oct 30 10:43:45 Bluetooth1 kernel: BT SYS: Force M/S switch set to 0
Oct 30 10:43:45 Bluetooth1 kernel: BT SYS: Initialising L2CAP
Oct 30 10:43:45 Bluetooth1 kernel: BT SYS: Local bd [00:02:5b:ff:06:08]
Oct 30 10:43:45 Bluetooth1 kernel: BT SYS: Initialising RFCOMM
Oct 30 10:43:45 Bluetooth1 kernel: BT SYS: Initialising SDP
Oct 30 10:43:45 Bluetooth1 kernel: BT SYS: Init SDP as server
Oct 30 10:43:45 Bluetooth1 kernel: BT SYS: Initialising TCS
Oct 30 10:43:45 Bluetooth1 kernel: BT SYS: Initialising TEST
Oct 30 10:43:45 Bluetooth1 kernel: BT (driver) __bt_ioctl: HCIWRITECLASSOFDEVICE
Oct 30 10:43:45 Bluetooth1 kernel: BT (driver) __bt_ioctl: HCISETLOCALNAME
Oct 30 10:43:46 Bluetooth1 kernel: BT (driver) Setting write scan enable: [0x3]
Oct 30 10:43:46 Bluetooth1 kernel: BT (driver) Setting write page scan activity: [0x800,0x12]
Oct 30 10:43:47 Bluetooth1 kernel: BT (driver) __bt_ioctl: HCISET_EVENT_FILTER
Oct 30 10:43:47 Bluetooth1 kernel: BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x5401 to n_tty line disc
Oct 30 10:43:47 Bluetooth1 kernel: BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x5402 to n_tty line disc
Oct 30 10:43:47 Bluetooth1 kernel: BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x5401 to n_tty line disc
Oct 30 10:43:47 Bluetooth1 kernel: BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x540b to n_tty line disc
Oct 30 10:43:57 Bluetooth1 kernel: BT (driver) __bt_ioctl: HCINQUIRY
Oct 30 10:43:57 Bluetooth1 kernel: 
Oct 30 10:43:57 Bluetooth1 kernel: hci_inquiry (9):
Oct 30 10:43:57 Bluetooth1 kernel: 0x01 0x01 0x04 0x05 0x33 0x8b 0x9e 0x0a 0x01 
Oct 30 10:44:02 Bluetooth1 kernel: BD addr 1
Oct 30 10:44:02 Bluetooth1 kernel: 
Oct 30 10:44:02 Bluetooth1 kernel: BD (6):
Oct 30 10:44:02 Bluetooth1 kernel: 0x00 0x03 0x5b 0xff 0x06 0x08 
Oct 30 10:44:09 Bluetooth1 kernel: BT (driver) __bt_ioctl: BTCONNECT
Oct 30 10:44:09 Bluetooth1 kernel: BT (driver) bt_connect: Connecting srv ch 1 on line 0
Oct 30 10:44:09 Bluetooth1 kernel:     L2CAP l2ca_connect_req
Oct 30 10:44:09 Bluetooth1 kernel: 
Oct 30 10:44:09 Bluetooth1 kernel: bd (6):
Oct 30 10:44:09 Bluetooth1 kernel: 0x08 0x06 0xff 0x5b 0x03 0x00 
Oct 30 10:44:09 Bluetooth1 kernel: l2ca_connect_req: wait baseband, sleep on wq 0xc160b678
Oct 30 10:44:13 Bluetooth1 kernel: lp_connect_cfm (pos), wake up wq 0xc160b678
Oct 30 10:44:13 Bluetooth1 kernel: lp_connect_cfm, wake up flag not set
Oct 30 10:44:13 Bluetooth1 kernel: BT SYS: process_event: ACL link is up
Oct 30 10:44:13 Bluetooth1 kernel: l2ca_connect_req: wait baseband, woke up !
Oct 30 10:44:13 Bluetooth1 kernel:     L2CAP l2cap_connect_req: Connecting RFCOMM (rcid:0)
Oct 30 10:44:13 Bluetooth1 kernel: HCI: hci_send_data: 12 bytes
Oct 30 10:44:13 Bluetooth1 kernel: l2ca_connect_req: wait rsp, sleep on wq 0xc160b678
Oct 30 10:44:13 Bluetooth1 kernel: HCI: send_acl_data_task: 12 bytes 
Oct 30 10:44:13 Bluetooth1 kernel: HCI: send_acl_data_task: 12 bytes 
Oct 30 10:44:13 Bluetooth1 kernel: HCI: send_acl_packet: send 12 bytes (excl HCI header) out of 12
Oct 30 10:44:13 Bluetooth1 kernel: HCI: send_acl_packet: There are 5 bytes space for the headers
Oct 30 10:44:13 Bluetooth1 kernel: HCI: send_acl_packet: now c = 12
Oct 30 10:44:13 Bluetooth1 kernel: HCI: send_acl_packet: unsubscribing tx_buf.
Oct 30 10:44:13 Bluetooth1 kernel: HCI: update_ncp: acl_num before: 7
Oct 30 10:44:13 Bluetooth1 kernel: HCI: update_ncp: acl_num after: 8
Oct 30 10:44:13 Bluetooth1 kernel: HCI: hci_receive_data: New frame
Oct 30 10:44:13 Bluetooth1 kernel: HCI: hci_receive_data: in_buf->count = 16
Oct 30 10:44:13 Bluetooth1 kernel: HCI: hci_receive_data: Copied 16 bytes into inbuffer
Oct 30 10:44:13 Bluetooth1 kernel: HCI: process_acl_data: in_buf->count:16, in_buf->l2cap_len:0
Oct 30 10:44:13 Bluetooth1 kernel:     L2CAP l2cap_receive_data: got 16 bytes on hci_handle : 40
Oct 30 10:44:13 Bluetooth1 kernel:     L2CAP l2cap_receive_data: New frame len:12 cid:1
Oct 30 10:44:13 Bluetooth1 kernel:     L2CAP l2cap_receive_data: Signal data !
Oct 30 10:44:13 Bluetooth1 kernel:     L2CAP signal_handler: received 12 bytes
Oct 30 10:44:13 Bluetooth1 kernel:     L2CAP signal_handler: Single command
Oct 30 10:44:13 Bluetooth1 kernel:     L2CAP signal_handler: got packet (8 bytes) with ID : 1
Oct 30 10:44:13 Bluetooth1 kernel: l2cap con rsp, wake up wq 0xc160b678
Oct 30 10:44:13 Bluetooth1 kernel:     L2CAP l2cap_config_req: rcid :64
Oct 30 10:44:13 Bluetooth1 kernel: 
Oct 30 10:44:13 Bluetooth1 kernel: l2cap options:  (0):
Oct 30 10:44:13 Bluetooth1 kernel: HCI: hci_send_data: 12 bytes
Oct 30 10:44:13 Bluetooth1 kernel: HCI: send_acl_data_task: 12 bytes 
Oct 30 10:44:13 Bluetooth1 kernel: HCI: send_acl_data_task: 12 bytes 
Oct 30 10:44:13 Bluetooth1 kernel: HCI: send_acl_packet: send 12 bytes (excl HCI header) out of 12
Oct 30 10:44:13 Bluetooth1 kernel: HCI: send_acl_packet: There are 5 bytes space for the headers
Oct 30 10:44:13 Bluetooth1 kernel: HCI: send_acl_packet: now c = 12
Oct 30 10:44:13 Bluetooth1 kernel: HCI: send_acl_packet: unsubscribing tx_buf.
Oct 30 10:44:13 Bluetooth1 kernel: l2ca_connect_req: wait rsp, woke up !
Oct 30 10:44:14 Bluetooth1 kernel: HCI: update_ncp: acl_num before: 7
Oct 30 10:44:14 Bluetooth1 kernel: HCI: update_ncp: acl_num after: 8
Oct 30 10:44:14 Bluetooth1 kernel: HCI: hci_receive_data: New frame
Oct 30 10:44:14 Bluetooth1 kernel: HCI: hci_receive_data: in_buf->count = 14
Oct 30 10:44:14 Bluetooth1 kernel: HCI: hci_receive_data: Copied 14 bytes into inbuffer
Oct 30 10:44:14 Bluetooth1 kernel: HCI: process_acl_data: in_buf->count:14, in_buf->l2cap_len:0
Oct 30 10:44:14 Bluetooth1 kernel:     L2CAP l2cap_receive_data: got 14 bytes on hci_handle : 40
Oct 30 10:44:14 Bluetooth1 kernel:     L2CAP l2cap_receive_data: New frame len:10 cid:1
Oct 30 10:44:14 Bluetooth1 kernel:     L2CAP l2cap_receive_data: Signal data !
Oct 30 10:44:14 Bluetooth1 kernel:     L2CAP signal_handler: received 10 bytes
Oct 30 10:44:14 Bluetooth1 kernel:     L2CAP signal_handler: Single command
Oct 30 10:44:14 Bluetooth1 kernel:     L2CAP signal_handler: got packet (6 bytes) with ID : 2
Oct 30 10:44:14 Bluetooth1 kernel: HCI: hci_receive_data: New frame
Oct 30 10:44:14 Bluetooth1 kernel: HCI: hci_receive_data: in_buf->count = 12
Oct 30 10:44:14 Bluetooth1 kernel: HCI: hci_receive_data: Copied 12 bytes into inbuffer
Oct 30 10:44:14 Bluetooth1 kernel: HCI: process_acl_data: in_buf->count:12, in_buf->l2cap_len:0
Oct 30 10:44:14 Bluetooth1 kernel:     L2CAP l2cap_receive_data: got 12 bytes on hci_handle : 40
Oct 30 10:44:14 Bluetooth1 kernel:     L2CAP l2cap_receive_data: New frame len:8 cid:1
Oct 30 10:44:14 Bluetooth1 kernel:     L2CAP l2cap_receive_data: Signal data !
Oct 30 10:44:14 Bluetooth1 kernel:     L2CAP signal_handler: received 8 bytes
Oct 30 10:44:14 Bluetooth1 kernel:     L2CAP signal_handler: Single command
Oct 30 10:44:14 Bluetooth1 kernel:     L2CAP signal_handler: got packet (4 bytes) with ID : 1
Oct 30 10:44:14 Bluetooth1 kernel:     L2CAP l2cap_config_rsp: rcid : 64, out_mtu: 672 
Oct 30 10:44:14 Bluetooth1 kernel: HCI: hci_send_data: 14 bytes
Oct 30 10:44:14 Bluetooth1 kernel: BT SYS: l2cap channel (64,64) [RFCOMM] connected
Oct 30 10:44:14 Bluetooth1 kernel: BT SYS: rfcomm_config_cfm: l2cap is now open
Oct 30 10:44:14 Bluetooth1 kernel:     L2CAP l2cap_send_data: hdl : 40, rcid : 64, len:4 
Oct 30 10:44:14 Bluetooth1 kernel: HCI: hci_send_data: 8 bytes
Oct 30 10:44:14 Bluetooth1 kernel: HCI: send_acl_data_task: 14 bytes 
Oct 30 10:44:14 Bluetooth1 kernel: HCI: send_acl_data_task: 14 bytes 
Oct 30 10:44:14 Bluetooth1 kernel: HCI: send_acl_packet: send 14 bytes (excl HCI header) out of 14
Oct 30 10:44:14 Bluetooth1 kernel: HCI: send_acl_packet: There are 5 bytes space for the headers
Oct 30 10:44:14 Bluetooth1 kernel: HCI: send_acl_packet: now c = 14
Oct 30 10:44:14 Bluetooth1 kernel: HCI: send_acl_packet: unsubscribing tx_buf.
Oct 30 10:44:14 Bluetooth1 kernel: HCI: send_acl_packet: send 8 bytes (excl HCI header) out of 8
Oct 30 10:44:14 Bluetooth1 kernel: HCI: send_acl_packet: There are 5 bytes space for the headers
Oct 30 10:44:14 Bluetooth1 kernel: HCI: send_acl_packet: now c = 8
Oct 30 10:44:14 Bluetooth1 kernel: HCI: send_acl_packet: unsubscribing tx_buf.
Oct 30 10:44:14 Bluetooth1 kernel: HCI: update_ncp: acl_num before: 6
Oct 30 10:44:14 Bluetooth1 kernel: HCI: update_ncp: acl_num after: 7
Oct 30 10:44:23 Bluetooth1 kernel: BT SYS: wq_timeout
katuma Soeta
e-mail:km-soeta@xxxxxxx.jp