How to enable usb hub support for beagle board xm in kernel 2.6.36

Hi All,

We are working on beagle board XM with linux kernel 2.6.36-2.We are
using rt2870 wireless USB dongle to connect to the board.The board is
unable to detect the USB device, we have enabled usb support while
doing make menu config operation on kernel 2.6.36 but this didnt make
any difference.Any one could please respond here.

Thanks,
Raghavendra

mainline 2.6.36 is in bad shape for any xM...

You need, all the beaglexm detection patches from mainline:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=history;f=arch/arm/mach-omap2/board-omap3beagle.c;h=87969c7df652885ff6210519f3043cb7bb4f055e;hb=f6f94e2ab1b33f0082ac22d71f66385a60d8157f

compare with:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=history;f=arch/arm/mach-omap2/board-omap3beagle.c;h=87969c7df652885ff6210519f3043cb7bb4f055e;hb=f6f94e2ab1b33f0082ac22d71f66385a60d8157f

if those links fail ^ just look at the changes to
arch/arm/mach-omap2/board-omap3beagle.c from 2.6.36 to mainline..

Then if you have an "xM B/C" there's a couple patches that haven't
been pushed yet..

Regards,

I knew i was going to mess that up..

compare with:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=history;f=arch/arm/mach-omap2/board-omap3beagle.c;h=46d814ab5656c078e6fad0a013c2ce8c39e312e5;hb=HEAD

Regards,

Hi Robert

Thank you for the help after patching the kernel, hub has detected
wireless and webcam.

We have used the patches from the following site

http://www.labbookpages.co.uk/electronics/beagleBoard/custom.html

But we got two problems here

1. when i do iwconfig i m getting command not found.
2. when I do ifconfig wlan0 up

I m getting following error
phy0 -> rt2x00lib_request_firmware: Error -Failed to request Firmware.

I m using the ralink wireless USB, chipset is 3070

Can you please suggest any idea here

Thanks in Advance
Aditya B

Thanks
Aditya B

Hi Robert

Thank you for the help after patching the kernel, hub has detected
wireless and webcam.

We have used the patches from the following site

Custom System - The Lab Book Pages

But we got two problems here

1. when i do iwconfig i m getting command not found.

iwconfig is usually packaged in a package called "wireless-tools"

2. when I do ifconfig wlan0 up

I m getting following error
phy0 -> rt2x00lib_request_firmware: Error -Failed to request Firmware.

I m using the ralink wireless USB, chipset is 3070

do you have the ralink firmware package installed?

Regards,

Hi Robert,

Thanks for the response. We have enabled all options in the ralink
driver support.
(menuconfig -> device drivers -> Network device support -> wireless
lan )

Till we are observing the same error.

Re typing the error logs.

phy0 -> rt2x00lib_request_firmware:Info -Loading firmware file
'rt2870.bin'
phy0 -> rt2x00lib_request_firmware: Error -Failed to request Firmware.
ifconfig: SIOCSIFFLAGS: No such file or directory =4

We have cross compiled the wireless drivers manually, It has generated
rt3370.ko file. We copied rt3370.ko and RT2870STA.dat files into micro
sd card.

inserted the module using insmod command.
after inserting we got following logs
rtusb init ->
usbcore: registered new interface driver rt2870.

We tried again to up the wlan0 interface with no luck.
Please tell us did we miss any thing.

Thanks
Raghav

Hi Robert,

Thanks for the response. We have enabled all options in the ralink
driver support.
(menuconfig -> device drivers -> Network device support -> wireless
lan )

Till we are observing the same error.

Re typing the error logs.

phy0 -> rt2x00lib_request_firmware:Info -Loading firmware file
'rt2870.bin'
phy0 -> rt2x00lib_request_firmware: Error -Failed to request Firmware.
ifconfig: SIOCSIFFLAGS: No such file or directory =4

We have cross compiled the wireless drivers manually, It has generated
rt3370.ko file. We copied rt3370.ko and RT2870STA.dat files into micro
sd card.

inserted the module using insmod command.
after inserting we got following logs
rtusb init ->
usbcore: registered new interface driver rt2870.

We tried again to up the wlan0 interface with no luck.
Please tell us did we miss any thing.

Thanks
Raghav