Re: snd-hda no sound whatsoever

2009-04-20 Thread Mel Flynn
On Monday 20 April 2009 03:11:08 Eitan Adler wrote:
> > If it still doesn't work put a verbose boot dmesg of snd_hda and pcm
> > somewhere (see the man page of snd_hda) and ask on the
> > freebsd-multimedia@ mailing list.
>
> #sysctl hw.snd.default_unit=0
> Works - thanks.  Now - to make this change stick I add it to
> /boot/loader.conf ?

As said in sound(4) manpage, that I already mentioned in previous mail, it's a 
sysctl and as such belongs in /etc/sysctl.conf.
-- 
Mel
___
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: snd-hda no sound whatsoever

2009-04-19 Thread Eitan Adler
> If it still doesn't work put a verbose boot dmesg of snd_hda and pcm
> somewhere (see the man page of snd_hda) and ask on the
> freebsd-multimedia@ mailing list.
#sysctl hw.snd.default_unit=0
Works - thanks.  Now - to make this change stick I add it to
/boot/loader.conf ?

Thanks all for your help.

> 
> Regards
> 


-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
___
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: snd-hda no sound whatsoever

2009-04-19 Thread Patrick Lamaizière
Le Sat, 18 Apr 2009 22:09:51 -0400,
Eitan Adler :

Hi,

> > After upgrade upgrade my system to 7.2-PRERELEASE, my sound card
> > works perfectly.
> This is why my sound broke (I forgot to mention it was after an
> upgrade). cd ~/stable7/sys/dev/sound/pci/hda && svn update -r182969
> "fixed" my problem.

The sound unit may change between 7.1 and 7.2. You can try to change
the sysctl hw.snd.default_unit

If it still doesn't work put a verbose boot dmesg of snd_hda and pcm
somewhere (see the man page of snd_hda) and ask on the
freebsd-multimedia@ mailing list.

Regards
___
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: snd-hda no sound whatsoever

2009-04-18 Thread Eitan Adler

> After upgrade upgrade my system to 7.2-PRERELEASE, my sound card works 
> perfectly.
This is why my sound broke (I forgot to mention it was after an
upgrade). cd ~/stable7/sys/dev/sound/pci/hda && svn update -r182969
"fixed" my problem.


-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
___
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: snd-hda no sound whatsoever

2009-04-18 Thread Wojciech Puchar


which will turn PCM and master volume to 100:100. For checking,
it's usually the most comfortable way to play some media file,
instead of a "plain file" into /dev/dsp.


"plain binary" will make plain noise ;) so it's good test



The play command from the port / package sox or mpg123 / madplay
for mp3 files work well, as does mplayer.

Have a look at where /dev/dsp points to, it should be the dsp0
device.

I don't have furtther experiences with the hda stuff, so these
would be my basic ideas.



--
Polytropon

From Magdeburg, Germany

Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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"



___
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: snd-hda no sound whatsoever

2009-04-18 Thread Wojciech Puchar

what mixer says?

On Fri, 17 Apr 2009, Eitan Adler wrote:


I have no sound whatsoever.  Speakers are plugged in and turned on.
I'm not sure what debugging information I need.

$kldstat |grep snd
51 0xc5985000 19000snd_hda.ko

$cat /bin/sh >/dev/dsp
 Produces no sound

$sysctl -a|grep hda
 http://isis.poly.edu/~eitan/files/hda-sound-problem-sysctl-output.txt

$cat /dev/sndstat
 (hw.snd.verbose: 4)
 http://isis.poly.edu/~eitan/files/hda-sound-problem-sndstat-output.txt

Any ideas?

--
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
___
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"



___
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: snd-hda no sound whatsoever

2009-04-18 Thread kyanh
On Fri, 17 Apr 2009 13:34:34 -0400
Eitan Adler  wrote:

> I have no sound whatsoever.  Speakers are plugged in and turned on.
> I'm not sure what debugging information I need.
> 
> ...
>
> Any ideas?
> 

