Notices


Reply
Thread Tools
Bec's Avatar
Posts: 876 | Thanked: 396 times | Joined on Dec 2009
#61
I don't have anything against paying - as far as I'm concerned make it a paid app...

But the thing seems to be... we don't know what has to be activated so that the phone can recive commands from the headset via d-bus... things seem to have come to a halt...
__________________
 

The Following User Says Thank You to Bec For This Useful Post:
Posts: 4,556 | Thanked: 1,624 times | Joined on Dec 2007
#62
Originally Posted by Bec View Post
I don't have anything against paying - as far as I'm concerned make it a paid app...

But the thing seems to be... we don't know what has to be activated so that the phone can recive commands from the headset via d-bus... things seem to have come to a halt...
The point wasn't that it should be a paid app or not. It was more that the developer works on this in his/her free time. Thus it's unreasonable to demand features or insult developers.

I do wish the N900 had more documentation of its more closed features though.
__________________
Originally Posted by ysss View Post
They're maemo and MeeGo...

"Meamo!" sounds like what Zorro would say to catherine zeta jones... after she slaps him for looking at her dirtily...
 

The Following 3 Users Say Thank You to Laughing Man For This Useful Post:
Posts: 82 | Thanked: 214 times | Joined on Jan 2010 @ Cape town
#63
Originally Posted by Laughing Man View Post
I do wish the N900 had more documentation of its more closed features though.
I made a post about this at http://talk.maemo.org/showthread.php?p=589071

As you can see there are lots of replies
Perhaps filing a bug would be the correct thing to do?
 

The Following User Says Thank You to cb22 For This Useful Post:
Posts: 82 | Thanked: 214 times | Joined on Jan 2010 @ Cape town
#64
Cancel that above post, it seems I've found a way to do it
cat /sys/devices/platform/nokia-av/detect will give 4 when the button is not pressed, and 2 when it is pressed!

EDIT: Unfortunately, this seems to be useless, unless you feel like polling a file repeatedly for changes.

Last edited by cb22; 2010-04-03 at 05:32.
 

The Following 8 Users Say Thank You to cb22 For This Useful Post:
Posts: 76 | Thanked: 41 times | Joined on Nov 2008 @ Germany
#65
Considering how much CPU usage is generated by mediaplayer, indeed I feel like constantly polling a file rather than pulling out my n900 everytime I'd like to change the song (especially on the bike).

Besides: there is a program that does exactly the same for the proximity sensor (proximityd). I guess it would be quite easy to change the file and the dbus interface it generates.
 

The Following 2 Users Say Thank You to MrWeasel For This Useful Post:
Bec's Avatar
Posts: 876 | Thanked: 396 times | Joined on Dec 2009
#66
I'm sure there have to be more ingenious ways but if nothing else is at hand polling is excellent for me
__________________
 

The Following User Says Thank You to Bec For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#67
Originally Posted by cb22 View Post
EDIT: Unfortunately, this seems to be useless, unless you feel like polling a file repeatedly for changes.
That's why you have inotify and the lovely GIOChannels.

If no one else wishes to have a go, I can give thp a patch for headphoned. No point in running two daemons...
 

The Following 7 Users Say Thank You to qwerty12 For This Useful Post:
Bec's Avatar
Posts: 876 | Thanked: 396 times | Joined on Dec 2009
#68
that would be great!
__________________
 

The Following User Says Thank You to Bec For This Useful Post:
jaeezzy's Avatar
Posts: 664 | Thanked: 160 times | Joined on Jul 2008 @ Australia
#69
Originally Posted by qwerty12 View Post
That's why you have inotify and the lovely GIOChannels.

If no one else wishes to have a go, I can give thp a patch for headphoned. No point in running two daemons...
that would be great also, if possible, i would love to have double clicking action to go to previous or sth.
 

The Following 3 Users Say Thank You to jaeezzy For This Useful Post:
andrei1089's Avatar
Posts: 81 | Thanked: 109 times | Joined on Apr 2009 @ Brasov/Cluj, Romania
#70
Originally Posted by qwerty12 View Post
That's why you have inotify and the lovely GIOChannels.

If no one else wishes to have a go, I can give thp a patch for headphoned. No point in running two daemons...
Unfortunately, I don't think you can use inotify with sysfs
 

The Following 5 Users Say Thank You to andrei1089 For This Useful Post:
Reply

Tags
ad-54/hs-45, headset button


 
Forum Jump


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