LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-28-2003, 07:07 AM   #1
Ian_Hawdon
Member
 
Registered: Feb 2003
Location: Newcastle Upon Tyne
Distribution: Arch
Posts: 326

Rep: Reputation: 34
Red face alsa


i have this prob

when i start up kde cant find sound card so i log out and log in again and it works


also


i cant run alsamixer

alsamixer: function snd_ctl_open failed for default: No such file or directory


can any one help
 
Old 09-28-2003, 07:16 AM   #2
Nechos
Member
 
Registered: Sep 2003
Location: Italy
Distribution: Ubuntu 13.10
Posts: 304

Rep: Reputation: 30
i have the same problem with alsamixer and i'm killing myself to make it work
if i get it fuction, i'll let you know - you do the same thing, ok?
 
Old 09-28-2003, 07:18 AM   #3
Ian_Hawdon
Member
 
Registered: Feb 2003
Location: Newcastle Upon Tyne
Distribution: Arch
Posts: 326

Original Poster
Rep: Reputation: 34
ok
 
Old 09-28-2003, 08:46 AM   #4
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
You might have a file called something like 'snddevices' which you need to run (as root) to make the sound device files.

Also check for anything called 'alsaconf' or similar, which may have the same effect.
 
Old 09-28-2003, 09:54 AM   #5
Nechos
Member
 
Registered: Sep 2003
Location: Italy
Distribution: Ubuntu 13.10
Posts: 304

Rep: Reputation: 30
i did ./snddevices and it seemed working well, then tried alsamixer, but still with the same error. rebooted, tried again...nothing
anyway, i've found 'alsa.conf' - what do i do with it?
 
Old 09-28-2003, 10:26 AM   #6
Ian_Hawdon
Member
 
Registered: Feb 2003
Location: Newcastle Upon Tyne
Distribution: Arch
Posts: 326

Original Poster
Rep: Reputation: 34
i dont know
 
Old 09-28-2003, 10:31 AM   #7
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
alsa.conf and alsaconf are not the same thing! I have a file alsaconf (in fact /usr/sbin/alsaconf) which I assume got run during installation and took care of, er, configuring ALSA. It's a big shell script, about 1000 lines.

Another possible cause of problems is having libraries and config files from old versions of ALSA hanging around. For example, if mandrake already uses ALSA for sound and then you compile a new version over the top of that, I can imagine there is a possibility of conflicts. Similarlly for RH if you try to install both from RPMs and source.

But if snddevices does not fix the problem, I'm clutching at straws.

Last edited by maroonbaboon; 09-28-2003 at 10:34 AM.
 
Old 09-28-2003, 10:35 AM   #8
Ian_Hawdon
Member
 
Registered: Feb 2003
Location: Newcastle Upon Tyne
Distribution: Arch
Posts: 326

Original Poster
Rep: Reputation: 34
do u think an older version of alsa would work?
 
Old 09-28-2003, 10:36 AM   #9
Ian_Hawdon
Member
 
Registered: Feb 2003
Location: Newcastle Upon Tyne
Distribution: Arch
Posts: 326

Original Poster
Rep: Reputation: 34
in fact how do u uninstll alsa?
 
Old 09-28-2003, 10:40 AM   #10
Nechos
Member
 
Registered: Sep 2003
Location: Italy
Distribution: Ubuntu 13.10
Posts: 304

Rep: Reputation: 30
old alsa doesn't work - i wouldn't end up installing new one
ho DO you uninstall old alsa?!?
i had only alsa drivers, without utils (alsamixer, wich is the key to the whole thing), so i installed new everything
 
Old 09-28-2003, 10:44 AM   #11
Ian_Hawdon
Member
 
Registered: Feb 2003
Location: Newcastle Upon Tyne
Distribution: Arch
Posts: 326

Original Poster
Rep: Reputation: 34
so u dont need 2 uninstall then
 
Old 09-28-2003, 10:45 AM   #12
Nechos
Member
 
Registered: Sep 2003
Location: Italy
Distribution: Ubuntu 13.10
Posts: 304

Rep: Reputation: 30
i install everything new WITHOUT deleting the old stuff...
 
Old 09-28-2003, 10:48 AM   #13
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
If it was installed from an RPM package, then there is some option like rpm -e (???) which removes everything. Otherwise I don't know a simple way. Most libraries or config files are in /usr/lib, /etc and /usr/share, so anything called alsa-something in there would probably get most of it. But that's a bit hit-or-miss.

One problem is that the big distros generally have their own way of doing things, and going outside their package systems can lead to inconsistencies. Especially for something like ALSA, which is closely tied in with the kernel.

Going back to older versions doesn't sound like a good idea.

P.S. Another source of trouble is the script which starts ALSA (in Debian this is /etc/init.d/alsa). If you decide to clobber the distro's own ALSA installation then this script will maybe also have to be changed to reflect a new disposition of ALSA components.

Last edited by maroonbaboon; 09-28-2003 at 11:04 AM.
 
Old 09-28-2003, 11:09 AM   #14
Nechos
Member
 
Registered: Sep 2003
Location: Italy
Distribution: Ubuntu 13.10
Posts: 304

Rep: Reputation: 30
well, i used *.tar.bz2 packages...

how about i reinstall mdk without sound card driver, get new alsa packages from www.alsa.project.org and install them on a fresh os? doesn't sound bad...?
 
Old 09-28-2003, 11:23 AM   #15
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
I'm still not sure if MDK uses alsa by default. I've looked at their website but it looks like you have to register to get to anything interesting.

If you just tell the installer you have no soundcard I suppose you might then be clear to install the latest version from source. Worth a try if you feel like you have exhausted other possibilities maybe. Check dmesg to make sure the system is not trying to start its own version of ALSA.

Logging off for now, bye.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel-2.6.3 compiled with alsa but xmms alsa output dont plays demmylls Linux - General 3 09-01-2006 04:32 AM
Alsa sound *jumpy*: alsa-space: xrun of at least 11.449 msecs. resetting stream qwijibow Linux - General 6 04-22-2006 07:35 PM
ALSA-oss compatability works, but not programs intended for alsa ? qwijibow Linux - Software 5 03-14-2004 07:28 AM
ALSA on Debian, Kernel Source is There Alsa dosent see it? pfizur Linux - Software 3 12-27-2003 08:46 AM
2.6.0 minus built-in ALSA drivers + ALSA 1.0.0rc2 Tino27 Slackware 3 12-19-2003 05:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration