OESF Portables Forum

Everything Else => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => Sharp PC-Z1 NetWalker => Topic started by: Tom Moulton on July 24, 2010, 10:09:50 pm

Title: Enabling Existing Drivers
Post by: Tom Moulton on July 24, 2010, 10:09:50 pm
Cross posted to Ubuntu Forums (http://ubuntuforums.org/showthread.php?p=9632661)

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
Title: Enabling Existing Drivers
Post by: Tom Moulton on July 26, 2010, 07:48:23 am
Quote from: Tom Moulton
Cross posted to Ubuntu Forums (http://ubuntuforums.org/showthread.php?p=9632661)

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
Title: Enabling Existing Drivers
Post by: merlin1 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.
Title: Enabling Existing Drivers
Post by: Tom Moulton 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
Title: Enabling Existing Drivers
Post by: Tom Moulton 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 (http://projects.gnome.org/NetworkManager/)
Title: Enabling Existing Drivers
Post by: Tom Moulton 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!