<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Avoiding reboot: Resetting USB on a Linux machine</title>
	<atom:link href="http://billauer.co.il/blog/2013/02/usb-reset-ehci-uhci-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://billauer.co.il/blog/2013/02/usb-reset-ehci-uhci-linux/</link>
	<description>Anything I found worthy to write down.</description>
	<lastBuildDate>Tue, 14 Sep 2021 21:10:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Paddy</title>
		<link>http://billauer.co.il/blog/2013/02/usb-reset-ehci-uhci-linux/comment-page-2/#comment-1543</link>
		<dc:creator>Paddy</dc:creator>
		<pubDate>Sun, 02 May 2021 07:22:48 +0000</pubDate>
		<guid isPermaLink="false">http://billauer.co.il/blog/?p=3422#comment-1543</guid>
		<description>I&#039;ve been having USB issues for months, and this one script works to fix them all! Amazing, thankyou so much!</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been having USB issues for months, and this one script works to fix them all! Amazing, thankyou so much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens</title>
		<link>http://billauer.co.il/blog/2013/02/usb-reset-ehci-uhci-linux/comment-page-2/#comment-1540</link>
		<dc:creator>Jens</dc:creator>
		<pubDate>Wed, 24 Mar 2021 11:34:04 +0000</pubDate>
		<guid isPermaLink="false">http://billauer.co.il/blog/?p=3422#comment-1540</guid>
		<description>Many thanks for the usbreset script! I have been looking for a solution for a once and then hanging built-in usb-hub for a very long time now and have finally found it here.</description>
		<content:encoded><![CDATA[<p>Many thanks for the usbreset script! I have been looking for a solution for a once and then hanging built-in usb-hub for a very long time now and have finally found it here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eli</title>
		<link>http://billauer.co.il/blog/2013/02/usb-reset-ehci-uhci-linux/comment-page-2/#comment-1531</link>
		<dc:creator>eli</dc:creator>
		<pubDate>Tue, 19 Jan 2021 11:19:15 +0000</pubDate>
		<guid isPermaLink="false">http://billauer.co.il/blog/?p=3422#comment-1531</guid>
		<description>The reason it doesn&#039;t work on Raspberry Pi is that this script relies on that the USB host controllers are PCI (or PCIe) devices, and hence their drivers can be bound and unbound to these devices in /sys/bus/pci/drivers/.

I suggest looking for the relevant /sys/bus/ location on your device. The path should be quite similar.</description>
		<content:encoded><![CDATA[<p>The reason it doesn&#8217;t work on Raspberry Pi is that this script relies on that the USB host controllers are PCI (or PCIe) devices, and hence their drivers can be bound and unbound to these devices in /sys/bus/pci/drivers/.</p>
<p>I suggest looking for the relevant /sys/bus/ location on your device. The path should be quite similar.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://billauer.co.il/blog/2013/02/usb-reset-ehci-uhci-linux/comment-page-2/#comment-1530</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Tue, 19 Jan 2021 09:47:50 +0000</pubDate>
		<guid isPermaLink="false">http://billauer.co.il/blog/?p=3422#comment-1530</guid>
		<description>None of these work on raspberry pi, I have both directories on Raspberry Pi, also tried python script, but I guess it detects four times the same vid,pid combination and that is why it fails to reset anything, at least for stlink v2 programmers. I use 4 of them, vid 0x0483,pid 0x3748, the same on each of them. I can distinguisg them by commandline stm8flash -S serial number option. The only solution I think there is to power cycle each one separetly .  Power cycling on usb hub doesn&#039;t work neither. Newest firmware loaded in to stlinks.</description>
		<content:encoded><![CDATA[<p>None of these work on raspberry pi, I have both directories on Raspberry Pi, also tried python script, but I guess it detects four times the same vid,pid combination and that is why it fails to reset anything, at least for stlink v2 programmers. I use 4 of them, vid 0x0483,pid 0x3748, the same on each of them. I can distinguisg them by commandline stm8flash -S serial number option. The only solution I think there is to power cycle each one separetly .  Power cycling on usb hub doesn&#8217;t work neither. Newest firmware loaded in to stlinks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amir</title>
		<link>http://billauer.co.il/blog/2013/02/usb-reset-ehci-uhci-linux/comment-page-2/#comment-1523</link>
		<dc:creator>Amir</dc:creator>
		<pubDate>Fri, 09 Oct 2020 16:42:33 +0000</pubDate>
		<guid isPermaLink="false">http://billauer.co.il/blog/?p=3422#comment-1523</guid>
		<description>Amazing! Thanks!</description>
		<content:encoded><![CDATA[<p>Amazing! Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://billauer.co.il/blog/2013/02/usb-reset-ehci-uhci-linux/comment-page-2/#comment-1522</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Fri, 02 Oct 2020 14:06:54 +0000</pubDate>
		<guid isPermaLink="false">http://billauer.co.il/blog/?p=3422#comment-1522</guid>
		<description>Working on Linux MX19 dual boot with Windows 10 and I can finally just do a reboot without the need to power off to get USB-Ethernet-adapter to work. 

THANK YOU!</description>
		<content:encoded><![CDATA[<p>Working on Linux MX19 dual boot with Windows 10 and I can finally just do a reboot without the need to power off to get USB-Ethernet-adapter to work. </p>
<p>THANK YOU!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Florian Hillen</title>
		<link>http://billauer.co.il/blog/2013/02/usb-reset-ehci-uhci-linux/comment-page-2/#comment-1512</link>
		<dc:creator>Florian Hillen</dc:creator>
		<pubDate>Wed, 15 Jul 2020 06:04:35 +0000</pubDate>
		<guid isPermaLink="false">http://billauer.co.il/blog/?p=3422#comment-1512</guid>
		<description>Many thanks, all ports are working again. It fixes my most frequent reason to reboot!</description>
		<content:encoded><![CDATA[<p>Many thanks, all ports are working again. It fixes my most frequent reason to reboot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred Koschara</title>
		<link>http://billauer.co.il/blog/2013/02/usb-reset-ehci-uhci-linux/comment-page-2/#comment-1474</link>
		<dc:creator>Fred Koschara</dc:creator>
		<pubDate>Sat, 25 Jan 2020 02:25:45 +0000</pubDate>
		<guid isPermaLink="false">http://billauer.co.il/blog/?p=3422#comment-1474</guid>
		<description>Many thanks for your script!  It saved me immense grief when all of my USB devices went dark on my Ubuntu 16.04 system with lots of unsaved work.  Unplugging and replugging everything hadn&#039;t had any effect, and the system put up a dialog advising me I had files open and how did I want to restart that I couldn&#039;t dispatch because the mouse didn&#039;t work!  I ssh&#039;d in from a laptop, and your script brought my desktop back to life - WHEW!!

Again, many thanks!!

Happy New Year - 2020, &quot;the year of perfect vision&quot;</description>
		<content:encoded><![CDATA[<p>Many thanks for your script!  It saved me immense grief when all of my USB devices went dark on my Ubuntu 16.04 system with lots of unsaved work.  Unplugging and replugging everything hadn&#8217;t had any effect, and the system put up a dialog advising me I had files open and how did I want to restart that I couldn&#8217;t dispatch because the mouse didn&#8217;t work!  I ssh&#8217;d in from a laptop, and your script brought my desktop back to life &#8211; WHEW!!</p>
<p>Again, many thanks!!</p>
<p>Happy New Year &#8211; 2020, &#8220;the year of perfect vision&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steven</title>
		<link>http://billauer.co.il/blog/2013/02/usb-reset-ehci-uhci-linux/comment-page-2/#comment-1456</link>
		<dc:creator>steven</dc:creator>
		<pubDate>Mon, 02 Dec 2019 07:17:41 +0000</pubDate>
		<guid isPermaLink="false">http://billauer.co.il/blog/?p=3422#comment-1456</guid>
		<description>Hi, i&#039;ve been finding ways to reset USB without rebooting/physical reconnect and managed to stumble upon yours. It works wonder on uBuntu 16.04!!!

However, when i tried on a Nano Jetson, which is a arm64 architecture, the directory /sys/bus/pci/drivers/?hci_hcd do not work as the USB file was not in it BUT i do found out the directory of the USB itself.

By changing: 
&#039;/sys/bus/pci/drivers/?hci_hcd&#039; to &#039;/sys/bus/usb/drivers/usb&#039; 
and 
&#039;for i in ????:??:??.? ; do&#039; to  &#039;for i in usb? ; do&#039;
it works on both amd64 and arm64 now.</description>
		<content:encoded><![CDATA[<p>Hi, i&#8217;ve been finding ways to reset USB without rebooting/physical reconnect and managed to stumble upon yours. It works wonder on uBuntu 16.04!!!</p>
<p>However, when i tried on a Nano Jetson, which is a arm64 architecture, the directory /sys/bus/pci/drivers/?hci_hcd do not work as the USB file was not in it BUT i do found out the directory of the USB itself.</p>
<p>By changing:<br />
&#8216;/sys/bus/pci/drivers/?hci_hcd&#8217; to &#8216;/sys/bus/usb/drivers/usb&#8217;<br />
and<br />
&#8216;for i in ????:??:??.? ; do&#8217; to  &#8216;for i in usb? ; do&#8217;<br />
it works on both amd64 and arm64 now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus</title>
		<link>http://billauer.co.il/blog/2013/02/usb-reset-ehci-uhci-linux/comment-page-2/#comment-1414</link>
		<dc:creator>Marcus</dc:creator>
		<pubDate>Tue, 02 Apr 2019 05:33:17 +0000</pubDate>
		<guid isPermaLink="false">http://billauer.co.il/blog/?p=3422#comment-1414</guid>
		<description>Great, thank you! Works perfectly with Manjaro KDE.</description>
		<content:encoded><![CDATA[<p>Great, thank you! Works perfectly with Manjaro KDE.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
