Bug 113101

Summary: [pcm] [patch] Fix (enable) phone out for laptops with ALC655.
Product: Base System Reporter: Konrad <konrad>
Component: kernAssignee: Ariff Abdullah <ariff>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 7.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Konrad 2007-05-28 21:10:03 UTC
For a few months I was unable to use my laptop with external headphones.

Today I tried ALSA under Knoppix, and saw interesting switch in alsamixer
named front duplication or something, which made my headphones output sound.

Then I downloaded ALC655 spec and found, that by default surround out is
enabled in bit 0 of 0x6a reg, so the signal only does to front speakers,
and headphones apparently aren't front speakers. :) In the sheet it's called:
S-OUT is duplicated output of LINE-OUT.

How-To-Repeat: Install FreeBSD on Amilo Pro V2055, start xmms and connect headphones, or
start mplayer in full screen (after patching the OpenChrome driver like I
did), and connect your laptop to a sound system, and try to hear something. :)
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2007-06-02 20:09:19 UTC
State Changed
From-To: open->feedback

To which file does this patch apply? 


Comment 2 Mark Linimon freebsd_committer freebsd_triage 2007-06-02 20:09:19 UTC
Responsible Changed
From-To: freebsd-i386->linimon
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2007-06-03 23:15:28 UTC
State Changed
From-To: feedback->open

Over to maintainer(s). 


Comment 4 Mark Linimon freebsd_committer freebsd_triage 2007-06-03 23:15:28 UTC
Responsible Changed
From-To: linimon->freebsd-multimedia
Comment 5 Ariff Abdullah freebsd_committer freebsd_triage 2007-06-04 11:54:45 UTC
Please post the output of pciconf -lv | grep pcm . While this seems
to solve your specific model problem, it could introduce a regression
for other people with different type of hardwares but simmilar codec.


Thanks.

--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
    and confusing for us idiot ***** users :P ........
Comment 6 konrad 2007-06-04 22:49:28 UTC
Well, I think there should be no regressions, unless somebody is using 4-channel sound, because we only enable additional output of channels 1 and 2, disabling channels 3 and 4.
Here You go:
pcm0@pci0:17:5: class=0x040100 card=0x10ca1734 chip=0x30591106 rev=0x60 hdr=0x00
Comment 7 Ariff Abdullah freebsd_committer freebsd_triage 2007-06-05 18:28:40 UTC
Responsible Changed
From-To: freebsd-multimedia->ariff

Let me handle this.
Comment 8 dfilter service freebsd_committer freebsd_triage 2007-06-05 21:12:47 UTC
ariff       2007-06-05 20:12:41 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/sound/pcm    ac97_patch.c 
  Log:
  Fix (enable) phone out for laptops with ALC655, specifically
  for Amilo Pro V2055.
  
  PR:             kern/113101
  Submitted by:   konrad@egipt-medytacje.pl
  MFC after:      3 days
  
  Revision  Changes    Path
  1.9       +9 -0      src/sys/dev/sound/pcm/ac97_patch.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 9 dfilter service freebsd_committer freebsd_triage 2007-06-08 18:33:47 UTC
ariff       2007-06-08 17:33:38 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/dev/sound/pcm    ac97_patch.c 
  Log:
  MFC: (revision 1.9)
  
  Fix (enable) phone out for laptops with ALC655, specifically
  for Amilo Pro V2055.
  
  PR:             kern/113101
  Submitted by:   konrad@egipt-medytacje.pl
  
  Revision  Changes    Path
  1.3.2.3   +9 -0      src/sys/dev/sound/pcm/ac97_patch.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 10 Ariff Abdullah freebsd_committer freebsd_triage 2007-06-08 18:34:02 UTC
State Changed
From-To: open->closed

Fix committed. Thanks.