LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-02-2010, 01:35 AM   #1
ninadb
Member
 
Registered: Feb 2004
Location: Mumbai, India
Distribution: Debian Stretch XFCE
Posts: 67

Rep: Reputation: 15
Compiling driver for Belkin USB router


Hi

I have a old laptop Dell C600 PIII 800mhz 256mb RAM 20Gb HDD and a floppy drive. It has 1 USB port and no wifi card.

I bought the Belkin F6D4050 v1 usb wireless adapter so that I could use it on the above laptop and connect to my wireless network at home.
The Belkin USB wireless adapter has a Ralink xchipset

There was no specific Linux driver available but a workaround for an old driver worked. Some changes to the code and compiling gets the wireless adapter to work.
I have installed Arch on the laptop. I compiled it and its working fine

Questions
1.Arch linux releases new image only once or twice a year
I have downloaded the latest available arch image and built froms scratch.
When I update Arch (as it is a rolling release) the kernel also gets updated and the compiled driver fails to work. I have to recompile again for the new kernel.
Is there a way I can compile this driver in the existing Arch or any other distro kernel and use as long as I can without updating so I do not have to recompile again

Thanks
Ninad
 
Old 10-02-2010, 03:41 AM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
You can turn the driver into a kernel module and compile it into a binary. From there you can just keep the binary mymodule.o and install it into the kernel. Although... now that I think about it you need kernel headers to compile it so it will probably only work for that version of kernel. Anyway if you get ahold of the binary then you can use the insmod and modprobe commands respectively to enable/install it.

Recently I've found module examples and tutorials...
RTL8139.C
How to: Compile Linux kernel modules
modprobe

Not sure if that approach is the best one but I should think that it is a good idea to turn it into a module to ease installation in the future.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Belkin54g router not Jammin well with Linux/Slack/Realtek (belkin USB wirelesss) flayzernax Linux - Networking 3 12-19-2009 09:07 PM
Belkin USB Adapter not connecting to Router (Debian) ByteChanger Linux - Wireless Networking 0 10-14-2007 02:24 PM
Need a driver for Belkin F5D7050 wireless USB adapter donkeypoodle Linux - Wireless Networking 1 10-10-2007 05:39 PM
Belkin Wireless Card Connecting To Belkin Router Skippy06 SUSE / openSUSE 1 02-02-2005 02:51 AM
Belkin USB Adapter in Fedora. Can connect to the router but not the internet n0where Linux - Wireless Networking 0 03-04-2004 02:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration