You are not logged in.

#1 2006-01-01 11:50:46

UnrealX
Member
From: Lithuania
Registered: 2005-12-30
Posts: 40
Website

ATI IXP Sound Problem

Tried everything, still no sound.

$ lsmod | grep atiixp
snd_atiixp_modem       14116  2
snd_atiixp             17760  5
snd_ac97_codec         95612  2 snd_atiixp_modem,snd_atiixp
snd_pcm                84484  4 snd_atiixp_modem,snd_atiixp,snd_ac97_codec
snd                    49252  14 snd_atiixp_modem,snd_mixer_oss,snd_atiixp,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc          8840  3 snd_atiixp_modem,snd_atiixp,snd_pcm
atiixp                  5520  0 [permanent]
ide_core              119248  27 ide_floppy,ide_cd,ide_disk,via82cxxx,trm290,triflex,slc90e66,sis5513,siimage,serverworks,sc1200,rz1000,piix,pdc202xx_old,pdc202xx_new,ns87415,it821x,hpt366,hpt34x,generic,cy82c693,cs5530,cmd64x,atiixp,amd74xx,alim15x3,aec62xx

Nothing`s muted, everything should be just fine.

Even tried installing alsa-drivers from source, no luck.

Any ideas?

Offline

#2 2006-01-02 19:42:11

UnrealX
Member
From: Lithuania
Registered: 2005-12-30
Posts: 40
Website

Re: ATI IXP Sound Problem

Tried blacklisting snd-atiixp-modem, ran alsaconf like a dozen times, tried OSS, Jack instead of alsa, even   changed audio cable, still no luck.
Any ideas? I`ll try everything.

Offline

#3 2006-01-03 02:13:05

giddygiddyBA
Member
From: Montreal
Registered: 2004-12-30
Posts: 66

Re: ATI IXP Sound Problem

have you tried using any sort of hardware detection like hotplug, lshwd or hwdetect?

are you using yur own kernel or one from the repos?

Offline

#4 2006-01-03 11:42:49

UnrealX
Member
From: Lithuania
Registered: 2005-12-30
Posts: 40
Website

Re: ATI IXP Sound Problem

