rt2x00.serialmonkey.com

Support forum for the rt2x00 project
It is currently Sat May 25, 2013 8:51 pm

All times are UTC


Forum rules


Important: Read Project restructuring announcement regarding the pending removal of the legacy drivers from this project.



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 20 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Fri Dec 26, 2008 9:31 am 
Offline

Joined: Fri Dec 26, 2008 9:22 am
Posts: 10
Hi all :

I tested the rt61 driver on my system. My system is IXP Big-endian platform.
kernel is 2.6.15.7 and PCI wireless card is EDIMAX EW-7128g.I alos put three bin file to /lib/firmware directory.
when I load rt61.ko and it occurs that "rt61: 1.1.0 CVS 2008122519 http://rt2x00.serialmonkey.com
rt61: Could not load firmware! (is firmware file installed?)

I also get the udevd v17 release and cross-compile that and uplink to my IXP board.
And let it perform in background.
It still can't load firmware.
I
Does any ieda to solve that?

Thanks for helping.

Best Regards,
Howard


Top
 Profile  
 
PostPosted: Fri Dec 26, 2008 9:35 am 
Offline

Joined: Fri Dec 26, 2008 9:22 am
Posts: 10
Hi all :

I perform dmesg command,following is message:
========================================
rt61: 1.1.0 CVS 2008122519 http://rt2x00.serialmonkey.com
bus pci: add driver rt61
pci: Matched Device 0000:00:09.0 with Driver rt61
PCI: enabling device 0000:00:09.0 (0140 -> 0142)
CLASS: registering class device: ID = '0000:00:09.0'
class_hotplug - name = 0000:00:09.0
class->hotplug() returned -19
class_hotplug - name = 0000:00:09.0
CLASS: Unregistering class device. ID = '0000:00:09.0'
class_hotplug - name = 0000:00:09.0
device class '0000:00:09.0': release.
rt61: Could not load firmware! (is firmware file installed?)
bound device '0000:00:09.0' to driver 'rt61'
pci: Bound Device 0000:00:09.0 to Driver rt61
bus pci: remove driver rt61
rt61: 1.1.0 CVS 2008122519 http://rt2x00.serialmonkey.com
bus pci: add driver rt61
pci: Matched Device 0000:00:09.0 with Driver rt61
CLASS: registering class device: ID = '0000:00:09.0'
class_hotplug - name = 0000:00:09.0
class->hotplug() returned -19
class_hotplug - name = 0000:00:09.0
CLASS: Unregistering class device. ID = '0000:00:09.0'
class_hotplug - name = 0000:00:09.0
device class '0000:00:09.0': release.
rt61: Could not load firmware! (is firmware file installed?)
bound device '0000:00:09.0' to driver 'rt61'
pci: Bound Device 0000:00:09.0 to Driver rt61
bus pci: remove driver rt61
rt61: 1.1.0 CVS 2008122519 http://rt2x00.serialmonkey.com
bus pci: add driver rt61
pci: Matched Device 0000:00:09.0 with Driver rt61
CLASS: registering class device: ID = '0000:00:09.0'
class_hotplug - name = 0000:00:09.0
class->hotplug() returned -19
class_hotplug - name = 0000:00:09.0
CLASS: Unregistering class device. ID = '0000:00:09.0'
class_hotplug - name = 0000:00:09.0
device class '0000:00:09.0': release.
rt61: Could not load firmware! (is firmware file installed?)
bound device '0000:00:09.0' to driver 'rt61'
pci: Bound Device 0000:00:09.0 to Driver rt61

Best Regards,
Howard


Top
 Profile  
 
PostPosted: Wed Dec 31, 2008 2:27 am 
Offline

Joined: Fri Dec 26, 2008 9:22 am
Posts: 10
Hi all :

Does anyone have solution about this issue?

Thanks for helping.

Best Regards,
Howard


Top
 Profile  
 
PostPosted: Wed Dec 31, 2008 6:24 am 
Offline

Joined: Wed Dec 31, 2008 6:04 am
Posts: 8
I'm having almost exactly the same problem. Same EW-7128g card and firmware issue, but I'm trying to make it work with the latest Damn Small Linux release (based on kernel 2.4.31). I hope that the solution is just a matter of moving the firmware .bins to the proper directory, assuming /lib/firmware is not the right one, but I'm starting to think that it may not be so simple. Check out the readme section on firmware directories. Maybe yours is supposed to be /lib/firmware/<kernel version> as in the example.

