Return-Path: Message-ID: <16c4cb990804040152m6a6a3eecsc8ff1539cd5df158@mail.gmail.com> Date: Fri, 4 Apr 2008 14:22:02 +0530 From: "rahul tank" To: bluez-devel@lists.sourceforge.net MIME-Version: 1.0 Subject: [Bluez-devel] Loading plugin error Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1205985107==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============1205985107== Content-Type: multipart/alternative; boundary="----=_Part_6023_30286410.1207299122961" ------=_Part_6023_30286410.1207299122961 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I am trying to use the new bluez-utils-3.30 (libs-3.30). This version implements the new plugin architecture. I have compiled the bluez-utils-3.30 with "--enable-audio". However when i run hcid i get the following errors: rahul@rahul:~/development/build330/sbin$ sudo ./hcid -n -s -d hcid[32716]: Bluetooth HCI daemon hcid[32716]: Enabling debug information hcid[32716]: HCI dev 0 registered hcid[32716]: HCI dev 0 already up hcid[32716]: Device hci0 has been added hcid[32716]: Starting security manager 0 hcid[32716]: Device hci0 has been activated hcid[32716]: Starting SDP server hcid[32716]: Adding rec : 0x8093388 hcid[32716]: with handle : 0x1 hcid[32716]: Adding rec : 0x80936c8 hcid[32716]: with handle : 0x0 hcid[32716]: Service classes 0x00 hcid[32716]: Loading plugins /home/rahul/development/build330/lib/bluetooth/plugins hcid[32716]: Can't load plugin: /home/rahul/development/build330/lib/bluetooth/plugins/libnetwork.so: invalid mode for dlopen(): Invalid argument hcid[32716]: Can't load plugin: /home/rahul/development/build330/lib/bluetooth/plugins/libserial.so: invalid mode for dlopen(): Invalid argument hcid[32716]: Can't load plugin: /home/rahul/development/build330/lib/bluetooth/plugins/libinput.so: invalid mode for dlopen(): Invalid argument hcid[32716]: Can't load plugin: /home/rahul/development/build330/lib/bluetooth/plugins/libaudio.so: invalid mode for dlopen(): Invalid argument hcid[32716]: child 32717 exited hcid[32716]: /org/bluez: org.bluez.Security.RegisterDefaultPasskeyAgent() hcid[32716]: name_listener_add(:1.65) hcid[32716]: Default passkey agent (:1.65, /org/bluez/passkey) registered hcid[32716]: child 32718 exited hcid[32716]: /org/bluez: org.bluez.Security.RegisterDefaultAuthorizationAgent() hcid[32716]: Default authorization agent (:1.65, /org/bluez/auth) registered hcid[32716]: /org/bluez/hci0: org.bluez.Adapter.GetName() The plugins are present in the mentioned directory rahul@rahul:~/development/build330/sbin$ ls -l /home/rahul/development/build330/lib/bluetooth/plugins/ total 1236 -rw-r--r-- 1 rahul rahul 319346 2008-04-04 13:44 libaudio.a -rwxr-xr-x 1 rahul rahul 860 2008-04-04 14:09 libaudio.la -rwxr-xr-x 1 rahul rahul 267899 2008-04-04 14:09 libaudio.so -rw-r--r-- 1 rahul rahul 109184 2008-04-04 13:44 libinput.a -rwxr-xr-x 1 rahul rahul 860 2008-04-04 14:09 libinput.la -rwxr-xr-x 1 rahul rahul 98282 2008-04-04 14:09 libinput.so -rw-r--r-- 1 rahul rahul 120862 2008-04-04 13:44 libnetwork.a -rwxr-xr-x 1 rahul rahul 872 2008-04-04 14:09 libnetwork.la -rwxr-xr-x 1 rahul rahul 106683 2008-04-04 14:09 libnetwork.so -rw-r--r-- 1 rahul rahul 90674 2008-04-04 13:44 libserial.a -rwxr-xr-x 1 rahul rahul 866 2008-04-04 14:09 libserial.la -rwxr-xr-x 1 rahul rahul 86910 2008-04-04 14:09 libserial.so Any pointers would be appreciated . thanks, rahul !! ------=_Part_6023_30286410.1207299122961 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,
  I am trying to use the new bluez-utils-3.30 (libs-3.30).  This version implements the new plugin architecture.
