Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Hi,
i just downloaded a stir4200 driver from ( wetlogic.net/stewart/stir4200/ ) but i dont know how this should be installed. There is a Makefile and a .c and .h file. Being new to linux 9 ( i just got it installed 2 days ago ) i have no idea how to get this driver installed.
Assuming that you're using RH9.0 which you stated in your distribution info, AND assuming that you never upgraded your kernel at all (because your particular device is definitely supported in the 2.6 kernel series), here's what I suggest you to do (note: do all this as root).
Go to the dir where you compiled the module, and do this: gzip astir4200.o ...a file called astir4200.o.gz should be seen there after running that.
After that type: uname -r ...this will return your kernel build info. Note this down.
After that type this: cp astir4200.o.gz /lib/modules/(the value returned by uname -r)/kernel/driver/net/irda/ - DO NOT KEY IN THE PARENTHESIS.
After that, just type modprobe astir4200... the module for your infrared device should now be loaded... How you use it is a totally different matter, don't ask me about that... I never used an IRDA gadget under Linux my whole life
I did what you sudjested, but when i do the modprobe, it says cannot locate module stir4200.o.gz ( in the earlier post i had an 'a' infront incorrectly ). since i noticed all the files in the place you told were all .o files, i copied the stir4200.o file there and tried again. but still the same result. cannot locate module stir4200.o . what am i doing wrong??
maybe i need to upgrade the kernel to the 2.6 version?
I'd recommend a kernel upgrade ONLY if you understand how to do it properly. In my case, I only screwed it up once, and learnt my lesson after that. The trick here is to actually understand your hardware and features of the OS that you would want to use.
But in all actuality, it really isn't that hard. Here's a thread to help you get started
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.