Discussion:
Bluetooth on ES Pandaboard with Ubuntu 12.04
Craig Shaffer
2012-07-31 03:42:18 UTC
Permalink
Has anyone actually gotten a bluetooth device connected to the pandaboard?

I feel like I've tried everything if you've gotten it working can you
please post exact / simple instructions.

I've got just a basic image loaded from the binary release of 12.04

Thanks,
/Craig
w***@public.gmane.org
2012-07-31 14:31:01 UTC
Permalink
As far as I know, there is no Bluetooth driver available yet for the
Pandaboard ES.

If I'm not correct, perhaps someone can correct me, and point to where to
get it and explain how to install it.

Bluetooth is not a priority for me right now so I've not put anywhere near
the effort into it as I have to get the SPIDEV working (still not
successful for anything other than CS0).
Post by Craig Shaffer
Has anyone actually gotten a bluetooth device connected to the pandaboard?
I feel like I've tried everything if you've gotten it working can you
please post exact / simple instructions.
I've got just a basic image loaded from the binary release of 12.04
Thanks,
/Craig
Pavan Savoy
2012-07-31 14:33:25 UTC
Permalink
Post by w***@public.gmane.org
As far as I know, there is no Bluetooth driver available yet for the
Pandaboard ES.
If I'm not correct, perhaps someone can correct me, and point to where to
get it and explain how to install it.
Well the driver already exists in all the mainline kernel that you get.
It might not be enabled (might be...)

You can find more info regarding the driver here,
http://omappedia.org/wiki/TI_Shared_Transport_Description_and_Support
If you are able to build your own kernel for the panda that you have,
then getting BT working should be fairly easy.
Post by w***@public.gmane.org
Bluetooth is not a priority for me right now so I've not put anywhere near
the effort into it as I have to get the SPIDEV working (still not successful
for anything other than CS0).
Post by Craig Shaffer
Has anyone actually gotten a bluetooth device connected to the pandaboard?
I feel like I've tried everything if you've gotten it working can you
please post exact / simple instructions.
I've got just a basic image loaded from the binary release of 12.04
Thanks,
/Craig
--
--Pavan Savoy
w***@public.gmane.org
2012-07-31 19:07:12 UTC
Permalink
Post by Pavan Savoy
Well the driver already exists in all the mainline kernel that you get.
It might not be enabled (might be...)
You can find more info regarding the driver here,
http://omappedia.org/wiki/TI_Shared_Transport_Description_and_Support
If you are able to build your own kernel for the panda that you have,
then getting BT working should be fairly easy.
Nothing useful to me in that link.

CONFIG_TI_ST=Y

in the 3.4.0 TI source I downloaded to build the SPIDEV, so your link
suggests the driver should be built in the TI 3.4.0 kernel.

The Ubuntu Bluetooth settings tool says "no Bluetooth adapters found"

So it ain't that simple, the Pandaboard ES Bluetooth hardware is not
working in the TI 3.4.0 kernel, nor did it work with the 3.2 kernels in the
Ubuntu 12.04 release.

The information in your reply was not worth your careless posting exposing
my Email to the spambots!
Pavan Savoy
2012-07-31 19:43:54 UTC
Permalink
Post by w***@public.gmane.org
Post by Pavan Savoy
Well the driver already exists in all the mainline kernel that you get.
It might not be enabled (might be...)
You can find more info regarding the driver here,
http://omappedia.org/wiki/TI_Shared_Transport_Description_and_Support
If you are able to build your own kernel for the panda that you have,
then getting BT working should be fairly easy.
Nothing useful to me in that link.
CONFIG_TI_ST=Y
in the 3.4.0 TI source I downloaded to build the SPIDEV, so your link
suggests the driver should be built in the TI 3.4.0 kernel.
The Ubuntu Bluetooth settings tool says "no Bluetooth adapters found"
So it ain't that simple, the Pandaboard ES Bluetooth hardware is not
working in the TI 3.4.0 kernel, nor did it work with the 3.2 kernels in the
Ubuntu 12.04 release.
A quick look at the ti-omap4 branch of the ubuntu kernel - I do see
the TI_ST driver and the BT_WILINK drivers are built.
The TI_ST driver as built-in and BT_WILINK as module.

So, Is the btwilink module inserted ? #lsmod - should tell us that.
Also, You will have to run a utility called uim-sysfs - But "no
Bluetooth adapters found" probably suggests that the modules isn't
inserted to begin with.

