built in Mic not working in Sony VGN-SZ430n

Asked by thelostarc

Hello
After trying out the live CD I wiped out Vista from my new Sony laptop and installed Ubuntu yesterday. But the problem is Internal MIC and Web Cam is not working. Almost everything else is working out of the box. I can hear music, control sound, brightness using the function keys. I believe the only other thing that is not working is the WWAN card and S1 and S2 keys.

i can live without those, but i really need the mic and the webcam to work. Can anyone help please?
Thanks a lot

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Solved by:
Cesare Tirabassi
Solved:
Last query:
Last reply:
Revision history for this message
Cesare Tirabassi (norsetto) said :
#1

Lets see te mic first.
For this I need you to go to this page:

http://www.linux-sound.info/alsa/index.php?task=scripts

Download and run the first script and paste here the pastebin URL given at the end.

Thanks.

Revision history for this message
thelostarc (rafta143) said :
#2

First of all thank you for your help,

i downloaded the first script twice.. it seems like there is an error. Here is the output:

alsa-info.sh: 183: [[: not found
ALSA Information Script v 0.4.24
--------------------------------

This script will collect information about your ALSA installation and sound related hardware, to help diagnose your problem.

alsa-info.sh: 183: [[: not found
By default, the collected information will be AUTOMATICALLY uploaded to a pastebin site.
If you do not wish for this to occur, run the script with the --no-upload argument

Do you want to run this script? [y/n] : read: 183: Illegal option -e
[: 183: y: unexpected operator
alsa-info.sh: 189: [[: not found
alsa-info.sh: 204: [[: not found
alsa-info.sh: 295: [[: not found
alsa-info.sh: 398: [[: not found
alsa-info.sh: 429: Syntax error: Bad substitution

Revision history for this message
Cesare Tirabassi (norsetto) said :
#3

Its a bash script, you should use this command to run it:

bash alsa-info.sh

Or change it to executable and run it with:

chmod +x alsa-info.sh
./alsa-info.sh

Revision history for this message
thelostarc (rafta143) said :
#4
Revision history for this message
thelostarc (rafta143) said :
#5

Hi Did you receive the information that you need to help me?

Revision history for this message
thelostarc (rafta143) said :
#6

posting the information in here:

   1.
      ################################
   2.
      ALSA Information Script v 0.4.24
   3.
      ################################
   4.

   5.

   6.
      Linux Distribution
   7.
      ------------------
   8.

   9.
      Ubuntu 7.04 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 7.04"
  10.

  11.

  12.
      Kernel Information
  13.
      ------------------
  14.

  15.
      Kernel release: 2.6.20-15-generic
  16.
      Operating System: GNU/Linux
  17.
      Architecture: i686
  18.
      Processor: unknown
  19.
      SMP Enabled: Yes
  20.

  21.

  22.
      ALSA Version
  23.
      ------------
  24.

  25.
      Driver version: 1.0.14rc1
  26.
      Library version:
  27.
      Utilities version: 1.0.13
  28.

  29.

  30.
      Loaded ALSA modules
  31.
      -------------------
  32.

  33.
      snd_hda_intel
  34.

  35.

  36.
      Soundcards recognised by ALSA
  37.
      -----------------------------
  38.

  39.
       0 [Intel ]: HDA-Intel - HDA Intel
  40.
                            HDA Intel at 0xf8500000 irq 22
  41.

  42.

  43.
      PCI Soundcards installed in the system
  44.
      --------------------------------------
  45.

  46.
      00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
  47.
      09:04.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
  48.

  49.

  50.
      Advanced information - PCI Vendor/Device/Susbsystem ID's
  51.
      --------------------------------------------------------
  52.

  53.
      00:1b.0 0403: 8086:27d8 (rev 02)
  54.
              Subsystem: 104d:81e6
  55.

  56.

  57.
      HDA-Intel Codec information
  58.
      ---------------------------
  59.

  60.
      Codec: SigmaTel STAC9872AK
  61.
      Address: 0
  62.
      Vendor Id: 0x83847662
  63.
      Subsystem Id: 0x104d0700
  64.
      Revision Id: 0x100201
  65.
      Default PCM:
  66.
          rates [0x7e0]: 44100 48000 88200 96000 176400 192000
  67.
          bits [0xe]: 16 20 24
  68.
          formats [0x1]: PCM
  69.
      Default Amp-In caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  70.
      Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x02, mute=1
  71.
      Node 0x02 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out
  72.
        Amp-Out caps: N/A
  73.
        Amp-Out vals: [0x7f 0x7f]
  74.
        Power: 0x0
  75.
      Node 0x03 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out
  76.
        Amp-Out caps: N/A
  77.
        Amp-Out vals: [0xff 0xff]
  78.
        Power: 0x0
  79.
      Node 0x04 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out
  80.
        Amp-Out caps: N/A
  81.
        Amp-Out vals: [0xff 0xff]
  82.
        Power: 0x0
  83.
      Node 0x05 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out
  84.
        Amp-Out caps: N/A
  85.
        Amp-Out vals: [0x7f 0x7f]
  86.
        Power: 0x0
  87.
      Node 0x06 [Audio Input] wcaps 0x1d0541: Stereo
  88.
        Power: 0x0
  89.
        Connection: 1
  90.
           0x07
  91.
      Node 0x07 [Audio Selector] wcaps 0x300903: Stereo Amp-In
  92.
        Amp-In caps: N/A
  93.
        Amp-In vals: [0x00 0x00]
  94.
        Connection: 1
  95.
           0x0e
  96.
      Node 0x08 [Audio Input] wcaps 0x1d0541: Stereo
  97.
        Power: 0x0
  98.
        Connection: 1
  99.
           0x09
 100.
      Node 0x09 [Audio Selector] wcaps 0x300903: Stereo Amp-In
 101.
        Amp-In caps: N/A
 102.
        Amp-In vals: [0x8f 0x8f]
 103.
        Connection: 1
 104.
           0x15
 105.
      Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
 106.
        Pincap 0x08173c: IN OUT HP Detect
 107.
        Pin Default 0x03211020: [Jack] HP Out at Ext Left
 108.
          Conn = 1/8, Color = Black
 109.
        Pin-ctls: 0xc0: OUT HP
 110.
        Connection: 1
 111.
           0x02
 112.
      Node 0x0b [Pin Complex] wcaps 0x400181: Stereo
 113.
        Pincap 0x0814: OUT Detect
 114.
        Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
 115.
          Conn = 1/8, Color = Black
 116.
        Pin-ctls: 0x00:
 117.
        Connection: 1
 118.
           0x04
 119.
      Node 0x0c [Pin Complex] wcaps 0x400181: Stereo
 120.
        Pincap 0x0814: OUT Detect
 121.
        Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
 122.
          Conn = 1/8, Color = Black
 123.
        Pin-ctls: 0x00:
 124.
        Connection: 1
 125.
           0x03
 126.
      Node 0x0d [Pin Complex] wcaps 0x400181: Stereo
 127.
        Pincap 0x08173c: IN OUT HP Detect
 128.
        Pin Default 0x03a15030: [Jack] Mic at Ext Left
 129.
          Conn = 1/8, Color = Red
 130.
        Pin-ctls: 0x24: IN
 131.
        Connection: 1
 132.
           0x02
 133.
      Node 0x0e [Pin Complex] wcaps 0x400081: Stereo
 134.
        Pincap 0x0824: IN Detect
 135.
        Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
 136.
          Conn = 1/8, Color = Black
 137.
        Pin-ctls: 0x20: IN
 138.
      Node 0x0f [Pin Complex] wcaps 0x400181: Stereo
 139.
        Pincap 0x0814: OUT Detect
 140.
        Pin Default 0x90170110: [Fixed] Speaker at Int N/A
 141.
          Conn = Analog, Color = Unknown
 142.
        Pin-ctls: 0x40: OUT
 143.
        Connection: 1
 144.
           0x05
 145.
      Node 0x10 [Audio Output] wcaps 0x40211: Stereo Digital
 146.
        PCM:
 147.
          rates [0x3e0]: 44100 48000 88200 96000 176400
 148.
          bits [0xe]: 16 20 24
 149.
          formats [0x5]: PCM AC3
 150.
      Node 0x11 [Pin Complex] wcaps 0x400301: Stereo Digital
 151.
        Pincap 0x0810: OUT
 152.
        Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
 153.
          Conn = 1/8, Color = Black
 154.
        Pin-ctls: 0x00:
 155.
        Connection: 2
 156.
           0x10* 0x09
 157.
      Node 0x12 [Audio Input] wcaps 0x140311: Stereo Digital
 158.
        PCM:
 159.
          rates [0x160]: 44100 48000 96000
 160.
          bits [0xe]: 16 20 24
 161.
          formats [0x5]: PCM AC3
 162.
        Connection: 1
 163.
           0x13
 164.
      Node 0x13 [Pin Complex] wcaps 0x440381: Stereo Digital
 165.
        Pincap 0x0834: IN OUT Detect
 166.
        Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
 167.
          Conn = 1/8, Color = Black
 168.
        Pin-ctls: 0x00:
 169.
        Connection: 1
 170.
           0x18
 171.
      Node 0x14 [Pin Complex] wcaps 0x400001: Stereo
 172.
        Pincap 0x0820: IN
 173.
        Pin Default 0x90a7013e: [Fixed] Mic at Int N/A
 174.
          Conn = Analog, Color = Unknown
 175.
        Pin-ctls: 0x20: IN
 176.
      Node 0x15 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
 177.
        Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=1
 178.
        Amp-Out vals: [0x00 0x00]
 179.
        Connection: 4
 180.
           0x0a 0x0d 0x14* 0x02
 181.
      Node 0x16 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
 182.
        Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=0
 183.
        Amp-Out vals: [0x00]
 184.
      Node 0x17 [Volume Knob Widget] wcaps 0x600000: Mono
 185.
      Node 0x18 [Audio Output] wcaps 0x40201: Stereo Digital
 186.
      Codec: Conexant ID 2bfa
 187.
      Address: 1
 188.
      Vendor Id: 0x14f12bfa
 189.
      Subsystem Id: 0x104d0200
 190.
      Revision Id: 0x90000
 191.

 192.

 193.
      ALSA Device nodes
 194.
      -----------------
 195.

 196.
      crw-rw---- 1 root audio 116, 6 2007-05-23 18:15 /dev/snd/controlC0
 197.
      crw-rw---- 1 root audio 116, 5 2007-05-23 18:15 /dev/snd/pcmC0D0c
 198.
      crw-rw---- 1 root audio 116, 4 2007-05-23 18:15 /dev/snd/pcmC0D0p
 199.
      crw-rw---- 1 root audio 116, 3 2007-05-23 18:15 /dev/snd/seq
 200.
      crw-rw---- 1 root audio 116, 2 2007-05-23 18:15 /dev/snd/timer
 201.

 202.

 203.
      Aplay output
 204.
      ------------
 205.

 206.
      **** List of PLAYBACK Hardware Devices ****
 207.
      card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
 208.
        Subdevices: 1/1
 209.
        Subdevice #0: subdevice #0
 210.

 211.

 212.
      Amixer output
 213.
      -------------
 214.

 215.
      -------Mixer controls for card 0 [Intel]
 216.

 217.
      Simple mixer control 'Master',0
 218.
        Capabilities: pvolume pswitch
 219.
        Playback channels: Front Left - Front Right
 220.
        Limits: Playback 0 - 127
 221.
        Mono:
 222.
        Front Left: Playback 127 [100%] [on]
 223.
        Front Right: Playback 127 [100%] [on]
 224.
      Simple mixer control 'PCM',0
 225.
        Capabilities: pvolume
 226.
        Playback channels: Front Left - Front Right
 227.
        Limits: Playback 0 - 255
 228.
        Mono:
 229.
        Front Left: Playback 255 [100%] [0.00dB]
 230.
        Front Right: Playback 255 [100%] [0.00dB]
 231.
      Simple mixer control 'Line',0
 232.
        Capabilities: cswitch cswitch-joined cswitch-exclusive
 233.
        Capture exclusive group: 0
 234.
        Capture channels: Mono
 235.
        Mono: Capture [off]
 236.
      Simple mixer control 'Mic',0
 237.
        Capabilities: cswitch cswitch-joined cswitch-exclusive
 238.
        Capture exclusive group: 0
 239.
        Capture channels: Mono
 240.
        Mono: Capture [on]
 241.
      Simple mixer control 'Capture',0
 242.
        Capabilities: cvolume cswitch
 243.
        Capture channels: Front Left - Front Right
 244.
        Limits: Capture 0 - 15
 245.
        Front Left: Capture 15 [100%] [22.50dB] [off]
 246.
        Front Right: Capture 15 [100%] [22.50dB] [off]
 247.

 248.

 249.
      All Loaded Modules
 250.
      ------------------
 251.

 252.
      Module
 253.
      michael_mic
 254.
      arc4
 255.
      ecb
 256.
      blkcipher
 257.
      ieee80211_crypt_tkip
 258.
      binfmt_misc
 259.
      rfcomm
 260.
      l2cap
 261.
      vboxdrv
 262.
      sonypi
 263.
      ppdev
 264.
      acpi_cpufreq
 265.
      cpufreq_conservative
 266.
      cpufreq_userspace
 267.
      cpufreq_powersave
 268.
      cpufreq_stats
 269.
      cpufreq_ondemand
 270.
      freq_table
 271.
      pcc_acpi
 272.
      tc1100_wmi
 273.
      sony_acpi
 274.
      dev_acpi
 275.
      button
 276.
      battery
 277.
      video
 278.
      dock
 279.
      ac
 280.
      sbs
 281.
      i2c_ec
 282.
      asus_acpi
 283.
      backlight
 284.
      container
 285.
      ipv6
 286.
      nls_utf8
 287.
      nls_cp437
 288.
      vfat
 289.
      fat
 290.
      af_packet
 291.
      sbp2
 292.
      parport_pc
 293.
      lp
 294.
      parport
 295.
      fuse
 296.
      snd_hda_intel
 297.
      snd_hda_codec
 298.
      snd_pcm_oss
 299.
      snd_pcm
 300.
      snd_mixer_oss
 301.
      snd_seq_dummy
 302.
      snd_seq_oss
 303.
      snd_seq_midi
 304.
      snd_rawmidi
 305.
      snd_seq_midi_event
 306.
      snd_seq
 307.
      snd_timer
 308.
      snd_seq_device
 309.
      uvcvideo
 310.
      joydev
 311.
      videodev
 312.
      pcmcia
 313.
      ipw3945
 314.
      snd
 315.
      v4l1_compat
 316.
      tpm_infineon
 317.
      v4l2_common
 318.
      nvidia
 319.
      serio_raw
 320.
      tpm
 321.
      soundcore
 322.
      iTCO_wdt
 323.
      tpm_bios
 324.
      hci_usb
 325.
      ieee80211
 326.
      ieee80211_crypt
 327.
      bluetooth
 328.
      tifm_7xx1
 329.
      i2c_core
 330.
      psmouse
 331.
      sky2
 332.
      iTCO_vendor_support
 333.
      tifm_core
 334.
      yenta_socket
 335.
      rsrc_nonstatic
 336.
      intel_agp
 337.
      agpgart
 338.
      snd_page_alloc
 339.
      pcmcia_core
 340.
      shpchp
 341.
      pci_hotplug
 342.
      tsdev
 343.
      evdev
 344.
      usb_storage
 345.
      ext3
 346.
      jbd
 347.
      mbcache
 348.
      sg
 349.
      sd_mod
 350.
      sr_mod
 351.
      cdrom
 352.
      libusual
 353.
      ata_piix
 354.
      ata_generic
 355.
      libata
 356.
      scsi_mod
 357.
      ohci1394
 358.
      ieee1394
 359.
      ehci_hcd
 360.
      generic
 361.
      uhci_hcd
 362.
      usbcore
 363.
      thermal
 364.
      processor
 365.
      fan
 366.
      fbcon
 367.
      tileblit
 368.
      font
 369.
      bitblit
 370.
      softcursor
 371.
      vesafb
 372.
      capability
 373.
      commoncap

Revision history for this message
Cesare Tirabassi (norsetto) said :
#7

Try adding this line at the end of the file /etc/modprobe.d/alsa-base:

options snd-hda-intel model=XXX

Where XXX can be either:

vaio if you have a VAIO FE550G/SZ110
vaio-ar if you have a VAIO AR

To add this line, open the file with this command (from a terminal):

sudo gedit /etc/modprobe.d/alsa-base

Add the line, save and reboot.

Please make also sure that in Menu->System->Preferences->Sound you have selected the right mic under Sound capture (use the test button if not sure).

Revision history for this message
Cesare Tirabassi (norsetto) said :
#8

Since you have a VGN-SZ430n model, I think you should try with model=vaio.

Revision history for this message
thelostarc (rafta143) said :
#9

It is not working. I followed the steps you provided. In the mixer I have two options (HDA Intel ALSA mixer and sigmaTel STACT 9872AK). I am using HDA Intel ALSA mixer. For sound Capture i am using ALSA - Advanced linux architecture

Revision history for this message
Cesare Tirabassi (norsetto) said :
#10

Try changing mixer to STAC and check all sliders/switches.
Is there no mic entry in Sound Capture!?

Revision history for this message
thelostarc (rafta143) said :
#11

Nope :(

these are the things available i n Sound Preferences for capture device
STAC92xx Analog
ALSA - Advanced Linux Sound Archtecture
OSS - Open Sound System
Test Sound
Silence

Revision history for this message
Best Cesare Tirabassi (norsetto) said :
#12

I just noted in your last that your codec is reported as STAC92xx, but it is infact STAC9872.
I wonder if there is a bug in the driver; I checked the alsa project (http://www.alsa-project.org/) bug tracking system and wiki and could not find any reference neither to your model (Sony VGN-SZ430n) nor your codec (STAC9872).
Also a quick search in the ubuntu bug tracking system (https://launchpad.net/ubuntu/+bugs) was unfruitfull.
I can propose two things to try (mind you, we just try):

Try changing the model to ref (its one of the options for the STAC92xx codec)
Try installing the newest drivers. They are not yet available as ubuntu packages but you can check this page on how to install them from source:

https://help.ubuntu.com/community/HdaIntelSoundHowto

Revision history for this message
thelostarc (rafta143) said :
#13

could you please explain the step one?

Revision history for this message
thelostarc (rafta143) said :
#14

Hey!! Updating the driver did the Trick!!... Thanks.. Now the Web cam.. If you dont mind can you please help me with that?

Revision history for this message
Cesare Tirabassi (norsetto) said :
#15

Good! Yes, for that we should open a new question.

So close this one and open a new one requesting help for you web camera. Please also include in your question the make of the camera and the output of an lsusb command (if it is an external camera) or of an lspci command if it is built-in.
If neither of the two list the camera try with lshw.

Revision history for this message
thelostarc (rafta143) said :
#16

Thanks Cesare Tirabassi, that solved my question.

Revision history for this message
marco_bedroja (manelli2) said :
#17

dear thelostarc i have a similar problem.
my mic is not working .
i cant chapter or record any sound after having installed ubuntu feisty on my labtop.
i have intel ich7 family onboard soundcard.
please help me to fix this problem.
i already have try to fix it in the sound>preferences>sound. and also in the volume control but without any succes.
i am waiting for your respond .
thanxxxx

Revision history for this message
thelostarc (rafta143) said :
#18

Hi Marco_Bedroja,
I am not an expert in Linux. Did you follow what Cesare told me to do? I am sorry that i am not going to be very helpful on this :( I hope you will be able to find somebody to help you with this.
Thanks