All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] help installing bluez 3.9
@ 2007-02-13 23:08 Paulo Gonçalves
  2007-02-14  8:39 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Paulo Gonçalves @ 2007-02-13 23:08 UTC (permalink / raw)
  To: bluez-users


[-- Attachment #1.1: Type: text/plain, Size: 1448 bytes --]

Hi!

I just installed bluez 3.9 (patched the kernel and build the modules,
installed bluez-libs-3.9 and bluez-utils-3.9)
but i can't find the script to start|stop|restart the service
(/etc/init.d/bluetooth).
Where can I find it ?

After i finish the instalation i checked that the modules ware loaded:
root@xxxx:~/bluez-utils-3.9# lsmod
Module                  Size  Used by    Not tainted
bnep                    8020   0  (autoclean)
l2cap                  15120   0  (autoclean) [bnep]
hci_usb                 8376   0  (unused)
bluez                  27812   1  [bnep l2cap hci_usb]

so i run hciconfig:
root@xxxx:/etc/bluetooth# /usr/sbin/hciconfig -a
hci0:   Type: USB
 BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
 DOWN
 RX bytes:0 acl:0 sco:0 events:0 errors:0
 TX bytes:0 acl:0 sco:0 commands:0 errors:0

but where is the BD Address ?
and all the other data that i saw in some examples

then i run the pan daemon:
root@dell:/etc/bluetooth# pand -s -M --role=NAP -n
pand[18321]: Bluetooth PAN daemon version 3.9
pand[18321]: Failed to connect to the local SDP server. No such file or
directory(2)

is this error normal ?

I hope someone can help me.
Thanks,

    Paulo Gonçalves


PS: output from 'cat /proc/bus/usb/devices':
D:  Ver= 2.00 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0df6 ProdID=2200 Rev=19.58
S:  Product=Sitecom USB bluetooth2.0 class 2 dongle CN-512

[-- Attachment #1.2: Type: text/html, Size: 2658 bytes --]

[-- Attachment #2: Type: text/plain, Size: 374 bytes --]

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] help installing bluez 3.9
  2007-02-13 23:08 [Bluez-users] help installing bluez 3.9 Paulo Gonçalves
@ 2007-02-14  8:39 ` Marcel Holtmann
  2007-02-15 22:44   ` Paulo Gonçalves
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2007-02-14  8:39 UTC (permalink / raw)
  To: BlueZ users

Hi Paulo,

> I just installed bluez 3.9 (patched the kernel and build the modules,
> installed bluez-libs-3.9 and bluez-utils-3.9) 
> but i can't find the script to start|stop|restart the service
> (/etc/init.d/bluetooth).
> Where can I find it ?

by default they are not installed since all distributions provide their
own. Check "./configure --help" for the correct option.
 
> After i finish the instalation i checked that the modules ware loaded:
> root@xxxx:~/bluez-utils-3.9# lsmod
> Module                  Size  Used by    Not tainted
> bnep                    8020   0  (autoclean)
> l2cap                  15120   0  (autoclean) [bnep] 
> hci_usb                 8376   0  (unused)
> bluez                  27812   1  [bnep l2cap hci_usb]
>  
> so i run hciconfig:
> root@xxxx:/etc/bluetooth# /usr/sbin/hciconfig -a    
> hci0:   Type: USB
>  BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
>  DOWN 
>  RX bytes:0 acl:0 sco:0 events:0 errors:0 
>  TX bytes:0 acl:0 sco:0 commands:0 errors:0
>  
> but where is the BD Address ?
> and all the other data that i saw in some examples

You have to run "hcid" to bring up the adapter.
 
> then i run the pan daemon:
> root@dell:/etc/bluetooth# pand -s -M --role=NAP -n
> pand[18321]: Bluetooth PAN daemon version 3.9
> pand[18321]: Failed to connect to the local SDP server. No such file
> or directory(2)
>  
> is this error normal ?

You either have to start sdpd or tell hcid with the -s option to act as
SDP server.

Regards

Marcel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] help installing bluez 3.9
  2007-02-14  8:39 ` Marcel Holtmann
@ 2007-02-15 22:44   ` Paulo Gonçalves
  0 siblings, 0 replies; 3+ messages in thread
From: Paulo Gonçalves @ 2007-02-15 22:44 UTC (permalink / raw)
  To: BlueZ users


[-- Attachment #1.1: Type: text/plain, Size: 3339 bytes --]

Hi Marcel,

thanks for your help.

I follow your instructions and enabled all the options in the configure
script.
That brought me some problems with package dependencies and I couldn't find
a way to enable input (--enable-input). Gave me a compilation erros during
the make.

But know i have another problem. When i run the startup script this happens:
root@dell:/etc/rc.d# ./rc.bluetooth start
Starting Bluetooth subsystem: hcidCan't open HIDP control socket: No such
file o
r directory
 hidd hid2hci.

then i tried to run the daemon by hand:
root@dell:/etc/rc.d# hcid -s -n
hcid[8966]: Bluetooth HCI daemon
hcid[8966]: Can't connect to system message bus: Failed to connect to socket
/va
r/run/dbus/system_bus_socket: No such file or directory
hcid[8966]: Unable to get on D-Bus

then i tried to run dbus:
root@dell:/etc/rc.d# dbus-launch
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-tgLJRkHKME,guid=10bbf88aa0edd6f
92444310045d4df22
DBUS_SESSION_BUS_PID=8772

2 problems here:
   - the bus address should be /var/run/dbus/system_bus_socket as configured
in /etc/dbus-1/system.conf
   - the file =/tmp/dbus-tgLJRkHKME doesn't exists

Can you help me one more time ?


On 2/14/07, Marcel Holtmann <marcel@holtmann.org> wrote:
>
> Hi Paulo,
>
> > I just installed bluez 3.9 (patched the kernel and build the modules,
> > installed bluez-libs-3.9 and bluez-utils-3.9)
> > but i can't find the script to start|stop|restart the service
> > (/etc/init.d/bluetooth).
> > Where can I find it ?
>
> by default they are not installed since all distributions provide their
> own. Check "./configure --help" for the correct option.
>
> > After i finish the instalation i checked that the modules ware loaded:
> > root@xxxx:~/bluez-utils-3.9# lsmod
> > Module                  Size  Used by    Not tainted
> > bnep                    8020   0  (autoclean)
> > l2cap                  15120   0  (autoclean) [bnep]
> > hci_usb                 8376   0  (unused)
> > bluez                  27812   1  [bnep l2cap hci_usb]
> >
> > so i run hciconfig:
> > root@xxxx:/etc/bluetooth# /usr/sbin/hciconfig -a
> > hci0:   Type: USB
> >  BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
> >  DOWN
> >  RX bytes:0 acl:0 sco:0 events:0 errors:0
> >  TX bytes:0 acl:0 sco:0 commands:0 errors:0
> >
> > but where is the BD Address ?
> > and all the other data that i saw in some examples
>
> You have to run "hcid" to bring up the adapter.
>
> > then i run the pan daemon:
> > root@dell:/etc/bluetooth# pand -s -M --role=NAP -n
> > pand[18321]: Bluetooth PAN daemon version 3.9
> > pand[18321]: Failed to connect to the local SDP server. No such file
> > or directory(2)
> >
> > is this error normal ?
>
> You either have to start sdpd or tell hcid with the -s option to act as
> SDP server.
>
> Regards
>
> Marcel
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>

[-- Attachment #1.2: Type: text/html, Size: 5132 bytes --]

[-- Attachment #2: Type: text/plain, Size: 345 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2007-02-15 22:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-13 23:08 [Bluez-users] help installing bluez 3.9 Paulo Gonçalves
2007-02-14  8:39 ` Marcel Holtmann
2007-02-15 22:44   ` Paulo Gonçalves

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.