Page 1 of 18 12311 ... LastLast
Results 1 to 10 of 175

Thread: ALSA 1.0.17 Installation Script

  1. #1
    Join Date
    Jun 2007
    Beans
    11,062

    ALSA 1.0.17 Installation Script

    soundcheck is now writing and maintaining the ALSA 1.0.18 update script see: http://ubuntuforums.org/showthread.php?t=962695
    Last edited by Temüjin; April 18th, 2010 at 03:44 PM.

  2. #2
    Join Date
    Jun 2007
    Beans
    11,062

    alsa-base Configuration

    Configuring alsa-base

    To identify your codec:
    Code:
    aplay -l
    cat /proc/asound/card0/codec#* | grep Codec
    Now, open /etc/modprobe.d/alsa-base with the following command:
    Code:
    gksudo gedit /etc/modprobe.d/alsa-base
    Modify or add this line with modelname = to the appropriate model name from the list below:
    Code:
    options snd-hda-intel model=modelname
    Code:
      Module snd-hda-intel
      --------------------
    
        Module for Intel HD Audio (ICH6, ICH6M, ESB2, ICH7, ICH8),
    		ATI SB450, SB600, RS600,
    		VIA VT8251/VT8237A,
    		SIS966, ULI M5461
    
        [Multiple options for each card instance]
        model	- force the model name
        position_fix - Fix DMA pointer (0 = auto, 1 = use LPIB, 2 = POSBUF)
        probe_mask  - Bitmask to probe codecs (default = -1, meaning all slots)
        bdl_pos_adj	- Specifies the DMA IRQ timing delay in samples.
    		Passing -1 will make the driver to choose the appropriate
    		value based on the controller chip.
        
        [Single (global) options]
        single_cmd  - Use single immediate commands to communicate with
    		codecs (for debugging only)
        enable_msi	- Enable Message Signaled Interrupt (MSI) (default = off)
        power_save	- Automatic power-saving timtout (in second, 0 =
    		disable)
        power_save_controller - Reset HD-audio controller in power-saving mode
    		(default = on)
    
        This module supports multiple cards and autoprobe.
        
        Each codec may have a model table for different configurations.
        If your machine isn't listed there, the default (usually minimal)
        configuration is set up.  You can pass "model=<name>" option to
        specify a certain model in such a case.  There are different
        models depending on the codec chip.
    
    	  Model name	Description
    	  ----------    -----------
    	ALC880
    	  3stack	3-jack in back and a headphone out
    	  3stack-digout	3-jack in back, a HP out and a SPDIF out
    	  5stack	5-jack in back, 2-jack in front
    	  5stack-digout	5-jack in back, 2-jack in front, a SPDIF out
    	  6stack	6-jack in back, 2-jack in front
    	  6stack-digout	6-jack with a SPDIF out
    	  w810		3-jack
    	  z71v		3-jack (HP shared SPDIF)
    	  asus		3-jack (ASUS Mobo)
    	  asus-w1v	ASUS W1V
    	  asus-dig	ASUS with SPDIF out
    	  asus-dig2	ASUS with SPDIF out (using GPIO2)
    	  uniwill	3-jack
    	  fujitsu	Fujitsu Laptops (Pi1536)
    	  F1734		2-jack
    	  lg		LG laptop (m1 express dual)
    	  lg-lw		LG LW20/LW25 laptop
    	  tcl		TCL S700
    	  clevo		Clevo laptops (m520G, m665n)
    	  medion	Medion Rim 2150
    	  test		for testing/debugging purpose, almost all controls can be
    			adjusted.  Appearing only when compiled with
    			$CONFIG_SND_DEBUG=y
    	  auto		auto-config reading BIOS (default)
    
    	ALC260
    	  hp		HP machines
    	  hp-3013	HP machines (3013-variant)
    	  fujitsu	Fujitsu S7020
    	  acer		Acer TravelMate
    	  will		Will laptops (PB V7900)
    	  replacer	Replacer 672V
    	  basic		fixed pin assignment (old default model)
    	  test		for testing/debugging purpose, almost all controls can
    			adjusted.  Appearing only when compiled with
    			$CONFIG_SND_DEBUG=y
    	  auto		auto-config reading BIOS (default)
    
    	ALC262
    	  fujitsu	Fujitsu Laptop
    	  hp-bpc	HP xw4400/6400/8400/9400 laptops
    	  hp-bpc-d7000	HP BPC D7000
    	  hp-tc-t5735	HP Thin Client T5735
    	  hp-rp5700	HP RP5700
    	  benq		Benq ED8
    	  benq-t31	Benq T31
    	  hippo		Hippo (ATI) with jack detection, Sony UX-90s
    	  hippo_1	Hippo (Benq) with jack detection
    	  sony-assamd	Sony ASSAMD
    	  ultra		Samsung Q1 Ultra Vista model
    	  lenovo-3000	Lenovo 3000 y410
    	  basic		fixed pin assignment w/o SPDIF
    	  auto		auto-config reading BIOS (default)
    
    	ALC267/268
    	  quanta-il1	Quanta IL1 mini-notebook
    	  3stack	3-stack model
    	  toshiba	Toshiba A205
    	  acer		Acer laptops
    	  dell		Dell OEM laptops (Vostro 1200)
    	  zepto		Zepto laptops
    	  test		for testing/debugging purpose, almost all controls can
    			adjusted.  Appearing only when compiled with
    			$CONFIG_SND_DEBUG=y
    	  auto		auto-config reading BIOS (default)
    
    	ALC269
    	  basic		Basic preset
    
    	ALC662/663
    	  3stack-dig	3-stack (2-channel) with SPDIF
    	  3stack-6ch	 3-stack (6-channel)
    	  3stack-6ch-dig 3-stack (6-channel) with SPDIF
    	  6stack-dig	 6-stack with SPDIF
    	  lenovo-101e	 Lenovo laptop
    	  eeepc-p701	ASUS Eeepc P701
    	  eeepc-ep20	ASUS Eeepc EP20
    	  m51va		ASUS M51VA
    	  g71v		ASUS G71V
    	  h13		ASUS H13
    	  g50v		ASUS G50V
    	  auto		auto-config reading BIOS (default)
    
    	ALC882/885
    	  3stack-dig	3-jack with SPDIF I/O
    	  6stack-dig	6-jack digital with SPDIF I/O
    	  arima		Arima W820Di1
    	  targa		Targa T8, MSI-1049 T8
    	  asus-a7j	ASUS A7J
    	  asus-a7m	ASUS A7M
    	  macpro	MacPro support
    	  mbp3		Macbook Pro rev3
    	  imac24	iMac 24'' with jack detection
    	  w2jc		ASUS W2JC
    	  auto		auto-config reading BIOS (default)
    
    	ALC883/888
    	  3stack-dig	3-jack with SPDIF I/O
    	  6stack-dig	6-jack digital with SPDIF I/O
    	  3stack-6ch    3-jack 6-channel
    	  3stack-6ch-dig 3-jack 6-channel with SPDIF I/O
    	  6stack-dig-demo  6-jack digital for Intel demo board
    	  acer		Acer laptops (Travelmate 3012WTMi, Aspire 5600, etc)
    	  acer-aspire	Acer Aspire 9810
    	  medion	Medion Laptops
    	  medion-md2	Medion MD2
    	  targa-dig	Targa/MSI
    	  targa-2ch-dig	Targs/MSI with 2-channel
    	  laptop-eapd   3-jack with SPDIF I/O and EAPD (Clevo M540JE, M550JE)
    	  lenovo-101e	Lenovo 101E
    	  lenovo-nb0763	Lenovo NB0763
    	  lenovo-ms7195-dig Lenovo MS7195
    	  haier-w66	Haier W66
    	  3stack-hp	HP machines with 3stack (Lucknow, Samba boards)
    	  6stack-dell	Dell machines with 6stack (Inspiron 530)
    	  mitac		Mitac 8252D
    	  clevo-m720	Clevo M720 laptop series
    	  fujitsu-pi2515 Fujitsu AMILO Pi2515
    	  auto		auto-config reading BIOS (default)
    
    	ALC861/660
    	  3stack	3-jack
    	  3stack-dig	3-jack with SPDIF I/O
    	  6stack-dig	6-jack with SPDIF I/O
    	  3stack-660	3-jack (for ALC660)
    	  uniwill-m31	Uniwill M31 laptop
    	  toshiba	Toshiba laptop support
    	  asus		Asus laptop support
    	  asus-laptop	ASUS F2/F3 laptops
    	  auto		auto-config reading BIOS (default)
    
    	ALC861VD/660VD
    	  3stack	3-jack
    	  3stack-dig	3-jack with SPDIF OUT
    	  6stack-dig	6-jack with SPDIF OUT
    	  3stack-660	3-jack (for ALC660VD)
    	  3stack-660-digout 3-jack with SPDIF OUT (for ALC660VD)
    	  lenovo	Lenovo 3000 C200 & ASUS X20SG, ASUS U1E
    	  dallas	Dallas laptops, Toshiba satellite L30-106
    	  hp		HP TX1000
    	  auto		auto-config reading BIOS (default)
    
    	CMI9880
    	  minimal	3-jack in back
    	  min_fp	3-jack in back, 2-jack in front
    	  full		6-jack in back, 2-jack in front
    	  full_dig	6-jack in back, 2-jack in front, SPDIF I/O
    	  allout	5-jack in back, 2-jack in front, SPDIF out
    	  auto		auto-config reading BIOS (default)
    
    	AD1882
    	  3stack	3-stack mode (default)
    	  6stack	6-stack mode
    
    	AD1884A / AD1883 / AD1984A / AD1984B
    	  desktop	3-stack desktop (default)
    	  laptop	laptop with HP jack sensing
    	  mobile	mobile devices with HP jack sensing
    	  thinkpad	Lenovo Thinkpad X300
    
    	AD1884
    	  N/A
    
    	AD1981
    	  basic		3-jack (default)
    	  hp		HP nx6320
    	  thinkpad	Lenovo Thinkpad T60/X60/Z60
    	  toshiba	Toshiba U205
    
    	AD1983
    	  N/A
    
    	AD1984
    	  basic		default configuration
    	  thinkpad	Lenovo Thinkpad T61/X61
    	  dell		Dell T3400
    
    	AD1986A
    	  6stack	6-jack, separate surrounds (default)
    	  3stack	3-stack, shared surrounds
    	  laptop	2-channel only (FSC V2060, Samsung M50)
    	  laptop-eapd	2-channel with EAPD (Samsung R65, ASUS A6J)
    	  laptop-automute 2-channel with EAPD and HP-automute (Lenovo N100)
    	  ultra		2-channel with EAPD (Samsung Ultra tablet PC)
    
    	AD1988/AD1988B/AD1989A/AD1989B
    	  6stack	6-jack
    	  6stack-dig	ditto with SPDIF
    	  3stack	3-jack
    	  3stack-dig	ditto with SPDIF
    	  laptop	3-jack with hp-jack automute
    	  laptop-dig	ditto with SPDIF
    	  auto		auto-config reading BIOS (default)
    	
    	Conexant 5045
    	  laptop-hpsense    Laptop with HP sense (old model laptop)
    	  laptop-micsense   Laptop with Mic sense (old model fujitsu)
    	  laptop-hpmicsense Laptop with HP and Mic senses
    	  benq		Benq R55E
    	  test		for testing/debugging purpose, almost all controls
    			can be adjusted.  Appearing only when compiled with
    			$CONFIG_SND_DEBUG=y
    
    	Conexant 5047
    	  laptop	Basic Laptop config 
    	  laptop-hp	Laptop config for some HP models (subdevice 30A5)
    	  laptop-eapd	Laptop config with EAPD support
    	  test		for testing/debugging purpose, almost all controls
    			can be adjusted.  Appearing only when compiled with
    			$CONFIG_SND_DEBUG=y
    
    	Conexant 5051
    	  laptop	Basic Laptop config (default)
    	  hp		HP Spartan laptop
    
    	STAC9200
    	  ref		Reference board
    	  dell-d21	Dell (unknown)
    	  dell-d22	Dell (unknown)
    	  dell-d23	Dell (unknown)
    	  dell-m21	Dell Inspiron 630m, Dell Inspiron 640m
    	  dell-m22	Dell Latitude D620, Dell Latitude D820
    	  dell-m23	Dell XPS M1710, Dell Precision M90
    	  dell-m24	Dell Latitude 120L
    	  dell-m25	Dell Inspiron E1505n
    	  dell-m26	Dell Inspiron 1501
    	  dell-m27	Dell Inspiron E1705/9400
    	  gateway	Gateway laptops with EAPD control
    	  panasonic	Panasonic CF-74
    
    	STAC9205/9254
    	  ref		Reference board
    	  dell-m42	Dell (unknown)
    	  dell-m43	Dell Precision
    	  dell-m44	Dell Inspiron
    
    	STAC9220/9221
    	  ref		Reference board
    	  3stack	D945 3stack
    	  5stack	D945 5stack + SPDIF
    	  intel-mac-v1	Intel Mac Type 1
    	  intel-mac-v2	Intel Mac Type 2
    	  intel-mac-v3	Intel Mac Type 3
    	  intel-mac-v4	Intel Mac Type 4
    	  intel-mac-v5	Intel Mac Type 5
    	  macmini	Intel Mac Mini (equivalent with type 3)
    	  macbook	Intel Mac Book (eq. type 5)
    	  macbook-pro-v1 Intel Mac Book Pro 1st generation (eq. type 3)
    	  macbook-pro	Intel Mac Book Pro 2nd generation (eq. type 3)
    	  imac-intel	Intel iMac (eq. type 2)
    	  imac-intel-20	Intel iMac (newer version) (eq. type 3)
    	  dell-d81	Dell (unknown)
    	  dell-d82	Dell (unknown)
    	  dell-m81	Dell (unknown)
    	  dell-m82	Dell XPS M1210
    
    	STAC9202/9250/9251
    	  ref		Reference board, base config
    	  m2-2		Some Gateway MX series laptops
    	  m6		Some Gateway NX series laptops
    	  pa6		Gateway NX860 series
    
    	STAC9227/9228/9229/927x
    	  ref		Reference board
    	  3stack	D965 3stack
    	  5stack	D965 5stack + SPDIF
    	  dell-3stack	Dell Dimension E520
    	  dell-bios	Fixes with Dell BIOS setup
    
    	STAC92HD71B*
    	  ref		Reference board
    	  dell-m4-1	Dell desktops
    	  dell-m4-2	Dell desktops
    
    	STAC92HD73*
    	  ref		Reference board
    	  dell-m6	Dell desktops
    
    	STAC9872
    	  vaio		Setup for VAIO FE550G/SZ110
    	  vaio-ar Setup for VAIO AR
    
        The model name "genric" is treated as a special case.  When this
        model is given, the driver uses the generic codec parser without
        "codec-patch".  It's sometimes good for testing and debugging.
    
        If the default configuration doesn't work and one of the above
        matches with your device, report it together with the PCI
        subsystem ID (output of "lspci -nv") to ALSA BTS or alsa-devel
        ML (see the section "Links and Addresses").
    
        power_save and power_save_controller options are for power-saving
        mode.  See powersave.txt for details.
    
        Note 2: If you get click noises on output, try the module option
    	    position_fix=1 or 2.  position_fix=1 will use the SD_LPIB
    	    register value without FIFO size correction as the current
    	    DMA pointer.  position_fix=2 will make the driver to use
    	    the position buffer instead of reading SD_LPIB register.
    	    (Usually SD_LPLIB register is more accurate than the
    	    position buffer.)
    
        NB: If you get many "azx_get_response timeout" messages at
        loading, it's likely a problem of interrupts (e.g. ACPI irq
        routing).  Try to boot with options like "pci=noacpi".  Also, you
        can try "single_cmd=1" module option.  This will switch the
        communication method between HDA controller and codecs to the
        single immediate commands instead of CORB/RIRB.  Basically, the
        single command mode is provided only for BIOS, and you won't get
        unsolicited events, too.  But, at least, this works independently
        from the irq.  Remember this is a last resort, and should be
        avoided as much as possible...
        
        MORE NOTES ON "azx_get_response timeout" PROBLEMS:
        On some hardwares, you may need to add a proper probe_mask option
        to avoid the "azx_get_response timeout" problem above, instead.
        This occurs when the access to non-existing or non-working codec slot
        (likely a modem one) causes a stall of the communication via HD-audio
        bus.  You can see which codec slots are probed by enabling
        CONFIG_SND_DEBUG_VERBOSE, or simply from the file name of the codec
        proc files.  Then limit the slots to probe by probe_mask option.
        For example, probe_mask=1 means to probe only the first slot, and
        probe_mask=4 means only the third slot.
    
        The power-management is supported.
    Last edited by Temüjin; August 7th, 2008 at 07:16 AM. Reason: Update for Toshiba satellite L30-106

  3. #3
    Join Date
    Nov 2005
    Location
    Uppsala, Sweden
    Beans
    2,181
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: ALSA 1.0.17-rc1 Scripts & alsa-base Configuration

    Quote Originally Posted by Temüjin View Post
    I would also like to get another alsa-base list going like the one I linked to in my original post. It seems the OP of that thread is no longer active on these forums.
    You already have that list in alsa-driver-1.0.17rc1/alsa-kernel/Documentation/ALSA-Configuration.txt in whatever directory your script unpacks the sources.

  4. #4
    Join Date
    Jun 2007
    Beans
    11,062

    Re: ALSA 1.0.17-rc1 Scripts & alsa-base Configuration

    An ASUS X20SG owner has reported that the lenovo modelname worked for him with his Realtek ALC660VD: http://ubuntuforums.org/showthread.p...22#post5137022

    I added it to the list.

  5. #5
    Join Date
    May 2007
    Location
    Australia
    Beans
    5
    Distro
    Ubuntu

    Re: ALSA 1.0.17-rc1 Scripts & alsa-base Configuration

    Thanks for the script but i'm having some problems.

    During the first script it fails during one of the ./configure parts

    Code:
    WARNING!!! The mixer channels for the ALSA driver are muted by default!!!
    **************************************************************************
    You would use some ALSA or OSS mixer to set the appropriate volume.
    
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    checking whether NLS is requested... yes
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables... 
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking for ld used by GCC... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for shared library run path origin... done
    checking for CFPreferencesCopyAppValue... no
    checking for CFLocaleCopyCurrent... no
    checking for GNU gettext in libc... yes
    checking whether to use NLS... yes
    checking where the gettext function comes from... libc
    checking for cross-compiler... gcc
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether ln -s works... yes
    checking for ALSA CFLAGS... 
    checking for ALSA LDFLAGS...  -lasound -lm -ldl -lpthread
    checking for libasound headers version >= 1.0.16... not present.
    configure: error: Sufficiently new version of libasound not found.
    make: *** No targets specified and no makefile found.  Stop.
    make: *** No rule to make target `install'.  Stop.
    now reboot your machine, and run alsa_2

    I'm using Ubuntu 8.04 64bit and I have tried fixing this problem by installing libasound2-dev and even lib32asound2-dev, is there anything else I can try to get this working?

  6. #6
    Join Date
    May 2007
    Beans
    10
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: ALSA 1.0.17-rc1 Scripts & alsa-base Configuration

    I think there's an error inside alsa_1.sh script. I've modified (not verified yet) this script and uploaded...
    Attached Files Attached Files

  7. #7
    Join Date
    Jun 2008
    Beans
    22

    Re: ALSA 1.0.17-rc1 Scripts & alsa-base Configuration

    Hello,

    First of all I would like to thank you for the effort. Its being a hard time for me trying to upgrade ALSA.

    I did as you wrote, but when I type

    Code:
    cat /proc/asound/version
    I still get the following output:

    Code:
    Advanced Linux Sound Architecture Driver Version 1.0.16.
    Compiled on May 29 2008 for kernel 2.6.24-18-generic (SMP).
    Any suggestions?

    [Edit]

    The weird thing is that when I look into the alsa mixer it accuses the 1.0.7rc1 version. But, if I press F2 I get the following:



    Note that while in the top it says 1.0.7rc1 it still goes 1.0.6 in the blue screen. Why is that?
    Last edited by freakwillie; June 12th, 2008 at 07:48 PM.

  8. #8
    Join Date
    Jun 2008
    Beans
    22

    Re: ALSA 1.0.17-rc1 Scripts & alsa-base Configuration

    Looks like the alsa-driver isn't upgrading.

    Here's the alsa-info.sh output: http://pastebin.ca/1047467

  9. #9
    Join Date
    Jun 2007
    Beans
    11,062

    Re: ALSA 1.0.17-rc1 Scripts & alsa-base Configuration

    Updated for ALSA 1.0.17rc2. I added alsa-lib too.
    Last edited by Temüjin; June 23rd, 2008 at 09:42 PM.

  10. #10
    Join Date
    Jun 2007
    Beans
    11,062

    Re: ALSA 1.0.17-rc1 Scripts & alsa-base Configuration

    Ok, I connected my backup hard disk yesterday and tested this. It works! (I use OSS4 on my main disk.)
    Last edited by Temüjin; June 23rd, 2008 at 09:43 PM.

Page 1 of 18 12311 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •