Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sound card

Status
Not open for further replies.

stakadush

Programmer
Oct 1, 2001
195
IL
hello
i can't seem to get any sound in gnome. it tried playing the waves in the sound control but nothing happened.
couldn't find where to config this.
thanks :) (-:
 
ok. i configured the soundcard and it works great. i managed to play an mp3 file using:
mpg123 -a /dev/dsp /mnt/msdos/mp3/bjork.mp3

but trying this while in gnome i get the following error:
Can't open /dev/dsp!

also,can't play wav files and xmms also produces an error.
is there something i need to configure in gnome or x?
thanks
(-:
 
howdy,
or keep reading

14.4 Creating and Testing the Device Nodes
After you reboot, log in and run dmesg | grep pcm as shown below:

# dmesg | grep pcm
pcm0: <SB16 DSP 4.11> on sbc0

The output from your system may look different. If no pcm devices show up, something went wrong earlier. If that happens, go through your kernel configuration file again and make sure you chose the correct device. Consult the troubleshooting section for additional options.

If the previous command returned pcm0, you will have to run the following as root:

# cd /dev
# sh MAKEDEV snd0

If the command returned pcm1, follow the same steps as shown above, replacing snd0 with snd1.

Note: The above commands will not create a /dev/snd device!

MAKEDEV will create a group of device nodes, including:

Device Description
/dev/audio SPARC-compatible audio device
/dev/dsp Digitized voice device
/dev/dspW Like /dev/dsp, but 16 bits per sample
/dev/midi Raw midi access device
/dev/mixer Control port mixer device
/dev/music Level 2 sequencer interface
/dev/sequencer Sequencer device
/dev/pss Programmable device interface

If all goes well, you should now have a functioning sound card. If you do not, read the next section.

hth, if not - i'll need dmesg output and config of your kernel and stuff like that
$0.02
alex
 
yeah,i read this section and did everything. as i mentioned, the card is working properly. but not in gnome.
when doing dmesg | grep pcm i get:
pcm0: <VIA VT82C686A> port 0xb000-0xb003,0xb400-0xb403,0xb800-0xb8ff irq 10 at device 4.5 on pci 0

doing cat /dev/sndstat yields:
FreeBSD Audio Driver (newpcm) Dec 6 2001 11:37:27
Installed devices:
pcm0: <VIA VT82C686A> at io 0xb800 irq 10 (1p/1r/0v channels duplex)


and i am able to run mpg123 and play mp3 files while in terminal. but not through gnome. xmms also doesn't play but yields an error about my soundcard.

thanks for the help :) (-:
 
hi,
i thought that i'm gonna have time for the weekend and install gnome so i can play. no luck. since i couldn't try that, i'm out of the loop.
i would try to use kde ( they have if i remember artsd or something as a sound server ) and see what happens.
multimedia is not something that i have on my servers :)
if that doesn't works next will be to post your question in one of the freebsd mailing lists.
if you wanna do that, go to :
most of the time, you'll have answer on your question in the matter of minutes.
hth
alex
 
i found out the problem. i had to set the output plugin in xmms to eSound (esd) instead of OSS. this did the trick for xmms. and as for mgp123 i did the following:
esddsp mpg123 bjork.mp3

thanks for trying... :) (-:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top