Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 2012 14:10:31 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Alexander Motin <mav@FreeBSD.org>
Cc:        freebsd-multimedia@FreeBSD.org, FreeBSD current <freebsd-current@FreeBSD.org>, gljennjohn@googlemail.com
Subject:   Re: [RFT] Major snd_hda rewrite
Message-ID:  <20120114221031.GA18816@troutmask.apl.washington.edu>
In-Reply-To: <4F11F61F.7070301@FreeBSD.org>
References:  <4F0DE3FD.2020203@FreeBSD.org> <20120112115220.1c32b3e2@ernst.jennejohn.org> <4F0EC17B.8040908@FreeBSD.org> <20120114212553.GA18574@troutmask.apl.washington.edu> <4F11F61F.7070301@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 14, 2012 at 11:39:43PM +0200, Alexander Motin wrote:
> On 14.01.2012 23:25, Steve Kargl wrote:
> >On Thu, Jan 12, 2012 at 01:18:19PM +0200, Alexander Motin wrote:
> >>
> >>That is probably because of $FreeBSD$ macro resolution. Here is version
> >>with present value from 10-CURRENT SVN (sources from CVS or STABLE will
> >>need that patch line modified respectively) and some minor additional
> >>improvements like CODEC ODs and some more sysctls:
> >>http://people.freebsd.org/~mav/hda.rewrite2.patch
> >>
> >
> >Patch applied cleanly.
> >Patch does not fix http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/120780
> >
> >Putting a dvd into the dvd drive. Executing 'mplayer dvd://', the
> >movie starts and sound comes from both the speakers and headphones.
> 
> You mean that speakers are not disabled when headphones are plugged in?

No.  I mean that sound is available from either the speakers
(ie, no headphones) or from the headphones (ie no sound
from speakers).  That is, this is working as expected.

> In PR you've written that no sound goes from speakers, but here tell 
> opposite. What is right?

If the medium is a DVD, sound works.  If the medium is a music CD,
then sound does not work.

> >Remove dvd insert music cd in drive, 'cdcontrol play'.  The
> >drive is reading the cd and 'cdcontrol status' indicates
> >that it is playing.  No sound.
> 
> Most likely analog audio output of your CD is not connected to the 
> CODEC. At least there are no CODEC pin configured for it. You may try to 
> configure different pins manually, but if there is no electrical 
> connection...

Works with MS Windows XP.  Put music CD into drive.  Fire up
MediaPlayer and sound works.  So, I would assume that there
is an electrical connection.  So, how does one manually 
configure the pins?

> >Verbose dmesg.txt and 'sysctl -a | grep {hda,snd,pcm}>  {hda,snd,pcm.txt}'
> >available at http://troutmask.apl.washington.edu/~kargl/hda/

-- 
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120114221031.GA18816>