public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] bluez3.30 audio/serial plugin issue
@ 2008-04-11  8:33 dong yan
  2008-04-11  8:44 ` Marcel Holtmann
  0 siblings, 1 reply; 7+ messages in thread
From: dong yan @ 2008-04-11  8:33 UTC (permalink / raw)
  To: bluez-users

Hi All:

    i just upgraded my bluez from 3.26 to 3.30...It's said that all
audio/serial...services are moved into plugin libraries...
    It seems i got a problem while loading these new plugins,here's the log:

hcid[173]: Bluetooth HCI daemon
hcid[173]: Enabling debug information
hcid[173]: HCI dev 0 registered
hcid[173]: Starting SDP server
hcid[173]: Adding rec : 0x4d8c0
hcid[173]: with handle : 0x1
hcid[173]: Adding rec : 0x4d980
hcid[173]: with handle : 0x0
hcid[173]: Service classes 0x00
hcid[173]: Creation of inotify context failed

hcid[173]: Loading plugins /bluetooth//lib/bluetooth/plugins
hcid[173]: Can't load plugin:
/bluetooth//lib/bluetooth/plugins/libaudio.so: invalid mode for
dlopen(): Invalid argument
hcid[173]: Can't load plugin:
/bluetooth//lib/bluetooth/plugins/libnetwork.so: invalid mode for
dlopen(): Invalid argument
hcid[173]: Can't load plugin:
/bluetooth//lib/bluetooth/plugins/libinput.so: invalid mode for
dlopen(): Invalid argument
hcid[173]: Can't load plugin:
/bluetooth//lib/bluetooth/plugins/libserial.so: invalid mode for
dlopen(): Invalid argument

hcid[173]: Registering service object: ident=serial, name=Serial
service (/org/bluez/service_serial)
hcid[173]: Registering service object: ident=audio, name=Audio service
(/org/bluez/service_audio)
hcid[173]: Registering service object: ident=input, name=Input service
(/org/bluez/service_input)
hcid[173]: Registering service object: ident=echo, name=Echo service
(/org/bluez/service_echo)
hcid[173]: Registering service object: ident=network, name=Network
service (/org/bluez/service_network)
hcid[173]: HCI dev 0 up
hcid[173]: Device hci0 has been added
hcid[173]: Starting security manager 0
hcid[173]: Device hci0 has been activated
hcid[173]: child 179 exited
hcid[173]: /org/bluez: org.bluez.Security.RegisterDefaultPasskeyAgent()
hcid[173]: name_listener_add(:1.1)
hcid[173]: Default passkey agent (:1.1, /org/bluez/passkey_agent_178) registered
hcid[173]: child 191 exited




Anybody help me pls?



Thanks in advance

semiyd

-------------------------------------------------------------------------
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-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Bluez-users] bluez3.30 audio/serial plugin issue
  2008-04-11  8:33 [Bluez-users] bluez3.30 audio/serial plugin issue dong yan
@ 2008-04-11  8:44 ` Marcel Holtmann
  2008-04-12 10:13   ` Stefan Seyfried
  2008-04-15  3:26   ` dong yan
  0 siblings, 2 replies; 7+ messages in thread
From: Marcel Holtmann @ 2008-04-11  8:44 UTC (permalink / raw)
  To: BlueZ users

Hi,

>    i just upgraded my bluez from 3.26 to 3.30...It's said that all
> audio/serial...services are moved into plugin libraries...
>    It seems i got a problem while loading these new plugins,here's  
> the log:
>
> hcid[173]: Bluetooth HCI daemon
> hcid[173]: Enabling debug information
> hcid[173]: HCI dev 0 registered
> hcid[173]: Starting SDP server
> hcid[173]: Adding rec : 0x4d8c0
> hcid[173]: with handle : 0x1
> hcid[173]: Adding rec : 0x4d980
> hcid[173]: with handle : 0x0
> hcid[173]: Service classes 0x00
> hcid[173]: Creation of inotify context failed
>
> hcid[173]: Loading plugins /bluetooth//lib/bluetooth/plugins
> hcid[173]: Can't load plugin:
> /bluetooth//lib/bluetooth/plugins/libaudio.so: invalid mode for
> dlopen(): Invalid argument

it seems the solution to this is to use --enable-glib. For some reason  
our eglib plugin loader doesn't work always. I never saw this problem  
and still can't reproduce it.

