Reply
Thread Tools
Posts: 2 | Thanked: 2 times | Joined on Jul 2012
#1
Hi,

I've encountered some errors with NFC in 1.3, or atleast the problems started when i upgraded to 1.3.

When upgrading from 1.2 -> 1.3 NFC was enable, but after the post-upgrade reboot i couldn't enable NFC again. In settings when trying to enable NFC I got a message similar to "Could not enable NFC".

I'm attaching the syslog excerpt with the events trying to enable NFC. The events are rouhgly: Unluck phone, settings -> enable NFC, wait for fail, put phone down.

I've tried the most basic apt-get update, --fix-missing etc but i have no idea which package nfc is part of. I bet it's called something like nfclib though =P

So the question is, has anyone encountered this error before or can anyone directly tell me the library/package containing the nfc-stuff?

For search indexing purposes: NFC DAL error 0x02, Method "RegisterUIAgent" with signature "o" on interface "com.nokia.nfc.Adapter" doesn't exist, WARNING: nfc_stack/nxp/nfc_mw_stack_nxp.c:396:nfc_mw_stack_dal_error(): NFC DAL error 0x02
Attached Files
File Type: txt syslog_nfcexerpt.txt (8.1 KB, 113 views)
 

The Following User Says Thank You to EmpIzza For This Useful Post:
Posts: 130 | Thanked: 17 times | Joined on Dec 2011
#2
This happened to me too like when I tic the NFC to on, it will just go back to off and say Could not enable. I just rebooted and it worked like charm. dunno why. try it
 

The Following 2 Users Say Thank You to ssjmec For This Useful Post:
Posts: 2 | Thanked: 2 times | Joined on Jul 2012
#3
Thanks, cold reboot did it.

I had tried rebooting (shell>> reboot as root) but that didn't do it =P

In short: Turn device off (power button), leave it off for a while, 10-15 sec, to ensure that any residual charge in the tx/rx modules is gone, boot it up again an voila
 

