Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

alsa-headers & alsa-drivers & 2.6 kernels confusion?

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
13 posts • Page 1 of 1
Author
Message
wrc1944
Advocate
Advocate
Posts: 3467
Joined: Thu Aug 15, 2002 10:33 am
Location: Gainesville, Florida

alsa-headers & alsa-drivers & 2.6 kernels confusion?

  • Quote

Post by wrc1944 » Mon Nov 29, 2004 11:33 am

I missed emerging the alsa-firmware, and alsa-headers, so maybe that's why I'm having only partial success.
However, I use 2.6 kernels, with alsa compiled in, so I don't need to emerge alsa-drivers, which is what emerge attempts to do when I do emerge alsa-headers. I definitely don't want to emerge alsa-drivers with 2.6, do I? (I'm on dialup, thus emerge -f, below)
-----------------------------------------------------------------------------
mymachine wrc # emerge -f =media-sound/alsa-headers-1.0.7
Calculating dependencies ...done!
>>> emerge (1 of 1) media-sound/alsa-headers-1.0.7 to /
>>> Downloading
http://gentoo.osuosl.org/distfiles/dist ... .7.tar.bz2
--05:54:25--
http://gentoo.osuosl.org/distfiles/dist ... .7.tar.bz2
=> `/usr/portage/distfiles/alsa-driver-1.0.7.tar.bz2'

SNIP
------------------------------------------------------------------------------------------------

But if I do: mymachine wrc # emerge -pv alsa-headers

I get:
These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild N ] media-sound/alsa-headers-1.0.7 0 kB

Total size of downloads: 0 kB

mymachine wrc #
-----------------------------------------------------
Are they really the same file, and as long as alsa is in a 2.6 kernel, I don't
need alsa-headers-1.0.7? What is the correct thinking on this? Or should I
put alsa-drivers in /etc/portage/profiles/package.provided, and do:

emerge alsa-headers?

My latest kernel is:
2.6.10-rc2-mm2-V0.7.30-4 (this is with the real time patch)

Seems to run fine, but I don't think I'm getting full alsa capability here,
with Rosegarden/qsynth/vkeybd. Should I use the CFQ scheduler instead of Anticipatory? I usually run ck kerenls with CFQ, but lately had some
problems.

Any advice is appreciated.

wrc1944
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.41-r2, gcc-15.1.0
kernel-6.15.6 USE=experimental python3.13.3
Top
ryker
Guru
Guru
User avatar
Posts: 412
Joined: Wed May 28, 2003 3:04 pm
Location: Portage, IN
Contact:
Contact ryker
Website

  • Quote

Post by ryker » Sat Mar 12, 2005 5:45 pm

I know this is an old post, but I have the same question. Hopefully someone can answer this.
Someone told me on IRC that since I have the 2.6 kernel, I should just use the alsa module for my via82xx from the kernel, not follow the alsa guide. He said alsa-drivers is only for 2.4 kernel.
Athlon 64 3200+, 80G WD sata hd + 200G IDE, 1G Geil DDR400, MSI K8T Neo
IntelCore2Duo 2.0Ghz MSI laptop,100G SATA hd, 2G RAM
Top
Revellion
Tux's lil' helper
Tux's lil' helper
Posts: 87
Joined: Tue Sep 14, 2004 11:00 pm
Location: Sweden
Contact:
Contact Revellion
Website

  • Quote

Post by Revellion » Sat Mar 12, 2005 5:47 pm

you will need the alsa-headers even if you got ALSA in your kernel, since the apps that uses ALSA builds against the headers.
Gentoo 2006.0 + NPTL + 2.6.15-r1-sources + gcc 3.4.4 100% built. glibc 2.3.5.
Top
mascanho
Veteran
Veteran
User avatar
Posts: 1241
Joined: Tue Dec 21, 2004 2:55 am
Location: On my Bmx Bike on a Concrete Park Flatlanding ...
Contact:
Contact mascanho
Website

  • Quote

Post by mascanho » Sat Mar 12, 2005 10:13 pm

Kernel 2.4.x -

Code: Select all

emerge alsa-headers alsa-tools alsa-utils
kernel 2.6.x -

Code: Select all

emerge alsa-headers alsa-tools alsa-utils
alsa-driver not need because it comes already in kernel, supposing you set it has a module

Just as simple as that ! 8)
Flatland Life is a Choice !
emerge avatar
Top
ryker
Guru
Guru
User avatar
Posts: 412
Joined: Wed May 28, 2003 3:04 pm
Location: Portage, IN
Contact:
Contact ryker
Website

  • Quote

Post by ryker » Mon Mar 14, 2005 7:24 pm

So, since I am using the 2.6 kernel, do I not need to follow guides such as Wiki Alsa HowTO or Multiple Sound Card HowTO?
My sound is working with the built-in 2.6 kernel drivers; however, I have a couple issues. My sound levels aren't saved (always muted) after a reboot and I can't get my sound working on my PVR878 tv card.
Athlon 64 3200+, 80G WD sata hd + 200G IDE, 1G Geil DDR400, MSI K8T Neo
IntelCore2Duo 2.0Ghz MSI laptop,100G SATA hd, 2G RAM
Top
mascanho
Veteran
Veteran
User avatar
Posts: 1241
Joined: Tue Dec 21, 2004 2:55 am
Location: On my Bmx Bike on a Concrete Park Flatlanding ...
Contact:
Contact mascanho
Website

  • Quote

Post by mascanho » Mon Mar 14, 2005 8:20 pm

try

Code: Select all

alsamixer
to set you values
then

Code: Select all

alsactl store
to store your values, then

Code: Select all

rc-update add alsasoud boot
and voila next time you reboot you will have your settings from the previous ssessions
Flatland Life is a Choice !
emerge avatar
Top
ryker
Guru
Guru
User avatar
Posts: 412
Joined: Wed May 28, 2003 3:04 pm
Location: Portage, IN
Contact:
Contact ryker
Website

  • Quote

Post by ryker » Mon Mar 14, 2005 8:42 pm

Thanks. I'll try that. Do I need to have a /etc/modules.d/alsa file to use /etc/init.d/alsasound?
Athlon 64 3200+, 80G WD sata hd + 200G IDE, 1G Geil DDR400, MSI K8T Neo
IntelCore2Duo 2.0Ghz MSI laptop,100G SATA hd, 2G RAM
Top
mascanho
Veteran
Veteran
User avatar
Posts: 1241
Joined: Tue Dec 21, 2004 2:55 am
Location: On my Bmx Bike on a Concrete Park Flatlanding ...
Contact:
Contact mascanho
Website

  • Quote

Post by mascanho » Mon Mar 14, 2005 9:09 pm

when you run alsaconf it will create it self
Flatland Life is a Choice !
emerge avatar
Top
foosh
Apprentice
Apprentice
User avatar
Posts: 231
Joined: Sun Jan 11, 2004 7:52 am
Location: STL
Contact:
Contact foosh
Website

  • Quote

Post by foosh » Fri Mar 18, 2005 12:23 pm

how about alsa-lib with 2.6.x ??
http://wustlog.blogspot.com
Top
mascanho
Veteran
Veteran
User avatar
Posts: 1241
Joined: Tue Dec 21, 2004 2:55 am
Location: On my Bmx Bike on a Concrete Park Flatlanding ...
Contact:
Contact mascanho
Website

  • Quote

Post by mascanho » Fri Mar 18, 2005 1:08 pm

what about it ?? , yo do need that one
Flatland Life is a Choice !
emerge avatar
Top
foosh
Apprentice
Apprentice
User avatar
Posts: 231
Joined: Sun Jan 11, 2004 7:52 am
Location: STL
Contact:
Contact foosh
Website

  • Quote

Post by foosh » Fri Mar 18, 2005 1:28 pm

that's what I thought, but you didn't list it so I was checking whether it was just a mistake or if indeed alsa-lib was no longer necessary

thanks
http://wustlog.blogspot.com
Top
mascanho
Veteran
Veteran
User avatar
Posts: 1241
Joined: Tue Dec 21, 2004 2:55 am
Location: On my Bmx Bike on a Concrete Park Flatlanding ...
Contact:
Contact mascanho
Website

  • Quote

Post by mascanho » Fri Mar 18, 2005 1:51 pm

Yes it is needed, the only one that you can exclude is alsa-driver, but only if you have it on your kernel, otherwise you will need it too
Flatland Life is a Choice !
emerge avatar
Top
Gentree
Watchman
Watchman
User avatar
Posts: 5350
Joined: Tue Jul 01, 2003 12:51 am
Location: France, Old Europe

  • Quote

Post by Gentree » Sat May 14, 2005 7:48 am

ryker wrote:I know this is an old post, but I have the same question. Hopefully someone can answer this.
Someone told me on IRC that since I have the 2.6 kernel, I should just use the alsa module for my via82xx from the kernel, not follow the alsa guide. He said alsa-drivers is only for 2.4 kernel.
No, alsa-driver is just as valid for 2.6 IF you chose not to use it in the kernel. If you do use built in you -should not_ do both my emergeing as well.

8)
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Top
Post Reply

13 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic