Linux bluetooth development
 help / color / mirror / Atom feed
From: Feig <e.john.feig@gmail.com>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] RE : RE : Problems connecting to a bluetooth headset faoMarcel
Date: Sun, 13 May 2007 14:29:59 -0400	[thread overview]
Message-ID: <46475927.2080609@nnytech.net> (raw)
In-Reply-To: <46474B6A.1040705@gentoo.org>


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

Petteri Räty wrote:
> Frederic Dalleau kirjoitti:
>   
>>>> A2DPD[18:44:14.790]: a2dp_make_listen_socket: (errno=13:Permission
>>>> denied)Cannot bind socket 6 for psm 25
>>>>         
>>> I'm wondering what causes this, the bind call is failing with errno=EPERM.
>>> Do you know of something in bluez config or something security related
>>>       
>> that could prevent binding if not root?
>>
>> I should have RTFM
>> http://people.csail.mit.edu/albert/bluez-intro/x145.html#port-numbers
>> Thanks,
>> Frederic
>>
>>
>>     
>
> from http://bluetooth-alsa.sourceforge.net/build.html
> "... and run a2dpd (it's not advised to run it as root)."
>
> Hehe. I wonder what the developers do then as it doesn't work as a
> normal user.
>
> Regards,
> Petteri
>   
I got it to work as a normal user, I don't remember exactly what I did, 
but I'm pretty sure that all it needed was a 'chmod a+x' on the required 
files.

I do think that this could be handled better with an /etc/init.d/ script 
that ran a2dpd as the user. Or even hook it into the 
/etc/init.d/bluetooth script.

-John

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

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

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

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

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

      reply	other threads:[~2007-05-13 18:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-13  1:46 [Bluez-devel] Problems connecting to a bluetooth headset Justin Patrin
2007-05-13  2:00 ` Justin Patrin
2007-05-13  5:12   ` [Bluez-devel] RE : " Frederic Dalleau
2007-05-13  6:15     ` Justin Patrin
2007-05-13 15:47       ` [Bluez-devel] RE : " Frederic Dalleau
2007-05-19 20:57         ` Justin Patrin
2007-05-13 16:19   ` [Bluez-devel] RE : Problems connecting to a bluetooth headset fao Marcel Frederic Dalleau
2007-05-13 16:44     ` [Bluez-devel] RE : RE : Problems connecting to a bluetooth headset faoMarcel Frederic Dalleau
2007-05-13 17:31       ` Petteri Räty
2007-05-13 18:29         ` Feig [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=46475927.2080609@nnytech.net \
    --to=e.john.feig@gmail.com \
    --cc=bluez-devel@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