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 GhoraiHi,
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 SavoyTry 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.orgPavan
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 ?