1. 30 Nov, 2008 3 commits
    • Mauro Carvalho Chehab's avatar
    • Mauro Carvalho Chehab's avatar
      ALSA: patch_sigmatel: Add missing Gateway entries and autodetection · 9cb36c2a
      Mauro Carvalho Chehab authored
      Gateway autodetection and entries are incomplete.
      
      This patch adds the entries found at the .INI file for their driver version
      5.10.5082.0.
      
      It also uses the proper code to seek for notebook ID, since this is based on
      codec subsystem ID on those devices.
      
      This should provide a proper pinup for several gateways notebooks:
      	Gateway M465-E Notebook [Part #1008637]
      	Gateway M465-G Notebook [Part #1008667]
      	Gateway NX260X Notebook [Part #1008794]
      	Gateway NX100X Notebook [Part #1008798]
      	Gateway E-100M Notebook [Part #1008799]
      	Gateway E-100M G Notebook [Part #1008800]
      	Gateway M255-E Notebook [Part #1008801]
      	Gateway M255-G Notebook [Part #1008803]
      	Gateway M285-E Convertible Notebook [Part #1008804]
      	Gateway M285-G Convertible Notebook [Part #1008805]
      	Gateway CX210S Convertible Notebook [Part #1008807]
      	Gateway CX210X Convertible Notebook [Part #1008808]
      	Gateway E-100M SB Notebook [Part #1008973]
      	Gateway M255-E SB Notebook [Part #1008989]
      	Gateway M285-E SB Convertible Notebook [Part #1008990]
      	Gateway M465-E Notebook [Part #1009022]
      	Gateway CX2724 Convertible Notebook [Part #1009036]
      	Gateway MX1025 Notebook [Part #1009046]
      	Gateway CX2720 Convertible Notebook [Part #1009063]
      	Gateway CX2724h Convertible Notebook [Part #1009089]
      	Gateway MX1023 Notebook [Part #1009097]
      	Gateway MX1023h Notebook [Part #1009098]
      	Gateway NX260X Notebook [Part #1009112]
      	Gateway E-100M Notebook [Part #1009126]
      	Gateway MX7533 Notebook [Part #1009146] [Part #1009163]
      	Gateway CX210X Convertible Notebook [Part #1009346]
      	Gateway NX570X Notebook [Part #1009442]
      	Gateway NX570X Notebook [Part #1009448]
      	Gateway NX270S Notebook [Part #1009550]
      	Gateway MX6448 Notebook [Part #1013912R]
      	Gateway MX6453 Notebook [Part #1013913R]
      	Gateway MX6216 Notebook [Part #1013916R]
      	Gateway MX6931 Notebook [Part #1013918R]
      	Gateway CX2726 Convertible Notebook [Part #1013921R]
      	Gateway MP8708 Notebook [Part #1013924R]
      	Gateway MX6446 Notebook [Part #1013927R]
      	Gateway MX6930 Notebook [Part #1013928R]
      	Gateway MX6447 Notebook [Part #1013932R]
      	Gateway MX6454 Notebook [Part #1013943R]
      	Gateway MX6439 Notebook [Part #1013947R] [Part #1013955R] [Part #1013971R]
      	Gateway MX6930h Notebook [Part #1013973R] [Part #1013974R] [Part #1013975R]
      	Gateway MX6955 Notebook [Part #1014028R]
      	Gateway MX6956 Notebook [Part #1014033R]
      	Gateway MX6959 Notebook [Part #1014061R]
      	Gateway MX6957 Notebook [Part #1014065R]
      	Gateway MX6960 Notebook [Part #1014068R]
      	Gateway MX6958 Notebook [Part #1014072R]
      	Gateway NX570X Notebook [Part #1014077R]
      	Gateway NX570XL Notebook [Part #1014078R]
      	Gateway NX570QS Notebook [Part #1014079R]
      	Gateway MX6961 Notebook [Part #1014080R] [Part #1014106R]
      	Gateway MX6961h Notebook [Part #1014112R]
      	Gateway NX270S Notebook [Part #1014120R]
      	Gateway MX6431 Notebook [Part #1014121R]
      	Gateway MX8710 Notebook [Part #2905895R]
      	Gateway MX3702 Notebook [Part #2905898R]
      	Blade-K8F GW UMA Single Core Motherboard w/RS485M and 1394 - Quanta (FRU) [Part #4006133R]
      
      Since some entries conflict with existing pinups, I'm providing a separate
      patch to fix those entries.
      
      Tested only with Gateway MX6453.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      9cb36c2a
    • Mauro Carvalho Chehab's avatar
      ALSA: hda - Add a new function to seek for a codec ID · 2eda3445
      Mauro Carvalho Chehab authored
      Gateway notebooks have their ID inside codec vendor ID, not at PCI ID. Due to
      that, model auto-detection were not possible with the standard seek method.
      
      This is what is found at lspci -vnn:
      
      00:14.2 Audio device [0403]: ATI Technologies Inc SB450 HDA Audio [1002:437b] (rev 01)
              Subsystem: ATI Technologies Inc SB450 HDA Audio [1002:437b]
      
      Yet, autodetection is possible, since the codec properly reflects the vendor at
      the Subsystem ID:
      
      $ cat /proc/asound/card0/codec#0 |head -4
      
      Codec: SigmaTel STAC9250
      Address: 0
      Vendor Id: 0x83847634
      Subsystem Id: 0x107b0367
      
      This patch adds a new autodetection function that seeks for codec subsystem ID.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      2eda3445
  2. 28 Nov, 2008 2 commits
  3. 27 Nov, 2008 5 commits
    • Takashi Iwai's avatar
      ALSA: hda - Modularize HD-audio driver · 1289e9e8
      Takashi Iwai authored
      Split the monolithc HD-audio driver into several pieces:
       - snd-hda-intel   HD-audio PCI controller driver; loaded via udev
       - snd-hda-codec   HD-audio codec bus driver
       - snd-hda-codec-* Specific HD-audio codec drivers
      
      When built as modules, snd-hda-codec (that is invoked by snd-hda-intel)
      looks up the codec vendor ID and loads the corresponding codec module
      automatically via request_module().
      
      When built in a kernel, each codec drivers are statically hooked up
      before probing the PCI.
      
      This patch adds appropriate EXPORT_SYMBOL_GPL()'s and the module
      information for each driver, and driver-linking codes between
      codec-bus and codec drivers.
      
      TODO:
        - Avoid EXPORT_SYMBOL*() when built-in kernel
        - Restore __devinit appropriately depending on the condition
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      1289e9e8
    • Takashi Iwai's avatar
      ALSA: hda - Fix creation of automatic capture mixers · 30d72e9f
      Takashi Iwai authored
      Fixed a wrong boundary check of num_adc_nids in set_capture_mixer()
      in patch_realtek.c.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      30d72e9f
    • Takashi Iwai's avatar
      ALSA: hda - Fix PCM reconfigure · 529bd6c4
      Takashi Iwai authored
      The reconfiguration of PCM affected all PCM streams on the bus, but
      this this should be done rather only for the target codec.
      
      This patch does the following:
      - introduce bitmap indicating the PCM device usages on a hda_bus
      - refactor the PCM build functions
      - fix __devinit prefix in some fucntions
      - add a proper ifdef around HDA-reconfig-specific functions
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      529bd6c4
    • Takashi Iwai's avatar
      ALSA: hda - Move power_save option to hda_intel.c · fee2fba3
      Takashi Iwai authored
      Move power_save option into hda_intel.c, and make a field in hda_bus,
      instead of keeping module parameters in separate files.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      fee2fba3
    • Takashi Iwai's avatar
      ALSA: hda - make some functions static · 986862bd
      Takashi Iwai authored
      Minor clean ups: move snd_hda_codecs_inuse() into hda_intel.c and
      make static.  Also, make snd_hda_query_supported_pcm() static
      as it's used only in hda_codec.c.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      986862bd
  4. 26 Nov, 2008 1 commit
  5. 25 Nov, 2008 11 commits
  6. 24 Nov, 2008 3 commits
    • Takashi Iwai's avatar
      ALSA: hda - Add probe_mask quirk for Medion MD96630 · ef1681d8
      Takashi Iwai authored
      Medion MD96630 has ALC268 codec on slot#2 although it's not used
      for any purpose.  This codec conflicts with the primiary codec ALC888
      on slot#0, and gives mixer errors.
      
      This patch adds a corresponding entry to probe_mask blacklist.
      
      Reference: Novell bnc#412528
      	https://bugzilla.novell.com/show_bug.cgi?id=412528Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ef1681d8
    • Vincent Petry's avatar
      ALSA: hda: Added an ALC888 model entry for Fujitsu-Siemens Amilo Xa3530 · ef8ef5fb
      Vincent Petry authored
      This patch fixes the bug 0004240: ALC888 - Intel HDA - Headphone Controlling.
      It is made against the 2008-11-23 snapshot.
      
      Added Realtek ALC888 model entry for the Fujitsu-Siemens Amilo Xa3530
      laptop. It has 4 jacks: HP out, Mic-in, Line-in and Line-out/Side/SPDIF
      (this one is on the laptop side, the other ones are on the rear).
      
      Model detection works.
      Headphone jack sense works now.
      Front mic works now, was same as Acer Aspire 4930G.
      Added channel mode from 2 to 8 channels.
      
      In 2ch and 4ch modes, the front is also sent to the Line-out/side jack
      for convenience instead of just muting the Line-out/side jack like other
      models do.
      
      When using the Mic-in jack as CLFE, the sound is very low (bug?). To
      work it around, in 6ch mode the CLFE channel is duplicated to the
      Line-out/side jack because this one has a better amp.
      
      Cc: manu@frogged.de
      Signed-off-by: default avatarVincent Petry <PVince81@yahoo.fr>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ef8ef5fb
    • Takashi Iwai's avatar
      ALSA: hda - No 'Headphone as Line-out' swich without line-outs · a9cb5c90
      Takashi Iwai authored
      STAC/IDT driver creates "Headphone as Line-Out" switch even if there
      is no line-out pins on the machine.  For devices only with headpohnes
      and speaker-outs, this switch shouldn't be created.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      a9cb5c90
  7. 22 Nov, 2008 7 commits
  8. 21 Nov, 2008 8 commits