7.2 = no sound

2009-05-07 Thread Lars Hecking

 I upgraded my system to 7.2 with cvsup, and sound has stopped working. I'm
 running gnome, and both

 esound-0.2.41   A sound library for enlightenment package
 pulseaudio-0.9.14_5 Sound server for UNIX

 are installed.

 Both esd and pulseaudio are running

root1182  0.0  0.1  3372  1140 con- I10:37PM   0:00.01 
/usr/local/bin/esd
user1508  0.0  0.3 78224  5804  ??  Is   11:09PM   0:00.26 
/usr/local/bin/pulseaudio --start --log-target=syslog
user1509  0.0  0.2 10772  4892  ??  I11:09PM   0:00.01 
/usr/local/libexec/pulse/gconf-helper

 which doesn't seem right to me, but turning off esd does not help, and I don't
 know how to turn off pulseaudio.

 So I went through
  http://www.freebsd.org/doc/en/books/handbook/sound-setup.html

 Sound module loaded: yes

# kldstat |grep snd
 41 0xc09d6000 1abf8snd_hda.ko

# cat /dev/sndstat 
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0: HDA Sigmatel STAC9205X PCM #0 Analog at cad 0 nid 1 on hdac0 kld 
snd_hda [MPSAFE] (1p:3v/1r:1v channels duplex default)
pcm1: HDA Sigmatel STAC9205X PCM #1 Analog at cad 0 nid 1 on hdac0 kld 
snd_hda [MPSAFE] (0p:0v/1r:1v channels)

 dmesg:

pcm0: HDA Sigmatel STAC9205X PCM #0 Analog at cad 0 nid 1 on hdac0
pcm1: HDA Sigmatel STAC9205X PCM #1 Analog at cad 0 nid 1 on hdac0

 However, I have no /dev/dsp:

# ll /dev/dsp*
crw-rw-rw-  1 root  wheel0, 115 May  6 22:37 /dev/dsp0.0
crw-rw-rw-  1 root  wheel0, 117 May  6 22:37 /dev/dsp0.1
crw-rw-rw-  1 root  wheel0, 118 May  6 23:16 /dev/dsp0.2
crw-rw-rw-  1 root  wheel0, 119 May  6 23:21 /dev/dsp0.3
crw-rw-rw-  1 root  wheel0, 120 May  6 23:21 /dev/dsp0.4
crw-rw-rw-  1 root  wheel0, 116 May  6 22:37 /dev/dsp1.0

# fstat |grep dsp
root esd 11825 /dev115 crw-rw-rw-  dsp0.0  w

 Where do I go from here?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 7.2 = no sound

2009-05-07 Thread cpghost
On Thu, May 07, 2009 at 11:50:27AM +0100, Lars Hecking wrote:
  I upgraded my system to 7.2 with cvsup, and sound has stopped working. I'm
  running gnome, and both

(...)

  Sound module loaded: yes
 
 # kldstat |grep snd
  41 0xc09d6000 1abf8snd_hda.ko
 
 # cat /dev/sndstat 
 FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
 Installed devices:
 pcm0: HDA Sigmatel STAC9205X PCM #0 Analog at cad 0 nid 1 on hdac0 kld 
 snd_hda [MPSAFE] (1p:3v/1r:1v channels duplex default)
 pcm1: HDA Sigmatel STAC9205X PCM #1 Analog at cad 0 nid 1 on hdac0 kld 
 snd_hda [MPSAFE] (0p:0v/1r:1v channels)
 
  dmesg:
 
 pcm0: HDA Sigmatel STAC9205X PCM #0 Analog at cad 0 nid 1 on hdac0
 pcm1: HDA Sigmatel STAC9205X PCM #1 Analog at cad 0 nid 1 on hdac0

Have you tried to set hw.snd.default_unit to the right port?

From snd_hda(4):

 The default audio device may be tuned by setting the hw.snd.default_unit
 sysctl, as described in sound(4), or explicitly specified in application
 settings.

That's the most common cause for sound problems after the snd_hda
upgrade.

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 7.2 = no sound

2009-05-07 Thread Lars Hecking
 
  pcm0: HDA Sigmatel STAC9205X PCM #0 Analog at cad 0 nid 1 on hdac0
  pcm1: HDA Sigmatel STAC9205X PCM #1 Analog at cad 0 nid 1 on hdac0
 
 Have you tried to set hw.snd.default_unit to the right port?
 
 From snd_hda(4):
 
  The default audio device may be tuned by setting the hw.snd.default_unit
  sysctl, as described in sound(4), or explicitly specified in application
  settings.
 
 That's the most common cause for sound problems after the snd_hda
 upgrade.
 
 Well, I don??t know what the rigt port is ;-) I tried

 hw.snd.default_unit=0

 and now I have

# ll /dev/dsp*
crw-rw-rw-  1 root  wheel0, 118 May  7 19:23 /dev/dsp0.0
crw-rw-rw-  1 root  wheel0, 119 May  7 19:23 /dev/dsp0.1
crw-rw-rw-  1 root  wheel0, 117 May  7 19:22 /dev/dsp1.0

 i.e dsp0.[234] are gone.

 Sound preferences show that the default device for input and output
 (? how is that supposed to work?) is /dev/dsp0. What do I need to
 configure to create a /dev/dsp0? I don??t really understand what??s
 going on, especially since the number of dsp* devices keeps changing

# cd /dev
# ln -s dsp0.0 dsp0
ln: dsp0: File exists
# ll dsp*
crw-rw-rw-  1 root  wheel0, 118 May  7 19:28 dsp0.0
crw-rw-rw-  1 root  wheel0, 119 May  7 19:22 dsp0.1
crw-rw-rw-  1 root  wheel0, 129 May  7 19:22 dsp0.2
crw-rw-rw-  1 root  wheel0, 117 May  7 19:22 dsp1.0


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org