LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-04-2005, 05:52 AM   #1
short101
Member
 
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Rep: Reputation: 30
Red face Here we go again-ALSA


I know this has been done a thousand times but I havent found anyone that has had this problem. Tried compiling a custom 2.6.8 for alsa and no oss. Compiled ok, reboots, everything is fine. Except no sound. OK, run alsaconf and it says that it cant find a driver for my soundcard. By the way, have a thinkpad r40 with an integrated i810 soundcard ac97 codec. Works perfectly when I recompile for oss with the i810 driver. Thought it may be the kernel source and am just downloading updated 2.6.8 source at the moment, but if I fire up my stock 2.6.7-i-386 kernel that I installed with and try and run alsaconf, then I get the same problem. Have read lots of problems after the alsaconf part but not before. If I do a lsmod with the 2.6.7 I get these lines

snd_intel8x0m 18632 0
snd_ac97_codec 59268 1 snd_intel8x0m
snd_pcm 85412 1 snd_intel8x0m
snd_timer 23172 1 snd_pcm
snd_page_alloc 11144 2 snd_intel8x0m,snd_pcm
snd 50148 5 snd_mixer_oss,snd_intel8x0m,snd_ac97_codec,snd_pcm,snd_timer

then if modprobe snd-intel8x0 I get this


snd_intel8x0m 18632 0
snd_ac97_codec 59268 2 snd_intel8x0,snd_intel8x0m
snd_pcm 85412 2 snd_intel8x0,snd_intel8x0m
snd_timer 23172 1 snd_pcm
snd_page_alloc 11144 3 snd_intel8x0,snd_intel8x0m,snd_pcm
snd 50148 9 snd_intel8x0,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_mixer_oss,snd_intel8x0m,snd_ac97_codec,s nd_pcm,snd_timer


which shows that the module is loading. Even when I run scanmodem, it tells me that the snd-intel8x0 module should be the one for my soundcard.
Any ideas?
 
Old 02-04-2005, 05:56 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
have you tried the snd_pcm_oss (or snd-pcm-oss on 2.6.x) module to see if you get sound? (add it in with all the other modules).
 
Old 02-04-2005, 06:22 AM   #3
short101
Member
 
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Original Poster
Rep: Reputation: 30
its not so much that I dont get sound (ok it is) but that alsaconf says that there isnt a driver for my card. Hadnt tried any further after I got to that point. Is there any point or can alsaconf lead you down the garden path?
 
Old 02-04-2005, 06:32 AM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
if you modprobe them all in manually and use alsamixer to unmute the channels do you have sound?

I've been using alsa for years and have never run alsaconf before, if your hardware wasn't supported by the snd-intel8x0 module the module would refuse to load. (thats no guarantee that it will work, only that it should)
 
Old 02-04-2005, 06:39 AM   #5
Snipersnest
Member
 
Registered: Jan 2005
Location: SC
Distribution: Ubuntu 7.10 Gusty Gibbon
Posts: 269

Rep: Reputation: 30
Don't feel bad man... I've been fighting with my Audigy LS for ages and finally got part of it working. The OSS drivers work wonders, but you can only run 1 sound program at a time with OSS. (I think, is there a fix?)

I got the new 1.0.8 ALSA and with the ALSA drivers the sound is jumping and lagging.
 
Old 02-04-2005, 06:51 AM   #6
short101
Member
 
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Original Poster
Rep: Reputation: 30
Dunno. Will try it as soon as my kernel src finishes downloading. (as soon as I use alsa base it stuffs my modem, which is the next thing that I have to get running with alsa)
 
Old 02-04-2005, 09:14 AM   #7
short101
Member
 
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Original Poster
Rep: Reputation: 30
O.k got it working after adjusting alsamixer. Even writing this from my new kernel, with my winmodem working, even without the alsa support for it (not sure why its working but not complaining) Can only have one sound going at a time though. ie, if xmms is running then mplayer wont run. Is this right or is it configurable to make more than on input work at once?
 
Old 02-04-2005, 11:04 AM   #8
Snipersnest
Member
 
Registered: Jan 2005
Location: SC
Distribution: Ubuntu 7.10 Gusty Gibbon
Posts: 269

Rep: Reputation: 30
Thats the same problem I'm having.....ALSA switched you to OSS...my OSS will let me only have one program using the sound driver at a time...it sucks... We both need a good fix! Can anyone help?
 
Old 02-04-2005, 10:26 PM   #9
short101
Member
 
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Original Poster
Rep: Reputation: 30
Now I'm confused. I can run xmms with the alsa driver, with the arts driver and the oss driver. How can it run with oss when I'm running alsa, or is that the oss emulation. Another annoying thing with xmms is that it will stop half way through an album, telling me it cant access the sound card. Dunno if its because the system, uses it briefly and then xmms cant use it. Anyone else had this problem and know a fix for it. Doesnt seem to happens when I use the arts driver.
 
Old 02-05-2005, 02:59 AM   #10
short101
Member
 
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Original Poster
Rep: Reputation: 30
Have installed libasound-2 and dev. Can now run alsaconf. Xmms seems to be happy. Still cant run mplayer at the same time. Have recompiled my modem to use alsa module, but cant get that to work if xmms is running either. I read somewhere that you can have two channels on pci devices or something like that. How do you get that happening. When I run my modem, I can run it on hw:0 but if I try hw:1 it says no such device. Then if I try and use it, it comes up with something about channel settings. Anyone have a clue?
 
Old 02-05-2005, 03:13 AM   #11
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
try this for mixing of audio channels:
http://alsa.opensrc.org/index.php?page=DmixPlugin
 
Old 02-05-2005, 03:58 AM   #12
short101
Member
 
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Original Poster
Rep: Reputation: 30
Do you thinkthat will let my modem and something else work at the same time?
 
Old 02-05-2005, 04:03 AM   #13
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
dunno I've never had a setup like yours. But even if it doesn't, it will at least solve one of the two problems ( more than one application using the same sound card) and you can move on to the second problem.
 
  


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 - Software

All times are GMT -5. The time now is 03:21 AM.

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