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

[bluetooth-dev] Re: CSR & openBT 0.0.6 problem



Hello, it is Soeda. 

The last question (it does not operate by CVS) was my 
misapprehension. A setup of CASIRA was changed by some causes, and 
it had become the situation which cannot perform communication of 
UART. Initialization of btd was completed when setting up CASIRA. 
Next, although it was used in USB, it does not operate. This problem 
is asked with another title.

Thank you.

>Hello, it is Soeda. 
>CVS was acquired and compiled.
>However, there is no reply from CASIRA.
>
>under /var/log/messgaes log
>Sep 15 14:52:32 Bluetooth1 kernel: Bluetooth Driver v1.3, Copyright (c) 2000, 2001 Axis Communications AB
>Sep 15 14:52:32 Bluetooth1 kernel: BT SYS: Bluetooth driver registered as ttyBT
>Sep 15 14:52:32 Bluetooth1 kernel: BT SYS: Bluetooth line discipline registered.
>Sep 15 14:52:32 Bluetooth1 kernel: BT (driver) Initialising bt ctrl struct
>Sep 15 14:52:32 Bluetooth1 kernel: BT SYS: Registering BT proc files
>Sep 15 14:52:32 Bluetooth1 kernel: BT SYS: Bluetooth Driver Using ttyBT[0-6] (data), ttyBTC (ctrl [7])
>Sep 15 14:53:09 Bluetooth1 btd: Initiating signal handler 
>Sep 15 14:53:09 Bluetooth1 btd: Starting SDP server [sdp_server] 
>Sep 15 14:53:09 Bluetooth1 sdp_server: SDP Server starting
>Sep 15 14:53:09 Bluetooth1 btd: Opening dev /dev/ttyS0 
>Sep 15 14:53:09 Bluetooth1 kernel: BT (driver) bt_open: Line 7
>Sep 15 14:53:09 Bluetooth1 kernel: BT (driver) Registering tty on line 7 (btd)
>Sep 15 14:53:09 Bluetooth1 kernel: BT (driver) Now 1 open fd:s for ttyBTC [btd]
>Sep 15 14:53:09 Bluetooth1 kernel: BT (driver) bt_close: Line 7
>Sep 15 14:53:09 Bluetooth1 kernel: BT (driver) Unregistering tty on line 7
>Sep 15 14:53:09 Bluetooth1 kernel: BT (ldisc) bt_tty_open
>Sep 15 14:53:09 Bluetooth1 kernel: BT SYS: Setting BT driver to use serial tty
>Sep 15 14:53:09 Bluetooth1 btd: Opening dev /dev/ttyBTC 
>Sep 15 14:53:09 Bluetooth1 kernel: BT (driver) bt_open: Line 7
>Sep 15 14:53:09 Bluetooth1 kernel: BT (driver) Registering tty on line 7 (btd)
>Sep 15 14:53:09 Bluetooth1 kernel: BT (driver) Now 1 open fd:s for ttyBTC [btd]
>Sep 15 14:53:09 Bluetooth1 kernel: BT (driver) bt_flush_buffer: Ignored
>Sep 15 14:53:09 Bluetooth1 kernel: BT SYS: Initialising Bluetooth Stack
>Sep 15 14:53:09 Bluetooth1 kernel: BT SYS: Current HW: CSR
>Sep 15 14:53:09 Bluetooth1 kernel: BT SYS: Initialising BTMEM [2500 bytes]
>Sep 15 14:53:09 Bluetooth1 kernel: BT SYS: Initialising HCI
>Sep 15 14:53:09 Bluetooth1 kernel: BT SYS: HCI emulator off
>Sep 15 14:53:09 Bluetooth1 kernel: BT SYS: Initialising HCI inbuffers [800]
>Sep 15 14:53:09 Bluetooth1 kernel: HCI: init_cmd_buf: Initializing
>Sep 15 14:53:09 Bluetooth1 kernel: BT SYS: Reading buffer sizes in HW module
>Sep 15 14:53:09 Bluetooth1 kernel: HCI: hci_read_buffer_size
>Sep 15 14:53:09 Bluetooth1 kernel: HCI: start_cmd_timer
>Sep 15 14:53:09 Bluetooth1 kernel: HCI: insert_cmd
>Sep 15 14:53:09 Bluetooth1 kernel: HCI: send_cmd_queue: start: Num_HCI_Command_Packets=1
>Sep 15 14:53:09 Bluetooth1 kernel: 
>Sep 15 14:53:09 Bluetooth1 kernel: send_cmd_queue:  (4):
>Sep 15 14:53:09 Bluetooth1 kernel: 0x01 0x05 0x10 0x00 
>Sep 15 14:53:09 Bluetooth1 kernel: BT DATA <--|X|      4
>Sep 15 14:53:09 Bluetooth1 kernel: 
>Sep 15 14:53:09 Bluetooth1 kernel: <--|X| (4):
>Sep 15 14:53:09 Bluetooth1 kernel: 0x01 0x05 0x10 0x00 
>Sep 15 14:53:09 Bluetooth1 kernel: HCI: send_cmd_queue: end : 0 cmds left in queue
>Sep 15 14:53:11 Bluetooth1 kernel: cmd_timeout: Timeout when waiting for command response
>Sep 15 14:53:11 Bluetooth1 kernel: BT SYS: Reading firmware info in HW module
>Sep 15 14:53:11 Bluetooth1 kernel: HCI: hci_read_firmware_rev_info [CSR] BuildID/ChipVer/ChipRev
>Sep 15 14:53:11 Bluetooth1 kernel: HCI: start_cmd_timer
>Sep 15 14:53:11 Bluetooth1 kernel: HCI: insert_cmd
>Sep 15 14:53:11 Bluetooth1 kernel: HCI: send_cmd_queue: start: Num_HCI_Command_Packets=1
>Sep 15 14:53:11 Bluetooth1 kernel: 
>Sep 15 14:53:11 Bluetooth1 kernel: send_cmd_queue:  (27):
>Sep 15 14:53:11 Bluetooth1 kernel: 0x01 0x00 0xfc 0x17 0xc2 0x00 0x00 0x0b 0x00 0x00 0x00 0x19 0x28 0x00 0x00 0x00 
>Sep 15 14:53:11 Bluetooth1 kernel: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
>Sep 15 14:53:11 Bluetooth1 kernel: BT DATA <--|X|     27
>Sep 15 14:53:11 Bluetooth1 kernel: 
>Sep 15 14:53:11 Bluetooth1 kernel: <--|X| (27):
>Sep 15 14:53:11 Bluetooth1 kernel: 0x01 0x00 0xfc 0x17 0xc2 0x00 0x00 0x0b 0x00 0x00 0x00 0x19 0x28 0x00 0x00 0x00 
>Sep 15 14:53:11 Bluetooth1 kernel: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
>Sep 15 14:53:11 Bluetooth1 kernel: HCI: send_cmd_queue: end : 0 cmds left in queue
>Sep 15 14:53:13 Bluetooth1 kernel: cmd_timeout: Timeout when waiting for command response
>
>
>>Hi katuma,
>>
>>The error message in your 2nd problem is the same as I get, but it does not 
>>seem to cause any problems. It would although be nice to fix it, anyone who 
>>knows the cause?
>>
>>As far as I know there is a fix in the CVS that solves your first problem. 
>>Browse the CVS for the two files and I think you will find updates that 
>>solves your problem.
>>
>>//Peter Fredriksson
>>
>>
>>
>>At 18:27 2001-09-14 +0900, you wrote:
>>>I have problem then use CASIRA(UART H4) and openBT Ver 0.0.6.
>>>
>>>1.Vender name not equal
>>>   'openbt\apps\bluetooth\btd\btd.c' and 'openbt\linux\drivers\char\blu
>>>etooth\hci_vendor.c'.
>>>   'btd.c' comparison to 'CSR' only but 'hci_vendor.c' provide 'CSR
>>>(BCSP)' or 'CSR (H4)'.
>>>
>>>2. penbt\apps\bluetooth\experimental\bti.o write to ERROR messages.
>>>    I don't know a cause.
>>>
>>>under /var/log/messgaes log
>>>Sep 13 14:45:33 Bluetooth1 bti: bt_set_baudrate: 115200 baud
>>>Sep 13 14:45:33 Bluetooth1 kernel: BT (driver) bt_ioctl: Setting baudrate 
>>>in host controller to 115200
>>>Sep 13 14:45:33 Bluetooth1 kernel: HCI: hci_set_baudrate [CSR] (115200 baud)
>>>Sep 13 14:45:33 Bluetooth1 kernel: BT DATA <--|X|     23
>>>Sep 13 14:45:33 Bluetooth1 kernel:
>>>Sep 13 14:45:33 Bluetooth1 kernel: <--|X| (23):
>>>Sep 13 14:45:33 Bluetooth1 kernel: 0x01 0x00 0xfc 0x13 0xc2 0x02 0x00 0x09 
>>>0x00 0x03 0x00 0x02 0x68 0x00 0x00 0xd8
>>>Sep 13 14:45:33 Bluetooth1 kernel: 0x01 0x00 0x00 0x00 0x00 0x00 0x00
>>>Sep 13 14:45:33 Bluetooth1 kernel: BT (ldisc) bt_tty_ioctl: forwarding 
>>>ioctl 0x5401 to n_tty line disc
>>>Sep 13 14:45:33 Bluetooth1 kernel: BT (ldisc) bt_tty_ioctl: forwarding 
>>>ioctl 0x5402 to n_tty line disc
>>>Sep 13 14:45:33 Bluetooth1 kernel: BT (ldisc) bt_tty_ioctl: forwarding 
>>>ioctl 0x5401 to n_tty line disc
>>>Sep 13 14:45:33 Bluetooth1 kernel: BT (ldisc) bt_tty_ioctl: forwarding 
>>>ioctl 0x540b to n_tty line disc
>>>Sep 13 14:45:33 Bluetooth1 kernel: BT DATA -->|X|     22
>>>Sep 13 14:45:33 Bluetooth1 kernel:
>>>Sep 13 14:45:33 Bluetooth1 kernel: -->|X| (22):
>>>Sep 13 14:45:33 Bluetooth1 kernel: 0x04 0xff 0x13 0xc2 0x01 0x00 0x09 0x00 
>>>0x03 0x00 0x02 0x68 0x00 0x00 0xd8 0x01
>>>Sep 13 14:45:33 Bluetooth1 kernel: 0x00 0x00 0x00 0x00 0x00 0x00
>>>Sep 13 14:45:33 Bluetooth1 kernel:
>>>Sep 13 14:45:33 Bluetooth1 kernel: hci_receive_data:  (22):
>>>Sep 13 14:45:33 Bluetooth1 kernel: 0x04 0xff 0x13 0xc2 0x01 0x00 0x09 0x00 
>>>0x03 0x00 0x02 0x68 0x00 0x00 0xd8 0x01
>>>Sep 13 14:45:33 Bluetooth1 kernel: 0x00 0x00 0x00 0x00 0x00 0x00
>>>Sep 13 14:45:33 Bluetooth1 kernel: hci_receive_data: hci-22
>>>Sep 13 14:45:33 Bluetooth1 kernel: HCI: hci_receive_data: WAIT_FOR_PACKET_TYPE
>>>Sep 13 14:45:33 Bluetooth1 kernel: HCI: hci_receive_data: WAIT_FOR_EVENT_TYPE
>>>Sep 13 14:45:33 Bluetooth1 kernel: HCI: hci_receive_data: 
>>>WAIT_FOR_EVENT_LENGTH
>>>Sep 13 14:45:33 Bluetooth1 kernel:
>>>Sep 13 14:45:33 Bluetooth1 kernel: process_event (19):
>>>Sep 13 14:45:33 Bluetooth1 kernel: 0xc2 0x01 0x00 0x09 0x00 0x03 0x00 0x02 
>>>0x68 0x00 0x00 0xd8 0x01 0x00 0x00 0x00
>>>Sep 13 14:45:33 Bluetooth1 kernel: 0x00 0x00 0x00
>>>Sep 13 14:45:33 Bluetooth1 kernel: HCI: process_vendor_event [CSR]
>>>Sep 13 14:45:33 Bluetooth1 kernel: HCI: release_cmd_timer
>>>Sep 13 14:45:34 Bluetooth1 kernel: BT DATA -->|X|     24
>>>Sep 13 14:45:34 Bluetooth1 kernel:
>>>Sep 13 14:45:34 Bluetooth1 kernel: -->|X| (24):
>>>Sep 13 14:45:34 Bluetooth1 kernel: 0x04 0xff 0x19 0xc3 0x02 0x00 0x0c 0x00 
>>>0x8f 0x1e 0x00 0x10 0x00 0x00 0x1c 0x00
>>>Sep 13 14:45:34 Bluetooth1 kernel: 0xb1 0x29 0xd3 0x44 0x01 0x00 0xee 0x96
>>>Sep 13 14:45:34 Bluetooth1 kernel:
>>>Sep 13 14:45:34 Bluetooth1 kernel: hci_receive_data:  (24):
>>>Sep 13 14:45:34 Bluetooth1 kernel: 0x04 0xff 0x19 0xc3 0x02 0x00 0x0c 0x00 
>>>0x8f 0x1e 0x00 0x10 0x00 0x00 0x1c 0x00
>>>Sep 13 14:45:34 Bluetooth1 kernel: 0xb1 0x29 0xd3 0x44 0x01 0x00 0xee 0x96
>>>Sep 13 14:45:34 Bluetooth1 kernel: hci_receive_data: hci-24
>>>Sep 13 14:45:34 Bluetooth1 kernel: HCI: hci_receive_data: WAIT_FOR_PACKET_TYPE
>>>Sep 13 14:45:34 Bluetooth1 kernel: HCI: hci_receive_data: WAIT_FOR_EVENT_TYPE
>>>Sep 13 14:45:34 Bluetooth1 kernel: HCI: hci_receive_data: 
>>>WAIT_FOR_EVENT_LENGTH
>>>Sep 13 14:45:34 Bluetooth1 kernel: HCI: hci_receive_data: WAIT_FOR_EVENT_PARAM
>>>Sep 13 14:45:34 Bluetooth1 kernel: BT DATA -->|X|      8
>>>Sep 13 14:45:34 Bluetooth1 kernel:
>>>Sep 13 14:45:34 Bluetooth1 kernel: -->|X| (8):
>>>Sep 13 14:45:34 Bluetooth1 kernel: 0x18 0xb3 0x24 0xb7 0x04 0x10 0x01 0x1c
>>>Sep 13 14:45:34 Bluetooth1 kernel:
>>>Sep 13 14:45:34 Bluetooth1 kernel: hci_receive_data:  (8):
>>>Sep 13 14:45:34 Bluetooth1 kernel: 0x18 0xb3 0x24 0xb7 0x04 0x10 0x01 0x1c
>>>Sep 13 14:45:34 Bluetooth1 kernel: hci_receive_data: hci-8
>>>Sep 13 14:45:34 Bluetooth1 kernel: HCI: hci_receive_data: WAIT_FOR_EVENT_PARAM
>>>Sep 13 14:45:34 Bluetooth1 kernel:
>>>Sep 13 14:45:34 Bluetooth1 kernel: process_event (25):
>>>Sep 13 14:45:34 Bluetooth1 kernel: 0xc3 0x02 0x00 0x0c 0x00 0x8f 0x1e 0x00 
>>>0x10 0x00 0x00 0x1c 0x00 0xb1 0x29 0xd3
>>>Sep 13 14:45:34 Bluetooth1 kernel: 0x44 0x01 0x00 0xee 0x96 0x18 0xb3 0x24 
>>>0xb7
>>>Sep 13 14:45:34 Bluetooth1 kernel: HCI: process_vendor_event [CSR]
>>>Sep 13 14:45:34 Bluetooth1 kernel: HCI: release_cmd_timer
>>>Sep 13 14:45:34 Bluetooth1 kernel: HCI: hci_receive_data: WAIT_FOR_PACKET_TYPE
>>>Sep 13 14:45:34 Bluetooth1 kernel: HCI: hci_receive_data: WAIT_FOR_EVENT_TYPE
>>>Sep 13 14:45:34 Bluetooth1 kernel: HCI: hci_receive_data: 
>>>WAIT_FOR_EVENT_LENGTH
>>>Sep 13 14:45:34 Bluetooth1 kernel:
>>>Sep 13 14:45:34 Bluetooth1 kernel: process_event (1):
>>>Sep 13 14:45:34 Bluetooth1 kernel: 0x1c
>>>Sep 13 14:45:34 Bluetooth1 kernel: BT SYS: ERROR :process_event: An 
>>>hardware error with error code 0x1c occurred
>>>Sep 13 14:45:34 Bluetooth1 kernel:  Please refer to your bluetooth module 
>>>manual
>>>--------------------------------------------------
>>>katuma Soeta
>>>e-mail:km-soeta@xxxxxxx.jp
>>>-
>>>To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
>>>the body of a message to majordomo@xxxxxxx.com
katuma Soeta
e-mail:km-soeta@xxxxxxx.jp
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com