I have been working to get a simple connection working between BlueZ and a CSR Bluetooth module. I have again hit a roadblock in that when initializing the libxxxxx.so plugins, the call to g_module_open fails as shown in the following: Apr 26 16:27:28 freqonec001 hcid[2817]: Can't load plugin: /usr/lib/bluetooth/plugins/libnetwork.so: invalid mode for dlopen(): Invalid argument Apr 26 16:27:28 freqonec001 hcid[2817]: Can't load plugin: /usr/lib/bluetooth/plugins/libserial.so: invalid mode for dlopen(): Invalid argument Apr 26 16:27:28 freqonec001 hcid[2817]: Can't load plugin: /usr/lib/bluetooth/plugins/libinput.so: invalid mode for dlopen(): Invalid argument Apr 26 16:27:28 freqonec001 hcid[2817]: Can't load plugin: /usr/lib/bluetooth/plugins/libaudio.so: invalid mode for dlopen(): Invalid argument It appears that the dlopen() is failing when called within g_module_open, which is called from /utils/hcid/plugin.c In my configure, after specifying all of the various directories, I select --enable-debug and --enable-all; I get no errors in the make and make install. The .so and .la files are all in the /usr/lib/bluetooth/plugins directory. What am I missing? Interestingly, and probably because I have modified the audio.conf file, the audio service DOES register itself, despite the failure of the libaudio.so plugin, as shown in the following... Apr 26 16:27:28 freqonec001 hcid[2817]: Registering service object: ident=audio, name=Audio service (/org/bluez/service_audio) When I try to Activate the audio service, it falls over, because under 3.30, the service apparently is looking for a plugin, and not the daemon that was used in 3.29 and before (I think I have this right). Apr 26 16:34:48 freqonec001 hcid[2817]: /org/bluez: org.bluez.Manager.ActivateService() Apr 26 16:34:48 freqonec001 hcid[2817]: Unable to execute /usr/lib/bluetooth/bluetoothd-service-audio Prior to today, to get SOMETHING [sort-of] working, I copied a 3.29 version of bluetoothd-service-audio into the /usr/lib/bluetooth directory and it had some functionality. However, once I renamed that module to take it out of the equation, ActivateService fails: Exec format error. The entire startup log (this time around) is attached. David Stockwell
Attachment:
20080426 Bluez startup.log
Description: Binary data
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________ Bluez-devel mailing list Bluez-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/bluez-devel