running #hciconfig -a should at least show up 1 adapter hci0 - even if
it says DOWN instead of UP and RUNNING.
You should also find sysfs entries @ /sys/devices/platform - for both
"kim" device & also for the "btwilink" device.
Post by w***@public.gmane.org
The information in your reply was not worth your careless posting exposing
my Email to the spambots!
Well may be it was worth-less, but certainly not as worth-less as your
response to this thread to begin with. Just trying to help here ..
that's all.
We would all want BT to work on Panda board - As much as you do.
--
--Pavan Savoy
w***@public.gmane.org
2012-08-01 13:10:59 UTC
Permalink
On Tuesday, July 31, 2012 2:43:54 PM UTC-5, Pavan Savoy
Post by w***@public.gmane.org
Post by w***@public.gmane.org
The information in your reply was not worth your careless posting
exposing
Post by w***@public.gmane.org
my Email to the spambots!
Well may be it was worth-less, but certainly not as worth-less as your
response to this thread to begin with. Just trying to help here ..
that's all.
We would all want BT to work on Panda board - As much as you do.
--
--Pavan Savoy
Actually Bluetooth is a low priority for me at this time.

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.
Janez
2012-08-02 16:50:06 UTC
Permalink
Post by w***@public.gmane.org
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.
I have similar (if not same) problems using mainline kernel 3.4.6. After
modprobe btwilink, i get these kernel messages:

[75760.163299] (stk) :sysfs entries created
[75760.167694] (stk) : debugfs entries created
[75760.175323] Bluetooth: Bluetooth Driver for TI WiLink - Version 1.0
[75760.182220] hdev ee1ea000
[75760.184478] HCI device registered (hdev ee1ea000)
[75760.184509] btwilink: probe of btwilink failed with error 1
[75760.190734] hci1 ee1ea000
[75760.190765] (stc): st_register(4)
[75760.194580] (stc): chnl_id list empty :4
[75760.198974] (stk) : st_kim_start
[75760.308135] (stk) :ldisc_install = 1
[75761.307312] (stk) :ldisc installation timeout
[75761.311889] (stk) :ldisc_install = 0
[75762.315460] (stk) : timed out waiting for ldisc to be un-installed
.......the thing repeats lots of times.....
[75784.616546] (stk) :ldisc_install = 0
[75785.620025] (stk) : timed out waiting for ldisc to be un-installed
[75785.626525] Bluetooth: st_register failed -22

after that hciconfig shows:

hci1: Type: BR/EDR Bus: UART
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:0 acl:0 sco:0 events:0 errors:0
TX bytes:0 acl:0 sco:0 commands:0 errors:0

I however do not run that tool uim-sysfs. I tried cross-compiling it, but
it seems to have dependencies on android libraries ?? What is the proper
way to get that working.

BTW, external USB BT adapter works fine...
Pavan Savoy
2012-08-02 16:57:04 UTC
Permalink
Post by Janez
Post by w***@public.gmane.org
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.
I have similar (if not same) problems using mainline kernel 3.4.6. After
[75760.163299] (stk) :sysfs entries created
[75760.167694] (stk) : debugfs entries created
[75760.175323] Bluetooth: Bluetooth Driver for TI WiLink - Version 1.0
[75760.182220] hdev ee1ea000
[75760.184478] HCI device registered (hdev ee1ea000)
[75760.184509] btwilink: probe of btwilink failed with error 1
[75760.190734] hci1 ee1ea000
[75760.190765] (stc): st_register(4)
[75760.194580] (stc): chnl_id list empty :4
[75760.198974] (stk) : st_kim_start
[75760.308135] (stk) :ldisc_install = 1
[75761.307312] (stk) :ldisc installation timeout
[75761.311889] (stk) :ldisc_install = 0
[75762.315460] (stk) : timed out waiting for ldisc to be un-installed
.......the thing repeats lots of times.....
[75784.616546] (stk) :ldisc_install = 0
[75785.620025] (stk) : timed out waiting for ldisc to be un-installed
[75785.626525] Bluetooth: st_register failed -22
hci1: Type: BR/EDR Bus: UART
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:0 acl:0 sco:0 events:0 errors:0
TX bytes:0 acl:0 sco:0 commands:0 errors:0
I however do not run that tool uim-sysfs. I tried cross-compiling it, but it
seems to have dependencies on android libraries ?? What is the proper way to
get that working.
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.
Post by Janez
BTW, external USB BT adapter works fine...
--
--Pavan Savoy
Janez
2012-08-02 20:23:37 UTC
Permalink
Post by Pavan Savoy
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.
Thanks for fast response!

