VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Upgrading ALSA  (Read 2774 times)

emi

  • Member
  • *
  • Posts: 21
Upgrading ALSA
« on: July 22, 2007, 12:26:53 am »

I need to upgrade to alsa 1.0.14 because my chipset hda-intel is not fully supported in older versions.

Is this as simple as removing the old alsa packages and building/installing the new ones? Or are some of the drivers built into the kernel, necessitating compiling a new kernel? I'm running VL5.8SOHO.

Thanks.
Elliot
Logged

The Headacher

  • Louder than you
  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1553
  • I like the bass to go BOOM!
    • Multimedia on VL (work in progress)
Re: Upgrading ALSA
« Reply #1 on: July 22, 2007, 04:21:15 am »

Quote
Is this as simple as removing the old alsa packages and building/installing the new ones?
Yes. Basically you'll want to get the latest  "alsa-driver" sources, and configure it with
Quote
./configure --prefix=/usr --with-cards=hda-intel
I don't think SOHO has an alsa-driver package installed by default, it uses the alsa drivers that come with the kernel IIRC ( I upgraded alsa driver as well, but for another card ).

If you decide to upgrade alsa-lib as well, make sure you remove the old one without dependency tracking, so not all programs using sound get removed as well :) :
Code: [Select]
slapt-get --remove --no-dep alsa-libGood luck!
Logged
Most music on my soundcloud page was arranged in programs running on VL.

Joe1962

  • Administrator
  • Vectorian
  • *****
  • Posts: 2499
    • Joe1962's Website
Re: Upgrading ALSA
« Reply #2 on: July 22, 2007, 09:35:51 am »

Weird, other people, myself included, have used 5.8 SOHO (possibly even Standard) with Intel HDA sound.
Logged
O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10

kidd

  • Packager
  • Vectorian
  • ****
  • Posts: 682
Re: Upgrading ALSA
« Reply #3 on: July 22, 2007, 10:01:50 am »

I had problems with SOHO  with my Intel HDA too.  I solved it upgrading the kernel from gslapt.
No problems now :)

emi

  • Member
  • *
  • Posts: 21
Re: Upgrading ALSA
« Reply #4 on: July 22, 2007, 05:58:17 pm »

Joe1962:
The older alsa version sort of worked, but the driver and the hardware clearly had a few disagreements. The main problem was that the volume level (with all mixer channels fully juiced) was about half of what was achievable in windows, really only an issue when listening to music or watching a dvd.

Well, I successfully compiled all the alsa packages but was greeted by this ugly mess:
Code: [Select]
# modprobe snd-hda-intel

WARNING: Error inserting snd (/lib/modules/2.6.20.3/kernel/sound/acore/snd.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.20.3/kernel/sound/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_pcm (/lib/modules/2.6.20.3/kernel/sound/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_hda_intel (/lib/modules/2.6.20.3/kernel/sound/pci/hda/snd-hda-intel.ko): Unknown symbol in module, or unknown parameter (see dmesg)

I spent a while on scroogle and from what I can understand the kernel drivers are different from the alsa-driver package and cannot be used together, meaning I need to recompile the kernel with alsa disabled.

How did you manage to get around having to do that, Headacher?
Logged

Joe1962

  • Administrator
  • Vectorian
  • *****
  • Posts: 2499
    • Joe1962's Website
Re: Upgrading ALSA
« Reply #5 on: July 22, 2007, 08:06:27 pm »

Joe1962:
The older alsa version sort of worked, but the driver and the hardware clearly had a few disagreements. The main problem was that the volume level (with all mixer channels fully juiced) was about half of what was achievable in windows, really only an issue when listening to music or watching a dvd.
you manage to get around having to do that, Headacher?
Hmm... I'll have to research this when I get a chance to reboot over to the SOHO install. Due to current programming tasks in Windows, I have been mostly using VL 5.8 Standard in a vm. Anyway, the times I've tested that SOHO partition, I didn't notice a volume problem. Could be because I simply haven't played many videos in it... ;D
Logged
O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10

emi

  • Member
  • *
  • Posts: 21
Re: Upgrading ALSA
« Reply #6 on: July 22, 2007, 11:31:36 pm »

I'm happy to report that after recompiling my kernel to disable the kernel alsa drivers and recompiling the (non-kernel) alsa-driver and lib packages, the snd modules now load correctly and the playback volume is where it should be.

It took me a couple of tries becuase the generic sound module needs to be compiled directly into the kernel, it can't be a separate module.

One annoying thing now is that the Master channel on the mixer doesn't do anything, it sounds the same and 100% and 0%. All the mixing needs to be done from the PCM channel. It's annoying but it works so I don't really care.

Thanks guys.
Elliot
Logged

The Headacher

  • Louder than you
  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1553
  • I like the bass to go BOOM!
    • Multimedia on VL (work in progress)
Re: Upgrading ALSA
« Reply #7 on: July 23, 2007, 12:31:12 am »

Quote
I spent a while on scroogle and from what I can understand the kernel drivers are different from the alsa-driver package and cannot be used together, meaning I need to recompile the kernel with alsa disabled.

How did you manage to get around having to do that, Headacher?
If I recall correctly, I think alsa-driver's "make install" removes any old alsa modules installed. Even though what you found is still in a lot of HOWTO's about kernel compilation, I haven't found the need for complete kernel recompilation just to get rid of the old stuff.

Good to hear you got it working, though the new problem sounds even more annoying than the old one to me.
Logged
Most music on my soundcloud page was arranged in programs running on VL.