I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods
Amazon Honor System Click Here to Pay Learn More
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / I-Opener Areas / I-Opener Technical Stuff
Please, What is the audio config for Redhat 7? Using sndconfig?
Please, What is the audio config for Redhat 7? Using sndconfig?

New MessagePlease, What is the audio config for Redhat 7? Using sndconfig? (modified 0 times) Johnson
Profile
Hi guys,
I've searched through tons and tons of posts, and I'm sorry if I just didn't see it, but how do you get the sound to work in linux 7?
I'm running sndconfig, but don't see the YMF715 listed?
I'm reading the FAQ, and this is what they say:
2.2 Does sound work under Linux?
Yes, the YMF715 is supported in the Linux kernel (Yamaha OPL3/SA2 driver) and exists for ALSA. It even has a microphone. The two speakers sound pretty crappy, though, and there isn't much of an option to attach external speakers, unless you want to mess with the speaker connectors on the board or you want to do some soldering.
I don't see any of these yamaha's listed? What is the correct configuration and is there any special i/o ports, or irq's or anything else I will need?
Please help...man this is frustrating..
Oh one other thing...what is the preferred mp3 player on redhat 7 for the iop? I see one in the main menu under multimedia or something. Also if you happen to know...in jailbait..do I just type kjukebox then the path and it'll run or any special adds, or lines anywhere?

btw...I'm on a V1 or 2 I-op

Thanks Guys,

01-31-2001 01:07:58

New MessageHere's the answer I think...will try (modified 0 times) Johnson
Profile
The stock 2.2.14 linux kernels support the iopener sound hardware! You need to use compile your kernel with support for the following sound modules:


CONFIG_SOUND=m
CONFIG_SOUND_OSS=m
CONFIG_SOUND_MPU401=m
CONFIG_SOUND_MSS=m
CONFIG_SOUND_OPL3SA2=m
CONFIG_SOUND_YM3812=m

I'm not 100% sure the MSS module is necessary.

You need to use 'isapnp' to config the card prior to loading the modules. Here is my config file:

