Go Back   Tactical Gamer > General Forums > Hardware & Software Discussion


Hardware & Software Discussion Hardware and Software discussion and troubleshooting. Tweakers and Overclockers welcome!

Reply
 
Thread Tools
Old 08-13-2006, 12:00 AM   #1 (permalink)
 
Root's Avatar
 
Join Date: Dec 2004
Location: South east england
Posts: 8,839
Complile linux source code?

I've got a device driver that I need to install, but there's zero documentation for linux, just the drivers. How do I install the device?
__________________
BFCL TF2 league admin
Root is offline   Reply With Quote
Old 08-13-2006, 05:33 AM   #2 (permalink)
 
Lorian's Avatar
 
Join Date: Feb 2006
Location: United Kingdom
Age: 18
Posts: 2,036
Re: Complile linux source code?

To quote my response from your other thread, "You sure it doesn't work anyway? A lot of obscure hardware works with Linux out of the box."
__________________

|TG-E17th|Lorian

Member since 18th February 2006
Supporting member since 4th August 2006


PGP public key

Processor: Intel Core 2 Duo E6420 Memory: 2x 1GB Corsair XMS2 DDR2-800 RAM
Video Card: XFX NVIDIA GeForce 6800 XT 256MB Monitor: 17" Dell CRT and 15" generic LCD
Sound Card: Creative X-Fi Xtrememusic and Creative Sound Blaster Live! (no Linux X-Fi drivers yet)


Lorian is offline   Reply With Quote
Sponsored links
Old 08-13-2006, 10:54 AM   #3 (permalink)
 
Root's Avatar
 
Join Date: Dec 2004
Location: South east england
Posts: 8,839
Re: Complile linux source code?

Quote:
Originally Posted by Lorian View Post
To quote my response from your other thread, "You sure it doesn't work anyway? A lot of obscure hardware works with Linux out of the box."
None of my apps can find the internet, so I'd suggest it's not working. There was no activity to suggest hardware detection when I plugged the device in, nor the following time I started linux.
__________________
BFCL TF2 league admin
Root is offline   Reply With Quote
Old 08-13-2006, 10:56 AM   #4 (permalink)



 
Apophis's Avatar
 
Join Date: Oct 2001
Location: Rhode Island, USA
Age: 36
Posts: 8,991
Re: Complile linux source code?

What is the device?

There's two things, you may need to just re-compile the kernel with support for the device and/or if you're rigged for loadable modules you may just need to insmod the driver.
__________________
Diplomacy is the art of saying "good doggie" while looking for a bigger stick.
Apophis is offline   Reply With Quote
Old 08-13-2006, 11:05 AM   #5 (permalink)
 
Lorian's Avatar
 
Join Date: Feb 2006
Location: United Kingdom
Age: 18
Posts: 2,036
Re: Complile linux source code?

Go to the command line and type ifconfig, what shows up?
__________________

|TG-E17th|Lorian

Member since 18th February 2006
Supporting member since 4th August 2006


PGP public key

Processor: Intel Core 2 Duo E6420 Memory: 2x 1GB Corsair XMS2 DDR2-800 RAM
Video Card: XFX NVIDIA GeForce 6800 XT 256MB Monitor: 17" Dell CRT and 15" generic LCD
Sound Card: Creative X-Fi Xtrememusic and Creative Sound Blaster Live! (no Linux X-Fi drivers yet)


Lorian is offline   Reply With Quote
Old 08-13-2006, 03:11 PM   #6 (permalink)
 
Root's Avatar
 
Join Date: Dec 2004
Location: South east england
Posts: 8,839
Re: Complile linux source code?

Quote:
Originally Posted by Lorian View Post
Go to the command line and type ifconfig, what shows up?
etho1 and lo, with tech details on both.

It's a wifi adapter I'm trying to install.
__________________
BFCL TF2 league admin
Root is offline   Reply With Quote
Sponsored links
Old 08-13-2006, 03:59 PM   #7 (permalink)
 
Lorian's Avatar
 
Join Date: Feb 2006
Location: United Kingdom
Age: 18
Posts: 2,036
Re: Complile linux source code?

Next to etho1 what does it say next to inet addr:...

Mine says "inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0" for example.
__________________

|TG-E17th|Lorian

Member since 18th February 2006
Supporting member since 4th August 2006


PGP public key

Processor: Intel Core 2 Duo E6420 Memory: 2x 1GB Corsair XMS2 DDR2-800 RAM
Video Card: XFX NVIDIA GeForce 6800 XT 256MB Monitor: 17" Dell CRT and 15" generic LCD
Sound Card: Creative X-Fi Xtrememusic and Creative Sound Blaster Live! (no Linux X-Fi drivers yet)


Lorian is offline   Reply With Quote
Old 08-13-2006, 08:22 PM   #8 (permalink)
 
Join Date: Jul 2005
Posts: 4,494
Re: Complile linux source code?

Quote:
Originally Posted by Root View Post
etho1 and lo, with tech details on both.

It's a wifi adapter I'm trying to install.
The model of wifi adapter and perhaps a link to the manuf's webpage would really help people help you. Without seeing exactly what you are given, people are just left with guessing at what you need to do.
__________________
Battlefield Admin(BF2 Rules) (BF2142 Rules)
[volun2][medic][defense3][eng2][support]
[sg-c1][gchq-c1][tog-c1][ma-c1][taw-c1][tg-c2]
Support TG | Write for TacticalWiki | BF2 Sig. Generator | TS Help
perry is offline   Reply With Quote
Old 08-14-2006, 02:17 PM   #9 (permalink)
 
Root's Avatar
 
