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

RE: [bluetooth-dev] A openBT problem,please help me!!




Thank you very much,Peter.Now it works!!
--- Peter Kjellerstedt <peter.kjellerstedt@xxxxxxx.com>
wrote:
> If I am not mistaken, you are using Ericsson P9A.
> P9A does not support master/slave switch. Disable
> support for M/S switch
> (CONFIG_BLUETOOTH_ENABLE_MSSWITCH)
> and try again.
> 
> //Peter
> 
> > -----Original Message-----
> > From: eax wang [mailto:nasm64@xxxxxxx.com]
> > Sent: Friday, November 02, 2001 07:52
> > To: bluetooth-dev@xxxxxxx.com
> > Subject: [bluetooth-dev] A openBT problem,please
> help me!!
> > 
> > I use openBT 's newest version ,it is installed on
> > RedHat 7.1,kernel 2.4.2. I use Ericsson bluetooth
> > chip.After compiler and run the stack,all seemed
> no
> > error.I use it as a server and run "btdm --speed
> > 57600"
> > When I use another windows PC as the client and
> use
> > "Widcomm Software" to browse the bluetooth
> > Neighborhood,it can find the server linux box
> which
> > named "AXis",But if I want to discover its
> service,I
> > cannot find anything.
> > I see the log of openBT and found it told:
> > "
> > Oct 30 15:53:30 localhost btdm: Init stack
> > Oct 30 15:53:30 localhost kernel: BT SYS: Host
> flow control not enabled
> > Oct 30 15:53:30 localhost kernel: BT SYS: M/S
> switch enabled
> > Oct 30 15:53:30 localhost kernel: BT SYS: Force
> M/S switch set to 1
> > Oct 30 15:53:30 localhost kernel: BT SYS: ERROR:
> HCI failed to initialise
> > Oct 30 15:53:30 localhost kernel: BT SYS: Shutting
> down BTMEM
> > Oct 30 15:53:30 localhost kernel: BT SYS:
> Initialising Bluetooth Stack
> > Oct 30 15:53:30 localhost kernel: BT SYS: Current
> HW: Ericsson
> > Oct 30 15:53:30 localhost kernel: BT SYS:
> Initialising BTMEM [2500 bytes]
> > Oct 30 15:53:30 localhost kernel: BT SYS:
> Initialising HCI
> > Oct 30 15:53:30 localhost kernel: BT SYS: HCI
> emulator off
> > Oct 30 15:53:30 localhost kernel: BT SYS:
> Initialising HCI inbuffers [800]
> > Oct 30 15:53:30 localhost kernel: BT SYS: Reading
> buffer sizes in HW module
> > Oct 30 15:53:30 localhost kernel: 
> > Oct 30 15:53:30 localhost kernel: HW module
> contains...
> > Oct 30 15:53:30 localhost kernel: 10 ACL buffers
> at 800 bytes
> > Oct 30 15:53:30 localhost kernel: 0 SCO buffers at
> 0 bytes
> > Oct 30 15:53:30 localhost kernel: 
> > Oct 30 15:53:30 localhost kernel: BT SYS: Reading
> firmware info in HW module
> > Oct 30 15:53:30 localhost kernel: Ericsson HW
> revision info: ^M
> > Oct 30 15:53:30 localhost kernel:  Generated:
> 2000-04-28 15:54^M
> > Oct 30 15:53:30 localhost kernel:  Comment: CXC
> 125 244 P9A
> > Oct 30 15:53:30 localhost kernel: 
> > Oct 30 15:53:30 localhost kernel: BT SYS: Host
> flow control not enabled
> > Oct 30 15:53:30 localhost kernel: BT SYS: M/S
> switch enabled
> > Oct 30 15:53:30 localhost kernel: BT SYS: Force
> M/S switch set to 1
> > Oct 30 15:53:30 localhost kernel: BT SYS:
> Initialising L2CAP
> > Oct 30 15:53:30 localhost btdm:
> bt_set_classofdevice : srv class 0x10, maj class
> 0x3, min class 0x0, format 0x0
> > Oct 30 15:53:30 localhost kernel: BT SYS: Local bd
> [00:d0:b7:03:4a:9c]
> > Oct 30 15:53:30 localhost kernel: BT SYS:
> Initialising RFCOMM
> > Oct 30 15:53:30 localhost kernel: BT SYS:
> Initialising SDP
> > Oct 30 15:53:30 localhost kernel: BT SYS: Init SDP
> as server
> > Oct 30 15:53:30 localhost kernel: BT SYS:
> Initialising TCS
> > Oct 30 15:53:30 localhost kernel: BT SYS:
> Initialising TEST
> > Oct 30 15:53:30 localhost kernel: BT (driver)
> BT_SET_DFU_MODE: -1
> > Oct 30 15:53:30 localhost kernel: BT (driver)
> __bt_ioctl: HCIWRITECLASSOFDEVICE
> > Oct 30 15:53:30 localhost btdm: bt_set_local_name:
> AXIS (localhost.localdomain)
> > Oct 30 15:53:30 localhost kernel: BT (driver)
> __bt_ioctl: HCISETLOCALNAME
> > Oct 30 15:53:30 localhost btdm: Setting
> write_scan_enable: 0x3
> > Oct 30 15:53:30 localhost kernel: BT (driver)
> Setting write scan enable: [0x3]
> > Oct 30 15:53:31 localhost btdm: Setting event
> filter [0x2 0x0 0x1]
> > Oct 30 15:53:31 localhost kernel: BT (driver)
> __bt_ioctl: HCISET_EVENT_FILTER
> > Oct 30 15:53:32 localhost btdm: bt_set_baudrate:
> 115200 baud
> > Oct 30 15:53:32 localhost kernel: BT (driver)
> __bt_ioctl: Setting baudrate in host controller to
> 115200
> > Oct 30 15:53:32 localhost kernel: BT (ldisc)
> bt_tty_ioctl: Forwarding ioctl 0x5401 to n_tty line
> disc
> > Oct 30 15:53:32 localhost kernel: BT (driver)
> bt_open: Line 7
> > Oct 30 15:53:32 localhost kernel: BT (driver)
> Registering tty on line 7 (btdm)
> > Oct 30 15:53:32 localhost kernel: BT (driver) Now
> 2 open fd:s for ttyBTC [btdm]
> > Oct 30 15:53:32 localhost kernel: BT (driver)
> BTSETBCSPMODE: -1
> > Oct 30 15:53:32 localhost kernel: BT (driver)
> bt_close: Line 7
> > Oct 30 15:53:32 localhost kernel: BT (driver)
> Unregistering tty on line 7
> > Oct 30 15:53:32 localhost kernel: BT (ldisc)
> bt_tty_ioctl: Forwarding ioctl 0x5402 to n_tty line
> disc
> > Oct 30 15:53:32 localhost kernel: BT (ldisc)
> bt_tty_ioctl: Forwarding ioctl 0x5401 to n_tty line
> disc
> > Oct 30 15:53:32 localhost kernel: BT (ldisc)
> bt_tty_ioctl: Forwarding ioctl 0x540b to n_tty line
> disc
> > Oct 30 15:53:56 localhost kernel: BT SYS:
> lp_connect_rsp: Early m/s switch
> > Oct 30 15:53:56 localhost kernel: BT SYS: ERROR:
> process_event: COMMAND_STATUS: Invalid HCI Command
> Parameters
> > Oct 30 15:54:02 localhost kernel: lp_connect_cfm
> (neg), wake up flag not set
> > Oct 30 15:54:02 localhost kernel: BT SYS:
> process_event: CONNECTION_COMPLETE Host Timeout
> > Oct 30 15:54:02 localhost kernel: BT SYS: ERROR:
> reset_hci_con_bd: Didn't find connection with
> con_hdl 3840
> > Oct 30 15:54:06 localhost kernel: BT SYS:
> lp_connect_rsp: Early m/s switch
> > Oct 30 15:54:06 localhost kernel: BT SYS: ERROR:
> process_event: COMMAND_STATUS: Invalid HCI Command
> Parameters
> > Oct 30 15:54:11 localhost kernel: lp_connect_cfm
> (neg), wake up flag not set
> > Oct 30 15:54:11 localhost kernel: BT SYS:
> process_event: CONNECTION_COMPLETE Host Timeout
> > Oct 30 15:54:11 localhost kernel: BT SYS: ERROR:
> reset_hci_con_bd: Didn't find connection with
> con_hdl 3840
> > Oct 30 15:54:27 localhost kernel: BT SYS:
> lp_connect_rsp: Early m/s switch
> > Oct 30 15:54:27 localhost kernel: BT SYS: ERROR:
> process_event: COMMAND_STATUS: Invalid HCI Command
> Parameters
> > Oct 30 15:54:32 localhost kernel: lp_connect_cfm
> (neg), wake up flag not set
> > Oct 30 15:54:32 localhost kernel: BT SYS:
> process_event: CONNECTION_COMPLETE Host Timeout
> > Oct 30 15:54:32 localhost kernel: BT SYS: ERROR:
> reset_hci_con_bd: Didn't find connection with
> con_hdl 3840
> > Oct 30 15:54:36 localhost kernel: BT SYS:
> lp_connect_rsp: Early m/s switch
> > Oct 30 15:54:36 localhost kernel: BT SYS: ERROR:
> process_event: COMMAND_STATUS: Invalid HCI Command
> Parameters
> > Oct 30 15:54:41 localhost kernel: lp_connect_cfm
> (neg), wake up flag not set
> > Oct 30 15:54:41 localhost kernel: BT SYS:
> process_event: CONNECTION_COMPLETE Host Timeout
> > Oct 30 15:54:41 localhost kernel: BT SYS: ERROR:
> reset_hci_con_bd: Didn't find connection with
> con_hdl 3840
> > "
> > 
> > Does anyone also meet this problem? Who can help
> me?
> > Thanks a lot!


__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com