Author Topic: Enabling Existing Drivers  (Read 5575 times)

Tom Moulton

  • Newbie
  • *
  • Posts: 20
    • View Profile
    • http://www.GotGrit.com
Enabling Existing Drivers
« on: July 24, 2010, 10:09:50 pm »
Cross posted to Ubuntu Forums

I have a i.MX51 (arm) based system. Sharp PC-Z1 and I am
trying to get a USB Dongle WIFI working.
(The internal one died)

The usb stick is a RT2870 device and the system does have
/lib/firmware/rt2870.bin

It also has /usr/src/linux-headers-2.6.28-15-araneo/drivers/staging/rt2870

Makefile and Kconfig

but that is all. no rt2870sta.ko etc

Is it possible I have enough on the system to complete the generation of the needed file to enable this device?

It's Ubuntu 9.04

tom
Won my Netwalker @ http://Freescale.com/tower

Tom Moulton

  • Newbie
  • *
  • Posts: 20
    • View Profile
    • http://www.GotGrit.com
Enabling Existing Drivers
« Reply #1 on: July 26, 2010, 07:48:23 am »
Quote from: Tom Moulton
Cross posted to Ubuntu Forums

Is it possible I have enough on the system to complete the generation of the needed file to enable this device?

Well I took the driver from the chipset manufacturer and compiled it.
The Netwalker not surprisingly has gcc and full linux headers installed on it.

I have gotten the device to install and after discovering that the USB ID of my device was missing from the source
(added USB_DEVICE() to a table)

it is now seen and comes up as ethernet device ra0

the network manager does not see it, so I may need to configure it by hand.
Which would really stink when I change access points.

tom
Won my Netwalker @ http://Freescale.com/tower

merlin1

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
    • http://
Enabling Existing Drivers
« Reply #2 on: July 26, 2010, 01:27:46 pm »
IIRC the Netwalker uses wicd as network manager. You probably have to change its configuration as it normally looks for eth0, the internal WiFi. You have to change that to ra0 instead, options defining which interface to use as wired/wireless are in its settings.
"Mommy, what's a signature?"

Tom Moulton

  • Newbie
  • *
  • Posts: 20
    • View Profile
    • http://www.GotGrit.com
Enabling Existing Drivers
« Reply #3 on: July 26, 2010, 01:38:13 pm »
Quote from: merlin1
IIRC the Netwalker uses wicd as network manager. You probably have to change its configuration as it normally looks for eth0, the internal WiFi. You have to change that to ra0 instead, options defining which interface to use as wired/wireless are in its settings.

Since I did compile the driver from scratch, maybe I should change RA0 to ETH0 !

I never did find out if it was possible to use the /lib/firmware/rt2870.bin file that Sharp installed on the system.

I'll report back how it goes...

I am trying this because I saw eth0 in a lot of config files (dhcp, samba etc) and I figure why not fix the problem at the source?

tom
Won my Netwalker @ http://Freescale.com/tower

Tom Moulton

  • Newbie
  • *
  • Posts: 20
    • View Profile
    • http://www.GotGrit.com
Enabling Existing Drivers
« Reply #4 on: July 26, 2010, 03:29:47 pm »
Quote from: merlin1
IIRC the Netwalker uses wicd as network manager.

Odd my system says NetworkManager Applet 0.7.0.100 and a link to NetworkManager
Won my Netwalker @ http://Freescale.com/tower

Tom Moulton

  • Newbie
  • *
  • Posts: 20
    • View Profile
    • http://www.GotGrit.com
Enabling Existing Drivers
« Reply #5 on: July 27, 2010, 12:05:27 am »
Quote from: merlin1
IIRC the Netwalker uses wicd as network manager. You probably have to change its configuration as it normally looks for eth0, the internal WiFi. You have to change that to ra0 instead, options defining which interface to use as wired/wireless are in its settings.

Ok, I disabled NetworkManager and installed wicd

it does create ra0 (ifconfig) and I do see it transmitting, but I do not RX anything or see any networks.

I did rebuild the driver to use ralink legacy mode.

I may need to rebuild switching one more option...

anyone use ralink legacy mode? (likely not, most use built-in wifi )

tom
------------------
Ok I had the wrong driver 2870 vs 3070 I also had to switch to WICD - Thanks for the tip!
« Last Edit: July 28, 2010, 09:30:07 am by Tom Moulton »
Won my Netwalker @ http://Freescale.com/tower