<?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>cyfinity &#187; usb ports</title>
	<atom:link href="http://www.cyfinity.com/tag/usb-ports/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cyfinity.com</link>
	<description>If it's broke, fix it</description>
	<lastBuildDate>Mon, 14 Nov 2011 14:23:00 +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>Waking up USB ports on Ubuntu Hardy</title>
		<link>http://www.cyfinity.com/2008/09/waking-up-usb-ports-on-ubuntu-hardy/</link>
		<comments>http://www.cyfinity.com/2008/09/waking-up-usb-ports-on-ubuntu-hardy/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 23:31:19 +0000</pubDate>
		<dc:creator>ninjaneer</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[acpi]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[suspend]]></category>
		<category><![CDATA[usb ports]]></category>

		<guid isPermaLink="false">http://www.delusionofgrandeur.co.uk/?p=613</guid>
		<description><![CDATA[Here is another one of my &#8216;reminder-to-self&#8217; fixes for my Ubuntu 8.04 machines. I&#8217;ve installed Hardy on a good few machines now including Intel C2D/Nvidia chipset desktops and various laptops and discovered that, to my delight, the machines will go in and out of S3 suspend (suspend to ram) in just a few seconds. There [...]]]></description>
			<content:encoded><![CDATA[<p>Here is another one of my &#8216;reminder-to-self&#8217; fixes for my <a title="Official Ubuntu website" href="http://www.ubuntu.com" target="_blank">Ubuntu</a> 8.04 machines.</p>
<p>I&#8217;ve installed Hardy on a good few machines now including Intel C2D/Nvidia chipset desktops and various laptops and discovered that, to my delight, the machines will go in and out of S3 suspend (suspend to ram) in just a few seconds.</p>
<p>There was just one problem which seemed universal though; the USB ports were not reinitializing correctly. It seemed that although the +5v power was coming back, they weren&#8217;t being polled for devices or data.</p>
<p>I stumbled across a partial solution by typing <strong>lsusb </strong>(in an attempt to poll connected devices). Sure enough, the USB data communication came back to life and I was able to use my devices as normal. Obviously, all I needed now was a way to make this happen automatically when the machine comes back out of S3.</p>
<p>User aidave on <a title="Ubuntu Forums" href="http://ph.ubuntuforums.com/showpost.php?s=063fda29d1bfc1179f15ca358e8ffaf9&amp;p=4925761&amp;postcount=7" target="_blank">this post</a> at ubuntuforums came up with a quick bit of hackery to make this happen which I have adapted here:</p>
<p>Fire up a terminal and issue:</p>
<blockquote><p>cd /usr/lib/pm-utils/sleep.d<br />
sudo touch 98usb<br />
sudo chmod +x 98usb<br />
sudo nano 98usb</p></blockquote>
<p>You should now have a blank file open in nano (in the console)</p>
<p>Cut and paste the following into nano:</p>
<blockquote><p>#!/bin/sh</p>
<p>case &#8220;$1&#8243; in<br />
resume|thaw)<br />
lsusb<br />
;;<br />
*)<br />
;;<br />
esac</p></blockquote>
<p>It doesn&#8217;t fix the issue directly but it qulifies as a work around in that it wakes up the usb ports by polling the with the lsusb command as the machine resumes from ACPI S3 suspend.</p>
<p>Hopefully there will be a proper fix for the issue in a future Ubuntu Hardy patch.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyfinity.com/2008/09/waking-up-usb-ports-on-ubuntu-hardy/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

