LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-11-2003, 01:06 PM   #1
matjazk
Member
 
Registered: Mar 2003
Distribution: slackware 9.1
Posts: 30

Rep: Reputation: 15
alsa problems, please help


For some reason I can't get alsa to work correctly. I have tried with both the slackware ALSA (slackware 9.1) and compiling the 2.6 kernel with built in alsa. I have a toshiba laptop 5105-S501 with acpi enabled in both kernels. The chipset is i810 or for some reason it is listed as yamaha something or other some other places (this shouldn't be the problem since i had it working with kernel 2.5.59). I enabled both. I have unmuted the alsa using alsamixer and I do get some sound ie the file starts playing. This should mean the card is recognized and somewhat working. The problem is it just starts then stops on a note and it continues playing that note (continous sound) and spikes my CPU. I would appreciate any kind of help.

Last edited by matjazk; 10-11-2003 at 01:10 PM.
 
Old 10-15-2003, 03:11 AM   #2
laurentbon
Member
 
Registered: Mar 2003
Distribution: Slack 9.1 + Dropline Gnome
Posts: 160

Rep: Reputation: 30
Did you resolve this problem? I am currently having the same here... Not quite sure what to do..
 
Old 10-21-2003, 05:18 PM   #3
laurentbon
Member
 
Registered: Mar 2003
Distribution: Slack 9.1 + Dropline Gnome
Posts: 160

Rep: Reputation: 30
Basically, pretty much the same laptop, mine is a toshiba satellit 5000-104 and exactly the same problem described here:
http://www.linuxquestions.org/questi...=toshiba+sound
Any help much appreciated!
 
Old 11-02-2003, 02:58 AM   #4
GerbilSoft
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Rep: Reputation: 0
The same problem is happening on my laptop. It's a Toshiba Satellite 5105-S501, running Slackware 9.1 with kernel 2.4.22 and ALSA 0.9.6. It also has an i810 (although its specs say it's a Yamaha AC97 controller). This problem didn't happen on Slackware 9.0 with kernel 2.4.20 and no ALSA, though.
 
Old 11-02-2003, 03:17 AM   #5
amjad
Member
 
Registered: Oct 2003
Location: amman-jordan
Distribution: slack 9.1,redhat9,gentoo4.1
Posts: 38

Rep: Reputation: 15
did yoy try alsa mixer and remove the m key
 
Old 11-02-2003, 03:18 AM   #6
amjad
Member
 
Registered: Oct 2003
Location: amman-jordan
Distribution: slack 9.1,redhat9,gentoo4.1
Posts: 38

Rep: Reputation: 15
did yoy try "alsa mixer" command and remove the m key
 
Old 11-02-2003, 03:28 AM   #7
laurentbon
Member
 
Registered: Mar 2003
Distribution: Slack 9.1 + Dropline Gnome
Posts: 160

Rep: Reputation: 30
Well, GerbilSoft, I think you are not going to like my answer! I have sorted my problem but I haven't got a clue how!

From the start as I don't know how much you tried to make it work. You need to download kernel source, patch the kernel with the acpi patch from http://acpi.sourceforge.net/ (the default acpi support is NOT good enough for toshiba laptops) and recompile. You can get rid of most options in the "Sound" section when recompiling apart from Sound support (obviously) and i810 as well as Yamaha AC97 as modules.

If you don't know what I am talking about here. Let me know, more details will follow. If you already tried all that, sorry to labour the point..

Then you just need to reboot in your new kernel install the latest alsa-driver by usual (./configure && make && make install) then run alsaconf.

Ok, all that is the theory. In practice however, it seems to work but then when you try to play a sound, you got sporadic sound and it spikes your cpu...

This is what I have banged my head on for about 2 weeks! Then i thought, I might try the latest kernel version 2.6-test8 at the time. I simply couldn't get it to work! Obviously too optimist.
However, when I came back to kernel 2.4.22 and did again everything as mentionned above, it worked. Now I have got sound though I suspect the quality is not perfect...

My theory is that there are issues with irq allocation.

I am sorry i can't give you more informative details on how to fix it as I don't know how I did it...
L

Last edited by laurentbon; 11-02-2003 at 03:30 AM.
 
Old 11-03-2003, 10:11 PM   #8
GerbilSoft
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Rep: Reputation: 0
It didn't work.

