[ODROID C2] USB ports are (still?) not working properly


Recommended Posts

Hello,

I have installed Armbian Debian Stretch Next (mainline kernel) on my Odroid C2 and updated to newest version(apt update & apt upgrade).

Everything works fine except USB ports.

 

I have USB LTE modem which is not recognized. I have tried "lsusb -v" but with this modem not works.

But when I connect USB keyboard first then "lsusb -v" and next I connect LTE modem and type "lsusb -v" then it's works.

 

I also tried connecting USB LTE modem before Odroid C2 boot but this workaround not working.

 

Is there any workaround which not involving connecting more than one USB device?

 

Maybe usb kernel modules (usbcore, ehci_hcd, ...) compiled as external modules will help find workaround?

Edited by zanzibar
Link to post
Share on other sites
Donate and support the project!

Hi,

 

I've had similar problems with my C2. USB would not power up any device except the internal hub. The above workaroud seems to work for me.

Questions :

Considering this :

dmesg
[...]
[    2.804560] phy phy-c0000020.phy.1: Linked as a consumer to regulator.3
[    2.804955] dwc2 c9000000.usb: c9000000.usb supply vusb_d not found, using dummy regulator
[    2.805002] dwc2 c9000000.usb: Linked as a consumer to regulator.0
[    2.805009] dwc2 c9000000.usb: c9000000.usb supply vusb_a not found, using dummy regulator
[    2.806314] phy phy-c0000000.phy.0: USB ID detect failed!
[    2.806322] phy phy-c0000000.phy.0: phy poweron failed --> -22
[    2.806395] dwc2: probe of c9000000.usb failed with error -22
[    2.806604] dwc2 c9100000.usb: c9100000.usb supply vusb_d not found, using dummy regulator
[    2.806627] dwc2 c9100000.usb: Linked as a consumer to regulator.0
[    2.806633] dwc2 c9100000.usb: c9100000.usb supply vusb_a not found, using dummy regulator
[    2.867643] dwc2 c9100000.usb: dwc2_check_params: Invalid parameter lpm=1
[    2.867648] dwc2 c9100000.usb: dwc2_check_params: Invalid parameter lpm_clock_gating=1
[    2.867651] dwc2 c9100000.usb: dwc2_check_params: Invalid parameter besl=1
[    2.867655] dwc2 c9100000.usb: dwc2_check_params: Invalid parameter hird_threshold_en=1
[...]

I wonder if this patch is actually applied in the latest armbian version (I expect not seeing the latest github commit, but I can really tell)

https://patchwork.kernel.org/patch/10785943/

 

On a side note I also have another dmesg error but inconsistent (not on every boot sequence)

[   19.535969] meson-i2s-dai meson-i2s-dai.0.auto: Unable set to set i2s description
[   19.535980] meson-i2s-dai meson-i2s-dai.0.auto: ASoC: can't set meson-i2s-dai.0.auto hw params: -22

This is repeated 20 times

 

 

 

 

Best,

Link to post
Share on other sites

Hi, I'm new to odroid.... i bought a odroid C2, and installed odroid's ubuntu mate. Straight away, the keyboard would disappear .... 5 or 6 minutes, it would flash and then no response. the only way to get it back was to reboot. Following a recomendation, I rebuilt with armbian last night. I'm still having the same problems. I've tried the k/b on the usb ports as well as the otg...both the same. Following a suggestion, I tried using an old usb1.1 hub...still the same. If anyone has any suggestions.... Thanks in advance Terry

Link to post
Share on other sites
On 2/7/2020 at 10:33 AM, nik-ii said:

If I boot up the C2 and plug in a USB-RS232 Converter the device does not power up. If I than add an USB-Stick to the C2 the the USB-RS232 Converter gets power and is accessible by the OS.

 

USB on C2 is known to make troubles. This is present for years and it seems we don't have a proper fix.

 

... or we do?

 

Link to post
Share on other sites

After applying the following my USB attached disks are no longer visible
 

commandline: apt upgrade
Upgrade: linux-image-current-meson64:arm64 (20.02.3, 20.02.5), linux-dtb-current-meson64:arm64 (20.02.3, 20.02.5), armbian-config:arm64 (20.02.2, 20.02.6)
End-Date: 2020-03-23  19:40:19

 

I plugged the USB enclosure into my Pi and I can see the LVM and the LV's.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...