日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 运维知识 > linux >内容正文

linux

linux蓝牙打开自动关闭,firefly rk3288 蓝牙开启又自动关闭

發(fā)布時(shí)間:2024/3/12 linux 41 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux蓝牙打开自动关闭,firefly rk3288 蓝牙开启又自动关闭 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

本帖最后由 xmzzy 于 2015-10-20 18:11 編輯

firefly rk3288開發(fā)板手動開啟藍(lán)牙過兩秒會自動關(guān)閉。開啟不成功。求助!

我在log中在懷疑出錯(cuò)的地方前后用#號隔,不知道問題定位對不對,也不知道該怎么解決。

logcat打印:

W/AudioTrack(??587): AUDIO_OUTPUT_FLAG_FAST denied by client

I/ActivityManager(??587): START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from uid 1000 on display 0

V/WindowManager(??587): addAppToken: AppWindowToken{f606923 token=Token{124f4252 ActivityRecord{20e016dd u0 com.android.settings/.SubSettings t5}}} to stack=1 task=5 at 1

E/RKPowerHAL(??587): Error opening /dev/video_state: No such file or directory

W/AppOps??(??587): Bad call: specified package media under uid 1000 but it is really 1013

E/RKPowerHAL(??587): Error opening /dev/video_state: No such file or directory

W/AppOps??(??587): Bad call: specified package media under uid 1000 but it is really 1013

D/AudioHardwareTiny(??169): start_output_stream

D/AudioHardwareTiny(??169): Audio HAL start_output_stream??out->device = 0x400

D/SubSettings( 2145): Launching fragment com.android.settings.bluetooth.BluetoothSettings

D/BluetoothAdapter( 2145): 1014279808: getState() :??mService = null. Returning STATE_OFF

D/BluetoothAdapter( 2145): 1014279808: getState() :??mService = null. Returning STATE_OFF

D/LocalBluetoothManager( 2145): setting foreground activity to non-null context

D/BluetoothAdapter( 2145): 1014279808: getState() :??mService = null. Returning STATE_OFF

D/BluetoothAdapter( 2145): 1014279808: getState() :??mService = null. Returning STATE_OFF

D/BluetoothAdapter( 2145): 1014279808: getState() :??mService = null. Returning STATE_OFF

V/WindowManager(??587): Adding window Window{7b8d549 u0 com.android.settings/com.android.settings.SubSettings} at 6 of 7 (after Window{66f46d8 u0 com.android.settings/com.android.settings.Settings})

W/AppOps??(??587): Bad call: specified package media under uid 1000 but it is really 1013

D/Index? ?( 2145): Deleting data for locale 'en_US' took 3 millis

D/BluetoothAdapter( 2145): 1014279808: getState() :??mService = null. Returning STATE_OFF

D/Index? ?( 2145): Indexing locale 'en_US' took 2 millis

I/ActivityManager(??587): Displayed com.android.settings/.SubSettings: +344ms

D/BluetoothAdapter( 2145): 1014279808: getState() :??mService = null. Returning STATE_OFF

D/BluetoothAdapter( 2145): 1014279808: getState() :??mService = null. Returning STATE_OFF

D/BluetoothManagerService(??587): enable():??mBluetooth =null mBinding = false

D/BluetoothManagerService(??587): Message: 1

D/BluetoothManagerService(??587): MESSAGE_ENABLE: mBluetooth = null

W/AudioTrack(??587): AUDIO_OUTPUT_FLAG_FAST denied by client

W/AppOps??(??587): Bad call: specified package media under uid 1000 but it is really 1013

I/ActivityManager(??587): Start proc 3001:com.android.bluetooth/1002 for service com.android.bluetooth/.btservice.AdapterService

W/ResourcesManager( 3001): Asset path '/system/framework/javax.obex.jar' does not exist or contains no resources.

D/AdapterServiceConfig( 3001): Adding HeadsetService

D/AdapterServiceConfig( 3001): Adding A2dpService

D/AdapterServiceConfig( 3001): Adding HidService

D/AdapterServiceConfig( 3001): Adding HealthService

D/AdapterServiceConfig( 3001): Adding PanService

D/AdapterServiceConfig( 3001): Adding GattService

D/BluetoothServiceJni( 3001): int android::check_wifi_chip_type_string(char*): AP6210

D/BluetoothServiceJni( 3001): void android::classInitNative(JNIEnv*, jclass), load bluetooth.default.so

D/BluetoothManagerService(??587): Message: 20

D/BluetoothManagerService(??587): Added callback: android.bluetooth.IBluetoothManagerCallback$Stub$Proxy@1c116967:true

D/BluetoothAdapterState( 3001): make

I/bluedroid( 3001): init

I/BluetoothAdapterState( 3001): Entering OffState

