Find the answer to your Linux question:
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, ...
  1. #1
    Just 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?

  2. #2
    Linux Newbie
    Join Date
    Sep 2005
    Location
    CZ
    Posts
    164

    Question

    What are you up to? Writing device drivers?


    manfid 0x0057, 0x1004 <--- how do you find this for the device?
    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...
    how does this work?
    What exactly do you mean by "this"?

  3. #3
    Just 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

  4. #4
    Linux 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...