Yes, tried these. Hardware is being detected without any problem.
Anyways, yesterday on IRC I found something to start with - recompiling kernel with OSS support. We`ll see what happens.

Offline

#5 2006-01-03 15:26:10

giddygiddyBA
Member
From: Montreal
Registered: 2004-12-30
Posts: 66

Re: ATI IXP Sound Problem

you can also try this

i had the same problem with the same drivers last year, but the problem seems to have gone away since then.

you dont need to compile oss support-- this worked for me, but it is a VERY dirty trick

make sure that alsa support is compiled in to your own kernel, but you dont need any drivers or modules, grab the most recent alsa-drivers, alsa-lib, alsa-utils from abs

install alsa-lib and alsa-utils

compile the alsa-driver package, but make sure to keep the souce in the abs directory

then try the following commands

cd /var/abs/multimedia/alsa-driver/src/alsa-driver-1.0.7/  && ./snddevices
cd ../.. && pacman --upgrade alsa-driver-1.0.7-1.pkg.tar.gz
amixer set Master 100 unmute && amixer set PCM 100 unmute
alsactl store
cd /usr/src/linux/ && make modules_install

just make sure you sub the correct version of alsa in, and make sure yur proper kernel src directory is linked to /usr/src/linux.

I hope this works for ya

Offline

#6 2006-01-03 15:52:16

UnrealX
Member
From: Lithuania
Registered: 2005-12-30
Posts: 40
Website

Re: ATI IXP Sound Problem

Just compiled in ALSA (haven`t changed soundcard modules) and OSS (didn`t choose any soundcard).
Then, as instructed on IRC I did

 
echo "aplay 0 0 disable" > /proc/asound/card0/pcm0c/oss
echo "aplay 0 0 direct" > /proc/asound/card0/pcm0p/oss

Still no sound. I`ll try it your way. Do I have to recompile kernel without including any extra alsa modules or should I leave it as-is?

Offline

#7 2006-01-03 17:29:24

UnrealX
Member
From: Lithuania
Registered: 2005-12-30
Posts: 40
Website

Re: ATI IXP Sound Problem

Installed alsa-lib 1.0.10 along with alsa-utils 1.0.10 from abs. Then tried installing alsa-driver 1.0.10 (modified PKGBUILD to configure with --prefix=/usr --with-cards=atiixp --with-sequencer=yes) and installer said that i need gcc2.
Installed gcc2, tried again. This time installer said that I have alsa compiled in my kernel.So I recompilled it and included alsa and oss as modules. I did
# pacman -U alsa-drivers-1.0.10.pkg.tar.gz
{got an error complaining that some files are already in filesystem}
# pacman -Uf alsa-drivers-1.0.10.pkg.tar.gz
{remembered that I forgot something}
# cd src/alsa-drivers-1.0.10 && ./snddevices
# cd ../../
# pacman -Uf alsa-drivers-1.0.10.pkg.tar.gz
{make modules_install, unmuting, alsactl store, etc}
{reboot}
Still no sound  sad

Offline

#8 2006-01-03 19:07:10

giddygiddyBA
Member
From: Montreal
Registered: 2004-12-30
Posts: 66

Re: ATI IXP Sound Problem

hmmmmm.... this is a tricky one eh!

do you have permission to the device (is root and yur user both in teh audio group)?

what kernel version are you using?   are you using udev? 

this setup seems to work fine for me right now, im using the 2.6.14-archck from the repo's, and using hwd to detect my hardware... maybe it might work for you too

did you try playing anything before you restarted yur computer the last time?

Offline

#9 2006-01-03 20:03:59

UnrealX
Member
From: Lithuania
Registered: 2005-12-30
Posts: 40
Website

Re: ATI IXP Sound Problem

/dev/dsp is 0777
I`ve compiled 2.6.14.5 kernel
Using udev.
I`ve started a thread @ linuxquestions with more information:
http://www.linuxquestions.org/questions … p?t=399114

Again, I`m so win-hater-arch-lover that I`ll try anything.

Offline

#10 2006-01-03 21:09:02

giddygiddyBA
Member
From: Montreal
Registered: 2004-12-30
Posts: 66

Re: ATI IXP Sound Problem

did you try using the kernel i suggested from the repo's?

what is the atiixp [permanent] module you have compiled into yur kernel?

can you get audio working on a live-cd or a different distro?

go over the following info to make sure it matches. i did all of this as a regular user

<15:55:Tue 3> groups                                                                                           
audio optical users

<15:57:Tue 3> lsmod | grep atiixp                                                                                                             
snd_atiixp_modem       14116  0
snd_atiixp             17760  2
snd_ac97_codec         95612  2 snd_atiixp_modem,snd_atiixp
snd_pcm                84484  4 snd_atiixp_modem,snd_atiixp,snd_ac97_codec
snd                    48740  8 snd_atiixp_modem,snd_atiixp,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc          8968  3 snd_atiixp_modem,snd_atiixp,snd_pcm

<15:59:Tue 3> ls -lach /dev/snd/*                                                                                                             
crw-rw----  1 root audio 116,  0 2006-01-03 09:38 /dev/snd/controlC0
crw-rw----  1 root audio 116, 32 2006-01-03 09:38 /dev/snd/controlC1
crw-rw----  1 root audio 116, 24 2006-01-03 09:38 /dev/snd/pcmC0D0c
crw-rw----  1 root audio 116, 16 2006-01-03 09:38 /dev/snd/pcmC0D0p
crw-rw----  1 root audio 116, 56 2006-01-03 09:38 /dev/snd/pcmC1D0c
crw-rw----  1 root audio 116, 48 2006-01-03 09:38 /dev/snd/pcmC1D0p
crw-rw----  1 root audio 116, 33 2006-01-03 09:38 /dev/snd/timer

since yur compiling yur own kernel, make sure to include the following

<15:59:Tue 3> most /boot/kconfig26archck | grep SND
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_GENERIC_DRIVER=y
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_ATIIXP=m
CONFIG_SND_ATIIXP_MODEM=m

Offline

#11 2006-01-03 22:02:23

UnrealX
Member
From: Lithuania
Registered: 2005-12-30
Posts: 40
Website

Re: ATI IXP Sound Problem

Almost got it.
Accidently i went on this page:
http://sourceforge.net/mailarchive/foru … um_id=1752
It seems that my speakers also work, but super-silently. I had to increase volume to -OdB to hear something.
As I understand so far I have to somehow ,,send the magic string 7a 2090 into /proc/asound/card0/codec97#0/ac97#0-0+regs".
The question is: how. When I try to edit this file with any known editor I get an error complaining ,,There`s no such device" or whatever.

And oh, giddygiddyBA, thanks for your help.

Offline

Board footer

Powered by FluxBB