After I started static-uim:
uim: main
uim:polling now...

Then after "hciconfig hci1 up" it starts repeating the following:

uim:reading install
uim:read install 1
uim: st_uart_config
uim:install set to 1
uim: Can't open ᅵᅵᅵᅵᅵᅵᅵᅵ
uim:polling now...
uim:reading install
uim:read install 0
uim: st_uart_config
uim: Un-Installing N_TI_WL Line displine
uim: Un-Installed N_TI_WL Line displine

kernel messages the same as are when driver is inserted without uim,
previous post.

Should I run something else than hciconfig hci1 up ?

strace of that weird open:

open("\377\377\377\377\377\377\377\377", O_RDWR) = -1 ENOENT (No such file
or directory)
write(1, "uim: Can't open \377\377\377\377\377\377\377\377\n", 25uim: Can't
open ᅵᅵᅵᅵᅵᅵᅵᅵ
) = 25
Pavan Savoy
2012-08-02 20:34:03 UTC
Permalink
Post by Janez
Post by Pavan Savoy
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.
Thanks for fast response!
uim: main
uim:polling now...
uim:reading install
uim:read install 1
uim: st_uart_config
uim:install set to 1
uim: Can't open ��������
uim:polling now...
uim:reading install
uim:read install 0
uim: st_uart_config
uim: Un-Installing N_TI_WL Line displine
uim: Un-Installed N_TI_WL Line displine
kernel messages the same as are when driver is inserted without uim,
previous post.
When I checked upon the kernel sources, things looked alright.
Just to make sure source matches what's running on your board, Can you
check these sysfs entries for me after you boot ?

/sys/devices/platform/kim/ -->
baud_rate driver/ install power/ uevent
dev_name flow_cntrl modalias subsystem/

Among these what does baud_rate and dev_name show ?
dev_name should be /dev/ttyO1 (uart2) on panda.
baud_rate could be 3Mbps.

These values comes from populating the board-omap5panda.c @ wilink
platform devices.
Post by Janez
Should I run something else than hciconfig hci1 up ?
open("\377\377\377\377\377\377\377\377", O_RDWR) = -1 ENOENT (No such file
or directory)
write(1, "uim: Can't open \377\377\377\377\377\377\377\377\n", 25uim: Can't
open ��������
) = 25
--
--Pavan Savoy
w***@public.gmane.org
2012-08-02 20:46:49 UTC
Permalink
Post by Pavan Savoy
These values comes from populating the board-omap5panda.c
Hey, I thought the Pandaboard ES stuff (like SPIDEV) was in
board-omap4panda.c

Or is this a typo?
I assume its a typo, as there is no arch/arm/mach-omap2/board-omap5panda.c
in the TI PPA 3.4.0 source I downloaded.
Pavan Savoy
2012-08-02 21:00:44 UTC
Permalink
Post by w***@public.gmane.org
Post by Pavan Savoy
These values comes from populating the board-omap5panda.c
Hey, I thought the Pandaboard ES stuff (like SPIDEV) was in
board-omap4panda.c
Or is this a typo?
I assume its a typo, as there is no arch/arm/mach-omap2/board-omap5panda.c
in the TI PPA 3.4.0 source I downloaded.
It was a typo.
arch/arm/mach-omap2/board-omap4panda.c it is.

Older board-omap4panda.c had the following entry :-
/* wl127x BT, FM, GPS connectivity chip */
static int wl1271_gpios[] = {46, -1, -1};
static struct platform_device wl1271_device = {
.name = "kim",
.id = -1,
.dev = {
.platform_data = &wl1271_gpios,
},
};

