Page 92 of 124 FirstFirst ... 42829091929394102 ... LastLast
Results 911 to 920 of 1236

Thread: ALSA Upgrade Script

  1. #911
    Join Date
    Jun 2007
    Beans
    14,789

    Re: ALSA Upgrade Script

    @azitizz: Make it executable with chmod +x:
    Code:
    chmod +x AlsaUpgrade-1.0.23-2.sh

  2. #912
    Join Date
    Jul 2008
    Location
    Quebec, Canada
    Beans
    98
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: ALSA Upgrade Script

    [QUOTE=Temüjin;9506039]@azitizz: Make it executable with chmod +x:
    Code:
    chmod +x AlsaUpgrade-1.0.23-2.sh
    [/QUOTE
    still getting error msg.
    Could it be the way in which I'm accessing the folder?

    I have what appears to me to be the untarred folder on my desktop. (I also have the tarred one "alsa-driver-1.0.23.tar.bz2" assuming I downloaded the correct file?)

    I then right click the "untarred" folder and "open in terminal" so it automatically opens the folder and I'm in the console, within the folder.

    I tried pasting exactly as you typed into terminal getting the following:

    Code:
    mikepanc@mikepanc-laptop:~/Desktop/alsa-driver-1.0.23$ chmod +x AlsaUpgrade-1.0.23-2.sh
    chmod: cannot access `AlsaUpgrade-1.0.23-2.sh': No such file or directory
    Any suggestions? Am I missing spaces or putting an extra one where there shouldnt be ?
    Thank you.

  3. #913
    Join Date
    Jun 2007
    Beans
    14,789

    Re: ALSA Upgrade Script

    There's no folder in the tar file. Use the GUI to find the script file if you can't figure it out...

  4. #914
    Join Date
    Sep 2006
    Location
    Londinium
    Beans
    602

    Re: ALSA Upgrade Script

    I am getting error on compilation, stage two:
    Code:
      CC [M]  /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/format.o
      CC [M]  /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/endpoint.o
      CC [M]  /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.o
    /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c: In function ‘release_urb_ctx’:
    /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c:112: error: implicit declaration of function ‘kfree’
    /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c: In function ‘snd_usb_init_substream_urbs’:
    /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c:327: error: implicit declaration of function ‘kmalloc’
    /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c:327: warning: assignment makes pointer from integer without a cast
    /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c:340: warning: assignment makes pointer from integer without a cast
    make[3]: *** [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.o] Error 1
    make[2]: *** [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb] Error 2
    make[1]: *** [_module_/usr/src/Alsa-1.0.23/alsa-driver-1.0.23] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.34-bogota'
    make: *** [compile] Error 2
    
    ***************************************************************************
    *  alsa-driver-1.0.23 make failed
    ***************************************************************************
    
    
      CC [M]  /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/format.o
      CC [M]  /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/endpoint.o
      CC [M]  /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.o
    /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c: In function ‘release_urb_ctx’:
    /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c:112: error: implicit declaration of function ‘kfree’
    /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c: In function ‘snd_usb_init_substream_urbs’:
    /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c:327: error: implicit declaration of function ‘kmalloc’
    /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c:327: warning: assignment makes pointer from integer without a cast
    /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c:340: warning: assignment makes pointer from integer without a cast
    make[3]: *** [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.o] Error 1
    make[2]: *** [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb] Error 2
    make[1]: *** [_module_/usr/src/Alsa-1.0.23/alsa-driver-1.0.23] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.34-bogota'
    make: *** [compile] Error 2
    
    ***************************************************************************
    *  alsa-driver-1.0.23 make failed
    ***************************************************************************
    ThinkPad W500: C2D 2,5GHz, 8GB ram, GPU Intel & ATI, Middleton BIOS, SSD + UltraBay HDD, USB 3.0 ExpressCard, BTRFS + full disk encryption.

  5. #915
    Join Date
    Jun 2007
    Beans
    14,789

    Re: ALSA Upgrade Script

    @Lockheed, I'm sure there's a good fix, but if you don't use usb audio devices, I would suggest just not compiling them for an easy workaround (i.e. modify this part of the script:
    Code:
    CARDS="all"
    #CARDS="usb-audio,hda-intel,hdsp,hrtimer,rtctimer"
    to:
    Code:
    #CARDS="all"
    CARDS="hda-intel,hdsp,hrtimer,rtctimer"

  6. #916
    Join Date
    Jul 2008
    Location
    Quebec, Canada
    Beans
    98
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: ALSA Upgrade Script

    Quote Originally Posted by Temüjin View Post
    There's no folder in the tar file. Use the GUI to find the script file if you can't figure it out...
    Hmmm sorry Im lost already. So the tar file doesnt contain the upgrade instalation? Where would I be looking to find "AlsaUpgrade-1.0.23-2.sh"
    And did I even need to download the alsa drivers tar file to upgrade the script?

    Thanks

  7. #917
    Join Date
    Feb 2010
    Beans
    2

    Angry Re: ALSA Upgrade Script

    Hi, after messing around all day, I need to declare 'no sound'. Anybody out there - Please help!

    System: Ubuntu 10.04 Lucid up-to-date
    Kernel: 2.6.32-22-generic
    Gnome 2.30.0 desktop

    Hardware: Asus A8N- SLI Deluxe
    with onboard audio: Realtek ALC850

    Advanced Linux Sound Architecture Driver Version 1.0.22.1.
    Compiled on Apr 29 2010 for kernel 2.6.32-22-generic (SMP).

    $aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: CK804 [NVidia CK804], device 2: Intel ICH - IEC958 [NVidia CK804 - IEC958]
    Subdevices: 1/1
    Subdevice #0: subdevice #0


    There was no errors during installing alsa. All scripts worked smooth, but still no sound No beep even.

    yes, alsamixer has channels unmuted and at 100.

    Please see attached txt for detailed information

    I did try to edit alsa-base.conf:
    as I didn't have options snd-hda-intel index=-2 line I did try to add this and guess model number as ALC850 is not in the HD-Audio-Models.txt; so did try ALC880, auto, and basic options to define model
    as I had line options snd-intel8x0m index=-2 ,I was thinking that maybe I need to to modify that line, but that did not work either
    I did try this with pulseaudio installed and without.

    Please advice
    Marek
    sorry for my English, not my native.
    EDIT1
    It appears there was a hardware issue. When I removed front panel IO connector and used two jumpers connect the pins I finally got sound! Also I did set alsa-base conf back to default with no edits.

    Anyway, I still can't get sound from mp3 files, while have system sounds and sound in you-tube....any idea why? Probaly messed up pulseaudio...?
    EDIT2
    Issue is solved, I reinstalled the ubuntu, and everything works now. I don't know why my audio front panel 10pin plug wasn't accepted by the mobo. Can live without.
    Attached Files Attached Files
    Last edited by eurokiwi; June 26th, 2010 at 10:34 AM.

  8. #918
    Join Date
    Sep 2006
    Location
    Londinium
    Beans
    602

    Re: ALSA Upgrade Script

    Quote Originally Posted by Temüjin View Post
    @Lockheed, I'm sure there's a good fix, but if you don't use usb audio devices, I would suggest just not compiling them for an easy workaround (i.e. modify this part of the script:
    Code:
    CARDS="all"
    #CARDS="usb-audio,hda-intel,hdsp,hrtimer,rtctimer"
    to:
    Code:
    #CARDS="all"
    CARDS="hda-intel,hdsp,hrtimer,rtctimer"
    Now, I am getting another error:
    Code:
    /usr/bin/ld: /usr/local/lib/libavcodec.a(allcodecs.o): relocation R_X86_64_32 against `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
    ***************************************************************************
    ThinkPad W500: C2D 2,5GHz, 8GB ram, GPU Intel & ATI, Middleton BIOS, SSD + UltraBay HDD, USB 3.0 ExpressCard, BTRFS + full disk encryption.

  9. #919
    Join Date
    Nov 2008
    Beans
    2

    Re: ALSA Upgrade Script

    @Lockheed, I was running into the same implicit declaration of function 'kmalloc' as you were. This post provided guidance what needs to be done to fix it: http://groups.google.com/group/linux...d1b3f4c46a4f4b

    Basically, add "#include <linux/slab.h>" to urb.c near the other includes and everything should compile.

  10. #920
    Join Date
    Sep 2006
    Location
    Londinium
    Beans
    602

    Re: ALSA Upgrade Script

    Quote Originally Posted by SternJason View Post
    @Lockheed, I was running into the same implicit declaration of function 'kmalloc' as you were. This post provided guidance what needs to be done to fix it: http://groups.google.com/group/linux...d1b3f4c46a4f4b

    Basically, add "#include <linux/slab.h>" to urb.c near the other includes and everything should compile.
    I am not sure I follow. You mean I should patch the kernel?
    ThinkPad W500: C2D 2,5GHz, 8GB ram, GPU Intel & ATI, Middleton BIOS, SSD + UltraBay HDD, USB 3.0 ExpressCard, BTRFS + full disk encryption.

Page 92 of 124 FirstFirst ... 42829091929394102 ... 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
  •