Notices


Reply
Thread Tools
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#91
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
 
Posts: 961 | Thanked: 565 times | Joined on Jul 2007 @ Tyneside, North East England
#92
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.
__________________
______________________________

Nokia 770 (2gb) since Aug 2007
Nokia N800 (32gb) since Dec 2007
Nokia N810 (16gb) since Sep 2009
Nokia N900 (64gb) since Aug 2010 ______________________________
 
Posts: 77 | Thanked: 35 times | Joined on Feb 2010 @ AZ
#93
Thanks!! Works great. Would it be possible to support HS-45 in the future? That would really make this sweet.
 

The Following 3 Users Say Thank You to manavs For This Useful Post:
Posts: 6 | Thanked: 3 times | Joined on Apr 2010
#94
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.
 
Posts: 77 | Thanked: 35 times | Joined on Feb 2010 @ AZ
#95
Originally Posted by Biga View Post
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.
 
Posts: 6 | Thanked: 3 times | Joined on Apr 2010
#96
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's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#97
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])
 
Posts: 77 | Thanked: 35 times | Joined on Feb 2010 @ AZ
#98
Possibly, running the leaked fw here.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#99
Originally Posted by manavs View Post
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.

Originally Posted by Biga View Post
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.

Last edited by qwerty12; 2010-05-18 at 10:23.
 

The Following 2 Users Say Thank You to qwerty12 For This Useful Post:
Posts: 6 | Thanked: 3 times | Joined on Apr 2010
#100
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.

Last edited by Biga; 2010-05-19 at 08:52.
 
Reply

Tags
ad-54/hs-45, headset button


 
Forum Jump


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