Page 102 of 124 FirstFirst ... 25292100101102103104112 ... LastLast
Results 1,011 to 1,020 of 1236

Thread: ALSA Upgrade Script

  1. #1011
    Join Date
    Jun 2007
    Beans
    14,788

    Re: ALSA Upgrade Script

    i tried -D=hdmi but it didn't work.
    Elaborate. Terminal output?

  2. #1012
    Join Date
    Mar 2007
    Beans
    191

    Re: ALSA Upgrade Script

    Quote Originally Posted by Temüjin View Post
    Elaborate. Terminal output?
    aplay -D=hdmi /usr/share/skype/sounds/CallConnecting.wav
    Code:
    ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM =hdmi
    aplay: main:654: audio open error: No such file or directory

  3. #1013
    Join Date
    Jan 2009
    Beans
    18

    Re: ALSA Upgrade Script

    Here I go again, well someone might bump in and help.. I'm really lost. I badly need audio to work.

    Fresh install -- I have audio.
    after the First reboot, audio goes away. Literally none.

    Let me know if you wanna see anything else from the configs that could help.



    root@gr0undz3r0:~# aplay -l
    Code:
    **** List of PLAYBACK Hardware Devices ****
    card 0: Intel [HDA Intel], device 0: VT1708B Analog [VT1708B Analog]
      Subdevices: 2/2
      Subdevice #0: subdevice #0
      Subdevice #1: subdevice #1
    card 0: Intel [HDA Intel], device 1: VT1708B Digital [VT1708B Digital]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    root@gr0undz3r0:~# aplay -L
    Code:
    null
        Discard all samples (playback) or generate zero samples (capture)
    default:CARD=Intel
        HDA Intel, VT1708B Analog
        Default Audio Device
    front:CARD=Intel,DEV=0
        HDA Intel, VT1708B Analog
        Front speakers
    surround40:CARD=Intel,DEV=0
        HDA Intel, VT1708B Analog
        4.0 Surround output to Front and Rear speakers
    surround41:CARD=Intel,DEV=0
        HDA Intel, VT1708B Analog
        4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=Intel,DEV=0
        HDA Intel, VT1708B Analog
        5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=Intel,DEV=0
        HDA Intel, VT1708B Analog
        5.1 Surround output to Front, Center, Rear and Suroot@gr0undz3r0:~# tail -5 /etc/modprobe.d/alsa-base.conf 
    # Ubuntu #62691, enable MPU for snd-cmipci
    options snd-cmipci mpu_port=0x330 fm_port=0x388
    # Keep snd-pcsp from being loaded as first soundcard
    options snd-pcsp index=-2
    options snd-hda-intel model=auto
    bwoofer speakers
    surround71:CARD=Intel,DEV=0
        HDA Intel, VT1708B Analog
        7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    iec958:CARD=Intel,DEV=0
        HDA Intel, VT1708B Digital
        IEC958 (S/PDIF) Digital Audio Output
    root@gr0undz3r0:~# head -n 1 /proc/asound/card*/codec#*
    Code:
    Codec: VIA VT1708B 8-Ch
    root@gr0undz3r0:~# tail -5 /etc/modprobe.d/alsa-base.conf
    Code:
    # Ubuntu #62691, enable MPU for snd-cmipci
    options snd-cmipci mpu_port=0x330 fm_port=0x388
    # Keep snd-pcsp from being loaded as first soundcard
    options snd-pcsp index=-2
    options snd-hda-intel model=auto
    Alsa info output.
    http://www.alsa-project.org/db/?f=5a...56fc2b3d965ca4
    Code:
    !!################################
    !!ALSA Information Script v 0.4.59
    !!################################
    
    !!Script ran on: Tue Aug  3 09:16:40 UTC 2010
    
    
    !!Linux Distribution
    !!------------------
    
    Ubuntu 10.04.1 LTS \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"
    
    
    !!DMI Information
    !!---------------
    
    Manufacturer:      System manufacturer
    Product Name:      System Product Name
    
    
    !!Kernel Information
    !!------------------
    
    Kernel release:    2.6.32-24-generic
    Operating System:  GNU/Linux
    Architecture:      i686
    Processor:         unknown
    SMP Enabled:       Yes
    
    
    !!ALSA Version
    !!------------
    
    Driver version:     1.0.22.1
    Library version:    1.0.23
    Utilities version:  1.0.23
    
    
    !!Loaded ALSA modules
    !!-------------------
    
    snd_hda_intel
    
    
    !!Sound Servers on this system
    !!----------------------------
    
    Pulseaudio:
          Installed - Yes (/usr/bin/pulseaudio)
          Running - Yes
    
    ESound Daemon:
          Installed - Yes (/usr/bin/esd)
          Running - No
    
    
    !!Soundcards recognised by ALSA
    !!-----------------------------
    
     0 [Intel          ]: HDA-Intel - HDA Intel
                          HDA Intel at 0xfbffc000 irq 28
    
    
    !!PCI Soundcards installed in the system
    !!--------------------------------------
    
    00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)

  4. #1014
    Join Date
    Aug 2010
    Beans
    2

    Re: ALSA Upgrade Script

    Code:
    Advanced Linux Sound Architecture Driver Version 1.0.23.
    Compiled on Aug  2 2010 for kernel 2.6.31-22-generic-pae (SMP).
    Code:
    aplay: version 1.0.23 by Jaroslav Kysela <perex@perex.cz>
    Code:
    **** List of PLAYBACK Hardware Devices ****
    card 0: Intel [HDA Intel], device 0: ALC892 Analog [ALC892 Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: Intel [HDA Intel], device 1: ALC892 Digital [ALC892 Digital]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: Intel [HDA Intel], device 3: INTEL HDMI 0 [INTEL HDMI 0]
      Subdevices: 0/1
      Subdevice #0: subdevice #0
    card 0: Intel [HDA Intel], device 7: INTEL HDMI 1 [INTEL HDMI 1]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    Code:
     HDA Intel, ALC892 Analog
        Front speakers
    surround40:CARD=Intel,DEV=0
        HDA Intel, ALC892 Analog
        4.0 Surround output to Front and Rear speakers
    surround41:CARD=Intel,DEV=0
        HDA Intel, ALC892 Analog
        4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=Intel,DEV=0
        HDA Intel, ALC892 Analog
        5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=Intel,DEV=0
        HDA Intel, ALC892 Analog
        5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=Intel,DEV=0
        HDA Intel, ALC892 Analog
        7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    iec958:CARD=Intel,DEV=0
        HDA Intel, ALC892 Digital
        IEC958 (S/PDIF) Digital Audio Output
    hdmi:CARD=Intel,DEV=0
        HDA Intel, INTEL HDMI 0
        HDMI Audio Output
    Code:
    Codec: Intel G45 DEVIBX
    Address: 3
    Function Id: 0x1
    Vendor Id: 0x80862804
    Subsystem Id: 0x80860101
    Revision Id: 0x100000
    No Modem Function Group found
    Default PCM:
        rates [0x0]:      
        bits [0x0]:
        formats [0x0]:
    Default Amp-In caps: N/A
    Default Amp-Out caps: N/A
    GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
    Node 0x02 [Audio Output] wcaps 0x6611: 8-Channels Digital
      Control: name="IEC958 Playback Con Mask", index=1, device=0
      Control: name="IEC958 Playback Pro Mask", index=1, device=0
      Control: name="IEC958 Playback Default", index=1, device=0
      Control: name="IEC958 Playback Switch", index=1, device=0
      Device: name="INTEL HDMI 0", type="HDMI", device=3
      Converter: stream=8, channel=0
      Digital: Enabled
      Digital category: 0x0
      PCM:
        rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
        bits [0x1e]: 16 20 24 32
        formats [0x5]: PCM AC3
      Power states:  D0 D3
      Power: setting=D0, actual=D0
    Node 0x03 [Audio Output] wcaps 0x6611: 8-Channels Digital
      Control: name="IEC958 Playback Con Mask", index=2, device=0
      Control: name="IEC958 Playback Pro Mask", index=2, device=0
      Control: name="IEC958 Playback Default", index=2, device=0
      Control: name="IEC958 Playback Switch", index=2, device=0
      Device: name="INTEL HDMI 1", type="HDMI", device=7
      Converter: stream=0, channel=0
      Digital: Enabled
      Digital category: 0x0
      PCM:
        rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
        bits [0x1e]: 16 20 24 32
        formats [0x5]: PCM AC3
      Power states:  D0 D3
      Power: setting=D0, actual=D0
    I have sound over HDMI, but if the source is anything higher than stereo all I get is static (5.1 doesn't work).

    When I went into the .conf file I noticed that...

    Code:
    options snd-hda-intel index=-2
    Wasn't even in the file, but...

    Code:
    options cx88_alsa index=-2
    options saa7134-alsa index=-2
    options snd-atiixp-modem index=-2
    options snd-intel8x0m index=-2
    options snd-via82xx-modem index=-2
    options snd-usb-audio index=-2
    options snd-usb-us122l index=-2
    options snd-usb-usx2y index=-2
    options snd-usb-caiaq index=-2
    Was. I added "options snd-hda-intel index=-2" and then I realized that the .txt provided in the OP doesn't have an AC892 model list so I have no idea what to specify the model as.

    I tried leaving out the model and trying it with the new "options snd-hda-intel index=-2" line but then I got an "Audio Failed to Initialize" error (it at least worked for stereo before).

    Also, after adding "options snd-hda-intel index=-2" I got this error when typing aplay.

    Code:
    ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
    ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
    ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
    ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
    ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
    ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
    ALSA lib conf.c:4633:(snd_config_expand) Evaluate error: No such file or directory
    ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM hdmi
    aplay: main:654: audio open error: No such file or directory
    After removing the "options snd-hda-intel index=-2" line and rebooting, it worked just like it did before (stereo sources work, surround sources don't, all over HDMI).

    Also, ever since adding the "options snd-hda-intel index=-2" line and removing it I get an...

    Code:
    aplay: main:654: audio open error: Device or resource busy
    Error anytime I try to type aplay and I can't run any speaker tests without getting the same error (Device or resource busy).

    Any suggestions on any of the above?
    Last edited by Maconi; August 3rd, 2010 at 08:17 PM.

  5. #1015
    Join Date
    Mar 2010
    Location
    Akureyri,Iceland
    Beans
    21
    Distro
    Ubuntu Development Release

    Re: ALSA Upgrade Script

    Hi

    After upgrading to version 1.0.23. on my laptop all was well until I plugged my logitech USB headphones/mic in. The computer froze instantly, nothing worked, so I had to turn it off by force not a nice procedure when running a linux filesystem as you know. I booted with a live CD and then everything worked fine, I've also tried headphones in the normal headphone jack and that has no concequenses. This problem did not excist before the upgrade so I was wandering if anyone else has had the same problem. I've tried googling but found nothing. All help is very much apreciated

  6. #1016
    Join Date
    Jun 2006
    Location
    Buenos Aires, Argentina
    Beans
    129
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: ALSA Upgrade Script

    Quote Originally Posted by bjarkih View Post
    Hi

    After upgrading to version 1.0.23. on my laptop all was well until I plugged my logitech USB headphones/mic in. The computer froze instantly, nothing worked, so I had to turn it off by force not a nice procedure when running a linux filesystem as you know. I booted with a live CD and then everything worked fine, I've also tried headphones in the normal headphone jack and that has no concequenses. This problem did not excist before the upgrade so I was wandering if anyone else has had the same problem. I've tried googling but found nothing. All help is very much apreciated
    Well, I don't know the solution to your problem, but please take into account that USB headphones/mic is actually a USB sound card with headphones/mic attached to it. It is by no means the same thing as headphones in the normal headphone jack.

    If you were able to use the USB headphones with the ALSA drivers in the standard ubuntu package, maybe you didn't include support for tha particular sound card when you configured the script (although, IIRC, the default setting in the script is to include support for all known cards).

    What I'd try to do in your place is:

    1. uninstall the upgrade (restore the original alsa and kernel packages).
    2. reboot (to enable the original drivers)
    3. plug in the USB headphones and verify that they work OK
    4. with the USB headphones plugged in, check which sound card it uses. In a terminal type:
      Code:
      cat /proc/asound/cards
      The last entry is probably your USB sound card.
    5. re-run the ALSA upgrade script with the USB headphones plugged-in all them time.


    If this doesn't work, posting here which sound card is in the USB headphones, may help other people help you.

    Regards.
    Mariano Absatz - "el baby" (clueless...)
    Linux User #479955 Ubuntu user #24300
    Nostalgia: The good old days multiplied by a bad memory...
    This message transmitted on 100% recycled electrons

  7. #1017
    Join Date
    Jan 2009
    Beans
    18

    Re: ALSA Upgrade Script

    I resolved the audio issues.

    Resolution, removed ALSA and pulseaudio. I installed OSS4 instead.

  8. #1018
    Join Date
    Nov 2009
    Beans
    12

    Re: ALSA Upgrade Script

    Thank you so much!!!

    I was going nuts around my Compaq Mini Netbook

    You're a life saver


  9. #1019
    Join Date
    Mar 2010
    Location
    Akureyri,Iceland
    Beans
    21
    Distro
    Ubuntu Development Release

    Re: ALSA Upgrade Script

    Quote Originally Posted by el_baby View Post
    Well, I don't know the solution to your problem, but please take into account that USB headphones/mic is actually a USB sound card with headphones/mic attached to it. It is by no means the same thing as headphones in the normal headphone jack.

    If you were able to use the USB headphones with the ALSA drivers in the standard ubuntu package, maybe you didn't include support for tha particular sound card when you configured the script (although, IIRC, the default setting in the script is to include support for all known cards).

    What I'd try to do in your place is:

    1. uninstall the upgrade (restore the original alsa and kernel packages).
    2. reboot (to enable the original drivers)
    3. plug in the USB headphones and verify that they work OK
    4. with the USB headphones plugged in, check which sound card it uses. In a terminal type:
      Code:
      cat /proc/asound/cards
      The last entry is probably your USB sound card.
    5. re-run the ALSA upgrade script with the USB headphones plugged-in all them time.


    If this doesn't work, posting here which sound card is in the USB headphones, may help other people help you.

    Regards.
    Could you please tell me what packages to reinstall? When I reinstall those that I can think of I still get version 1.0.23. when I run 1.0.23.
    Last edited by bjarkih; August 5th, 2010 at 01:11 AM.

  10. #1020
    Join Date
    Jul 2010
    Location
    HH
    Beans
    59

    Re: ALSA Upgrade Script

    Thank you so much for doing the script. My sound is working again after I lost it somehow this morning(probably as a result of various attempts of troubleshooting my strange mic output)

Page 102 of 124 FirstFirst ... 25292100101102103104112 ... 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
  •