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

[bluetooth-dev] Install problems with CSR PCMCIA Brainboxes



Hi all,

I'm trying to install openbt 0.0.8 stack in RedHat 7.2 with kernel 2.4.9
and Brainboxes's PCMCIA card but I canīt load bti, I get the following error
messages when I run ./bti :

Please reset HW board within 5 seconds
csr_bcsp_to_h4: Invalid argument
Shutting down Bluetooth stack

My Bluetooth card is BL-500 with H4 support, similar BL-600, and I set in
the
btconfig.h to used bluetooth CSR:

#define CONFIG_BLUETOOTH_CSR
#undef CONFIG_BLUETOOTH_ERICSSON

I enabled all debug messages in the btdebug.h file in order to find the
problem but
I canīt find. The following lines are the messages in the /var/log/messages
when I ran ./bti:

syslogd 1.4.1: restart.
syslog: syslogd startup succeeded
kernel: klogd 1.4.1, log source = /proc/kmsg started.
kernel: Inspecting /boot/System.map-2.4.9
syslog: klogd startup succeeded
kernel: Loaded 14008 symbols from /boot/System.map-2.4.9.
kernel: Symbols match kernel version 2.4.9.
kernel: Loaded 352 symbols from 4 modules.
syslog: syslogd shutdown succeeded
syslog: syslogd shutdown succeeded
bti: Bluetooth daemon starting
sdp_server: SDP Server starting
bti: Registered bluetooth line discipline on /dev/ttyS0
bti: Init stack
kernel: BT (driver) bt_open: Line 7
kernel: BT (driver) Registering tty on line 7 (bti)
kernel: BT (driver) Now 1 open fd:s for ttyBTC [bti]
kernel: BT (driver) bt_close: Line 7
kernel: BT (driver) Unregistering tty on line 7
kernel: BT (driver) bt_open: Line 7
kernel: BT (driver) Registering tty on line 7 (bti)
kernel: BT (driver) Now 1 open fd:s for ttyBTC [bti]
kernel: BT (driver) BTSETBCSPMODE: -1
kernel: BT (driver) bt_close: Line 7
kernel: BT (driver) Unregistering tty on line 7
kernel: BT (ldisc) bt_tty_open
kernel: BT SYS: Setting BT driver to use serial tty
kernel: BT (driver) bt_open: Line 7
kernel: BT (driver) Registering tty on line 7 (bti)
kernel: BT (driver) Now 1 open fd:s for ttyBTC [bti]
kernel: BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x540b to n_tty line disc
kernel: BT SYS: Initialising Bluetooth Stack
kernel: BT SYS: Current HW: CSR
kernel: BT SYS: Initialising BTMEM [2500 bytes]
kernel: BT SYS: Initialising HCI
kernel: BT SYS: HCI emulator off
kernel: BT SYS: Initialising HCI inbuffers [800]
kernel: HCI: init_cmd_buf: Initializing
kernel: BT SYS: Reading buffer sizes in HW module
kernel: HCI: hci_read_buffer_size
kernel: HCI: start_cmd_timer
kernel: HCI: insert_cmd
kernel: HCI: send_cmd_queue: start: Num_HCI_Command_Packets=1
kernel:
kernel: send_cmd_queue:  (4):
kernel: 0x01 0x05 0x10 0x00
kernel: HCI: send_cmd_queue: end : 0 cmds left in queue
kernel: cmd_timeout: Timeout when waiting for command response
kernel: BT SYS: Reading firmware info in HW module
kernel: HCI: hci_read_firmware_rev_info [CSR] BuildID/ChipVer/ChipRev
kernel: HCI: start_cmd_timer
kernel: HCI: insert_cmd
kernel: HCI: send_cmd_queue: start: Num_HCI_Command_Packets=1
kernel:
kernel: send_cmd_queue:  (27):
kernel: 0x01 0x00 0xfc 0x17 0xc2 0x00 0x00 0x0b 0x00 0x00 0x00 0x19 0x28
0x00 0x00 0x00
kernel: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
kernel: HCI: send_cmd_queue: end : 0 cmds left in queue
kernel: cmd_timeout: Timeout when waiting for command response
kernel: HCI: start_cmd_timer
kernel: HCI: insert_cmd
kernel: HCI: send_cmd_queue: start: Num_HCI_Command_Packets=1
kernel:
kernel: send_cmd_queue:  (27):
kernel: 0x01 0x00 0xfc 0x17 0xc2 0x00 0x00 0x0b 0x00 0x01 0x00 0x1a 0x28
0x00 0x00 0x00
kernel: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
kernel: HCI: send_cmd_queue: end : 0 cmds left in queue
kernel: cmd_timeout: Timeout when waiting for command response
kernel: HCI: start_cmd_timer
kernel: HCI: insert_cmd
kernel: HCI: send_cmd_queue: start: Num_HCI_Command_Packets=1
kernel:
kernel: send_cmd_queue:  (27):
kernel: 0x01 0x00 0xfc 0x17 0xc2 0x00 0x00 0x0b 0x00 0x02 0x00 0x1b 0x28
0x00 0x00 0x00
kernel: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
kernel: HCI: send_cmd_queue: end : 0 cmds left in queue
bti: Init stack
kernel: cmd_timeout: Timeout when waiting for command response
kernel: BT SYS: Host flow control not enabled
kernel: BT SYS: M/S switch disabled
kernel: BT SYS: Force M/S switch set to 0
kernel: BT SYS: ERROR: HCI failed to initialise
kernel: BT SYS: Shutting down BTMEM
kernel: BT SYS: Initialising Bluetooth Stack
kernel: BT SYS: Current HW: CSR
kernel: BT SYS: Initialising BTMEM [2500 bytes]
kernel: BT SYS: Initialising HCI
kernel: BT SYS: HCI emulator off
kernel: BT SYS: Initialising HCI inbuffers [800]
kernel: HCI: init_cmd_buf: Initializing
kernel: BT SYS: Reading buffer sizes in HW module
kernel: HCI: hci_read_buffer_size
kernel: HCI: start_cmd_timer
kernel: HCI: insert_cmd
kernel: HCI: send_cmd_queue: start: Num_HCI_Command_Packets=1
kernel:
kernel: send_cmd_queue:  (4):
kernel: 0x01 0x05 0x10 0x00
kernel: HCI: send_cmd_queue: end : 0 cmds left in queue
kernel: cmd_timeout: Timeout when waiting for command response
kernel: BT SYS: Reading firmware info in HW module
kernel: HCI: hci_read_firmware_rev_info [CSR] BuildID/ChipVer/ChipRev
kernel: HCI: start_cmd_timer
kernel: HCI: insert_cmd
kernel: HCI: send_cmd_queue: start: Num_HCI_Command_Packets=1
kernel:
kernel: send_cmd_queue:  (27):
kernel: 0x01 0x00 0xfc 0x17 0xc2 0x00 0x00 0x0b 0x00 0x03 0x00 0x19 0x28
0x00 0x00 0x00
kernel: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
kernel: HCI: send_cmd_queue: end : 0 cmds left in queue
kernel: cmd_timeout: Timeout when waiting for command response
kernel: HCI: start_cmd_timer
kernel: HCI: insert_cmd
kernel: HCI: send_cmd_queue: start: Num_HCI_Command_Packets=1
kernel:
kernel: send_cmd_queue:  (27):
kernel: 0x01 0x00 0xfc 0x17 0xc2 0x00 0x00 0x0b 0x00 0x04 0x00 0x1a 0x28
0x00 0x00 0x00
kernel: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
kernel: HCI: send_cmd_queue: end : 0 cmds left in queue
kernel: cmd_timeout: Timeout when waiting for command response
kernel: HCI: start_cmd_timer
kernel: HCI: insert_cmd
kernel: HCI: send_cmd_queue: start: Num_HCI_Command_Packets=1
kernel:
kernel: send_cmd_queue:  (27):
kernel: 0x01 0x00 0xfc 0x17 0xc2 0x00 0x00 0x0b 0x00 0x05 0x00 0x1b 0x28
0x00 0x00 0x00
kernel: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
kernel: HCI: send_cmd_queue: end : 0 cmds left in queue
kernel: cmd_timeout: Timeout when waiting for command response
kernel: BT SYS: Host flow control not enabled
kernel: BT SYS: M/S switch disabled
kernel: BT SYS: Force M/S switch set to 0
kernel: BT SYS: ERROR: HCI failed to initialise
kernel: BT SYS: Shutting down BTMEM
bti: Changing CSR host IF: BCSP -> H4
kernel: BT (driver) BTSETBCSPMODE: -1
kernel: BT (driver) BTSETBCSPMODE: 1
kernel: BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x5401 to n_tty line disc
kernel: BT (driver) bt_open: Line 7
kernel: BT (driver) Registering tty on line 7 (bti)
kernel: BT (driver) Now 2 open fd:s for ttyBTC [bti]
kernel: BT (driver) BTSETBCSPMODE: -1
kernel: BT (driver) bt_close: Line 7
kernel: BT (driver) Unregistering tty on line 7
kernel: BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x5402 to n_tty line disc
kernel: BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x5401 to n_tty line disc
bti: Shutting down bluetooth stack
kernel: BT SYS: Shutting down bluetooth stack
kernel: BT SYS: Shutting down BTMEM
kernel: BT (driver) bt_close: Line 7
kernel: BT (driver) Unregistering tty on line 7
kernel: BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x540b to n_tty line disc

What is the problem? Someone have any idea?

Thanks in advance.

Johnny

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