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

[bluetooth-dev] bt stack not initialising



Hi Anders
  i tried to initialise the bluetooth stack using the 'bti' command. the 
BlueMod log messages are given below. for some reason the bluetooth stack is 
not initialising when i issue the bti command. as u mentioned earlier i 
checked the inittab settings. the settings i found before issuing the bti 
command is also given below.i also found that when starting up the BlueMod 
it always diplays 2 error messages. i didn't pay much attention to it. the 
messages are:
-----------------------------------------------------------------------
UART1 change speed 460800
BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x540b to n_tty line disc
BT SYS: hci_receive_hq: Unknown message type

hci_receive_hq (24):
0x02 0x00 0x0c 0x00 0x8d 0x1e 0x00 0x10 0x00 0x00 0x1c 0x00 0x24 0x00 0x85 
0x12
0x01 0x00 0x00 0x00 0x12 0xb3 0x14 0xb7
BT SYS: ERROR: process_event: A hardware error with error code 0x1C 
occurred.
BT SYS: ERROR: process_event: Please refer to your Bluetooth module's 
manual.
-----------------------------------------------------------------------------------------------------------------------------
i don't know what the above error messages indicate. do u think the 
bluetooth stack is not initialising due to the above error.

inittab settings which i found
*************************************************************************
inet:unknown:/bin/inetd
flt:unknown:/bin/flatfsd
*************************************************************************
looking forward to get some hints from u
thanks
regards
ashil abdulla


# bti -u /dev/ttyS1 -i 115200 -s 460800
Shutting down Bluetooth stack
# bti -u /dev/ttyS1 -i 115200 -s 460800
BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x5401 to n_tty line disc
BT (driver) bt_open: Line 7
BT (driver) Registering tty on line 7 (bti)
BT (driver) Now 6 open fd:s for ttyBTC [bti]
BT (driver) BTSETBCSPMODE: -1
BT (driver) bt_close: Line 7
BT (driver) Unregistering tty on line 7
BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x5402 to n_tty line disc
UART1 change speed 115200
Error setting serial_struct with TIOCSSERIAL: Unknown error 16
BT (driver) bt_open: Line 7
BT (driver) Registering tty on line 7 (bti)
BT (driver) Now 6 open fd:s for ttyBTC [bti]
BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x540b to n_tty line disc
BT SYS: Shutting down bluetooth stack
BT SYS: Shutting down RFCOMM
BT SYS: Shutting down SDP
BT SYS: Shutting down TCS
BT SYS: Shutting down L2CAP
BT SYS: Shutting down BCSP
BT SYS: Shutting down BTMEM
BT SYS: Initialising Bluetooth Stack
BT SYS: Current HW: CSR
BT SYS: Initialising BTMEM [2500 bytes]
BT SYS: Initializing BCSP
BT (driver) bt_open: Line 7
BT (driver) Registering tty on line 7 (sec_manager)
BT (driver) Now 7 open fd:s for ttyBTC [sec_manager]
BT SYS: ERROR: bcsp_sync_timeout: sync failed
BT SYS: Shutting down BCSP
BT SYS: Shutting down BTMEM
BT SYS: Initialising Bluetooth Stack
BT SYS: Current HW: CSR
BT SYS: Initialising BTMEM [2500 bytes]
BT SYS: Initializing BCSP
BT SYS: ERROR: bcsp_sync_timeout: sync failed
BT SYS: Shutting down BCSP
BT SYS: Shutting down BTMEM
BT (driver) __bt_ioctl: HCIPINCODEREPLY

hci_pin_code_request_reply: New pin is
(4):
0x31 0x31 0x31 0x31

hci_pin_code_request_reply:  BD_addr (6):
0x00 0x00 0x00 0x00 0x00 0x00

