help no sound

Hey guys,

I just installed FreeBSD 7.2 + gonme2-lite and I have no sound. I followed the instructions here but my creative sound card is still dead.

Thanks in advance,

Corneliu
 
Specifics would help a lot. What sound card? What have you done so far? What do you have in /boot/loader.conf? What does the output of "mixer" give you? What do the Gnome sound menus tell you in System/Preferences? What does (as su) "cat /dev/sndstat" tell you?
 
Thank you for helping,
DrJ said:
What sound card?

Creative SoundBlaster live EMU10k1

DrJ said:
What have you done so far?

I've done everything that the tutorial linked in my first post adviced me to do.

DrJ said:
What do you have in /boot/loader.conf?

Code:
$ cat /boot/loader.conf
snd_cmi_load="YES"
$

DrJ said:
What does the output of "mixer" give you?

Code:
$ mixer
Mixer vol      is currently set to  75:75
Mixer bass     is currently set to  50:50
Mixer treble   is currently set to  50:50
Mixer synth    is currently set to  75:75
Mixer pcm      is currently set to  75:75
Mixer speaker  is currently set to  75:75
Mixer line     is currently set to  75:75
Mixer mic      is currently set to   0:0
Mixer cd       is currently set to  75:75
Mixer igain    is currently set to   0:0
Mixer ogain    is currently set to  50:50
Mixer monitor  is currently set to  75:75
Recording source: mic
$

DrJ said:
What do the Gnome sound menus tell you in System/Preferences?

A dialog window opens with this message: "Waiting for sound system to respond" and it just stays there.

DrJ said:
What does (as su) "cat /dev/sndstat" tell you?

Code:
# cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0: <CMedia CMI8738> at io 0x9800 irq 17 kld snd_cmi [MPSAFE] (1p:1v/1r:1v channels duplex default)
 
Thank you for helping,
SirDice said:
If snd_driver didn't pick up any soundcards is quite likely your card isn't supported.

If you have a soundblaster X-Fi card you will need to install audio/oss.

That sounds scary. I hope I don't have to do that.
 
I *think* the generic kernel loads the sound system. To be sure, add " sound_load="YES" " to /dev/loader.conf as the first line and reboot. See if Gnome can run the test files from the appropriate menu.

What do you have in /etc/rc.conf?
 
If you have an emu10k1 why not load that driver instead of cmi?

Instead of snd_cmi_load in /boot/loader.conf put snd_emu10k1_load in there. You can also try the snd_emu10kx(4) driver.
 
Thanks DrJ,
DrJ said:
I *think* the generic kernel loads the sound system. To be sure, add " sound_load="YES" " to /dev/loader.conf as the first line and reboot. See if Gnome can run the test files from the appropriate menu.

/dev/loader.conf does not exist and I get a permission denied even as root, it looks like /dev is read only, check this
Code:
$ ls -la
total 59
drwxr-xr-x  21 root  wheel      512 Jun 25 23:04 .
drwxr-xr-x  21 root  wheel      512 Jun 25 23:04 ..
-rw-r--r--   2 root  wheel      793 May  1 02:56 .cshrc
-rw-r--r--   2 root  wheel      260 May  1 02:56 .profile
drwxrwxr-x   2 root  operator   512 Jun 24 10:02 .snap
-r--r--r--   1 root  wheel     6197 May  1 02:56 COPYRIGHT
drwxr-xr-x   2 root  wheel     1024 Jun 24 10:03 bin
drwxr-xr-x   7 root  wheel      512 Jun 24 10:04 boot
drwxr-xr-x   2 root  wheel      512 Jun 24 10:03 cdrom
drwxr-xr-x   2 root  wheel      512 Jun 24 10:03 cdrom1
lrwxr-xr-x   1 root  wheel       10 Jun 24 10:04 compat -> usr/compat
dr-xr-xr-x   6 root  wheel      512 Jun 26 17:47 dev
drwxr-xr-x   2 root  wheel      512 Jun 24 10:03 dist
-rw-------   1 root  wheel     4096 Jun 25 23:04 entropy
drwxr-xr-x  20 root  wheel     2048 Jun 25 22:37 etc
lrwxr-xr-x   1 root  wheel        8 Jun 24 10:30 home -> usr/home
drwxr-xr-x   3 root  wheel     1536 May  1 04:59 lib
drwxr-xr-x   2 root  wheel      512 Jun 24 10:03 libexec
drwxr-xr-x   2 root  wheel      512 Jun 26 21:47 media
drwxr-xr-x   2 root  wheel      512 May  1 02:53 mnt
dr-xr-xr-x   1 root  wheel        0 Jun 26 23:29 proc
drwxr-xr-x   2 root  wheel     2560 Jun 24 10:03 rescue
drwxr-xr-x  14 root  wheel      512 Jun 25 22:37 root
drwxr-xr-x   2 root  wheel     2560 Jun 24 10:03 sbin
lrwxrwxrwx   1 root  wheel       11 Jun 24 10:03 sys -> usr/src/sys
drwxrwxrwt  12 root  wheel     1536 Jun 26 23:20 tmp
drwxr-xr-x  16 root  wheel      512 Jun 24 10:30 usr
drwxr-xr-x  26 root  wheel      512 Jun 26 17:47 var
$

