From: Frederic DALLEAU <frederic.dalleau@palmsource.com>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] a2dpd not executing commands
Date: Mon, 09 Oct 2006 12:58:13 +0200 [thread overview]
Message-ID: <452A2B45.5090200@palmsource.com> (raw)
In-Reply-To: <1160327171.13162.16.camel@grappa.nowhere.de>
Hi,
in fact the parsing of the command is very bad you should use only one
cmd and one parameter with exactly one space separating them ...
so you command should be run but with only the first param
what exactly is your cmd like?
Fred
Reiner Klenk wrote:
> Greetings,
> I've been playing with my new Jabra BT620s over the weekend and things
> were going quite well. I can have it connected to a2dpd (amarok) and
> btsco (ekiga) at the same time. Here's something I don't understand:
> pressing one of the keys on the headphone does nothing. I inserted a
> couple of printf in a2dp_ipc.c and could verify that the commands are
> indeed received and a child is forked. The execlp call is not returning
> (as it should), nevertheless the specified command doesn't seem to get
> executed. I've double-checked my .a2dprc entries and verified that - run
> from a shell - they behave as expected. I put system(cmd); exit(0);
> instead of the execlp call and the buttons started to work.
>
> Any idea why the execlp doesn't work? I'm on Ubuntu Dapper AMD64.
>
> Thanks,
> Reiner
>
>
-------------------------------------------------------------------------
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-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2006-10-09 10:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-08 17:06 [Bluez-devel] a2dpd not executing commands Reiner Klenk
2006-10-09 10:58 ` Frederic DALLEAU [this message]
2006-10-09 15:01 ` pdq808
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=452A2B45.5090200@palmsource.com \
--to=frederic.dalleau@palmsource.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 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.