Linux bluetooth development
 help / color / mirror / Atom feed
From: "Paulo Gonçalves" <paf.goncalves@gmail.com>
To: "BlueZ users" <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] help installing bluez 3.9
Date: Thu, 15 Feb 2007 22:44:59 +0000	[thread overview]
Message-ID: <dcbc35340702151444r2daece73x6d98f70d19cb92a9@mail.gmail.com> (raw)
In-Reply-To: <1171442378.14869.1.camel@violet>


[-- 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

      reply	other threads:[~2007-02-15 22:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dcbc35340702151444r2daece73x6d98f70d19cb92a9@mail.gmail.com \
    --to=paf.goncalves@gmail.com \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox