public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
From: bugtrack@alsa-project.org
To: alsa-devel@alsa-project.org
Subject: [ALSA - driver 0001618]: No Sound on Acer with Intel ICH6 HDA and Realtek ALC260
Date: Mon, 27 Feb 2006 00:16:08 +0100	[thread overview]
Message-ID: <5060bc316e49764bc84c950bddc0e64e@bugtrack.alsa-project.org> (raw)


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1618> 
======================================================================
Reported By:                robertw
Assigned To:                tiwai
======================================================================
Project:                    ALSA - driver
Issue ID:                   1618
Category:                   PCI - hda-intel
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
Distribution:               Ubuntu 5.10
Kernel Version:             2.6.12-10-686
======================================================================
Date Submitted:             12-04-2005 21:24 CET
Last Modified:              02-27-2006 00:16 CET
======================================================================
Summary:                    No Sound on Acer with Intel ICH6 HDA and Realtek
ALC260
Description: 
I can load the snd-hda-intel module and play a file via aplay or xmms or
play a cd without any error, but I cannot hear anything neither via the
build-in speakers nor via headphones. All volume controllers are at 70%
and unmuted, except for PCM, because there is no mute/unmute-button.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0001517 No sound on hda-intel on Acer TravelMat...
======================================================================

----------------------------------------------------------------------
 jwoithe - 02-26-06 23:53 
----------------------------------------------------------------------
Hi everyone - catching up on the weekend developments.

Firstly, I'm glad the GPIO suggestion has cracked the nut, so to speak. 
Precisely why Acer did things this way is a mystery, but I'm sure they
have their reasons.

wattazoum: I had a quick look at the patch.  It can actually be refined
quite a bit since most of the "acer specific" things in there are common
to other models too.  Over the next few days I'll see about doing the
refinement unless someone beats me to it first. :)  In particular, the ADC
and DAC nids don't need duplication and the capture source details can be
reused from other models too.  I've got some other pending ALC260 patches
in the works which I'm syncing with Takashi now, so I'll probably roll
these things into those in due course.

There are a few other details we need to finalise.  Firstly, there are 4
GPIO pins on the ALC260 - we need to make sure that there's no other
features on these ACER laptops which rely on them being set.  Perhaps
lobstaj or one of the others confortable with hacking can test each GPIO
pin in turn and see if it does something.  The tests thus far seem to show
that pin 1 (zero-based) switches the internal speaker / headphone output. 
In particular, I'm wondering whether one of the others has something to do
with the CD input, since er-ku has reported that he's not getting audio
from the CD drive.

We definitely do now need a list of vendor and subsystem IDs for these
Acer laptops, as AndyP has already provided.  We'll need this before any
patch can be finalised.  For those who don't know, the relevant numbers
can be found using "lspci".  Firstly run "lspci -v" to identify the sound
system and its "bus address" - the numbers which look something like

  00:1b.0

at the start of the first line of the subsystem's description.  Then run
"lspci -nv", find the entry corresponding to the "bus address" previously
identified and report the two colon (":") separated numbers in the
"subsystem" entry.  For example, on my laptop, "lspci -v" gives me the
following entry for the audio controller:

  00:1b.0 Class 0403: Intel Corp.: Unknown device 2668 (rev 04)
    Subsystem: Fujitsu Limited.: Unknown device 1326
    Flags: bus master, fast devsel, latency 0, IRQ 17
    Memory at b0000000 (64-bit, non-prefetchable) [size=16k]
    Capabilities: <available only to root>

So we note that the bus address is 00:1b.0.  Then "lspci -nv" is run.  We
find the entry for 00:1b.0:

  00:1b.0 Class 0403: 8086:2668 (rev 04)
    Subsystem: 10cf:1326
    :

and therefore conclude the numbers we need are 10cf:1326.  Note that the
bus address on different laptops could easily be different to 00:1b.0.

er-ku: I'm not surprised about the behaviour of the headphone jack with
respect to the internal speaker.  Since the internal mic was switched off
when an external one was plugged in I fully expected to find the headphone
jack behaving in a similar way.

er-ku: in connection with the beep - I must admit that I've done nothing
with the beep generator simply because I actually don't like beeps and
therefore I'm perfectly happy if this doesn't work.  Having said that,
it's interesting that you don't get beeps - my laptop beeps even if the
sound drivers aren't loaded.  That might be due to my laptop doing beeps
independently of the sound hardware though.  I'll take a look at this over
the next few days.  In the meantime, you might like to try the following
variation to the GPIO commands which get the internal speaker running. 
Replace the 3 lines added by lobstaj with:

  {0x01, AC_VERB_SET_GPIO_MASK, 0x0f},
  {0x01, AC_VERB_SET_GPIO_DIRECTION, 0x0f},
  {0x01, AC_VERB_SET_GPIO_DATA, 0x0f},

