You are not logged in.

#1 2019-11-21 16:54:48

marcin19883
Member
Registered: 2019-11-21
Posts: 5

New alsa-lib 1.2.1.1 and missing UCM

After installing new alsa-lib 1.2.1.1 and other new alsa files, there are no UCM files. My sound card stopped working. Is the missing files a bug? Is that how it's gonna be? Where is UCM files?

Last edited by marcin19883 (2019-11-21 17:48:56)

Offline

#2 2019-11-21 19:12:21

dupkey
Member
Registered: 2019-07-13
Posts: 3

Re: New alsa-lib 1.2.1.1 and missing UCM

Similar issue. https://bbs.archlinux.org/viewtopic.php?id=247739
My solution was to boot into the LTS kernel until today when it was updated. Only way I can get audio now is with USB.

Offline

#3 2019-11-21 19:15:59

marcin19883
Member
Registered: 2019-11-21
Posts: 5

Re: New alsa-lib 1.2.1.1 and missing UCM

I was looking online for the cause, and I think I found. We need a package of alsa-ucm-conf. It has to be manually downloaded from the github alsa. sad
it's a shame it's not in the Arch repository.

Last edited by marcin19883 (2019-11-21 19:17:17)

Offline

#4 2019-11-21 20:09:36

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: New alsa-lib 1.2.1.1 and missing UCM

@marcin19883

Could you please try the following PKGBUILD

pkgname=alsa-ucm-conf
pkgver=1.2.1
pkgrel=1
pkgdesc="ALSA Use Case Manager configuration (and topologies)"
arch=('any')
url="https://www.alsa-project.org/wiki/Main_Page"
license=('BSD')
source=("ftp://ftp.alsa-project.org/pub/lib/$pkgname-$pkgver.tar.bz2")
sha256sums=('9c57c5495c72b54485ba31b4e212561c2ea98fb7d07b0e01404c789438592232')
noextract=($pkgname-$pkgver.tar.bz2)

package() {
  install -dm 755 "$pkgdir"/usr/share/alsa
  install -dm 755 "$pkgdir/usr/share/licenses/$pkgname"
  cd "$pkgdir"/usr/share/alsa
  bsdtar -xf "$srcdir"/$pkgname-$pkgver.tar.bz2
  rm README.md
  mv LICENSE "$pkgdir/usr/share/licenses/$pkgname/"
}

Edit:
Added PKGBUILD for alsa-topology-conf

pkgname=alsa-topology-conf
pkgver=1.2.1
pkgrel=1
pkgdesc="ALSA topology configuration files"
arch=('any')
url="https://www.alsa-project.org/wiki/Main_Page"
license=('BSD')
source=("ftp://ftp.alsa-project.org/pub/lib/$pkgname-$pkgver.tar.bz2")
sha256sums=('354a43f4031c98bef1349ac722d83b2603ef439f81a1ab1eba8814c28243a9b2')
noextract=($pkgname-$pkgver.tar.bz2)

package() {
  install -dm 755 "$pkgdir"/usr/share/alsa
  install -dm 755 "$pkgdir/usr/share/licenses/$pkgname"
  cd "$pkgdir"/usr/share/alsa
  bsdtar -xf "$srcdir"/$pkgname-$pkgver.tar.bz2
  rm README.md
  mv LICENSE "$pkgdir/usr/share/licenses/$pkgname/"
}

Last edited by loqs (2019-11-21 21:31:28)

Offline

#5 2019-11-21 23:21:34

marcin19883
Member
Registered: 2019-11-21
Posts: 5

Re: New alsa-lib 1.2.1.1 and missing UCM

I'm a beginner user. I don't know how to do it. sad

Offline

#6 2019-11-21 23:32:51

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: New alsa-lib 1.2.1.1 and missing UCM

marcin19883 wrote:

I'm a beginner user. I don't know how to do it.

https://wiki.archlinux.org/index.php/Ar … g_packages

Moving to Newbie Corner.


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

#7 2019-11-23 06:21:22

Vonter
Member
Registered: 2019-11-23
Posts: 1

Re: New alsa-lib 1.2.1.1 and missing UCM

loqs wrote:

@marcin19883

Could you please try the following PKGBUILD

I had the same problem earlier. After building and installing these two packages, it has been fixed. Audio is working now.

Thanks!


logs wrote:

@marcin19883

I'm a beginner user. I don't know how to do it.

You have to save each of those PKGBUILDs and build the packages by running makepkg in the same folder, as described in the wiki link.

Offline

#8 2019-11-23 14:16:29

marcin19883
Member
Registered: 2019-11-21
Posts: 5

Re: New alsa-lib 1.2.1.1 and missing UCM

Who can you tell to make official packages alsa-ucm-conf and alsa-topology-conf?  will it ever be officially done?

Offline

#9 2019-11-23 16:28:51

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: New alsa-lib 1.2.1.1 and missing UCM

You could file a bug against alsa-lib as that used to provide the files before upstream split them out in 1.2.1.
Otherwise if a developer decides to package it or someone could add it to AUR then if it became popular it could be moved to community by trusted user.

Offline

#10 2019-11-23 18:55:00

marcin19883
Member
Registered: 2019-11-21
Posts: 5

Re: New alsa-lib 1.2.1.1 and missing UCM

Okay, I get it. The topic can be closed.

Offline

#11 2019-11-23 19:52:31

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: New alsa-lib 1.2.1.1 and missing UCM

marcin19883 wrote:

Okay, I get it. The topic can be closed.

No, it can't. The [CLOSED] tag is reserved for posts that can no longer be posted to. Instead you should mark it as [SOLVED].


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB