I am developing a custom AM3352 based board for a big client and cannot detect when USB peripherals are plugged into a port (on USB1 port; USB0 port is not populated).
My kernel version is pulled from the beaglebone sources https://github.com/beagleboard/linux.git, version 3.14.19. I configured the USB to use host only, DSPS with PIO only. The usb branch of my devicetree is as follows:
&ocp {
musb: usb@47400000 {
status = "okay";
control@44e10620 {
status = "okay";
};
usb0_phy: usb-phy@47401300 {
status = "disabled";
};
usb0: usb@47401000 {
status = "disabled";
};
usb-phy@47401b00 {
status = "okay";
};
usb@47401800 {
status = "okay";
dr_mode = "host";
mentor,power = <500>;
};
dma-controller@47402000 {
status = "okay";
};
};
};
my relevant bootlog looks like:
[ 1.650505] 47401b00.usb-phy supply vcc not found, using dummy regulator [ 1.664501] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn) [ 1.664537] musb-hdrc: MHDRC RTL version 2.0 [ 1.664554] musb-hdrc: setup fifo_mode 4 [ 1.664586] musb-hdrc: 28/31 max ep, 16384/16384 memory [ 1.664830] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver [ 1.671960] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1 [ 1.682934] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.690185] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.697916] usb usb1: Product: MUSB HDRC host driver [ 1.703130] usb usb1: Manufacturer: Linux 3.14.19-NPServe-dirty musb-hcd [ 1.710308] usb usb1: SerialNumber: musb-hdrc.0.auto [ 1.720125] usb usb1: no of_node; not parsing pinctrl DT
I have noticed when plugging in certain devices I get the following message
[ 97.045572] musb_stage0_irq 526: bogus peripheral RESUME (a_idle)