<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<atom:link href="https://seanbehan.ca/posts/tag/usb/rss.xml" rel="self" type="application/rss+xml" />
		<title>Sean Behan — USB</title>
		<link>https://seanbehan.ca/posts/tag/usb</link>
		<description>Posts tagged “USB”.</description>
		<language>en-CA</language>
		<!-- RSS wants an address here and readers show the name beside it. -->
		<managingEditor>sean@seanbehan.ca (Sean Behan)</managingEditor>
		<webMaster>sean@seanbehan.ca (Sean Behan)</webMaster>
		<lastBuildDate>Mon, 24 Aug 2026 08:56:20 GMT</lastBuildDate>
		<item>
		<guid isPermaLink="true">https://seanbehan.ca/posts/usb-cable-testing</guid>
		<title><![CDATA[USB Cable Testing on Linux]]></title>
		<description><![CDATA[usbmon turns Wireshark into a cable tester, and finds retransmissions on cables that supposedly work.]]></description>
		<link>https://seanbehan.ca/posts/usb-cable-testing</link>
		<pubDate>Wed, 15 Apr 2026 07:11:06 GMT</pubDate>
		<category>usb</category><category>linux</category><category>wireshark</category><category>test</category>
		<content:encoded><![CDATA[<!--[--><p>I was interested in testing my USB cables that I know work, but wanted to see if they had any retransmission going on.</p> <p>Then today, I found out Linux has a kernel module that allows you to “monitor” usb interfaces. Like… using wireshark.</p> <p>I won’t explain how to set up wireshark for your distro, that’s for you to figure out.</p> <p>Once you have wireshark set up, you just <code>sudo modprobe usbmon</code> then <code>lsusb</code>.
Find the USB interface you want to monitor in the list, then select it when starting wireshark (gui).</p> <p>That’s about it… you can filter like this:</p> <!----><pre class="shiki shiki-themes github-light github-dark" style="--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e" tabindex="0"><code><span class="line"><span>usb.urb_status != 0 &#x26;&#x26; !(usb.urb_status == -115)</span></span></code></pre><!----> <p>Short post, but hope this helps you test your own USB cables for any errors that aren’t shown in dmesg, like failed packets.</p><!--]-->]]></content:encoded>
	</item>
	</channel>
</rss>