Page 74 of 124 FirstFirst ... 2464727374757684 ... LastLast
Results 731 to 740 of 1236

Thread: ALSA Upgrade Script

  1. #731
    Join Date
    Jan 2008
    Beans
    205

    Re: ALSA Upgrade Script

    Quote Originally Posted by el_baby View Post
    I did! I just looked again and verified it. Copied straight out of my script:

    PACKAGE=1.0.23
    setpack () {
    DRIVER=alsa-driver-1.0.23
    FIRMWARE=alsa-firmware-1.0.23
    LIB=alsa-lib-1.0.23
    PLUGINS=alsa-plugins-1.0.23
    UTILS=alsa-utils-1.0.23
    TOOLS=alsa-tools-1.0.23
    OSS=alsa-oss-1.0.17
    }

    I've also tried uninstalling (using this script and also synaptic) and reinstalling - it keeps coming back 1.0.22.1!

    At least it still works - but I'm trying to get 1.0.23 because it's supposed to work with my new Xonar DS...

  2. #732
    Join Date
    Jan 2008
    Beans
    205

    Re: ALSA Upgrade Script

    Quote Originally Posted by Temüjin View Post
    Yes, both 'cat /proc/asound/version' and alsamixer report 1.0.23
    Interesting... On my system
    'cat /proc/asound/version' reports 1.0.22.1
    but alsamixer version is 1.0.23...

  3. #733
    Join Date
    Jun 2007
    Beans
    14,783

    Re: ALSA Upgrade Script

    Quote Originally Posted by yonkiman View Post
    Interesting... On my system
    'cat /proc/asound/version' reports 1.0.22.1
    but alsamixer version is 1.0.23...
    If you updated the kernel, you need to run the script with -i again. Also, it might help to make a log of it like suggested in the OP.

  4. #734
    Join Date
    Jan 2008
    Beans
    205

    Re: ALSA Upgrade Script

    I fixed it. Went in to Synaptic Package Manager and found one or two installed packages with ALSA and an older version number. Removed them, rebooted, re-ran the script, and now I've got 1.0.23!

    1.0.23 sees my Xonar DS sound card!

    But I can't get any sound (analog or spdif) out of it yet. That will probably be another thread...

    Thanks for the help!
    Last edited by yonkiman; April 18th, 2010 at 12:19 AM. Reason: Added exclamation point

  5. #735
    Join Date
    Jun 2008
    Beans
    56
    Distro
    Ubuntu Development Release

    Re: ALSA Upgrade Script

    Quote Originally Posted by yonkiman View Post
    I fixed it. Went in to Synaptic Package Manager and found one or two installed packages with ALSA and an older version number. Removed them, rebooted, re-ran the script, and now I've got 1.0.23!

    1.0.23 sees my Xonar DS sound card!

    But I can't get any sound (analog or spdif) out of it yet. That will probably be another thread...

    Thanks for the help!
    Beware that alsa-project.org is currently down by dns expiration and may be interfering with the download process of the script.

    I have change the source address in the script to other I found (ftp://ftp.silug.org/pub/alsa/) and it worked flawlessly after modifying it for 1.0.23.

    You should not trust my attachment, you better make the changes yourself to the 1.0.22 script or make a diff against my attachment before you run it so you can be sure that the script I'm attaching will not make anything else than described.
    Attached Files Attached Files
    Last edited by Vladimir Hidalgo; April 19th, 2010 at 07:47 AM. Reason: Adding no responsability clause

  6. #736
    Join Date
    Oct 2007
    Beans
    674
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: ALSA Upgrade Script

    Quote Originally Posted by Vladimir Hidalgo View Post
    Beware that alsa-project.org is currently down by dns expiration and may be interfering with the download process of the script.

    I have change the source address in the script to other I found (ftp://ftp.silug.org/pub/alsa/) and it worked flawlessly after modifying it for 1.0.23.

    You should not trust my attachment, you better make the changes yourself to the 1.0.22 script or make a diff against my attachment before you run it so you can be sure that the script I'm attaching will not make anything else than described.
    When I tried to run your script, all I got was an error message:
    Code:
    objekt910@objekt910-desktop:~/bin/alsafix$ sudo sh AlsaUpgrade-1.0.23.sh -d
    AlsaUpgrade-1.0.23.sh: 73: Syntax error: "(" unexpected
    Acer Swift 3 (SF314-42-R7LH)

  7. #737
    Join Date
    Jun 2008
    Beans
    56
    Distro
    Ubuntu Development Release

    Re: ALSA Upgrade Script

    That's because it has some specific bash syntax, you need to run it this way:
    Code:
    sudo bash AlsaUpgrade-1.0.23.sh
    Or you can chmod it with a+x so you can do:

    Code:
    chmod a+x AlsaUpgrade-1.0.23.sh
    sudo ./AlsaUpgrade-1.0.23.sh

  8. #738
    Join Date
    Oct 2007
    Beans
    674
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: ALSA Upgrade Script

    No-go. I got all the way through the download step (using -d option) but the compile step (-c) failed. Here are the last few lines, where the errors appeared and the script gave up:
    Code:
    ainst `aasc_decoder' can not be used when making a shared object; recompile with -fPIC
    /usr/local/lib/libavcodec.a: could not read symbols: Bad value
    collect2: ld returned 1 exit status
    make[2]: *** [libasound_module_pcm_a52.la] Error 1
    make[2]: Leaving directory `/usr/src/Alsa-1.0.23/alsa-plugins-1.0.23/a52'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/src/Alsa-1.0.23/alsa-plugins-1.0.23'
    make: *** [all] Error 2
    
    --------------------------------------------------------------------------------------
    -  alsa-plugins-1.0.23 make failed
    --------------------------------------------------------------------------------
    I already made sure all the dependencies were satisfied with this:
    Code:
    sudo apt-get -y install bzip2 build-essential module-assistant libsysfs-dev libncurses5-dev libncursesw5-dev gettext python-dev xmlto libpulse0 libpulse-dev libspeex-dev libavcodec-dev libavformat-dev libavutil-dev libmpeg4ip-dev liba52-0.7.4-dev libsamplerate0-dev  linux-headers-`uname -r` libfltk1.1-dev
    so it isn't that. Any ideas?

    Don't know if it matters, but I'm using the Linux 2.6.33-020633-generic kernel. This isn't an official Ubuntu 9.10 kernel; I installed it because it supports TRIM and I might want to try an SSD later on.
    Acer Swift 3 (SF314-42-R7LH)

  9. #739
    Join Date
    Jun 2008
    Beans
    56
    Distro
    Ubuntu Development Release

    Re: ALSA Upgrade Script

    I can't help you on that problem, my configuration is as follows:

    Code:
    $ uname -a
    Linux aurox 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux

    There's Ubuntu's kernel 2.6.33 at kernel-ppa mainline:
    http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.33/

    Which should be more compatible (I guess).

    Also 2.6.34 RC4:
    http://kernel.ubuntu.com/~kernel-ppa....34-rc4-lucid/

    Either way, I only can assure from my tests that's working on 32-bit OS with 2.6.32

  10. #740
    Join Date
    Jun 2007
    Beans
    14,783

    Re: ALSA Upgrade Script

    /usr/local/lib/libavcodec.a
    You appear to have a local version of libavcodec which is taking precedence over the repo version.

Page 74 of 124 FirstFirst ... 2464727374757684 ... 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
  •