Project

General

Profile

Bug #1866

[arm] [linux-libre] /sys/class/udc now empty on am335x

GNUtoo - about 4 years ago - . Updated almost 4 years ago.

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

#1

Updated by GNUtoo about 4 years ago

I've found where it comes from.
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=y
instead 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=y
instead of
CONFIG_USB_MUSB_AM35X=y

#2

Updated by Megver83 about 4 years ago

You should've specified the kernel version, at least the generation.

Try now with linux-libre 4.18, which has those configs

#3

Updated by GNUtoo almost 4 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.

#4

Updated by GNUtoo almost 4 years ago

Thanks,

It works again with linux-libre 4.18.11-gnu-1

Denis.

#5

Updated by GNUtoo almost 4 years ago

  • Status changed from open to fixed

Also available in: Atom PDF