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 !!
Hi Stefan,
>>
>>
>> (enable-all should IIUC include enable-glib, but i used it anyway,
>> it did not
>> change anything)
>
> This still applies: i gave "--enable-all" and this should, according
> to the
> configure --help output also enable glib:
> ...
> --enable-all enable all extra options below
> --enable-inotify enable inotify support
> --enable-hal enable HAL support
> --enable-usb enable USB support
> --enable-alsa enable ALSA support
> --enable-glib enable GLib support
> --enable-gstreamer enable GStreamer support
> ...
>
> But it didn't.
> Also, IMHO we should refuse to build the plugins if glib is not
> enabled.
> Unfortunately i know next to nothing about auto$foo, so i have no
> patch
> handy :-(
it should work with eglib. That is actually a bug if it doesn't. Not
that I care much since eglib is going away with 4.0, but it is a bug
within 3.x series.
Regards
Marcel
-------------------------------------------------------------------------
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
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
On Fri, Apr 04, 2008 at 03:38:17PM +0200, Stefan Seyfried wrote:
> On Fri, Apr 04, 2008 at 03:58:31PM +0530, rahul tank wrote:
> > Ok .. i tried compiling bluez-utils with --enable-glib option and it so=
lved
> > the issue.
> =
> It did not for me.
> I configured like this:
> =
> ./configure --prefix=3D/usr \
> --mandir=3D/usr/share/man \
> --sysconfdir=3D/etc \
> --libdir=3D/usr/lib \
> --libexecdir=3D/lib \
> --localstatedir=3D/var \
> --enable-pie \
> --enable-all --enable-glib
Ok, doing a "make clean" after changing configure options was necessary.
Now it works.
> =
> (enable-all should IIUC include enable-glib, but i used it anyway, it did=
not
> change anything)
This still applies: i gave "--enable-all" and this should, according to the
configure --help output also enable glib:
...
--enable-all enable all extra options below
--enable-inotify enable inotify support
--enable-hal enable HAL support
--enable-usb enable USB support
--enable-alsa enable ALSA support
--enable-glib enable GLib support
--enable-gstreamer enable GStreamer support
...
But it didn't.
Also, IMHO we should refuse to build the plugins if glib is not enabled.
Unfortunately i know next to nothing about auto$foo, so i have no patch
handy :-(
-- =
Stefan Seyfried
R&D Team Mobile Devices | "Any ideas, John?"
SUSE LINUX Products GmbH, N=FCrnberg | "Well, surrounding them's out." =
This footer brought to you by insane German lawmakers:
SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG N=FCrnberg)
-------------------------------------------------------------------------
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
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
On Fri, Apr 04, 2008 at 03:58:31PM +0530, rahul tank wrote:
> Ok .. i tried compiling bluez-utils with --enable-glib option and it solv=
ed
> the issue.
It did not for me.
I configured like this:
./configure --prefix=3D/usr \
--mandir=3D/usr/share/man \
--sysconfdir=3D/etc \
--libdir=3D/usr/lib \
--libexecdir=3D/lib \
--localstatedir=3D/var \
--enable-pie \
--enable-all --enable-glib
(enable-all should IIUC include enable-glib, but i used it anyway, it did n=
ot
change anything)
starting hcid with "-x -s" gives:
hcid[10053]: Bluetooth HCI daemon
hcid[10053]: HCI dev 0 registered
hcid[10053]: HCI dev 0 already up
hcid[10053]: Device hci0 has been added
hcid[10053]: Starting security manager 0
hcid[10053]: Device hci0 has been activated
hcid[10053]: Starting SDP server
hcid[10053]: Can't load plugin: /usr/lib/bluetooth/plugins/libaudio.so: inv=
alid mode for dlopen(): Invalid argument
hcid[10053]: Can't load plugin: /usr/lib/bluetooth/plugins/libserial.so: in=
valid mode for dlopen(): Invalid argument
hcid[10053]: Can't load plugin: /usr/lib/bluetooth/plugins/libnetwork.so: i=
nvalid mode for dlopen(): Invalid argument
hcid[10053]: Can't load plugin: /usr/lib/bluetooth/plugins/libinput.so: inv=
alid mode for dlopen(): Invalid argument
The plugins are available, unstripped etc:
seife@susi:~> file /usr/lib/bluetooth/plugins/*so
/usr/lib/bluetooth/plugins/libaudio.so: ELF 32-bit LSB shared object, Int=
el 80386, version 1 (SYSV), not stripped
/usr/lib/bluetooth/plugins/libinput.so: ELF 32-bit LSB shared object, Int=
el 80386, version 1 (SYSV), not stripped
/usr/lib/bluetooth/plugins/libnetwork.so: ELF 32-bit LSB shared object, Int=
el 80386, version 1 (SYSV), not stripped
/usr/lib/bluetooth/plugins/libserial.so: ELF 32-bit LSB shared object, Int=
el 80386, version 1 (SYSV), not stripped
Probably i'm doing something stupid, but i have no idea what ;-)
Thanks,
seife
-- =
Stefan Seyfried
R&D Team Mobile Devices | "Any ideas, John?"
SUSE LINUX Products GmbH, N=FCrnberg | "Well, surrounding them's out." =
This footer brought to you by insane German lawmakers:
SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG N=FCrnberg)
-------------------------------------------------------------------------
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
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Ok .. i tried compiling bluez-utils with --enable-glib option and it solved
the issue.
thanks,
rahul !!
On Fri, Apr 4, 2008 at 2:22 PM, rahul tank <[email protected]> wrote:
> 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 !!
>
>