If you find a solution, please post it here. I'll keep researching myself and do the same. Hopefully someone here will enlighten us soon...


Top
 Profile  
 
PostPosted: Wed Dec 31, 2008 6:34 am 
Offline

Joined: Wed Dec 31, 2008 6:04 am
Posts: 8
Also, you may want to consider using the driver from the Edimax website. I may use that if it looks like I'll never see the serial monkey driver working. The Edimax driver was working fine for me, but it looks like wpa supplicant is needed for wpa security. I haven't figured out how to configure the build for that yet. :(


Top
 Profile  
 
PostPosted: Wed Dec 31, 2008 3:59 pm 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5905
Location: Haarlem, The Netherlands
You could also use the search button on this forum to see how other people managed to get the firmware loader working correctly. Espcially the udev part is important.

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com


Top
 Profile  
 
PostPosted: Wed Dec 31, 2008 9:39 pm 
Offline

Joined: Wed Dec 31, 2008 6:04 am
Posts: 8
Of course, I've tried searching, but most of the firmware loading discussions that I find are inconclusive or do not pertain to me.

viewtopic.php?f=7&t=4772&p=29438&hilit=firmware+load#p29438
viewtopic.php?f=7&t=4913&p=30196&hilit=firmware+load#p30196
viewtopic.php?f=7&t=4285&hilit=firmware+load&start=15
viewtopic.php?f=8&t=5108&p=31393&hilit=firmware+load#p31393
viewtopic.php?f=8&t=5078&p=31224&hilit=firmware+load#p31224

One of the above concludes with a this reply from IvD:
"In those other posts possible solutions where also provided.
* Is /lib/firmware the right firmware folder on your distro
* Is udev/hotplug configured for firmware"

I don't think /lib/firmware is the right directory for my distro, and I can't believe I'm having so much trouble finding the right directory. Damn Small Linux uses hotplug, but I don't know how to configure it (I will read about it soon though).

Howard: As I was searching the forums again I found the topic below. It looks like it might help you.
viewtopic.php?f=7&t=4829&p=29763&hilit=firmware+load#p29763


Top
 Profile  
 
PostPosted: Thu Jan 01, 2009 1:03 am 
Offline

Joined: Wed Dec 31, 2008 6:04 am
Posts: 8
Finally managed to get it working in Damn Small Linux. Here's what I did:

1. I downloaded a missing firmware.agent from sourceforge (included in the hotplug source) and copied it to /etc/hotplug/
2. chmod 755 firmware.agent (make it executable)
3. create and move the firmware to /usr/lib/hotplug/firmware or modify the firmware.agent to point to /lib/firmware (default install)

Hopefully I didn't do something prior to the above 3 steps that was also necessary. I doubt that I did.


Top
 Profile  
 
PostPosted: Fri Jan 02, 2009 3:00 am 
Offline

Joined: Fri Dec 26, 2008 9:22 am
Posts: 10
Hi jkom:

Thanks for your information.
I also put the firmware to /lib/firmware/2.6.15 directory.
It still can't find the firmware to load.
In 2.6.15 kernel configuration,I turned on support hot plug option.
In kernel 2.4 the kernel used hot plug and in kernel 2.6 it use udev.
udev is for dynamic load/unload device.

I will try the driver from Edimax and let you know the test result.
Thanks for helping again.

Best Regards,
Howard


Top
 Profile  
 
PostPosted: Fri Jan 02, 2009 8:49 pm 
Offline

Joined: Wed Dec 31, 2008 6:04 am
Posts: 8
Did you read over this entire topic? viewtopic.php?f=7&t=4829&p=29763&hilit=firmware+load
I didn't read it very carefully, but the situation looks very similar to yours, and there is a solution.

I don't know much about udev, but are you sure that either udev or hotplug know to look in /lib/firmware. And for hotplug, did you make sure you have the /etc/hotplug/firmware.agent? Not sure what the udev equivalents would be.

The Edimax driver did work fairly easily for me. However, I did have to fix one compile error and edit the makefile a little, so if you have similar problems that you can't work through, just ask. I was not content with that driver because it does not support WPA. WEP works fine, but I want more security than that. If you already have wpa supplicant on your system, that shouldn't be a problem for you though. I tried to install it, but the configuration instructions were not very good.


Top
 Profile  
 
PostPosted: Mon Jan 05, 2009 8:50 am 
Offline

Joined: Fri Dec 26, 2008 9:22 am
Posts: 10
Hi Jkom :

I have enable the hot plug option in kernel.
But my kernel version is 2.6.15.7 not 2.4 series.
I also put default.hotplug to /etc/hotplug.d/default directory and
hotplug.functions and firmware.agent to /etc/hotplug/ directory both.
I also put hotplug to /sbin/.

And I still get message :
=======================
rt61: 1.1.0 CVS 2008122519 http://rt2x00.serialmonkey.com
bus pci: add driver rt61
pci: Matched Device 0000:00:09.0 with Driver rt61
CLASS: registering class device: ID = '0000:00:09.0'
class_hotplug - name = 0000:00:09.0
class->hotplug() returned -19
class_hotplug - name = 0000:00:09.0
CLASS: Unregistering class device. ID = '0000:00:09.0'
class_hotplug - name = 0000:00:09.0
device class '0000:00:09.0': release.
rt61: Could not load firmware! (is firmware file installed?)
bound device '0000:00:09.0' to driver 'rt61'
pci: Bound Device 0000:00:09.0 to Driver rt61

I have no idea about "class->hotplug() return -19"?

Does I miss some configuration for hotplug package?

Best Regards,
Howard


Top
 Profile  
 
PostPosted: Mon Jan 05, 2009 12:40 pm 
Offline

Joined: Fri Dec 26, 2008 9:22 am
Posts: 10
Hi Jkom:

Could you give me Makefile of driver download from Edimax web site - the 2007_1210_RT61_Linux_STA_v1.1.2.0 version.
I want to test this version and see it works or not.
Thanks for helping.

Best Regards,
Howard


Top
 Profile  
 
PostPosted: Tue Jan 06, 2009 7:54 am 
Offline

Joined: Wed Dec 31, 2008 6:04 am
Posts: 8
Of course, the makefile is included in the download from Edimax. I think I know what you're getting at though. Is it that you haven't downloaded the Edimax driver and want to try this makefile with the serialmonkey driver? I tried that myself on a long shot with the 2.4 kernel, but it didn't work (not surprised). It may be a viable option with some modifications, but I haven't compared the makefiles carefully enough to see if it's possible. Anyway, I zipped the 2.6 makefile and attached it (Edimax has separate makefiles for 2.4 and 2.6). Please clarify what you're using it for. I'm curious.

Also, have you read that post with the big-endian discussion yet? There's a patch there that you'll probably need?


Attachments:
Makefile.zip [1.15 KiB]
Downloaded 77 times
Top
 Profile  
 
PostPosted: Tue Jan 06, 2009 8:39 am 
Offline

Joined: Wed Dec 31, 2008 6:04 am
Posts: 8
howardyu wrote:

Does I miss some configuration for hotplug package?

Best Regards,
Howard


Check your firmware.agent for the following:

# directory of the firmware files
FIRMWARE_DIR=/usr/lib/hotplug/firmware

FIRMWARE_DIR either needs to be changed to /lib/firmware or your firmware in that directory has to be moved to whatever directory is specified by FIRMWARE_DIR


Top
 Profile  
 
PostPosted: Tue Jan 06, 2009 9:24 am 
Offline

Joined: Fri Dec 26, 2008 9:22 am
Posts: 10
Hi Jkom:

No.I just want to use the driver download from Edimax web site and try.
I tested the Makefile you give me,there have some error.

make[2]: *** [/home/rt2x00/2007_1210_RT61_Linux_STA_v1.1.2.0/Module/rtmp_wext.o] Error 1
make[1]: *** [_module_/home/rt2x00/2007_1210_RT61_Linux_STA_v1.1.2.0/Module] Error 2
I can't make rt.ko successfully.
Do you make the ko successfully?

I want to make rt61.ko use CROSS_COMPILE and use board kernel 2.6.15 in my PC.
But I can't set the CROSS_COMPILE option in this Makefile.

I also trace the code in serialmonkey driver - rt61.
In rtmp_main.c,the NICLoadFirmware routine is failure and always report the message :
"rt61 : Could not load firmware". I also modify the firmare.agent file in /etc/hotplug directory.
I chaged the FIRMWARE_DIR=/lib/firmware and still can't load firmware successfully.

Best Regards,
Howard


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 20 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group