It seems that I got the same problem which's solved. Please search in the list. 
Patrick Lamaizière  wrote:

/
There were some changes in snd_hda just after the 7.1-RELEASE. You can
try to update to a 7-STABLE. You can also take the files of snd_hda from
current or from stable (/usr/src/sys/dev/sound/pci/hda/*) and rebuild
the kernel module.
\=

After upgrade upgrade my system to 7.2-PRERELEASE, my sound card works 
perfectly.

Regards,

-- 
Ky Anh, Huynh
Homepage: http://viettug.org/
___
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: snd-hda no sound whatsoever

2009-04-17 Thread Eitan Adler
Polytropon wrote:
>>From your diagnostics, the sound card seems to be detected okay,
> as far as I see it.
> 
> Things worth checking are the mixer settings, such as:
> 
>   % mixer pcm 100
>   % mixer vol 100
Mixer vol  is currently set to  100:100
Mixer pcm  is currently set to  100:100
Mixer line is currently set to  100:100
> 
> which will turn PCM and master volume to 100:100. For checking,
> it's usually the most comfortable way to play some media file,
> instead of a "plain file" into /dev/dsp.
I tried mplayer
> 
> The play command from the port / package sox or mpg123 / madplay
> for mp3 files work well, as does mplayer.
$ls -lao /dev/dsp0.0
crw-rw-rw-  1 root  wheel  -   0,  94 Apr 17 13:48 /dev/dsp0.0
ls -lao /dev/dsp0.0
crw-rw-rw-  1 root  wheel  -   0,  94 Apr 17 13:48 /dev/dsp0.0


> 
> Have a look at where /dev/dsp points to, it should be the dsp0
> device.
> 
> I don't have furtther experiences with the hda stuff, so these
> would be my basic ideas.

Thanks
> 
> 
> 


-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
___
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: snd-hda no sound whatsoever

2009-04-17 Thread Mel Flynn
On Friday 17 April 2009 19:34:34 Eitan Adler wrote:
> I have no sound whatsoever.  Speakers are plugged in and turned on.
> I'm not sure what debugging information I need.
>
> $kldstat |grep snd
>  51 0xc5985000 19000snd_hda.ko
>
> $cat /bin/sh >/dev/dsp
>   Produces no sound
>
> $sysctl -a|grep hda
>   http://isis.poly.edu/~eitan/files/hda-sound-problem-sysctl-output.txt
>
> $cat /dev/sndstat
>   (hw.snd.verbose: 4)
>   http://isis.poly.edu/~eitan/files/hda-sound-problem-sndstat-output.txt
>
> Any ideas?

Looking at your 2 analog and 1 digital output, the following from snd_hda4 man 
page probably applies to you:

 According to HDA and UAA specifications, depending on the number of HDA
 buses and codecs present in system, their audio capabilities and BIOS
 provided configuration, the snd_hda driver often provides several PCM
 audio devices.  For example, one device for main rear 7.1 output and
 inputs, one device for independent headset connectors at front and one
 device for SPDIF or HDMI audio input/output.  The assignment of audio
 inputs and outputs may be tuned with device.hints(5).  The driver's ver-
 bose boot messages provide a lot of information about the operation of
 the driver and present audio setup.

 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.

-- 
Mel
___
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: snd-hda no sound whatsoever

2009-04-17 Thread Polytropon
>From your diagnostics, the sound card seems to be detected okay,
as far as I see it.

Things worth checking are the mixer settings, such as:

% mixer pcm 100
% mixer vol 100

which will turn PCM and master volume to 100:100. For checking,
it's usually the most comfortable way to play some media file,
instead of a "plain file" into /dev/dsp.

The play command from the port / package sox or mpg123 / madplay
for mp3 files work well, as does mplayer.

Have a look at where /dev/dsp points to, it should be the dsp0
device.

I don't have furtther experiences with the hda stuff, so these
would be my basic ideas.



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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"