<?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>Qball's Weblog &#187; gwsl</title>
	<atom:link href="http://blog.sarine.nl/category/gwsl/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sarine.nl</link>
	<description>Beati pauperes spiritu</description>
	<lastBuildDate>Mon, 30 Aug 2010 20:57:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Gmpc 0.16.0 memory usage analyse</title>
		<link>http://blog.sarine.nl/2008/07/29/gmpc-0160-memory-usage-analyse/</link>
		<comments>http://blog.sarine.nl/2008/07/29/gmpc-0160-memory-usage-analyse/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 20:02:49 +0000</pubDate>
		<dc:creator>Qball</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[gwsl]]></category>

		<guid isPermaLink="false">http://blog.sarine.nl/?p=265</guid>
		<description><![CDATA[I have been playing a bit with massif, and a little gnuplot script. Below you see a small analyse of gmpc (on opensuse 0.11 x86_64) connected to my mpd (With 23.000 items in the playlist). First you see gmpc start, connect, fill the playlist and load the taglists. After that you see a huge rise [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://images.sarine.nl/gmpc-memory-usage.png"><img src="http://images.sarine.nl/gmpc-memory-usage-small.png" alt="" /></a> I have been playing a bit with massif, and a little gnuplot script. Below you see a small analyse of gmpc (on opensuse 0.11 x86_64)  connected to my mpd (With 23.000 items in the playlist). First you see gmpc start, connect, fill the playlist and load the taglists. After that you see a huge rise this is a database search for aa then a, this matches 24151 songs, after that I clear the search window, releasing the memory. After that I do search for &#8220;Clapton&#8221; in the metadata browser, this is slow (gmpc reports it takes 1.5 seconds).  I am wondering if I should make the search use a lazy loading model, to reduce the memory usage, or is a 10mb extra acceptable?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sarine.nl/2008/07/29/gmpc-0160-memory-usage-analyse/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Gwsl</title>
		<link>http://blog.sarine.nl/2008/03/25/gwsl/</link>
		<comments>http://blog.sarine.nl/2008/03/25/gwsl/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 08:49:59 +0000</pubDate>
		<dc:creator>Qball</dc:creator>
				<category><![CDATA[gwsl]]></category>

		<guid isPermaLink="false">http://blog.sarine.nl/2008/03/25/gwsl/</guid>
		<description><![CDATA[I&#8217;ve got some questions lately about gwsl (Gnome Wireless Pc Lock). It seems the code got &#8220;lost&#8221; when moving stuff around on my website. So here it is again: http://download.sarine.nl/Programs/gwsl2/gwsl2.tar.gz This is the most recent code I could find, including a new fix for libglade. I have no interest in developing this anymore, it was [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got some questions lately about gwsl (Gnome Wireless Pc Lock).</p>
<p>It seems the code got &#8220;lost&#8221; when moving stuff around on my website.</p>
<p>So here it is again:</p>
<p><a href="http://download.sarine.nl/Programs/gwsl2/gwsl2.tar.gz">http://download.sarine.nl/Programs/gwsl2/gwsl2.tar.gz</a></p>
<p>This is the most recent code I could find, including a new fix for libglade.</p>
<p>I have no interest in developing this anymore, it was fun playing with gob2 and libusb, but the hardware itself is just to crappy.</p>
<p>Qball</p>
<p>p.s. I will try to put it in git later.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sarine.nl/2008/03/25/gwsl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>gmpc memory usage 3</title>
		<link>http://blog.sarine.nl/2006/11/09/gmpc-memory-usage-3/</link>
		<comments>http://blog.sarine.nl/2006/11/09/gmpc-memory-usage-3/#comments</comments>
		<pubDate>Thu, 09 Nov 2006 15:52:53 +0000</pubDate>
		<dc:creator>Qball</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[gwsl]]></category>

		<guid isPermaLink="false">http://wordpress.qballcow.nl/2006/11/09/gmpc-memory-usage-3/</guid>
		<description><![CDATA[Another stat, this is pympd, it&#8217;s alot slower, so I didn&#8217;t take time to skip a few songs, this is just startup and showing the list.. in the beginning it&#8217;s pympd not-connected, I needed some time to set the right mpd host+password This is with skipping a few songs:]]></description>
			<content:encoded><![CDATA[<p>Another stat, this is pympd, it&#8217;s alot slower, so I didn&#8217;t take time to skip a few songs, this is just startup and showing the list..</p>
<p><img src="http://images.qballcow.nl/pympd-mu.png" /></p>
<p>in the beginning it&#8217;s pympd not-connected, I needed some time to set the right mpd host+password <img src='http://blog.sarine.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>This is with skipping a few songs:</p>
<p><img src="http://images.qballcow.nl/pympd-mu2.png" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sarine.nl/2006/11/09/gmpc-memory-usage-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sitecom Wireless PC Lock &#8211; Continued 7</title>
		<link>http://blog.sarine.nl/2006/10/10/sitecom-wireless-pc-lock-continued-7/</link>
		<comments>http://blog.sarine.nl/2006/10/10/sitecom-wireless-pc-lock-continued-7/#comments</comments>
		<pubDate>Tue, 10 Oct 2006 20:20:39 +0000</pubDate>
		<dc:creator>Qball</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[gwsl]]></category>

		<guid isPermaLink="false">http://wordpress.qballcow.nl/2006/10/10/sitecom-wireless-pc-lock-continued-7/</guid>
		<description><![CDATA[I&#8217;ve made another alpha/beta release. Changes: * handle destroying of notification tray * Correctly ignore &#8220;unlock&#8221; even when the program is started and a valid transmitter is already in range. * Fix makefile so it gives nice output about missing dependencies, also block make install (not yet supported). * Fix error in enable/disable transmitter as [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve made another alpha/beta release.</p>
<p>Changes:</p>
<p>* handle destroying of notification tray</p>
<p>* Correctly ignore &#8220;unlock&#8221; even when the program is started and a valid transmitter is already in range.</p>
<p>* Fix makefile so it gives nice output about missing dependencies, also block make install (not yet supported).</p>
<p>* Fix error in enable/disable transmitter as valid.</p>
<p>Probably some other things too, I forgot about.</p>
<p>Download it here: <a href="http://download.qballcow.nl/programs/gwsl/gwsl-0.2.tar.gz">http://download.qballcow.nl/programs/gwsl/gwsl-0.2.tar.gz</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sarine.nl/2006/10/10/sitecom-wireless-pc-lock-continued-7/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Wireless PC Lock &#8211; Continued 6</title>
		<link>http://blog.sarine.nl/2006/10/04/wireless-pc-lock-continued-6/</link>
		<comments>http://blog.sarine.nl/2006/10/04/wireless-pc-lock-continued-6/#comments</comments>
		<pubDate>Wed, 04 Oct 2006 19:36:21 +0000</pubDate>
		<dc:creator>Qball</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[gwsl]]></category>

		<guid isPermaLink="false">http://wordpress.qballcow.nl/2006/10/04/wireless-pc-lock-continued-6/</guid>
		<description><![CDATA[A slight warning I should probably make. Wireless PC Lock doesn&#8217;t increase security, it even opens another possibility to unlock your pc (a big one). So don&#8217;t think it increases security, I just wrote it out of curiosity nothing more. Having this said, I&#8217;ll make a small update later and hope to make a beta [...]]]></description>
			<content:encoded><![CDATA[<p>A slight warning I should probably make. Wireless PC Lock doesn&#8217;t increase security, it even opens another possibility to unlock your pc (a big one). So don&#8217;t think it increases security, I just wrote it out of curiosity nothing more.</p>
<p>Having this said, I&#8217;ll make a small update later and hope to make a beta release this weekend.</p>
<p>Qball</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sarine.nl/2006/10/04/wireless-pc-lock-continued-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sitecom Wireless PC Lock &#8211; Continued 5</title>
		<link>http://blog.sarine.nl/2006/10/03/sitecom-wireless-pc-lock-continued-4-2/</link>
		<comments>http://blog.sarine.nl/2006/10/03/sitecom-wireless-pc-lock-continued-4-2/#comments</comments>
		<pubDate>Tue, 03 Oct 2006 21:16:30 +0000</pubDate>
		<dc:creator>Qball</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[gwsl]]></category>

		<guid isPermaLink="false">http://wordpress.qballcow.nl/2006/10/03/sitecom-wireless-pc-lock-continued-4-2/</guid>
		<description><![CDATA[I&#8217;ve made the following updates, and the program is now actually usefull: Tell the user when the dongle get&#8217;s removed/added (libnotify) Tell the user when a unknown transmitter is activated within range. enable/disable transmitters permission to lock the screen. Ignore transmitter that are just passing by. (It can detect the difference between a transmitter turned [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve made the following updates, and the program is now actually usefull:</p>
<ul>
<li>Tell the user when the dongle get&#8217;s removed/added  (libnotify)</li>
<li>Tell the user when a unknown transmitter is activated within range.</li>
<li>enable/disable transmitters permission to lock the screen.</li>
<li>Ignore transmitter that are just passing by. (It can detect the difference between a transmitter turned on, and a heartbeat of a transmitter)</li>
<li>A notification tray that works in gtk < 2.10</li>
</li>
<li>Preferences window.</li>
</ul>
<p>Todo:</p>
<ul>
<li>connect some options to the gui. (there is f.e. an not-working check box)</li>
<li>Handle destroying of tray icon</li>
<li>Handle no tray icon</li>
<li>Write a tiny api doc.</li>
<li>Release code.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.sarine.nl/2006/10/03/sitecom-wireless-pc-lock-continued-4-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sitecom Wireless PC Lock &#8211; Continued 4</title>
		<link>http://blog.sarine.nl/2006/10/02/sitecom-wireless-pc-lock-continued-4/</link>
		<comments>http://blog.sarine.nl/2006/10/02/sitecom-wireless-pc-lock-continued-4/#comments</comments>
		<pubDate>Mon, 02 Oct 2006 20:27:48 +0000</pubDate>
		<dc:creator>Qball</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[gwsl]]></category>

		<guid isPermaLink="false">http://wordpress.qballcow.nl/2006/10/02/sitecom-wireless-pc-lock-continued-4/</guid>
		<description><![CDATA[I wasn&#8217;t realy happy with the code as it was, so I rewrote it into G:Object&#8217;s. (using gob2). There are now 2 &#8220;objects&#8221;. (sorry for the bad naming). Wsl:Main This connects to the reciever, and monitors it. It wil give signals on connecting/disconnecting the reciever. If a new transmitter is added it gives a signal [...]]]></description>
			<content:encoded><![CDATA[<p>I wasn&#8217;t realy happy with the code as it was, so I rewrote it into G:Object&#8217;s. (using gob2).<br />
There are now 2 &#8220;objects&#8221;. (sorry for the bad naming).</p>
<p>Wsl:Main</p>
<ul>
<li>This connects to the reciever, and monitors it.</li>
<li>It wil give signals on connecting/disconnecting  the reciever.</li>
<li>If a new transmitter is added it gives a signal and creates a new Wsl:Transmitter.</li>
</ul>
<p>Wsl:Transmitter</p>
<ul>
<li>Gives a signal when a transmitter gets in range</li>
<li>Gives a signal when a transmitter gets out of range.</li>
</ul>
<p>I also found some data on in the internet providing me with sufficient information to detect transmitter id, and to detect the difference between a heartbeat and a &#8220;sign on&#8221;</p>
<p>Now it would be cool if I could use gnome-keyring to store what &#8220;transmitter&#8221; is valid.</p>
<p><img src="http://images.qballcow.nl/gwsl-dialog.png" /></p>
<p><img src="http://images.qballcow.nl/gwsl-tooltip.png" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sarine.nl/2006/10/02/sitecom-wireless-pc-lock-continued-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sitecom Wireless PC Lock &#8211; Continued 3</title>
		<link>http://blog.sarine.nl/2006/10/01/sitecom-wireless-pc-lock-continued-3/</link>
		<comments>http://blog.sarine.nl/2006/10/01/sitecom-wireless-pc-lock-continued-3/#comments</comments>
		<pubDate>Sun, 01 Oct 2006 21:39:09 +0000</pubDate>
		<dc:creator>Qball</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[gwsl]]></category>

		<guid isPermaLink="false">http://wordpress.qballcow.nl/2006/10/01/sitecom-wireless-pc-lock-continued-3/</guid>
		<description><![CDATA[Just a small update, I&#8217;ve put gwsl in my svn server, so you can grab it with the following command: svn co https://svn.qballcow.nl/gwsl/trunk/ gwsl/ (I am sorry that my svn is very slow atm, I don&#8217;t know what is the cause of it. Connection is fine, load is 0. Connection is made instantly, but actually [...]]]></description>
			<content:encoded><![CDATA[<p>Just a small update, I&#8217;ve put gwsl in my svn server, so you can grab it with the following command:</p>
<p>svn co https://svn.qballcow.nl/gwsl/trunk/ gwsl/</p>
<p>(I am sorry that my svn is very slow atm,  I don&#8217;t know what is the cause of it. Connection is fine, load is 0. Connection is made instantly, but actually getting takes ages. Anybody can give me a clue?).</p>
<p>I&#8217;ve made the following changes:</p>
<ul>
<li>Unplug event correctly handled.  The handler is closed, and the applet starts polling for the device again. (Replace this by hal? Does anybody has a good tutorial on how todo this?)</li>
<li>Plugin event handled. (see above)</li>
<li>Correctly handling state of dongle on new devices, so it won&#8217;t lock and directly unlock again.</li>
</ul>
<p>Todo:</p>
<ul>
<li>deamonize.</li>
<li>Preferences window</li>
<li>transmitter identification, and only lock/unlock an allowed transmitter.</li>
</ul>
<p>Questions:</p>
<ul>
<li>What is the best way to detect plugin of a device from a user space program? (Is polling ok?)</li>
<li>What exactly does the dongle return when a transmitter is in range? just an transmitter id. (need more then one transmitter to fix that out.)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.sarine.nl/2006/10/01/sitecom-wireless-pc-lock-continued-3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sitecom Wireless PC Lock &#8211; Continued 2</title>
		<link>http://blog.sarine.nl/2006/10/01/sitecom-wireless-pc-lock-continued-2/</link>
		<comments>http://blog.sarine.nl/2006/10/01/sitecom-wireless-pc-lock-continued-2/#comments</comments>
		<pubDate>Sun, 01 Oct 2006 13:14:07 +0000</pubDate>
		<dc:creator>Qball</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[gwsl]]></category>

		<guid isPermaLink="false">http://wordpress.qballcow.nl/2006/10/01/sitecom-wireless-pc-lock-continued-2/</guid>
		<description><![CDATA[I&#8217;ve made the following changes: If the dongle is unplugged, lock the screen. left click on the icon, lock the screen. Right mouse menu, with lock and quit Configuration file where you can set timeout, The screensaver Lock/Unlock command. (and enable/disable it). And you can set a script to execute on lock and unlock. It [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve made the following changes:</p>
<ul>
<li>If the dongle is unplugged, lock the screen.</li>
<li>left click on the icon, lock the screen.</li>
<li>Right mouse menu, with lock and quit</li>
<li>Configuration file where you can set timeout, The screensaver Lock/Unlock  command. (and enable/disable it). And you can set a script to execute on lock and unlock.</li>
</ul>
<p>It is still nothing more then a quick hack. It doesn&#8217;t have a configure script, so you need to make sure you have libusb-dev and gtk+-2.10-dev installed. ( I&#8217;ve hacked the makefile to check if gtk and libusb is availible, but not sure if that works).</p>
<p>You also need to make sure that the program is allowed to bind the usb device (see previous blog for udev rule).</p>
<p>You can get the tarball: <a href="http://download.qballcow.nl/programs/gwsl.tar.gz">here</a></p>
<p>If somebody can donate another wireless pc lock (f.e. from sitecom) I will continue to develop on this, making it cleaner, and try to implement transmitter detection.<br />
It is kinda cool to walk away from your computer, seeing the screen lock, and the music paused. and when coming back see the screen unlock and having the music continue.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sarine.nl/2006/10/01/sitecom-wireless-pc-lock-continued-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wireless PC Lock &#8211; Continued</title>
		<link>http://blog.sarine.nl/2006/09/30/wireless-pc-lock-continued/</link>
		<comments>http://blog.sarine.nl/2006/09/30/wireless-pc-lock-continued/#comments</comments>
		<pubDate>Sat, 30 Sep 2006 20:23:13 +0000</pubDate>
		<dc:creator>Qball</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[gwsl]]></category>

		<guid isPermaLink="false">http://wordpress.qballcow.nl/2006/09/30/wireless-pc-lock-continued/</guid>
		<description><![CDATA[I&#8217;ve improved it a little bit further: After some fiddling around, I can now detect leaving of dongle in 2-3 seconds. If you want it to react this fast is a second question. Lock and unlock the screen. (using gnome-screensaver) Todo list: I have the cleanup the code a bit and add a configure system [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve improved it a little bit further:</p>
<ul>
<li>After some fiddling around, I can now detect leaving of dongle in 2-3 seconds.  If you want it to react this fast is a second question.</li>
<li>Lock and unlock the screen. (using gnome-screensaver)</li>
</ul>
<p>Todo list:</p>
<ul>
<li>I have the cleanup the code a bit and add a configure system  (its 120 lines of code now, with everything hardcoded) and I will try to get some first code available this weekend.</li>
<li>I am also looking (probably buy one monday) for more wireless pc locks, so I can start trying to figure out how I can differentiate between dongles. If somebody has a Wireless PC Lock from thinkgeek (or any other brand) lying around (unused) let me know.</li>
<li>A option to temporary disable it.</li>
<li>more I forgot.</li>
</ul>
<p>A screenshot:</p>
<p><img src="http://images.qballcow.nl/weasel-in-range.png" /><img src="http://images.qballcow.nl/weasel-not-in-range.png" /></p>
<p>Not much more to see.</p>
<p>p.s. I used the following udev rule to allow me to run the program as the user qball:  SUBSYSTEM==&#8221;usb_device&#8221;,SYSFS{idVendor}==&#8221;04b4&#8243;, SYSFS{idProduct}==&#8221;7417&#8243;, GROUP=&#8221;qball&#8221;,MODE=&#8221;0664&#8243;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sarine.nl/2006/09/30/wireless-pc-lock-continued/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
