From: peter hanson <hanson_p@yahoo.com>
Newsgroups: suso.linux-help
Subject: Re: configuring sound and modem capabilities
Date: Thu, 12 Nov 1998 17:15:34 -0500
Organization: Indiana University
NNTP-Posting-Host: 219.chicago-07.il.dial-access.att.net
X-Mailer: Mozilla 4.01 [en] (WinNT; I)
X-Priority: 3 (Normal)
Xref: news.suso.org suso.linux-help:25


i am really sorry. i am still too new to linux to know how to compile things.. i am currently trying to learn C, and i have made my first program, but i cant run it for some reason. i am also new to programming, so i would like help on that. could you please tell me how to compile/recompile programs so i can run them, and walk me thorugh the kernel comilation? thank you very much, peter hanson Suso wrote: > Peter, > > Great, I'm glad you could get these specs. Sorry this took so long > for > me to get around to this(I had A LOT of distractions this week). > First > I'll explain the modem part then the sound card. > > Modem: > > First you'll want to configure the kernel for PPP support and > serial > port support. Recompile it. Now find out what IRQ and IO number and > COM > port your modem is using. If you're also using windows95 on that > machine > you can reboot into windows and check the numbers in the systems > control > panel. Write these numbers down and go back into linux. > > You didn't say whether the modem was plug and play or not so I'm > going > to assume that it isn't, if it is then you'll want to read the isapnp > man > pages by typing 'man isapnp' and 'man isapnp.conf'. > > After you've recompiled the kernel and all you should be able to > reboot > into Linux and type 'lsdev' and your modem will show up as a Serial > device with the same IRQ and IO port that you wrote down. What you can > do > now is make a symbolic link to the COM port using the cua[0-3] > devices. If > your modem is on COM3 you'd link it to /dev/cua2. If it was on COM1 > you'd > use /dev/cua0, etc. The linking command is done like this: > > cd /dev > ln -s cua0 modem > > Now you're ready to setup PPP. If you're using RedHat Linux you can > just > go into X windows as root and open up the control-panel. In the > control > panel is a icon for networking. You can click on this, then click on > the > interfaces button at the top. In here, add an interface of type PPP. > You'll be prompted for things like the phone number and your username > and > password. After putting these in click ok and save the configuration. > Now > go back to the first button of the netconfig window and put in your > name > servers and domain name information. > > Once all this is done you should be able to just type in 'ifup ppp0' > as > root and you'll hear the modem dial out. If you don't, you might check > if > the modem is Plug and Play and check to see if the modem dials out > using > the 'minicom' program. > > Sound: > > Depending on whether the sound card is Plug and Play(PnP) or not > you'll > need to read about pnpisatools. > > If the sound card is not PnP you can configure it from within the > kernel > configuration. First find out what IRQs, DMAs and IO channels your > card > uses by checking out the manual or checking those settings from within > > Windows95. I'd rely more on the information in the manual first > though. > > Go into the kernel configuration and enable support for the > following > things: > > Sound card support > Generic OPL2/OPL3 FM Synth > MPU-401 support > /dev/dsp and /dev/audio support > MIDI interface support > FM Synthesizer(YM3812/OPL-3) support > > Then put in the values for the IObase, DMA, etc. setting in the > proper > boxes under the MIDI support for the card. After saving the config and > > recompiling the kernel you should be able to reboot and type 'lsdev' > and > see that you have supported sound hardware. If you don't, you might do > a > search on the internet for your hardware and Linux. You could also try > > using the well known software OSS(Open Sound System). That you can get > a > free trial on to test your hardware under Linux. Their website address > is: > > http://www.opensound.com/ > > > > Good luck with both your modem and sound. Let me know how things go > or > if you have any further questions. > > Thanks for your time and enthusiasm, > > Suso > > On Sat, 7 Nov 1998, peter hanson wrote: > > > ok, sorry i was late in getting my information on my sound card and > > modem... > > > > E-Tech, Inc > > fax+voice modem > > PC336RVP-cd > > 336. kps, internal > > > > Yamaha OPL3-SAx 1.0.00 > > sound, video game, and joystick interface > > Genius Soundmaker 3DX > > 16 bit, fullduplex MPU-401 > > > > ok, i hope that is helpful enough, i await your reply!! > > > > peter hanson > > > > > > > > Suso wrote: > > > > > Peter, > > > > > > Thanks for posting your question here. Modems and Sound Cards > are > > > usually the first culprits for being Plug and Play. Instead of > > > explaining each possible senario and how to solve it, it would > would > > > be better if you could let us know what brand and model of sound > card > > > you have. Also find out if the cards are PnP, PCI or ISA, etc. > Also > > > it's important to know whether the Modem is internal > > > or external. > > > > > > Once you provide this information I'll be able to give you a > much > > > better and more detailed answer. > > > > > > Thanks for your patience, > > > > > > Suso > > > > > > On Sun, 01 Nov 1998 20:29:38 -0500, peter hanson > > > > wrote: > > > >wowo, i haven't been on in SO long!! ok, anyway, i was wondering > how > > > to > > > >configure sound on my linux/nt box. i have the installation guide > > > > with > > > >all of those helpful tips-and-tricks on how to get things done in > > > > linux, > > > >and i haven't been feeling very tippy or tricky with it lately. i > > > > just > > > >got X-windows up and running (which was a big feat for me, it was > > > > >broken!) and i looked into the control panel, and then modem > > > >configuration. then i clicked on the COM1 under MS-DOS, and can > you > > > >believe it!? It Doesn't Do Anything!! well, that was my first > > > problem. > > > >my next problem is with my sound. first of all, i was at the > shell, > > > and > > > >ran /usr/sbin/sndconfig, and then i entered in my sound card > > > >specifications, but when i click on OK, i get an error message > > > >complaining about mod (im sorry, but i forgot the name of the > thing > > > >other than mod, its been a while when i tried it, and im in NT > > > >now....oops)something or rather not working.. i need help, and > i'd > > > >appriciate it if someone would! > > > > > > > >thanks, > > > > peter hanson > > > > > > > > > > > > > >