Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a Blitzz wireless LAN PC card that uses a Realtek 8180 chipset. Blitzz supplies a really crappy linux driver on their web site, but Realtek has a really cool one that was written for FC3 right on hand. I wish the fine folks at Realtek spoke better English to make their readme a little easier to understand, though. Taiwanese chipset, Taiwanese driver, Taiwanese help. c'est la vie.
I got this driver to compile just fine on a previous installation of FC3. I just recently freshly installed FC4 and want to include this driver when I compile a new kernel (which I am doing right away in hopes of remedying the 600E's famous sound problem).
AFAIK I have the compiler I need installed.
When I run make, the shell pukes this out at me:
Code:
make -C /lib/modules/2.6.11-1.1369_FC4/build SUBDIRS=/data/rtl MODVERDIR=/data/rtl modules
make[1]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
CC [M] /data/rtl/r8180_pci_init.o
/data/rtl/r8180_pci_init.c: In function ‘rtl8180_pci_probe’:
/data/rtl/r8180_pci_init.c:146: error: ‘struct pci_dev’ has no member named ‘slot_name’
/data/rtl/r8180_pci_init.c:150: error: ‘struct pci_dev’ has no member named ‘slot_name’
make[2]: *** [/data/rtl/r8180_pci_init.o] Error 1
make[1]: *** [_module_/data/rtl] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
make: *** [modules] Error 2
A few hours and endless Googling later:
There seem to be issues with the gcc4 compiler and some drivers. Apparently I am the first person to run into this particular driver's incompatability with gcc4. I have noticed that minor changes to people's drivers have universally yielded positive results. It seems that I need somebody who is a lot smarter than me and is familiar with gcc4 to look at this driver and tell me what to try changing.
Any takers? Should I go to the Fedora forum and ask this?
I piddled a little bit with ndiswrapper but it fussed about my kernel, and I don't especially like the ndis driver for this card.
I really liked that driver that Realtek wrote and will only give it up after ALL other options are exhausted.
I am presently trying to recompile my kernel to support the stupid sound card in the TP 600E. Then maybe I will take another crack at ndiswrapper, but that doesn't mean I will like it...
Originally posted by litlmary I piddled a little bit with ndiswrapper but it fussed about my kernel, and I don't especially like the ndis driver for this card.
I really liked that driver that Realtek wrote and will only give it up after ALL other options are exhausted.
I hope you get that working, and post back if you do. I have a card with the same chip, and ndiswrapper with the vendor's driver (Belkin) did not work well at all (system freeze-ups, etc.). But ndiswrapper using RealTek's own driver works flawlessly for me.
If gcc4 gives you troubles you van always compile with the previous version. Perhaps that does give you a clean compile.
As HappyTux explained in a different thread you can accomplish that by doing:
Quote:
You would use ln -sf /usr/bin/gcc-3.4 /usr/bin/gcc to change the link or if you do not want to do that then you could use in the shell/console just before starting to compile export CC=/usr/bin/gcc-3.4 then it will use gcc-3.4 for anything you compile in that shell/console.
So has anybody compiled that driver and gotten it to work well? I managed to build something from CVS head, and the module loaded cleanly, but it never worked right on my hardware. It wouldn't allow me to set the channel to match the frequency of my AP.
But if anybody has a success story, I might give it another go.
i got it to build, i added "char slot_name" to the definition of struct pci_dev and it worked just fine,
the light didnt come on though, now that fix isnt working and neither is the one i posted. dangit. im on
an unstable kernel though, for one and number two .. um .. im working on it .. ohyeah, i cant get the
current CVS for some reason, cvs -dserver:anonymous@cvs.sourceforge.net:/cvsroot/rtl8180-sa2400:login" isnt right or im dumb or
something
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.