View previous topic :: View next topic |
Author |
Message |
StringCheesian l33t
Joined: 21 Oct 2003 Posts: 887
|
Posted: Wed Oct 22, 2003 3:00 am Post subject: Is there a driver name reference? |
|
|
It took me a great deal of online research to figure out that my network card needs the natsemi driver, is there an easier way?
Now I've got Gentoo installed in a VirtualPC and I need to know what the right driver is for the DEC 21104a Ethernet controller it emulates.
Is there a table or chart or something, online or in a man page that I can look at? Or is there some program that comes in the GRP that can autodetect and tell me which driver to use? |
|
Back to top |
|
|
Vanquirius Retired Dev
Joined: 14 Jun 2002 Posts: 1297 Location: Ethereal plains
|
|
Back to top |
|
|
StringCheesian l33t
Joined: 21 Oct 2003 Posts: 887
|
Posted: Wed Oct 22, 2003 3:56 am Post subject: |
|
|
ManuChao wrote: | Is it tulip.o? | I dunno. I wish I knew how to find out... Give a man a fish; you have fed him for today. Teach a man to fish; and you have fed him for a lifetime" I want to learn.
ManuChao wrote: | http://www.f7.ems.okayama-u.ac.jp/~fujino/linuxalpha001.html | I don't know any Japanese.
Last edited by StringCheesian on Wed Oct 22, 2003 4:00 am; edited 1 time in total |
|
Back to top |
|
|
meowsqueak Veteran
Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Wed Oct 22, 2003 3:57 am Post subject: |
|
|
There are FCC numbers or whatever they are called - look on the network card itself. Once you have that, you can consult an online database to find out who the manufacturer is, and possibly even the model. Then you need to find out the chipset (easy enough to do if you can get hold of one of the windows drivers or manufacturer data) and then somehow match the chipset with a linux driver. Fun. |
|
Back to top |
|
|
StringCheesian l33t
Joined: 21 Oct 2003 Posts: 887
|
Posted: Wed Oct 22, 2003 4:02 am Post subject: |
|
|
meowsqueak wrote: | There are FCC numbers or whatever they are called - look on the network card itself. Once you have that, you can consult an online database to find out who the manufacturer is, and possibly even the model. Then you need to find out the chipset (easy enough to do if you can get hold of one of the windows drivers or manufacturer data) and then somehow match the chipset with a linux driver. Fun. |
There's no easier way than that?!?! But Mandrake, RadHat, and Windows all use the right network drivers automatically, why can't Gentoo?
Besides, I can't look at the card because it's a virtual machine (VirtualPC). All I know is it's emulating a DEC 21104a network card.
Last edited by StringCheesian on Wed Oct 22, 2003 4:07 am; edited 1 time in total |
|
Back to top |
|
|
meowsqueak Veteran
Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Wed Oct 22, 2003 4:07 am Post subject: |
|
|
Well, I was only suggesting that as a manual 'last resort'. I usually do a cat /proc/pci, search thru the output for something that seems familiar and to do with a network card, and then using a combination of google and looking at the Linux source I figure out what chipset and therefore what driver to use. I'm sure there are easier ways.
E.g.
Code: | Bus 0, device 9, function 0:
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 16). |
That's an 8139 so I look in the Linux source and it just happens to be there (8139too.o). I got lucky with that one. |
|
Back to top |
|
|
StringCheesian l33t
Joined: 21 Oct 2003 Posts: 887
|
Posted: Wed Oct 22, 2003 4:10 am Post subject: |
|
|
Ok, how can I get at the Linux source? Maybe "ls *dec*" would do the trick.
You know how xf86config gives you a list of video cards by name - that way you don't have to know what the cooresponding driver is? Well, there should be something like that for sound and network too. Why isn't there? |
|
Back to top |
|
|
meowsqueak Veteran
Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Wed Oct 22, 2003 4:42 am Post subject: |
|
|
Well, there probably is - I just don't know what it's called... |
|
Back to top |
|
|
funkmankey Guru
Joined: 06 Mar 2003 Posts: 304 Location: CH
|
Posted: Wed Oct 22, 2003 4:46 am Post subject: |
|
|
just boot a livecd and let it do its hotplug mumbo-gumbo, then do an lsmod and see what you get...
alternatively, learn about hotplug. _________________ I've got the brain, I'm insane, you can't stop the power |
|
Back to top |
|
|
StringCheesian l33t
Joined: 21 Oct 2003 Posts: 887
|
Posted: Wed Oct 22, 2003 5:41 am Post subject: |
|
|
Yep, it's tulip. Booting the livecd and doing an lsmod was a great idea.
ManuChao, meowsqueak, funkmankey, thank you for taking the time to help me - I appreciate it.
I've got an issue with hotplugging, but I should start a new thread for it. |
|
Back to top |
|
|
RedBeard0531 Guru
Joined: 21 Sep 2002 Posts: 415 Location: maryland
|
Posted: Wed Oct 22, 2003 6:45 pm Post subject: |
|
|
I suggest you look into lspci. it a handy tool, and doesnt require the kernel be compilesd with support for the devices it names. _________________ OH MY GOD! Kenny just killed Kenny!
That Basterd! |
|
Back to top |
|
|
|