Then test the CD (and everything else) again.  Hopefully this won't stop
the internal speaker running, but there's an outside chance that it might
give you CD audio.  When testing, don't forget to unmute the CD volume
control in alsamixer and turn it up.

----------------------------------------------------------------------
 jwoithe - 02-27-06 00:16 
----------------------------------------------------------------------
Rimas: as per the mailing list post: thanks for the patch.  After some
frustrating weeks it's good to be finally making progress.

As I mentioned there, it would be good to delay this patch for a day or so
while Takashi and I synchronise a series of pending ALC260 patches.  I
also want to test the NID 0x15 thing in context on my laptop before this
goes in.  If you're cool with the idea, I can push a (slightly revised)
Acer patch to Takashi as part of this consolidation patchset.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
12-04-05 21:24 robertw        New Issue                                    
12-04-05 21:24 robertw        Distribution              => Ubuntu 5.10     
12-04-05 21:24 robertw        Kernel Version            => 2.6.12-10-686   
12-05-05 07:12 jwoithe        Note Added: 0006908                          
12-05-05 19:35 timmy          Note Added: 0006914                          
12-06-05 15:52 tiwai          Note Added: 0006925                          
12-06-05 18:10 robertw        Note Added: 0006930                          
12-06-05 20:07 tiwai          Note Added: 0006934                          
12-06-05 20:08 tiwai          File Added: alc-cvs-fix.diff                    
12-06-05 20:09 tiwai          Note Added: 0006935                          
12-06-05 22:51 robertw        Note Added: 0006938                          
12-07-05 14:59 tiwai          Note Added: 0006941                          
12-07-05 15:00 tiwai          File Added: alc-cvs-fix2.diff                    
12-07-05 23:10 robertw        Note Added: 0006952                          
12-08-05 17:19 tiwai          Note Added: 0006957                          
12-08-05 22:01 robertw        File Added: codec#0                          
12-08-05 22:02 robertw        File Added: codec#1                          
12-08-05 22:03 robertw        File Added: asound.state                     
12-08-05 22:05 robertw        Note Added: 0006963                          
12-09-05 15:09 tiwai          Note Added: 0006966                          
12-09-05 16:35 robertw        Note Added: 0006967                          
12-09-05 17:03 tiwai          Note Added: 0006969                          
12-09-05 17:17 robertw        Note Added: 0006970                          
12-14-05 13:22 mytux          Issue Monitored: mytux                       
12-19-05 02:11 rlrevell       Note Added: 0007077                          
01-02-06 21:55 robertw        Note Added: 0007391                          
01-04-06 17:29 tiwai          Note Added: 0007441                          
01-04-06 22:00 robertw        Note Added: 0007453                          
01-04-06 22:16 robertw        Note Edited: 0007453                         
01-11-06 23:38 lobstaj        Note Added: 0007572                          
01-11-06 23:48 rlrevell       Note Added: 0007573                          
01-12-06 00:20 lobstaj        Note Added: 0007575                          
01-12-06 00:26 rlrevell       Note Added: 0007576                          
01-12-06 01:16 mytux          Note Added: 0007577                          
01-12-06 01:20 mytux          Note Edited: 0007577                         
01-12-06 14:13 robertw        Note Added: 0007586                          
01-12-06 14:43 lobstaj        Note Added: 0007587                          
01-12-06 16:45 eudoxos        Issue Monitored: eudoxos                     
01-12-06 21:04 rlrevell       Note Added: 0007591                          
01-13-06 01:11 rlrevell       Relationship added       duplicate of 0001517
01-13-06 08:03 eudoxos        Note Added: 0007631                          
01-13-06 11:30 er-ku          Issue Monitored: er-ku                       
01-16-06 00:32 jwoithe        Note Added: 0007682                          
01-17-06 23:32 ilovetronik    Issue Monitored: ilovetronik                    
01-19-06 23:36 ajmitch        Issue Monitored: ajmitch                     
02-08-06 14:46 svilen         Note Added: 0007965                          
02-09-06 00:29 jwoithe        Note Added: 0007969                          
02-09-06 09:04 hweigel        Issue Monitored: hweigel                     
02-10-06 11:02 svilen         Note Added: 0007999                          
02-12-06 21:42 AndyP          Note Added: 0008031                          
02-12-06 22:11 wattazoum      Note Added: 0008032                          
02-12-06 22:14 rlrevell       Note Added: 0008033                          
02-12-06 23:05 er-ku          Note Added: 0008034                          
02-12-06 23:07 er-ku          Note Edited: 0008034                         
02-13-06 00:45 jwoithe        Note Added: 0008035                          
02-13-06 06:42 er-ku          Note Added: 0008037                          
02-13-06 06:43 er-ku          Note Edited: 0008037                         
02-14-06 00:07 jwoithe        Note Added: 0008066                          
02-18-06 23:48 AndyP          Note Added: 0008125                          
02-19-06 10:41 er-ku          Note Added: 0008131                          
02-19-06 16:49 AndyP          Note Added: 0008134                          
02-22-06 18:29 lobstaj        Note Added: 0008160                          
02-23-06 01:12 jwoithe        Note Added: 0008165                          
02-24-06 12:21 lobstaj        Note Added: 0008173                          
02-24-06 12:25 lobstaj        Note Edited: 0008173                         
02-24-06 14:58 mytux          Note Added: 0008176                          
02-24-06 15:41 wattazoum      Note Added: 0008179                          
02-24-06 15:42 wattazoum      Note Edited: 0008179                         
02-24-06 22:32 er-ku          Note Added: 0008181                          
02-24-06 23:23 AndyP          Note Added: 0008182                          
02-25-06 12:29 wattazoum      File Added: patch_realtek.diff                    
02-25-06 12:31 wattazoum      Note Added: 0008187                          
02-26-06 05:50 at2000         Note Added: 0008196                          
02-26-06 06:02 rlrevell       Note Added: 0008197                          
02-26-06 14:58 er-ku          Note Added: 0008201                          
02-26-06 15:00 er-ku          Note Added: 0008202                          
02-26-06 23:39 er-ku          Note Edited: 0008201                         
02-26-06 23:47 er-ku          Note Edited: 0008202                         
02-26-06 23:47 er-ku          Note Deleted: 0008202                        
02-26-06 23:48 er-ku          Note Added: 0008206                          
02-26-06 23:53 jwoithe        Note Added: 0008207                          
02-27-06 00:16 jwoithe        Note Added: 0008208                          
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

             reply	other threads:[~2006-02-26 23:16 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-26 23:16 bugtrack [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-02-28 23:45 [ALSA - driver 0001618]: No Sound on Acer with Intel ICH6 HDA and Realtek ALC260 bugtrack
2006-02-28 23:38 bugtrack
2006-02-28 23:34 bugtrack
2006-02-28 20:27 bugtrack
2006-02-28 20:21 bugtrack
2006-02-28  0:31 bugtrack
2006-02-27 21:26 bugtrack
2006-02-27 20:20 bugtrack
2006-02-26 23:27 bugtrack
2006-02-26 22:53 bugtrack
2006-02-26 22:48 bugtrack
2006-02-26 14:00 bugtrack
2006-02-26 13:58 bugtrack
2006-02-26  5:03 bugtrack
2006-02-26  4:50 bugtrack
2006-02-25 11:31 bugtrack
2006-02-24 22:23 bugtrack
2006-02-24 21:32 bugtrack
2006-02-24 14:41 bugtrack
2006-02-24 13:58 bugtrack
2006-02-24 11:21 bugtrack
2006-02-23  0:12 bugtrack
2006-02-22 17:29 bugtrack
2006-02-19 15:49 bugtrack
2006-02-19  9:41 bugtrack
2006-02-18 22:48 bugtrack
2006-02-13 23:07 bugtrack
2006-02-13  5:42 bugtrack
2006-02-12 23:45 bugtrack
2006-02-12 22:05 bugtrack
2006-02-12 21:14 bugtrack
2006-02-12 21:11 bugtrack
2006-02-12 20:42 bugtrack
2006-02-10 10:02 bugtrack
2006-02-08 23:29 bugtrack
2006-02-08 13:46 bugtrack
2006-01-15 23:32 bugtrack
2006-01-13  7:03 bugtrack
2006-01-13  0:11 bugtrack
2006-01-12 20:04 bugtrack
2006-01-12 13:43 bugtrack
2006-01-12 13:13 bugtrack
2006-01-12  0:16 bugtrack
2006-01-11 23:26 bugtrack
2006-01-11 23:20 bugtrack
2006-01-11 22:48 bugtrack
2006-01-11 22:38 bugtrack
2006-01-04 21:00 bugtrack
2006-01-04 16:29 bugtrack
2006-01-02 20:55 bugtrack
2005-12-19  1:11 bugtrack
2005-12-09 16:17 bugtrack
2005-12-09 16:03 bugtrack
2005-12-09 15:35 bugtrack
2005-12-09 14:09 bugtrack
2005-12-08 21:05 bugtrack
2005-12-08 16:19 bugtrack
2005-12-07 22:10 bugtrack
2005-12-07 13:59 bugtrack
2005-12-06 21:51 bugtrack
2005-12-06 19:09 bugtrack
2005-12-06 19:07 bugtrack
2005-12-06 17:10 bugtrack
2005-12-06 14:52 bugtrack
2005-12-05 18:35 bugtrack
2005-12-05  6:12 bugtrack
2005-12-04 20:24 bugtrack

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5060bc316e49764bc84c950bddc0e64e@bugtrack.alsa-project.org \
    --to=bugtrack@alsa-project.org \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox