Add Debian packaging infrastructure
[headphoned] / debian / headphoned.1
1 .\"                                      Hey, EMACS: -*- nroff -*-
2 .\" First parameter, NAME, should be all caps
3 .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
4 .\" other parameters are allowed: see man(7), man(1)
5 .TH HEADPHONED 1 "October 22, 2009" "" "The headphone daemon"
6 .\" Please adjust this date whenever revising the manpage.
7 .\"
8 .\" Some roff macros, for reference:
9 .\" .nh        disable hyphenation
10 .\" .hy        enable hyphenation
11 .\" .ad l      left justify
12 .\" .ad b      justify to both left and right margins
13 .\" .nf        disable filling
14 .\" .fi        enable filling
15 .\" .br        insert line break
16 .\" .sp <n>    insert n+1 empty lines
17 .\" for manpage-specific macros, see man(7)
18 .SH NAME
19 headphoned \- Pauses media player when unplugging headphones
20 .SH SYNOPSIS
21 .B /etc/init.d/headphoned [start|restart|stop]
22 .RI
23 .SH DESCRIPTION
24 headphoned watches the connection status of the N800/N810 headphone jack
25 and sends a "pause" signal to the media player when the headphones
26 are unplugged. This is helpful for "public transport situations"
27 where you accidentally unplug your headphones in a bus/tram/metro.
28 .P
29 headphoned is usually started via the init scripts, so normally there is
30 no need to manually start it.
31 .SH FILES
32 .TP
33 .B /sys/devices/platform/gpio-switch/headphone/state
34 Tells the status of the headphone jack
35 .SH SEE ALSO
36 http://talk.maemo.org/showthread.php?t=33215
37 .SH AUTHOR
38 headphoned was written by Thomas Perl <thpinfo.com>