LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   intel 810 sound problem (https://www.linuxquestions.org/questions/slackware-14/intel-810-sound-problem-258884/)

mokojin 11-24-2004 01:56 PM

intel 810 sound problem
 
hi all

for some reason I can't get my sound card to work, when i run alsaconf, it configures the sound card, but when i run alsamixer it gives me the following msg: "No mixer elements found"

distro: Slack 10
kernel: 2.6.9

dmesg result:

ALSA sound/pci/intel8x0m.c:400: codec_semaphore: semaphore is not ready [0x1][0x701300]
ALSA sound/pci/intel8x0m.c:415: codec_write 1: semaphore is not ready for register 0x54
ALSA sound/pci/intel8x0m.c:400: codec_semaphore: semaphore is not ready [0x1][0x700304]
ALSA sound/pci/intel8x0m.c:415: codec_write 1: semaphore is not ready for register 0x54
ALSA sound/pci/intel8x0m.c:400: codec_semaphore: semaphore is not ready [0x1][0x700300]
ALSA sound/pci/intel8x0m.c:415: codec_write 1: semaphore is not ready for register 0x54
ALSA sound/pci/intel8x0m.c:400: codec_semaphore: semaphore is not ready [0x1][0x700300]
ALSA sound/pci/intel8x0m.c:415: codec_write 1: semaphore is not ready for register 0x54


lsmod result:

Module Size Used by
snd_pcm_oss 58504 -
snd_mixer_oss 19528 -
snd_intel8x0 30892 -
gameport 3464 -
snd_mpu401_uart 6600 -
snd_rawmidi 21220 -
snd_seq_device 6608 -
snd_intel8x0m 15528 -
snd_ac97_codec 71792 -
snd_pcm 97540 -
snd_timer 22764 -
snd 56772 -
snd_page_alloc 7856 -
b44 19308 -
ohci1394 31436 -
ieee1394 96692 -
joydev 7904 -
nls_cp437 5224 -
nls_iso8859_1 3560 -


help?

Peacedog 11-24-2004 05:02 PM

Did you uninstall and reinstall the alsa packages after your kernel upgrade? If not, I'd try that.
good luck.

iago 11-24-2004 07:19 PM

If you recently upgraded to 2.6, do "installpkg" on the alsa packages on Slackware 10 disk 2. If that isn't the problem, try running "alsaconf" and see if it finds anything. I have a Intel i810 card in both my laptops with Slackware 10, Kernel 2.6.9, and it works great.

Another problem that I had was, when I compiled my 2.6.9 kernel, those drivers didn't install by default. But that doesn't sound like the same problem you're having.

jong357 11-25-2004 01:31 AM

Hey... I have the same chip on my laptop. Black list "snd_intel8x0m" in /etc/hotplug/blacklist. Thats whats causing your problem....

mokojin 11-25-2004 02:57 AM

snd_intel8x0m isn't in my blacklist :(

i installed the cd2 alsa driver but still no changes, have i to recompile the kernel?

iago 11-25-2004 08:48 AM

ooh, Jong's right, I totally forgot about that. You want to ADD that to your blacklist.

jong357 11-25-2004 01:26 PM

yea.. Just insert this into en empty line in /etc/hotplug/blacklist and then reboot.

snd_intel8x0m

Or just 'rmmod snd_intel8x0m' if you don't feel like rebooting at the moment

mokojin 11-26-2004 01:15 PM

I have add the module to the blacklist, but i still can hear any sound.

For example alsaconf detects the sound card, but i cant load alsamixer, in amarok i see the song playing but can not hear anything!

jong357 11-26-2004 02:37 PM

hmmm.... Is that module still showing up in lsmod? If not, trying playing a file thru the command line. Or just open up xmms via the command prompt and watch for any errors. You could also maybe tail -f /var/log/messages and then just try playing something via a GUI app... messages are basically whats required...

Oh.. See, your running a 2.6 kernel now too. I'm throughly annoyed with the 2.6's..... 2.4.28 is out... Much better.. ;) You might be having a problem with udev.... It's probably ditching your dev/entries for sound because they didn't get registered properly with udev. This same thing happened to me when I tried 2.6.8.1...... I didn't feel like fighting with it and figuring out this whole UDEV thing thats new to Slack, so I downloaded the alsa-driver source code straight from alsa's web site and coppied the script "snddevices" into /sbin... Then I inserted this line into the very top of /etc/rc.d/rc.alsa:

