15 Aug, 2008

3 commits


14 Aug, 2008

1 commit


13 Aug, 2008

17 commits


06 Aug, 2008

19 commits

  • Make snd_ad1848_probe() easier to follow. With an exception for only
    trying once as soon as the codec is out of init (which should be all
    that's needed) the detection logic should be unchanged.

    Signed-off-by: Rene Herman
    Acked-by: Krzysztof Helt
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Rene Herman
     
  • Use pin 37 for mono-out as default on ALC203.

    Reported-by: george pee
    Tested-by: george pee
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Takashi Iwai
     
  • The support for the SB Extigy's remote seems to be broken in all
    recent ALSA versions, including 1.0.17. The driver detects the event
    correctly, then submits a URB to query the RC code. On the Extigy, the
    URB is submitted with a length of 2 bytes. My hardware, however, only
    replies with 1 byte, containing the correct RC button code. The
    current implementation discards this as being too short. (line 1784 of
    usbmixer.c)

    This patch specifies a "minimum packet length" in the remote control
    configuration. I've left the values for the Audigy 2/Live! the same as
    the packet length, as I'm assuming the existing code works with them.
    (I don't have the hardware to confirm) This fixes the Extigy RC
    support, e.g. for use with Lirc.

    Signed-off-by: Phillip Michael Jordan
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Phillip Michael Jordan
     
  • The WM8900 is designed for portable multimedia applications requiring
    low power consumption, high performance audio and a compact form factor
    providing:

    - 24 bit stereo ADC and DAC
    - Microphone and line inputs
    - Line outputs
    - Class G headphone amplifier

    Signed-off-by: Mark Brown
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Mark Brown
     
  • Thanks to Sistema Fenix (http://www.sistemafenix.com.br/) and CDI Brasil
    (www.cdibrasil.com.br/) for sponsoring this development.

    Signed-off-by: Gilberto
    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Mauro Carvalho Chehab
     
  • This patch adds sound support for NEC Versa S9100
    With it, we get sound on the internal speaker and headphone (with
    automute working) while there is no sound by default.
    External mic also works fine but I don't know if there is an internal
    one (if there is an internal mic it does not work currently), and I
    had to send back the hardware.

    Signed-off-by: Pascal Terjan
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Pascal Terjan
     
  • After the transition from cs4321_lib to wss_lib, azt2320 probe visits
    snd_ad1848_probe during detection. It expects register 0 (LEFT_INPUT)
    to be able to retain the value 0xaa during detection but AZT2320 does
    not support MIC gain meaning it reads back as 0x8a instead.

    Signed-off-by: Rene Herman
    Acked-by: Krzysztof Helt
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Rene Herman
     
  • Add the Techmakers MF-4236PW (Crystal CX4236B-XQ3) PnP card ID.

    Signed-off-by: Rene Herman
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Rene Herman
     
  • Remove initializations of spinlock and mutexes which
    are done earlier in snd_wss_new(). The snd_wss_new()
    is called from snd_wss_create().

    Signed-off-by: Krzysztof Helt
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Krzysztof Helt
     
  • snd-opti92x-ad1848 mistakingly passes WSS_HW_OPTI93X currently. This
    fixes it as tested with a OPTi 82C929A/AD1848 card.

    Signed-off-by: Rene Herman
    Acked-by: Krzysztof Helt
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Rene Herman
     
  • Limit opti93x cards capture formats to only linear ones.

    Signed-off-by: Krzysztof Helt
    Reviewed-by: Rene Herman
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Krzysztof Helt
     
  • Use the wss detection code and kill the ad1848 library.
    The library is fully assimilated into the new wss library.

    This required reworking of the AD1848 family code
    so the code is changed to correctly detect chips from
    the AD1848 and CS4231 families.

    I have tested it on following cards:
    Gallant SC-6600 (codec: AD1848, driver: snd-sc6600)
    SoundScape VIVO/90 (codec: AD1845, driver: snd-sscape)
    SG Waverider (codec: CS4231A, driver: Rene Herman's snd-galaxy)
    Opti930 (codec: built-in - CS4231 compatible, driver: snd-opti93x)
    Opti931 (codec: built-in - CS4231 compatible, driver: snd-opti93x)
    Gallant SC-70P (chip/codec: CS4237B, driver: snd-cs4236)
    Audio Plus 3D (chip/codec: CMI8330A, driver: snd-cmi8330)
    Dell Latitude CP (chip/codec: cs4236, driver snd-cs4232)

    Sound playback and recording works on all these cards.

    Signed-off-by: Krzysztof Helt
    Reviewed-by: Rene Herman
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Krzysztof Helt
     
  • Use the wss pcm code and kill the ad1848 pcm code.

    The AD1848 chip is much slower than CS4231 chips
    so the waiting loop was increased 100x (10x is not
    enough).

    Signed-off-by: Krzysztof Helt
    Reviewed-by: Rene Herman
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Krzysztof Helt
     
  • Use the wss mixer code and kill the ad1848 mixer code.

    Signed-off-by: Krzysztof Helt
    Reviewed-by: Rene Herman
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Krzysztof Helt
     
  • Use CS4231P instead of AD1848P (kill the AD1848P).

    Signed-off-by: Krzysztof Helt
    Reviewed-by: Rene Herman
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Krzysztof Helt
     
  • Use the wss macros instead of ad1848 ones.

    Signed-off-by: Krzysztof Helt
    Reviewed-by: Rene Herman
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Krzysztof Helt
     
  • Use wss constants for mode.
    Move ad1848 hardware constants to the wss.h.
    Move mixer tlv macros into the ad1848_lib.c from the ad1848.h.

    Drop the MODE_RUNNING spurious IRQ guard on AD1848 as it doesn not seem
    to be needed.

    Signed-off-by: Krzysztof Helt
    Reviewed-by: Rene Herman
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Krzysztof Helt
     
  • The snd_wss is superset of the snd_ad1848 so kill
    the latter and replace it with the snd_wss.

    Signed-off-by: Krzysztof Helt
    Reviewed-by: Rene Herman
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Krzysztof Helt
     
  • Rename functions and structures from the former
    cs4321_lib to names more corresponding with the
    new name: wss_lib.

    Signed-off-by: Krzysztof Helt
    Reviewed-by: Rene Herman
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Krzysztof Helt