<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://bugs.maemo.com/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Mer/Headset switch events - Revision history</title>
		<link>http://bugs.maemo.com/index.php?title=Mer/Headset_switch_events&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.5-7</generator>
		<lastBuildDate>Tue, 07 Apr 2026 13:41:36 GMT</lastBuildDate>
		<item>
			<title>amigadave:&amp;#32;{{Mer}}</title>
			<link>http://bugs.maemo.com/index.php?title=Mer/Headset_switch_events&amp;diff=38893&amp;oldid=prev</link>
			<guid>http://bugs.maemo.com/index.php?title=Mer/Headset_switch_events&amp;diff=38893&amp;oldid=prev</guid>
			<description>&lt;p&gt;{{Mer}}&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 09:47, 22 September 2010&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;{{Mer}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;On Maemo 4, this can be triggered by plugging in the headphone that has been supplied with the N8x0 tablet and then running:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;On Maemo 4, this can be triggered by plugging in the headphone that has been supplied with the N8x0 tablet and then running:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# http://talk.maemo.org/showthread.php?p=194256 - HeadsetControl - a python program that monitors DBus for this signal and runs an arbitrary, user-specified, command.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# http://talk.maemo.org/showthread.php?p=194256 - HeadsetControl - a python program that monitors DBus for this signal and runs an arbitrary, user-specified, command.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# https://bugs.maemo.org/attachment.cgi?id=1131 - a C program, by Santtu Lakkala (inz), that monitors DBus and pauses the built in [Maemo] media player, again, using DBus.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# https://bugs.maemo.org/attachment.cgi?id=1131 - a C program, by Santtu Lakkala (inz), that monitors DBus and pauses the built in [Maemo] media player, again, using DBus.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Mer]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-04-07 13:41:37 --&gt;
&lt;/table&gt;</description>
			<pubDate>Wed, 22 Sep 2010 09:47:17 GMT</pubDate>			<dc:creator>amigadave</dc:creator>			<comments>http://bugs.maemo.com/Talk:Mer/Headset_switch_events</comments>		</item>
		<item>
			<title>dneary:&amp;#32;Mer/Status/Headset switch events moved to Mer/Headset switch events: Move to a different location - it's more a tutorial of how to get it working than a status report.</title>
			<link>http://bugs.maemo.com/index.php?title=Mer/Headset_switch_events&amp;diff=33982&amp;oldid=prev</link>
			<guid>http://bugs.maemo.com/index.php?title=Mer/Headset_switch_events&amp;diff=33982&amp;oldid=prev</guid>
			<description>&lt;p&gt;&lt;a href=&quot;/Mer/Status/Headset_switch_events&quot; class=&quot;mw-redirect&quot; title=&quot;Mer/Status/Headset switch events&quot;&gt;Mer/Status/Headset switch events&lt;/a&gt; moved to &lt;a href=&quot;/Mer/Headset_switch_events&quot; title=&quot;Mer/Headset switch events&quot;&gt;Mer/Headset switch events&lt;/a&gt;: Move to a different location - it&amp;#39;s more a tutorial of how to get it working than a status report.&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 08:41, 7 May 2010&lt;/td&gt;
		&lt;/tr&gt;
		&lt;!-- diff generator: internal 2026-04-07 13:41:37 --&gt;
&lt;/table&gt;</description>
			<pubDate>Fri, 07 May 2010 08:41:58 GMT</pubDate>			<dc:creator>dneary</dc:creator>			<comments>http://bugs.maemo.com/Talk:Mer/Headset_switch_events</comments>		</item>
		<item>
			<title>amigadave at 15:39, 11 February 2010</title>
			<link>http://bugs.maemo.com/index.php?title=Mer/Headset_switch_events&amp;diff=29040&amp;oldid=prev</link>
			<guid>http://bugs.maemo.com/index.php?title=Mer/Headset_switch_events&amp;diff=29040&amp;oldid=prev</guid>
			<description>&lt;p&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 15:39, 11 February 2010&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# http://talk.maemo.org/showthread.php?p=194256 - HeadsetControl - a python program that monitors DBus for this signal and runs an arbitrary, user-specified, command.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# http://talk.maemo.org/showthread.php?p=194256 - HeadsetControl - a python program that monitors DBus for this signal and runs an arbitrary, user-specified, command.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# https://bugs.maemo.org/attachment.cgi?id=1131 - a C program, by Santtu Lakkala (inz), that monitors DBus and pauses the built in [Maemo] media player, again, using DBus.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# https://bugs.maemo.org/attachment.cgi?id=1131 - a C program, by Santtu Lakkala (inz), that monitors DBus and pauses the built in [Maemo] media player, again, using DBus.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Mer]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-04-07 13:41:37 --&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 11 Feb 2010 15:39:16 GMT</pubDate>			<dc:creator>amigadave</dc:creator>			<comments>http://bugs.maemo.com/Talk:Mer/Headset_switch_events</comments>		</item>
		<item>
			<title>qwerty12:&amp;#32;Add examples.</title>
			<link>http://bugs.maemo.com/index.php?title=Mer/Headset_switch_events&amp;diff=13977&amp;oldid=prev</link>
			<guid>http://bugs.maemo.com/index.php?title=Mer/Headset_switch_events&amp;diff=13977&amp;oldid=prev</guid>
			<description>&lt;p&gt;Add examples.&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 14:23, 4 June 2009&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This is used by several media players (e.g. Panucci) to support Play/Pause or Next Track from the headphone switch.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This is used by several media players (e.g. Panucci) to support Play/Pause or Next Track from the headphone switch.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Examples of standalone programs:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;# http://talk.maemo.org/showthread.php?p=194256 - HeadsetControl - a python program that monitors DBus for this signal and runs an arbitrary, user-specified, command.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;# https://bugs.maemo.org/attachment.cgi?id=1131 - a C program, by Santtu Lakkala (inz), that monitors DBus and pauses the built in [Maemo] media player, again, using DBus.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-04-07 13:41:37 --&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 04 Jun 2009 14:23:52 GMT</pubDate>			<dc:creator>qwerty12</dc:creator>			<comments>http://bugs.maemo.com/Talk:Mer/Headset_switch_events</comments>		</item>
		<item>
			<title>thp:&amp;#32;how these events are generated on maemo4</title>
			<link>http://bugs.maemo.com/index.php?title=Mer/Headset_switch_events&amp;diff=13960&amp;oldid=prev</link>
			<guid>http://bugs.maemo.com/index.php?title=Mer/Headset_switch_events&amp;diff=13960&amp;oldid=prev</guid>
			<description>&lt;p&gt;how these events are generated on maemo4&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;On Maemo 4, this can be triggered by plugging in the headphone that has been supplied with the N8x0 tablet and then running:&lt;br /&gt;
&lt;br /&gt;
 dbus-monitor --system&lt;br /&gt;
&lt;br /&gt;
Pressing the button should result in the following D-Bus signal to be sent:&lt;br /&gt;
&lt;br /&gt;
 signal sender=:1.1 -&amp;gt; dest=(null destination) path=/org/freedesktop/Hal/devices/platform_retu_headset_logicaldev_input; interface=org.freedesktop.Hal.Device; member=Condition&lt;br /&gt;
    string &amp;quot;ButtonPressed&amp;quot;&lt;br /&gt;
    string &amp;quot;phone&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This is used by several media players (e.g. Panucci) to support Play/Pause or Next Track from the headphone switch.&lt;/div&gt;</description>
			<pubDate>Thu, 04 Jun 2009 09:18:06 GMT</pubDate>			<dc:creator>thp</dc:creator>			<comments>http://bugs.maemo.com/Talk:Mer/Headset_switch_events</comments>		</item>
	</channel>
</rss>