Results 1 to 4 of 4
ok i dont know if this is the right portion of the forum for this, but her goes nothing. Im a intermidiat user to linux, and i need some assisntance, ...
- 05-07-2007 #1Just Joined!
- Join Date
- May 2007
- Posts
- 4
Manfid
ok i dont know if this is the right portion of the forum for this, but her goes nothing. Im a intermidiat user to linux, and i need some assisntance, with first where should i start for writing code for linux, and another question is this:
card "Connectware LANdingGear Adapter"
manfid 0x0057, 0x1004 <--- how do you find this for the device?
bind "pcnet_cs"
how does this work?
- 05-07-2007 #2Linux Newbie
- Join Date
- Sep 2005
- Location
- CZ
- Posts
- 164
What are you up to? Writing device drivers?
You can check the kernel sources (search "manfind" + anything + "0x") for how to "find" device identifiers, that can be the way. Otherwise I guess you have to study hard the kernel documentation first...manfid 0x0057, 0x1004 <--- how do you find this for the device?
What exactly do you mean by "this"?how does this work?
- 05-07-2007 #3Just Joined!
- Join Date
- May 2007
- Posts
- 4
Re:
lol, actually i want to learn how to write my own drivers, so i just been poking around looking for all the information i can
- 05-08-2007 #4Linux Newbie
- Join Date
- Sep 2005
- Location
- CZ
- Posts
- 164
I'd recomend you first read some docs about what the shell is a kernel anyways?

Then there is a LinSux kernel module doc and little obsolete but I believe still usefull LinSux kernel.
And then you can go for studying the documentation in kernel sources located in directory doc*. I don't remember if that's [Dd]ocumentation or */[Dd]oc* directory... But you will surely see it.
The last stage could be reading the existing drivers source...
BUT... There surely is a shortcut if you want a custom driver just for you. You can modify existing device module (The module which is the closest match to your device or your device's class, that is...), rebuild the kernel and see if your modification works when your module is loaded


Reply With Quote