<?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>Ad Terras Per Aspera &#187; Firewire</title>
	<atom:link href="http://adterrasperaspera.com/blog/category/firewire/feed" rel="self" type="application/rss+xml" />
	<link>http://adterrasperaspera.com/blog</link>
	<description>Transmissions from the Little Blue Marble</description>
	<lastBuildDate>Tue, 27 Sep 2011 13:27:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Linux layer 2 bridging can&#8217;t do Firewire</title>
		<link>http://adterrasperaspera.com/blog/2011/08/05/linux-layer-2-bridging-cant-do-firewire</link>
		<comments>http://adterrasperaspera.com/blog/2011/08/05/linux-layer-2-bridging-cant-do-firewire#comments</comments>
		<pubDate>Fri, 05 Aug 2011 07:40:32 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Firewire]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/?p=1352</guid>
		<description><![CDATA[Well, it seems and the Linux kernel can&#8217;t bridge dissimilar network types, which means I can&#8217;t bridge Ethernet and Firewire (workaround until I replace my NIC in my desktop because it fried, having my laptop route for my desktop). My laptop&#8217;s IP is 192.168.2.4 My desktop&#8217;s IP is 192.168.2.2 My router&#8217;s IP is 192.168.2.1 So, [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it seems and the Linux kernel can&#8217;t bridge dissimilar network types, which means I can&#8217;t bridge Ethernet and Firewire (workaround until I replace my NIC in my desktop because it fried, having my laptop route for my desktop).</p>
<p>My laptop&#8217;s IP is 192.168.2.4<br />
My desktop&#8217;s IP is 192.168.2.2<br />
My router&#8217;s IP is 192.168.2.1</p>
<p>So, the work around seems to be this&#8230;</p>
<p>On the laptop, with eth0 already up:<br />
<code>ifconfig firewire0 up 192.168.2.4<br />
route del -net 192.168.2.0 netmask 255.255.255.0 dev firewire0<br />
route add -host 192.168.2.2 dev firewire0<br />
iptables -F<br />
iptables -P FORWARD ACCEPT<br />
echo 1 > /proc/sys/net/ipv4/conf/all/forwarding<br />
</code></p>
<p>On the desktop:<br />
<code>ifconfig firewire0 up 192.168.2.2<br />
route add default gw 192.168.2.1</code></p>
<p>To make this permanent, you would edit <code>/etc/networking/interfaces</code> like this&#8230;</p>
<p>On the laptop:<br />
<code>auto eth0<br />
iface eth0 inet static<br />
address 192.168.2.4<br />
netmask 255.255.255.0<br />
broadcast 192.168.2.255<br />
gateway 192.168.2.1<br />
post-up ifconfig firewire0 down<br />
post-up ifconfig firewire0 up 192.168.2.4<br />
post-up route del -net 192.168.2.0 netmask 255.255.255.0 dev firewire0<br />
post-up route add -host 192.168.2.2 dev firewire0<br />
post-up iptables -F<br />
post-up iptables -P FORWARD ACCEPT<br />
post-up echo 1 > /proc/sys/net/ipv4/conf/all/forwarding</code></p>
<p>On the desktop:<br />
<code>auto eth0<br />
iface firewire0 inet static<br />
address 192.168.2.2<br />
netmask 255.255.255.0<br />
broadcast 192.168.2.255<br />
gateway 192.168.2.1<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2011/08/05/linux-layer-2-bridging-cant-do-firewire/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Powered USB Is Needed, Part 3: USB 3?</title>
		<link>http://adterrasperaspera.com/blog/2007/04/02/why-powered-usb-is-needed-part-3-usb-3</link>
		<comments>http://adterrasperaspera.com/blog/2007/04/02/why-powered-usb-is-needed-part-3-usb-3#comments</comments>
		<pubDate>Mon, 02 Apr 2007 09:47:17 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Firewire]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/2007/04/02/why-powered-usb-is-needed-part-3-usb-3/</guid>
		<description><![CDATA[This article describes a version of USB that is not related to the new USB 3 spec that Intel has released for 2010 products I originally planned the Powered USB article as two parts, one explaining why USB took off, and another explaining why USB isn&#8217;t the best solution because it can&#8217;t power large devices [...]]]></description>
			<content:encoded><![CDATA[<p><b>This article describes a version of USB that is not related to the new USB 3 spec that Intel has released for 2010 products</b></p>
<p>I originally planned the Powered USB article as two parts, <a href="http://adterrasperaspera.com/blog/2007/03/29/why-powered-usb-is-needed-part-1-the-short-history-of-usb/">one explaining why USB took off</a>, and <a href="http://adterrasperaspera.com/blog/2007/03/30/why-powered-usb-is-needed-part-2-the-future-of-usb/">another explaining why USB isn&#8217;t the best solution because it can&#8217;t power large devices</a> plus why Powered USB isn&#8217;t the greatest solution either because it isn&#8217;t in consumer electronics yet and has the different plugs for different voltages issue as well.</p>
<p>What I didn&#8217;t plan on was all the Firewire fans popping up and saying I was wrong for pushing a Powered USB/USB 3 combo. For the record, I&#8217;m also a Firewire fan but haven&#8217;t gone to the fanatical levels some people have. Part 3 is for you guys.</p>
<p><span id="more-567"></span></p>
<p><strong>Note</strong>: I originally intended for USB 3 and New Powered USB to be separate standards, allowing devices to use one or both (but New Powered USB would require USB 3 to negotiate for power usage). The way I will describe this possible future USB 3 in part 3 is basically folding the new data features into the New Powered USB part of the plug to remain compatible with USB 2 hosts/devices/hubs.</p>
<p>The problem with traditional USB is because:</p>
<ol>
<li>It&#8217;s slow.</li>
<li>Can&#8217;t allow devices to perform the DMA-like transfer method Firewire does<sup>1</sup>.</li>
<li>It&#8217;s slow.</li>
<li>Uses polling to transfer data, thus eats CPU time like mad.</li>
<li>It&#8217;s slow.</li>
<li>Future USB specifications cannot perform interrupts to signal for the host to acquire new data, and can only use polling.</li>
<li>It&#8217;s slow.</li>
</ol>
<p>Even with these problems, I can still say future USB products look promising because the reason I chose a formalized New Powered USB specification combined with a future USB 3 specification is because almost everyone has USB ports, and it has become the ubiquitous peripheral port on all sorts of devices. Not all devices come in Firewire versions, and not all computers have Firewire ports.</p>
<p><strong>The Proposed USB 3.0 Specification Checklist</strong></p>
<p>USB is being held back by the fact it can&#8217;t perform interrupts. USB 3 cannot just add it in the normal USB host interface stack: USB was never designed for it, and you can&#8217;t just add it as a feature that can be negotiated between host and client. It wouldn&#8217;t work.</p>
<p>However, what <em>would</em> work is adding a second new interface that is slaved to the first: allow USB 3 devices to negotiate to use this new second interface, and allow the second interface to work independently of the original legacy interface. This secondary interface could not only perform interrupts, but be able to do anything USB 2 is missing.</p>
<p>There are two reasons you need the independency: one, USB 3 hubs need to be able to transfer data from both legacy USB 2 devices and USB 3 devices (all the USB 2 data will be going across the legacy bus independently of USB 3 data); and two, USB 3 devices will no longer be using the legacy interface for any data transferring once the negotiation is complete. The legacy interface will act as an out-of-band interface for non-important USB-related traffic (such as for re-negotiation, or for negotiation of/for USB 3 clients plugged into USB 3 hubs, or for just telling the host it&#8217;s still plugged in).</p>
<p>This second interface, since it is now independent, can virtually use any protocol it wishes. If the USB Working Group so decided, they could run Firewire unmodified over this second interface. The possibilities are endless. Most likely, it&#8217;d be some USB-IF designed Firewire clone.</p>
<p>There is something else I need to add to this checklist: USB 2 legacy communicaiton with USB 3 hosts and clients. As I said, USB 3 devices would have to negotiate to use the secondary interface, but what happens if either the host, client, or hub rejects this?</p>
<p>USB 3 clients will have to be able to do their work as standard USB 2 devices. Obviously, high bandwidth applications would run a lot slower, DV devices might not be able to be used in real-time, and Powered USB power features couldn&#8217;t be negotiated for (most likely the USB 2 client/host/hub would be using a normal USB plug in the first place). USB 3 hubs connected to USB 2 hosts would have to reject USB 3 connections as well and tell any USB 3 clients connected to the hub to run in USB 2 mode.</p>
<p><strong>More pins doesn&#8217;t exactly mean a new data connector</strong></p>
<p>Of course, this second interface requires more pins, yet has to stay compatible with the old USB plug. Frankly, doing what Firewire 800 did (adding a 9-pin socket/plug that requires an adapter to plug 6-pin devices/plug into 6-pin hosts) is possibly a bad idea as it requires people to have yet another small part that is easy to lose. Adapter dongles and short adapter cables suck.</p>
<p>The idea I&#8217;ve been playing around with is to attach these new pins to the consumer-friendly New Powered USB plug I hinted at in part 2 of this article. Just add, say, four or six pins to the outside of the plug&#8217;s inner column like how Type B USB plugs work now, while leaving the power pins on the inside of the column like the are in the original design. Remember, these pins are for data only, all three Firewire plug designs only use two pairs for data.</p>
<p>However the plug actually gets designed, I don&#8217;t care; it just has to be done in a way that doesn&#8217;t interfere with the legacy USB plug. Putting the new data pins in the New Powered USB half of the connector seems to be the ideal way of solving this without going Firewire&#8217;s route.</p>
<p><strong>So thats it? Just clone Firewire&#8217;s features?</strong></p>
<p>The two main things that Firewire has over USB at this time is the fact that Firewire devices can use interrupts (which, if you haven&#8217;t figured it out yet, is causing Firewire 400 to actually hit 400mbps, and USB2 to hit about half of it&#8217;s 480mbps), and the fact that Firewire can power devices that are more power hungy, is why, in theory, Firewire is the better bus.</p>
<p>But as I said before, USB is the defacto standard for peripheral communication, and Firewire is in far fewer devices, and some computers don&#8217;t even have Firewire ports. As much as I&#8217;d like to see Firewire kill USB, it is not going to happen any time soon.</p>
<p>So yes, what I&#8217;m saying is USB 3&#8242;s secondary interface <em>has</em> to either copy Firewire&#8217;s features or use Firewire directly. Firewire can&#8217;t kill USB, USB is having a hard time killing Firewire, so the only way I see this problem being solved is by allowing USB 3 to do everything Firewire does now while still remaining compatible with USB 2 devices and hosts.</p>
<p><sub>[1]: On some platforms it really does turn into a PCI DMA and allows you to read/write part or all of the system memory, such as for live debugging purposes on another machine. I&#8217;d like to see this on USB 3 as well.</sub></p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2007/04/02/why-powered-usb-is-needed-part-3-usb-3/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Why Powered USB Is Needed, Part 2: The Future of USB</title>
		<link>http://adterrasperaspera.com/blog/2007/03/30/why-powered-usb-is-needed-part-2-the-future-of-usb</link>
		<comments>http://adterrasperaspera.com/blog/2007/03/30/why-powered-usb-is-needed-part-2-the-future-of-usb#comments</comments>
		<pubDate>Fri, 30 Mar 2007 06:26:12 +0000</pubDate>
		<dc:creator>Patrick McFarland</dc:creator>
				<category><![CDATA[Firewire]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://adterrasperaspera.com/blog/2007/03/30/why-powered-usb-is-needed-part-2-the-future-of-usb/</guid>
		<description><![CDATA[This article describes a version of USB that is not related to the new USB 3 spec that Intel has released for 2010 products The Universal Serial Bus, or USB, is right now the most common serial peripheral bus in existence. Allowing all the most common devices to connect to your computer, to each other, [...]]]></description>
			<content:encoded><![CDATA[<p><b>This article describes a version of USB that is not related to the new USB 3 spec that Intel has released for 2010 products</b></p>
<p>The Universal Serial Bus, or USB, is right now the most common serial peripheral bus in existence. Allowing all the most common devices to connect to your computer, to each other, through hubs, and now even wireless USB has become the dominant method of low bandwidth communications between devices and their peripherals.</p>
<p>However, USB is not without flaws, in fact, it has tons of issues that other less accepted standards have already solved, and USB has either not solved them or solved them only recently. One of those problems is that, although USB does provide electrical power to peripherals, it is rarely enough to run devices that suck juice like no tomorrow. Powered USB exists to solve this problem.</p>
<p>I will tell you why Powered USB will never be widely accepted, and also why we need it. However, to do so, this article is split into <strike>two</strike> three parts: the first part discusses the history of USB and previous peripheral ports, and why it it became widely accepted, the second part contains the meat of my argument on why Powered USB is both needed, yet failing to be accepted, and the third part describes a possible future USB 3 specification in detail.</p>
<p>This is part 2. <a href="http://adterrasperaspera.com/blog/2007/03/29/why-powered-usb-is-needed-part-1-the-short-history-of-usb/">Part 1 is available here</a>, and <a href="http://adterrasperaspera.com/blog/2007/04/02/why-powered-usb-is-needed-part-3-usb-3/">part 3 is available here</a>.</p>
<p><span id="more-566"></span></p>
<p><b>Short Introduction to Powered USB</b></p>
<p>At the end of Part 1, I said USB does not provide enough power for certain devices, a total of 2.5 watts at 5 volts. This is enough for any device that uses little power: keyboards, mice, USB flash keys, etc, etc. Compared to Firewire 400, which can provide similar data transfer performance to USB 2.0, devices can use up to 45 watts at 30 volts.</p>
<p>Powered USB can output 144 watts at 24 volts, 72 watts at 12 volts, and 30 watts at 5 volts (all at 6 amps current), while Firewire does up to 45 watts at up to 30 volts (1.5 amps current), and USB 1.1 and 2.0 does  2.5 watts at 5 volts (500mA of current).</p>
<p>According to recent comments of this article, my original math was wrong: at 24 volts Powered USB only provides three times more power than Firewire, and at 5 volts Powered USB provides five times more power than normal USB.</p>
<p>In Firewire 400 against USB 2.0, Firewire comes out as the better bus for many devices due to the fact that it can supply enough power to, for example, run a two or three drive enclosure or an external DVD burner; not only that, it does perform better than USB 2.0 for data transfers due to the fact you can never get 480mbps transfers in the real world, only around 240 to 360mbps, whereas on Firewire 400 you really can get to 400mbps.</p>
<p>Firewire, for devices that require power and bandwidth, gives USB 2.0 a severe beat down but has trouble taking on Powered USB.</p>
<p>Don&#8217;t understand how much power 144 watts at 24 volts is? You can drive printers, scanners, large RAID enclosures, multiple DVD burners for parallel/mass burning, even medium sized LCD monitors. You could drive a pair of large speakers with this much power in addition to sending them digital sound to play.</p>
<p><img src="http://www.poweredusb.org/images/usbconn.jpg" />
<p>As you can see in the image, the top part of the plug is the power plug combined with the bottom part of the plug that is a standard USB data plug. This power plug&#8217;s power output not being standardized is where everything goes wrong.</p>
<p style="clear:both;"><strong>The plug did it with the crowbar in the library</strong></p>
<p>The Powered USB specification manages the second half of this (very ugly) plug, where all the extra power comes from. According to <a href="http://www.poweredusb.org/whatispusb.html">the specification</a>, you may have different layouts of power pins to supply 5, 12, or 24 volts, and each plug can only do one of the three.</p>
<p>Can you imagine how confusing this would be to end users? Powered USB has gone back to the days of having  incompatible but similar functioning ports on the same computer. Had problems telling your grandmother about PS/2 and SCSI ports, and why she can&#8217;t plug her printer into either? Now tell her why she can&#8217;t plug her PUSB-5v device into a PUSB-12v plug.</p>
<p>USB does need a powered extension to compete with and possibly eliminate Firewire. I have a dozen devices that have separate power cords and power bricks and it makes for cable spaghetti behind my computer. If all my devices supported some sane future form of Powered USB, I&#8217;d lose at least four or five of these power cords.</p>
<p><strong>So how can this be fixed?</strong></p>
<p>For New Powered USB to move forward to the home desktop, I envision that both the USB Working Group and the Powered USB Working Group needs to release new versions of their specifications. First, Powered USB needs a new version (lets call it New Powered USB): they have to standardize on one voltage. I suggest using 12 volts, or use a floating voltage design like Firewire does (12 to 30 volts instead of 30 volts fixed), as this would be most beneficial to devices that require high voltages.</p>
<p>Second, I suggest the USB Working Group should release USB 3.0 already. As I mentioned before in this article, Firewire 400 is marginally faster than USB 2.0, however what I did not mention is that Firewire 800 is about three times faster than USB 2.0 and is already available in a couple devices. I expect to be able to do at least 800mbps or 1600mbps of real performance (akin to USB 2.0&#8242;s 240-360mbps real performance) or even more.</p>
<p>Third, I suggest that power strips (the kind you plug your computer into) add USB to New Powered USB bridges that simply pass the USB data over, but add the power pins and power the devices directly from the power strip. Adding these plugs would allow people to power new devices with older computers or with smaller devices (ultra-small laptops, PDAs, etc) that can&#8217;t power devices on their own.</p>
<p>With these three suggestions, I can bet you that New Powered USB would become a common home standard, and at least part of the cable spaghetti problem would go away, and I can also bet you that Firewire might also disappear as well.</p>
<p><a href="http://adterrasperaspera.com/blog/2007/04/02/why-powered-usb-is-needed-part-3-usb-3/">Continue to part 3</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://adterrasperaspera.com/blog/2007/03/30/why-powered-usb-is-needed-part-2-the-future-of-usb/feed</wfw:commentRss>
		<slash:comments>70</slash:comments>
		</item>
	</channel>
</rss>

