[Q] wifi stopped working, logcat inside - Nexus One Q&A, Help & Troubleshooting

he everyone,
i using my trusty with CM7.0.1 for along time, actually since CM7.0.1 was released and all was fine.
until today, when my wifi stopped working.
at first i saw that the unlock screen will no show, and after poking around i figured that it was because every time wifi was trying to be enabled it hanged and cause the phone to act weird.
trying to turn on wifi will cause it to hang, and sometimes show the "error" error on the wifi setting.
you can see my logcat during attempt to activate wifi, please help me understand what is going on here, and figure out if my wifi is toasted.
i can think of ANYTHING that i did that might have caused this, i installed nothing, changed no setting i could think of.
the only thing i can think of, is that i washed the dishes with the phone in my pocket, i do not think i got wet, but who knows.
what i did notice in the log were a few things:
1. Failed to disable WPA in the driver.
2. Supplicant not running, cannot connect
3. Supplicant died unexpectedly
4. Reset connections and stopping DHCP
5. Disabling interface
all do not sound very promising...
help please!
here are the logcat:
Code:
I/ActivityManager( 165): Displayed com.android.settings/.WirelessSettings: +383ms
D/SettingsAppWidgetProvider( 638): Widget is from a previous version... Let's update
D/SettingsAppWidgetProvider( 638): No instances yet... Wait for at least one instance to exist before adding global settings
D/dalvikvm( 638): GC_CONCURRENT freed 88K, 46% free 3016K/5575K, external 837K/1034K, paused 2ms+3ms
D/WifiService( 165): ACTION_BATTERY_CHANGED pluggedType: 2
D/WifiService( 165): acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]}
E/wpa_supplicant( 666): ioctl[SIOCGIFFLAGS]
D/SettingsAppWidgetProvider( 638): Widget is from a previous version... Let's update
D/SettingsAppWidgetProvider( 638): No instances yet... Wait for at least one instance to exist before adding global settings
E/wpa_supplicant( 666): ioctl[SIOCSIWPMKSA]
E/wpa_supplicant( 666): ioctl[SIOCSIWMODE]
E/wpa_supplicant( 666): ioctl[SIOCGIRANGE]
E/wpa_supplicant( 666): ioctl[SIOCGIWMODE]
E/wpa_supplicant( 666): ioctl[SIOCSIWAP]
E/wpa_supplicant( 666): ioctl[SIOCSIWENCODEEXT]
E/wpa_supplicant( 666): ioctl[SIOCSIWENCODE]
E/wpa_supplicant( 666): ioctl[SIOCSIWENCODEEXT]
E/wpa_supplicant( 666): ioctl[SIOCSIWENCODE]
E/wpa_supplicant( 666): ioctl[SIOCSIWENCODEEXT]
E/wpa_supplicant( 666): ioctl[SIOCSIWENCODE]
E/wpa_supplicant( 666): ioctl[SIOCSIWENCODEEXT]
E/wpa_supplicant( 666): ioctl[SIOCSIWENCODE]
I/wpa_supplicant( 666): CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=00:00:00:00:00:00
E/wpa_supplicant( 666): Failed to disable WPA in the driver.
E/wpa_supplicant( 666): ioctl[SIOCGIWMODE]
E/wpa_supplicant( 666): ioctl[SIOCSIWAP]
E/wpa_supplicant( 666): ioctl[SIOCGIFFLAGS]
D/WifiService( 165): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]}
D/dalvikvm( 279): GC_EXPLICIT freed 237K, 49% free 3164K/6151K, external 3246K/3357K, paused 44ms
E/WifiHW ( 165): Supplicant not running, cannot connect
E/WifiHW ( 165): Supplicant not running, cannot connect
E/WifiHW ( 165): Supplicant not running, cannot connect
V/WifiStateTracker( 165): Supplicant died unexpectedly
D/WifiStateTracker( 165): Reset connections and stopping DHCP
D/WifiStateTracker( 165): Disabling interface
D/WifiStateTracker( 165): Reset connections and stopping DHCP
D/Tethering( 165): MasterInitialState.processMessage what=3
D/GTalkService( 311): ##### Network broadcast (connected=true) type=WIFI, state=DISCONNECTED
D/GTalkService( 311): [GTalkConnection.1] ### networkStateChanged: active and curr network type/state are the same(0/CONNECTED), ignore
D/Tethering( 165): MasterInitialState.processMessage what=3
D/GTalkService( 311): ##### Network broadcast (connected=true) type=mobile, state=CONNECTED
D/GTalkService( 311): [GTalkConnection.1] ### networkStateChanged: active and curr network type/state are the same(0/CONNECTED), ignore
D/SettingsAppWidgetProvider( 638): Widget is from a previous version... Let's update
D/SettingsAppWidgetProvider( 638): No instances yet... Wait for at least one instance to exist before adding global settings
D/CMStats ( 428): CONNECTIVITY_ACTION: noConnectivity = false
I/MediaUploader( 593): No need to wake up
D/CMStats ( 428): CONNECTIVITY_ACTION: noConnectivity = false
I/MediaUploader( 593): No need to wake up
D/dalvikvm( 311): GC_CONCURRENT freed 431K, 48% free 3201K/6151K, external 0K/512K, paused 12ms+3ms
D/WifiStateTracker( 165): Disabling interface
D/SettingsAppWidgetProvider( 638): Widget is from a previous version... Let's update
D/SettingsAppWidgetProvider( 638): No instances yet... Wait for at least one instance to exist before adding global settings
D/dalvikvm( 395): GC_EXPLICIT freed 379K, 51% free 2799K/5703K, external 0K/0K, paused 65ms
D/dalvikvm( 428): GC_EXPLICIT freed 156K, 49% free 2897K/5575K, external 0K/0K, paused 53ms
D/dalvikvm( 593): GC_EXPLICIT freed 94K, 50% free 2704K/5379K, external 0K/0K, paused 65ms
thank you!

this might be a hardware issue. Try reseating the cables on the bottom of the phone and see if it fixes your issue.
The Nexus one cables become loose after a while, I know mine did.

Related

Gmail app [FORECLOSE ]