. /sbin/snddevices

so it's the first thing that gets executed in rc.alsa. It's a hack, I know. But it's a hack that works quite nicely. Udev erases all that crap at each boot so I had all the dev nodes recreated before it initilized my sound card.

Let us know. Just try running that script from your desktop once. sh /path/to/snddevices Then run alsaconf, alsamixer, and alsactl store once you raise the volume. If you have sound, then it's UDEV messing with your device nodes.

ALSO.... Your telling me that your using the alsa slak-pak from the CD on a 2.6.9 kernel. I hate to break it to ya, but you can't do that. alsa-driver on the CD can ONLY be used on a 2.4.26 kernel... Pat should have made the package named alsa-driver-1.0.5a_2.4.26-i486-2.tgz. I'm not sure why he didn't. Look in /lib/modules.... You'll have a 2.4.26 folder that your modules are getting installed to instead of where they should be going, 2.6.9.... You need to build from source...

Download alsa-driver-1.0.5a.tar.bz2 from either alsa's web site or from HERE

Unpack it with:
Code:

cd /into/directory/with/package
tar -xjvf alsa-driver-1.0.5a.tar.bz2
cd alsa-driver-1.0.5a
./configure --with-cards=intel8x0 --with-sequencer=yes --with-oss=yes
make
make install

Then run alsaconf, alsamixer and alsactl store

Jon

jong357 11-26-2004 04:27 PM

I never keep up with the "current" directory...

ftp://ftp.slackware.com/pub/slackwar...s/linux-2.6.9/

The alsa driver slak-pak is in there for your kernel. I would remove every other alsa package as well via pkgtool and get lib, oss and utils from here:

http://www.slackware.com/pb/searchpk...nt&string=alsa

And I STILL think snd_intel8x0m is a problem child. Look at your own dmesg... I would leave that blacklisted personally.

Peacedog 11-26-2004 06:07 PM

Quote:

I never keep up with the "current" directory...

ftp://ftp.slackware.com/pub/slackwa...es/linux-2.6.9/

The alsa driver slak-pak is in there for your kernel. I would remove every other alsa package as well via pkgtool and get lib, oss and utils from here:

http://www.slackware.com/pb/searchp...amp;string=alsa

And I STILL think snd_intel8x0m is a problem child. Look at your own dmesg... I would leave that blacklisted personally.
I agree, the snd_intel8x0m will be problematic, and your suggestion of updating the alsa packages is right where I was heading with my first post. I think this just might get it sorted.
good luck.

Linux.tar.gz 11-27-2004 12:50 AM

You can bypass that by recompiling your kernel with oss only. BTW, you didn't output lspci.

I found that with man alsamixer. A friend solved a i8x0 headache with this kind of trick:
-c <card number or idenfication>
Select the soundcard to use, if you have more than one. Cards are numbered from 0 (the default).

Did you tried rexima?
Try to change alsa parameters in xmms too.

stabu 10-08-2005 08:47 AM

underscore vs. hyphen
 
Using jong357's suggestion,
Quote:

Or just 'rmmod snd_intel8x0m' if you don't feel like rebooting at the moment
I happened to notice my module had snd-intel8x0m, i.e. not an underscore, so that command needs the hyphen.
Is this normal for that "_" to "-" conversion to occur?

stabu 10-08-2005 09:02 AM

By the way, I should mention that the blacklist entry suggestion work for me totally. And you do need the underscore entry there.

I was lucky though, alsaconf was recognising my soundcard, so I was almost there.

Also, I didn't bother putting alsa as a kernel boot option, and it doesn't seem to matter.


All times are GMT -5. The time now is 06:30 AM.