Skip to contentSkip to conversation

: No Sound on Acer with Intel ICH6 HDA and Realtek ALC260

ALSA - driver 0001618 [email protected] 1 participant 1 message Feb 26, 2006

lore
Share & tools
lore
#0 lore 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