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)

ejasmudar 2010-12-14 03:10

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

Originally Posted by joerg_rw (Post 895872)
--------------------------------------------------------------------

My thanks/post ratio is dropping to <6, so any post with <=6 thanks is likely to get deleted eventually. If you think a post was useful: click >>[Thanks!]
Otherwise I have no feedback to improve the quality of my answers

Mate, i appreciate your answers and all, but man, that is such a douchebag move. Are you telling me that if less than 6 people thank your post, you will delete and don't want others to benefit from it in the future? Why the heck do you want thanks/post ratio to be > 6???

Don't you know that helping people is ultimately a thankless job and that it is not done for fame/fortune?

djmvt 2010-12-14 07:19

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

Originally Posted by maverick788us (Post 895873)
I don't know what you mean by multi-button, but I have'nt seen any nokia headset which does'nt have multiple button.

Just like any other Nokia Headset WH-500 has all those navigation keys, Rewind, fwd, Pause/Play, Volume and call receive/end

original n900 headset only has one button, this is also the only headset that does work properly with the n900.
All other nokia headsets are not supported by the n900...

joerg_rw 2010-12-14 08:55

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

Originally Posted by djmvt (Post 896436)
original n900 headset only has one button, this is also the only headset that does work properly with the n900.
All other nokia headsets are not supported by the n900...

That's not exactly correct. N900 supports this kind of headsets only. Any random walkman-compatible headset/headphone should be supported, and if it has a single hold-button then that is supported as well.

N900 is built according to Class OMTP ConA1 in http://members.omtp.org/Lists/ReqPub...Audio_v1_0.pdf, and the one button we're talking about here works as specified in LC-0080 in that document.

cheers
jOERG

maverick788us 2010-12-14 09:27

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

Originally Posted by djmvt (Post 896436)
original n900 headset only has one button, this is also the only headset that does work properly with the n900.
All other nokia headsets are not supported by the n900...

I agree that the default headset shipped with N900 has only one button that is used for answering and ending a call.

If I am not wrong Headset-Control is designed for music that he handles mediaplayer functions like pause/play, Revind, fwd etc.

So how is it helpful with N900 which consists of a headset with no Media keys?

mr id 2010-12-14 12:31

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

Originally Posted by joerg_rw (Post 896479)
N900 is built according to Class OMTP ConA1 in http://members.omtp.org/Lists/ReqPub...Audio_v1_0.pdf, and the one button we're talking about here works as specified in LC-0080 in that document.

Thanks joerg_rw, have been looking for a connector reference such as this.

ejasmudar 2010-12-14 18:11

Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
 
OK now this is going too far. As the instigator of this off-topic, I apologise. BUT, I humbly ask Mr.Joerg_Rw to please consider changing you policy to the following;
Keep posts for a week/fortnight and delete those posts that have NO thanks. If atleast ONE person appreciates your post, keep it.

Sheesh, what am I doing here? Begging you not to delete your post???

Dancairo 2010-12-14 18:45

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

Originally Posted by ejasmudar (Post 896729)
OK now this is going too far. As the instigator of this off-topic, I apologise. BUT, I humbly ask Mr.Joerg_Rw to please consider changing you policy to the following;
Keep posts for a week/fortnight and delete those posts that have NO thanks. If atleast ONE person appreciates your post, keep it.

Sheesh, what am I doing here? Begging you not to delete your post???

I completely agree with you about it going too far, and as such do apologise to others not involved in the off topic and will delete my OT posts so we can get back on.

Edit - Deleted..

sensortk 2011-02-12 19:25

Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
 
why cant this package do both at a time, play/pause for single press and next song for long press ???? It'd be awesome
I thought this command would do it: gconftool-2 --set /apps/headset-control/next-mode --type bool true
but i unerstand now what it only does

edoiks 2011-02-19 22:46

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

I found this:

https://patchwork.kernel.org/patch/450811/

It seems like a kernel patch for using advanced headsets like HS-45/AD-54 maybe someone (more skilled than me) can make it work with n900

joerg_rw 2011-02-20 17:45

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

Originally Posted by edoiks (Post 950728)
Hi,

I found this:

https://patchwork.kernel.org/patch/450811/

It seems like a kernel patch for using advanced headsets like HS-45/AD-54 maybe someone (more skilled than me) can make it work with n900

Nice find, and indeed this tells us a bit about complexity of data exchange with those multibutton headsets.
Alas this driver is for moorestown platform it seems, and especially it is using a dedicated controller to actually communicate to the AV-jack, while this driver only talks to that controller unknown via I2C-bus. N900 has no such controller, the pity is we wouldn't need it as N95 also doesn't have and can do it - with a hardware rather similar to what we got in N900. But the real physical protocol that would tell us how to wiggle with the bits we have isn't mentioned with a single word in this kernel driver.
That's what I was thinking I found out with a few hours of reading the patch. I *might* be wrong.
Googling 5 min for ECI etc didn't yield any hits for decent specs on how the PHY level works, maybe somebody else is more lucky. With what we got now, we're only halfway there.

