Bluetooth services does not appear

Ferry Toth ftoth at telfort.nl
Sat Jan 12 05:43:45 PST 2019


Op 11-01-19 om 23:41 schreef Ferry Toth:
>
> Op 09-01-19 om 16:51 schreef Daniel Wagner:
>>> root at edison:~# connmanctl
>>> connmanctl> services
>>> *AR Wired                ethernet_00800f951d4d_cable
>>>      Ferry Toth (Galaxy Note3) bluetooth_43341B001FAC_C462EA01AF74
>>> connmanctl> connect bluetooth_43341B001FAC_C462EA01AF74
>>> Error /net/connman/service/bluetooth_43341B001FAC_C462EA01AF74:
>>> Input/output error
>>>
>>> Seems like 1 more thing is missing.
>> Something interesting in the logs?
>
> Maybe. bnep0 is not appearing.
>
>
> bnep0: Could not find udev device: No such device
> bnep0: Failed
> Could not add new link, ignoring: No such device
> link_config: autonegotiation is unset or enabled, the speed and duplex 
> are not writable.
> link_config: could not get ethtool features for bnep0
> Could not set offload features of bnep0: No such device
> link_config: autonegotiation is unset or enabled, the speed and duplex 
> are not writable.
> link_config: could not get ethtool features for bnep0
> Could not set offload features of bnep0: No such device
> link_config: autonegotiation is unset or enabled, the speed and duplex 
> are not writable.
> link_config: could not get ethtool features for bnep0
> Could not set offload features of bnep0: No such device
> link_config: autonegotiation is unset or enabled, the speed and duplex 
> are not writable.
> link_config: could not get ethtool features for bnep0
> Could not set offload features of bnep0: No such device

After turning on -d I got a bit more:

../connman-1.35/src/service.c:service_send_changed()
***
../connman-1.35/src/service.c:service_append_added_foreach() changed 
/net/connman/service/bluetooth_43341B001FAC_C462EA01AF74
***
../connman-1.35/src/rtnl.c:rtnl_message() NEWLINK len 1316 type 16 flags 
0x0000 seq 0 pid 0
../connman-1.35/src/ipconfig.c:__connman_ipconfig_newlink() index 10
bnep0 {create} index 10 type 1 <ETHER>
bnep0 {update} flags 4098 <DOWN>
bnep0 {newlink} index 10 address 43:34:1B:00:1F:AC mtu 1500
bnep0 {newlink} index 10 operstate 2 <DOWN>
../connman-1.35/src/detect.c:detect_newlink() type 1 index 10
Adding interface bnep0 [ bluetooth ]
../connman-1.35/src/technology.c:technology_find() type 4
../connman-1.35/src/rtnl.c:rtnl_message() DELLINK len 560 type 17 flags 
0x0000 seq 0 pid 0
bnep0 {dellink} index 10 operstate 2 <DOWN>
../connman-1.35/src/detect.c:detect_dellink() type 1 index 10
../connman-1.35/src/ipconfig.c:__connman_ipconfig_dellink() index 10
(null) {remove} index 10
Remove interface (null) [ bluetooth ]
../connman-1.35/src/technology.c:technology_find() type 4
../connman-1.35/plugins/bluetooth.c:pan_connect_cb() network 0x1887450 
org.bluez.Error.Failed
../connman-1.35/src/network.c:connman_network_set_associating() network 
0x1887450 associating 0
../connman-1.35/src/network.c:connman_network_set_error() network 
0x1887450 error 1
../connman-1.35/src/service.c:__connman_service_indicate_error() service 
0x1887540 error 4
../connman-1.35/src/service.c:__connman_service_ipconfig_indicate_state() 
service 0x1887540 (bluetooth_43341B001FAC_C462EA01AF74) old state 2 
(association) new state 7 (failure) type 1 (IPv4)
../connman-1.35/src/ipconfig.c:__connman_ipconfig_disable() ipconfig 
0x18878f0
../connman-1.35/src/ntp.c:__connman_ntp_stop()
../connman-1.35/src/service.c:service_indicate_state() service 0x1887540 
old association - new failure/association => association
../connman-1.35/src/service.c:__connman_service_ipconfig_indicate_state() 
service 0x1887540 (bluetooth_43341B001FAC_C462EA01AF74) old state 2 
(association) new state 7 (failure) type 2 (IPv6)
../connman-1.35/src/ipconfig.c:__connman_ipconfig_disable() ipconfig 
0x1887960
../connman-1.35/src/ntp.c:__connman_ntp_stop()
../connman-1.35/src/service.c:service_indicate_state() service 0x1887540 
old association - new failure/failure => failure
../connman-1.35/src/session.c:service_state_changed() service 0x1887540 
state 7
../connman-1.35/src/provider.c:provider_service_changed() service 
0x1887540 bluetooth_43341B001FAC_C462EA01AF74 state 7 index 0/-1
../connman-1.35/src/agent.c:connman_agent_report_error_full() agent 
0x188acb0 sender :1.33 context 0x1887540 path /net/connman/connmanctl3155
../connman-1.35/src/agent.c:connman_agent_queue_message() driver 0x59f82c
../connman-1.35/src/service.c:connman_service_ref_debug() 0x1887540 ref 
2 by ../connman-1.35/src/service.c:7296:agent_context_ref()
../connman-1.35/src/network.c:__connman_network_disconnect() network 
0x1887450
../connman-1.35/plugins/bluetooth.c:bluetooth_pan_disconnect() network 
0x1887450
../connman-1.35/plugins/bluetooth.c:pan_disconnect_cb() network 
0x1887450 org.bluez.Error.NotConnected
../connman-1.35/plugins/bluetooth.c:pan_disconnect_cb() network 0x1887450



More information about the connman mailing list