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

[bluetooth-dev] Ericsson and USB (again)



Hi all,

I cannot get the stack to run over USB with an Ericsson toolkit. I've
read through the mailing list but can't seem to find a solution. Is
there anyone out there who has the Ericsson/USB combination working?? :(
If so, please let me know.

Kind regards,

Per Haglund

Environment:
Redhat 7.1, kernel 2.4.2-2
Ericsson toolkits (from Sigma)
OpenBT 0.0.5 + latest CVS

Running the stack: ./btdm --physdev /dev/ttyUB0

Command line output:
Registered bluetooth line discipline on /dev/ttyUB0
Shutting down Bluetooth stack
Bluetooth stack shut down

Kernel log output:
insmod bt.o:
Aug  7 09:53:20 pixel09 kernel: Bluetooth Driver v1.3, Copyright (c) 2000, 2001 Axis Communications AB
Aug  7 09:53:20 pixel09 kernel: BT SYS: Bluetooth driver registered in ttyBT
Aug  7 09:53:20 pixel09 kernel: BT SYS: Bluetooth line discipline registered.
Aug  7 09:53:20 pixel09 kernel: BT (driver) Initiating bt ctrl struct
Aug  7 09:53:20 pixel09 kernel: BT SYS: Registering BT proc files
Aug  7 09:53:20 pixel09 kernel: BT SYS: Bluetooth Driver Using ttyBT[0-6] (data), ttyBTC (ctrl [7])

Plug in USB cable:
Aug  7 09:53:59 pixel09 kernel: hub.c: USB new device connect on bus1/2, assigned device number 2
Aug  7 09:53:59 pixel09 kernel: usb.c: USB device 2 (vend/prod 0xbdb/0x1000) is not claimed by any active driver.
Aug  7 09:53:59 pixel09 kernel: bluetooth.c: USB Bluetooth support registered
Aug  7 09:53:59 pixel09 kernel: usb.c: registered new driver bluetooth
Aug  7 09:53:59 pixel09 kernel: bluetooth.c: USB Bluetooth converter detected
Aug  7 09:53:59 pixel09 kernel: bluetooth.c: Bluetooth converter now attached to ttyUB0 (or usb/ttub/0 for devfs)

Starting btdm:
Aug  7 09:54:06 pixel09 btdm: Bluetooth daemon starting
Aug  7 09:54:06 pixel09 btdm: open_socket: Failed to connect /tmp/ipa_server
Aug  7 09:54:06 pixel09 sdp_server: SDP Server starting
Aug  7 09:54:07 pixel09 btdm: open_socket: Failed to connect /tmp/ipa_server
Aug  7 09:54:21 pixel09 last message repeated 3 times
Aug  7 09:54:21 pixel09 kernel: BT (driver) bt_open on line 7
Aug  7 09:54:21 pixel09 kernel: BT (driver) Registering tty on line 7 (btdm)
Aug  7 09:54:21 pixel09 kernel: BT (driver) Now 1 open fd:s for ttyBTC [btdm]
Aug  7 09:54:21 pixel09 kernel: BT (driver) bt_close on line 7
Aug  7 09:54:21 pixel09 kernel: BT (driver) Unregistering tty on line 7
Aug  7 09:54:21 pixel09 kernel: BT (ldisc) bt_tty_open
Aug  7 09:54:21 pixel09 kernel: BT SYS: Setting BT driver to use serial tty
Aug  7 09:54:21 pixel09 btdm: Registered bluetooth line discipline on /dev/ttyUB0
Aug  7 09:54:21 pixel09 kernel: BT (driver) bt_open on line 7
Aug  7 09:54:21 pixel09 kernel: BT (driver) Registering tty on line 7 (btdm)
Aug  7 09:54:21 pixel09 kernel: BT (driver) Now 1 open fd:s for ttyBTC [btdm]
Aug  7 09:54:21 pixel09 kernel: BT (ldisc) bt_tty_ioctl: forwarding ioctl 0x540b to n_tty line disc
Aug  7 09:54:21 pixel09 btdm: Init stack
Aug  7 09:54:21 pixel09 kernel: BT SYS: Initialising Bluetooth Stack
Aug  7 09:54:21 pixel09 kernel: BT SYS: Current HW: Ericsson
Aug  7 09:54:21 pixel09 kernel: BT SYS: Initialising BTMEM [2500 bytes]
Aug  7 09:54:21 pixel09 kernel: BT SYS: Initialising HCI
Aug  7 09:54:21 pixel09 kernel: BT SYS: HCI emulator off
Aug  7 09:54:21 pixel09 kernel: BT SYS: Initialising HCI inbuffers [800]
Aug  7 09:54:21 pixel09 kernel: BT SYS: Reading buffer sizes in HW module
Aug  7 09:54:21 pixel09 kernel: cmd_pkt from interrupt!
Aug  7 09:54:23 pixel09 kernel: cmd_timeout: Timeout when waiting for command response
Aug  7 09:54:23 pixel09 kernel: BT SYS: Reading firmware info in HW module
Aug  7 09:54:23 pixel09 kernel: cmd_pkt from interrupt!
Aug  7 09:54:25 pixel09 kernel: cmd_timeout: Timeout when waiting for command response
Aug  7 09:54:25 pixel09 kernel: BT SYS: Host flow control not enabled
Aug  7 09:54:25 pixel09 kernel: BT SYS: M/S switch disabled
Aug  7 09:54:25 pixel09 kernel: BT SYS: Force M/S switch set to 0
Aug  7 09:54:25 pixel09 kernel: BT SYS: ERROR :HCI failed to initialize
Aug  7 09:54:25 pixel09 kernel: init_failed_exit1
Aug  7 09:54:25 pixel09 kernel: init_failed_exit0
Aug  7 09:54:25 pixel09 kernel: BT SYS: Shutting down BTMEM
Aug  7 09:54:25 pixel09 btdm: Shutting down bluetooth stack
Aug  7 09:54:25 pixel09 kernel: BT SYS: Shutting down bluetooth stack
Aug  7 09:54:25 pixel09 kernel: BT SYS: warning :Bluetooth stack not initiated
Aug  7 09:54:26 pixel09 btdm: Init failed, lets try restarting btd
Aug  7 09:54:26 pixel09 btdm: Shutting down bluetooth stack
Aug  7 09:54:26 pixel09 kernel: BT SYS: Shutting down bluetooth stack
Aug  7 09:54:26 pixel09 kernel: BT SYS: warning :Bluetooth stack not initiated
Aug  7 09:54:26 pixel09 kernel: BT (driver) bt_close on line 7
Aug  7 09:54:26 pixel09 kernel: BT (driver) Unregistering tty on line 7
Aug  7 09:54:26 pixel09 kernel: BT (ldisc) bt_tty_ioctl: forwarding ioctl 0x540b to n_tty line disc
Aug  7 09:54:26 pixel09 btdm: Restart...

dmesg log (tail):
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.251 $ time 20:53:29 Apr  8 2001
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 5 for device 00:04.2
PCI: The same IRQ used for device 00:09.0
usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 5
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected

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