BeagleBoard Rev Cx usb devices not working

Dear All,

I have an OMAP3530 Rev Cx Board. I have an ubuntu running on my board but the usb devices don’t work at all.

I have connected a Belkins usb hub to the board with one end of hub connected to mouse, keyboard and ethernet(usb to ethernet).

When I just plugged the hub to my linux laptop, all the devices work but when I plug it to the BB, it is all dead.

I did an “lsusb” and I can see the device ID of my hub. But then that’s it. After reading some posts here, I even tried plugging the hub after boot up of the board but to no use.

I am stuck with this. Please help…

Change file arch/arm/mach-omap2/board-omap3beagle.c in kernel source…

use ellse part:
} else {
gpio_request(gpio + 1, “EHCI_nOC”);
gpio_direction_input(gpio + 1);

/*

  • TWL4030_GPIO_MAX + 0 == ledA, EHCI nEN_USB_PWR
  • (out, active low)
    */
    gpio_request(gpio + TWL4030_GPIO_MAX, “nEN_USB_PWR”);
    gpio_direction_output(gpio + TWL4030_GPIO_MAX, 0);
    }

in function
static int beagle_twl_gpio_setup(struct device *dev,
unsigned gpio, unsigned ngpio)

Oh. I do not have the kernel sources. I used a compiled uImage of the kernel.

What should I do now?

Please get ur kernel source from linuxkernel.org and build.

Hi,

Thanks barun.

I got the kernel from http://git.linaro.org/git/kernel/linux-linaro-2.6.38.git

I have OMAP3530 RevCx. I do no see any omap3_defconfig file.

Am I missing something?

cross compile for BB, for this you may also need cross compiling tool chain.
Please get that and try.

It’s called omap2plus_defconfig in newer kernels. Omap2 and 3 use the same config.
-Andrew

Try to build ur kernel else I will send my .config file.
Get these toll chain, before u start ur compilation:

barun@barun-laptop:~$ arm-angstrom-linux-gnueabi-
arm-angstrom-linux-gnueabi-addr2line arm-angstrom-linux-gnueabi-gprof
arm-angstrom-linux-gnueabi-ar arm-angstrom-linux-gnueabi-ld
arm-angstrom-linux-gnueabi-as arm-angstrom-linux-gnueabi-nm
arm-angstrom-linux-gnueabi-c++filt arm-angstrom-linux-gnueabi-objcopy
arm-angstrom-linux-gnueabi-cpp arm-angstrom-linux-gnueabi-objdump
arm-angstrom-linux-gnueabi-g++ arm-angstrom-linux-gnueabi-ranlib
arm-angstrom-linux-gnueabi-gcc arm-angstrom-linux-gnueabi-readelf
arm-angstrom-linux-gnueabi-gccbug arm-angstrom-linux-gnueabi-run
arm-angstrom-linux-gnueabi-gcov arm-angstrom-linux-gnueabi-size
arm-angstrom-linux-gnueabi-gdb arm-angstrom-linux-gnueabi-strings
arm-angstrom-linux-gnueabi-gdbtui arm-angstrom-linux-gnueabi-strip
arm-angstrom-linux-gnueabi-gfortran