Linux That's it. I've had it. Now where do I start...?

Discussion in 'Software' started by Ubermich, 6 Aug 2003.

  1. Ubermich

    Ubermich He did it!

    Joined:
    21 Jun 2002
    Posts:
    4,389
    Likes Received:
    1
    Where do I start if I want to write sound drivers? I don't care what it takes, I just want to get to a point where I can write some damned drivers for the bloody cs4236. I know no c, no gcc... so basically ground up... searching google isn't turning up much here... :grr:

    Okay, that was written in a fit of rage. I'm so sick of this pos chipset not being supported by anything properly though. OSS is SUPPOSED to support it. v2.4.x is SUPPOSED to support it... with modifications... even with the modifications do they work? NO! thus I'm quite angry and I want to learn programming anyway... so why not have a goal?
     
  2. Hargle

    Hargle What's a Dremel?

    Joined:
    13 Oct 2001
    Posts:
    404
    Likes Received:
    1
    Well you basically answer your own question in your post. You don't know C. Learn C. Then learn about Linux device drivers. If you've only been using linux for a short time and you don't know C, as much as you might like to think you can just start doing a better job than people with years of experience it's probably time to step away from the computer and think again...

    Why do you want to write a sound driver?
     
  3. ChillingSP

    ChillingSP What's a Dremel?

    Joined:
    11 Jun 2003
    Posts:
    863
    Likes Received:
    0
  4. Ubermich

    Ubermich He did it!

    Joined:
    21 Jun 2002
    Posts:
    4,389
    Likes Received:
    1
    I have no doubt that writing device drivers will be challenging (to say the least) and appreciate your concern. However, I was asking for a reference to start with.
    Thanks Chill for the linkage!
     
  5. ChillingSP

    ChillingSP What's a Dremel?

    Joined:
    11 Jun 2003
    Posts:
    863
    Likes Received:
    0
    Go for it , man :thumb:
     
  6. Ubermich

    Ubermich He did it!

    Joined:
    21 Jun 2002
    Posts:
    4,389
    Likes Received:
    1
    Do you happen to have any gcc linkage? Or should I just look into C info? I know they're similar, but I thought gcc had some differences...
     
  7. ChillingSP

    ChillingSP What's a Dremel?

    Joined:
    11 Jun 2003
    Posts:
    863
    Likes Received:
    0
    Gcc is the linux C compiler (Gnu Compiler Collection)
    C is the language and it comes with the ANSI standard.
    So basically all C languages have the same standard features that means all C books are good for learning this language.

    It turns out however, that every compiler has some additional features and different instructions to compile and link the files and other things that are compiler dependent.
    To learn about Gcc just look at the documentation that ships with it.
    Or look at gcc site http://gcc.gnu.org/
    :thumb:
     
    Last edited: 8 Aug 2003
  8. ChillingSP

    ChillingSP What's a Dremel?

    Joined:
    11 Jun 2003
    Posts:
    863
    Likes Received:
    0
  9. Hargle

    Hargle What's a Dremel?

    Joined:
    13 Oct 2001
    Posts:
    404
    Likes Received:
    1
    This book is the classic Ansi C reference.
     
Tags:

Share This Page