<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Martin Pitt &#187; devicekit</title>
	<atom:link href="http://www.piware.de/tag/devicekit/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.piware.de</link>
	<description>addicted to Ubuntu development</description>
	<lastBuildDate>Tue, 07 Feb 2012 19:53:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>DeviceKit update, future handling of Fn key maps</title>
		<link>http://www.piware.de/2009/05/devicekit-update-future-handling-of-fn-key-maps/</link>
		<comments>http://www.piware.de/2009/05/devicekit-update-future-handling-of-fn-key-maps/#comments</comments>
		<pubDate>Fri, 08 May 2009 13:54:12 +0000</pubDate>
		<dc:creator>pitti</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[deprecation]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[devicekit]]></category>
		<category><![CDATA[hal]]></category>

		<guid isPermaLink="false">http://martinpitt.wordpress.com/?p=65</guid>
		<description><![CDATA[I recently started working on packaging pieces of the new DeviceKit world, which is gradually replacing hal. In particular, DeviceKit-disks and DeviceKit-power are in Karmic now, and gnome-disk-utility and a patches gvfs are in the ubuntu-desktop PPA. A few days ago I wondered what the replacement of hal-setup-keymap would be. This is the bit that [...]]]></description>
			<content:encoded><![CDATA[<p>I recently started working on packaging pieces of <a href="http://lists.freedesktop.org/archives/devkit-devel/2009-April/000140.html">the new DeviceKit world</a>, which is gradually <a href="http://lists.freedesktop.org/archives/hal/2008-May/011560.html">replacing hal</a>. In particular, DeviceKit-disks and DeviceKit-power are in Karmic now, and gnome-disk-utility and a patches gvfs are in the <a href="https://launchpad.net/~ubuntu-desktop/+archive/ppa">ubuntu-desktop PPA</a>.</p>
<p>A few days ago I wondered what the <a href="http://lists.freedesktop.org/archives/devkit-devel/2009-May/000152.html">replacement of hal-setup-keymap</a> would be. This is the bit that makes your laptop&#8217;s magic Fn keys work, such as &#8220;brightness up&#8221;, &#8220;next song&#8221;, &#8220;WWW browser&#8221;. I became quite acquainted with this component in the last six months and committed <a href="http://cgit.freedesktop.org/hal-info/log/?qt=committer&amp;q=Martin+Pitt">a fair share of fixes to hal-info</a> for those. A quick discussion revealed that nobody was working on this, so I picked that up and created a tool to convert hal keymap .fdi files to udev rules and keymap files, and an <a href="http://lists.freedesktop.org/archives/devkit-devel/2009-May/000171.html">udev-extra git branch</a> with those maps, the udev rules, and a small callout which pokes the maps into the corresponding evdev device whenever an input device gets added.</p>
<p>I tested it on my Dell Latitude D430, and it works just fine.  Dell laptops are all alike in terms of Fn keys, but I need testing on other laptops. I&#8217;m particularly interested in the Sony and ThinkPad models, which don&#8217;t send &#8220;magic&#8221; keys as high keycodes on<br />
a standard i8042 atkbd, but as low keycodes on a separate input device (30-keymap-module-* in hal-info). Testing on Acer and Fujitsu models is also highly welcome.</p>
<p>For testing, add <a href="https://launchpad.net/~pitti/+archive/ppa">my PPA</a> and do</p>
<p><code><br />
$ sudo apt-get install udev-extras<br />
# disable the current hal-info keymaps:<br />
$ sudo rm /usr/share/hal/fdi/*/*/30-keymap-*<br />
</code></p>
<p>Packages are available for Jauny and Karmic.</p>
<p>Then reboot, and check if your magic Fn keys still work. Please send success and failure reports by private mail or as comments here. I&#8217;ll fix the issues and send a conclusion back here in a few days. If things don&#8217;t work for you, please do</p>
<p><code><br />
$ sudo true<br />
$ sudo udevadm monitor --udev -e &gt; /tmp/udev.log 2&gt;&amp;1<br />
$ sudo udevadm trigger --subsystem-match=input<br />
$ fg<br />
# press Control-C<br />
$ grep . /sys/class/dmi/id/* 2&gt;/dev/null<br />
</code></p>
<p>Please send the output of the last command, and /tmp/udev.log.</p>
<p>If you need to revert, purge udev-extras again and do <code>sudo apt-get install --reinstall hal-info</code>.</p>
<p>Many thanks in advance!</p>
<p><strong>Update (2009-05-09):</strong> I got my kernel.org account now, and testing showed a lot of positive and no negative results. Thank you for all your feedback! I pushed the changes to <a href="http://git.kernel.org/?p=linux/hotplug/udev.git;a=summary">udev master</a> now.</p>
<p><strong>2009-11-01 update:</strong>Updated git link from udev-extras (which got removed recently) to udev (where it was merged into a while ago).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.piware.de/2009/05/devicekit-update-future-handling-of-fn-key-maps/feed/</wfw:commentRss>
		<slash:comments>53</slash:comments>
		</item>
		<item>
		<title>Wanna touch DeviceKit?</title>
		<link>http://www.piware.de/2009/03/wanna-touch-devicekit/</link>
		<comments>http://www.piware.de/2009/03/wanna-touch-devicekit/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 07:54:37 +0000</pubDate>
		<dc:creator>pitti</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[deprecation]]></category>
		<category><![CDATA[devicekit]]></category>
		<category><![CDATA[hal]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://martinpitt.wordpress.com/?p=49</guid>
		<description><![CDATA[Still remember the &#8220;hal is dead, long live DeviceKit&#8221; buzz? It&#8217;s time to finally lay our hands on it. DeviceKit and DeviceKit-power themselves are available for a while in Jaunty&#8217;s universe, but installing them by themselves is pretty boring, of course. Last Saturday I packaged the new gnome-power-manager 2.25.x which is now devkit-ified and doesn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Still remember the <a href="http://www.piware.de/2008/05/07/hal-is-dead-long-live-devicekit/">&#8220;hal is dead, long live DeviceKit&#8221;</a> buzz? It&#8217;s time to finally lay our hands on it.</p>
<p>DeviceKit and DeviceKit-power themselves are available for a while in Jaunty&#8217;s universe, but installing them by themselves is pretty boring, of course.</p>
<p>Last Saturday I packaged the new gnome-power-manager 2.25.x which is now devkit-ified and doesn&#8217;t use hal any more. It is now available in the <a href="https://launchpad.net/~ubuntu-desktop/+archive/ppa">ubuntu-desktop PPA</a>. Please try it, break it, and complain <a href="http://bugzilla.gnome.org/buglist.cgi?query=product%3Agnome-power-manager">over there</a> <img src='http://www.piware.de/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>It works quite well for me, the only thing I noticed is that it currently seems to break my hibernate hotkey. Still investigating..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.piware.de/2009/03/wanna-touch-devicekit/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