I have compiled the bluez-utils-3.30 with "--enable-audio".

However when i run hcid i get the following errors:

rahul@rahul:~/development/build330/sbin$ sudo ./hcid -n -s -d
hcid[32716]: Bluetooth HCI daemon
hcid[32716]: Enabling debug information
hcid[32716]: HCI dev 0 registered
hcid[32716]: HCI dev 0 already up
hcid[32716]: Device hci0 has been added
hcid[32716]: Starting security manager 0
hcid[32716]: Device hci0 has been activated
hcid[32716]: Starting SDP server
hcid[32716]: Adding rec : 0x8093388
hcid[32716]: with handle : 0x1
hcid[32716]: Adding rec : 0x80936c8
hcid[32716]: with handle : 0x0
hcid[32716]: Service classes 0x00
hcid[32716]: Loading plugins /home/rahul/development/build330/lib/bluetooth/plugins
hcid[32716]: Can't load plugin: /home/rahul/development/build330/lib/bluetooth/plugins/libnetwork.so: invalid mode for dlopen(): Invalid argument
hcid[32716]: Can't load plugin: /home/rahul/development/build330/lib/bluetooth/plugins/libserial.so: invalid mode for dlopen(): Invalid argument
hcid[32716]: Can't load plugin: /home/rahul/development/build330/lib/bluetooth/plugins/libinput.so: invalid mode for dlopen(): Invalid argument
hcid[32716]: Can't load plugin: /home/rahul/development/build330/lib/bluetooth/plugins/libaudio.so: invalid mode for dlopen(): Invalid argument
hcid[32716]: child 32717 exited
hcid[32716]: /org/bluez: org.bluez.Security.RegisterDefaultPasskeyAgent()
hcid[32716]: name_listener_add(:1.65)
hcid[32716]: Default passkey agent (:1.65, /org/bluez/passkey) registered
hcid[32716]: child 32718 exited
hcid[32716]: /org/bluez: org.bluez.Security.RegisterDefaultAuthorizationAgent()
hcid[32716]: Default authorization agent (:1.65, /org/bluez/auth) registered
hcid[32716]: /org/bluez/hci0: org.bluez.Adapter.GetName()




The plugins are present in the mentioned directory

rahul@rahul:~/development/build330/sbin$ ls -l /home/rahul/development/build330/lib/bluetooth/plugins/
total 1236
-rw-r--r-- 1 rahul rahul 319346 2008-04-04 13:44 libaudio.a
-rwxr-xr-x 1 rahul rahul    860 2008-04-04 14:09 libaudio.la
-rwxr-xr-x 1 rahul rahul 267899 2008-04-04 14:09 libaudio.so
-rw-r--r-- 1 rahul rahul 109184 2008-04-04 13:44 libinput.a
-rwxr-xr-x 1 rahul rahul    860 2008-04-04 14:09 libinput.la
-rwxr-xr-x 1 rahul rahul  98282 2008-04-04 14:09 libinput.so
-rw-r--r-- 1 rahul rahul 120862 2008-04-04 13:44 libnetwork.a
-rwxr-xr-x 1 rahul rahul    872 2008-04-04 14:09 libnetwork.la
-rwxr-xr-x 1 rahul rahul 106683 2008-04-04 14:09 libnetwork.so
-rw-r--r-- 1 rahul rahul  90674 2008-04-04 13:44 libserial.a
-rwxr-xr-x 1 rahul rahul    866 2008-04-04 14:09 libserial.la
-rwxr-xr-x 1 rahul rahul  86910 2008-04-04 14:09 libserial.so


Any pointers would be appreciated .

thanks,
 rahul !!

------=_Part_6023_30286410.1207299122961-- --===============1205985107== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace --===============1205985107== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============1205985107==--