David,

Have you applied the latest USB patches from the DaVinci update site.  If not 
pl. do so.

swami
________________________________
From: David Oliveira [EMAIL PROTECTED]
Sent: Friday, June 06, 2008 11:55 PM
To: Subbrathnam, Swaminathan; [email protected]
Subject: RE: D-Link DWL-G122 problems in Davinci


Hi Swami,

I’m using montavista linux kernel 2.6.10

Running "uname -a" i get:
Linux 192.168.0.78 2.6.10_mvl401-davinci_evm #21 Thu May 29 18:17:30 CEST 2008 
armv5tejl unknown

Thanks,
David





From: Subbrathnam, Swaminathan [mailto:[EMAIL PROTECTED]
Sent: den 6 juni 2008 04:16
To: David Oliveira; [email protected]
Subject: RE: D-Link DWL-G122 problems in Davinci

David,

What is the version of you linux kernel ?

swami
________________________________
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of David Oliveira [EMAIL 
PROTECTED]
Sent: Friday, June 06, 2008 12:05 AM
To: [email protected]
Subject: D-Link DWL-G122 problems in Davinci
Hello Everyone,

I'm trying to run a wifi dongle on the Davinci board, with the requirement that 
the transmission power is controllable.

I started by getting the ZyDas dongle to work on the board, but the power 
wasn't controllable. In any platform, in fact.

So I moved on to the D-Link DWL-G122 (rev.C1).
The tx power IS indeed possible to control in Ubuntu, but I can't make it to 
work on the Davinci.
I followed the steps written by the people at:
wiki.davincidsp http://wiki.davincidsp.com/index.php?title=Davinci_USB_WLan
which state that they got the serialmonkey RT73 CVS driver to work in the exact 
same hardware as mine
(Davinci ARM board & D-Link dongle mentioned above)
but the firmware always fails to load.

...I thought the problem might be due to dodgy support of USB2.0 in Davinci.
So I inserted a USB1.1 hub in series with the wifi dongle to make it work in 
1.1 mode.
Now I’m using a script - ‘loadfirmware’ - to ”feed” the driver with the 
firmware, depending how the dongle is attached (with hub / no hub):
loadfirmware:


#! /bin/sh

sleep 2

DEV=`ls -d /sys/class/firmware/1*`

echo Loading firmware into $DEV

echo 1 > $DEV/loading

cat /rt73.bin > $DEV/data

echo 0 > $DEV/loading


it does get me a bit further,  I insert the module with “(insmod rt73.ko 
debug=2 &); ./loadfirmware”, and I get:

[EMAIL PROTECTED]:/# (insmod rt73.ko debug=2 &); ./loadfirmware
rt73: init
rt73: idVendor = 0x7d1, idProduct = 0x3c03 Loading firmware into 
/sys/class/firmware/1-1.1 [EMAIL PROTECTED] to load firmware!
78:/#

[I believe the overwritten prompt is due to the scripted “sleep”]

But then, when I try to do ‘ifconfig up’, I get:

[EMAIL PROTECTED]:/# ifconfig wlan0 up
rt73: driver version - 1.0.3.6 CVS
rt73: Firmware not load
ifconfig: SIOCSIFFLAGS: Input/output error

(and 'ifconfig' lists in wlan0 "HWaddr 00:00:00:00:00:00")


- What am I doing wrong?

Thanks in advance,
David


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to