cheers
jOERG

[edit, thanks javispedro]
Quote:

The ECI controller, as I2C device is the variable part of the system.
In this case it's microcontroller in I2C bus, but there are other
versions too.
There is no specification about these controller's internals, and those
are quite different.
It is also possible to use other buses too for connecting controller to
terminal, like SPI.
--> http://thread.gmane.org/gmane.linux....29/focus=81630

mr_jrt 2011-02-20 22:21

Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
 
I'd love to help, I have a N95 and a variety of nokia headsets (and access to many more) and am happy to test things out for you, but I've not got the skills needed for reverse engineering the controls myself :(

I might also be able to (legitimately) borrow various old models of phone if that would help testing code...

gionni88 2011-05-05 16:34

Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
 
I'm trying to use the nokia headphones button in my apps. Button pressed signal is emitted only when "jack bias" is on, so my aim is to set it on at app startup and disable it at app closing. I'm able to unmute it with alsamixer, but i'm not with amixer.

The command I use is:
amixer -qc0 cset iface=MIXER,name='Jack Bias Switch' unmute
but it doesn't activate it.

Phoenix986 2011-07-04 20:10

Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
 
hi.. is possible to add support for someplayer?
http://talk.maemo.org/showthread.php?t=71809

trisha02 2011-07-05 14:36

Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
 
is it possible for some player? can u make this that if we press it twice den it will play next son..and if we press it thrice it will play the previous song.it will be damn cool:)

trisha02 2011-07-06 05:31

Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
 
i am using a sony ericsson headphone..it dint work..will it only work in nokia headphones?

eagle_linux 2011-10-10 10:48

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

I'm another frustrated (sort of) HS-45 user. Is there anything I could do to further the developement of a kernel module to support the HS-45 (and possibly other headsets)? Wouldn't it be possible just to write a "dumb" module that just creates a device which returns every signal coming from the AV-connector of the N900?
And could a bounty help to develop a module? Or maybe pestering someone at Nokia/its hardware manufacturers to publish the neccessary specs for the hw?

I'd really love to see this thing working...

Regards,
Eagle_Linux

joerg_rw 2011-10-10 13:06

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

Originally Posted by eagle_linux (Post 1106467)
Hi,

I'm another frustrated (sort of) HS-45 user. Is there anything I could do to further the developement of a kernel module to support the HS-45 (and possibly other headsets)? Wouldn't it be possible just to write a "dumb" module that just creates a device which returns every signal coming from the AV-connector of the N900?

alas that's not the way this works.
Quote:

Originally Posted by eagle_linux (Post 1106467)
And could a bounty help to develop a module? Or maybe pestering someone at Nokia/its hardware manufacturers to publish the neccessary specs for the hw?

I'd really love to see this thing working...

Regards,
Eagle_Linux

Well, recent "investigations" revealed that N9(50) harmattan *has* support for those multibutton wired headsets. So we might be able to backport parts of the driver stack to fremantle and integrate it into powerkernel. I've not yet looked into any harmattan sources for that, just studied the N9 schematics a bit so I learnt that the twl4030 companion chip there directly connects to the relevant pins of the AV-plug. Studying the datasheet of twl4030 was next to learn how all this works and how to adapt it for N900 where the hw is different, as for sure we won't get any support from Nokia for it.
Bounty usually doesn't help much, but donations sometimes improve the interest of devels to look into it ;-D

cheers
jOERG

eagle_linux 2011-10-17 09:54

Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
 
Sure, just tell me where to donate ;)

karoltom 2011-10-20 18:05

Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
 
not working for me. when i'm pressing headset button nothing happens. only when i've unplugged headphones, player paused the music. but i can't pause song or choose next by pressing headset button. Should i install sth else?

EDIT: I've installed manually headset-button-enabler_0.5_all.deb and headset-control_0.4_armel.deb and it's working now.

karoltom 2011-12-06 08:51

Re: [ANNOUNCE] headset-control : Make the headset button actually manipulate tracks.
 
is it possible to skip forward actually played song, when button is held?

button shuld be pressed for 2 seconds and after that time songs will be forwarded for 10seconds.

It would be a great feature ;)

Also i'd like to report bug. When i'm listening a song and sb call me, then after ending call, button isn't changing song to next (my button is set to change song, not pause). I have to restart the phone to make it working again in that situation


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

vBulletin® Version 3.8.8