-
-
Notifications
You must be signed in to change notification settings - Fork 494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Odroid C1 | USB ports are not functional #7089
Comments
I will keep an eye on this issue and I will test new images when possible 👍 |
@th2j First of all, please try apt install linux-{image,dtb}-edge-meson I'll do a rebuild of the |
as copy from "current" config, which has not been updated to Linux 6.6 yet anyway. This is to test whether this Linux version has USB still functional: MichaIng/DietPi#7089 Signed-off-by: MichaIng <micha@dietpi.com>
ok usb works now, thanks this doesn't seem to be a problem, but i have new warnings from boot : root@DietPi:~# journalctl -b -p warning |
Okay, please let me know whether there are any issues with your USB DAC, since @juanlufont reported missing keystrokes when using a USB keyboard. Regarding your boot warnings: It is from the DHCP client. As long as you do have network/an IP address, it seems to have succeeded later, so you can ignore them. You can check the whole log of network bringup: journalctl -u ifup@eth0 Nearly all Armbian kernel patches for the Odroid C1, are about fixing HDMI: https://github.com/armbian/build/tree/main/patch/kernel/archive/meson-6.6 However, there have been quite a lot of commits in mainline Linux in the meantime: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/log/drivers/gpu/drm/meson/meson_drv.c?h=linux-6.6.y Armbian patches are not regularly revisited, especially for SBCs which have no Armbian maintainer (like Odroid C1), are often many years old, just ported from one Linux version to the next. I could hence imagine that most or all of these patches are obsolete, and probably conflicting. Would not have been the first time. If one of your guys is open to test a few things, I would generate new kernel builds with all these patches removed, to see whether this does not break HDMI output, and probably even fixes USB support on Linux 6.6. |
i can test it
but i am not an expert
Le mer. 12 juin 2024 à 17:11, MichaIng ***@***.***> a écrit :
… Okay, please let me know whether there are any issues with your USB DAC,
since @juanlufont <https://github.com/juanlufont> reported missing
keystrokes when using a USB keyboard.
Regarding your boot warnings: It is from the DHCP client. As long as you
do have network/an IP address, it seems to have succeeded later, so you can
ignore them. You can check the whole log of network bringup:
journalctl -u ***@***.***
------------------------------
Nearly all Armbian kernel patches for the Odroid C1, are about fixing
HDMI:
https://github.com/armbian/build/tree/main/patch/kernel/archive/meson-6.6
However, there have been quite a lot of commits in mainline Linux in the
meantime:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/log/drivers/gpu/drm/meson/meson_drv.c?h=linux-6.6.y
Armbian patches are not regularly revisited, especially for SBCs which
have no Armbian maintainer (like Odroid C1), are often many years old, just
ported from one Linux version to the next. I could hence imagine that most
or all of these patches are obsolete, and probably conflicting. Would not
have been the first time. If one of your guys is open to test a few things,
I would generate new kernel builds with all these patches removed, to see
whether this does not break HDMI output, and probably even fixes USB
support on Linux 6.6.
—
Reply to this email directly, view it on GitHub
<#7089 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASDV3R7RACRCIUYULHRIDFTZHBQJ3AVCNFSM6AAAAABIJX5JM2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRTGI4DSNRTHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Do you have a way to edit the content of this drive from another system, just in case it breaks something? Since you have the edge kernel installed, that one will remain on the system, but some symlinks in However, here the "current" kernel build with Armbian patches removed, hence unmodified mainline Linux 6.6.y: cd /tmp
wget https://dietpi.com/downloads/binaries/testing/linux-{dtb,image}-current-meson.deb
dpkg -i linux-{dtb,image}-current-meson.deb
reboot |
it doesn't boot, |
That is weird. You mean it does not boot at all, or is there just no HDMI output? Because, as said, most of the Armbian patches are around enabling HDMI, which was at least broken in mainline Linux for some years.
As said, there are 3 symlinks in |
I also generated newer edge kernel builds. So @juanlufont, if you want to test whether these enhance USB support in your case: cd /tmp
wget https://dietpi.com/downloads/binaries/testing/linux-{dtb,image}-edge-meson.deb
dpkg -i linux-{dtb,image}-edge-meson.deb
reboot I want to apply the reboot fix to all existing C1 users, lifting the hold on kernel packages, but of course we cannot do so, when this breaks USB instead. So would be good to know whether the edge kernel solves both, in which case I would apply that one instead. Since we control package releases ourselves now, shipping edge kernel builds is not such an issue anymore. Previously, using the Armbian repo, it was always a higher risk that any edge kernel upgrade breaks things, because it is pretty untested. |
@MichaIng I will test it this weekend |
It does't boot at all, In /boot, i don't see the symlink : root@DietPi:~# ls -l /boot |
Crazy that mainline Linux support is then completely broken. Would be interesting to see UART/serial console output. Aside of HDMI support, two Armbian patches revert each an upstream commit, regarding PWM and clock speeds. Maybe those are strictly required. However, let's not waste too much time with this.
Oh right, it has a dedicated boot FAT partition, hence no symlinks. In this case, we move/rename the files/dirs, so reverting is not possible 🤔. I think we should copy them instead, to allow switching back and forth between installed kernel versions. The Odroid C1 is however literally the only left SBC where this is the case/still needed 😄. Okay, focusing on edge kernel, then the only left thing would be to have some more tests results about USB stability, i.e. whether e.g. the new build (Linux 6.9 already) fixes the missing keystrokes issue. |
as copy from "current" config, which has not been updated to Linux 6.6 yet anyway. This is to test whether this Linux version has USB still functional: MichaIng/DietPi#7089 Signed-off-by: MichaIng <micha@dietpi.com>
as copy from "current" config, which has not been updated to Linux 6.6 yet anyway. This is to test whether this Linux version has USB still functional: MichaIng/DietPi#7089 Signed-off-by: MichaIng <micha@dietpi.com>
I just pushed new kernel builds to our APT server, including "current" ones based on latest upstream with If not, especially @juanlufont could you give the "edge" ones another try, to see whether those provide stable USB support for you now as well? I'd in case create fresh images with edge kernel for now, and migrate all existing Odroid C1 system to that one, to avoid a regression when upgrading from the old Linux 6.1 kernel, where USB was still working. |
as copy from "current" config, which has not been updated to Linux 6.6 yet anyway. This is to test whether this Linux version has USB still functional: MichaIng/DietPi#7089 Signed-off-by: MichaIng <micha@dietpi.com>
as copy from "current" config, which has not been updated to Linux 6.6 yet anyway. This is to test whether this Linux version has USB still functional: MichaIng/DietPi#7089 Signed-off-by: MichaIng <micha@dietpi.com>
I'm on
I've also tried with
I can test if you tell me what i need to do. I need to use WiFi via USB Adapter and when i plug in the USB it doesn't even turn on |
Hmm, so both kernel versions do not work for you? Seems to be different for everyone 😕. |
i might have a power supply issue on the USB, i will investigate more |
as copy from "current" config, which has not been updated to Linux 6.6 yet anyway. This is to test whether this Linux version has USB still functional: MichaIng/DietPi#7089 Signed-off-by: MichaIng <micha@dietpi.com>
Okay, for everyone who has issues with USB on current and edge kernel, I just pushed the legacy one (Linux 6.1): apt update
apt install linux-{dtb,image}-legacy-meson If this is the only one where USB works flawlessly, then we may migrate all Odroid C1 system to that one, or at least offer it on DietPi update. |
usb works for me on Linux DietPi 6.9.7-edge-meson |
It has been enabled in Armbian for
edge
branch: https://github.com/armbian/build/pull/6559/filesBut it has no hot-plug detection, keyboard input misses keystrokes, boot takes longer an additional kernel errors show up: #6332 (comment)
Enabling it in
current
branch seems to worsen those symptoms: #6332 (comment)A udev event loop seems to cause issues, probably the USB hub or device is repetitively disconnected and reconnected kernel-wise.
For now, we leave it disabled, until a fix for trouble-free USB usage has been found.
The text was updated successfully, but these errors were encountered: