Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
06-12-2014, 07:07 PM
|
#1
|
Member
Registered: Sep 2010
Posts: 233
Rep:
|
Need help creating a driver
To All,
I'm TYRING TO CREATE a wireless driver for an Ralink 3290 card. The card is installed in a HP Envy Desktop,
with Centos 6.5 loaded. I have the i5-4430 CPU @ 3.00GHz chipset in my cpu. Reading the file that I downloaded from Ralink I have some questions:
In Makefile
set the "MODE = STA" in Makefile and chose the TARGET to Linux by set "TARGET = LINUX"
define the linux kernel source include file path LINUX_SRC
modify to meet your need.
Question 1 = the MODE = STA was already set as well as the TARGET = LINUX. i am assuming I don't need to change anything in this part?
In os/linux/config.mk
define the GCC and LD of the target machine
define the compiler flags CFLAGS
modify to meet your need.
Question 2 = what is the GCC and the LD?
2b = how do i define the computer flags?
3c = how do i modify them to meet my needs?
Thank you for your help.
cajunchief
|
|
|
06-13-2014, 12:03 PM
|
#2
|
Senior Member
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982
|
Just run 'make' and then 'make install' as root. If it doesn't work post the error. All of the variables should already be set up.
|
|
|
06-14-2014, 02:18 AM
|
#4
|
Member
Registered: Sep 2010
Posts: 233
Original Poster
Rep:
|
Quote:
Originally Posted by jefro
|
jefro,
Do you know how I can get the " Vendor  evice ID string"? I am pretty sure i have the Ralink 3290, but WANT TO CONFIRM I DO.
cajunchief
|
|
|
06-14-2014, 11:01 AM
|
#5
|
Senior Member
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982
|
'lsusb' works for USB devices.
|
|
|
06-16-2014, 10:57 AM
|
#6
|
Member
Registered: Sep 2010
Posts: 233
Original Poster
Rep:
|
Quote:
Originally Posted by metaschima
'lsusb' works for USB devices.
|
Meta, thanks mate!
cajunchief
|
|
|
08-05-2014, 02:25 PM
|
#7
|
Member
Registered: Sep 2010
Posts: 233
Original Poster
Rep:
|
Quote:
Originally Posted by metaschima
'lsusb' works for USB devices.
|
Meta,
I gat a command doesnt exist error for "isusb"?
WTFO?
cajunchief
|
|
|
08-05-2014, 02:50 PM
|
#8
|
Senior Member
Registered: Apr 2007
Location: West Virginia
Distribution: Manjaro
Posts: 1,030
|
Quote:
Originally Posted by cajunchief
Meta,
I gat a command doesnt exist error for "isusb"?
WTFO?
cajunchief
|
not an i rather an l (lower case L) lsusb
|
|
|
All times are GMT -5. The time now is 04:56 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|