This needs to be changed to,
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>
--
--Pavan Savoy
Janez
2012-08-03 08:40:04 UTC
Permalink
This needs to be changed to,
Post by Pavan Savoy
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>
After these changes there is some progress. Now for some reason, it won't
load firmware:
[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
Janez
2012-08-03 11:41:02 UTC
Permalink
After these changes there is some progress. Now for some reason, it won't
Post by Janez
[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
Ok, it finds firmware now and seems to work. I changed udev config and
installed firmware.sh (how come wlan doesn't need that for loading firmware
??).
However only one works at same time, BT or WLAN. Not that important for my
purposes anyway. Thank you for help!
p***@public.gmane.org
2013-01-07 12:04:38 UTC
Permalink
Pavan
After Some time after I run uim (5-10min) i get BT switched on
get host BT address
130|***@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|***@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 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
I don't know the right way to do it, but the only way I could get file is
to click on right arrow next to "Post reply" and select "Show original".
Then copy base64 text to some decoder and you will get file :>
Also later I found out source for uim is already in buildroot in ti-utils
package. Didn't ever try to replace this one though.
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 ?
Pavan Savoy
2013-01-07 20:00:20 UTC
Permalink
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
Post by p***@public.gmane.org
Pavan
After Some time after I run uim (5-10min) i get BT switched on
get host BT address
-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
uim:install set previously...
uim: signal received, opening /dev/ttyO1
uim: Can't get port settings
*uim:set_baudrate() failed*
uim:begin polling...
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
I don't know the right way to do it, but the only way I could get file
is to click on right arrow next to "Post reply" and select "Show original".
Then copy base64 text to some decoder and you will get file :>
Also later I found out source for uim is already in buildroot in
ti-utils package. Didn't ever try to replace this one though.
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 ?
Sukumar Ghorai
2013-01-10 10:04:08 UTC
Permalink
Hi,
Would you also please help me to make Bluetooth-up on Pandaboard using
Angstrom FS (BlueZ included)?

1. What is the location of static_uim in FS-path?

2.
***@omap4430-panda:~# cat /etc/angstrom-version
Angstrom 2011.03
Built from branch: 2011.03-maintenance
Revision: ad33f8b
Target system: arm-angstrom-linux-gnueabi

3.
***@omap4430-panda:~# cat /sys/devices/platform/kim/*
3000000
/dev/ttyO1
cat: read error: Is a directory
1
0
platform:kim
cat: read error: Is a directory
cat: read error: Is a directory
DRIVER=kim
MODALIAS=platform:kim

4.
***@omap4430-panda:~# hciconfig -a
hci0: Type: BR/EDR Bus: UART
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:0 acl:0 sco:0 events:0 errors:0
TX bytes:0 acl:0 sco:0 commands:0 errors:0

4. kernel-log

[ 5.185272] alignment: ignoring faults is unsafe on this CPU.
Defaulting to fixup mode.
[ 5.449218] (stk) :ldisc installation timeout
[ 5.453643] (stk) :ldisc_install = 0Remounting root file system...
(stk) : timed out waiting for ldisc to be un-installed
[ 6.461975] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
[ 7.467864] (stk) :ldisc_install = 0[ 7.687652] EXT4-fs
(mmcblk0p3): re-mounted. Opts: (null)
Caching udev devnodes
Populating dev cache[ 8.104553] FAT-fs (mmcblk0p4): bogus number of
reserved sectors
[ 8.110931] FAT-fs (mmcblk0p4): Can't find a valid FAT filesystem
..
[ 8.464904] (stk) : timed out waiting for ldisc to be un-installed
[ 8.471221] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
[ 9.475708] (stk) :ldisc_install = 0[ 10.052215] EXT4-fs
(mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
..
[ 10.472747] (stk) : timed out waiting for ldisc to be un-installed
[ 10.479064] (stk) :ldisc_install = 1ALSA: Restoring mixer settings...
Configuring network interfaces... ifconfig: SIOCGIFFLAGS: No such device
(stk) :ldisc installation timeout
[ 11.483795] (stk) :ldisc_install = 0ifconfig: SIOCGIFFLAGS: No such device
eth0 No such device

ifconfig: SIOCGIFFLAGS: No such device
Starting syslogd/klogd: done
* Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
...done.

***@omap4430-panda:~# (stk) : timed out waiting for ldisc to be un-installed
[ 12.485717] (stk) :ldisc_install = 1
***@omap4430-panda:~# (stk) :ldisc installation timeout
[ 13.491577] (stk) :ldisc_install = 0
***@omap4430-panda:~# (stk) : timed out waiting for ldisc to be un-installed
[ 14.493255] Bluetooth: st_register failed -22
Post by Pavan Savoy
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
Post by p***@public.gmane.org
Pavan
After Some time after I run uim (5-10min) i get BT switched on
get host BT address
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
uim:install set previously...
uim: signal received, opening /dev/ttyO1
uim: Can't get port settings
uim:set_baudrate() failed
uim:begin polling...
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
I don't know the right way to do it, but the only way I could get file
is to click on right arrow next to "Post reply" and select "Show original".
Then copy base64 text to some decoder and you will get file :>
Also later I found out source for uim is already in buildroot in
ti-utils package. Didn't ever try to replace this one though.
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 ?
Sukumar Ghorai
2013-01-11 07:30:29 UTC
Permalink
Hi,
Can anyone help me to understand the following ussue on Bluetooth?

***@omap4430-panda:~# hciconfig hci0 up
[ 324.299011] hci0 eed46000
[ 324.301818] (stc): chnl_id list empty :4
[ 324.305969] (stk) : st_kim_start(stk) :ldisc_install = 1uim:reading install
uim:read install 1
uim: st_uart_config
uim:install set to 1
uim: set_baud_rate
uim: set_baud_rate() done
uim: Setting speed to 3000000
uim: read_command_complete
uim: Command complete started
uim: read_hci_event
uim: read_hci_event
uim: Invalid response
uim:cleanup

[ 325.305908] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
[ 326.305908] (stk) : timed out waiting for ldisc to be
un-installed(stk) :ldisc_install = 1
[ 327.313903] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
[ 328.313720] (stk) : timed out waiting for ldisc to be
un-installed(stk) :ldisc_install = 1
[ 329.321502] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
[ 330.321502] (stk) : timed out waiting for ldisc to be
un-installed(stk) :ldisc_install = 1
[ 331.329345] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
[ 332.329498] (stk) : timed out waiting for ldisc to be
un-installed(stk) :ldisc_install = 1
[ 333.337158] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
[ 334.337127] (stk) : timed out waiting for ldisc to be
un-installed(stk) :ldisc_install = 1
[ 335.345001] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
[ 336.344940] (stk) : timed out waiting for ldisc to be un-installed[
336.351440] Bluetooth: st_register failed -22
Can't init device hci0: Input/output error (5)
***@omap4430-panda:~#
***@omap4430-panda:~# uim:polling now...
uim:reading install
uim:read install 0
uim: st_uart_config
uim: Un-Installing N_TI_WL Line displine
uim: Un-Installed N_TI_WL Line displine
uim:polling now...

***@omap4430-panda:~#

On Thu, Jan 10, 2013 at 3:34 PM, Sukumar Ghorai
Post by Sukumar Ghorai
Hi,
Would you also please help me to make Bluetooth-up on Pandaboard using
Angstrom FS (BlueZ included)?
1. What is the location of static_uim in FS-path?
2.
Angstrom 2011.03
Built from branch: 2011.03-maintenance
Revision: ad33f8b
Target system: arm-angstrom-linux-gnueabi
3.
3000000
/dev/ttyO1
cat: read error: Is a directory
1
0
platform:kim
cat: read error: Is a directory
cat: read error: Is a directory
DRIVER=kim
MODALIAS=platform:kim
4.
hci0: Type: BR/EDR Bus: UART
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:0 acl:0 sco:0 events:0 errors:0
TX bytes:0 acl:0 sco:0 commands:0 errors:0
4. kernel-log
[ 5.185272] alignment: ignoring faults is unsafe on this CPU.
Defaulting to fixup mode.
[ 5.449218] (stk) :ldisc installation timeout
[ 5.453643] (stk) :ldisc_install = 0Remounting root file system...
(stk) : timed out waiting for ldisc to be un-installed
[ 6.461975] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
[ 7.467864] (stk) :ldisc_install = 0[ 7.687652] EXT4-fs
(mmcblk0p3): re-mounted. Opts: (null)
Caching udev devnodes
Populating dev cache[ 8.104553] FAT-fs (mmcblk0p4): bogus number of
reserved sectors
[ 8.110931] FAT-fs (mmcblk0p4): Can't find a valid FAT filesystem
..
[ 8.464904] (stk) : timed out waiting for ldisc to be un-installed
[ 8.471221] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
[ 9.475708] (stk) :ldisc_install = 0[ 10.052215] EXT4-fs
(mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
..
[ 10.472747] (stk) : timed out waiting for ldisc to be un-installed
[ 10.479064] (stk) :ldisc_install = 1ALSA: Restoring mixer settings...
Configuring network interfaces... ifconfig: SIOCGIFFLAGS: No such device
(stk) :ldisc installation timeout
[ 11.483795] (stk) :ldisc_install = 0ifconfig: SIOCGIFFLAGS: No such device
eth0 No such device
ifconfig: SIOCGIFFLAGS: No such device
Starting syslogd/klogd: done
* Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
...done.
[ 12.485717] (stk) :ldisc_install = 1
[ 13.491577] (stk) :ldisc_install = 0
[ 14.493255] Bluetooth: st_register failed -22
Post by Pavan Savoy
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
Post by p***@public.gmane.org
Pavan
After Some time after I run uim (5-10min) i get BT switched on
get host BT address
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
uim:install set previously...
uim: signal received, opening /dev/ttyO1
uim: Can't get port settings
uim:set_baudrate() failed
uim:begin polling...
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
I don't know the right way to do it, but the only way I could get file
is to click on right arrow next to "Post reply" and select "Show original".
Then copy base64 text to some decoder and you will get file :>
Also later I found out source for uim is already in buildroot in
ti-utils package. Didn't ever try to replace this one though.
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 ?
a***@public.gmane.org
2013-03-15 07:18:05 UTC
Permalink
Even i am facing the similar problem.. has anyone fixed the issue...??
Post by Sukumar Ghorai
Hi,
Can anyone help me to understand the following ussue on Bluetooth?
[ 324.299011] hci0 eed46000
[ 324.301818] (stc): chnl_id list empty :4
[ 324.305969] (stk) : st_kim_start(stk) :ldisc_install = 1uim:reading install
uim:read install 1
uim: st_uart_config
uim:install set to 1
uim: set_baud_rate
uim: set_baud_rate() done
uim: Setting speed to 3000000
uim: read_command_complete
uim: Command complete started
uim: read_hci_event
uim: read_hci_event
uim: Invalid response
uim:cleanup
[ 325.305908] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
[ 326.305908] (stk) : timed out waiting for ldisc to be
un-installed(stk) :ldisc_install = 1
[ 327.313903] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
[ 328.313720] (stk) : timed out waiting for ldisc to be
un-installed(stk) :ldisc_install = 1
[ 329.321502] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
[ 330.321502] (stk) : timed out waiting for ldisc to be
un-installed(stk) :ldisc_install = 1
[ 331.329345] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
[ 332.329498] (stk) : timed out waiting for ldisc to be
un-installed(stk) :ldisc_install = 1
[ 333.337158] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
[ 334.337127] (stk) : timed out waiting for ldisc to be
un-installed(stk) :ldisc_install = 1
[ 335.345001] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
[ 336.344940] (stk) : timed out waiting for ldisc to be un-installed[
336.351440] Bluetooth: st_register failed -22
Can't init device hci0: Input/output error (5)
uim:reading install
uim:read install 0
uim: st_uart_config
uim: Un-Installing N_TI_WL Line displine
uim: Un-Installed N_TI_WL Line displine
uim:polling now...
On Thu, Jan 10, 2013 at 3:34 PM, Sukumar Ghorai
Post by Sukumar Ghorai
Hi,
Would you also please help me to make Bluetooth-up on Pandaboard using
Angstrom FS (BlueZ included)?
1. What is the location of static_uim in FS-path?
2.
Angstrom 2011.03
Built from branch: 2011.03-maintenance
Revision: ad33f8b
Target system: arm-angstrom-linux-gnueabi
3.
3000000
/dev/ttyO1
cat: read error: Is a directory
1
0
platform:kim
cat: read error: Is a directory
cat: read error: Is a directory
DRIVER=kim
MODALIAS=platform:kim
4.
hci0: Type: BR/EDR Bus: UART
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:0 acl:0 sco:0 events:0 errors:0
TX bytes:0 acl:0 sco:0 commands:0 errors:0
4. kernel-log
[ 5.185272] alignment: ignoring faults is unsafe on this CPU.
Defaulting to fixup mode.
[ 5.449218] (stk) :ldisc installation timeout
[ 5.453643] (stk) :ldisc_install = 0Remounting root file system...
(stk) : timed out waiting for ldisc to be un-installed
[ 6.461975] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
[ 7.467864] (stk) :ldisc_install = 0[ 7.687652] EXT4-fs
(mmcblk0p3): re-mounted. Opts: (null)
Caching udev devnodes
Populating dev cache[ 8.104553] FAT-fs (mmcblk0p4): bogus number of
reserved sectors
[ 8.110931] FAT-fs (mmcblk0p4): Can't find a valid FAT filesystem
..
[ 8.464904] (stk) : timed out waiting for ldisc to be un-installed
[ 8.471221] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
[ 9.475708] (stk) :ldisc_install = 0[ 10.052215] EXT4-fs
(mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
..
[ 10.472747] (stk) : timed out waiting for ldisc to be un-installed
[ 10.479064] (stk) :ldisc_install = 1ALSA: Restoring mixer settings...
Configuring network interfaces... ifconfig: SIOCGIFFLAGS: No such device
(stk) :ldisc installation timeout
[ 11.483795] (stk) :ldisc_install = 0ifconfig: SIOCGIFFLAGS: No such
device
Post by Sukumar Ghorai
eth0 No such device
ifconfig: SIOCGIFFLAGS: No such device
Starting syslogd/klogd: done
* Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
...done.
un-installed
Post by Sukumar Ghorai
[ 12.485717] (stk) :ldisc_install = 1
[ 13.491577] (stk) :ldisc_install = 0
un-installed
Post by Sukumar Ghorai
[ 14.493255] Bluetooth: st_register failed -22
Post by Pavan Savoy
Try a lower baud rate like 115200. This can be changed in the kernel
where
Post by Sukumar Ghorai
Post by Pavan Savoy
the ti-st device is added.
Droid sent - Ignore typos
Post by p***@public.gmane.org
Pavan
After Some time after I run uim (5-10min) i get BT switched on
get host BT address
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
uim:install set previously...
uim: signal received, opening /dev/ttyO1
uim: Can't get port settings
uim:set_baudrate() failed
uim:begin polling...
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
Post by Sukumar Ghorai
Post by Pavan Savoy
Post by p***@public.gmane.org
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
Post by Sukumar Ghorai
Post by Pavan Savoy
Post by p***@public.gmane.org
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
Post by Sukumar Ghorai
Post by Pavan Savoy
Post by p***@public.gmane.org
spaces changes have easily creeper into Android but finding it hard
to get
Post by Sukumar Ghorai
Post by Pavan Savoy
Post by p***@public.gmane.org
them to Ubuntu.
Droid sent - Ignore typos
I don't know the right way to do it, but the only way I could get
file
Post by Sukumar Ghorai
Post by Pavan Savoy
Post by p***@public.gmane.org
is to click on right arrow next to "Post reply" and select "Show
original".
Post by Sukumar Ghorai
Post by Pavan Savoy
Post by p***@public.gmane.org
Then copy base64 text to some decoder and you will get file :>
Also later I found out source for uim is already in buildroot in
ti-utils package. Didn't ever try to replace this one though.
On Saturday, September 29, 2012 12:12:34 PM UTC+2, Belial Lord
Gents,
I am having the exact same issues here too. But I cannot seem to
find
Post by Sukumar Ghorai
Post by Pavan Savoy
Post by p***@public.gmane.org
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
Post by Sukumar Ghorai
Post by Pavan Savoy
Post by p***@public.gmane.org
files required to be added/amended to get bluetooth connectivity
working ?
--
You received this message because you are subscribed to the Google Groups "pandaboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandaboard+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
christian.loepke-gM/Ye1E23mwN+
2013-03-31 08:56:06 UTC
Permalink
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://git*orious.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.
--
You received this message because you are subscribed to the Google Groups "pandaboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandaboard+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
christian.loepke-gM/Ye1E23mwN+
2013-04-12 19:53:29 UTC
Permalink
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 an
installed linaro ubuntu for PandaBoardES.

I attached the bts on this posting.
Hope it will work now for everyone !

Greetings
- Chris -
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)
*sudo git clone* *git://git*orious.org/*uim*/*uim.git
*cd uim*
*sudo make
sudo make install
sudo nano /etc/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.
--
You received this message because you are subscribed to the Google Groups "pandaboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandaboard+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Heath Kehoe
2013-04-15 22:40:21 UTC
Permalink
Thank you very much. I was able to get bluetooth working with your
instructions and the TIInit file.

One thing, though, the uim program doesn't fork and just runs in the
foreground, which means if there are any commands after 'uim' in your
rc.local they will never run. So, I recommend using the 'setsid' command
which has the effect of running it in the background. Also, uim should be
running before btwilink is loaded.

# rc.local example snippet
#
# Bluetooth
setsid /usr/sbin/uim > /dev/null 2>&1
modprobe btwilink


-heath
Post by christian.loepke-gM/Ye1E23mwN+
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 an
installed linaro ubuntu for PandaBoardES.
I attached the bts on this posting.
Hope it will work now for everyone !
Greetings
- Chris -
--
You received this message because you are subscribed to the Google Groups "pandaboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandaboard+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
s***@gmail.com
2016-12-10 22:18:23 UTC
Permalink
I found the order of loading the module and starting UIM to be important:
modprobe *first*, then starting UIM proved to be much, much more reliable.
Pandaboard-ES.
Post by Heath Kehoe
Thank you very much. I was able to get bluetooth working with your
instructions and the TIInit file.
One thing, though, the uim program doesn't fork and just runs in the
foreground, which means if there are any commands after 'uim' in your
rc.local they will never run. So, I recommend using the 'setsid' command
which has the effect of running it in the background. Also, uim should be
running before btwilink is loaded.
# rc.local example snippet
#
# Bluetooth
setsid /usr/sbin/uim > /dev/null 2>&1
modprobe btwilink
-heath
Post by christian.loepke-gM/Ye1E23mwN+
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 an
installed linaro ubuntu for PandaBoardES.
I attached the bts on this posting.
Hope it will work now for everyone !
Greetings
- Chris -
--
You received this message because you are subscribed to the Google Groups "pandaboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandaboard+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Khaled Saleh
2013-04-26 18:01:17 UTC
Permalink
Thanks Christia for your instructions

but i have already .bts file on my pandaboard es/ubuntu 12.04 which it's
version "TIInit_7.2.31.bts" is different from the one you attached!!?

I have to remove the TIInit_7.2.31.bts file and replace it with the one you
attached or what !!?
Post by christian.loepke-gM/Ye1E23mwN+
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 an
installed 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
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)
*sudo git clone* *git://git*orious.org/*uim*/*uim.git
*cd uim*
*sudo make
sudo make install
sudo nano /etc/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.
--
You received this message because you are subscribed to the Google Groups "pandaboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandaboard+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
d***@public.gmane.org
2014-02-05 21:52:17 UTC
Permalink
Hi Chris,

first of all, thank you very much for these instructions.
I tried them on my pandaboard with a prebuild desktop image
ubuntu 3.2.0-1412-omap4

I was able to see the blootooth adapter and hciconfig reported "UP" and
"running",
but I was not able to see and connect any devices.
I saw only one time my smartphone and a PC, but the connection was
discarded.
At the same time the Pandaboard is not visible to other device.

Did you use an external antenna?
What device did you connect? How "full" was the 2.4GHz band?

I see in the discussion
"Ubuntu Precise 12.04 - TI OMAP Release PPA Update Announcement."
these Known Issues:
* Audio is only available on HDMI - Panda Headset Audio is currently broken
* BT is not supported
Did you (or anyone else) try these instructions with the new release?
I am not able to find any updates on this topic.

Thank you very much for your reply.
Regards,
Francesco
Post by christian.loepke-gM/Ye1E23mwN+
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 an
installed 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
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)
*sudo git clone* *git://git*orious.org/*uim*/
*uim.git*cd uim
sudo make
sudo make install
sudo nano /etc/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.
--
You received this message because you are subscribed to the Google Groups "pandaboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandaboard+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Sulav Lal Shrestha
2015-07-09 09:01:54 UTC
Permalink
Thanks... Finally, it worked. After two full days... :D

On Thursday, February 6, 2014 at 3:22:17 AM UTC+5:30, Francesco D'Onofrio
Post by d***@public.gmane.org
Hi Chris,
first of all, thank you very much for these instructions.
I tried them on my pandaboard with a prebuild desktop image
ubuntu 3.2.0-1412-omap4
I was able to see the blootooth adapter and hciconfig reported "UP" and
"running",
but I was not able to see and connect any devices.
I saw only one time my smartphone and a PC, but the connection was
discarded.
At the same time the Pandaboard is not visible to other device.
Did you use an external antenna?
What device did you connect? How "full" was the 2.4GHz band?
I see in the discussion
"Ubuntu Precise 12.04 - TI OMAP Release PPA Update Announcement."
* Audio is only available on HDMI - Panda Headset Audio is currently broken
* BT is not supported
Did you (or anyone else) try these instructions with the new release?
I am not able to find any updates on this topic.
Thank you very much for your reply.
Regards,
Francesco
Post by christian.loepke-gM/Ye1E23mwN+
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 an
installed 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
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)
*sudo git clone* *git://git*orious.org/*uim*/
*uim.git*cd uim
sudo make
sudo make install
sudo nano /etc/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.
--
You received this message because you are subscribed to the Google Groups "pandaboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandaboard+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
christian.loepke-gM/Ye1E23mwN+
2013-04-04 20:12:41 UTC
Permalink
Post by Craig Shaffer
Has anyone actually gotten a bluetooth device connected to the pandaboard?
I feel like I've tried everything if you've gotten it working can you
please post exact / simple instructions.
I've got just a basic image loaded from the binary release of 12.04
Thanks,
/Craig
--
You received this message because you are subscribed to the Google Groups "pandaboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandaboard+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Loading...