<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=2050&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Odroid XU4 with ASCII RC - USB/net problem]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=2050</link>
		<description><![CDATA[The most recent posts in Odroid XU4 with ASCII RC - USB/net problem.]]></description>
		<lastBuildDate>Wed, 13 Oct 2021 21:38:29 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Odroid XU4 with ASCII RC - USB/net problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32076#p32076</link>
			<description><![CDATA[<p>Maybe <span class="bbu"><a href="https://dev1galaxy.org/viewtopic.php?id=3351" rel="nofollow">this thread</a></span> would help.</p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Wed, 13 Oct 2021 21:38:29 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32076#p32076</guid>
		</item>
		<item>
			<title><![CDATA[Re: Odroid XU4 with ASCII RC - USB/net problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32074#p32074</link>
			<description><![CDATA[<p>It&#039;s been a while since I installed Devuan on my XU4 but the good news is that it does work! I&#039;m running Beowulf but with the latest kernel from backports - the last couple of versions of that seem to have finally solved the USB problems I was having. </p><p>How I got there is a bit of a memory test as it was a while ago. I ended up building u-boot from Debian along with the Odroid specific bits and tftp booting the Debian installer over the LAN. Things that helped at the time were setting net.ifnames=0 in the kernel cmdline to get sensible interface names. Having a serial interface to get a console (and a lot of patience) helped! Once I&#039;d got Debian running I converted to Devuan. </p><p>I don&#039;t know if there&#039;s a current image available, I can&#039;t see anything in <br /><a href="https://pkgmaster.devuan.org/devuan/dists/beowulf/main/installer-armhf/current/images/" rel="nofollow">https://pkgmaster.devuan.org/devuan/dis … nt/images/</a></p>]]></description>
			<author><![CDATA[dummy@example.com (ubik)]]></author>
			<pubDate>Wed, 13 Oct 2021 20:15:40 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32074#p32074</guid>
		</item>
		<item>
			<title><![CDATA[Re: Odroid XU4 with ASCII RC - USB/net problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32072#p32072</link>
			<description><![CDATA[<p>Sorry for the necro-posting but does it really exist a Devuan image for this board?</p>]]></description>
			<author><![CDATA[dummy@example.com (Danielsan)]]></author>
			<pubDate>Wed, 13 Oct 2021 19:09:12 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32072#p32072</guid>
		</item>
		<item>
			<title><![CDATA[Re: Odroid XU4 with ASCII RC - USB/net problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10453#p10453</link>
			<description><![CDATA[<p>I read the same thing from your output.</p><p>Here is the output from mine</p><div class="codebox"><pre><code>T:  Bus=06 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=5000 MxCh= 0
D:  Ver= 3.00 Cls=00(&gt;ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs=  2
P:  Vendor=0bda ProdID=8153 Rev=30.00
S:  Manufacturer=Realtek
S:  Product=USB 10/100/1000 LAN
S:  SerialNumber=000001000000
C:  #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=256mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=00 Driver=r8152</code></pre></div><p>If it came down to configs, I could provide what my setup is using to see if you can adjust on your end.</p>]]></description>
			<author><![CDATA[dummy@example.com (M0E-lnx)]]></author>
			<pubDate>Wed, 27 Jun 2018 20:45:11 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10453#p10453</guid>
		</item>
		<item>
			<title><![CDATA[Re: Odroid XU4 with ASCII RC - USB/net problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10450#p10450</link>
			<description><![CDATA[<p>Hi,</p><p>Thanks for the reply. Re-flashing with the release version of Ascii doesn&#039;t seem to have made any difference. Running usb-devices gives:</p><div class="codebox"><pre class="vscroll"><code>root@devuan:~# usb-devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 3
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=04.14
S:  Manufacturer=Linux 4.14.48 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=12110000.usb
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 3
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev=04.14
S:  Manufacturer=Linux 4.14.48 ohci_hcd
S:  Product=USB Host Controller
S:  SerialNumber=12120000.usb
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 1
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=04.14
S:  Manufacturer=Linux 4.14.48 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=xhci-hcd.2.auto
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 1
D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev=04.14
S:  Manufacturer=Linux 4.14.48 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=xhci-hcd.2.auto
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=5000 MxCh= 2
D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=05e3 ProdID=0616 Rev=22.23
S:  Manufacturer=GenesysLogic
S:  Product=USB3.0 Hub
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 1
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=04.14
S:  Manufacturer=Linux 4.14.48 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=xhci-hcd.5.auto
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=05 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.10 Cls=00(&gt;ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  2
P:  Vendor=0bda ProdID=8153 Rev=30.00
S:  Manufacturer=Realtek
S:  Product=USB 10/100/1000 LAN
S:  SerialNumber=000001000000
C:  #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=180mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=00 Driver=r8152

T:  Bus=06 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 1
D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev=04.14
S:  Manufacturer=Linux 4.14.48 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=xhci-hcd.5.auto
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub</code></pre></div><p>I think that still shows the network interface appearing on the 480M Bus05 rather than the 5000M Bus06.</p><p>The board is in a custom case but it&#039;s certainly not been mangled. I did boot a Debian image and the network came up with no problems so I was assuming that the hardware was ok.</p><p>I think it&#039;s a Devuan problem rather than hardware but I could be wrong. My guess is that something is mixed up in the device tree blob (the bit of the bootloader that defines the hardware configuration) but I&#039;ve not had the time to read up on that to figure out how that bit works.</p><p>ifconfig only shows the loopback interface:</p><div class="codebox"><pre><code>root@devuan:~# ifconfig
lo: flags=73&lt;UP,LOOPBACK,RUNNING&gt;  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10&lt;host&gt;
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0</code></pre></div><p>and trying to bring up the interface gives:</p><div class="codebox"><pre><code>root@devuan:~# ifup eth0
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Cannot find device &quot;eth0&quot;
Failed to get interface index: No such device

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging..

exiting.
ifup: failed to bring up eth0</code></pre></div><p>It&#039;s the lack of the interface that makes me suspect that the USB is confused.</p>]]></description>
			<author><![CDATA[dummy@example.com (ubik)]]></author>
			<pubDate>Wed, 27 Jun 2018 19:50:48 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10450#p10450</guid>
		</item>
		<item>
			<title><![CDATA[Re: Odroid XU4 with ASCII RC - USB/net problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10448#p10448</link>
			<description><![CDATA[<p>Hi Ubik<br />I have this same board, but mine runs a heavily modified ubuntu xenial.</p><p>I wonder if you have this board in a case or maybe have accidentally pressed on these ports the wrong way (as in breaking off the board almost).&#160; If you&#039;re sure that&#039;s not the case, then there is a couple of things you can try.&#160; To start off, see if you have a </p><div class="codebox"><pre><code>usb-devices</code></pre></div><p> command available and post the output here if you do.</p>]]></description>
			<author><![CDATA[dummy@example.com (M0E-lnx)]]></author>
			<pubDate>Wed, 27 Jun 2018 17:48:03 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10448#p10448</guid>
		</item>
		<item>
			<title><![CDATA[Odroid XU4 with ASCII RC - USB/net problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8969#p8969</link>
			<description><![CDATA[<p>I&#039;m having a problem getting Devuan ASCII running on an Odroid XU4 (<a href="http://www.hardkernel.com/main/products/prdt_info.php?g_code=G143452239825" rel="nofollow">http://www.hardkernel.com/main/products … 3452239825</a>), I&#039;m not sure if I&#039;ve missed something obvious or if there&#039;s a problem with the image - I&#039;ve tried the ASCII beta and the RC. </p><p>I&#039;ve copied the image to an SD card and it boots but the network interface doesn&#039;t come up. </p><p>As far as I can tell something is getting confused with the USB and making the network interface appear on the wrong bus / wrong speed interface:</p><div class="codebox"><pre><code>root@devuan:~# lsusb -t
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M</code></pre></div><p>If I boot a Debian image and do the same thing the network works and the interface appears under the high speed Bus 06 entry rather than the 480M Bus 05 entry. </p><p>When running the Devuan ASCII image I tried plugging in other USB devices to see if I can get something to work, the USB2 interface responds with a &quot;New USB device found&quot; message on the console, the upper USB3 port doesn&#039;t show any sign of recognising that something has been connected and the lower USB3 port gave an error when I plugged in a disk:</p><div class="codebox"><pre><code>[  141.349656] usb usb3-port1: Cannot enable. Maybe the USB cable is bad?
[  142.319857] usb usb3-port1: Cannot enable. Maybe the USB cable is bad?
[  143.279971] usb usb3-port1: Cannot enable. Maybe the USB cable is bad?
[  144.241201] usb usb3-port1: Cannot enable. Maybe the USB cable is bad?
[  144.248239] usb 3-1: USB disconnect, device number 2
[  148.321980] usb usb3-port1: connect-debounce failed</code></pre></div><p>The gigabit network interface is the third USB3 device. </p><p>I&#039;m connecting to the XU4 with a serial adapter connected to the UART.</p><p>Is it something I&#039;ve done or is it a bug? </p><p>If there&#039;s any other info that would help let me know.</p><p>Thanks.</p>]]></description>
			<author><![CDATA[dummy@example.com (ubik)]]></author>
			<pubDate>Thu, 10 May 2018 18:36:58 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8969#p8969</guid>
		</item>
	</channel>
</rss>
