<?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"
	>

<channel>
	<title>Location-aware mobility</title>
	<atom:link href="http://blog.locationist.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.locationist.net</link>
	<description>My personal information overflow in everything mobile.</description>
	<pubDate>Tue, 19 Oct 2010 15:20:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Changing Ubuntu resolution from the command line&#8230;.</title>
		<link>http://blog.locationist.net/2010/10/18/changing-ubuntu-resolution-from-the-command-line/</link>
		<comments>http://blog.locationist.net/2010/10/18/changing-ubuntu-resolution-from-the-command-line/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 18:18:34 +0000</pubDate>
		<dc:creator>Bobo</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[gdm]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[resolution]]></category>

		<category><![CDATA[x11]]></category>

		<category><![CDATA[xorg]]></category>

		<guid isPermaLink="false">http://blog.locationist.net/?p=44</guid>
		<description><![CDATA[Now this should be an easy feat. Right? No.
So, what happened was that my test &#8220;server&#8221; died one night. I started it, but couldn&#8217;t remote login to the desktop for some reason. Connected the server to a monitor, but the signal was wrong. I had changed it to better suit my VNC needs.
So off to [...]]]></description>
			<content:encoded><![CDATA[<p>Now this should be an easy feat. Right? No.</p>
<p>So, what happened was that my test &#8220;server&#8221; died one night. I started it, but couldn&#8217;t remote login to the desktop for some reason. Connected the server to a monitor, but the signal was wrong. I had changed it to better suit my VNC needs.</p>
<p>So off to googling about changing the resolution from the command line&#8230;</p>
<p>1. edit xorg.conf - Fail. At least in ubuntu 10.04 there&#8217;s no xorg.conf file as standard</p>
<p>2. generate xorg.conf file - Fail. It only affects gdm. And even with failsafe session, the resolution changes once you log in. Aaargh!!!</p>
<p>3. reconfigure xorg package - Fail. Nothing happens when you use dpkg-reconfigure. No TUI interface. nothing. Just another shell line. Great usability design this is.</p>
<p>4. Rename all gnome related .gnome-something files and directories in your profile to get rid of the session settings - Fail. its the ~/.config/ - directory that&#8217;s the key. Now who has decided to own &#8220;.config&#8221; in your home dir. &#8220;I&#8217;m so important I&#8217;ll just make my configs apper under .config/&#8221; Idiots <img src='http://blog.locationist.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Ok I got a wee bit angry, but here&#8217;s the pretty solution I had to dig out the hard way:</p>
<p><strong>edit .config/monitors.xml</strong> and change the resolution. Then kill Xorg / gdm from the command line and you&#8217;re good to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.locationist.net/2010/10/18/changing-ubuntu-resolution-from-the-command-line/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Next Internet Tablet to have TI OMAP2430 450Mhz processor?</title>
		<link>http://blog.locationist.net/2008/05/26/next-internet-tablet-to-have-ti-omap2430-450mhz-processor/</link>
		<comments>http://blog.locationist.net/2008/05/26/next-internet-tablet-to-have-ti-omap2430-450mhz-processor/#comments</comments>
		<pubDate>Mon, 26 May 2008 09:21:55 +0000</pubDate>
		<dc:creator>Bobo</dc:creator>
		
		<category><![CDATA[Maemo]]></category>

		<category><![CDATA[speculation]]></category>

		<category><![CDATA[next tablet]]></category>

		<category><![CDATA[OMAP2420]]></category>

		<category><![CDATA[OMAP2430]]></category>

		<guid isPermaLink="false">http://blog.locationist.net/2008/05/26/next-internet-tablet-to-have-ti-omap2430-450mhz-processor/</guid>
		<description><![CDATA[A while back I was going through kernel-source-rx-34-2.6.21.0-packages .config file in order to build some usb-drivers.
I discovered a commented out line about TI OPAM2430 that was in &#8220;OMAP Core Type section&#8221;.
#
# OMAP Core Type
#
CONFIG_ARCH_OMAP24XX=y
CONFIG_ARCH_OMAP2420=y
# CONFIG_ARCH_OMAP2430 is not set
Does this mean, that the next tablet might have a  Texas Instruments OMAP 2430 processor in it? [...]]]></description>
			<content:encoded><![CDATA[<p>A while back I was going through kernel-source-rx-34-2.6.21.0-packages <em>.config</em> file in order to build some usb-drivers.</p>
<p>I discovered a commented out line about TI OPAM2430 that was in &#8220;OMAP Core Type section&#8221;.</p>
<blockquote><p>#<br />
# OMAP Core Type<br />
#<br />
CONFIG_ARCH_OMAP24XX=y<br />
CONFIG_ARCH_OMAP2420=y<br />
# CONFIG_ARCH_OMAP2430 is not set</p></blockquote>
<p>Does this mean, that the next tablet might have a  <a href="http://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?contentId=4672&amp;navigationId=12609&amp;templateId=6123" title="OMAP 1430">Texas Instruments OMAP 2430 processor</a> in it? For comparison N800/N810 tablets have the <a href="http://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123&amp;navigationId=11990&amp;contentId=4671" title="OMAP 2420">OMAP 2420 processor</a> running at 400Mhz. Or was it just <em>&#8220;the other</em>&#8221; option when n800/n810 were designed. Or maybe all kernel-configs have OMAP 2430 &#8220;support&#8221;.</p>
<p>Anyways, it&#8217;s not really a high performance processor, but it has some nice video decoding and encoding features. This was my monday speculation, in real life we&#8217;ll just have to wait and see.</p>
<p><strong>The feature list for the 2430 include the following (from TI website):</strong></p>
<p><em>Multimedia features supported by the OMAP2430 / OMAP2431 processors include:</em></p>
<ul>
<li><em>Downloadable media playback and digital TV decode</em>
<ul>
<li><em>MPEG4, H.264, Window Media Video 9 (VC-1), RealVideo version 10 decode at VGA (640&#215;480) 30 fps</em></li>
</ul>
</li>
<li><em>Still image capture </em>
<ul>
<li><em>&gt;5 Mpixel with 1 second shot-to-shot delay</em></li>
</ul>
</li>
<li><em>Motion video capture  </em>
<ul>
<li><em>MPEG4 encoding up to VGA 30 fps </em></li>
</ul>
</li>
<li><em>Video teleconferencing  </em>
<ul>
<li><em>H.263, H.264 videoconferencing with simultaneous recording of VTC session up to CIF 30 fps</em></li>
</ul>
</li>
<li><em>2D/3D gaming </em>
<ul>
<li><em>Rasterization up to 1 million polygons per second (OMAP2430 only)</em></li>
</ul>
</li>
</ul>
<p><em>Key Features:<strong> </strong></em></p>
<ul>
<li><em>Advanced Imaging, Video and Audio Accelerator (IVA™ 2) boosts video performance in mobile phones by up to 4X and imaging performance by up to 1.5X</em></li>
<li><em>Delivering a multimedia experience with consumer electronics quality to the handset</em></li>
<li><em>Multi-engine parallel processing architecture for supporting complex usage scenarios</em></li>
<li><em>Built-in M-Shield™ mobile security technology enables value-added services and terminal security</em></li>
<li><em>Support for all major High Level Operating Systems (HLOS) aids applications development</em></li>
</ul>
<p><span id="more-43"></span></p>
<p><strong>And here&#8217;s the rest of the processor-related .config: </strong></p>
<blockquote><p>#<br />
# System Type<br />
#<br />
# CONFIG_ARCH_AAEC2000 is not set<br />
# CONFIG_ARCH_INTEGRATOR is not set<br />
# CONFIG_ARCH_REALVIEW is not set<br />
# CONFIG_ARCH_VERSATILE is not set<br />
# CONFIG_ARCH_AT91 is not set<br />
# CONFIG_ARCH_CLPS7500 is not set<br />
# CONFIG_ARCH_CLPS711X is not set<br />
# CONFIG_ARCH_CO285 is not set<br />
# CONFIG_ARCH_EBSA110 is not set<br />
# CONFIG_ARCH_EP93XX is not set<br />
# CONFIG_ARCH_FOOTBRIDGE is not set<br />
# CONFIG_ARCH_NETX is not set<br />
# CONFIG_ARCH_H720X is not set<br />
# CONFIG_ARCH_IMX is not set<br />
# CONFIG_ARCH_IOP32X is not set<br />
# CONFIG_ARCH_IOP33X is not set<br />
# CONFIG_ARCH_IOP13XX is not set<br />
# CONFIG_ARCH_IXP4XX is not set<br />
# CONFIG_ARCH_IXP2000 is not set<br />
# CONFIG_ARCH_IXP23XX is not set<br />
# CONFIG_ARCH_L7200 is not set<br />
# CONFIG_ARCH_NS9XXX is not set<br />
# CONFIG_ARCH_PNX4008 is not set<br />
# CONFIG_ARCH_PXA is not set<br />
# CONFIG_ARCH_RPC is not set<br />
# CONFIG_ARCH_SA1100 is not set<br />
# CONFIG_ARCH_S3C2410 is not set<br />
# CONFIG_ARCH_SHARK is not set<br />
# CONFIG_ARCH_LH7A40X is not set<br />
CONFIG_ARCH_OMAP=y</p>
<p>#<br />
# TI OMAP Implementations<br />
#<br />
CONFIG_ARCH_OMAP_OTG=y<br />
# CONFIG_ARCH_OMAP1 is not set<br />
CONFIG_ARCH_OMAP2=y</p>
<p>#<br />
# OMAP Feature Selections<br />
#<br />
CONFIG_MACH_OMAP2420_DVFS=y<br />
CONFIG_ARCH_OMAP2420_DEBUG=y<br />
CONFIG_ARCH_OMAP2420_OBSERVABILITY=m<br />
CONFIG_ARCH_OMAP2420_PEEK_N_POKE=m<br />
CONFIG_ARCH_OMAP2420_SNAPSHOT=m<br />
CONFIG_ARCH_OMAP2420_DMA_DRAIN=y<br />
CONFIG_OMAP_RESET_CLOCKS=y<br />
CONFIG_OMAP_BOOT_TAG=y<br />
CONFIG_OMAP_BOOT_REASON=y<br />
CONFIG_OMAP_COMPONENT_VERSION=y<br />
CONFIG_OMAP_GPIO_SWITCH=y<br />
# CONFIG_OMAP_MUX is not set<br />
CONFIG_OMAP_STI=y<br />
CONFIG_OMAP_STI_CONSOLE=y<br />
# CONFIG_OMAP_MCBSP is not set<br />
CONFIG_OMAP_MMU_FWK=y<br />
CONFIG_OMAP_MBOX_FWK=y<br />
# CONFIG_OMAP_MPU_TIMER is not set<br />
CONFIG_OMAP_32K_TIMER=y<br />
CONFIG_OMAP_32K_TIMER_HZ=128<br />
CONFIG_OMAP_DM_TIMER=y<br />
# CONFIG_OMAP_LL_DEBUG_UART1 is not set<br />
# CONFIG_OMAP_LL_DEBUG_UART2 is not set<br />
CONFIG_OMAP_LL_DEBUG_UART3=y<br />
CONFIG_OMAP_DSP=y<br />
# CONFIG_OMAP_DSP_MBCMD_VERBOSE is not set<br />
CONFIG_OMAP_DSP_TASK_MULTIOPEN=y<br />
CONFIG_OMAP_DSP_FBEXPORT=y<br />
CONFIG_OMAP_DSP_PAUSING=y<br />
# CONFIG_MACH_OMAP_GENERIC is not set</p>
<p>#<br />
# OMAP Core Type<br />
#<br />
CONFIG_ARCH_OMAP24XX=y<br />
CONFIG_ARCH_OMAP2420=y<br />
# CONFIG_ARCH_OMAP2430 is not set</p>
<p>#<br />
# OMAP Board Type<br />
#<br />
CONFIG_MACH_NOKIA_N800=y<br />
CONFIG_MACH_NOKIA_RX44=y<br />
CONFIG_MACH_OMAP2_TUSB6010=y<br />
# CONFIG_MACH_OMAP_H4 is not set<br />
# CONFIG_MACH_OMAP_APOLLON is not set<br />
# CONFIG_MACH_OMAP_2430SDP is not set</p>
<p>#<br />
# Processor Type<br />
#<br />
CONFIG_CPU_32=y<br />
CONFIG_CPU_V6=y<br />
# CONFIG_CPU_32v6K is not set<br />
CONFIG_CPU_32v6=y<br />
CONFIG_CPU_ABRT_EV6=y<br />
CONFIG_CPU_CACHE_V6=y<br />
CONFIG_CPU_CACHE_VIPT=y<br />
CONFIG_CPU_COPY_V6=y<br />
CONFIG_CPU_TLB_V6=y<br />
CONFIG_CPU_CP15=y<br />
CONFIG_CPU_CP15_MMU=y</p>
<p>#<br />
# Processor Features<br />
#<br />
CONFIG_ARM_THUMB=y<br />
# CONFIG_CPU_ICACHE_DISABLE is not set<br />
# CONFIG_CPU_DCACHE_DISABLE is not set<br />
# CONFIG_CPU_DCACHE_WRITETHROUGH is not set<br />
# CONFIG_CPU_BPREDICT_DISABLE is not set<br />
# CONFIG_OUTER_CACHE is not set</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.locationist.net/2008/05/26/next-internet-tablet-to-have-ti-omap2430-450mhz-processor/feed/</wfw:commentRss>
		</item>
		<item>
		<title>USB OTG goes webcam</title>
		<link>http://blog.locationist.net/2008/03/19/usb-otg-goes-webcam/</link>
		<comments>http://blog.locationist.net/2008/03/19/usb-otg-goes-webcam/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 09:08:51 +0000</pubDate>
		<dc:creator>Bobo</dc:creator>
		
		<category><![CDATA[Maemo]]></category>

		<category><![CDATA[N810]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[video]]></category>

		<category><![CDATA[mplayer]]></category>

		<category><![CDATA[usb otg]]></category>

		<category><![CDATA[webcam]]></category>

		<guid isPermaLink="false">http://blog.locationist.net/2008/03/19/usb-otg-goes-webcam/</guid>
		<description><![CDATA[This time in my mini series of testing USB on the N810 tablet - I bring you external webcam. The following video shows mplayer playing v4l stream from the device. See details after the jump.
Nokia N810 + Creative webcam + USB OTG + mplayer on Vimeo.

All you need really, are the basics set up,  [...]]]></description>
			<content:encoded><![CDATA[<p>This time in my <a href="http://blog.locationist.net/2008/03/16/arduino-interaction/" title="part 1">mini</a> <a href="http://blog.locationist.net/2008/03/13/expanding-your-storage/">series</a> of testing USB on the N810 tablet - I bring you external webcam. The following video shows mplayer playing v4l stream from the device. See details after the jump.</p>
<p><object type="application/x-shockwave-flash" width="400" height="302" data="http://www.vimeo.com/moogaloop.swf?clip_id=800978&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF"><param name="quality" value="best" /><param name="allowfullscreen" value="true" /><param name="scale" value="showAll" /><param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=800978&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF" /></object><br /><a href="http://www.vimeo.com/800978/l:embed_800978">Nokia N810 + Creative webcam + USB OTG + mplayer</a> on <a href="http://vimeo.com/l:embed_800978">Vimeo</a>.</p>
<p><span id="more-42"></span></p>
<p>All you need really, are the <a href="http://blog.locationist.net/2008/03/13/expanding-your-storage/" title="USB OTG basics">basics set up</a>,  and some <a href="/files-and-scripts/" title="Custom modules and mplayer">custom modules and mplayer</a>. This mplayer build is based on .24 and has no optimisations whatsoever. So don&#8217;t try to use it for anything else.</p>
<p>The module my Creative webcam uses is the <em>ov511. </em>Other modules are available also<em>. </em>Installation from the command prompt:</p>
<blockquote><p>insmod ov511.ko</p></blockquote>
<p>Mplayer starts the new video device from command prompt with the following:</p>
<blockquote><p> mplayer-v4l -cache 128 -tv driver=v4l:width=420:height=240:outfmt=i420:device=/dev/video1 -vc rawi420 -vo xv tv://</p></blockquote>
<p>Thanks to google and <a href="http://brainwagon.org/?p=2295" title="syntax">brainwagon</a> fro the syntax.</p>
<p>ps. You might have to try a few times before the video looks right. Sometimes I get only b/w or some weird colors.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.locationist.net/2008/03/19/usb-otg-goes-webcam/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Arduino interaction</title>
		<link>http://blog.locationist.net/2008/03/16/arduino-interaction/</link>
		<comments>http://blog.locationist.net/2008/03/16/arduino-interaction/#comments</comments>
		<pubDate>Sun, 16 Mar 2008 17:23:32 +0000</pubDate>
		<dc:creator>Bobo</dc:creator>
		
		<category><![CDATA[Maemo]]></category>

		<category><![CDATA[N800]]></category>

		<category><![CDATA[N810]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[serial]]></category>

		<category><![CDATA[video]]></category>

		<category><![CDATA[arduino]]></category>

		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://blog.locationist.net/2008/03/16/arduino-interaction/</guid>
		<description><![CDATA[ As promised in my previous post. So this one was a bit harder to implement, because I couldn&#8217;t find working kernel modules, and had to compile them myself. There is a good discussion about arduino in ITT forums, and other blog posts, but still this was something I wanted to try.
Nokia N810 meets an [...]]]></description>
			<content:encoded><![CDATA[<p> <a href="http://blog.locationist.net/2008/03/13/expanding-your-storage/" title="usb post...">As promised in my previous post</a>. So this one was a bit harder to implement, because I couldn&#8217;t find working kernel modules, and had to compile them myself. There is a good discussion about arduino in ITT forums, and other blog posts, but still this was something I wanted to try.</p>
<p><object type="application/x-shockwave-flash" width="400" height="302" data="http://www.vimeo.com/moogaloop.swf?clip_id=782324&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF"><param name="quality" value="best" /><param name="allowfullscreen" value="true" /><param name="scale" value="showAll" /><param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=782324&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF" /></object><br /><a href="http://www.vimeo.com/782324/l:embed_782324">Nokia N810 meets an Arduiono board and a servo&#8230;</a> on <a href="http://vimeo.com/l:embed_782324">Vimeo</a>.</p>
<p>So the important part obviously is not the crappy board with a sensor and a servo, but the fact that by enabling a few kernel modules the OS2008 recognizes the connected arduino as   /dev/ttyUSBx that can be used to communicate with the boards firmware. Steps to follow:</p>
<p><span id="more-41"></span></p>
<p><strong> 1. Get the basics set up as described for example in my previous post.</strong></p>
<p>Remember to put your device in UTG host mode.</p>
<p><strong>2. Download the modules, and as root, install them.</strong><br />
The serial port becomes available as /dev/ttyUSB0</p>
<blockquote><p>Nokia-N810-50-2:/media/mmc2# insmod usbserial.ko<br />
Nokia-N810-50-2:/media/mmc2# insmod ftdi_sio.ko</p></blockquote>
<blockquote><p> Nokia-N810-50-2:/media/mmc2# dmesg</p>
<p>*clip*<br />
[  250.898437] usbcore: registered new interface driver usbserial<br />
[  250.898437] drivers/usb/serial/usb-serial.c: USB Serial support registered for generic<br />
[  250.898437] usbcore: registered new interface driver usbserial_generic<br />
[  250.898437] drivers/usb/serial/usb-serial.c: USB Serial Driver core<br />
[  251.242187] cx3110x: PSM dynamic with 100 ms CAM timeout.<br />
[  257.632812] drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial Device<br />
[  257.632812] usbcore: registered new interface driver ftdi_sio<br />
[  257.632812] drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver<br />
[  268.445312] cx3110x: PSM dynamic with 200 ms CAM timeout.<br />
[  275.148437] musb_stage0_irq 646: CONNECT (a_host) devctl 5d<br />
[  275.148437] hub 1-0:1.0: state 8 ports 1 chg 0000 evt 0000<br />
[  275.148437] usb usb1: usb auto-resume<br />
[  275.148437] usb usb1: finish resume<br />
[  275.148437] hub 1-0:1.0: hub_resume<br />
[  275.171875] hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s<br />
[  275.335937] hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0&#215;101<br />
[  275.460937] usb 1-1: new full speed USB device using musb_hdrc and address 2<br />
[  275.593750] usb 1-1: ep0 maxpacket = 8<br />
[  275.593750] usb 1-1: default language 0&#215;0409<br />
[  275.593750] usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=3<br />
[  275.593750] usb 1-1: Product: FT232R USB UART<br />
[  275.593750] usb 1-1: Manufacturer: FTDI<br />
[  275.593750] usb 1-1: SerialNumber: A4001tPd<br />
[  275.593750] usb 1-1: device v0403 p6001 is not supported<br />
[  275.593750] usb 1-1: uevent<br />
[  275.593750] usb 1-1: usb_probe_device<br />
[  275.593750] usb 1-1: configuration #1 chosen from 1 choice<br />
[  275.593750] usb 1-1: adding 1-1:1.0 (config #1, interface 0)<br />
[  275.593750] usb 1-1:1.0: uevent<br />
[  275.593750] usbtest 1-1:1.0: usb_probe_interface<br />
[  275.593750] usbtest 1-1:1.0: usb_probe_interface - got id<br />
[  275.593750] usbserial_generic 1-1:1.0: usb_probe_interface<br />
[  275.593750] usbserial_generic 1-1:1.0: usb_probe_interface - got id<br />
[  275.593750] ftdi_sio 1-1:1.0: usb_probe_interface<br />
[  275.593750] ftdi_sio 1-1:1.0: usb_probe_interface - got id<br />
[  275.593750] ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected<br />
[  275.593750] drivers/usb/serial/ftdi_sio.c: Detected FT232RL<br />
[  275.601562] usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0<br />
[  275.601562] drivers/usb/core/inode.c: creating file &#8216;002&#8242;<br />
[  275.601562] hub 1-0:1.0: 110mA power budget left<br />
[  275.601562] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002<br />
[  275.601562] hub 1-0:1.0: port 1 enable change, status 00000103</p></blockquote>
<blockquote><p> Nokia-N810-50-2:/media/mmc2# ls -lah /dev/ttyUSB*<br />
crw-rw&#8212;-    1 root     dialout  188,   0 Mar 16 18:34 /dev/ttyUSB0</p></blockquote>
<p><strong>3. Get a serial program <a href="http://pyserial.sourceforge.net/" title="PySerial">pySerial</a> miniterm example is a good test environment.</strong></p>
<blockquote><p>Nokia-N810-50-2:/media/mmc2/arduino/pyserial-2.2/examples# export PYTHONPATH=/media/mmc2/arduino/pyserial-2.2/</p></blockquote>
<blockquote><p> Nokia-N810-50-2:/media/mmc2/arduino/pyserial-2.2/examples# python miniterm.py &#8211;port=/dev/ttyUSB0<br />
&#8212; Miniterm &#8212; type Ctrl-D to quit<br />
¤????9a95a101a101a101a101a1&#8230;</p></blockquote>
<p>The data displayed is some pressure-sensor data, but by pressing &#8216;q&#8217; and &#8216;w&#8217; those characters get sent trough serial to the arduino board that then turns the servo left or right.</p>
<p><strong>4. Figure out what to use it for <img src='http://blog.locationist.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></p>
<p>For the summary, I should mention, that <strong>I&#8217;ve also compiled phidget motor, serial, servo etc. modules and numerous others</strong>. And I see no reason why they shouldn&#8217;t work. Please post a comment if you try them.</p>
<p><em><strong>Actually I challenge you to try to use the most unikely usb devices with nokia internet tables.</strong></em></p>
<p>Modules can be downloaded <a href="http://blog.locationist.net/files-and-scripts/" title="Chinook modules">here</a>.</p>
<p><strong>Links:</strong></p>
<ul>
<li><a href="http://www.arduino.cc/" title="imple servo control">Arduino board</a></li>
<li><a href="http://www.arduino.cc/playground/Learning/SingleServoExample" title="imple servo control">Simple Servo Control example on arduino website</a></li>
<li><a href="http://blog.locationist.net/files-and-scripts/" title="Chinook kernel modules">some Chinook kernel modules compiled by me (usbserial.ko, ftdi_sio.ko, etc)</a></li>
</ul>
<p>Next up, webcam&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.locationist.net/2008/03/16/arduino-interaction/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Expanding your storage</title>
		<link>http://blog.locationist.net/2008/03/13/expanding-your-storage/</link>
		<comments>http://blog.locationist.net/2008/03/13/expanding-your-storage/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 14:27:34 +0000</pubDate>
		<dc:creator>Bobo</dc:creator>
		
		<category><![CDATA[Maemo]]></category>

		<category><![CDATA[N810]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[flash drive]]></category>

		<category><![CDATA[host mode]]></category>

		<category><![CDATA[otg]]></category>

		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://blog.locationist.net/2008/03/13/expanding-your-storage/</guid>
		<description><![CDATA[I know this is and old topic by blogging standards, but because I found so simple and cheap to use external usb flash-drives with N810, I decided to write a quick walktrough.

Get yourself a female-female usb adapter. I ordered from this funny sounding store on eBay, and it took 1-2weeks for it to ship to [...]]]></description>
			<content:encoded><![CDATA[<p>I know this is and old topic by blogging standards, but because I found so simple and cheap to use external usb flash-drives with N810, I decided to write a quick walktrough.</p>
<ol>
<li>Get yourself a female-female usb adapter. I ordered from <a href="http://stores.ebay.co.uk/Soho-Utopia-Shop">this funny sounding store</a> on eBay, and it took 1-2weeks for it to ship to Finland. Total cost: 2-3€ delivered. <em>Plus the package is often very pretty if you order from Hong Kong <img src='http://blog.locationist.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </em> Just search for example &#8220;<a href="http://search.ebay.co.uk/usb-female-to-female-adapter">usb  female to female adapter</a>&#8221; and sort by price.</li>
<li>Install Kate&#8217;s <a href="https://garage.maemo.org/projects/usb-otg-plugin/">usb-otg-plugin</a>.</li>
<li>Select host mode.</li>
<li>connect your usb cable, adapter and the flash drive.</li>
<li>Enjoy the warm pseudohackerish glow deep inside&#8230;</li>
</ol>
<p><a href="http://blog.locationist.net/wp-content/uploads/2008/03/usbotg-flashdrive.jpg" onclick="return false;" title="Direct link to file"><img src="http://blog.locationist.net/wp-content/uploads/2008/03/usbotg-flashdrive.thumbnail.jpg" alt="USB OTG Host mode flash drive" align="left" height="128" width="153" /></a>This image shows<em> dmsg </em>output after connecting the drive. My N810 opened the file manager automatically upon connecting.  The USB flash key is a 2GB Kingston DataTraveller Mini.</p>
<p>Next up arduino&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.locationist.net/2008/03/13/expanding-your-storage/feed/</wfw:commentRss>
		</item>
		<item>
		<title>GPE Calendar + Erminig + Google calendar installation</title>
		<link>http://blog.locationist.net/2008/01/18/gpe-calendar-erminig-google-calendar-installation/</link>
		<comments>http://blog.locationist.net/2008/01/18/gpe-calendar-erminig-google-calendar-installation/#comments</comments>
		<pubDate>Fri, 18 Jan 2008 00:47:40 +0000</pubDate>
		<dc:creator>Bobo</dc:creator>
		
		<category><![CDATA[Maemo]]></category>

		<category><![CDATA[N810]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[erminig]]></category>

		<category><![CDATA[gpe calendar]]></category>

		<category><![CDATA[gtk]]></category>

		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://blog.locationist.net/2008/01/18/gpe-calendar-erminig-google-calendar-installation/</guid>
		<description><![CDATA[A few days back there was great a blog post by linuxuk.org about syncing GPE Calendar with Google calendar and further with Outlook.
I wanted to try just the GPE Calendar to Google synchronization on OS2008 , and realised that it needed some fiddling to get it working. Here are the steps:

Find and decide where to [...]]]></description>
			<content:encoded><![CDATA[<p>A few days back there was great a <a href="http://linuxuk.blogspot.com/2008/01/gpe-cal-to-windows-mobile-smart-phone.html" title="GPE cal tutorial">blog post</a> by linuxuk.org about syncing <a href="http://gpe.handhelds.org/projects/GPE-calendar.shtml" title="GPE Calendar">GPE Calendar</a> with Google calendar and further with Outlook.</p>
<p>I wanted to try just the GPE Calendar to Google synchronization on OS2008 , and realised that it needed some fiddling to get it working. Here are the steps:</p>
<ol>
<li>Find and decide where to get GPE Calendar from. I ended up using repository:<br />
<em>http://www.cobb.uk.net/apt/ chinook user</p>
<p></em></li>
<li>Then there&#8217;s the libsoup dependency. This I achieved by using repository:<br />
<em>http://maemo.o-hand.com/packages/ chinook/ [empty]</p>
<p></em></li>
<li>Install GPE Calendar from application manager.</li>
<li>Install some python dependencies from the root terminal:<br />
<em>apt-get install python2.5 python2.5-gtk2 python2.5-hildon python2.5-xml</p>
<p></em></li>
<li>Follow the <a href="http://david.hautbois.free.fr/joomla/index.php?option=com_content&amp;task=view&amp;id=46&amp;Itemid=46" title="erminig instructions">erminig instructions</a> by downloading and istalling <em>gdatalite</em>, <em>pysqlite</em> and <em>erminig</em>.</li>
<li>Remeber that when entering Google calendar password in erminig, the first letter wants to be uppercase. The program won&#8217;t tell you if you have a wrong password. sigh&#8230;</li>
</ol>
<p>It&#8217;s a long list, but when you get it to work, you&#8217;ll be happy. It works just fine. If it doesn&#8217;t, remember to try to start it from the terminal to see the output.</p>
<p>Most of the problems I figured out by reading the <a href="http://david.hautbois.free.fr/joomla/index.php?option=com_fireboard&amp;Itemid=48&amp;task=listcat&amp;catid=2" title="Erminig forum">erminig forum</a>, and the repositories I found from the <a href="http://www.gronmayer.com/it/" title="Repository search">repository search tool</a>. If you have better instructions or tips please share them in the comments.<br />
<!--noadsense--></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.locationist.net/2008/01/18/gpe-calendar-erminig-google-calendar-installation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Using gpsd in a simple perl-script</title>
		<link>http://blog.locationist.net/2008/01/14/using-gpsd-in-a-simple-perl-script/</link>
		<comments>http://blog.locationist.net/2008/01/14/using-gpsd-in-a-simple-perl-script/#comments</comments>
		<pubDate>Mon, 14 Jan 2008 00:07:55 +0000</pubDate>
		<dc:creator>Bobo</dc:creator>
		
		<category><![CDATA[Maemo]]></category>

		<category><![CDATA[N810]]></category>

		<category><![CDATA[Tips]]></category>

		<category><![CDATA[gps]]></category>

		<category><![CDATA[gpsd]]></category>

		<category><![CDATA[gpsdate]]></category>

		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://blog.locationist.net/2008/01/14/using-gpsd-in-a-simple-perl-script/</guid>
		<description><![CDATA[I was playing around with gps-software on the N810 and decided to try how hard it would be to make a simple perl-script that uses the gpsd on OS2008. As a side note: I really don&#8217;t know perl at all, and don&#8217;t even like it - I actually hate it for some reason&#8230;
I decided to [...]]]></description>
			<content:encoded><![CDATA[<p>I was playing around with gps-software on the N810 and decided to try how hard it would be to make a simple perl-script that uses the gpsd on OS2008. As a side note<em>: I really don&#8217;t know perl at all, and don&#8217;t even like it - I actually hate it for some reason&#8230;</em></p>
<p>I decided to go with Charles Curleys <a href="http://www.charlescurley.com/gpsgoodies.html" title="gpsdate">gpsdate</a>-script that uses gpsd to show the UTC time from the satellites. I hoped it would be a simple task, but actually I had to resolve some dependency issues. Seven to be exact.</p>
<p>To get this script working, I had to get additional perl modules, distributions and whatnot, but it was quite simple by searching and downloading in <a href="http://search.cpan.org/" title="CPAN search">search.cpan.org</a>. I probably could have used perls automatic download functionality, but even if I could, I didn&#8217;t want to fill my devices innards with endless perl-libraries. I wanted some control. I just downloaded these &#8220;packages&#8221; and used the <em>-I/lib/dir/here</em> switch:</p>
<ul>
<li>GPS-PRN</li>
<li>Geo-Constants</li>
<li>Geo-Ellipsoids</li>
<li>Geo-Functions</li>
<li>Geo-Forward</li>
<li>Geo-Inverse</li>
<li>Net-GPSD</li>
</ul>
<p>One might argue that I could have gotten to the same outcome by not using Net-GPSD and it&#8217;s dependencies, but I think that by going this route there&#8217;s more functionality available for future fiddling.</p>
<p>I modified the original source by removing some command-line argument handling to get rid of Getopt::Std. So this is a dirty hack all around <img src='http://blog.locationist.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>To make it work, make sure gpsd is running (by starting maps for instance) and run the script from console:<br />
<code><br />
/media/mmc2/tmp/gpsdate $ perl -I./includes gpsdate.pl<br />
/gpsdate.pl: It is 22:31:30.00, 2008-01-14, UTC.<br />
</code><br />
You can download the modified script and the dependencies <a href="http://blog.locationist.net/files/gpsdate-tablet.tar.gz" title="GPS-date prel script for maemo">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.locationist.net/2008/01/14/using-gpsd-in-a-simple-perl-script/feed/</wfw:commentRss>
		</item>
		<item>
		<title>N810 and the adaptive screen</title>
		<link>http://blog.locationist.net/2008/01/11/n810-and-the-adaptive-screen/</link>
		<comments>http://blog.locationist.net/2008/01/11/n810-and-the-adaptive-screen/#comments</comments>
		<pubDate>Fri, 11 Jan 2008 15:23:03 +0000</pubDate>
		<dc:creator>Bobo</dc:creator>
		
		<category><![CDATA[Maemo]]></category>

		<category><![CDATA[N810]]></category>

		<guid isPermaLink="false">http://blog.locationist.net/2008/01/11/n810-and-the-adaptive-screen/</guid>
		<description><![CDATA[I finally got my N810 and I&#8217;m really pleased with it. It looks nice, feels nice and works like a charm. Thanks Nokia.
However, there&#8217;s one thing that puzzles me. Why can&#8217;t you force the brightness of the screen to go to maximum.  Even if you set the screen brightness to it&#8217;s max, it still [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got my N810 and I&#8217;m really pleased with it. It looks nice, feels nice and works like a charm. Thanks Nokia.</p>
<p>However, there&#8217;s one thing that puzzles me. Why can&#8217;t you force the brightness of the screen to go to maximum.  Even if you set the screen brightness to it&#8217;s max, it still goes brighter when the light sensor on the upper-left corner of the device detects a bright light. This can be demonstrated for example with a flashlight.</p>
<p>I understand that it saves energy, and there&#8217;s the added feel of readability in bright light, but still it would be nice to have a checkbox in display settings  for the adaptive display functionality.</p>
<p>What do you think, or have I missed something?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.locationist.net/2008/01/11/n810-and-the-adaptive-screen/feed/</wfw:commentRss>
		</item>
		<item>
		<title>All discount codes already working?</title>
		<link>http://blog.locationist.net/2008/01/04/all-discount-codes-already-working/</link>
		<comments>http://blog.locationist.net/2008/01/04/all-discount-codes-already-working/#comments</comments>
		<pubDate>Fri, 04 Jan 2008 12:06:35 +0000</pubDate>
		<dc:creator>Bobo</dc:creator>
		
		<category><![CDATA[Maemo]]></category>

		<category><![CDATA[N810]]></category>

		<category><![CDATA[speculation]]></category>

		<guid isPermaLink="false">http://blog.locationist.net/2008/01/04/all-discount-codes-already-working/</guid>
		<description><![CDATA[
Update (5.1.2008 02:35):
Confirmation mail came from Nokia, codes should now work for: Austria, Belgium, Denmark, Finland, France, Germany, Ireland, Italy, Netherlands, Spain, Sweden, Norway, Switzerland, United Kingdom. Canadians have more info next week. But thank you Nokia for the discount and the device!
After Jan Jansen&#8217;s blog post I decided to do some clicking around Nokia&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsensestart--><br />
<strong>Update (5.1.2008 02:35):<br />
</strong>Confirmation mail came from Nokia, codes should now work for: Austria, Belgium, Denmark, Finland, France, Germany, Ireland, Italy, Netherlands, Spain, Sweden, Norway, Switzerland, United Kingdom. Canadians have more info next week. But thank you Nokia for the discount and the device!</p>
<p>After Jan Jansen&#8217;s <a href="http://www.jan-jansen.be/index.php/2008/01/03/nokia_internet_tablet_n810_part_5" title="Jansens blog">blog post</a> I decided to do some clicking around Nokia&#8217;s online shops. It seems that the N810 is available for order from all of the shops listed on <a href="http://direct.nokia.com/countries.aspx?model=N810" title="Nokia direct">this page</a>.</p>
<p>This should be a surprise at least for Finnish customers, because as seen in the following pictures N810 shouldn&#8217;t be available yet.</p>
<p><strong>Nseries.com (location finland):</strong></p>
<p><a href="http://www.nseries.com" title="Nseries finland"><img src="http://blog.locationist.net/wp-content/uploads/2008/01/nseries2.jpg" alt="Nseries finland" /></a></p>
<p><strong>Nokia Nseries Online Shop:</strong></p>
<p><a href="http://direct.nokia.com/Product.aspx?model=N810" title="Nseries Shop"><img src="http://blog.locationist.net/wp-content/uploads/2008/01/nseriesshop2.jpg" alt="Nseries Shop" align="absmiddle" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.locationist.net/2008/01/04/all-discount-codes-already-working/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Something fishy going on?</title>
		<link>http://blog.locationist.net/2007/12/21/something-fishy-going-on/</link>
		<comments>http://blog.locationist.net/2007/12/21/something-fishy-going-on/#comments</comments>
		<pubDate>Fri, 21 Dec 2007 07:57:51 +0000</pubDate>
		<dc:creator>Bobo</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Maemo]]></category>

		<category><![CDATA[Services]]></category>

		<guid isPermaLink="false">http://blog.locationist.net/2007/12/21/something-fishy-going-on/</guid>
		<description><![CDATA[http://tablets-dev.nokia.com/ Is still pretty much unreachable, but I&#8217;m beginning to feel that there&#8217;s something more to it than people upgrading their OS to 2008.
Because for me http://repository.maemo.org/ and http://repository.maemo.org/extras are also 95% of the time unreachable.  Is this a classical case of Nokia not paying the ransom and getting the internet hammer also known [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://tablets-dev.nokia.com/">http://tablets-dev.nokia.com/</a> Is still pretty much unreachable, but I&#8217;m beginning to feel that there&#8217;s something more to it than people upgrading their OS to 2008.</p>
<p>Because for me http://repository.maemo.org/ and http://repository.maemo.org/extras are also 95% of the time unreachable.  Is this a classical case of Nokia not paying the ransom and getting the internet hammer also known as DDOS? Share your own thoughts <img src='http://blog.locationist.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>PS.  Happy Holidays!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.locationist.net/2007/12/21/something-fishy-going-on/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

