Bug #1866
[arm] [linux-libre] /sys/class/udc now empty on am335x
Status:
fixed
Priority:
bug
Assignee:
-
% Done:
0%
Description
Hi,
On a beagle bone green, after a somewhat recent kernel update, /sys/class/udc is now empty and it's not possible to use the USB device port anymore.
Before the kernel upgrade it was like that:
# ls /sys/class/udc/musb-hdrc.0/device/driver bind musb-hdrc.0 musb-hdrc.1 uevent unbind
The BeagleBone green uses an am335x SOC.
Denis.
History
Updated by GNUtoo almost 6 years ago
I've found where it comes from.
I've compared linux-libre and linux-libre-lts:
I've compared linux-libre and linux-libre-lts:
- It works on linux-libre-lts
- It fails to work on linux-libre
I've then compared the defconfigs and on linux-libre many lines seem to be corrupted, for instance we have things like
CONFI_FIX_EARLYCON_MEM=yinstead of
CONFIG_FIX_EARLYCON_MEM=y
I've looked in the USB section and here again there is some problematic lines: there is
CONFIG_US_MUSB_AM35X=yinstead of
CONFIG_USB_MUSB_AM35X=y
Updated by Megver83 over 5 years ago
You should've specified the kernel version, at least the generation.
Try now with linux-libre 4.18, which has those configs
Updated by GNUtoo over 5 years ago
For some other reasons using linux-libre (not lts) doesn't result in a working usb device, so I guess I'd have to investigate it.