<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>embeddedlinuxenea</title>
	<atom:link href="http://embeddedlinuxenea.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://embeddedlinuxenea.wordpress.com</link>
	<description>The Enea Expert Hub blog for Embedded Linux</description>
	<lastBuildDate>Sun, 11 Sep 2011 20:04:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='embeddedlinuxenea.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>embeddedlinuxenea</title>
		<link>http://embeddedlinuxenea.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://embeddedlinuxenea.wordpress.com/osd.xml" title="embeddedlinuxenea" />
	<atom:link rel='hub' href='http://embeddedlinuxenea.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Some notes on USB Device Driver development and debugging</title>
		<link>http://embeddedlinuxenea.wordpress.com/2011/09/11/some-notes-on-usb-device-driver-development-and-debugging/</link>
		<comments>http://embeddedlinuxenea.wordpress.com/2011/09/11/some-notes-on-usb-device-driver-development-and-debugging/#comments</comments>
		<pubDate>Sun, 11 Sep 2011 20:04:37 +0000</pubDate>
		<dc:creator>embeddedlinuxenea</dc:creator>
				<category><![CDATA[Device Drivers]]></category>

		<guid isPermaLink="false">http://embeddedlinuxenea.wordpress.com/?p=29</guid>
		<description><![CDATA[The USB protocol is quite complex. Luckily (for those of us developing USB device drivers) there are drivers in the kernel designed specifically to test USB drivers. These can be used to test both Host Controller Drivers (HCDs) and USB Device Controllers (UDCs). To run the tests, you need the &#8220;USB testing driver&#8221; on the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=embeddedlinuxenea.wordpress.com&amp;blog=23219115&amp;post=29&amp;subd=embeddedlinuxenea&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The USB protocol is quite complex. Luckily (for those of us developing USB device drivers) there are drivers in the kernel designed specifically to test USB drivers.</p>
<p>These can be used to test both Host Controller Drivers (HCDs) and USB Device Controllers (UDCs). To run the tests, you need the &#8220;USB testing driver&#8221; on the USB host. This driver can be found at</p>
<p>Device drivers -&gt; USB support -&gt; USB testing driver (CONFIG_USB_TEST)</p>
<p>For the device, there are several options, but the simplest seem to be to find some hardware capable of being a USB Device (&#8220;Gadget&#8221;) and of running Linux (of course, if you are developing a driver for a UDC, then the test gadget is the gadget you are writing the UDC driver for). The gadget kernel should then be configured with</p>
<p>Device drivers -&gt; USB support -&gt; USB Gadget Support -&gt; USB Gadget Drivers -&gt; Gadget Zero (CONFIG_USB_ZERO)</p>
<p>You then need to visit <a href="http://www.linux-usb.org/usbtest/">http://www.linux-usb.org/usbtest/</a> and download the testusb.c program and the test.sh shell script. For a simple test, build testusb.c on your host and hook up your gadget. Then run</p>
<p>./testusb -a</p>
<p>&#8230; and wait a few minutes. (Test 14 might fail due to a bug in the test itself; you may need to specify the &#8220;vary&#8221; parameter for this test to pass.)</p>
<p>If everything seems fine, well, it&#8217;s too soon to congratulate yourself. The usbtest homepage above explains how to use the test.sh script to really excercise your hardware and software.</p>
<p>If you DO find problems, you need to start looking into the source code of the test program and kernel to find out what goes wrong.</p>
<p>A great help in finding out what goes wrong is the usbmon interface, with in-kernel documentation at</p>
<p>Documentation/usb/usbmon.txt</p>
<p>Also, don&#8217;t forget the Linux USB maillist, where you can ask incredibly knowledgeable people (the people who wrote the code <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ) what is going on. Information about the linux-usb maillist can be found at</p>
<p><a title="http://vger.kernel.org/vger-lists.html#linux-usb" href="http://vger.kernel.org/vger-lists.html#linux-usb">http://vger.kernel.org/vger-lists.html#linux-usb</a></p>
<p><em>Arvid Brodin</em><br />
<em>Linux developer</em><br />
<em>Enea Experts Stockholm</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/embeddedlinuxenea.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/embeddedlinuxenea.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/embeddedlinuxenea.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/embeddedlinuxenea.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/embeddedlinuxenea.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/embeddedlinuxenea.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/embeddedlinuxenea.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/embeddedlinuxenea.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/embeddedlinuxenea.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/embeddedlinuxenea.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/embeddedlinuxenea.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/embeddedlinuxenea.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/embeddedlinuxenea.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/embeddedlinuxenea.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=embeddedlinuxenea.wordpress.com&amp;blog=23219115&amp;post=29&amp;subd=embeddedlinuxenea&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://embeddedlinuxenea.wordpress.com/2011/09/11/some-notes-on-usb-device-driver-development-and-debugging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6d5fc98a5caa24d04f1acc3987121f4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">embeddedlinuxenea</media:title>
		</media:content>
	</item>
		<item>
		<title>New article by Anders Törnqvist</title>
		<link>http://embeddedlinuxenea.wordpress.com/2011/06/28/new-article-by-anders-tornqvist/</link>
		<comments>http://embeddedlinuxenea.wordpress.com/2011/06/28/new-article-by-anders-tornqvist/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 08:43:37 +0000</pubDate>
		<dc:creator>embeddedlinuxenea</dc:creator>
				<category><![CDATA[Anders Törnqvist]]></category>

		<guid isPermaLink="false">http://embeddedlinuxenea.wordpress.com/?p=20</guid>
		<description><![CDATA[The Enea Experts Embedded Linux Hub is proud to have Anders Törnqvist contributing with recurring articles on interesting and current topics in the field of embedded Linux. This time Anders presents a Linux system overview. The article can be found on the Enea Experts Embedded Linux Hub webpage. A previous article in this series discussed Linux and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=embeddedlinuxenea.wordpress.com&amp;blog=23219115&amp;post=20&amp;subd=embeddedlinuxenea&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The Enea Experts Embedded Linux Hub is proud to have Anders Törnqvist contributing with recurring articles on interesting and current topics in the field of embedded Linux.</p>
<p>This time Anders presents a <a title="Linux system overview" href="http://eneaexperts.se/docs/Linux%20system%20overview.pdf">Linux system overview</a>. The article can be found on the Enea Experts <a title="Embedded Linux Hub" href="http://eneaexperts.se/embedded-linux-hub.html">Embedded Linux Hub </a>webpage. A previous article in this series discussed <a title="Linux and other FOSS in embedded systems" href="http://eneaexperts.se/docs/Linux%20and%20other%20FOSS%20in%20embedded%20systems.pdf">Linux and other FOSS in embedded systems</a>.</p>
<p>Anders&#8217; articles will be recurring monthly throughout the year, so make sure to check back in for more!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/embeddedlinuxenea.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/embeddedlinuxenea.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/embeddedlinuxenea.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/embeddedlinuxenea.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/embeddedlinuxenea.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/embeddedlinuxenea.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/embeddedlinuxenea.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/embeddedlinuxenea.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/embeddedlinuxenea.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/embeddedlinuxenea.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/embeddedlinuxenea.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/embeddedlinuxenea.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/embeddedlinuxenea.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/embeddedlinuxenea.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=embeddedlinuxenea.wordpress.com&amp;blog=23219115&amp;post=20&amp;subd=embeddedlinuxenea&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://embeddedlinuxenea.wordpress.com/2011/06/28/new-article-by-anders-tornqvist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6d5fc98a5caa24d04f1acc3987121f4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">embeddedlinuxenea</media:title>
		</media:content>
	</item>
		<item>
		<title>Welcome!</title>
		<link>http://embeddedlinuxenea.wordpress.com/2011/05/23/welcome/</link>
		<comments>http://embeddedlinuxenea.wordpress.com/2011/05/23/welcome/#comments</comments>
		<pubDate>Mon, 23 May 2011 06:17:55 +0000</pubDate>
		<dc:creator>embeddedlinuxenea</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://embeddedlinuxenea.wordpress.com/?p=13</guid>
		<description><![CDATA[This blog will be maintained by the Embedded Linux Expert Hub, which collects employees of Enea Experts that work with Embedded Linux and open source software each day, professionally and as an personal interest. We will try to share some of our thoughts and experiences on the subject, describe current and topical stories and problems, as well as [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=embeddedlinuxenea.wordpress.com&amp;blog=23219115&amp;post=13&amp;subd=embeddedlinuxenea&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This blog will be maintained by the <a title="Embedded Linux Expert Hub" href="http://www.eneaexperts.se/embedded-linux-hub.html">Embedded Linux Expert Hub</a>, which collects employees of <a title="Enea Experts" href="http://www.eneaexperts.se">Enea Experts</a> that work with Embedded Linux and open source software each day, professionally and as an personal interest.</p>
<p>We will try to share some of our thoughts and experiences on the subject, describe current and topical stories and problems, as well as provide you with tips for upcoming events and seminars etc.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/embeddedlinuxenea.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/embeddedlinuxenea.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/embeddedlinuxenea.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/embeddedlinuxenea.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/embeddedlinuxenea.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/embeddedlinuxenea.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/embeddedlinuxenea.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/embeddedlinuxenea.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/embeddedlinuxenea.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/embeddedlinuxenea.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/embeddedlinuxenea.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/embeddedlinuxenea.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/embeddedlinuxenea.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/embeddedlinuxenea.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=embeddedlinuxenea.wordpress.com&amp;blog=23219115&amp;post=13&amp;subd=embeddedlinuxenea&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://embeddedlinuxenea.wordpress.com/2011/05/23/welcome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6d5fc98a5caa24d04f1acc3987121f4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">embeddedlinuxenea</media:title>
		</media:content>
	</item>
	</channel>
</rss>
