![]() |
Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
my ad-54 gives audio from both earbuds for me, but obviously the buttons do nothing.
|
Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
d-bus tutorial... anyone???
|
Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
Quote:
http://linux.die.net/man/1/dbus-monitor So it seems that you just need to open xterm and type dbus-monitor (and you can also give some more specific attributes to this command). Works for me (although I don't know how to exit the dbus-monitor), I just don't understand most of the output... I also don't know if it would be better to run this as root. Unfortunately I could not find my AD-54 for testing. |
Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
I've done some tests with the music lpayer and the phone in the background:
Default headset: Code:
string "group"Code:
string "limit"And shutting down a call with the default headset: Code:
signal sender=:1.9 -> dest=(null destination) serial=745 path=/com/nokia/mce/signal; interface=com.nokia.mce.signal; member=sig_call_state_indHowever none of these programs could "sniff out" the headset input. The only guys to almost master this function were the guys at mobifactor.ru - 4 out of 5 buttons. CorePlayer could recognize one aswell... but those are ol' symbian times |
Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
Quote:
|
Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
Quote:
|
Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
AD-54 is recognized as a headset, when plugged in. dmesg gives a message, input: headset button as /class/input/inputX. When i plug out and in again, the Number X is increased by 1. I think this is a bug...
Would be nice to get the other buttons working! |
Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
Edited my previous post, added headset behaviors.
|
Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
Quote:
I mean this one: http://talk.maemo.org/showthread.php?t=33215 It sends a pause command to Mediaplayer when the headphones are unplugged. I think it could probably be useful to install the headphoned and test if/how the dbus-monitor output changes compared to your previous trials. Also the code is open so it could give a hint on how to make this type of functionality. |
Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
Honestly, no. What was working in symbian programs like "MagicKey" was probably the dependency on a dbus-like feature in symbian.
Simply expecting an input in dbus doesn't work without a special application, like in our case the phone application. But the most authorized person on this matter, is obviously qwerty12 (see first post) so you should ask him. |
| All times are GMT. The time now is 00:47. |
vBulletin® Version 3.8.8