E/bt-btif ( 3001): btif_config_get(L190): assert failed: section && *section && key && *key && name && *name && bytes && type

I/bte_conf( 3001): bte_load_conf attempt to load stack conf from /etc/bluetooth/bt_stack.conf

I/bte_conf( 3001): bte_load_ble_conf attempt to load ble stack conf from /etc/bluetooth/ble_stack.conf

E/bt_osi_config( 3001): config_new unable to open file '/etc/bluetooth/ble_stack.conf': No such file or directory

I/bte_conf( 3001): bte_load_ble_conf file >/etc/bluetooth/ble_stack.conf< not found

I/bluedroid( 3001): get_profile_interface socket

I/bluedroid( 3001): get_profile_interface map_client

I/GKI_LINUX( 3001): gki_task_entry task_id=1 [BTIF] starting

D/BluetoothAdapterProperties( 3001): Address is:22:22:D0:8C:41:AC

D/BluetoothAdapterProperties( 3001): Name is: rk3288

D/BluetoothManagerService(??587): Bluetooth Adapter name changed to rk3288

D/BluetoothManagerService(??587): Stored Bluetooth name: rk3288

D/BluetoothManagerService(??587): BluetoothServiceConnection: com.android.bluetooth.btservice.AdapterService

D/BluetoothManagerService(??587): Message: 40

D/BluetoothManagerService(??587): MESSAGE_BLUETOOTH_SERVICE_CONNECTED: 1

I/bluedroid( 3001): config_hci_snoop_log

D/BluetoothManagerService(??587): Calling onBluetoothServiceUp callbacks

D/BluetoothManagerService(??587): Broadcasting onBluetoothServiceUp() to 4 receivers.

D/BluetoothAdapterState( 3001): CURRENT_STATE=OFF, MESSAGE = USER_TURN_ON

D/BluetoothAdapterProperties( 3001): Setting state to 11

I/BluetoothAdapterState( 3001): Bluetooth adapter state changed: 10-> 11

D/BluetoothManagerService(??587): Message: 60

D/BluetoothManagerService(??587): MESSAGE_BLUETOOTH_STATE_CHANGE: prevState = 10, newState=11

D/BluetoothManagerService(??587): Bluetooth State Change Intent: 10 -> 11

D/BluetoothBondStateMachine( 3001): make

I/BluetoothBondStateMachine( 3001): StableState(): Entering Off State

D/BluetoothAdapterService( 3001): getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@31b84aa9

D/HeadsetService( 3001): Received start request. Starting profile...

I/BluetoothHeadsetServiceJni( 3001): classInitNative: succeeds

D/HeadsetStateMachine( 3001): make

I/BluetoothAdapterState( 3001): Entering PendingCommandState State: isTurningOn()=true, isTurningOff()=false

D/HeadsetStateMachine( 3001): max_hf_connections = 1

I/bluedroid( 3001): get_profile_interface handsfree

D/HeadsetStateMachine( 3001): Enter Disconnected: -2, size: 0

D/BluetoothAdapterService( 3001): getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@31b84aa9

D/A2dpService( 3001): Received start request. Starting profile...

I/BluetoothAvrcpServiceJni( 3001): classInitNative: succeeds

I/bluedroid( 3001): get_profile_interface avrcp

E/RemoteController( 3001): Cannot set synchronization mode on an unregistered RemoteController

I/BluetoothA2dpServiceJni( 3001): classInitNative: succeeds

D/A2dpStateMachine( 3001): make

I/bluedroid( 3001): get_profile_interface a2dp

I/GKI_LINUX( 3001): gki_task_entry task_id=2 [A2DP-MEDIA] starting

D/A2dpStateMachine( 3001): Enter Disconnected: -2

I/BluetoothHidServiceJni( 3001): classInitNative: succeeds

D/BluetoothAdapterService( 3001): getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@31b84aa9

D/HidService( 3001): Received start request. Starting profile...

I/bluedroid( 3001): get_profile_interface hidhost

I/BluetoothHealthServiceJni( 3001): classInitNative: succeeds

D/BluetoothAdapterService( 3001): getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@31b84aa9

D/HealthService( 3001): Received start request. Starting profile...

I/bluedroid( 3001): get_profile_interface health

I/BluetoothPanServiceJni( 3001): classInitNative(L105): succeeds

D/BluetoothAdapterService( 3001): getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@31b84aa9

D/PanService( 3001): Received start request. Starting profile...

D/BluetoothPanServiceJni( 3001): initializeNative(L110): pan

I/bluedroid( 3001): get_profile_interface pan

D/BluetoothInputDevice( 2145): Proxy object connected

D/HidProfile( 2145): Bluetooth service connected

