Page 25 of 124 FirstFirst ... 1523242526273575 ... LastLast
Results 241 to 250 of 1236

Thread: ALSA Upgrade Script

  1. #241
    Join Date
    Jul 2007
    Location
    DUS
    Beans
    183

    Re: ALSA Upgrade Script

    Hi folks.

    I finally updated the script. Alsa 1.0.20 and Kernel 2.6.29 are supported now.

    You should also have a look at the updated HDA model list. There might be a chance that this or that function of your soundcard is now supported. You just need to choose a matching model-id for your driver.

    And once more:

    Don't complain that your SPDIF-in or similar is still no working.
    Run the alsa-info script and send the output to the alsa mailing list.

    Let me know if you encounter problems with the script.

    Cheers

  2. #242
    Join Date
    Apr 2005
    Location
    Köln, Germany
    Beans
    49
    Distro
    Kubuntu 9.04 Jaunty Jackalope

    Re: ALSA Upgrade Script

    Maybe a few of you guys who are happy with the patch could report your success on the original launchpad and, probably more importantly, the underlying ALSA bug report so that this gets included in the next official release!

    Thanks.

  3. #243
    Join Date
    Jun 2007
    Beans
    7

    Re: ALSA Upgrade Script

    @soundcheck
    thanks for your support!
    -maybe offtopic-
    i'm trying to tweak usb driver from http://www.diyaudio.com/wiki/index.p...AManualInstall
    but the code in usbaudio.c is changed:

    before
    Code:
    		/* FIXME: there might be more than one audio formats... */
    			runtime->hw.period_bytes_min = runtime->hw.period_bytes_max =
    				fp->frame_size;
    		}
    	}
    
    	/* set the period time minimum 1ms */
    	/* FIXME: high-speed mode allows 125us minimum period, but many parts
    	 * in the current code assume the 1ms period.
    	 */
    	snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_PERIOD_TIME,
    				     1000 * MIN_PACKS_URB,
    				     /*(nrpacks * MAX_URBS) * 1000*/ UINT_MAX);
    
    	err = check_hw_params_convention(subs);
    	if (err < 0)
    		return err;
    	else if (err) {
    		hwc_debug("setting extra hw constraints...\n");
    		if ((err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE,
    					       hw_rule_rate, subs,
    					       SNDRV_PCM_HW_PARAM_FORMAT,
    					       SNDRV_PCM_HW_PARAM_CHANNELS,
    					       -1)) < 0)
    now
    Code:
    		/* FIXME: there might be more than one audio formats... */
    			runtime->hw.period_bytes_min = runtime->hw.period_bytes_max =
    				fp->frame_size;
    		}
    		pt = 125 * (1 << fp->datainterval);
    		ptmin = min(ptmin, pt);
    	}
    
    	param_period_time_if_needed = SNDRV_PCM_HW_PARAM_PERIOD_TIME;
    	if (snd_usb_get_speed(subs->dev) != USB_SPEED_HIGH)
    		/* full speed devices have fixed data packet interval */
    		ptmin = 1000;
    	if (ptmin == 1000)
    		/* if period time doesn't go below 1 ms, no rules needed */
    		param_period_time_if_needed = -1;
    	snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_PERIOD_TIME,
    				     ptmin, UINT_MAX);
    
    	if ((err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE,
    				       hw_rule_rate, subs,
    				       SNDRV_PCM_HW_PARAM_FORMAT,
    				       SNDRV_PCM_HW_PARAM_CHANNELS,
    				       param_period_time_if_needed,
    				       -1)) < 0)
    so, just change "ptmin" value?
    its safe?

    thanks in advance!

  4. #244
    Join Date
    Jul 2007
    Location
    DUS
    Beans
    183

    Re: ALSA Upgrade Script

    Quote Originally Posted by iolapiu View Post
    @soundcheck
    thanks for your support!
    -maybe offtopic-
    so, just change "ptmin" value?
    its safe?

    thanks in advance!
    This for sure is off-topic at this place.

    We better discuss this at DIY-Audio. Just give it a try and let me know over there.

    Cheers

  5. #245
    Join Date
    Oct 2007
    Beans
    59

    Re: ALSA Upgrade Script

    I tried the latest upgrade script (May10th) unfortunately the compile failed. This link is to a pastebin of the tail of the log showing the compile error.
    http://pastebin.ca/1418432

    Here is an oddity I found in the log outside of the actual compile error.

    The following packages have unmet dependencies:
    libpulse-dev: Depends: libpulse0 (= 1:0.9.14-0ubuntu20.1) but 1:0.9.15-0ubuntu1~ppa4 is to be installed
    E: Broken packages


    I am running Ubuntu 9.04 kernel 2.6.28-12 64bit
    Sound ADI 1988B (ASUS Formula Rampage BIOS 701)

    Any help would be appreciated.

  6. #246
    Join Date
    Jul 2007
    Location
    DUS
    Beans
    183

    Re: ALSA Upgrade Script

    Quote Originally Posted by RDV View Post
    I tried the latest upgrade script (May10th) unfortunately the compile failed. This link is to a pastebin of the tail of the log showing the compile error.
    http://pastebin.ca/1418432

    Here is an oddity I found in the log outside of the actual compile error.

    The following packages have unmet dependencies:
    libpulse-dev: Depends: libpulse0 (= 1:0.9.14-0ubuntu20.1) but 1:0.9.15-0ubuntu1~ppa4 is to be installed
    E: Broken packages


    I am running Ubuntu 9.04 kernel 2.6.28-12 64bit
    Sound ADI 1988B (ASUS Formula Rampage BIOS 701)

    Any help would be appreciated.
    Try to install liba52-dev and libpulse0 manually and then run the script again.

    sudo apt-get install liba52-dev libpulse0

    Let me know if it works.

  7. #247
    Join Date
    May 2009
    Beans
    6

    Re: ALSA Upgrade Script

    Cool script!! Thank you for this!

    I have Ubuntu 9.04 and Acer TravelMate 7520G. Sound worked ok right after installing but the internal mic stayed silent. This script helped! Now it works ok, atleast in Skype. Audacity has still some problems. Recording in Audacity produces very cracking sound and it seems like the upper section of the voice wave has been cut off (weird lookin thing, I'll provide screen cap if needed).

    Anyway this made my day!

    Btw. I've been crying on a lot of forums about my problems and nowbody seems to know nothing about fixing silent mics in any computers. U guys rock!
    Attached Files Attached Files

  8. #248
    Join Date
    Oct 2007
    Beans
    59

    Re: ALSA Upgrade Script

    Quote Originally Posted by soundcheck View Post
    Try to install liba52-dev and libpulse0 manually and then run the script again.

    sudo apt-get install liba52-dev libpulse0

    Let me know if it works.
    Thanks for trying to help, unfortunately it looks like the packages are already installed. Here are the results of the installation attempt:

    > sudo apt-get install liba52-dev libpulse0
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Note, selecting liba52-0.7.4-dev instead of liba52-dev
    liba52-0.7.4-dev is already the newest version.
    libpulse0 is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

    Any more ideas?

    I already had at least the liba52 package installed as I compile Mythtv trunk (0.22) and ffmpeg on a regular bases.

  9. #249
    Join Date
    Jul 2007
    Location
    DUS
    Beans
    183

    Re: ALSA Upgrade Script

    Quote Originally Posted by RDV View Post
    Thanks for trying to help, unfortunately it looks like the packages are already installed. Here are the results of the installation attempt:

    > sudo apt-get install liba52-dev libpulse0
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Note, selecting liba52-0.7.4-dev instead of liba52-dev
    liba52-0.7.4-dev is already the newest version.
    libpulse0 is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

    Any more ideas?

    I already had at least the liba52 package installed as I compile Mythtv trunk (0.22) and ffmpeg on a regular bases.
    Hmmh. I did installation tests on Jaunty, Intrepid and Linux Mint 6 on two different 32bit machines, without facing any issues.

  10. #250
    Join Date
    Dec 2007
    Beans
    3

    Question Re: ALSA Upgrade Script

    Quote Originally Posted by soundcheck View Post
    Short Alsa-Upgrade script install instructions:
    1. download the script and save it somewhere
    2. cd <your-download-dir>
    3. tar xvf AlsaUpgrade-1.0.x-rev-1.17.tar
    4. sudo ./AlsaUpgrade-1.0.x-rev-1.17.sh

    (The same way you'll handle the uxchecker-1.0x.tar)
    Are we to do a reboot prior to the uxchecker run, or is but one reboot required? Thanks in advance!

Page 25 of 124 FirstFirst ... 1523242526273575 ... 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
  •