DrJ said:
What do you have in /etc/rc.conf?

Code:
$ cat /etc/rc.conf

# -- sysinstall generated deltas -- # Wed Jun 24 10:09:56 2009
# Created: Wed Jun 24 10:09:56 2009
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
hostname="localhost.corneliu"
ifconfig_sis0="DHCP"
inetd_enable="YES"
ipv6_enable="YES"
keymap="us.iso"
linux_enable="YES"
moused_enable="YES"
sshd_enable="YES"
gnome_enable="YES"
$
 
Thanks SirDice,
SirDice said:
If you have an emu10k1 why not load that driver instead of cmi?

Instead of snd_cmi_load in /boot/loader.conf put snd_emu10k1_load in there.

I just tried your suggestion. Same result unfortunately.

SirDice said:
You can also try the snd_emu10kx(4) driver.

I'll try this tomorrow and I'll report the results.
 
Thanks DrJ,
DrJ said:
I *think* the generic kernel loads the sound system. To be sure, add " sound_load="YES" " to /dev/loader.conf as the first line and reboot. See if Gnome can run the test files from the appropriate menu.

I added " sound_load="YES" " to /boot/loader.conf and now this is the message I get:
Code:
The volume control did not find any elements and/or devices to control. This means either that you don't have the right GStreamer plugins installed, or that you don't have a sound card configured.

You can remove the volume control from the panel by right-clicking the speaker icon on the panel and selecting "Remove From Panel" from the menu.

It seems a step backwards to me :)
 
Do you have the various gstreamer stuff installed? Sounds to me like you have a bad driver. What is the sound card (complete model number)?
 
corneliu:

Put
Code:
snd_driver_load="YES"
into /boot/loader.conf and reboot. This will load all available sound drivers.

If that doesn't work, remove the previus line and try to load just the emu10kx driver instead with:
Code:
snd_emu10kx_load="YES"
 
Thanks DrJ,
DrJ said:
What is the sound card (complete model number)?

CM8738

DrJ said:
Do you have the various gstreamer stuff installed?

Yes.
Code:
$ pkg_info | grep gstreamer
gstreamer-0.10.22_1 Development framework for creating media applications
gstreamer-ffmpeg-0.10.7 GStreamer plug-in for manipulating MPEG video streams
gstreamer-plugins-0.10.22_1,3 GStreamer written collection of plugins handling several me
gstreamer-plugins-a52dec-0.10.11,3 Gstreamer ATSC A/52 stream aka AC-3 (dvd audio) plugin
gstreamer-plugins-bad-0.10.11,3 Bad gstreamer-plugins
gstreamer-plugins-cdparanoia-0.10.22_1,3 Gstreamer CDDA extraction (aka audio ripping) plugin
gstreamer-plugins-core-0.10_10 Core set of typical audio and video gstreamer-plugins
gstreamer-plugins-dts-0.10.11,3 Gstreamer dts plugin
gstreamer-plugins-dvd-0.10.11,3 Gstreamer dvd plugin set
gstreamer-plugins-esound-0.10.14,3 Gstreamer enlightenment sound library plugin
gstreamer-plugins-flac-0.10.14,3 Gstreamer free lossless audio encoder/decoder plugin
gstreamer-plugins-gconf-0.10.14,3 Gstreamer gconf plugin
gstreamer-plugins-gio-0.10.22_1,3 Gstreamer gio (Glib I/O) plugin
gstreamer-plugins-good-0.10.14,3 Good gstreamer-plugins
gstreamer-plugins-hal-0.10.14,3 Gstreamer hal plugin
gstreamer-plugins-libpng-0.10.14,3 Gstreamer png plugin
gstreamer-plugins-mad-0.10.11,3 Gstreamer mp3 decoder plugin
gstreamer-plugins-mp3-0.10.0_1 Gstreamer Plugins Mp3 decoder meta-port
gstreamer-plugins-mpeg2dec-0.10.11,3 Gstreamer mpeg decode plugin
gstreamer-plugins-ogg-0.10.22_1,3 Gstreamer Ogg bitstream plugin
gstreamer-plugins-pango-0.10.22_1,3 Gstreamer pango textoverlay plugin
gstreamer-plugins-soup-0.10.14,3 Gstreamer soup http src plugin
gstreamer-plugins-theora-0.10.22,3 Gstreamer theora plugin
gstreamer-plugins-ugly-0.10.11,3 Ugly gstreamer-plugins
gstreamer-plugins-vorbis-0.10.22_1,3 Gstreamer vorbis encoder/decoder plugin
gstreamer-plugins-xvid-0.10.11,3 Gstreamer xvid plugin
py25-gstreamer-0.10.14 A set of Python bindings for gstreamer
totem-2.26.1        A gstreamer-based video player for the GNOME 2 Desktop
$

DrJ said:
Sounds to me like you have a bad driver.

I am a bad driver.
 
Thanks Joel,
joel@ said:
Put
Code:
snd_driver_load="YES"
into /boot/loader.conf and reboot. This will load all available sound drivers.

I did that but still no sound

joel@ said:
If that doesn't work, remove the previus line and try to load just the emu10kx driver instead with:
Code:
snd_emu10kx_load="YES"

I think I did that as I mentioned in my post #11
 
Back
Top