The Following User Says Thank You to EmpIzza For This Useful Post:
Posts: 2 | Thanked: 0 times | Joined on Aug 2005
#4
hi!
cold reboot did it NOT for me :-((

1. when i switch on the button in the settings it turns off automatically, somtimes i get a message like "nfc start failes.." (in german..).
in this cases, the syslog says:

Code:
Oct 15 19:51:03 (2012) conndlgs[931]: QDBusObjectPath: invalid path ""
Oct 15 19:51:03 (2012) conndlgs[931]: DefaultAdapter returned error 'org.freedesktop.DBus.Error.NoReply': Message did not receive a reply (timeout by message bus)
Oct 15 19:51:03 (2012) nfcd[10360]: WARNING: nfc_stack/nxp/nfc_mw_stack_nxp.c:396:nfc_mw_stack_dal_error(): NFC DAL error 0x02
Oct 15 19:51:03 (2012) nfcd[10363]: WARNING: nfc_stack/nxp/nfc_mw_stack_nxp.c:396:nfc_mw_stack_dal_error(): NFC DAL error 0x02
Oct 15 19:51:03 (2012) conndlgs[931]: RegisterUIAgent returned error 'org.freedesktop.DBus.Error.UnknownMethod': Method "RegisterUIAgent" with signature "o" on interface "com.nokia.nfc.Adapter" doesn't exist
Oct 15 19:51:03 (2012) conndlgs[931]: QDBusObjectPath: invalid path ""
Oct 15 19:51:03 (2012) conndlgs[931]: DefaultAdapter returned error 'org.freedesktop.DBus.Error.NoReply': Message did not receive a reply (timeout by message bus)
Oct 15 19:51:03 (2012) nfcd[10366]: WARNING: nfc_stack/nxp/nfc_mw_stack_nxp.c:396:nfc_mw_stack_dal_error(): NFC DAL error 0x02
Oct 15 19:51:03 (2012) nfcd[10369]: WARNING: nfc_stack/nxp/nfc_mw_stack_nxp.c:396:nfc_mw_stack_dal_error(): NFC DAL error 0x02
Oct 15 19:51:03 (2012) conndlgs[931]: RegisterUIAgent returned error 'org.freedesktop.DBus.Error.UnknownMethod': Method "RegisterUIAgent" with signature "o" on interface "com.nokia.nfc.Adapter" doesn't exist
Oct 15 19:51:03 (2012) conndlgs[931]: QDBusObjectPath: invalid path ""
Oct 15 19:51:03 (2012) conndlgs[931]: DefaultAdapter returned error 'org.freedesktop.DBus.Error.NoReply': Message did not receive a reply (timeout by message bus)
Oct 15 19:51:03 (2012) nfcd[10372]: WARNING: nfc_stack/nxp/nfc_mw_stack_nxp.c:396:nfc_mw_stack_dal_error(): NFC DAL error 0x02
Oct 15 19:51:04 (2012) nfcd[10375]: WARNING: nfc_stack/nxp/nfc_mw_stack_nxp.c:396:nfc_mw_stack_dal_error(): NFC DAL error 0x02
Oct 15 19:51:04 (2012) conndlgs[931]: RegisterUIAgent returned error 'org.freedesktop.DBus.Error.UnknownMethod': Method "RegisterUIAgent" with signature "o" on interface "com.nokia.nfc.Adapter" doesn't exist
Oct 15 19:51:04 (2012) conndlgs[931]: QDBusObjectPath: invalid path ""
Oct 15 19:51:04 (2012) conndlgs[931]: DefaultAdapter returned error 'org.freedesktop.DBus.Error.NoReply': Message did not receive a reply (timeout by message bus)
Oct 15 19:51:04 (2012) nfcd[10378]: WARNING: nfc_stack/nxp/nfc_mw_stack_nxp.c:396:nfc_mw_stack_dal_error(): NFC DAL error 0x02
Oct 15 19:51:04 (2012) nfcd[10381]: WARNING: nfc_stack/nxp/nfc_mw_stack_nxp.c:396:nfc_mw_stack_dal_error(): NFC DAL error 0x02
Oct 15 19:51:04 (2012) conndlgs[931]: RegisterUIAgent returned error 'org.freedesktop.DBus.Error.UnknownMethod': Method "RegisterUIAgent" with signature "o" on interface "com.nokia.nfc.Adapter" doesn't exist
Oct 15 19:51:04 (2012) conndlgs[931]: QDBusObjectPath: invalid path ""
Oct 15 19:51:04 (2012) conndlgs[931]: DefaultAdapter returned error 'org.freedesktop.DBus.Error.NoReply': Message did not receive a reply (timeout by message bus)
Oct 15 19:51:04 (2012) nfcd[10384]: WARNING: nfc_stack/nxp/nfc_mw_stack_nxp.c:396:nfc_mw_stack_dal_error(): NFC DAL error 0x02
Oct 15 19:51:04 (2012) nfcd[10387]: WARNING: nfc_stack/nxp/nfc_mw_stack_nxp.c:396:nfc_mw_stack_dal_error(): NFC DAL error 0x02
Oct 15 19:51:04 (2012) syslogd[2150]: Rotated '/var/log/syslog' to '/var/log/syslog.old' -- closing and reopening.

2. when i switch on the nfcd daemon "manually", i get:
Code:
/etc/dbus-1/system.d # /usr/sbin/nfcd -d -l 5
1349972311.890172,DEBUG: nfc_dbus.c:718:_nfc_dbus_ensure_signal_filtering(): Set up signal filtering.
1349972311.890508,INFO: nfc_dbus.c:1859:_nfc_dbus_monitor_nameowner_change(): Setting up D-Bus org.freedesktop.ohm monitoring for `entry'. 
1349972311.975377,DEBUG: nfc_config_backend_gconf.c:585:_item_set(): Setting node `/system/osso/connectivity/nfc', type EMPTY. 
1349972311.980168,INFO: nfc_stack/nxp/nfc_mw_llcp_nxp.c:189:_nfc_llcp_context_create(): Creating LLCP context.
1349972311.980260,INFO: main.c:708:main(): LLCP middleware initialized
1349972311.980290,DEBUG: nfc_stack/nxp/nfc_mw_stack_nxp.c:341:nfc_mw_stack_ref(): Stack ref count = 2
1349972311.980962,DEBUG: nfc_stack/nxp/nfc_mw_stack_nxp.c:341:nfc_mw_stack_ref(): Stack ref count = 3
1349972311.981023,DEBUG: nfc_stack/nxp/nfc_mw_adapter_nxp.c:618:nfc_mw_adapter_new(): Adapter 0x74860 created
1349972311.981328,DEBUG: nfc_bt_adapter.c:1261:nfc_bt_adapter_new(): BT adapter 0x75a50 created
1349972311.981389,DEBUG: nfc_bt_adapter.c:247:nfc_bt_adapter_ref(): BT adapter 0x75a50 ref count = 2
1349972311.981419,DEBUG: nfc_stack/nxp/nfc_mw_adapter_nxp.c:668:nfc_mw_adapter_ref(): Adapter 0x74860 ref count = 2
1349972311.982518,INFO:   on predicate default
1349972311.982610,INFO:   off predicate default
1349972312.024236,DEBUG: nfc_action.c:331:nfc_action_init(): r: 0
1349972312.024846,DEBUG: nfc_dbus.c:151:_dbus_message_debug(): signal -> :1.698 : org.freedesktop.DBus.NameAcquired(s). 
1349972312.026036,WARNING: nfc_stack/nxp/nfc_mw_stack_nxp.c:396:nfc_mw_stack_dal_error(): NFC DAL error 0x02
1349972312.026097,DEBUG: main.c:243:_stack_error_cb(): NFC stack error 0x18, exiting.
1349972312.026280,DEBUG: nfc_dbus.c:151:_dbus_message_debug(): signal -> :1.698 : org.freedesktop.DBus.NameAcquired(s). 
1349972312.026402,DEBUG: nfc_dbus.c:151:_dbus_message_debug(): method call -> com.nokia.nfc : com.nokia.nfc.Manager.DefaultAdapter(). 
1349972312.028752,DEBUG: nfc_dbus.c:151:_dbus_message_debug(): method call -> com.nokia.nfc : com.nokia.nfc.Sharing.RegisterClient(). 
1349972312.028844,DEBUG: nfc_dbus.c:3222:nfc_dbus_get_connection_pid(): Querying PID for service name `:1.577'. 
1349972312.029973,DEBUG: main.c:231:_stack_destroy_cb(): NFC stack destroyed, stopping main loop. 
1349972312.030034,DEBUG: main.c:233:_stack_destroy_cb(): Main loop stopped. 
1349972312.030065,DEBUG: nfc_stack/nxp/nfc_mw_stack_nxp.c:354:nfc_mw_stack_unref(): Stack ref count = 2
1349972312.030705,DEBUG: nfc_stack/nxp/nfc_mw_stack_nxp.c:354:nfc_mw_stack_unref(): Stack ref count = 1
1349972312.030827,DEBUG: nfc_stack/nxp/nfc_mw_adapter_nxp.c:681:nfc_mw_adapter_unref(): Adapter 0x74860 ref count = 1
1349972312.030858,DEBUG: nfc_bt_adapter.c:260:nfc_bt_adapter_unref(): BT adapter 0x75a50 ref count = 1
1349972312.030888,DEBUG: nfc_bt_adapter.c:260:nfc_bt_adapter_unref(): BT adapter 0x75a50 ref count = 0
1349972312.031865,DEBUG: nfc_bt_adapter.c:1302:nfc_bt_adapter_delete(): BT adapter 0x75a50 deleted
1349972312.031926,DEBUG: nfc_stack/nxp/nfc_mw_adapter_nxp.c:681:nfc_mw_adapter_unref(): Adapter 0x74860 ref count = 0
1349972312.033086,DEBUG: nfc_dbus.c:1900:_nfc_dbus_unmonitor_nameowner_change(): Bad arguments. 
1349972312.033269,DEBUG: nfc_stack/nxp/nfc_mw_stack_nxp.c:354:nfc_mw_stack_unref(): Stack ref count = 0
1349972312.033299,DEBUG: nfc_stack/nxp/nfc_mw_stack_nxp.c:360:nfc_mw_stack_unref(): Stack context destroyed
1349972312.033330,DEBUG: nfc_stack/nxp/nfc_mw_adapter_nxp.c:654:nfc_mw_adapter_delete(): Adapter 0x74860 deleted
1349972312.033360,INFO: nfc_stack/nxp/nfc_mw_llcp_nxp.c:222:_nfc_llcp_context_unref(): Deleting LLCP context.
1349972312.033452,DEBUG: nfc_dbus.c:731:_nfc_dbus_cleanup_signal_filtering(): Removed signal filtering.
1349972312.034581,DEBUG: nfc_dbus.c:1908:_nfc_dbus_unmonitor_nameowner_change(): Chain for name `org.freedesktop.ohm' found. 
1349972312.034642,DEBUG: nfc_dbus.c:1919:_nfc_dbus_unmonitor_nameowner_change(): Entry for ID `nfc_dbus_sharing' entry found.
the version of nfcd is
Code:
Package: nfcd
Status: install ok installed
Priority: extra
Section: admin
Installed-Size: 548
Maintainer: Ville Reijonen <ext-ville.m.reijonen@nokia.com>
Architecture: armel
Version: 0.24.1+0m8

Last edited by wvrn; 2012-10-15 at 17:50.
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#5
Hi wvrn,

I have no idea on this issue but try eliminating possible issues? Try a re-install of all the nfc related packages as follows:

Code:
apt-get install libnfcctl libnfcflib libnfchal libnfcstack nfcd --reinstall
 
Posts: 2 | Thanked: 0 times | Joined on Aug 2005
#6
tnx for the fast reply!
i've reinstalled and gave a cold shutdown (for at least 1 minute) but no effect. it still failes to start nfc.
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:17.