# (DEBUG)
(READPORT 0x0203)
(ISOLATE PRESERVE)
(IDENTIFY *)
(VERBOSITY 2)
(CONFLICT (IO WARNING)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING
(CONFIGURE YMH0020/-1 (LD 0
(IO 0 (SIZE 0) (BASE 0x0000))
(IO 1 (SIZE 8) (BASE 0x0530))
(IO 2 (SIZE 8) (BASE 0x0388))
(IO 3 (SIZE 2) (BASE 0x0330))
(IO 4 (SIZE 2) (BASE 0x0370))
(INT 0 (IRQ 5 (MODE +E)))
(DMA 0 (CHANNEL 1))
(DMA 1 (CHANNEL 3))
# End dependent functions
(NAME "YMH0020/-1[0]{OPL3-SA3 Sound Board}")
(ACT Y)
))
# Returns all cards to the "Wait for Key" state
(WAITFORKEY)

Store the above in '/etc/isapnp.conf' and run 'isapnp /etc/isapnp.conf' to init the card. There will be a warning related to SoundBlaster Pro compatibility being disabled. Ignore it.

Now, load the modules as below:

modprobe soundcore
modprobe sound
modprobe ad1848
modprobe mpu401
modprobe opl3sa2 io=0x370 mss_io=0x530 mpu_io=0x330 irq=5 dma=1 dma2=3
modprobe opl3 io=0x388

That is it! Sound should now work correctly.

All the previous info was derived from that in the kernel's "Documentation" subdirectory.

I recommend the 'aumix' program for those building mp3-players.

http://www.jpj.net/~trevor/aumix/aumix-2.6.tar.gz

make this with:

./config --without-ncurses --without-alsa --without-gtk --disable-gtktest --disable-nls

Strip it, and you get a 10Kbyte full featured command line mixer which only uses libc.

mpg123 is a great mp3 player,

/http://ftp.tu-clausthal.de/pub/unix/audio/mpg123/

It only uses 40% of the stock iopener CPU in playback.

02-01-2001 02:34:27

New MessageQuestion though (modified 0 times) Johnson
Profile
I went though the configration..all the way up to the make modules step (adding the one that wasn't on the list.
then I copied the text below as the new isapnp.config file. Store the above in '/etc/isapnp.conf' and run 'isapnp /etc/isapnp.conf' to init the card. HOW DO I RUN ISAPNP.CONFIG? I'm typing isapnp.config (I know that isn't right..but what does he mean?). then all I should have to do is modprobe the soundcore, sound, and ad1848...
I didn't make a whole new kernal..I hope to god that wasn't what was being implied? Can someone give me a hand..I'm close arent I?
Thanks,
02-01-2001 04:48:12

New MessageRE:Please, What is the audio config for Redhat 7? Using sndconfig? (modified 0 times) leighklotz
Profile
Are you running Redhat 7? I followed those instructions once, but now I think that in RH7 just become root outside of X and type "/usr/sbin/sndconfig"

My biggest problem was that the volume is too low to hear at all. I then started X and ran xmixer and turned up everything. Click the microphone off or else you'll get feedback.

02-03-2001 16:45:58

New Messagesndconfig? How (modified 0 times) Johnson
Profile
I tried that, but can't figure out what the settings to use are?
Please tell me!!! otherwise I'm gonna have to do a reconfig of the kernal or at least modules..yuck..
Please tell me..don't want to #### with the kernal...don't know enough yet to.
thanks
02-05-2001 10:30:52

New Messageok.. now what? (modified 0 times) Johnson
Profile
I'm trying to open xmixer, but when I click on it (it doesn't have an icon in front... that doesn't mean it's disabled or something does it?) it just hangs... just curious ...if there isn't an icon in front does it mean that I didn't put it in when I added stuff from the cd rom origionally...like licq and other stuff? I click on xmixer and it just hangs... could that mean that xmixer isn't connected to anything...ie have to recompile the kernal with some other stuff in it for the soundcard?... what is the soundcard?.. would be a lot easier to just do a sndconfig..but dont' see that working?:(
Thanks for the help guys,
02-10-2001 15:55:55

New MessageDamn now what? (modified 0 times) Johnson
Profile
Oh crap...well this is where I'm at...
ran isapnp and started entering the modprobes...soundcore, sound,ad1848,modprobe mpu401,modprobe opl3sa2 io=0x370 mss_io=0x530 mpu_io=0x330 irq=5 dma=1 dma2=3,
..........but once I type modprobe opl3 io=0x388
it says:
/lib/modules/2.2.16-22/misc/opl3.o: insmod
/lib/modules/2.2.16-22/misc/opl3.o failed
/lib/modules/2.2.16-22/misc/opl3.o: insmod opl3 failed

Ok..I'm stuck now... anyone know why?

02-11-2001 03:06:10

New MessageCan't someone help me please? (modified 0 times) Johnson
Profile
Ok while booting it says
/etc/isapnp.conf:8 --Fatal - Error occurred executing request '<iorescheck>" - further action aborted
Ok...any ideas why?
Please someone help!
02-11-2001 20:10:21

New MessageGOT IT WORKING!!!!!!!!!!! AAAAAAAAHHHHHHHHHHHH!!!!!!!!! (modified 0 times) Johnson
Profile
YYYYYYYYEEEEEEEEEEEEEAAHHHHHHHHHHHHH!!!!!!!!!!!!!!


Redid everything then it just started working!!!

AAAAAAAAAAAAAAAHHHHHHHHHHHHH!!!
I'm sooo happy!!!

02-11-2001 21:19:47

New MessageRE:Please, What is the audio config for Redhat 7? Using sndconfig? (modified 0 times) Johnson
Profile
Ok two frustrating quickies here:
1st: Why do I have to re-modprobe these everytime I boot to get sound:
modprobe soundcore
modprobe sound
modprobe ad1848
modprobe mpu401
modprobe opl3sa2 io=0x370 mss_io=0x530 mpu_io=0x330 irq=5 dma=1 dma2=3
modprobe opl3 io=0x388

.. and why is it that when I quit it says something about not being able to shut down something.. (I think i't audio related) but it asks me if I should kill the program

Secondly I gunzipped that mpg123 program above, but how do you run it? I'm typing mpg123 <name of mp3> and it's just giving me the information about the mp3..not playing it? any help there?
Thanks again,

03-12-2001 06:00:28

New MessageRE:Please, What is the audio config for Redhat 7? Using sndconfig? (modified 0 times) Johnson
Profile
Well forget that... the mp3 from napster had some screwed up naming convention... renamed it and off I went... nice mp3 player!!!
As for the modprobe crap.. I made a little script that I run...but really shouldn't have to? any ideas on that one?
03-14-2001 13:08:38

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3