Regards

Marcel


-------------------------------------------------------------------------
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-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Bluez-users] bluez3.30 audio/serial plugin issue
  2008-04-11  8:44 ` Marcel Holtmann
@ 2008-04-12 10:13   ` Stefan Seyfried
  2008-04-12 20:02     ` Marcel Holtmann
  2008-04-15  3:26   ` dong yan
  1 sibling, 1 reply; 7+ messages in thread
From: Stefan Seyfried @ 2008-04-12 10:13 UTC (permalink / raw)
  To: BlueZ users

Marcel Holtmann wrote:
> it seems the solution to this is to use --enable-glib. For some reason  =

> our eglib plugin loader doesn't work always. I never saw this problem  =

> and still can't reproduce it.

If you want to debug it, i could e.g. provide you with a qemu image of
openSUSE FACTORY where it is reproducible.

OTOH, if eglib is going away anyway, maybe there are more important things =
to
debug ;-)
-- =

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)

-------------------------------------------------------------------------
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/java=
one
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Bluez-users] bluez3.30 audio/serial plugin issue
  2008-04-12 10:13   ` Stefan Seyfried
@ 2008-04-12 20:02     ` Marcel Holtmann
  2008-04-15 18:07       ` Stefan Seyfried
  0 siblings, 1 reply; 7+ messages in thread
From: Marcel Holtmann @ 2008-04-12 20:02 UTC (permalink / raw)
  To: BlueZ users

Hi Stefan,

>> it seems the solution to this is to use --enable-glib. For some  
>> reason
>> our eglib plugin loader doesn't work always. I never saw this problem
>> and still can't reproduce it.
>
> If you want to debug it, i could e.g. provide you with a qemu image of
> openSUSE FACTORY where it is reproducible.
>
> OTOH, if eglib is going away anyway, maybe there are more important  
> things to
> debug ;-)

I would like to ignore it, but I can't. Can you do a ls -la inside the  
installed plugins directory. Maybe libtool is messing this up. Or  
maybe is still tries to load the *.la files and fails, because of  
that. So please try to remove the *.la files since these are  
unimportant, but I can't tell libtool to not install them.

Regards

Marcel


-------------------------------------------------------------------------
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-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Bluez-users] bluez3.30 audio/serial plugin issue
@ 2008-04-14 11:13 Jimmi
  0 siblings, 0 replies; 7+ messages in thread
From: Jimmi @ 2008-04-14 11:13 UTC (permalink / raw)
  To: bluez-users

Marcel Holtmann <marcel <at> holtmann.org> writes:
> I would like to ignore it, but I can't. Can you do a ls -la inside the
> installed plugins directory. Maybe libtool is messing this up. Or
> maybe is still tries to load the *.la files and fails, because of

Same problem here, Marcel. I run Archlinux with kernel 2.6.24 on my laptop
and after upgrading today to bluez 3.30 I got the same error.

The plugin directory looks as follow:
# ls -ll /usr/lib/bluetooth/plugins/
totale 296
-rwxr-xr-x 1 root root 132972 13 apr 09:49 libaudio.so
-rwxr-xr-x 1 root root  52504 13 apr 09:49 libinput.so
-rwxr-xr-x 1 root root  58111 13 apr 09:49 libnetwork.so
-rwxr-xr-x 1 root root  50857 13 apr 09:49 libserial.so

BTW where should I put the option --enable-glib?

If you have any other debugging procedure I'll be glad to try them.

Thanks in advance
Jimmi


-------------------------------------------------------------------------
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-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Bluez-users] bluez3.30 audio/serial plugin issue
  2008-04-11  8:44 ` Marcel Holtmann
  2008-04-12 10:13   ` Stefan Seyfried
@ 2008-04-15  3:26   ` dong yan
  1 sibling, 0 replies; 7+ messages in thread
From: dong yan @ 2008-04-15  3:26 UTC (permalink / raw)
  To: BlueZ users

Hi Marcel:

    problem solved by adding --enable-glib.thanks.



semiyd


