maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks. (https://talk.maemo.org/showthread.php?t=21182)

MohammadAG 2010-05-17 18:49

Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
 
http://pastebin.com/DDwUjEQT

Headset type is also 4 here.

Code:

MohammadAG-N900:~# ps x | grep headset
 2119 user      5504 S    /usr/bin/headset-control
 2199 root      2088 S    grep headset
MohammadAG-N900:~#

E: bah, it worked just to make me look like an idiot :p

gazza_d 2010-05-17 18:50

Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
 
Nothing, and it works very well, although my headset is bolxed, and all of the replacements I can lay my hands on are AD-54s on which the button doesn't do anything.. I kinda gathered that this patch worked with them. apologies if I misunderstood.

manavs 2010-05-17 19:25

Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
 
Thanks!! Works great. Would it be possible to support HS-45 in the future? That would really make this sweet.

Biga 2010-05-18 09:11

Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
 
I've installed headset-control 0.2, but it doesn't work. File /usr/share/policy/etc/current/alsaped.conf doesn't have the jackbias-off line.

At what point should I insert this line? There are a lot of sections.

manavs 2010-05-18 09:22

Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
 
Quote:

Originally Posted by Biga (Post 663723)
I've installed headset-control 0.2, but it doesn't work. File /usr/share/policy/etc/current/alsaped.conf doesn't have the jackbias-off line.

At what point should I insert this line? There are a lot of sections.

If you install the application, you don't need to edit any files. Just plug in your headset, play music and use the button to play/pause.

Biga 2010-05-18 09:52

Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
 
It doesn't work.

/sys/devices/platform/nokia-av/type is 4,

dbus-monitor --system doesn't show anything on button press.

/usr/bin/headset-control is running.

grep jack /usr/share/policy/etc/current/alsaped.conf gives nothing,

uname -a
Linux Nokia-N900-42-11

MohammadAG 2010-05-18 09:56

Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
 
Hmm, it might be related to 1.2 then (I'm not running the leaked release but I'm using 1.2 packages ['twas a painful install])

manavs 2010-05-18 09:58

Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
 
Possibly, running the leaked fw here.

qwerty12 2010-05-18 10:18

Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
 
Quote:

Originally Posted by manavs (Post 662962)
Thanks!! Works great. Would it be possible to support HS-45 in the future? That would really make this sweet.

The nokia-av module would have to be modified for this, I guess (no idea if the N900 supports it hardware-wise). Since I don't have said headset and I had trouble figuring out the relevant sections in the module when trying to figure it out with one headset, I'm not the person to ask.

Quote:

Originally Posted by Biga (Post 663723)
I've installed headset-control 0.2, but it doesn't work. File /usr/share/policy/etc/current/alsaped.conf doesn't have the jackbias-off line.

At what point should I insert this line? There are a lot of sections.

As mentioned, this could be (leaked-) PR 1.2 only. I don't have the inclination to downgrade and test; sorry.

Though, while you're at it, could you try this:
  • Issue "killall headset-control";
  • Plug in your headphones; and
  • run "headset-control", all from X Terminal?

If that works, then I can work around it by making Headset Control automatically enable the microphone when the headset is plugged in. (Yes, you'd have thought it would be common sense for me to have done this already...)
If not, then I guess this is really PR 1.2-only (unless someone running PR 1.1 figures out a way :)).

There's a logic fail in Headset Control; it only enables the microphone upon startup if it's already plugged in. With PR 1.2, this was done for me by the modification in alsaped.conf, but I made the assumption that PR 1.1 also had it.

Biga 2010-05-18 10:29

Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
 
Quote:

Though, while you're at it, could you try this:
Issue "killall headset-control";
Plug in your headphones; and
run "headset-control", all from X Terminal?
No, it doesn't help.
So, well, Iooking forward to official fw update.


All times are GMT. The time now is 00:47.

vBulletin® Version 3.8.8