gioelebianchi00 Posted August 22, 2023 Posted August 22, 2023 Hi. i've compiled udoo quad image using armbian build framework. The kernel is 6.x.x. When i boot the image on sdcard, usb ports don't start: the mouse's led don't turn on and keyboard too. What can i do to solve this problem? what paramaters do i have to enable? thanks 0 Quote
chiefwigms Posted April 1 Posted April 1 I come back here every few years to rebuild my UDOO home brew controller.. Seems like USB was disabled around kernel 5.19 (https://github.com/torvalds/linux/commit/8f2ca252ee1f848d3eec9ebbbf3c3881cb423322). Got in touch with Fabio and he gave a super fast response and put two patches in to review. https://lore.kernel.org/linux-arm-kernel/20240401023347.3114484-1-festevam@gmail.com/ https://lore.kernel.org/linux-arm-kernel/20240401023347.3114484-2-festevam@gmail.com/ I'm building it now - might get around to testing tonight, but will probably be a week or so. 0 Quote
chiefwigms Posted April 8 Posted April 8 (edited) Okay - finally got around to testing (with more back and forth between Fabio). There were some updates to what he patched getting it working with kernel 6.9 (ONBOARD_USB_HUB to ONBOAD_USB_DEV), however since armbian is on 6.6/6.7, this patch was needed as well: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/usb/misc/onboard_usb_hub.c?h=v6.9-rc3&id=65e62b8a955adebee8634804d8f72599213c2774. Attached is the patch I used to build & run successfully w/ wifi & usb enabled (for current - i haven't tested edge). Make sure you do a kernel config and set ONBOARD_USB_HUB to y - seems like config/kernel/linux-imx6-current.config is significantly different than cache/sources/linux-kernel-worktree/6.6__imx6__armhf/arch/arm/configs/imx_v6_v7_defconfig (attached patch only modifies the kernel work tree) udoo_usb_fix.patch Edited April 8 by chiefwigms 1 Quote
SteeMan Posted April 8 Posted April 8 @chiefwigms please submit a PR for this to get included into Armbian 0 Quote
SteeMan Posted April 8 Posted April 8 @chiefwigms As this board is in status community maintained, no Armbian resources are assigned to work on or support this board. Support/maintenance comes from the community. That means people like you submitting PRs to maintain/improve functionality. Without active community participation the board will langish and eventually be moved to end of support/end of life status. 0 Quote
MrCapone Posted April 9 Posted April 9 @chiefwigms Is there a chance that these fixes will someday be included in the mainline kernel? 0 Quote
chiefwigms Posted April 9 Posted April 9 These two patches: https://lore.kernel.org/linux-arm-kernel/20240401023347.3114484-1-festevam@gmail.com/ https://lore.kernel.org/linux-arm-kernel/20240401023347.3114484-2-festevam@gmail.com/ Should get in the 6.9 kernel - as well as changing ONBOARD_USB_HUB to ONBOAD_USB_DEV in the kernel config https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/usb/misc/onboard_usb_hub.c?h=v6.9-rc3&id=65e62b8a955adebee8634804d8f72599213c2774 is already in mainline but was committed after 6.6/6.7. I'll make a PR sometime this weekend and try to test with edge, as well as an updated defconfig - don't really have much time these days to do anything 🥲 0 Quote
gioelebianchi00 Posted April 9 Author Posted April 9 (edited) Help me to understand. Have patches already been into armbian kernel? So I only need to compile armbian kernel right? Edited April 9 by gioelebianchi00 0 Quote
chiefwigms Posted April 21 Posted April 21 you'd need to add a user patch at the moment.. finally had time to make a PR 0 Quote
Recommended Posts
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.