2008/4/11, Marcel Holtmann <marcel@holtmann.org>:
> Hi,
>
> >    i just upgraded my bluez from 3.26 to 3.30...It's said that all
> > audio/serial...services are moved into plugin libraries...
> >    It seems i got a problem while loading these new plugins,here's
> > the log:
> >
> > hcid[173]: Bluetooth HCI daemon
> > hcid[173]: Enabling debug information
> > hcid[173]: HCI dev 0 registered
> > hcid[173]: Starting SDP server
> > hcid[173]: Adding rec : 0x4d8c0
> > hcid[173]: with handle : 0x1
> > hcid[173]: Adding rec : 0x4d980
> > hcid[173]: with handle : 0x0
> > hcid[173]: Service classes 0x00
> > hcid[173]: Creation of inotify context failed
> >
> > hcid[173]: Loading plugins /bluetooth//lib/bluetooth/plugins
> > hcid[173]: Can't load plugin:
> > /bluetooth//lib/bluetooth/plugins/libaudio.so: invalid mode for
> > dlopen(): Invalid argument
>
> it seems the solution to this is to use --enable-glib. For some reason
> our eglib plugin loader doesn't work always. I never saw this problem
> and still can't reproduce it.
>
> Regards
>
> Marcel
>
>
> -------------------------------------------------------------------------
> 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-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>

-------------------------------------------------------------------------
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-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Bluez-users] bluez3.30 audio/serial plugin issue
  2008-04-12 20:02     ` Marcel Holtmann
@ 2008-04-15 18:07       ` Stefan Seyfried
  0 siblings, 0 replies; 7+ messages in thread
From: Stefan Seyfried @ 2008-04-15 18:07 UTC (permalink / raw)
  To: BlueZ users

Marcel Holtmann schrieb:
> I would like to ignore it, but I can't. Can you do a ls -la inside the
> installed plugins directory. Maybe libtool is messing this up. Or

seife@stoetzler:~> ls -la /usr/lib64/bluetooth/plugins/
total 204
drwxr-xr-x 2 root root  4096 10. Apr 14:07 .
drwxr-xr-x 3 root root  4096  9. Apr 07:09 ..
-rw-r--r-- 1 root root   794  9. Apr 07:09 libinput.la
-rwxr-xr-x 1 root root 53680  9. Apr 07:09 libinput.so
-rw-r--r-- 1 root root   806  9. Apr 07:09 libnetwork.la
-rwxr-xr-x 1 root root 58896  9. Apr 07:09 libnetwork.so
-rw-r--r-- 1 root root   800  9. Apr 07:09 libserial.la
-rwxr-xr-x 1 root root 53888  9. Apr 07:09 libserial.so

then i built a package without "--enable-glib", and i removed the .la files:
seife@stoetzler:~> ls -la /usr/lib64/bluetooth/plugins/
total 220
drwxr-xr-x 2 root root  4096 15. Apr 20:03 .
drwxr-xr-x 3 root root  4096 15. Apr 20:01 ..
-rwxr-xr-x 1 root root 64758 15. Apr 20:01 libinput.so
-rwxr-xr-x 1 root root 71327 15. Apr 20:01 libnetwork.so
-rwxr-xr-x 1 root root 65302 15. Apr 20:01 libserial.so

alas, it does not work:
Apr 15 20:03:26 stoetzler hcid[27467]: Device hci0 has been activated
Apr 15 20:03:26 stoetzler hcid[27467]: Starting SDP server
Apr 15 20:03:26 stoetzler hcid[27467]: Can't load plugin:
/usr/lib64/bluetooth/plugins/libnetwork.so: invalid mode for dlopen(): Inva=
lid
argument
Apr 15 20:03:26 stoetzler hcid[27467]: Can't load plugin:
/usr/lib64/bluetooth/plugins/libserial.so: invalid mode for dlopen(): Inval=
id
argument
Apr 15 20:03:26 stoetzler hcid[27467]: Can't load plugin:
/usr/lib64/bluetooth/plugins/libinput.so: invalid mode for dlopen(): Invalid
argument

-- =

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)

-------------------------------------------------------------------------
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/java=
one
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-04-15 18:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-11  8:33 [Bluez-users] bluez3.30 audio/serial plugin issue dong yan
2008-04-11  8:44 ` Marcel Holtmann
2008-04-12 10:13   ` Stefan Seyfried
2008-04-12 20:02     ` Marcel Holtmann
2008-04-15 18:07       ` Stefan Seyfried
2008-04-15  3:26   ` dong yan
  -- strict thread matches above, loose matches on Subject: below --
2008-04-14 11:13 Jimmi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox