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

[bluetooth-dev] IBM Bluetooth PC Card



Hi, 

I am using Redhat7.3 (linux2.4.18), and I installed opebBT 0.0.8  
in my laptop to work with the pcmcia card: "Bluetooth PC Card II" 
from IBM (CSR qualified products). 
I followed the instruction "Howto - CSR-Hardware and OpenBT" 
(From http://mhonarc.axis.se/bluetooth-dev/msg02986.html)to install 
openBT. 

When I run  
./bti 

the message is
"Please reset HW board with 5 seconds 
Shutting down Bluetooth stack "

And we tried the speed from 9600 to 460800, and get the same message. 
we also tried compile with H4 or BCSP support, but none of them work. 
And the card doesn't have a reset switch...

In the source code, there is: "CRIS" 
I have no idea what is this for. 
The source code does not print this message if the symbol CRIS
is defined to the compiler (#ifndef CRIS).  We suspect that for
a PCMCIA card we probably need to enable this "CRIS" code, but
it is not clear (from the howto) how I can do this.

I cannot open the PC card and I don't have a Casira box, so I cannot
tell what the setup is for my card. 
So how can I make the bluetooth PC card working in linux on laptops. 
 
So if you have some suggestions for helping me get the bluetooth PC
card working for Linux on a laptop, please help!


 
Thanks, 
Jie 

/var/log/messages: 
Sep 21 12:42:03 localhost bti: Bluetooth daemon starting 
Sep 21 12:42:03 localhost sdp_server: SDP Server starting 
Sep 21 12:42:03 localhost kernel: BT (driver) bt_open: Line 7 
Sep 21 12:42:03 localhost kernel: BT (driver) Registering tty on line 
7 (bti) 
Sep 21 12:42:03 localhost kernel: BT (driver) Now 1 open fd:s for 
ttyBTC [bti] 
Sep 21 12:42:03 localhost kernel: BT (driver) bt_close: Line 7 
Sep 21 12:42:03 localhost kernel: BT (driver) Unregistering tty on 
line 7 
Sep 21 12:42:03 localhost kernel: BT (driver) bt_open: Line 7 
Sep 21 12:42:03 localhost kernel: BT (driver) Registering tty on line 
7 (bti) 
Sep 21 12:42:03 localhost kernel: BT (driver) Now 1 open fd:s for 
ttyBTC [bti] 
Sep 21 12:42:03 localhost kernel: BT (driver) BTSETBCSPMODE: -1 
Sep 21 12:42:03 localhost kernel: BT (driver) bt_close: Line 7 
Sep 21 12:42:03 localhost kernel: BT (driver) Unregistering tty on 
line 7 
Sep 21 12:42:03 localhost bti: Registered bluetooth line discipline on 
/dev/ttyS0 
Sep 21 12:42:03 localhost kernel: BT (ldisc) bt_tty_open 
Sep 21 12:42:03 localhost bti: Init stack 
Sep 21 12:42:03 localhost kernel: BT SYS: Setting BT driver to use 
serial tty 
Sep 21 12:42:03 localhost kernel: BT (driver) bt_open: Line 7 
Sep 21 12:42:03 localhost kernel: BT (driver) Registering tty on line 
7 (bti) 
Sep 21 12:42:03 localhost kernel: BT (driver) Now 1 open fd:s for 
ttyBTC [bti] 
Sep 21 12:42:03 localhost kernel: BT (ldisc) bt_tty_ioctl: Forwarding 
ioctl 0x540b to n_tty line disc 
Sep 21 12:42:03 localhost kernel: BT SYS: Initialising Bluetooth Stack 
Sep 21 12:42:03 localhost kernel: BT SYS: Current HW: CSR 
Sep 21 12:42:03 localhost kernel: BT SYS: Initialising BTMEM [2500 
bytes] 
Sep 21 12:42:03 localhost kernel: BT SYS: Initializing BCSP 
Sep 21 12:42:08 localhost kernel: BT SYS: ERROR: bcsp_sync_timeout: 
sync failed 
Sep 21 12:42:08 localhost bti: Init stack 
Sep 21 12:42:08 localhost kernel: BT SYS: Shutting down BCSP 
Sep 21 12:42:08 localhost kernel: BT SYS: Shutting down BTMEM 
Sep 21 12:42:08 localhost kernel: BT SYS: Initialising Bluetooth Stack 
Sep 21 12:42:08 localhost kernel: BT SYS: Current HW: CSR 
Sep 21 12:42:08 localhost kernel: BT SYS: Initialising BTMEM [2500 
bytes] 
Sep 21 12:42:08 localhost kernel: BT SYS: Initializing BCSP 
Sep 21 12:42:13 localhost kernel: BT SYS: ERROR: bcsp_sync_timeout: 
sync failed 
Sep 21 12:42:13 localhost kernel: BT SYS: Shutting down BCSP 
Sep 21 12:42:13 localhost kernel: BT SYS: Shutting down BTMEM 
Sep 21 12:42:14 localhost bti: Changing CSR host IF: H4 -> BCSP 
Sep 21 12:42:14 localhost kernel: BT (driver) BTSETBCSPMODE: -1 
Sep 21 12:42:14 localhost kernel: BT (driver) BTSETBCSPMODE: 0 
Sep 21 12:42:14 localhost kernel: BT (ldisc) bt_tty_ioctl: Forwarding 
ioctl 0x5401 to n_tty line disc 
Sep 21 12:42:14 localhost kernel: BT (driver) bt_open: Line 7 
Sep 21 12:42:14 localhost kernel: BT (driver) Registering tty on line 
7 (bti) 
Sep 21 12:42:14 localhost kernel: BT (driver) Now 2 open fd:s for 
ttyBTC [bti] 
Sep 21 12:42:14 localhost kernel: BT (driver) BTSETBCSPMODE: -1 
Sep 21 12:42:14 localhost kernel: BT (driver) bt_close: Line 7 
Sep 21 12:42:14 localhost kernel: BT (driver) Unregistering tty on 
line 7 
Sep 21 12:42:14 localhost kernel: BT (ldisc) bt_tty_ioctl: Forwarding 
ioctl 0x5402 to n_tty line disc 
Sep 21 12:42:14 localhost kernel: BT (ldisc) bt_tty_ioctl: Forwarding 
ioctl 0x5401 to n_tty line disc 
Sep 21 12:42:20 localhost bti: Init stack 
Sep 21 12:42:20 localhost kernel: BT SYS: Initialising Bluetooth Stack 
Sep 21 12:42:20 localhost kernel: BT SYS: Current HW: CSR 
Sep 21 12:42:20 localhost kernel: BT SYS: Initialising BTMEM [2500 
bytes] 
Sep 21 12:42:20 localhost kernel: BT SYS: Initialising HCI 
Sep 21 12:42:20 localhost kernel: BT SYS: HCI emulator off 
Sep 21 12:42:20 localhost kernel: BT SYS: Initialising HCI inbuffers 
[800] 
Sep 21 12:42:20 localhost kernel: BT SYS: Reading buffer sizes in HW 
module 
Sep 21 12:42:20 localhost kernel: BT SYS: Reading firmware info in HW 
module 
Sep 21 12:42:22 localhost kernel: cmd_timeout: Timeout when waiting 
for command response 
Sep 21 12:42:26 localhost last message repeated 2 times 
Sep 21 12:42:26 localhost bti: csr_pskey: ps_key 0x222 rw_mode : 0 
Sep 21 12:42:26 localhost kernel: BT SYS: Host flow control not 
enabled 
Sep 21 12:42:26 localhost kernel: BT SYS: M/S switch disabled 
Sep 21 12:42:26 localhost kernel: BT SYS: Force M/S switch set to 0 
Sep 21 12:42:26 localhost kernel: BT SYS: ERROR: HCI failed to 
initialise 
Sep 21 12:42:26 localhost kernel: BT SYS: Shutting down BCSP 
Sep 21 12:42:26 localhost kernel: BT SYS: Shutting down BTMEM 
Sep 21 12:42:26 localhost kernel: BT (driver) BT_CSR_PSKEY [ps:546 
type:0] 
Sep 21 12:42:28 localhost kernel: cmd_timeout: Timeout when waiting 
for command response 
Sep 21 12:42:28 localhost bti: csr_pskey: ps_key 0x191 rw_mode : 0 
Sep 21 12:42:28 localhost kernel: BT (driver) BT_CSR_PSKEY [ps:401 
type:0] 
Sep 21 12:42:30 localhost kernel: cmd_timeout: Timeout when waiting 
for command response 
Sep 21 12:42:30 localhost bti: csr_h4_to_bcsp: Unknown PS key 
parameter: 0 
Sep 21 12:42:30 localhost bti: Shutting down bluetooth stack 
Sep 21 12:42:30 localhost kernel: BT (driver) BTSETBCSPMODE: 1 
Sep 21 12:42:30 localhost kernel: BT SYS: Shutting down bluetooth 
stack 
Sep 21 12:42:30 localhost kernel: BT SYS: Shutting down BCSP 
Sep 21 12:42:30 localhost kernel: BT SYS: Shutting down BTMEM 
Sep 21 12:42:30 localhost bti: Shutting down bluetooth stack 
Sep 21 12:42:30 localhost kernel: BT SYS: Shutting down bluetooth 
stack 
Sep 21 12:42:30 localhost kernel: BT SYS: Shutting down BCSP 
Sep 21 12:42:30 localhost kernel: BT SYS: Shutting down BTMEM 
Sep 21 12:42:30 localhost kernel: BT (driver) bt_close: Line 7 
Sep 21 12:42:30 localhost kernel: BT (driver) Unregistering tty on 
line 7 
Sep 21 12:42:30 localhost bti: Restart...   
    

 
 



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