This ebuild was requested by Steev Klimaszewski (bug #174946) Please note that it is broken because the eeprom_93cx6 and crc-itu-t modules are missing.
Created attachment 117328 [details] net-wireless/rt2x00-git-20070426.ebuild The source tarball can be generated with: $ git clone http://git.serialmonkey.com/rt2x00.git/ $ tar czf rt2x00-git-20070426.tar.gz drivers/net/wireless/mac80211/ include/linux/eeprom_93cx6.h include/linux/crc-itu-t.h lib/crc-itu-t.c
There's a git eclass (see /usr/portage/eclass/git.eclass for getting live sources from git. It's quite well documented. If you'd like help with it, check out the #gentoo-dev-help IRC channel on Freenode. Someone there should be able to help you with any problems you have.
Please note that the current net-wireless/rt2x00-9999 ebuild is now useless, as upstream as broken compilation on CVS to force people over to git. If an ebuild using git is made, I think it should replace the current CVS ebuild. I.e., don't call it net-wireless/rt2x00-git; just leave it net-wireless/rt2x00.
Created attachment 117432 [details] net-wireless/rt2x00-git-20070427.ebuild generate the tarball with: $ git clone http://git.serialmonkey.com/rt2x00.git/ $ tar -czf rt2x00-git-20070427.tar.gz drivers/net/wireless/mac80211/ drivers/misc/eeprom_93cx6.c drivers/misc/Kconfig drivers/misc/Makefile include/linux/eeprom_93cx6.h include/linux/crc-itu-t.h lib/crc-itu-t.c lib/Kconfig lib/Makefile lib/*/Makefile AllenJB: I'm not using the git repository because it is slooooow (http://rt2x00.serialmonkey.com/wiki/index.php?title=Rt2x00_GIT_instructions -> Step 3.2: wait. ages.) The following ebuilds will generate modules which are required.
Created attachment 117434 [details] net-wireless/eeprom_93cx6-git-20070427.ebuild
Created attachment 117436 [details] net-wireless/crc-itu-t-git-20070427.ebuild Please test; I don't own a ralink adapter.
Seems to work, builds and installals the modules. I get an error when inserting the rt61pci driver (for my card). "rt2x00lib->rt2x00lib_load_firmware: Error - Firmware loading requested by non-firmware driver." I don't think this has anything to do with the ebuilds.
Created attachment 117759 [details] net-wireless/rt2x00-git-20070427.ebuild Hmm, I've looked into the code and found out CONFIG_RT2X00_LIB_FIRMWARE should be defined to load firmware... Please try this ebuild
Works! :D Thanks Dick
(In reply to Comment #2) OK, any volunteer to create the tarballs and upload them somewhere so that people can actually test this? Seriously, I won't never ever touch git again in my life. The old CVS ebuild took about 30 seconds to check-out, this git clone junk was killed by me after it's eaten 200 megs of my disk space and was sitting there without visible progress for half an hour. :X What a 'progress' and what a horrible choice of VCS for such project. :X
For your convinience (if thats the way its spelled), http://folk.ntnu.no/myhre/rt2x00/rt2x00-git-20070513.tar.gz
(In reply to comment #11) > For your convinience Thanks, much appreciated. (if thats the way its spelled), Almost. :)
Created attachment 119192 [details] net-wireless/crc-itu-t-git-20070513.ebuild The current Makefile wants to compile loads of irrelevant stuff and fails. Had to hack it from scratch to compile only the relevant module.
This is now in sunrise overlay; Dick please move further work there, bugzilla is messy for such stuff. I've reworked the rt2x00-git ebuild significantly, so please test. Works fine here w/ rt2500pci and wpa_supplicant. http://overlays.gentoo.org/svn/proj/sunrise/reviewed/net-wireless/ or grab via layman.
(In reply to comment #14) Works fine Jakub. I uploaded rt2x00-git-20070529.tar.gz to the same location as before.
(In reply to comment #15) > Works fine Jakub. I uploaded rt2x00-git-20070529.tar.gz to the same location as > before. Thanks; any changes needed in the ebuilds?
(In reply to comment #16) > Thanks; any changes needed in the ebuilds? I don't think so. But I have only tested the rt61pci.
(In reply to comment #15) > Works fine Jakub. I uploaded rt2x00-git-20070529.tar.gz to the same location as > before. Done; if you want newer ones, just poke and upload - or gimme a decent way of producing the snapshots without having to git clone first. :)
You can also use gitweb to download tarballs at: http://git.serialmonkey.com/gitweb.cgi?p=rt2x00.git;a=tree;f=drivers/net/wireless/mac80211/rt2x00;h=24a546948645ca6dbee70c6c89c4e281e45b02de;hb=HEAD then use the "snapshot" link
(In reply to comment #3) > Please note that the current net-wireless/rt2x00-9999 ebuild is now useless Although it was useless for a while, it has become useful again with the release of kernel 2.6.22. See: http://rt2x00.serialmonkey.com/wiki/index.php/Downloads I just used rt2x00-9999.ebuild (with a couple modifications) and it worked fine with vanilla 2.6.22. I think this is the easiest way to install this driver at the moment unless you are unable to upgrade to 2.6.22 for some reason. Is anyone interested in my updated ebuild? Should I post it to a new bug?
(In reply to comment #20) > I just used rt2x00-9999.ebuild (with a couple modifications) and it worked fine > with vanilla 2.6.22. I think this is the easiest way to install this driver at > the moment unless you are unable to upgrade to 2.6.22 for some reason. Is > anyone interested in my updated ebuild? Should I post it to a new bug? Yeah, file a new bug. I'll WONTFIX this one as soon as it gets merged to the tree, seriously can't stand the git thing.
(In reply to comment #18) > (In reply to comment #15) > > Works fine Jakub. I uploaded rt2x00-git-20070529.tar.gz to the same location as > > before. > > Done; if you want newer ones, just poke and upload - or gimme a decent way of > producing the snapshots without having to git clone first. :) Jakub, just as another (positive!) datapoint for you: After upgrading my kernel to 2.6.21-gentoo-r3 my rt2500pci wireless card stopped working. I read this bug report in bugzilla and decided to try your sunrise overlay version of the 2x00-git-20070529 drivers from http://dev.gentooexperimental.org/~jakub/distfiles/ I'm happy to confirm that they brought my wireless card back to life. I'm using WEP, no WPA. Thanks!
FYI, bug 185229 is the updated CVS ebuild.
Merge in 2.6.24 kernels; closing this bug. http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=95ea36275f3c9a1d3d04c217b4b576c657c4e70e