public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: TJ <tj.trevelyan@gmail.com>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] A2DPD fails to init with a2dp_make_listen_socket: (errno=13:Permission denied)Cannot bind socket
Date: Tue, 24 Apr 2007 10:09:44 +0100	[thread overview]
Message-ID: <6849c8890704240209q46c5ec3ai47241251f7142ebf@mail.gmail.com> (raw)
In-Reply-To: <6849c8890704200342k23f7e54ckaf0920197c4e5e1a@mail.gmail.com>

Hi (Third attempt to reach the list),

While I have got headsetd working fine, but I can't get a2dpd to run.
It gives the following messages:

A2DPD[17:06:13.085]: init_ipc: Selected IPC: unix, addr=127.0.0.1,
bcst=127.0.0.255, port=21453
A2DPD[17:06:13.085]: make_daemon_process: a2dpd [Apr 17 2007 09:46:05]
starting ...
A2DPD[17:06:13.085]: main: (errno=9:Bad file descriptor)a2dpd
addr=00:13:17:C5:39:94 timer=4000 us [Apr 17 2007 09:46:12]
A2DPD[17:06:13.085]: a2dpd_signal_init: Getting on DBUS
A2DPD[17:06:13.086]: a2dpd_signal_init: Installing watch
A2DPD[17:06:13.086]: add_dbus_watch: Added watch 0 0x809b960 disabled
A2DPD[17:06:13.086]: add_dbus_watch: Added watch 1 0x809b988 enabled
A2DPD[17:06:13.086]: a2dpd_signal_init: Registering object
path: /com/access/a2dpd
A2DPD[17:06:13.086]: a2dpd_signal_init: Acquiring service: com.access.a2dpd
A2DPD[17:06:13.087]: a2dpd_signal_init: OK
A2DPD[17:06:13.087]: a2dpd_signal_init: OK
A2DPD[17:06:13.087]: a2dpd_register_sdp: OK
A2DPD[17:06:13.087]: add_avrtg:
A2DPD[17:06:13.088]: add_a2source:
A2DPD[17:06:13.088]: main_loop:
A2DPD[17:06:13.088]: make_server_socket:
A2DPD[17:06:13.088]: a2dp_make_listen_socket: (errno=13:Permission
denied)Cannot bind socket 6 for psm 25
A2DPD[17:06:13.088]: main_loop: Cannot get AVDTP socket
A2DPD[17:06:14.091]: main_loop:
A2DPD[17:06:14.091]: make_server_socket:
A2DPD[17:06:14.091]: main_loop: (errno=98:Address already in use)Cannot get
UNIX socket
A2DPD[17:06:15.095]: main_loop:
A2DPD[17:06:15.095]: make_server_socket:
A2DPD[17:06:15.095]: main_loop: (errno=98:Address already in use)Cannot get
UNIX socket
A2DPD[17:06:16.099]: main_loop:
A2DPD[17:06:16.099]: make_server_socket:
A2DPD[17:06:16.099]: main_loop: (errno=98:Address already in use)Cannot get
UNIX socket

This is from CVS on 2007-04-17, I did an update today (2007-04-19) but there
doesn't seem to be any changes.

Using libsbc 0.0cvs20070327-1 (Debian testing package)

This is on Debian testing with bluez-utils 3.7-1, linux kernel 2.6.20.

I should say that I installed plugz into my home directory and I run all the
daemons as my user not root. I have PATH, LD_*, etc setup and I created
symlinks in /usr/lib/alsa-lib to the files in the alsa-lib under my home
dir, since I didn't know how else to tell ALSA where to look.


On a more positive note here is an asoundrc to give you a headset volume
control in the alsa mixer:

pcm.!default {
        type softvol
        slave {
                pcm "headset"
        }

        control {
                name "Bluetooth Headset"
                card 0
                count 1
        }
}

Add this to the asoundrc shipped with plugz, you don't have to call
it !default. You can now use any alsa mixer app to control volume (and so
create key bindings). Obviously this means you can disable soft mixer in
xmms and tell it to use "Bluetooth Headset".

Make sure that the control name (here "Bluetooth Headset") doesn't already
exist in your mixer as a real (hw) control.

Thanks for any help.

Thorben.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

       reply	other threads:[~2007-04-24  9:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <6849c8890704200342k23f7e54ckaf0920197c4e5e1a@mail.gmail.com>
2007-04-24  9:09 ` TJ [this message]
2007-04-24  9:53   ` [Bluez-users] A2DPD fails to init with a2dp_make_listen_socket: (errno=13:Permission denied)Cannot bind socket Frederic Dalleau
2007-04-25  9:00     ` TJ
2007-04-25 13:56   ` TJ

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=6849c8890704240209q46c5ec3ai47241251f7142ebf@mail.gmail.com \
    --to=tj.trevelyan@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