maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Do you want a headphone daemon? (actions based on headphone plugging) (https://talk.maemo.org/showthread.php?t=24975)

thp 2008-11-14 08:42

Do you want a headphone daemon? (actions based on headphone plugging)
 
Hi there!

I've been thinking for some time now for an application that controls certain aspects of my tablet when my headphone is plugged in or unplugged. I currently walk to university while listening to podcasts on my N800 (using headphones) and then when I get into the auditorium unplug the headphones - always then I want to mute the audio of my N800, so I don't disturbe the lecture.

When I head for home again, I plug in my headphone and have to manually unmute my tablet's audio.

I want to write an app that runs in the background and waits for some actions to happen (headphone plugged, unplugged - maybe others) and reacts to these by running certain actions that can either be pre-defined (mute audio, unmute audio) user customizable. The app would run in the background with no UI other than a control panel configuration screen and maybe an optional system notification icon.

What do you think? Would something like this be useful to you? Do you have other suggestions for me that would be important to know before starting on this project? Does such a beast exist already?

tso 2008-11-14 08:52

Re: Do you want a headphone daemon? (actions based on headphone plugging)
 
im tempted to ask if not powerlaunch can already do this...

thp 2008-11-14 09:08

Re: Do you want a headphone daemon? (actions based on headphone plugging)
 
Quote:

Originally Posted by tso (Post 241937)
im tempted to ask if not powerlaunch can already do this...

Does it? If so, that would be awesome. Can someone confirm this?

icebox 2008-11-14 10:04

Re: Do you want a headphone daemon? (actions based on headphone plugging)
 
A clean documentation with examples for powerlaunch would be great :D

I know of things it can do but never managed to configure

munky261 2008-11-14 11:23

Re: Do you want a headphone daemon? (actions based on headphone plugging)
 
id just be happy for the volume to not get turned down when i insert headphones....anyone know of anyway to do this?

tso 2008-11-14 11:30

Re: Do you want a headphone daemon? (actions based on headphone plugging)
 
heh, sounds like some kind of ear protection thing, so that people cant complain to nokia about the tablet damaging their hearing.

pycage 2008-11-14 12:30

Re: Do you want a headphone daemon? (actions based on headphone plugging)
 
Quote:

Originally Posted by munky261 (Post 241953)
id just be happy for the volume to not get turned down when i insert headphones....anyone know of anyway to do this?

Don't use the headphones that came with the device. They're damn silent and sound bad.
I use Sennheiser ear-plugs and they can go very loud (louder than I would ever want).

allnameswereout 2008-11-14 13:27

Re: Do you want a headphone daemon? (actions based on headphone plugging)
 
Personally, I would not use such, but this should be part of HAL or the extended daemon of HAL don't have time now to search for this it might be listed at http://www.freedesktop.org/wiki/Software

qwerty12 2008-11-14 15:30

Re: Do you want a headphone daemon? (actions based on headphone plugging)
 
If I may, I'll place a plug:
http://www.internettablettalk.com/fo...ad.php?t=21182

This one lets you use the headset button :D

Benson 2008-11-14 15:55

Re: Do you want a headphone daemon? (actions based on headphone plugging)
 
multimediad (Nokia closed stuff) seems to handle at least some of this stuff. An open replacement for that would be awesome.


All times are GMT. The time now is 02:27.

vBulletin® Version 3.8.8