I/BtGatt.JNI( 3001): classInitNative(L873): classInitNative: Success!

D/BluetoothAdapterService( 3001): getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@31b84aa9

D/BtGatt.DebugUtils( 3001): handleDebugAction() action=null

D/BtGatt.GattService( 3001): Received start request. Starting profile...

D/BtGatt.GattService( 3001): start()

I/bluedroid( 3001): get_profile_interface gatt

D/BluetoothAdapterService( 3001): getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@31b84aa9

D/BtGatt.AdvertiseManager( 3001): advertise manager created

D/BluetoothPan( 2145): BluetoothPAN Proxy object connected

D/PanProfile( 2145): Bluetooth service connected

D/HeadsetStateMachine( 3001): Proxy object connected

D/HeadsetStateMachine( 3001): Disconnected process message: 10, size: 0

D/HeadsetPhoneState( 3001): sendDeviceStateChanged. mService=0 mSignal=0 mRoam=0 mBatteryCharge=5

D/HeadsetStateMachine( 3001): Disconnected process message: 11, size: 0

D/BluetoothAdapterState( 3001): CURRENT_STATE=PENDING, MESSAGE = STARTED, isTurningOn=true, isTurningOff=false

I/bluedroid( 3001): enable

I/GKI_LINUX( 3001): gki_task_entry task_id=0 [BTU] starting

I/bt-btu??( 3001): btu_task pending for preload complete event

I/bt_hci_bdroid( 3001): init

D/RkWifiCtrl( 3001): check_wifi_chip_type_string: AP6210

D/bt_vendor( 3001): vendor_open load libbt-vendor.so

I/bt_vendor( 3001): init

I/bt_vnd_conf( 3001): Attempt to load conf from /etc/bluetooth/bt_vendor.conf

I/bt_vnd_conf( 3001): vnd_load_conf file >/etc/bluetooth/bt_vendor.conf< not found

D/RkWifiCtrl( 3001): check_wifi_chip_type_string: AP6210

D/bt_hci_bdroid( 3001): init, use hci h4

D/bt_userial( 3001): userial_init

W/AppOps??(??587): Bad call: specified package media under uid 1000 but it is really 1013

D/bt_upio ( 3001): Delay 500ms for bluetooth power up

D/bt_upio ( 3001): Delay 500ms for bluetooth power up

################################

/bt_userial_vendor( 3001): userial vendor open: opening /dev/ttyS0I/bt_userial_vendor( 3001): device fd = 55 open

D/bt_userial( 3001): Entering userial_read_thread()

D/AudioHardwareTiny(??169): close device

W/AppOps??(??587): Bad call: specified package media under uid 1000 but it is really 1013

E/bt-btif ( 3001): ...preload_wait_timeout (retried:0/max-retry:0)...

D/bt_userial( 3001): RX termination

W/bt_userial( 3001): select_read return size <=0:-1, exiting userial_read_thread

D/bt_userial( 3001): Leaving userial_read_thread()

I/bt_userial_vendor( 3001): device fd = 55 close

#####################################D/bt_upio ( 3001): Delay 500ms for bluetooth power up

W/bt-btu??( 3001): btu_task start abort!

I/GKI_LINUX( 3001): gki_task task_id=0 [BTU] terminating

I/GKI_LINUX( 3001): GKI_exit_task 0 done

I/GKI_LINUX( 3001): GKI_shutdown(): task [BTU] terminated

I/GKI_LINUX( 3001): GKI_exit_task 1 done

I/GKI_LINUX( 3001): gki_task task_id=2 [A2DP-MEDIA] terminating

I/GKI_LINUX( 3001): GKI_exit_task 2 done

D/BluetoothAdapterState( 3001): CURRENT_STATE=PENDING, MESSAGE = DISABLED, isTurningOn=true, isTurningOff=false

E/BluetoothAdapterState( 3001): Error enabling Bluetooth - hardware init failed

I/GKI_LINUX( 3001): gki_task task_id=1 [BTIF] terminating

D/HeadsetService( 3001): Received stop request...Stopping profile...

D/HeadsetStateMachine( 3001): Exit Disconnected: -1

D/A2dpService( 3001): Received stop request...Stopping profile...

D/A2dpStateMachine( 3001): Exit Disconnected: -1

D/BluetoothAdapterProperties( 3001): Setting state to 10

I/BluetoothAdapterState( 3001): Bluetooth adapter state changed: 11-> 10

D/BluetoothManagerService(??587): Message: 60

D/BluetoothManagerService(??587): MESSAGE_BLUETOOTH_STATE_CHANGE: prevState = 11, newState=10

D/BluetoothManagerService(??587): Broadcasting onBluetoothStateChange(false) to 9 receivers.

I/BluetoothAdapterState( 3001): Entering OffState

