STAC9228 / Dell XPS M1530 / Mic needs a boost, very low signal

Bug #1355247 reported by Kokos
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Hi,

I cannot force Ubuntu to work with the integrated sound-card in my laptop it's Dell XPS M1530 and sound card is STAC9228.

Actually it captures sound from mic but its volume is very low, it's too quiet and needs boost. I already tried few combinations with:

gnome-alsamixer
alsamixer
pavucontrol
and of course I tried following ALSA MODELS:

STAC9227/9228/9229/927x
=======================
  ref Reference board
  ref-no-jd Reference board without HP/Mic jack detection
  3stack D965 3stack
  5stack D965 5stack + SPDIF
  5stack-no-fp D965 5stack without front panel
  dell-3stack Dell Dimension E520
  dell-bios Fixes with Dell BIOS setup
  volknob Fixes with volume-knob widget 0x24
  auto BIOS setup (default)

Unfortunately it's still very quiet.

I also read on forums (2008ish) that people already had issues with this configuration but they were able to handle it switching input device to "digital mic", but I don't have such an option in modern Ubuntu..

Here is my alsa-info result: http://www.alsa-project.org/db/?f=7af515217ca211337c5c364231b7480eb5575bcb

Please advice things I could check. Thank you.

Tags: mic
Kokos (konrad-kostecki)
tags: added: mic
Revision history for this message
Raymond (superquad-vortex2) wrote :

any reason to use dell-BIOS sine this disable Jack detection of Mic jack 0x0e 0x02a79130

Sysfs Files
!!-----------

/sys/class/sound/hwC0D2/init_pin_configs:
0x0a 0x0221101f
0x0b 0x40f000f1
0x0c 0x40f000f7
0x0d 0x90170110
0x0e 0x02a11020
0x0f 0x02011030
0x10 0x40f000f2
0x11 0x40f000f3
0x12 0x40f000f4
0x13 0x90a6012e
0x14 0x40f000f5
0x21 0x985610a0
0x22 0x40f000f6

/sys/class/sound/hwC0D2/driver_pin_configs:
0x0f 0x0221101f
0x0e 0x02a79130

try latest alsa driver which don't create three capture devices

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC9228 Analog [STAC9228 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: STAC9228 Alt Analog [STAC9228 Alt Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1

Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Internal Mic' 'Mic'
  Item0: 'Internal Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Internal Mic' 'Mic'
  Item0: 'Internal Mic'
Simple mixer control 'Input Source',2
  Capabilities: cenum
  Items: 'Internal Mic' 'Mic'
  Item0: 'Internal Mic'

Changed in alsa-driver (Ubuntu):
status: New → Incomplete
Revision history for this message
Kokos (konrad-kostecki) wrote :

Hi Raymond, thank you for your reply.

I just tried different models and stayed with dell-BIOS as it was the last one I've tried - no visible difference to me. Shall I use rather different model or remove that option at all?

Regarding alsa driver, what would be the best source for the driver? Shall I use oem-audio-hda-daily-dkms package from ppa:ubuntu-audio-dev/alsa-daily?

Thank you a lot for confirmation.

Kind regards,
Konrad

Revision history for this message
Raymond (superquad-vortex2) wrote :

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/patch_sigmatel.c?id=29ac83635fcf244a7178f9fc8f918cd7ddf799d5

seem using dell_bios_spif

Codec: SigmaTel STAC9228
Address: 2
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x83847616
Subsystem Id: 0x1028022e
Revision Id: 0x100201

try

hda-jack-sense-test -a

to find out mic Jack support detection or not

if yes, you need to clear misc bit of mic pin default (bit 8)

0x0e 0x02a79030

instead of

0x0e 0x02a79130

Revision history for this message
Raymond (superquad-vortex2) wrote :

try hda-jack-retask to clear misc bit of node 0

Revision history for this message
Raymond (superquad-vortex2) wrote :
Revision history for this message
Raymond (superquad-vortex2) wrote :

file an upstream report if this notebook support external 5.1 speaker by using three audio jacks at ext front

Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
  Control: name="Front Headphone Surround Jack", index=0, device=0
  Pincap 0x0000173f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x0221101f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=02, enabled=1
  Connection: 2
     0x02 0x03*

Node 0x0e [Pin Complex] wcaps 0x400181: Stereo
  Control: name="Mic Phantom Jack", index=0, device=0
  Pincap 0x00001737: IN OUT Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x02a11020: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Black
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x04
Node 0x0f [Pin Complex] wcaps 0x400181: Stereo
  Control: name="Front Headphone Front Jack", index=0, device=0
  Pincap 0x00001737: IN OUT Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x02011030: [Jack] Line Out at Ext Front
    Conn = 1/8, Color = Black
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x40: OUT VREF_HIZ
  Unsolicited: tag=01, enabled=1
  Connection: 1
     0x05

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for alsa-driver (Ubuntu) because there has been no activity for 60 days.]

Changed in alsa-driver (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.