Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Bluetooh on ICS
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 51 - 61 of 61 - Collapse all  -  Translate all to Translated (View all originals) < Older 
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
AlexV  
View profile   Translate to Translated (View Original)
 More options Apr 18 2012, 10:56 am
From: AlexV <alexandr...@gmail.com>
Date: Wed, 18 Apr 2012 07:56:03 -0700 (PDT)
Local: Wed, Apr 18 2012 10:56 am
Subject: Re: Bluetooh on ICS

Hi richi,
Could you please describe what've you done to make physical media partition
mount to /sdcard?

суббота, 21 января 2012 г., 14:18:44 UTC+3 пользователь richi chen написал:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
richi chen  
View profile  
 More options Apr 21 2012, 5:15 am
From: richi chen <richi.c...@gmail.com>
Date: Sat, 21 Apr 2012 17:15:36 +0800
Local: Sat, Apr 21 2012 5:15 am
Subject: Re: [pandaboard] Re: Bluetooh on ICS

Hi AlexV,

if you use aosp's old u-boot loader(ex.
device/ti/richi-panda/bootloader.bin) to format partitions (by 'fastboot
oem format'), there will be a media partion created. You must manually
format it to ext4. And add

mount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/media /data/media
wait rw

in init.omap4pandaboard.rc to mount it. The /sdcard will be mounted to the
media partion.

If you use new u-boot loader (ex. device/ti/richi-panda/u-boot.bin), there
will be no media partion created. The /sdcard will be mounted to
/data/media on userdata partion. Remember to adjust
BOARD_USERDATAIMAGE_PARTITION_SIZE in BoardConfig.mk according to the size
of userdata partion that the u-boot loader reported.

Good Luck,
richi


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
CJ  
View profile  
 More options Jul 4 2012, 3:02 am
From: CJ <cj.arm.li...@gmail.com>
Date: Wed, 4 Jul 2012 00:02:23 -0700 (PDT)
Local: Wed, Jul 4 2012 3:02 am
Subject: Re: Bluetooh on ICS

Hi VH,

I'm beginner on android porting.
I encounter the same problem about bluetooth proting too.
But my bt status different with you, i use ttyUSB0 to control non-ti
bluetooth module and linaro 12.01 release bsp source
As below informations are my encounter

#dmesg
root@android:/ # bluetoothd -n                                            

bluetoothd[974]: Bluetooth deamon 4.93
bluetoothd[974]: Unable to get on D-Bus

#logcat
I/bluedroid(  182): Starting bluetoothd deamon
E/BluetoothEventLoop.cpp(  182): get_adapter_path: D-Bus error:
org.freedesktop.DBus.Error.ServiceUnknown (The name org.bluez was not
provided by any .service files)
E/BluetoothEventLoop.cpp(  182): get_adapter_path: D-Bus error:
org.freedesktop.DBus.Error.ServiceUnknown (The name org.bluez was not
provided by any .service files)
E/BluetoothEventLoop.cpp(  182): get_adapter_path: D-Bus error:
org.freedesktop.DBus.Error.ServiceUnknown (The name org.bluez was not
provided by any .service files)
E/BluetoothEventLoop.cpp(  182): get_adapter_path: D-Bus error:
org.bluez.Error.NoSuchAdapter (No such adapter)
E/BluetoothEventLoop.cpp(  182): failure setting up Event Loop!
E/BluetoothService.cpp(  182): setBluetoothTetheringNative true
D/BluetoothEventLoop(  182): Property Changed: Pairable : false
D/BluetoothEventLoop(  182): Property Changed: Powered : false
D/BluetoothEventLoop(  182): Property Changed: UUIDs : 6
D/BluetoothEventLoop(  182): Property Changed: UUIDs : 7
D/BluetoothEventLoop(  182): Property Changed: UUIDs : 8
D/BluetoothAdapterStateMachine(  182): WarmUp process message: 101
D/BluetoothAdapterStateMachine(  182): WarmUp process message: 54
D/BluetoothAdapterStateMachine(  182): WarmUp process message: 51
D/BluetoothAdapterStateMachine(  182): HotOff process message: 101

Could you provide more information for me?
Thanks

VH於 2012年2月21日星期二UTC+8下午7時36分09秒寫道:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
liutao.l...@gmail.com  
View profile  
 More options Sep 10 2012, 10:25 pm
From: liutao.l...@gmail.com
Date: Mon, 10 Sep 2012 19:25:30 -0700 (PDT)
Local: Mon, Sep 10 2012 10:25 pm
Subject: Re: Bluetooh on ICS

Hi CJ,

I have the same question with you now, I am obsessed bythis problem. Have
you  solved this question,could you tell me how?Thanks a lot!!!!!

在 2012年7月4日星期三UTC+8下午3时02分23秒,CJ写道:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pavan Savoy  
View profile  
 More options Sep 11 2012, 9:33 am
From: Pavan Savoy <pavan.sa...@gmail.com>
Date: Tue, 11 Sep 2012 08:33:01 -0500
Local: Tues, Sep 11 2012 9:33 am
Subject: Re: [pandaboard] Re: Bluetooh on ICS

On Mon, Sep 10, 2012 at 9:25 PM,  <liutao.l...@gmail.com> wrote:
> Hi CJ,

> I have the same question with you now, I am obsessed bythis problem. Have
> you  solved this question,could you tell me how?Thanks a lot!!!!!

the problem exists on almost all platforms.
Bluetooth enabler - the one that starts bluetoothd, hciattach does
rfkill doesn't necessarily wait for bluetoothd to setup dbus before
starting event-loop.

dbus also lacks a function which could sort of check existance of an
object on system bus... ideally we should have one..

try increasing the sleep time in get_adapter_path (usleep) to about
100ms... chances are that the dbus object is ready by the 2nd
iteration itself...

--
--Pavan Savoy

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
prasannakarthik...@gmail.com  
View profile  
 More options Jan 4, 4:22 am
From: prasannakarthik...@gmail.com
Date: Fri, 4 Jan 2013 01:22:55 -0800 (PST)
Local: Fri, Jan 4 2013 4:22 am
Subject: Re: [pandaboard] Re: Bluetooh on ICS

Pavan

Am booting ICS chipsee linaro release on pandaboard

Bluetooth was working well . Now its  not getting registered. which left me
with

[    9.839538] (stk) :ldisc_install = 1
[   10.834381] (stk) :line disc installation timed out
[   10.834381] (stk) :ldisc_install = 0
[   11.987152] (stk) :ldisc_install = 1
[   12.991363] (stk) :line disc installation timed out
[   12.991363] (stk) :ldisc_install = 0
[   14.122558] (stk) :ldisc_install = 1
[   15.127258] (stk) :line disc installation timed out
[   15.132537] (stk) :ldisc_install = 0
[   16.280090] (stk) :ldisc_install = 1
[   17.289733] (stk) :line disc installation timed out
[   17.295104] (stk) :ldisc_install = 0
[   18.400573] (stk) :ldisc_install = 1
[   19.398590] (stk) :line disc installation timed out
[   19.403991] (stk) :ldisc_install = 0
[   20.481597] Bluetooth: st_register failed -22

When I reboot some time later it sometimes turns on .

Now its not turning on .
What possibly could be the bug?

Regards
prasanna


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pavan Savoy  
View profile  
 More options Jan 4, 11:54 am
From: Pavan Savoy <pavan.sa...@gmail.com>
Date: Fri, 4 Jan 2013 10:54:05 -0600
Local: Fri, Jan 4 2013 11:54 am
Subject: Re: [pandaboard] Re: Bluetooh on ICS

Can you make sure you have uim-sysfs running when you see that error? May
be on certain boot android AFS isn't starting services? Or restarting due
to some error?

Droid sent - Ignore typos
On Jan 4, 2013 10:36 AM, <prasannakarthik...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
prasannakarthik...@gmail.com  
View profile  
 More options Jan 7, 3:23 am
From: prasannakarthik...@gmail.com
Date: Mon, 7 Jan 2013 00:23:26 -0800 (PST)
Local: Mon, Jan 7 2013 3:23 am
Subject: Re: [pandaboard] Re: Bluetooh on ICS

Pavan
I see /system/bin/uim running. from ps list. I dont  have uim-sysfs
Earlier I had bluetooth working without that
uim get me this
*1|root@android:/system/bin # uim*
uim:@ main
uim:install set previously...
uim:@ st_uart_config
uim: signal received, opening /dev/ttyO1
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:begin polling...
uim:poll broke due to event 10(PRI:2/ERR:8)
uim:read 0 from install
uim:@ st_uart_config
uim:Un-Installed N_TI_WL Line displine
uim:begin polling...
uim:poll broke due to event 10(PRI:2/ERR:8)
uim:read 1 from install
uim:@ st_uart_config
uim: signal received, opening /dev/ttyO1
*
kernel messages dmesg*
Bluetooth: st_register failed -22
 (stk) :line disc installation timed out
(stk) :ldisc_install = 0

*Few minutes back I had uim running from terminal and I had bluetooth on
suddenly and once I make BT off or restart it again fails to register.

What actually could be the problem with ttyO1?*
*
my init.rc contents*
insmod /system/modules/st_drv.ko
    insmod /system/modules/bluetooth.ko
    insmod /system/modules/bnep.ko
    insmod /system/modules/hci_uart.ko
    insmod /system/modules/rfcomm.ko
    insmod /system/modules/btwilink.ko
    chown system  system /sys/class/rfkill/rfkill0/type
    chown system  system /sys/class/rfkill/rfkill0/state
    insmod /system/modules/wl1273-core.ko
    insmod /system/modules/wl12xx.ko
#userspace daemon needed for bluetooth
service uim /system/bin/uim
    class main
    user root
    oneshot


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
prasannakarthik...@gmail.com  
View profile  
 More options Jan 7, 4:57 am
From: prasannakarthik...@gmail.com
Date: Mon, 7 Jan 2013 01:57:42 -0800 (PST)
Local: Mon, Jan 7 2013 4:57 am
Subject: Re: [pandaboard] Re: Bluetooh on ICS

uim is running

1|root@android:/system/bin # uim
uim:@ main
uim:begin polling...
uim:poll broke due to event 10(PRI:2/ERR:8)

uim:read 1 from install

uim:@ st_uart_config
uim: signal received, opening /dev/ttyO1
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:begin polling...
uim:poll broke due to event 10(PRI:2/ERR:8)

uim:read 0 from install

uim:@ st_uart_config
uim:Un-Installed N_TI_WL Line displine
uim:begin polling...
uim:poll broke due to event 10(PRI:2/ERR:8)

uim:read 1 from install
uim:@ st_uart_config
uim: signal received, opening /dev/ttyO1
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:begin polling...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
prasannakarthik...@gmail.com  
View profile  
 More options Jan 7, 5:10 am
From: prasannakarthik...@gmail.com
Date: Mon, 7 Jan 2013 02:10:07 -0800 (PST)
Local: Mon, Jan 7 2013 5:10 am
Subject: Re: [pandaboard] Re: Bluetooh on ICS

Also ti_st_uim-sysfs_uim.c says
UIM_VER(" read_hci_event");
    if (size <= 0)
        return -1;
*    /* The first byte identifies the packet type. For HCI event packets, it
     * should be 0x04, so we read until we get to the 0x04. */*
    while (reading) {
        rd = read(fd, buf, 1);
        if (rd <= 0 && rd_retry_count++ < 4) {
            nanosleep(&tm, NULL);
            continue;
        } else if (rd_retry_count >= 4) {
            return -1;
        }

        if (buf[0] == RESP_PREFIX) {
            break;
        }
    }
so what actually Does it read until 0x04 ? from where does this buffer
written  from ?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pavan Savoy  
View profile  
 More options Jan 7, 2:58 pm
From: Pavan Savoy <pavan.sa...@gmail.com>
Date: Mon, 7 Jan 2013 11:58:48 -0800
Local: Mon, Jan 7 2013 2:58 pm
Subject: Re: [pandaboard] Re: Bluetooh on ICS

0x04 is the Bluetooth response event's first byte. The response should
include baud rate change ack or firmware version.

Droid sent - Ignore typos
On Jan 7, 2013 8:13 AM, <prasannakarthik...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages < Older 
« Back to Discussions « Newer topic     Older topic »