D/HidService( 3001): Received stop request...Stopping profile...

D/HeadsetStateMachine( 3001): Unbinding service...

D/BluetoothInputDevice( 2145): Proxy object disconnected

D/HidProfile( 2145): Bluetooth service disconnected

W/BluetoothHeadsetServiceJni( 3001): Cleaning up Bluetooth Handsfree Interface...

W/BluetoothHeadsetServiceJni( 3001): Cleaning up Bluetooth Handsfree callback object

D/BluetoothHeadset(??587): onBluetoothStateChange: up=false

D/HealthService( 3001): Received stop request...Stopping profile...

D/BluetoothInputDevice( 2145): onBluetoothStateChange: up=false

D/PanService( 3001): Received stop request...Stopping profile...

D/BluetoothHeadset( 2122): onBluetoothStateChange: up=false

D/BtGatt.DebugUtils( 3001): handleDebugAction() action=null

D/BluetoothMap( 2145): onBluetoothStateChange: up=false

D/BtGatt.GattService( 3001): Received stop request...Stopping profile...

D/BtGatt.GattService( 3001): stop()

D/BtGatt.AdvertiseManager( 3001): advertise clients cleared

E/BluetoothMap( 2145):

E/BluetoothMap( 2145): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothMap$2@1a84a0a6

E/BluetoothMap( 2145):? ?? ?? ?at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1029)

E/BluetoothMap( 2145):? ?? ?? ?at android.app.ContextImpl.unbindService(ContextImpl.java:1820)

E/BluetoothMap( 2145):? ?? ?? ?at android.content.ContextWrapper.unbindService(ContextWrapper.java:551)

E/BluetoothMap( 2145):? ?? ?? ?at android.bluetooth.BluetoothMap$1.onBluetoothStateChange(BluetoothMap.java:64)

E/BluetoothMap( 2145):? ?? ?? ?at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)

E/BluetoothMap( 2145):? ?? ?? ?at android.os.Binder.execTransact(Binder.java:446)

D/BluetoothHeadset(??587): onBluetoothStateChange: up=false

D/BluetoothPbap( 2145): onBluetoothStateChange: up=false

W/BluetoothHidServiceJni( 3001): Cleaning up Bluetooth HID Interface...

W/bt-btif ( 3001): cleanup: HH disabling or disabled already, status = 0

W/BluetoothHidServiceJni( 3001): Cleaning up Bluetooth GID callback object

W/BluetoothHealthServiceJni( 3001): Cleaning up Bluetooth Health Interface...

W/BluetoothHealthServiceJni( 3001): Cleaning up Bluetooth Health object

W/BluetoothPanServiceJni( 3001): Cleaning up Bluetooth PAN Interface...

W/BluetoothPanServiceJni( 3001): Cleaning up Bluetooth PAN callback object

D/BtGatt.GattService( 3001): cleanup()

W/bt-btif ( 3001): GATTC Module not enabled/already disabled

W/bt-btif ( 3001): GATTS Module not enabled/already disabled

D/BtGatt.AdvertiseManager( 3001): advertise clients cleared

D/BluetoothHeadset(??587): onBluetoothStateChange: up=false

D/BluetoothA2dp(??587): onBluetoothStateChange: up=false

D/BluetoothManagerService(??587): Bluetooth State Change Intent: 11 -> 10

E/BluetoothManagerService(??587): recoverBluetoothServiceFromError

W/ContextImpl( 2145): Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1704 android.content.ContextWrapper.startService:516 android.content.ContextWrapper.startService:516 com.android.settings.bluetooth.DockEventReceiver.beginStartingService:134 com.android.settings.bluetooth.DockEventReceiver.onReceive:115

D/DockEventReceiver( 2145): finishStartingService: stopping service

D/Index? ?( 2145): Deleting data for locale 'en_US' took 7 millis

D/Index? ?( 2145): Indexing locale 'en_US' took 6 millis

D/BluetoothManagerService(??587): Sending off request.

D/BluetoothAdapterState( 3001): CURRENT_STATE=OFF, MESSAGE = USER_TURN_OFF

D/BluetoothManagerService(??587): Calling onBluetoothServiceDown callbacks

D/BluetoothManagerService(??587): Broadcasting onBluetoothServiceDown() to 4 receivers.

I/BluetoothServiceJni( 3001): cleanupNative: return from cleanup

I/art? ???( 3001): System.exit called, status: 0

I/AndroidRuntime( 3001): VM exiting with result code 0, cleanup skipped.

I/ActivityManager(??587): Process com.android.bluetooth (pid 3001) has died

總結(jié)

以上是生活随笔為你收集整理的linux蓝牙打开自动关闭,firefly rk3288 蓝牙开启又自动关闭的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。