Anyone here with the problem of the Gmail app foreclose right at the point you open it
That's if ur using build cyans 4.2.4 or 4.2.5
Plz any help is welcome
If u have same problem and if u can reach me faster. Here's my gtalk
[email protected]
Thanks you
im having the same issue it has been buggin me all day and hey what spl are you using?
i'm having the same problem myself. can you use logcat after you experience a force close. i'm going to post mine when i get a chance.
i have the haykuro death spl.
danger spl
Fudge guys .. I just barely finished wiping
And I'm using haykuros a.k.a danger spl
I don't know to use the log cat never had a chance or never neeeded to use it sorry guys
All I can say is that my app will only bring up a foreclose window and that's it nothing else
If u wanna hit me on gtalk go ahead plzz if u fix the problem
log cat
Log cat would be that app on the build right ??
Well I open it and yeah I choose it on gmail .. but nada it just takes me to gmail and it forecloses on me as soon I open it .. .. so no log cat info can be provided by me sorry guys
do adb logcat in windows....
Wipe and reflash the ADP recovery image and then flash cyan on top
thanx
Thanx for that info .. ill do it as soon I'm near a pc .. thanx
Even thos idk how to use adb .. ill have to learn it
anyone ever got a process.google.gapps? it happens when i try to open gmail and when i try to sync from data sync. in setting..it would open then close just as fast!
i flashed a theme and for some reason only the theme...even with stock apps..revised apps and so on.. it gave me that FC.. its not doin it now cause i freshed wipe but does anyone know what that could be from? ima theme my phone and then if it does it i will get my logcat ready for yall! lol..
I've had the same issue since I started loading themes onto the
device. I was on 4.2.3.1 and it continued when I upgraded to 4.2.4. I
have a T-Mobile Mytouch3g and I'm running 32b. I wiped and flashed
the HTC_ADP_1.6_DRC83_rooted_base.zip and then flashed the cyano 4.2.5
and I was finally able to get my gmail working. I'm confident if I
start installing themes again I'm going to experience this issue
same for me when i theme
here is my logcat.. only forcecloses themes when its by it self it works just fine!!
also i cant open data sync from settings!
D/dalvikvm( 234): GC freed 4310 objects / 215352 bytes in 127ms
I/ActivityManager( 144): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.androi
d.gm/.ConversationListActivityGmail }
I/ActivityManager( 144): Start proc com.google.android.gm for activity com.goog
le.android.gm/.ConversationListActivityGmail: pid=736 uid=10036 gids={3003}
I/ActivityThread( 736): Publishing provider com.google.android.gm.attachmentspr
eviews: com.google.android.gm.AttachmentPreviewProvider
I/ActivityThread( 736): Publishing provider com.google.android.gmail.Suggestion
Provider: com.google.android.gm.SuggestionsProvider
I/ActivityThread( 736): Publishing provider com.google.android.gm.status: com.g
oogle.android.gm.SenderStatusProvider
I/ActivityManager( 144): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.LAUNCHER] flg=0x2800000 cmp=com.google.android
.gm/.ConversationListActivity }
V/Gmail ( 736): onCreate(), id=com.google.android.gm.ConversationListActivity
@43679d08
I/ActivityManager( 144): Starting activity: Intent { flg=0x2000000 cmp=com.goog
le.android.gm/.WaitActivity (has extras) }
I/ActivityManager( 144): Displayed activity com.google.android.gm/.Conversation
ListActivity: 88 ms (total 539 ms)
W/InputManagerService( 144): Starting input on non-focused client com.android.i
[email protected] 0 (uid=10036 pid=736)
W/InputManagerService( 144): Client not active, ignoring focus gain of: com.and
[email protected] 37082a0
W/InputManagerService( 144): Window already focused, ignoring focus gain of: co
m.android.internal.view.IInputMethodClient$Stub$Pr [email protected]
D/ForecastProvider( 510): query() with uri=content://com.androidapps.widget.wea
ther2/appwidgets/5
D/ForecastProvider( 510): query() with uri=content://com.androidapps.widget.wea
ther2/appwidgets/5
D/dalvikvm( 510): GC freed 853 objects / 448232 bytes in 80ms
I/ActivityManager( 144): Process com.google.android.gm (pid 736) has died.
D/dalvikvm( 234): GC freed 3207 objects / 163008 bytes in 132ms
I/ActivityManager( 144): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.android.launcher/
.Launcher }
I/ActivityManager( 144): Starting activity: Intent { act=android.settings.SETTI
NGS flg=0x10200000 cmp=com.android.settings/.Settings }
I/ActivityManager( 144): Starting activity: Intent { cmp=com.android.providers.
subscribedfeeds/com.android.settings.SyncSettings }
W/InputManagerService( 144): Starting input on non-focused client android.view.
[email protected] (uid=1000 pid=144)
W/InputManagerService( 144): Client not active, ignoring focus gain of: android
[email protected]
W/InputManagerService( 144): Window already focused, ignoring focus gain of: co
m.android.internal.view.IInputMethodClient$Stub$Pr [email protected]
I/ActivityManager( 144): Starting activity: Intent { cmp=com.android.providers.
subscribedfeeds/com.android.settings.SyncSettings }
W/InputManagerService( 144): Starting input on non-focused client android.view.
[email protected] (uid=1000 pid=144)
W/InputManagerService( 144): Client not active, ignoring focus gain of: android
[email protected]
W/InputManagerService( 144): Window already focused, ignoring focus gain of: co
m.android.internal.view.IInputMethodClient$Stub$Pr [email protected]
I/ActivityManager( 144): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.android.launcher/
.Launcher }
W/InputManagerService( 144): Starting input on non-focused client com.android.i
[email protected] 8 (uid=1000 pid=699)
wipe
I'm back guys thanx for all the replys
But maybe I should give more info on what I tryed todo while trying to fix my gmail app
-I wiped fresh many times and I could say straight out 4 times I swear
-I only used 2 themes .. 2.0 eclair theme and. Davids custome theme that I requested
+ I have no partitions
+I have not done anay hard stuff one my fone other than the basics
+I have. Dream
With danger spl
8 gigs sd
I have lastest build of cyans 4.2.5 and this problem started when I had flash 4.2.4 before that everything was fine
Did you have the Stericson's lockscreen?
Also, post the logcat with the code tags. I don't see any exceptions in the logcat
B-man007 said:
Did you have the Stericson's lockscreen?
Also, post the logcat with the code tags. I don't see any exceptions in the logcat
Click to expand...
Click to collapse
nopr no stricson...
i used marks theme.. its always worked until 4.2.4 then i started havin issues
You said you tried the android 2.0 theme? I had that issue with that theme. There is one for the dream and one for sapphire. Whichever one you used, use the other one and see how that works.
I also found it to be related to themes as i had the same problems with certain themes. It may be due to bad ports but im not sure.
Also, the economy must be really bad if they are foreclosing on google apps
i get em on
markstheme
android 2.0 theme from g1_lucky
and dark dream all the ones i tried..
i open cyan and changed colors of some of the i cons and stuff and it worked fine although im sure it has nadda to do with that but still i got no force closes doin that..
so hmm idk..
Are you sure you didn't have the Stericson lock screen? there was a problem with it so an update for it was release

SOLVED Help request: No GPS in 1.6 ROMs

I've tried every possible idea i can think of to get GPS to work in the AOSP 1.6 and ghibs 1.6 build, and neither work. I've done full wipes for both, flashed both correctly, installed the bits correctly, and cannot get GPS to function. It turns on (well it checks) but nothing ever turns on, and it can never locate me.
Any suggestions or explanations why GPS would not be working?
EDIT:
Did a RUU, wiped, rerooted and flashed from stock. Seems to be working now.
myke66 said:
I've tried every possible idea i can think of to get GPS to work in the AOSP 1.6 and ghibs 1.6 build, and neither work. I've done full wipes for both, flashed both correctly, installed the bits correctly, and cannot get GPS to function. It turns on (well it checks) but nothing ever turns on, and it can never locate me.
Any suggestions or explanations why GPS would not be working?
Click to expand...
Click to collapse
Can you pull /etc/gps.conf and /system/etc/gps.conf and post the contents of each, the reason I ask is because I had an issue with this file on ghil 1.6 and had to replace that file to get it to work. More than likely that wont be the issue, but it doesn't hurt to check everything.
theoottesen said:
Can you pull /etc/gps.conf and /system/etc/gps.conf and post the contents of each, the reason I ask is because I had an issue with this file on ghil 1.6 and had to replace that file to get it to work. More than likely that wont be the issue, but it doesn't hurt to check everything.
Click to expand...
Click to collapse
Will do. Second.
from /etc
NTP_SERVER=north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
QOS_ACCURACY=16
Click to expand...
Click to collapse
and from /system/etc
NTP_SERVER=north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
QOS_ACCURACY=16
Click to expand...
Click to collapse
myke66 said:
Will do. Second.
from /etc
and from /system/etc
Click to expand...
Click to collapse
Yeah that is the same contents of what I had to put it to get mine to work. So I dont think that is it.
If you want to test here is the contents of the gps.conf that did not work for me, you could try and replace it and see if it works out, I know it worked for some people, worth a shot right?
NTP_SERVER=north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
SUPL_HOST=supl.google.com
SUPL_PORT=7276
Click to expand...
Click to collapse
theoottesen said:
Yeah that is the same contents of what I had to put it to get mine to work. So I dont think that is it.
If you want to test here is the contents of the gps.conf that did not work for me, you could try and replace it and see if it works out, I know it worked for some people, worth a shot right?
Click to expand...
Click to collapse
Sure, ill give that a try, but just to be clear, i dont believe GPS is even turning on, its simply doing nothing when its "turned on" in the options. Ill update and see if that does anything.
Edit: Still nothing. No change whatsoever in the behavior, it just doesnt start GPS. There isnt even an icon for it on the taskbar. It's as if its never turned on, but it is checked.
myke66 said:
Sure, ill give that a try, but just to be clear, i dont believe GPS is even turning on, its simply doing nothing when its "turned on" in the options. Ill update and see if that does anything.
Click to expand...
Click to collapse
Dont forget to reboot after the changes. Just to clarify, are you getting the flashing gps icon on the top bar when you go into google maps?
Edit: Ha you beat me!! The next thing I would suggest is change gps.conf back to the original contents, reboot. Then run turn off gps in the location settings, run "adb logcat" and turn the gps back on and post the results of what happens when you check the box so the dev can see that, hopefully it will tell them whats going on with it.
theoottesen said:
Dont forget to reboot after the changes. Just to clarify, are you getting the flashing gps icon on the top bar when you go into google maps?
Click to expand...
Click to collapse
I did reboot before trying again. I'm getting no icon whatsoever. Like i was saying, its like GPS never turns on.
See my edit in the above post ^^
theoottesen said:
See my edit in the above post ^^
Click to expand...
Click to collapse
Alrighty, already changed it back to that, so ill do the logcat.
D/GpsLocationProvider( 79): enable
D/libgps ( 79): DeferredActionThread started
D/GpsLocationProvider( 79): GpsEventThread starting
D/GpsLocationProvider( 79): pass mutex_lock
D/GpsLocationProvider( 79): NetworkThread starting
D/GpsLocationProvider( 79): setMinTime 1000
D/GpsLocationProvider( 79): NetworkThread out of wake loop
D/GpsLocationProvider( 79): Requesting time from NTP server north-america.pool
.ntp.org
D/GpsLocationProvider( 79): startNavigating
D/libgps ( 79): set PositionMode = 0, sFixFrequency = 1
D/libgps ( 79): qct_gps_start
D/libgps ( 79): pthread_cond_wait returned
D/libgps ( 79): DeferredActionThread calling send_get_position
D/libgps ( 79): PD send_get_position mode: 0, fixFrequency: 1, requestedTimeo
ut: 2, requestedAccuracy: 50, count: 268435455
D/libgps ( 79): PD command:
D/libgps ( 79): RPC_PDSM_PD_CMD_GET_POS
D/SntpClient( 79): round trip: 514 ms
D/SntpClient( 79): clock offset: -17697 ms
D/GpsLocationProvider( 79): calling native_inject_time: 1264578435047 referenc
e: 501771 certainty: 257
D/GpsLocationProvider( 79): NetworkThread wait for 14400000ms
D/GpsLocationProvider( 79): stopNavigating
D/libgps ( 79): pthread_cond_wait returned
D/libgps ( 79): DeferredActionThread calling send_end_session
D/libgps ( 79): PD command:
D/libgps ( 79): RPC_PDSM_PD_CMD_END_SESSION
D/GpsLocationProvider( 79): disable
D/GpsLocationProvider( 79): stopNavigating
D/GpsLocationProvider( 79): pass cond_wait
D/GpsLocationProvider( 79): unlocked mutex
D/GpsLocationProvider( 79): GpsEventThread exiting
D/GpsLocationProvider( 79): stopping NetworkThread
D/GpsLocationProvider( 79): NetworkThread out of wake loop
D/GpsLocationProvider( 79): NetworkThread exiting
D/libgps ( 79): qct_gps_set_fix_frequency(-1452191720)
Click to expand...
Click to collapse
Thats my log from starting, waiting a few, then turning it off.
Edit: Just checked the log for gmaps when trying to find my location and nothing of any use came up, just showed my inputs, and the output of no GPS being found.
It definitely looks different than mine, I am on Modaco's newest rom and I get this when I turn on gps. Hopefully someone more knowledge than myself can help out. Dont know if it makes that much of a difference being on a different rom, if so I can flash to 1.6 and post the logcat that I get from that, or if someone following this thread running 1.6 can post it that would work too.
D/GpsLocationProvider( 144): enable
V/AutoSettingReceiver( 185): AutoSettingReceiver onReceive() : com.htc.app.autosetting.cancel
D/libgps ( 144): DeferredActionThread started
D/GpsLocationProvider( 144): GpsEventThread starting
D/GpsLocationProvider( 144): NetworkThread starting
D/GpsLocationProvider( 144): NetworkThread out of wake loop
D/GpsLocationProvider( 144): Requesting time from NTP server north-america.pool.ntp.org
D/HtcCdmaStatusBar( 144): provide dormancy network icon net:6
D/SntpClient( 144): round trip: 493 ms
D/SntpClient( 144): clock offset: -29919 ms
D/GpsLocationProvider( 144): calling native_inject_time: 1264578644010 reference: 23695123 certainty: 246
D/libgps ( 144): qct_gps_inject_time(1264578644010, 23695123, 246)
D/libgps ( 144): XTRA command:
D/libgps ( 144): RPC_PDSM_XTRA_CMD_TIME_INFO_INJ
D/libgps ( 144): FUNC_RPC_PDSM_XTRA_INJECT_TIME_INFO result: true
D/GpsLocationProvider( 144): NetworkThread wait for 14400000ms
D/libgps ( 144): XTRA event: RPC_PDSM_XTRA_EVENT_STATUS, disc: 2
D/libgps ( 144): flags: 00000001
D/libgps ( 144): status: 1
Click to expand...
Click to collapse
theoottesen said:
It definitely looks different than mine, I am on Modaco's newest rom and I get this when I turn on gps. Hopefully someone more knowledge than myself can help out. Dont know if it makes that much of a difference being on a different rom, if so I can flash to 1.6 and post the logcat that I get from that, or if someone following this thread running 1.6 can post it that would work too.
Click to expand...
Click to collapse
and thats what's even more frustrating, is that GPS on any of the 1.5 roms (fresh, TTG modaco) all work fine.
Well at this point I'm out of ideas, sorry I couldn't have been of more help.
Bump for any ideas
Fixed. Edit in first post.