I assume it has something to do with Kernel 2.4.22, as it worked correctly with Kernel 2.4.20 (without ALSA). (Kernel 2.4.22 doesn't work correctly for sound with or without ALSA, though.)
 
Old 11-04-2003, 04:39 AM   #9
laurentbon
Member
 
Registered: Mar 2003
Distribution: Slack 9.1 + Dropline Gnome
Posts: 160

Rep: Reputation: 30
I hope I could help further. Really don't know how I got it to work... Sorry!
L
 
Old 11-04-2003, 06:54 PM   #10
Gonzolo2k
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Rep: Reputation: 0
Hi Guys,

i also had this problem with my Satellite Pro 4600...it uses the same soundcard like your laptops....the solution for me was very easy...since i use ACPI i recognized some strange IRQ-conflict messages when the system boots (kernel boot). So i just followed the solution that was provided on screen before the acpi interpreter starts up..."try to add pci=noacpi to your boot configuration"...i did that and since then all my sound probs are gone.

Maybe this could help you guys too.

cu,
Gonzolo2k
 
Old 11-06-2003, 08:18 PM   #11
matjazk
Member
 
Registered: Mar 2003
Distribution: slackware 9.1
Posts: 30

Original Poster
Rep: Reputation: 15
I have tried several things including passing pci=noacpi to the kernel and still nothing works. I even tried installing the alsa from the development site since the one in the kernel is not exactly the newest version. I haven't installed the 0.9.8 driver yet though. I wonder whether this can be connected with the PCM (mutex hangup). Since alsa really doen't have any serious documentation it is hard to say.

I actually saw a simlair problem on one of the bug lists for toshiba 5205. So the issue should have been recognized and will hopefully get fixed. I am just waiting for the 2.6 kernel final to get released and try with that.

Enabling complete acpi for the system for some reason hangs the system completely during boot. So pci=noacpi is actually necessary. I thought this might actually be the problem.

Last edited by matjazk; 11-06-2003 at 08:56 PM.
 
Old 11-06-2003, 08:28 PM   #12
matjazk
Member
 
Registered: Mar 2003
Distribution: slackware 9.1
Posts: 30

Original Poster
Rep: Reputation: 15
To reply that the kernel is at fault here seems a little bit odd. I have tried this on two kernel and unless 2.6 borrows this part of the code to the new kernel the problem shouldn't happen (unlikely since 2.6 is alsa based). The acpi patch also does not provide a solution. This should only be necessary with 2.4.22 kernel (which I have patched as well) while with the 2.6 kernel it should work out of the box. I will try few more things but after spending an equivalent of a couple of days on trying to get the sound working I am loosing my patience.

P.S. Although the sound did work in slackware 9 installing alsa was still very problematic due to acpi.
 
Old 11-07-2003, 09:46 AM   #13
laurentbon
Member
 
Registered: Mar 2003
Distribution: Slack 9.1 + Dropline Gnome
Posts: 160

Rep: Reputation: 30
Well, trying to install 2.6 didn't sort the problem for me! I wish I knew how I sorted the issue. I am running 2.4.22 with acpi and alsa on my tosh and it works.. Sorry I can't be more specific.
I do believe though that there is a problem with the 2.4.22 kernel, alsa and toshiba laptops...
Installing slack 9.0 with kernel 2.4.20 didn't pose much problem to get sound and alsa to work. Nothing like that...

Let's hope that 2.6 final version solves the issue!
L
 
Old 11-07-2003, 05:42 PM   #14
amos
Member
 
Registered: Dec 2002
Location: Bolton, UK
Distribution: Kubuntu
Posts: 224

Rep: Reputation: 30
Try the oss free drivers in arts. They worked for my similar problem:

http://www.linuxquestions.org/questi...5&pagenumber=1

Cheers
Amos
 
Old 11-08-2003, 10:47 PM   #15
matjazk
Member
 
Registered: Mar 2003
Distribution: slackware 9.1
Posts: 30

Original Poster
Rep: Reputation: 15
Well I will just try to reinstall or wait for a 2.6 kernel to come out. Thanks for all the help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
alsa problems mark_alfred Debian 2 02-16-2005 11:24 PM
Alsa-problems again hanspb Linux - Software 4 11-17-2004 04:24 PM
alsa problems... socket9001 Slackware 1 04-27-2004 12:32 AM
Problems with OSS while trying to avoid problems in ALSA (scratchy sound) GT_Onizuka Linux - General 1 02-05-2004 11:55 PM
ALSA Problems chico58 Linux - Newbie 2 10-31-2003 11:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:17 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