Join Date: Dec 2004
Location: South east england
Posts: 8,839
Re: Complile linux source code?

Quote:
Originally Posted by perry View Post
Without seeing exactly what you are given, people are just left with guessing at what you need to do.
I have a bunch of C files. I need to compile them as far as I can tell, in order to make the device work.
__________________
BFCL TF2 league admin
Root is offline   Reply With Quote
Old 08-14-2006, 07:13 PM   #10 (permalink)
 
=Sarc='s Avatar
 
Join Date: May 2003
Location: Ottawa, Canada
Posts: 4,625
Re: Complile linux source code?

Quote:
Originally Posted by Root View Post
I have a bunch of C files. I need to compile them as far as I can tell, in order to make the device work.
What drivers are you compiling? If you tell us what you're compiling and what wireless card you're using, somebody may have already used them and can link you to existing instructions or note any problems with the drivers.

For the most part, I'm surprised there isn't any documentation on how to compile it. It's one of the things I hate about linux. There should be a make file you can run somewhere. It's usually make install or something.

Are you using ndiswrapper? I've used it before and it supports a variety of wireless cards and adapters. It also has good documentation with it. I guess you're not since the drivers you have don't have docs.
__________________
JO Guides & Tutorials
Team Element - It's who you game with.
=Sarc= is offline   Reply With Quote
Sponsored links
Old 08-14-2006, 09:34 PM   #11 (permalink)
 
Root's Avatar
 
Join Date: Dec 2004
Location: South east england
Posts: 8,839
Re: Complile linux source code?

Let me see if I understand this correctly.

I know for a fact, that if I load a C file into a DOS C compiler, I can compile the code by going to the correct drop-down menu, and clicking on compile.

What you guys are telling me, is that in linux, to compile C code, the answer could be beujolais, it could be avacado, or it could be an entire treatise on african cooking, depending on what the device is?????

Surely there has to be an easier way to compile C code under linux?
__________________
BFCL TF2 league admin
Root is offline   Reply With Quote
Old 08-14-2006, 09:41 PM   #12 (permalink)
 
=Sarc='s Avatar
 
Join Date: May 2003
Location: Ottawa, Canada
Posts: 4,625
Re: Complile linux source code?

Quote:
Originally Posted by Root View Post
Let me see if I understand this correctly.

I know for a fact, that if I load a C file into a DOS C compiler, I can compile the code by going to the correct drop-down menu, and clicking on compile.

What you guys are telling me, is that in linux, to compile C code, the answer could be beujolais, it could be avacado, or it could be an entire treatise on african cooking, depending on what the device is?????

Surely there has to be an easier way to compile C code under linux?
No, the point is that someone may already know the drivers you're trying to use and can point out any peculiarities or obscure documentation on it or better drivers that have documentation. I recommend ndiswrapper (wraps Windows drivers) but since you don't mention the device name I don't know if ndiswrapper is a better alternative.

I think the point of this thread is to help you solve the wireless device problem. You only look at one solution (how to compile source code) instead of alternative solutions. Unless, you really just want to know how to compile C code in linux and want to solve the wireless device problem yourself.

Now, what drivers are you using? Maybe someone can download them too and figure out where the make file is you have to run to start the compiling process. From my linux experience, every driver I've compiled has been like this. There's a make file and it kick starts the process.
__________________
JO Guides & Tutorials
Team Element - It's who you game with.
=Sarc= is offline   Reply With Quote
Old 08-14-2006, 09:47 PM   #13 (permalink)
 
Join Date: Jul 2005
Posts: 4,494
Re: Complile linux source code?

gcc is the C++ compiler.

tar jxvf file.tar.bz2 ; cd file ; make ; make install ; modprobe module

That's the best instructions I can give you without knowing what exactly you are working with.

Why make this so hard?
__________________
Battlefield Admin(BF2 Rules) (BF2142 Rules)
[volun2][medic][defense3][eng2][support]
[sg-c1][gchq-c1][tog-c1][ma-c1][taw-c1][tg-c2]
Support TG | Write for TacticalWiki | BF2 Sig. Generator | TS Help
perry is offline   Reply With Quote
Old 08-15-2006, 05:11 AM   #14 (permalink)
 
Lorian's Avatar
 
Join Date: Feb 2006
Location: United Kingdom
Age: 18
Posts: 2,036
Re: Complile linux source code?

If there is an INSTALL file read it, if not, run ./configure if there is a configure file, then make, then sudo make install
__________________

|TG-E17th|Lorian

Member since 18th February 2006
Supporting member since 4th August 2006


PGP public key

Processor: Intel Core 2 Duo E6420 Memory: 2x 1GB Corsair XMS2 DDR2-800 RAM
Video Card: XFX NVIDIA GeForce 6800 XT 256MB Monitor: 17" Dell CRT and 15" generic LCD
Sound Card: Creative X-Fi Xtrememusic and Creative Sound Blaster Live! (no Linux X-Fi drivers yet)


Lorian is offline   Reply With Quote
Sponsored links
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to query server list? Lorian Battlefield 2 - Technical Support & FAQs 4 03-14-2006 12:22 AM
Counter-Strike: Source Update 01.18.06 poe Counter-Strike - General Discussion 2 01-25-2006 07:58 PM
Day of Defeat Source and Dystopia Servers Apophis Tactical Gamer News Items 8 09-28-2005 12:12 AM
Counter Strike Source Linux Mateo Counter-Strike - General Discussion 0 04-22-2005 01:35 AM


All times are GMT -4. The time now is 04:31 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
©2004-2008 - Tactical Gamer - All Rights Reserved