<?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>S.G. Vulcan &#187; Maemo</title>
	<atom:link href="http://www.sgvulcan.com/category/systems/maemo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sgvulcan.com</link>
	<description>Silviu&#039;s tech blog. Resources and informations about linux, windows, symbian systems, networks, reviews, microcontrollers, and more.</description>
	<lastBuildDate>Wed, 08 Feb 2012 09:39:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Wake on LAN a machine using Python &#8211; WOL</title>
		<link>http://www.sgvulcan.com/wake-on-lan-a-machine-using-python-wol/</link>
		<comments>http://www.sgvulcan.com/wake-on-lan-a-machine-using-python-wol/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 21:50:17 +0000</pubDate>
		<dc:creator>silviu</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Symbian]]></category>
		<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[wol]]></category>

		<guid isPermaLink="false">http://www.sgvulcan.com/?p=684</guid>
		<description><![CDATA[This is something useful: code to wake up a machine on lan using python. Since python is available on most devices now (symbian, maeom, windows, linux and so on) it&#8217;s pretty usefull. So, if you have machines that you want to be able to start this is the code to do it. I found it floating on the internet but since it&#8217;s GPL I see no problem in posting it. Full credit and thanks for the useful code go to the author. BTW I use this on my n800 tablet to wake up my backup server and my media center pc &#8211; what will you use it for? # Wake-On-LAN # # Copyright (C) 2002 by Micro Systems Marc Balmer # Written by Marc Balmer, marc@msys.ch, http://www.msys.ch/ # This code is free software under the GPL import struct, socket def WakeOnLan(ethernet_address): # Construct a six-byte hardware address addr_byte = ethernet_address.split(':') hw_addr = struct.pack('BBBBBB', int(addr_byte[0], 16), int(addr_byte[1], 16), int(addr_byte[2], 16), int(addr_byte[3], 16), int(addr_byte[4], 16), int(addr_byte[5], 16)) # Build the Wake-On-LAN "Magic Packet"... msg = '\xff' * 6 + hw_addr * 16 # ...and send it to the broadcast address using UDP s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1) s.sendto(msg, ('', 9)) [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-688" title="Wake-on-lan-cable" src="http://www.sgvulcan.com/wp-content/uploads/2010/01/Wake-on-lan-cable-150x150.jpg" alt="" width="150" height="150" />This is something useful: code to wake up a machine on lan using python. Since python is available on most devices now (symbian, maeom, windows, linux and so on) it&#8217;s pretty usefull. So, if you have machines that you want to be able to start this is the code to do it. I found it floating on the internet but since it&#8217;s GPL I see no problem in posting it. Full credit and thanks for the useful code go to the author. BTW I use this on my n800 tablet to wake up my backup server and my media center pc &#8211; what will you use it for?</p>
<pre># Wake-On-LAN
#
# Copyright (C) 2002 by Micro Systems Marc Balmer
# Written by Marc Balmer, marc@msys.ch, http://www.msys.ch/
# This code is free software under the GPL

import struct, socket

def WakeOnLan(ethernet_address):

  # Construct a six-byte hardware address

  addr_byte = ethernet_address.split(':')
  hw_addr = struct.pack('BBBBBB', int(addr_byte[0], 16),
    int(addr_byte[1], 16),
    int(addr_byte[2], 16),
    int(addr_byte[3], 16),
    int(addr_byte[4], 16),
    int(addr_byte[5], 16))

  # Build the Wake-On-LAN "Magic Packet"...

  msg = '\xff' * 6 + hw_addr * 16

  # ...and send it to the broadcast address using UDP

  s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
  s.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
  s.sendto(msg, ('', 9))
  s.close()

# Example use
WakeOnLan('0:3:93:81:68:b2')</pre>
<div id="in_post_ad_bottom_1" style="clear:both;margin: 5px;padding: 0px;"><p> </p>
<div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-7825242150714747";
/* Dupa articol 468x60, created 8/19/09 */
google_ad_slot = "8916341192";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div></div><div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.sgvulcan.com/wake-on-lan-a-machine-using-python-wol/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Error getting the post list &#8211; Maemo WordPy</title>
		<link>http://www.sgvulcan.com/error-getting-the-post-list-maemo-wordpy/</link>
		<comments>http://www.sgvulcan.com/error-getting-the-post-list-maemo-wordpy/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 19:57:23 +0000</pubDate>
		<dc:creator>silviu</dc:creator>
				<category><![CDATA[Maemo]]></category>
		<category><![CDATA[n800]]></category>
		<category><![CDATA[wordpy]]></category>

		<guid isPermaLink="false">http://www.sgvulcan.com/?p=627</guid>
		<description><![CDATA[Today I tried again installing and configuring WordPy for Maemo on my Nokia N800 internet tablet. Since I can blog from my mobile phone I wanted to have a wordpress blog client on my tablet as well. I configured everything correctly but I kept getting the &#8220;Error getting the post list&#8221; message everytime I wanted to refresh the posts list. I browsed the forum, tried everything than  I realized the only difference between configurations posted on the forum and mine: http:// was missing from my Blog URL field in the configuration. That is all that was needed. The post list appeared and I can now post from my Nokia Internet Tablet too. Actually I could do it for a long time, since WordPy is available from the times of the 770 tablet. Have fun.]]></description>
			<content:encoded><![CDATA[<p>Today I tried again installing and configuring WordPy for Maemo on my Nokia N800 internet tablet. Since I can blog from my mobile phone I wanted to have a wordpress blog client on my tablet as well.</p>
<p>I configured everything correctly but I kept getting the <em><strong>&#8220;</strong></em>Error getting the post list&#8221; message everytime I wanted to refresh the posts list. I browsed the forum, tried everything than  I realized the only difference between configurations posted on the forum and mine: <strong>http://</strong> was missing from my Blog URL field in the configuration.</p>
<p>That is all that was needed. The post list appeared and I can now post from my Nokia Internet Tablet too. Actually I could do it for a long time, since WordPy is available from the times of the 770 tablet.</p>
<p>Have fun.</p>
<div id="in_post_ad_bottom_1" style="clear:both;margin: 5px;padding: 0px;"><p> </p>
<div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-7825242150714747";
/* Dupa articol 468x60, created 8/19/09 */
google_ad_slot = "8916341192";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div></div><div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.sgvulcan.com/error-getting-the-post-list-maemo-wordpy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>N800/N810 tablet as a Canon camera remote</title>
		<link>http://www.sgvulcan.com/n800n810-tablet-as-a-canon-camera-remote/</link>
		<comments>http://www.sgvulcan.com/n800n810-tablet-as-a-canon-camera-remote/#comments</comments>
		<pubDate>Wed, 27 May 2009 09:37:46 +0000</pubDate>
		<dc:creator>silviu</dc:creator>
				<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[10d]]></category>
		<category><![CDATA[canon]]></category>
		<category><![CDATA[n800]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[s10h]]></category>

		<guid isPermaLink="false">http://www.sgvulcan.com/?p=77</guid>
		<description><![CDATA[I found a way to use a Nokia N800/N810 tablet as a Canon camera remote control. You can shoot, download and view your pictures on the big screen.]]></description>
			<content:encoded><![CDATA[<p>This post is also on the talk.maemo.org forum, but I decided to host it here too.</p>
<div id="attachment_78" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.sgvulcan.com/wp-content/uploads/2009/05/n800-canon-eos-10d_cnv.jpg" rel="lightbox[77]"><img class="size-medium wp-image-78" title="n800-canon-eos-10d_cnv" src="http://www.sgvulcan.com/wp-content/uploads/2009/05/n800-canon-eos-10d_cnv-300x210.jpg" alt="N800 camera remote controll" width="300" height="210" /></a><p class="wp-caption-text">N800 camera remote controll</p></div>
<p>I followed a thread regarding the port of gphoto for the Nokia Internet Tablets. Unfortunately gphoto never got me further than list the photos in the camera and then hang and reboot.</p>
<p>Well then I noticed <a href="https://garage.maemo.org/projects/eostimesync/">Eostimesync</a>.</p>
<p>Eostimesync is a nice utility that syncs the time of your camera to the time of the n800. I liked it because I could sync my tablet to ntp and switch between host and client usb mode all from one applet. The camera sync was pretty much useless to me. But I wanted to know how it works. To make a long story short eostimesync uses a command line program named s10sh which is an userspace usb driver for canon cameras (many of them if I&#8217;m corect).</p>
<p>First thing linux taught me in 1998 was to type at the prompt:</p>
<pre>command --help</pre>
<p>So as root s10sh has the ability to:</p>
<ul>
<li> Get ALL/ALL NEW images</li>
<li>List ALL/ALL NEW images</li>
<li>Set camera to computer time</li>
</ul>
<p>and many more. The above are non interactive and are the ones useful for me. If you run simply s10sh it will give you an interactive shell similar to a DOS prompt. Of course your camera has to be connected by usb and your tablet must be in HOST mode. Oh and my camera has two usb modes &#8220;normal&#8221; &#8211; which is the canon proprietary format and the one that works with all the above and PTP which is only for image download. On your camera the modes could be labeled differently.</p>
<p>So, running:</p>
<pre>s10sh -c</pre>
<p>does, according to the &#8211;help:</p>
<p>capture an image with the current camera settings (that&#8217;s your remote)</p>
<pre>#s10sh -c (capture)
#s10sh -n (get all new images, non-interactive)
#quiver imagename.jpg (see what you shot on the big screen)</pre>
<p>See why I&#8217;m so excited about?</p>
<p>Oh and the camera is completely functional even when connected. I can shoot, change settings anything. I do landscapes a lot so I could imagine myself leaving the camera on the tripod and the n800 connected to use as trigger or big screen for more detail. also it would be helpful when doing macro. And of course it&#8217;s a LOT of FUN !</p>
<p>I also think you can change camera settings but I didn&#8217;t explore that.</p>
<p>A nice gui for s10h would be great, with buttons for settings, shoot, view last shot. Maybe someday&#8230;</p>
<p>Let me know what you think.You can also follow the discussion <a href="http://talk.maemo.org/showthread.php?t=18143">here</a> (talk.maemo.org).</p>
<div id="in_post_ad_bottom_1" style="clear:both;margin: 5px;padding: 0px;"><p> </p>
<div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-7825242150714747";
/* Dupa articol 468x60, created 8/19/09 */
google_ad_slot = "8916341192";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div></div><div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.sgvulcan.com/n800n810-tablet-as-a-canon-camera-remote/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

