sudo hciconfig gives nothing, no errors, no response.
sudo modprobe btwilink installs OK, but still no devices found in the Bluetooth Manager applet.
Then hciconfig shows
hci0: Type BR/EDT Bus: UART
its marked as DOWN and lists
BD Address 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
Some one else is going to have to pick this up from here as I just don't care enough about it right now to proceed.
If I plug in a known to work with Linux USB Bluetooth dongle, it seems to work fine in superficial testing.
find attached the static version of the UIM.
The only dependency it has is for the logging - LOGE/LOGV.
So, I modified or rather had #defined all of the UIM_DBG or UIM_VER to
say printf or fprintf(stderr)
Let me know if this works out.
The main problem is that there is NO place holder for UIM at all - It
is not hosted on any GIT specific to a Linux flavor.
static struct ti_st_plat_data wilink_pdata = {
.dev_name = "/dev/ttyO1", /* UART2 */
.nshutdown_gpio = 46, /* BT GPIO */
.flow_cntrl = 1,
.baud_rate = 3686400, /* 115200 for test */
.suspend = NULL,
.resume = NULL,
.chip_enable = NULL,
.chip_disable = NULL,
.chip_asleep = NULL,
.chip_awake = NULL,
};
static struct platform_device wl1271_device = {
.name = "kim",
.id = -1,
.dev.platform_data = &wilink_pdata,
};
You should be also including the following header files to reference
the platform data,
/* for TI Shared Transport devices */
#include <linux/skbuff.h>
#include <linux/ti_wilink_st.h>
[37885.914398] (stk) :line discipline installed
[37885.919555] (stk) :TIInit_7.2.31.bts
[37885.924865] (stk) : request_firmware failed(errno -2) for TIInit_7.2.31.bts
[37885.932159] (stk) :download firmware failed
[37885.936676] (stk) :ldisc_install = 0
[37885.940979] (stc): st_tty_close
[37885.946624] Bluetooth: st_register failed -22
I have TTinit_7.2.31.bts (and other stuff) in /lib/firmware/ti-connectivity, wlan works fine
Gents,I am having the exact same issues here too. But I cannot seem to find any of the files that were attached or referenced in this thread.Would some one be as so kind to point me in the right direction to the files required to be added/amended to get bluetooth connectivity working ?
Hello All, I tried my best to get this fixed, but unfortunately could not.
Android AOSP however has all the pieces required to get this working. As mentioned before you will need 2 key pieces for BT to work.
1. TI-ST shared transport driver, driver at kernels drivers/misc/ti-st folder and platform device code at arch/arm/mach-omap2/board-panda.c
2. Uim from uim-sysfs this is available at Androids hardware/to/wpan/ti-st/
None of these as such is truly dependent on Android but the kernel user spaces changes have easily creeper into Android but finding it hard to get them to Ubuntu.
Droid sent - Ignore typos
Try a lower baud rate like 115200. This can be changed in the kernel where the ti-st device is added.
Droid sent - Ignore typos
Pavan
After Some time after I run uim (5-10min) i get BT switched on
get host BT address
130|root@android:/ # hciconfig -a
hci0: Type: BR/EDR Bus: UART
BD Address: E0:D7:BA:38:A6:43 ACL MTU: 1021:4 SCO MTU: 180:4
UP RUNNING PSCAN
RX bytes:1648 acl:0 sco:0 events:69 errors:0
TX bytes:1396 acl:0 sco:0 commands:75 errors:0
Features: 0xff 0xff 0x2d 0xfe 0x9b 0xff 0x79 0x83
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Can't read local name on hci0: Connection timed out (110)
uim get me
130|root@android:/ #
uim:@ main
uim:install set previously...
uim:@ st_uart_config
uim: signal received, opening /dev/ttyO1
uim:@ set_baud_rate
uim: Can't get port settings
uim:set_baudrate() failed
uim:begin polling...
Hello again,theres a problem in my procedure with pandaboardES !You have to use a unique .bts file for Ubuntu 12.04.The only one whichs working for me is one out of aninstalled linaro ubuntu for PandaBoardES.I attached the bts on this posting.Hope it will work now for everyone !Greetings- Chris -
Hello again,theres a problem in my procedure with pandaboardES !You have to use a unique .bts file for Ubuntu 12.04.The only one whichs working for me is one out of aninstalled linaro ubuntu for PandaBoardES.I attached the bts on this posting.Hope it will work now for everyone !Greetings- Chris -
Am Sonntag, 31. März 2013 10:56:06 UTC+2 schrieb christia...@googlemail.com:Hello everyone !
Ive got bluetooth an wlan working at the same time on PandaBoard and PandaBoardES.
System: PandaBoard/PandaBoard ES:Ubuntu 3.2.0-1427-omap4 (12.04)
I testet the following procedure to get it working:
sudo git clone git://gitorious.org/uim/uim.git
cd uim
sudo make
sudo make install
sudo nano /etc/rc.local
rc.local:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
modprobe btwilink
uim
exit 0
Ctrl+o (save)
Ctrl+x(quit)
sudo reboot
enjoy BT on your PandaBoard !
instead of nano you can use your favourite editor..
maybe vi or sudo gedit /etc/rc.local should work, too.