Huge problems with GPS!

Hello everyone.
Recently i've been having problems using GPS. Whenever i am firing up Maps / GPS Status / whatever app that uses GPS, it just won't get a GPS fix.
I also checked logcat output, and all i get is:
D/libgps ( 142): qct_gps_set_position_mode = 1, fix_frequency = 1
D/libgps ( 142): qct_gps_start
D/GpsLocationProvider( 142): Acquiring wakelock
D/libgps ( 142): PDSM_PD_EVENT_COMM_BEGIN
D/libgps ( 142): calling sAGpsStatusCallback GPS_REQUEST_AGPS_DATA_CONN
D/libgps ( 142): qct_agps_data_conn_open: internet.t-mobile
D/libgps ( 142): DeferredActionThread calling send_pdsm_atl_post_event PDSM_AT
L_EVENT_OPEN_SUCCESS internet.t-mobile
D/NetworkLocationProvider( 142): addListener(): apps.maps
W/InputManagerService( 142): Window already focused, ignoring focus gain of: co
[email protected]
D/libgps ( 142): PDSM_PD_EVENT_COMM_CONNECTED
D/libgps ( 142): PDSM_PD_EVENT_GPS_BEGIN
D/libgps ( 142): PDSM_PD_EVENT_COMM_DONE
D/libgps ( 142): calling sAGpsStatusCallback GPS_RELEASE_AGPS_DATA_CONN
D/libgps ( 142): qct_agps_data_conn_closed
Click to expand...
Click to collapse
No errors here at all. However i also checked dmesg, as i guess that a hardware related issue would show here first:
<4>[ 714.924957] msm_i2c msm_i2c.0: Warning bus was busy (2)
<4>[ 723.965454] msm_i2c msm_i2c.0: Warning bus was busy (1)
<4>[ 725.955017] msm_i2c msm_i2c.0: Warning bus was busy (2)
<4>[ 733.675537] msm_i2c msm_i2c.0: Warning bus was busy (3)
<4>[ 738.955352] msm_i2c msm_i2c.0: Warning bus was busy (1)
<4>[ 754.585418] msm_i2c msm_i2c.0: Warning bus was busy (3)
Click to expand...
Click to collapse
does anyone know what these errors mean? are they related to GPS?
I tried all of this on SuperD and FastTest, with and without default kernel (using 780MHz kernel usually)
However it made no difference.
I also tried to wipe, no luck.
And at last i took a look at the baseband, which differed by one letter from the one here:
http://code.google.com/p/sapphire-port-dream/
So i flashed that one, but, no luck!
This is seriously driving me crazy since i am not wanting to roll back to stock and send the phone in Please help!

No Internet via 3G, further toubleshooting ideas?

