[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

USB on devboard LX



Hi,

We try to use USB on devboard Lx without success.
I have recompiled the kernel with :
- USB host enabled
- USB port 1 enabled
- Serial port 1 disabled

So when the kernel boot we can see that usb port is detected and added.
But just after the kernel boot the kernel seems to be frozen (I think
init as been launched but the kernel avoid init to continue).

I added these lines to the arch/cris/drivers/usb-host.c :

#define USB_DEBUG_RH
#define USB_DEBUG_EP
#define USB_DEBUG_DESC
#define USB_DEBUG_TRACE
#define USB_DEBUG_CTRL
#define USB_DEBUG_BULK
#define USB_DEBUG_INTR

to enable debug messages. And now we can see the kernel loops
continuously with these messages :

usb-host.c: (RH) Doing reset of port 1
usb-host.c: Entering: etrax_usb_hc_intr_top_half
usb-host.c: Exiting:  etrax_usb_hc_intr_top_half
usb-host.c: Entering: etrax_usb_hc_intr_bottom_half
usb-host.c: (RH) port_status pending
usb-host.c: (RH) r_usb_rh_port_status_1: 0x0011
usb-host.c: (RH) r_usb_rh_port_status_2: 0x0000
usb-host.c: Exiting:  etrax_usb_hc_intr_bottom_half
usb-host.c: Entering: etrax_usb_hc_intr_top_half
usb-host.c: Exiting:  etrax_usb_hc_intr_top_half
usb-host.c: Entering: etrax_usb_hc_intr_bottom_half
usb-host.c: (RH) port_status pending
usb-host.c: (RH) r_usb_rh_port_status_1: 0x0001
usb-host.c: (RH) r_usb_rh_port_status_2: 0x0000
usb-host.c: Exiting:  etrax_usb_hc_intr_bottom_half
usb-host.c: (RH) Doing reset of port 1
usb-host.c: Entering: etrax_usb_hc_intr_top_half
usb-host.c: Exiting:  etrax_usb_hc_intr_top_half
usb-host.c: Entering: etrax_usb_hc_intr_bottom_half
usb-host.c: (RH) port_status pending
usb-host.c: (RH) r_usb_rh_port_status_1: 0x0011
usb-host.c: (RH) r_usb_rh_port_status_2: 0x0000
usb-host.c: Exiting:  etrax_usb_hc_intr_bottom_half
........................

What happened, is there some other options i forgot in the kernel
configuration ?

(I join this mail my kernel configuration and the boot log).

Thank you for your answer.


kernelconfig.usb.gz

LX_boot.log.gz