First, I would like to thank you all for a nice sound experience. 
ALSA has always worked fine for me on other PCs / laptops until now, with this 
laptop, I bought 6 months ago.


I have the following:

Dell VOSTRO 1400, Intel Core Duo
Slackware 12, heavily modified
Linux kernel 2.6.26


modprobe snd-hda-intel model=dell-3stack enable=1


lspci -v

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio 
Controller (rev 02)
        Subsystem: Dell Unknown device 0227
        Flags: bus master, fast devsel, latency 0, IRQ 21
        Memory at fe9fc000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 
Enable-
        Capabilities: [70] Express Unknown type IRQ 0
        Capabilities: [100] Virtual Channel
        Capabilities: [130] Unknown (5)


cat /proc/asound/*                                                              
 
0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfe9fc000 irq 21
  0: [ 0]   : control
  4: [ 0- 0]: hardware dependent
  5: [ 0- 1]: hardware dependent
 16: [ 0- 0]: digital audio playback
 17: [ 0- 1]: digital audio playback
 24: [ 0- 0]: digital audio capture
 33:        : timer
00-01: HDA Codec 1
00-00: HDA Codec 0
 0 snd_hda_intel
00-00: STAC92xx Analog : STAC92xx Analog : playback 1 : capture 3
00-01: STAC92xx Digital : STAC92xx Digital : playback 1
G0: system timer : 3333.333us (10000000 ticks)
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-1: PCM capture 0-0-1 : SLAVE
P0-0-3: PCM capture 0-0-3 : SLAVE
P0-0-5: PCM capture 0-0-5 : SLAVE
P0-1-0: PCM playback 0-1-0 : SLAVE


lsmod | grep snd

snd_hda_intel        337680  0 
snd_pcm                 58244  1 snd_hda_intel
snd_timer               17416  1 snd_pcm
snd_page_alloc         7816  2 snd_hda_intel,snd_pcm
snd_hwdep               7044  1 snd_hda_intel
snd                        42660  4 snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
soundcore                6368  1 snd


amixer

Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 127 [100%] [0.00dB] [on]
  Front Right: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 127 [100%] [0.00dB] [on]
  Front Right: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'Side',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 127 [100%] [0.00dB] [on]
  Front Right: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 14
  Front Left: Capture 14 [100%] [21.00dB] [on]
  Front Right: Capture 14 [100%] [21.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 14
  Front Left: Capture 0 [0%] [0.00dB] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Capture',2
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 14
  Front Left: Capture 0 [0%] [0.00dB] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Analog Loopback',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Digital Input Source',0
  Capabilities: enum
  Items: 'Analog Inputs' 'Digital Mic 1' 'Digital Mic 2'
  Item0: 'Digital Mic 1'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Input Source',2
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Mux',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 4
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Mux',1
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 4
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Mux',2
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 4
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Swap Center/LFE',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'digmic',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 255
  Front Left: 222 [87%]
  Front Right: 222 [87%]


Headphone 1 plug to front speakers
Headphone 2 plug to center and LFE
Mic plug to rear speakers


speaker-test -Dplug:surround51 -c 6 -twav

With the stock 2.6.26.2:

I have only sound in front speakers spoken as "front left" and "front right".

If I unplug Headphone 1, I have sound in internal speakers spoken as "front 
left" and "front right",
I have sound in rear speakers spoken as  "rear left" and "rear right".
I have sound in center speaker spoken as "front center".
I have sound in subwoofer (LFE) spoken as "rear center".

So, basically, everything works, except pluging in Headphone 1 to front 
speakers will mute all others.

I have tried:


modprobe snd-hda-intel model=dell-3stack enable=1
modprobe snd-hda-intel model=dell-5stack enable=1
modprobe snd-hda-intel model=3stack enable=1
modprobe snd-hda-intel model=5stack enable=1
and others

With same results. Some give me option in alsamixer: "Mic as O(utput)" but it 
makes no difference.

I have tried kernel 2.6.26 with same above results.

Then I tried alsa-driver-1.0.17. This gives me the same above results.

Then I tried alsa-driver-1.0.18rc1. This gives me different results.

Both tested and installed with:

rmmod snd_hda_intel snd_pcm snd_timer snd_hwdep snd soundcore snd_page_alloc
../configure --with-cards=hda-intel --with-card-options=all
sudo make install
modprobe snd-hda-intel (no other options given)

All 3 jacks plugged in gives me now sound in both front speakers as usual.
I now also get sound in center and LFE, but spoken as "rear right" and "rear 
left".
So I have to swap Headphone 2 with Mic and have sounds in both front speakers 
and both rear speakers.

But no sound from the Mic plug to center and LFE speakers.

No matter if I use modprobe snd-intel-hda with no "model=" or with 
"dell-3stack" or several other possibilities, there is no change.

In all the above I have also tried different probe_mask options with no change.
I have searched the net and tried several of the suggestions, but no change.

I have tried a quick search through the source code, but it is not obvious to 
me where the muting af Headphone 2 and Mic is happening when Headphone 1 is 
plugged in.

Since I have sound in Headphone 2 while Headphone 1 is plugged while testing 
alsa-driver-1.0.18rc1, it suggests it is a software issue to solve.

Also, it seems that the next version of ALSA changes things as front and rear 
work, but center and LFE are dead. And needs a swap in plugs.

Please give me advice how to finish setting this up correctly.
Any patches will be tested with great enthusiasm ;-)

-- 
Best regards,


Andy



      


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to