hci_pin_code_request_reply:  pin (4):
0x31 0x31 0x31 0x31
BT (driver) bt_open: Line 7
BT (driver) Registering tty on line 7 (bti)
BT (driver) Now 8 open fd:s for ttyBTC [bti]
cmd_timeout: Timeout when waiting for command response
BT (driver) bt_close: Line 7
BT (driver) Unregistering tty on line 7
BT (driver) bt_close: Line 7
BT (driver) Unregistering tty on line 7
BT (driver) BTSETBCSPMODE: -1
BT (driver) BTSETBCSPMODE: 0
BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x5401 to n_tty line disc
BT (driver) bt_open: Line 7
BT (driver) Registering tty on line 7 (bti)
BT (driver) Now 7 open fd:s for ttyBTC [bti]
BT (driver) BTSETBCSPMODE: -1
BT (driver) bt_close: Line 7
BT (driver) Unregistering tty on line 7
BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x5402 to n_tty line disc
UART1 change speed 115200
Error setting serial_struct with TIOCSSERIAL: Unknown error 16
Please reset HW board within 5 seconds
ERROR : giving up on rtx!
BT SYS: Initialising Bluetooth Stack
BT SYS: Current HW: CSR
BT SYS: Initialising BTMEM [2500 bytes]
BT SYS: Initialising HCI
BT SYS: HCI emulator off
BT SYS: Initialising HCI inbuffers [800]
BT SYS: Reading buffer sizes in HW module
cmd_timeout: Timeout when waiting for command response
BT SYS: Reading firmware info in HW module
cmd_timeout: Timeout when waiting for command response
cmd_timeout: Timeout when waiting for command response
cmd_timeout: Timeout when waiting for command response
BT SYS: Host flow control not enabled
BT SYS: M/S switch enabled
BT SYS: Force M/S switch set to 1
BT SYS: ERROR: HCI failed to initialise
BT SYS: Shutting down BCSP
BT SYS: Shutting down BTMEM
BT (driver) BT_CSR_PSKEY [ps:546 type:0]
BT (driver) BT_CSR_PSKEY [ps:401 type:0]
BT (driver) BTSETBCSPMODE: 1
BT SYS: Shutting down bluetooth stack
BT SYS: Shutting down BCSP
BT SYS: Shutting down BTMEM
Shutting down Bluetooth stack
BT SYS: Shutting down bluetooth stack
BT SYS: Shutting down BCSP
BT SYS: Shutting down BTMEM
BT (driver) bt_close: Line 7
BT (driver) Unregistering tty on line 7
BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x540b to n_tty line disc
BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x5401 to n_tty line disc
BT (driver) bt_open: Line 7
BT (driver) Registering tty on line 7 (bti)
BT (driver) Now 6 open fd:s for ttyBTC [bti]
BT (driver) BTSETBCSPMODE: -1
BT (driver) bt_close: Line 7
BT (driver) Unregistering tty on line 7
BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x5402 to n_tty line disc
UART1 change speed 115200
Error setting serial_struct with TIOCSSERIAL: Unknown error 16
BT (driver) bt_open: Line 7
BT (driver) Registering tty on line 7 (bti)
BT (driver) Now 6 open fd:s for ttyBTC [bti]
BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x540b to n_tty line disc
BT SYS: Initialising Bluetooth Stack
BT SYS: Current HW: CSR
BT SYS: Initialising BTMEM [2500 bytes]
BT SYS: Initializing BCSP
BT SYS: ERROR: bcsp_sync_timeout: sync failed
BT SYS: Shutting down BCSP
BT SYS: Shutting down BTMEM
BT SYS: Initialising Bluetooth Stack
BT SYS: Current HW: CSR
BT SYS: Initialising BTMEM [2500 bytes]
BT SYS: Initializing BCSP
BT SYS: ERROR: bcsp_sync_timeout: sync failed
BT SYS: Shutting down BCSP
BT SYS: Shutting down BTMEM
Shutting down Bluetooth stack
BT SYS: Shutting down bluetooth stack
BT SYS: Shutting down BCSP
BT SYS: Shutting down BTMEM
BT (driver) bt_close: Line 7
BT (driver) Unregistering tty on line 7
BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x540b to n_tty line disc

_________________________________________________________________
MSN Toolbar provides one-click access to Hotmail from any Web page  FREE 
download! http://toolbar.msn.click-url.com/go/onm00200413ave/direct/01/

-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com