Active Topics

 



Notices


Reply
Thread Tools
ejasmudar's Avatar
Posts: 800 | Thanked: 957 times | Joined on Sep 2010 @ India
#141
This is kind of like a feature request. What I want is that after pausing, when we press the button again, instead of directly playing, I want the media player to start slightly, say 2 secs, early.

This way, when I am listening to podcasts, i don't lose the thread of what i was listening to. I was looking through the source but my experience in c is only rudimentary, Any help is greatly appreciated.
 
msa's Avatar
Posts: 909 | Thanked: 216 times | Joined on Nov 2009 @ Bremen, Germany
#142
what if i'm listening to music and i receive a call?
afair, music stops when a call comes in. when if i then use the button to accept the call? does the call have a higher priority in detecting the button-push?
 
Posts: 2,829 | Thanked: 1,459 times | Joined on Dec 2009 @ Finland
#143
@msa
Well on factory default n900 camera shutter button doesn´t answer phone so what are you asking?
 
msa's Avatar
Posts: 909 | Thanked: 216 times | Joined on Nov 2009 @ Bremen, Germany
#144
Originally Posted by slender View Post
@msa
Well on factory default n900 camera shutter button doesn´t answer phone so what are you asking?
-.-

i'm not asking about the camera-button, but the headset-button.
 

The Following User Says Thank You to msa For This Useful Post:
Posts: 2,829 | Thanked: 1,459 times | Joined on Dec 2009 @ Finland
#145
wups. Thought that this is another thread. Sorry. My mistake.
 
Posts: 364 | Thanked: 128 times | Joined on Sep 2010 @ Australia
#146
Can anyone help in using the following commands to control the media player from the Nokia headphone as shown in the picture below
--mp-play [/path/file] Open the file specified in the media player.
--mp-pause Pause media player playback
--mp-stop Stop media player playback
--mp-resume Resume media player playback
--mp-next Skip to the next track
--mp-prev Skip to the previous track
--notify [message] Show a one-line notification
--dialog [message]

 
ejasmudar's Avatar
Posts: 800 | Thanked: 957 times | Joined on Sep 2010 @ India
#147
@vivmak, I dont think that is possible. I am not sure but I think I remember reading somewhere on these forums that that type of remote control headphones are not supported.
 
AgogData's Avatar
Posts: 870 | Thanked: 133 times | Joined on Aug 2010
#148
if i wanna make the button to play next track then i should edit /usr/lib/hsetctrl/hsetctrl.py ? edit it by n900's notes ?
 
Posts: 5 | Thanked: 1 time | Joined on May 2010 @ Ile-De-France, France
#149
Hello,

I have try to compile nokia-av module source :

http://mxr.maemo.org/fremantle/find?...remantle&hint=

on a scratchbox by reading the following guide :

http://wiki.maemo.org/Documentation/...o_Kernel_Guide

I have no problem when I compile the nokia-av module but it don't work when I install it on my N900 device.

I have the following error :

Nokia-N900:/tmp/test# insmod nokia-av.ko
insmod: error inserting 'nokia-av.ko': -1 Unknown symbol in module

and when I check dmesg, I have the following errors :

[106620.456512] nokia_av: Unknown symbol queue_delayed_work
[106620.457611] nokia_av: Unknown symbol platform_driver_unregister
[106620.458923] nokia_av: Unknown symbol __gpio_get_value
[106620.460418] nokia_av: Unknown symbol gpio_free
[106620.464782] nokia_av: Unknown symbol __gpio_to_irq
[106620.466033] nokia_av: Unknown symbol __create_workqueue_key
[106620.467041] nokia_av: Unknown symbol platform_driver_register
[106620.468109] nokia_av: Unknown symbol destroy_workqueue
[106620.469940] nokia_av: Unknown symbol sysfs_create_group
[106620.477264] nokia_av: Unknown symbol gpio_direction_input
[106620.479278] nokia_av: Unknown symbol sysfs_remove_group
[106620.482086] nokia_av: Unknown symbol gpio_request
[106646.095092] nokia-av nokia-av: accessory detect module initialized

Can anyone help me to make working my beta nokia-av module please ?

Regards,
__________________
tym
 
dchky's Avatar
Posts: 549 | Thanked: 299 times | Joined on Jun 2010 @ Australian in the Philippines
#150
Does anyone have headset-control working in PR1.3?
 
Reply

Tags
ad-54/hs-45, headset button


 
Forum Jump


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