Hi,
I have installed that latest Android OS on my X1 yesterday
(Friday, March 26), per the documentation in this forum.
Installed files:
fatsal-xperoid-20100221.7z
essential_apps.zip
wlan-modules_20100325.zip
zImage_kovsky_20100325.zip
The issue is: Connecting to the Internet via 3G does not work.
- I can do phonecalls via Android. I can also get phonecalls.
- I can browse the internet via Wireless.
- Browsing the internet via 3g does not work (wireless is turned off),
(browser error: no network connection, browser cannot load this
page because there is no internet connection)
- Started "Haret", with the 3G connection in WinMo working (on).
As 2nd test, started "Haret" with the 3G connection off in Winmo.
= no internet via 3g
- I also ran into the issue, getting stuck in the PIN screen.
Turning it off in WiMo fixed it
(this should be added to the installation FAQ).
- Noticed that there is no ringtone with inbound calls.
The only available ringtone in the default install is called "silent" ?
- double checked the APN settings from the phone in varous forums,
can't find issues.
These are from "T-Mobile Germany" and were setup by default.
APN profile is enabled:
Name: t-mobile D
apn: internet.t-mobile
proxy: <not set>
port: <not set>
username: t-mobile
password: ** (pw is tm)
Server: * (value is not known)
mmsc: h t t p : / / mms.t-mobile.de/servlets/mms
mms proxy: 172.028.023.131
mms port: 8008
mnc: 01
authentication type: None
APN type: <not set>
Upper values are the default values.
I tested various values (e.g. cleared the upper server value,
tried various authentication types (pap/chap or both)), didn't help.
- I also install the "APNdroid" application,
File: apndroid-2.0.2-r16-debug-key.apk
It claims that 3G/EDGE/GPRS is on.
Played with this tool by turning 3G off and on
(hoping to help resolve problem), didn't help.
- I didn't find a connection manager, like in WinMo, where you can centrally
disable and enable various connection types (I often turn off the data
connection in WinMo, to save e.g. battery). Didn't find a simelar option
as e.g. the tool "APNdroid" provides.
I'm running out of ideas to troubleshoot.
I'm happy to hear ideas how to fix this and get a working internet connection.
/justin
UPDATE:
I also tried a different simcard from the german phone provider SIMYO, a subsidary
of E-Plus and used the respective APN information:
e-plus/simyo
Name: Eplus Internet
APN: internet.eplus.de
Username: eplus
Passwort: eplus
MCC: 262
MNC: 03
APN type: default
Result: same issue, as discribed above with T-Mobile Germany.
/j
just a thought it might be that APN settings above are only for mms.
and you need to create a first deault APN for Internet, following APN sites settings looks different, see below link
http://www.unlocks.co.uk/gprs_settings.php#germany
Tried these (and other APN settings): no sucess sofar.
Hi,
Musse_1 said:
just a thought it might be that APN settings above are only for mms.
and you need to create a first deault APN for Internet, following APN sites settings looks different, see below link
Click to expand...
Click to collapse
I tried these (and other APN settings), they didn't work.
The default settings I published in my 1st posting are the same ones listed in the communications settings in WinMo 6.5.
I also tried "ifconfig" in the "terminal emulator", to see if the system maybe gets an IP. Insted I get an error "no inet socket available: permission denied".
The "route" command shows no routing entries, so there is really no lan connection (when I run the Wifi connection, then I see the default routing entry").
I think, the issue is (maybe) somewhere else.
/Justin
the49ers said:
I also tried "ifconfig" in the "terminal emulator", to see if the system maybe gets an IP. Insted I get an error "no inet socket available: permission denied".
Click to expand...
Click to collapse
You have to be root for running ifconfig. Type "su" to become root.
No idea about your problem. 3G-connection works fine for me out of the box, so it seems not to be a general android problem.
Debugging possabilities?
I wonder, if there is a way to debug this issue, or troubleshoot via the terminal program, if there are ways to turn on debugging (it's still not working)?
- I reformatted the SD card and reinstalled again per documentation
- apart from "t-mobile D", also tried my "Simyo Sim card" again with
it's APN settings from E-Plus
- I copied the data.img and rootfs.img to a WinPc, decompressed them
and checked if there are maybe logfiles
- In the terminal, su works and I can run e.g. ifconfig and ps commands.
The ifconfig command shows no lan card for the 3g card, there is also
no default route via the route command (a default route exists with the
wireless connection).
- The windows mobile system is at the latest version, per sony patch
software (just tried that). Also did a mem reset in WinMo (set phone back
to it's default settings) and then tried Android, didn't work.
I'm happy to hear any ideas, as this seems to be a android issue. Maybe I have a Xperia X1 phone with a hardware version which does not work with the current android drivers.
How to e.g. find out via the terminal if the prosess for the gprs/hsdpa, ... is running, if it is possible to do a connection debug like e.g. with ppp to resolve authentication issues.
/Justin
You can check the android logfile for errors. In terminal type
Code:
logcat -d -f /sdcard/logcat.txt
that will dump the android log to a file logcat.txt on your sdcard. In that look for "ppp" or "if-up" or post it.
Dump: Airplane mode on, then off, -> browse
Hi vdelf,
Thanks for the feedback.
I have a trace from startup, which would be too large to add here (53k).
I get similar results when I turn on airplane mode, then turn it off,
then browse a page. The error message I get is the same as at startup (errors are marked in red).
I couldn't find anything with "ppp" or "if-up" in either of the logs.
I/ActivityManager( 1172): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.settings/.Settings }
I/ActivityManager( 1172): Displayed activity com.android.settings/.Settings: 630 ms (total 630 ms)
I/ActivityManager( 1172): Starting activity: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.WirelessSettings }
I/XT9IME ( 1227): [finishInput]
I/ActivityManager( 1172): Displayed activity com. android.settings/.WirelessSettings: 560 ms (total 560 ms)
E/keystore( 1591): chdir: /data/misc/keystore: Permission denied
W/BatteryStatsImpl( 1172): Couldn't get kernel wake lock stats
D/NetworkLocationProvider( 1172): onDataConnectionStateChanged 0
D/MobileDataStateTracker( 1172): default Received state= DISCONNECTED, old= DISCONNECTED, reason= radioTurnedOff, apnTypeList= default
I/HTCIMEService( 1227): onReceive - android.intent.action.ANY_DATA_STATE
I/HTCIMEService( 1227): Shutdown!! Export UDB
W/BatteryStatsImpl( 1172): Couldn't get kernel wake lock stats
I/HTCIMEService( 1227): onReceive - android.intent.action.ANY_DATA_STATE
I/HTCIMEService( 1227): Shutdown!! Export UDB
D/NetworkLocationProvider( 1172): onCellLocationChanged [-1,-1]
D/NetworkLocationProvider( 1172): onDataConnectionStateChanged 0
D/MobileDataStateTracker( 1172): default Received state= DISCONNECTED, old= DISCONNECTED, reason= radioTurnedOff, apnTypeList= default
E/keystore( 1593): chdir: /data/misc/keystore: Permission denied
W/BatteryStatsImpl( 1172): Couldn't get kernel wake lock stats
W/BatteryStatsImpl( 1172): Couldn't get kernel wake lock stats
E/keystore( 1594): chdir: /data/misc/keystore: Permission denied
E/keystore( 1595): chdir: /data/misc/keystore: Permission denied
D/dalvikvm( 1268): GC freed 2623 objects / 152432 bytes in 190ms
W/BatteryStatsImpl( 1172): Couldn't get kernel wake lock stats
E/keystore( 1596): chdir: /data/misc/keystore: Permission denied
D/MccTable( 1231): updateMccMncConfiguration: mcc=262, mnc=1
D/MccTable( 1231): locale set to de_de
D/MccTable( 1231): WIFI_NUM_ALLOWED_CHANNESL set to 13
I/WifiService( 1172): WifiService trying to setNumAllowed to 13 with persist set to false
D/TelephonyProvider( 1231): Setting numeric '26201' to be the current operator
D/NetworkLocationProvider( 1172): onCellLocationChanged [37458,35]
W/KeyCharacterMap( 1249): No keyboard for id 0
W/KeyCharacterMap( 1249): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
E/keystore( 1598): chdir: /data/misc/keystore: Permission denied
I/XT9IME ( 1227): [finishInput]
W/KeyCharacterMap( 1235): No keyboard for id 0
W/KeyCharacterMap( 1235): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
I/ActivityManager( 1172): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.browser/.BrowserActivity }
W/BatteryStatsImpl( 1172): Couldn't get kernel wake lock stats
E/keystore( 1599): chdir: /data/misc/keystore: Permission denied
I/XT9IME ( 1227): [startInput]
I/XT9IME ( 1227): [setInputConnection]: [email protected]e38f50
W/InputManagerService( 1172): Starting input on non-focused client [email protected] (uid=10002 pid=1433)
I/XT9IME ( 1227): [finishInput]
I/XT9IME ( 1227): [startInput]
I/XT9IME ( 1227): [setInputConnection]: inp[email protected]b68
D/SearchDialog( 1172): launching Intent { act=android.intent.action.VIEW dat=h t tp://w w w .msn. c o m/ flg=0x10000000 cmp=com.android.browser/.BrowserActivity (has extras) }
I/SearchDialog( 1172): Starting (as ourselves) h t tp://w w w .msn. com #Intent;action=android.intent.action.VIEW;launchFlags=0x10000000;component=com.android.browser/.BrowserActivity;S.query=http%3A%2F%2Fw w w .msn. c o m%2F;S.user_query=;end
I/ActivityManager( 1172): Starting activity: Intent { act=android.intent.action.VIEW dat=h t tp://w w w .msn. c o m/ flg=0x10000000 cmp=com.android.browser/.BrowserActivity (has extras) }
I/XT9IME ( 1227): [startInput]
I/XT9IME ( 1227): [setInputConnection]: [email protected]e1efc0
W/IInputConnectionWrapper( 1172): showStatusIcon on inactive InputConnection
E/browser ( 1433): onReceivedError -2 h t tp://w w w.msn. c o m/ Die URL konnte nicht gefunden werden.
D/dalvikvm( 1227): GC freed 771 objects / 40128 bytes in 300ms
E/keystore( 1603): chdir: /data/misc/keystore: Permission denied
E/browser ( 1433): onReceivedError -2 h t tp://w w w.google. c o m/m?client=ms-android-tmobile&source=android-home Die URL konnte nicht gefunden werden.
Note, that I had to put "spaces" in the external links, otherwise I could not post here.
I also tried at tool called "anycut" where one can add a shortcut and get extended options via executing it, e.g. one can "turn off" and "turn on" the mobile phone connection. It also shows more details, like the GSM service is "on line".
Link to article (remove the spaces at the beginning):
h t t p ://thewichitacomputerguy.com/blog/how-i-fixed-your-sim-card-does-not-allow-connection-network-g1
/justin
I`ve got the same problem, but on my first test it worked. Now I try all configurations from my first test, because the first test was succesful I think that the information you need were placed in the data.img. As I needed a new configuration I deleted the data.img, after this I couldn`t again use an data connection.
in my log the 3g-connection is established using if-up. That creates an ppp-interface, i can see that with ifconfig.
Looking at your log, it seems to me, that android is not even trying to connect. Maybe it is some hardware issue? Please take a look at the linux kernel log using
Code:
dmesg > /sdcard/dmesg.txt
You could play around with the if-up command, too. This seems to be standard linux stuff, so ask google about that.
Update
I checked the kernel log and can only see the following entries related to ppp, modem or IF (also after turning airplane mode on and off and browsing the internet):
[ 20.993316] init: cannot open '/initlogo.rle'
[ 21.256164] init: cannot find '/setupmodem.sh', disabling 'setupmodem'
[...]
[ 1.881805] PPP generic driver version 2.4.2
[ 1.882385] PPP Deflate Compression module registered
[ 1.882598] PPP BSD Compression module registered
[...]
[ 2505.351531] mpd_ppp: img is of wrong format
[ 2505.557373] mpd_ppp: img is of wrong format
I noticed, there is a ip-up file in /etc/ppp .
When I run that file, then I get the error that dir /smodem does not exist.
It looks like this file would either use ppp0 or ppp1 as interface (if it would exist). It is strange that there are hardly any logs regarding 3G, as if the 3G hardware would not exist.
The ifconfig only shows "lo", "tiwlan0" and "usb0" interfaces.
/justin
Logs
Hi,
I created new logs (logcat and dmesg) and attached them to here (and split them, to fit the limitations).
What did I do before generating the logs:
- Reboot, start android
- Airplane mode on
- Airplane mode off
- start browser, and try 2 - 3 internet sites
/justin
Does not give me a clue
At some point pppd is called by android. It uses /dev/smd0 for AT-commands and /dev/smd1 for gprs-data. Please make sure that you have these two devices. Then try to run pppd manualy. That may give a hint on what is wrong.
It is also possible that pppd is never called. Does anybody have some info about when and where android calls pppd?
Same issue here, with running Android on X1 in the Netherlands with Vodafone. (verified APN settings with a working Androind phone)
I'm trying to work out what is happening: /dev/smd0 and /dev/smd1 are present, but I'm struggling to start pppd by hand, since I can't really find the correct syntax.. just call it with the params from /etc/ppp/smd1.... file ?
And I might be misstaken, but shouldn't there be a pppd connect script somewhere ? I can't find it anywhere.
I had the problem with non-workin 3g connection. However, as I were adding a new APN it just started working right after I typed in the IP-address for the mms-server. I don't now if it was my input that made the difference because last night a small symbol popped up right next to the signal bars, looked like som kind of update symbol and well now the 3g acess to the internet works.
I wish I could be more specific.
I do have the 3G icon after setting it up, but internet doesn't work. Is this normal?
Cheekbone said:
I do have the 3G icon after setting it up, but internet doesn't work. Is this normal?
Click to expand...
Click to collapse
That's exactly my issue.. I get G/3G symbol, but no data. fiddling with the APN did not solve the issue.
Tested android version from April 22, same issue (not working)
Hi,
I have tested the newer release of the android software from april 22 (link below),
http://forum.xda-developers.com/showthread.php?t=666735
issue is unfortunatly still there.
/j
I get the same issue with you...
never had any issue with 3g in any android build, since now I'm using htc sense maybe this thread/post could be of help (download base package from first post) try "rootfs_use_if_pbs_booting.img" & report back if it works.
I installed the rootfs.img from that thread with the mention of vodafone in the name, overwrote my normal rootfs.img, and still no dice, and android seems to crash a lot with this rootfs.
thanks for the help though.

[Q] Baffled by Mouse/Keyboard Support

So, I'm going crazy trying to get both a bluetooth keyboard and mouse to work with the nook hd+. With the latest Cyanogenmod, I can get a Logitech K810 to pair, but I can't get any bluetooth mouse to pair. With stock, I can get the same mouse to work, but the K810 won't pair. Am I living in the twilight zone or something??
Anyway, I'm really frustrated. It's clear that - when the devices won't pair, it's because the little dialog box won't display asking me to type in the pin. Best case, I'd like to have the bluetooth mouse pair using Cyanogenmod. So, the Logitech K810 works in Cyanogenmod, but the mouse isn't. Does anyone have any ideas? Also, if you do have a bluetooth mouse that works with Cyanogenmod, please let me know which type and model it is.
jphudy said:
... Also, if you do have a bluetooth mouse that works with Cyanogenmod, please let me know which type and model it is.
Click to expand...
Click to collapse
I have a Lenovo model A300-M bluetooth mouse that works fine with the lastest and previous CM.
I have a Favi mini and it wouldn't pair following the directions. I had to turn the bluetooth on the HD+ off and on a few times then it worked.
jphudy said:
So, I'm going crazy trying to get both a bluetooth keyboard and mouse to work with the nook hd+. With the latest Cyanogenmod, I can get a Logitech K810 to pair, but I can't get any bluetooth mouse to pair. With stock, I can get the same mouse to work, but the K810 won't pair. Am I living in the twilight zone or something??
Anyway, I'm really frustrated. It's clear that - when the devices won't pair, it's because the little dialog box won't display asking me to type in the pin. Best case, I'd like to have the bluetooth mouse pair using Cyanogenmod. So, the Logitech K810 works in Cyanogenmod, but the mouse isn't. Does anyone have any ideas? Also, if you do have a bluetooth mouse that works with Cyanogenmod, please let me know which type and model it is.
Click to expand...
Click to collapse
I too am going through hell getting a bluetooth mouse I just bought paired. Won't pair on the B11 Carbon or latest 7/19 build of verygreen's emmc cyanogenmod. Same mouse pair's fine with my sg3 running paranoid 3.69. But, I bought the mouse for the nook... frustrating. FWIW, it's a Connectland mouse.
See the logcat of the failed bond here:
I/BluetoothBondStateMachine( 1098): Bond address is:00:11:67:00:10:FD
I/BluetoothBondStateMachine( 1098): Entering PendingCommandState State
I/BluetoothBondStateMachine( 1098): bondStateChangeCallback: Status: 0 Address: 00:11:67:00:10:FD newState: 1
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
I/BluetoothBondStateMachine( 1098): Bond State Change Intent:00:11:67:00:10:FD OldState: 10 NewState: 11
D/BluetoothAdapterService(1091016096)( 1098): Get Bonded Devices being called
I/ ( 1098): vendor op - 7
D/HidService( 1098): Connection state 00:11:67:00:10:FD: 0->1
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
E/wpa_supplicant( 721): Unsupported command: BTCOEXSCAN-START
D/BluetoothAdapterProperties( 1098): CONNECTION_STATE_CHANGE: 00:11:67:00:10:FD: 0 -> 1
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1091016096)( 1098): Get Bonded Devices being called
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
I/ ( 1098): vendor op - 7
I/ ( 1098): vendor op - 7
I/ ( 1098): vendor op - 7
I/ ( 1098): vendor op - 7
I/ ( 1098): vendor op - 7
I/ ( 1098): vendor op - 7
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
I/ ( 1098): vendor op - 7
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
I/ ( 1098): vendor op - 7
E/bt-l2cap( 1098): l2cu_adjust_out_mps bad packet size: 0 will use MPS: 0
I/ ( 1098): vendor op - 7
I/ ( 1098): vendor op - 7
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
I/ ( 1098): vendor op - 7
D/BluetoothDiscoverableEnabler( 3976): handleModeChanged(): mode = 21
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
W/bt-btif ( 1098): info:x0
I/ ( 1098): vendor op - 7
I/ ( 1098): vendor op - 7
I/ ( 1098): vendor op - 7
I/ ( 1098): vendor op - 7
D/CachedBluetoothDevice( 3976): onProfileStateChanged: profile HID newProfileState 1
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
W/bt-sdp ( 1098): process_service_attr_rsp
I/ ( 1098): vendor op - 7
I/ ( 1098): vendor op - 7
I/ ( 1098): vendor op - 7
I/ ( 1098): vendor op - 7
I/ ( 1098): vendor op - 7
I/ ( 1098): vendor op - 7
I/ ( 1098): vendor op - 7
W/bt-sdp ( 1098): process_service_attr_rsp
I/ ( 1098): vendor op - 7
I/ ( 1098): vendor op - 7
I/ ( 1098): vendor op - 7
I/ ( 1098): vendor op - 7
I/ ( 1098): vendor op - 7
I/ ( 1098): vendor op - 7
I/ ( 1098): vendor op - 7
W/bt-btm ( 1098): btm_sec_pin_code_request() rejected - state: 7
I/ ( 1098): vendor op - 7
I/ ( 1098): vendor op - 7
W/bt-l2cap( 1098): L2CAP - cfg rsp - bad ID. Exp: 11 Got: 10
I/BluetoothBondStateMachine( 1098): bondStateChangeCallback: Status: 1 Address: 00:11:67:00:10:FD newState: 0
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1091016096)( 1098): Get Bonded Devices being called
I/BluetoothBondStateMachine( 1098): Bond State Change Intent:00:11:67:00:10:FD OldState: 11 NewState: 10
W/bt-btif ( 1098): btif_hh_upstreams_evt: BTA_HH_OPN_EVT: handle=1, status =12
I/BluetoothBondStateMachine( 1098): StableState(): Entering Off State
D/HidService( 1098): Connection state 00:11:67:00:10:FD: 1->0
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
E/wpa_supplicant( 721): Unsupported command: BTCOEXSCAN-STOP
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterProperties( 1098): CONNECTION_STATE_CHANGE: 00:11:67:00:10:FD: 1 -> 0
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1091016096)( 1098): Get Bonded Devices being called
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
D/BluetoothDiscoverableEnabler( 3976): handleModeChanged(): mode = 21
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
W/BluetoothEventManager( 3976): showUnbondMessage: Not displaying any message for reason: 9
I/LocalBluetoothProfileManager( 3976): Failed to connect HID device
D/CachedBluetoothDevice( 3976): onProfileStateChanged: profile HID newProfileState 0
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1091016096)( 1098): getState(): mAdapterProperties: [email protected]
I/ ( 1098): vendor op - 7
E/bt-btm ( 1098): btm_sec_disconnected - Clearing Pending flag
FWIW, here's a logcat of a successful pair with my sg3:
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
I/BluetoothBondStateMachine( 4144): Bond address is:00:11:67:00:10:FD
I/BluetoothBondStateMachine( 4144): Entering PendingCommandState State
I/BluetoothBondStateMachine( 4144): bondStateChangeCallback: Status: 0 Address: 00:11:67:00:10:FD newState: 1
I/BluetoothBondStateMachine( 4144): Bond State Change Intent:00:11:67:00:10:FD OldState: 10 NewState: 11
D/HidService( 4144): Connection state 00:11:67:00:10:FD: 0->1
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterProperties( 4144): CONNECTION_STATE_CHANGE: 00:11:67:00:10:FD: 0 -> 1
V/BluetoothDiscoveryReceiver( 3020): Received: android.bluetooth.adapter.action.DISCOVERY_FINISHED
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): Get Bonded Devices being called
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): Get Bonded Devices being called
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]68
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothDiscoverableEnabler( 3020): handleModeChanged(): mode = 21
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/CachedBluetoothDevice( 3020): onProfileStateChanged: profile HID newProfileState 1
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
W/bt-btif ( 4144): info:x0
I/HeadsetService( 2191): Headset=false; Bluetooth=false
W/bt-sdp ( 4144): process_service_attr_rsp
W/bt-sdp ( 4144): process_service_attr_rsp
D/btif_config_util( 4144): btif_config_save_file(L153): in file name:/data/misc/bluedroid/bt_config.new
E/bt-btif ( 4144): services_to_search = 1fffffff
E/bt-btif ( 4144): ****************search UUID = 1200***********
W/bt-btif ( 4144): new conn_srvc id:23, app_id:1
W/bt-btif ( 4144): btif_hh_upstreams_evt: BTA_HH_OPN_EVT: handle=1, status =0
W/bt-btif ( 4144): BTA_HH_OPEN_EVT: Found device...Getting dscp info for handle ... 1
W/bt-btif ( 4144): BTA_HH_GET_DSCP_EVT: status = 49, handle = 17
W/bt-btif ( 4144): btif_hh_upstreams_evt: name = Broadcom Bluetooth HID
W/bt-btif ( 4144): bta_hh_co_send_hid_info: fd = 69, name = [Broadcom Bluetooth HID], dscp_len = 93
W/bt-btif ( 4144): bta_hh_co_send_hid_info: vendor_id = 0x1131, product_id = 0x3501, version= 0x0611,ctry_code=0x00
D/HidService( 4144): Connection state 00:11:67:00:10:FD: 1->2
E/EventHub( 668): could not get driver version for /dev/input/mouse0, Not a typewriter
W/bt-btif ( 4144): bta_hh_co_send_hid_info: fd = 69, dscp_len = 93, result = 0
W/bt-btif ( 4144): Added device 00:11:67:00:10:FD
W/bt-btif ( 4144): BTA_HH_GET_DSCP_EVT: Called add device
W/bt-btif ( 4144): BTA_HH_ADD_DEV_EVT: status = 0, handle = 1
D/CachedBluetoothDevice( 3020): onProfileStateChanged: profile HID newProfileState 2
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterProperties( 4144): CONNECTION_STATE_CHANGE: 00:11:67:00:10:FD: 1 -> 2
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): Get Bonded Devices being called
W/bt-sdp ( 4144): process_service_search_attr_rsp
E/bt-btif ( 4144): services_to_search = 1ffffffe
E/bt-btif ( 4144): ****************search UUID = 0100***********
D/EventHub( 668): No input device configuration file found for device 'Broadcom Bluetooth HID'.
I/EventHub( 668): New device: id=15, fd=237, path='/dev/input/event14', name='Broadcom Bluetooth HID', classes=0x80000008, configuration='', keyLayout='', keyCharacterMap='', buil
tinKeyboard=false, usingSuspendBlockIoctl=true, usingClockIoctl=true
I/InputReader( 668): Device added: id=15, name='Broadcom Bluetooth HID', sources=0x00002002
I/ActivityManager( 668): Config changes=1400 {0.85 310mcc260mnc en_US ldltr sw360dp w360dp h615dp 320dpi nrml long port finger -keyb/v/h dpad/v s.8 themeResource=null}
W/bt-sdp ( 4144): process_service_search_attr_rsp
E/bt-btif ( 4144): Index: 0 uuid:00001124-0000-1000-8000-00805f9b34fb
I/BluetoothBondStateMachine( 4144): bondStateChangeCallback: Status: 0 Address: 00:11:67:00:10:FD newState: 2
D/btif_config_util( 4144): btif_config_save_file(L153): in file name:/data/misc/bluedroid/bt_config.new
I/BluetoothBondStateMachine( 4144): Bond State Change Intent:00:11:67:00:10:FD OldState: 11 NewState: 12
W/BackupManagerService( 668): dataChanged but no participant pkg='com.android.providers.settings' uid=1002
W/BackupManagerService( 668): dataChanged but no participant pkg='com.android.providers.settings' uid=1002
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
W/BackupManagerService( 668): dataChanged but no participant pkg='com.android.providers.settings' uid=1002
E/Sensors ( 668): accelHandler 0.226329 5.902525 7.961045
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
I/BluetoothBondStateMachine( 4144): StableState(): Entering Off State
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothDiscoverableEnabler( 3020): handleModeChanged(): mode = 21
I/dalvikvm-heap( 668): Grow heap (frag case) to 20.625MB for 2073616-byte allocation
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothInputDevice( 3020): connect(00:11:67:00:10:FD)
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
E/HidService( 4144): Hid Device not disconnected: 00:11:67:00:10:FD
I/CachedBluetoothDevice( 3020): Failed to connect HID to Bluetooth Optic Mouse
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
I/ActivityManager( 668): Start proc com.tmobile.thememanager for content provider com.tmobile.thememanager/.provider.ThemesProvider: pid=5345 uid=1300 gids={41300, -1, 1028}
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothInputDevice( 3020): connect(00:11:67:00:10:FD)
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
E/HidService( 4144): Hid Device not disconnected: 00:11:67:00:10:FD
I/CachedBluetoothDevice( 3020): Failed to connect HID to Bluetooth Optic Mouse
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1089359680)( 4144): Get Bonded Devices being called
hondoslack said:
I too am going through hell getting a bluetooth mouse I just bought paired. Won't pair on the B11 Carbon or latest 7/19 build of verygreen's emmc cyanogenmod. Same mouse pair's fine with my sg3 running paranoid 3.69. But, I bought the mouse for the nook... frustrating. FWIW, it's a Connectland mouse.
Click to expand...
Click to collapse
I only have Apple magic mouse and it works.
Unless this mouse you have needs a special kernel quirk, it should work too.
FWIW, here's a logcat of a successful pair with my sg3:
...
E/HidService( 4144): Hid Device not disconnected: 00:11:67:00:10:FD
I/CachedBluetoothDevice( 3020): Failed to connect HID to Bluetooth Optic Mouse
Click to expand...
Click to collapse
This does not look too succesful to me?
verygreen said:
I only have Apple magic mouse and it works.
Unless this mouse you have needs a special kernel quirk, it should work too.
This does not look too succesful to me?
Click to expand...
Click to collapse
Well, I'm not sure what role HID plays in device connections (also, note the process ID is different, looks like its tied to something else), but if you scan through both logs, you'll see about midway the second one the successful connection, and addition of the device to "bt_config.new", which I imagine gets renamed to "bt_config.xml" when finished. Ultimately, on my phone and Nexus 7, regardless of that HID failure, the mouse works fine, even the "back" button. Considering all 3 devices are running a variant of the same code base, it's hard to say. Maybe it is a kernel issue, but then, why only this mouse? Frustating...
If you look at the failure log from the Nook, things seem to fall apart after this:
E/wpa_supplicant( 721): Unsupported command: BTCOEXSCAN-START
Maybe it's better to remove the "I" and "D" lines, and focus on the warnings and errors:
Code:
E/wpa_supplicant( 721): Unsupported command: BTCOEXSCAN-START
E/bt-l2cap( 1098): l2cu_adjust_out_mps bad packet size: 0 will use MPS: 0
W/bt-btif ( 1098): info:x0
W/bt-sdp ( 1098): process_service_attr_rsp
W/bt-sdp ( 1098): process_service_attr_rsp
W/bt-btm ( 1098): btm_sec_pin_code_request() rejected - state: 7
W/bt-l2cap( 1098): L2CAP - cfg rsp - bad ID. Exp: 11 Got: 10
W/bt-btif ( 1098): btif_hh_upstreams_evt: BTA_HH_OPN_EVT: handle=1, status =12
E/wpa_supplicant( 721): Unsupported command: BTCOEXSCAN-STOP
W/BluetoothEventManager( 3976): showUnbondMessage: Not displaying any message for reason: 9
E/bt-btm ( 1098): btm_sec_disconnected - Clearing Pending flag
Why would wpa_supplicant be getting invoked for bluetooth? Very strange.
hondoslack said:
Why would wpa_supplicant be getting invoked for bluetooth? Very strange.
Click to expand...
Click to collapse
BTCoexist is a legacy thing to make bt not to conflit with wifi on TI chipsets, no longer used, so you can safely ignore it.
I imagine your mouse is some of the HID-incompatible ones that needs additional quirks set in kernel.
Now the trick is to figure out which specific quirk is it.
I though I enabled most of the useful ones, but perhaps we'd also need some logitech and such that did not look too relevant at first
verygreen said:
BTCoexist is a legacy thing to make bt not to conflit with wifi on TI chipsets, no longer used, so you can safely ignore it.
I imagine your mouse is some of the HID-incompatible ones that needs additional quirks set in kernel.
Now the trick is to figure out which specific quirk is it.
I though I enabled most of the useful ones, but perhaps we'd also need some logitech and such that did not look too relevant at first
Click to expand...
Click to collapse
Understood, and thanks for taking a look at this! If it will help any, when home from work I can post the section from bt_config.xml on my Nexus 7 that contains the vendor ID, device ID, etc. That's too bad we have to hack the kernel for specific bluetooth devices, I thought bluetooth was supposed to be "universal"?
verygreen said:
BTCoexist is a legacy thing to make bt not to conflit with wifi on TI chipsets, no longer used, so you can safely ignore it.
I imagine your mouse is some of the HID-incompatible ones that needs additional quirks set in kernel.
Now the trick is to figure out which specific quirk is it.
I though I enabled most of the useful ones, but perhaps we'd also need some logitech and such that did not look too relevant at first
Click to expand...
Click to collapse
I guess I didn't realize that we're running a 3.0 kernel as opposed to 3.4 like on my other devices. That's like comparing apples to oranges at this point, as I'm sure the bluetooth stack has changed substantially in the kernel since 3.0.
For completeness, here is a logcat of a successful pairing with my mouse from Stock 2.1 running off the sdcard (thanks for that btw, very useful!):
D/BluetoothAdapterStateMachine( 210): PowerOff process message: 1
D/BluetoothAdapterStateMachine( 210): Bluetooth state 10 -> 11
I/bluedroid( 210): bt_enable
I/bluedroid( 210): bt_is_enabled: 0
I/bluedroid( 210): hci_increment_usage
I/bluedroid( 210): hci_is_enabled
I/bluedroid( 210): hci_enable
I/bluedroid( 210): hci_enable
I/bluedroid( 210): set_bluetooth_power
I/bluedroid( 210): Starting uim daemon
I/bluedroid( 210): create_hci_sock
I/SwitchPreference( 3055): parent preference is enabled, so switch enable false
V/SwitchPreference( 3055): progate embedded switch widget change to preference
V/SwitchPreference( 3055): switchpreference seChecked() true
V/SwitchPreference( 3055): Bluetooth:switchPref set to true
V/SwitchPreference( 3055): Bluetooth:switchPref change listener confirms
V/SwitchPreference( 3055): set embedded switch widget state to that of the containing preference, true
E/uim-sysfs( 4023): uim: Inside main
E/uim-sysfs( 4023): uim:ST built into the kernel ?
E/uim-sysfs( 4023): uim:FM driver module un-available...
E/uim-sysfs( 4023): uim:FM driver built into the kernel ?
E/uim-sysfs( 4023): uim:GPS driver module un-available...
E/uim-sysfs( 4023): uim:GPS driver built into the kernel ?
E/uim-sysfs( 4023): uim:FM V4L2 driver module un-available...
E/uim-sysfs( 4023): uim:FM V4L2 driver built into the kernel ?
E/uim-sysfs( 4023): uim:found bluetooth rfkill entry @ 0
E/uim-sysfs( 4023):
E/uim-sysfs( 4023): uim:changed permissions for /sys/class/rfkill/rfkill0/state(0)
E/uim-sysfs( 4023):
V/BluetoothEventManager( 3055): Received android.bluetooth.adapter.action.STATE_CHANGED
I/SwitchPreference( 3055): parent preference is enabled, so switch enable false
E/uim-sysfs( 4023): uim: Inside st_uart_config
E/uim-sysfs( 4023): uim:install set to 1
E/uim-sysfs( 4023): uimpening /dev/ttyO3, while already open
E/uim-sysfs( 4023): uim:cleanup
E/uim-sysfs( 4023): uim: Inside set_baud_rate
E/uim-sysfs( 4023): uim: set_baud_rate() done
E/uim-sysfs( 4023): uim: Setting speed to 3686400
E/uim-sysfs( 4023): uim: Inside read_command_complete
E/uim-sysfs( 4023): uim: Command complete started
E/uim-sysfs( 4023): uim: Inside read_hci_event
E/uim-sysfs( 4023): uim: read_hci_event
E/uim-sysfs( 4023): uim: Command complete done
E/uim-sysfs( 4023): uim: Speed changed to 3686400
E/uim-sysfs( 4023): uim: Inside set_custom_baud_rate
E/uim-sysfs( 4023): uim: Changing baud rate to 3686400, flow control to 1
E/uim-sysfs( 4023): uim: set_custom_baud_rate() done
E/uim-sysfs( 4023): uim: Installed N_TI_WL Line displine
I/bluedroid( 210): Starting bluetoothd deamon
I/bluedroid( 210): set_bt_enabled
I/BluetoothEventLoop.cpp( 210): agent_event_filter: Received method org.bluez.Agent:Release
D/BluetoothService( 210): switchConnectable false
D/BluetoothEventLoop( 210): Property Changed: UUIDs : 7
D/BluetoothAdapterStateMachine( 210): WarmUp process message: 101
D/BluetoothAdapterStateMachine( 210): WarmUp process message: 51
D/BluetoothAdapterStateMachine( 210): HotOff process message: 101
D/BluetoothService( 210): switchConnectable true
D/BluetoothEventLoop( 210): Property Changed: Connectable : true
D/BluetoothAdapterStateMachine( 210): Switching process message: 53
D/BluetoothEventLoop( 210): Property Changed: Pairable : true
D/BluetoothAdapterStateMachine( 210): Bluetooth state 11 -> 12
V/BluetoothEventManager( 3055): Received android.bluetooth.adapter.action.STATE_CHANGED
I/BluetoothA2dpService( 210): Register player - metadata: 1 settings: 1
D/BluetoothService( 210): new handle 10005
D/BluetoothEventLoop( 210): Property Changed: UUIDs : 8
D/BluetoothAdapterStateMachine( 210): BluetoothOn process message: 51
D/BluetoothGattClientService( 210): BT ON
D/BluetoothEventLoop( 210): Property Changed: Discovering : true
D/BluetoothAdapterStateMachine( 210): BluetoothOn process message: 1
W/BluetoothAdapterStateMachine( 210): BluetoothOn received: 1
V/SwitchPreference( 3055): embedded switch widget set to true
V/SwitchPreference( 3055): switchpreference seChecked() true
V/SwitchPreference( 3055): Bluetooth:switchPref set to true
V/SwitchPreference( 3055): Bluetooth:switchPref change listener confirms
V/SwitchPreference( 3055): set embedded switch widget state to that of the containing preference, true
I/SwitchPreference( 3055): parent preference is enabled, so switch enable true
V/BluetoothEventManager( 3055): Received android.bluetooth.adapter.action.DISCOVERY_STARTED
D/DockEventReceiver( 3055): finishStartingService: stopping service
V/BluetoothDiscoveryReceiver( 3055): Received: android.bluetooth.adapter.action.DISCOVERY_STARTED
D/BluetoothService( 210): updateDeviceServiceChannelCache(00:11:67:00:10:FD)
V/BluetoothEventManager( 3055): Received android.bluetooth.device.action.FOUND
D/BluetoothEventLoop( 210): Property Changed: Discovering : false
V/BluetoothEventManager( 3055): Received android.bluetooth.adapter.action.DISCOVERY_FINISHED
V/BluetoothDiscoveryReceiver( 3055): Received: android.bluetooth.adapter.action.DISCOVERY_FINISHED
I/SUIV ( 3055): preparePopup 0x00000000
D/BluetoothEventLoop( 210): Property Changed: Discovering : true
V/BluetoothEventManager( 3055): Received android.bluetooth.adapter.action.DISCOVERY_STARTED
V/BluetoothDiscoveryReceiver( 3055): Received: android.bluetooth.adapter.action.DISCOVERY_STARTED
W/InputManagerService( 210): Window already focused, ignoring focus gain of: [email protected]
D/BluetoothService( 210): updateDeviceServiceChannelCache(00:11:67:00:10:FD)
V/BluetoothEventManager( 3055): Received android.bluetooth.device.action.FOUND
D/BatteryService( 210): PROCESSVALUES : update plugged:false was:false stat:3 zone:16 was:16 send low:false
D/BluetoothEventLoop( 210): Property Changed: Discovering : false
V/BluetoothEventManager( 3055): Received android.bluetooth.adapter.action.DISCOVERY_FINISHED
D/dalvikvm( 3055): GC_CONCURRENT freed 1569K, 15% free 13095K/15239K, paused 9ms+16ms
V/BluetoothDiscoveryReceiver( 3055): Received: android.bluetooth.adapter.action.DISCOVERY_FINISHED
D/BluetoothBondState( 210): setBondState address 11reason: 0
D/BluetoothBondState( 210): 00:11:67:00:10:FD bond state 10 -> 11 (0)
E/bluetooth_common.cpp( 210): Unknown property Vendor
E/bluetooth_common.cpp( 210): parse_property_change: D-Bus error in PropertyChanged: (null) ((null))
E/BluetoothEventLoop.cpp( 210): event_filter: D-Bus error in PropertyChanged: (null) ((null))
E/bluetooth_common.cpp( 210): Unknown property Product
E/bluetooth_common.cpp( 210): parse_property_change: D-Bus error in PropertyChanged: (null) ((null))
E/BluetoothEventLoop.cpp( 210): event_filter: D-Bus error in PropertyChanged: (null) ((null))
E/bluetooth_common.cpp( 210): Unknown property Version
E/bluetooth_common.cpp( 210): parse_property_change: D-Bus error in PropertyChanged: (null) ((null))
E/BluetoothEventLoop.cpp( 210): event_filter: D-Bus error in PropertyChanged: (null) ((null))
D/BluetoothEventLoop( 210): Device property changed: 00:11:67:00:10:FD property: Temporary value: true
D/BluetoothEventLoop( 210): Property Changed: Devices : 1
V/BluetoothEventManager( 3055): Received android.bluetooth.device.action.BOND_STATE_CHANGED
D/BluetoothEventLoop( 210): Device property changed: 00:11:67:00:10:FD property: Connected value: true
D/BluetoothGattClientService( 210): Device connected:00:11:67:00:10:FD
D/BluetoothGattClientService( 210): onConnected
D/BluetoothGattClientService( 210): Device 00:11:67:00:10:FD is not connected to GATT. Ignoring
D/BluetoothService( 210): updateDeviceServiceChannelCache(00:11:67:00:10:FD)
V/BluetoothEventManager( 3055): Received android.bluetooth.device.action.FOUND
I/BluetoothEventLoop.cpp( 210): agent_event_filter: Received method org.bluez.Agent:RequestPinCode
D/BluetoothBondState( 210): setBondState address 11reason: 0
I/ActivityManager( 210): START {act=android.bluetooth.device.action.PAIRING_REQUEST flg=0x10000000 cmp=com.android.settings/.bluetooth.BluetoothPairingDialog (has extras)} from pid 3055
D/LocalBluetoothManager( 3055): setting foreground activity to null
I/ActivityManager( 210): Displayed com.android.settings/.bluetooth.BluetoothPairingDialog: +265ms
D/dalvikvm( 210): GC_FOR_ALLOC freed 664K, 23% free 14416K/18631K, paused 104ms
D/BluetoothEventLoop( 210): Device property changed: 00:11:67:00:10:FD property: Temporary value: false
D/BluetoothEventLoop( 210): Device property changed: 00:11:67:00:10:FD property: Paired value: true
D/BluetoothEventLoop( 210): Device property changed: 00:11:67:00:10:FD property: Trusted value: false
I/BluetoothEventLoop.cpp( 210): agent_event_filter: Received method org.bluez.Agent:Release
V/SwitchPreference( 3055): embedded switch widget set to true
V/SwitchPreference( 3055): switchpreference seChecked() true
V/SwitchPreference( 3055): Bluetooth:switchPref set to true
V/SwitchPreference( 3055): Bluetooth:switchPref change listener confirms
V/SwitchPreference( 3055): set embedded switch widget state to that of the containing preference, true
I/SwitchPreference( 3055): parent preference is enabled, so switch enable true
D/LocalBluetoothManager( 3055): setting foreground activity to non-null context
D/CallStack( 3055): Flushing caches (mode 0)
D/BluetoothEventLoop( 210): Device property changed: 00:11:67:00:10:FD property: UUIDs value: 2
D/BluetoothService( 210): updateDeviceServiceChannelCache(00:11:67:00:10:FD)
V/BluetoothEventManager( 3055): Received android.bluetooth.device.action.UUID
D/BluetoothBondState( 210): setBondState address 12reason: 0
E/BluetoothPbap( 210): Could not bind to Bluetooth Pbap Service
I/BluetoothDeviceProfileState( 210): Entering ACL Connected state with: -2
W/ActivityManager( 210): Unable to start service Intent { act=android.bluetooth.IBluetoothPbap }: not found
W/ActivityManager( 210): Unbind failed: could not find connection for [email protected]
D/BluetoothBondState( 210): 00:11:67:00:10:FD bond state 11 -> 12 (0)
V/BluetoothService( 210): Untrusting 00:11:67:00:10:FD
V/BluetoothService( 210): setTrust address:00:11:67:00:10:FD value:0
E/bluetooth_common.cpp( 210): Unknown property Vendor
E/bluetooth_common.cpp( 210): Unknown property Product
E/bluetooth_common.cpp( 210): Unknown property Version
D/BluetoothService( 210): updateDeviceServiceChannelCache(00:11:67:00:10:FD)
I/TC ( 571): KPICollector: 1375408221017 platform bt_paired
D/BluetoothEventLoop( 210): Device property changed: 00:11:67:00:10:FD property: Trusted value: false
V/BluetoothEventManager( 3055): Received android.bluetooth.device.action.BOND_STATE_CHANGED
I/BluetoothProfileState( 210): Message:Entering PendingCommandState State
D/CachedBluetoothDevice( 3055): Command sent successfully:CONNECT Address:00:11:67:00:10:FD Profile:HID
D/BluetoothInputProfileHandler( 210): InputDevice state : device: 00:11:67:00:10:FD State:0->1
V/BluetoothEventManager( 3055): Received android.bluetooth.input.profile.action.CONNECTION_STATE_CHANGED
D/CachedBluetoothDevice( 3055): onProfileStateChanged: profile HID newProfileState 1
D/BluetoothService( 210): CONNECTION_STATE_CHANGE: 00:11:67:00:10:FD: 0 -> 1
W/ActivityManager( 210): Permission Denial: receiving Intent { act=android.bluetooth.adapter.action.CONNECTION_STATE_CHANGED flg=0x10000010 (has extras) } to ProcessRecord{413e9178 210:system/1000} (pid=586, uid=10000) requires android.permission.BLUETOOTH due to sender android (uid 1000)
E/EventHub( 210): could not get driver version for /dev/input/mouse0, Not a typewriter
D/BluetoothEventLoop( 210): Input Device : Name of Property is: Connected
D/BluetoothInputProfileHandler( 210): InputDevice state : device: 00:11:67:00:10:FD State:1->2
I/BluetoothProfileState( 210): Message:Entering Stable State
I/BluetoothDeviceProfileState( 210): Entering ACL Connected state with: 102
W/ActivityManager( 210): Permission Denial: receiving Intent { act=android.bluetooth.adapter.action.CONNECTION_STATE_CHANGED flg=0x10000010 (has extras) } to ProcessRecord{413e9178 210:system/1000} (pid=586, uid=10000) requires android.permission.BLUETOOTH due to sender android (uid 1000)
D/BluetoothService( 210): CONNECTION_STATE_CHANGE: 00:11:67:00:10:FD: 1 -> 2
I/TC ( 571): KPICollector: 1375408221466 platform bt_connect {"bt_profile_used":"HID"}
V/BluetoothEventManager( 3055): Received android.bluetooth.input.profile.action.CONNECTION_STATE_CHANGED
D/CachedBluetoothDevice( 3055): onProfileStateChanged: profile HID newProfileState 2
D/EventHub( 210): No input device configuration file found for device 'Bluetooth Optic Mouse'.
I/EventHub( 210): New device: id=10, fd=268, path='/dev/input/event8', name='Bluetooth Optic Mouse', classes=0x80000008, configuration='', keyLayout='', keyCharacterMap='', builtinKeyboard=false
I/InputReader( 210): Device added: id=10, name='Bluetooth Optic Mouse', sources=0x00002002
Unfortunately, stock is not storing the configuration in /data/misc/bluedroid, like cyanogenmod, it is using the older bluetoothd folder. Also, I got the same behavior as OP, where my mouse pairs, but my keyboard doesn't..
Anyway, as promised, here are the relevant contents of bt_config.xml from my Nexus 7 pairing with this mouse:
<N1 Tag="Timestamp" Type="int">1375335898</N1>
<N2 Tag="Name" Type="string">Bluetooth Optic Mouse</N2>
<N3 Tag="DevClass" Type="int">9600</N3>
<N4 Tag="DevType" Type="int">1</N4>
<N5 Tag="LinkKeyType" Type="int">0</N5>
<N6 Tag="PinLength" Type="int">0</N6>
<N7 Tag="LinkKey" Type="binary">8359502074263b527f227a1fd1463bdb</N7>
<N8 Tag="HidAttrMask" Type="int">33269</N8>
<N9 Tag="HidSubClass" Type="int">128</N9>
<N10 Tag="HidAppId" Type="int">1</N10>
<N11 Tag="HidVendorId" Type="int">4401</N11>
<N12 Tag="HidProductId" Type="int">13569</N12>
<N13 Tag="HidVersion" Type="int">1553</N13>
<N14 Tag="HidCountryCode" Type="int">0</N14>
<N15 Tag="HidDescriptor" Type="binary">05010902a10185020901a1000509190129051500250175019505810275039501810105010930093116008026ff7f751095028106a1028502050109381581257f750895018106c0a1028502050c0a38021581257f750895018106c0c0c0</N15>
<N16 Tag="Service" Type="string">00001124-0000-1000-8000-00805f9b34fb </N16>
Connectland Mouse
It's great to know that some others are working at this. At this point, I've tried both the Connectland CL-MOU23014 and Gigabyte GM-M7700B mice, but neither works. It's a shame because both pair on my S3 running cyanogenmod. I really want to use my nook for RDP, but it's useless without a mouse.

Categories

Resources