[SOLVED] alsamixer fails but kde sound ok slackware 13
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
running alsaconf detects the builtin sound card and makes no complaints,
but running alsamixer gives
Code:
alsamixer: function snd_mixer_load failed: Invalid argument
this is a clean install (on a multiboot system running slack12.2,13.0 and 64-13.0) and the same problem is in both 13.0 versions of slackware.
(12.2 doesn't load modules)
I do get sound in kde even though kmixer settings seem to be ignored - you can set everything to mute, and sounds still play in gxine
i've checked the forum and google and haven't found a problem quite like this reported. needless to say the hardware is new and i am running as root, although get the same problem running as regular user who is member of usual audio,plugdev... etc groups
I am guessing that alsaconf is generating an config file that doesn't match the hardware properly, but that's as far as i have got.
any assistance greatly appreciated, thanks
extra comment - the same problem is on knoppix 6.01 (dvd) although I can't test from xwindows - kde as it doesn't like the refresh mode on my monitor.
I have another earlier edition of the same make,model and version number of motherboard which works in slack12.2 but it's chip is slightly different. lspci|grep Audio reports
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 495
Original Poster
Rep:
I've tried 1.0.21a from current and same problem. I've just downloaded 1.0.22 source from alsa.org (well a mirror as the main site's ftp was not behaving). I've run a ./configure and then make install but it's complaining that make file is in future (must be time zone difference - about 15 minutes difference) so i'll post results of that test later this evening,
thanks for help so far.
still no joy with 1.0.22 (assuming I did it right)
I guess I'll post a bug on alsa.org
if I get any joy i'll post the info here
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 495
Original Poster
Rep:
solved!!
Well, i downloaded all sorts of alsa packages and tried to compile and install them. The one that seemed to do the trick was downloading
alsa-driver-1.0.22.1.tar.bz2
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 495
Original Poster
Rep:
alsa-driver slackware package where is it? or how to create?
There isn't a alsa-driver slackware package, but my hardware requires alsa-driver-1.0.22-1 to work. (on-board sound on new motherboard/s). I have downloaded and run
Code:
./configure
then
Code:
make
then
Code:
make install
to install it, which sorted the sound/alsamixer problems, (it installs ok on slackware 12.2/13.0/64-13.0 ) but I would prefer to install it as a slackware package.
Does anyone have any suggestions?
It isn't available on slackbuilds.org and as it requires the source for the currently installed kernel to be available and isn't available in slackware itself as a separate package, i'm a bit stuck. Obviously the package would have to be tied to the kernel version eg. alsa-driver-1.0.22.1-2.6.29.4.tgz or whatever.
If i had the slackbuild script that pat/alien/etc uses that would work.
thanks
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 495
Original Poster
Rep:
board info etc
for those out there wanting to get sound on these motherboards working...
the motherboard is an ECS GF8100VM-M5 motherboard which has a GF8200 chipset. the audio part is reported by
Code:
lspci -vv|grep Audio
as
Code:
nVidia Corporation MCP72XE/MCP72P/MCP78U/MCP78S High Definition Audio (rev a1)
this is not to be confused with earlier production runs of the same ECS GF8100VM-M5 motherboards which work fine in slackware13.0 and 64-13.0 whose audio is reported as
Code:
nVidia Corporation MCP78S [GeForce 8200] High Definition Audio (rev a1)
I checked the previous thread you listed (plus a load of other ones) but it didn't really solve my question.
As I can successfully install alsa-driver-1.0.22.1 on slack12.2/13/64-13 without recompiling the kernel, it should be possible to create a slack package or packages of alsa-driver-1.0.22.1 targeted at a particular kernel/s. A simple uname -r check in the install script could install the relevant binaries. I'm sure it's already done by the folks at slackware even if it is bundled into a single kernel package.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,647
Rep:
Quote:
Originally Posted by timsoft
I'm sure it's already done by the folks at slackware even if it is bundled into a single kernel package.
Alsa driver is part of the kernel. If you want to see which version your kernel has (current should be 1.0.21 at the moment I think) you can take a look at /path-to-kernel-source/include/sound/version.h and at /proc/asound/version to see what you're actually running in case you have installed a newer version.
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 495
Original Poster
Rep:
thanks for the info on src2pkg. I've created a package for slack64-13.0 so i'll reinstall on a new hard drive, and install the created package to see if it works... - i'll post the result here, and if it does - and there is a need for it, i'm open to suggestions as to where to put it so that others can download it. (if it works, i'll try slack-13.0 and slack-12.2 as well.)
- well the package wasn't there, i tried setting FHS_POLICY to none, as stuff gets installed into lib or lib64 but it created a tgz file containing just an install script but no files.
It looks like i'll have to manually create a slackware package (and script) myself, something I was hoping to avoid.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.