LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   SiS 7018 sound card problem (https://www.linuxquestions.org/questions/slackware-14/sis-7018-sound-card-problem-147511/)

shakshuka 02-18-2004 04:06 AM

SiS 7018 sound card problem
 
Hello,

I've been having some trouble with my sound card (SiS 7018). When booting I get many
errors about ac97_codec and the sound driver like so (from dmesg):
Code:

Trident 4DWave PCI soundcard not found or device busy
PCI: Found IRQ 5 for device 00:01.4
PCI: Sharing IRQ 5 with 00:01.6
PCI: Sharing IRQ 5 with 00:0c.1
ALSA ../../alsa-kernel/pci/ac97/ac97_codec.c:1625: AC'97 0:0 does not respond_-_RESET

later when using 'modprobe trident' I get no errors and I get this (in dmesg):
Code:


Trident 4DWave/SiS 7018/ALi 5451,Tvia CyberPro 5050 PCI Audio,
version 0.14.10h, 18:39:29 Sep__2_2003_PCI:_Found_IRQ_5_for_device_00:01.4
PCI: Sharing IRQ 5 with 00:01.6
PCI: Sharing IRQ 5 with 00:0c.1
trident: SiS 7018 PCI Audio found at IO 0x1000, IRQ 5 ac97_codec: AC97
codec, id:__(Unknown)_ac97_codec:_AC97__codec,_id:__(Unknown)

output of lsmod:
Code:


Module__________________Size_      _Used_by____Not_tainted
trident________________  27764__    _2
ac97_codec__________12296___    0_          _[trident]
pcigame________________1544___      0__          [trident]
gameport_______________1452___      0_          _[pcigame]
appletalk___________  ___21540___    1_          _(autoclean)
ipx___________________    _17348___    1__          (autoclean)
soundcore_____________3332___      3__          (autoclean)_[trident]
input_____________  ______3200___      0_          _(autoclean)
usb-storage___________65536___    0_            (unused)
sis900_______________  __ 13388___    1
crc32__________________  _2880___      0__          [sis900]
usb-ohci_______________ 18888___    0__          (unused)
usbcore________________ 58400___    1__          [usb-storage_usb-ohci]
ohci1394_______________24200___    0_          _(unused)
ieee1394_______________42436___    0__          [ohci1394]
ds_____________________    _6568___      2
yenta_socket_________10368___    2
pcmcia_core__________40032___    0_            _[ds_yenta_socket]
ide-scsi_____________ _ __9424___      0
agpgart_______________ _ 39576___    0_            _(unused)

I also checked to see if i'm not on mute in kmix. However, trying to get
sound (in a program like xmms) results in no sound at all (even when
changing from ALSA to aRts). I saw that ALSA supports this card, so what
am I doing wrong? You guys need more information?

ps.
something very weird is happening. I tried 'alsaconf' and it detected my exact
card correctly, it says that it will configure it, ...., and it tells me it was successful.
Then when finishing I get this message:
Code:


Loading driver...
ALSA warning:  No mixer settings found in /etc/asound.state.
  Sound may be muted.  Use 'alsamixer' to unmute your sound card,
  and then 'alsactl store' to save the default ALSA mixer settings
  to be loaded at boot.
Loading OSS compatibility modules for ALSA.
Setting default volumes...
Saving the mixer setup used for this in /etc/asound.state.
/usr/sbin/alsactl: save_state:1061: No soundcards found...

What does it mean 'No soundcards found...' ? It just told that it detected the
sound card.

thank you.

shakshuka 02-21-2004 02:45 AM

<me giving it another try ....>

I updated all ALSA modules to the latest, including ARTS, also upgraded to
KDE 3.2 and also in linux kernel (in control panel) I chose the Trident module
to get loaded, and removed all other.

Now the problem is probably worst. Using 'alsaconf' yields no sound card at
all (not ISA not PCI) which is weird cause the older version did find it.

Also when loading KDE I get a message that since sound isn't working
it will continue to run but will send it to /dev/null. Maybe that's why later
when I 'modprobe trident' I still get no sound?


Please people, how can I study for my tests without music? : )

Kovacs 02-21-2004 03:43 AM

I'm not sure what version the alsa drivers are up to, but the last time i compiled my 2.6 kernel I tried the then-latest version (I think it was 1.0.2) and they didn't work, but the 1.0.1 version worked fine.

shakshuka 02-21-2004 03:50 AM

Thanks for the quick reply.

That's exactly what I have, 1.0.2 but kernel 2.4.22. So you're telling me
to install 1.0.1? Do you have SiS 7018 sound card too?

Kovacs 02-21-2004 04:06 AM

I've got a 7012... Unless someone else can suggest something then it might be worth trying anyway, if it's not working anyway then what have you got to lose. Mine worked out of the box with 2.4.22 and the alsa packages that come on the slack cds, but the only way to get it working with 2.6 was to compile the drivers from source (which isn't difficult, just follow the directions for your card at alsa-project.org).

xavier_buxade 02-21-2004 06:31 AM

I'm not a ma with Linux experience I just begin now, an I have man problems to install Linux in my laptop, it hasmany SiS chips and I found this web page http://www.winischhofer.net, where there is good information, I still having problems but I think is because I'm a Linux beginer.

I hope this help you. Good Luck!!

shakshuka 02-21-2004 07:24 AM

thanks, I saw that site, and his module did fix my screen display (SiS 630),
however, he has nothing to do with the sound cards (if I'm wrong please tell
me ) so I'm pretty stuck with that. Also, googling made no real hits, saw some
problems like mine, but no real answer. I still believe that the problem is
trivial and I'm overlooking something. When booting to KDE I get a warning
that the there's a problem, but the sound server will continue to function, just
will output it to /dev/null. Then I write 'modprobe trident' and seems to be OK.
Maybe it still points to the null device? how can I redirect it?

output of dmesg:
Code:

Trident 4DWave/SiS 7018/ALi 5451,Tvia CyberPro 5050 PCI Audio, version 0.14.10h, 18:39:29 Sep  2 2003
PCI: Found IRQ 5 for device 00:01.4
PCI: Sharing IRQ 5 with 00:01.6
PCI: Sharing IRQ 5 with 00:0c.1
trident: SiS 7018 PCI Audio found at IO 0x1000, IRQ 5
ac97_codec: AC97  codec, id:  (Unknown)
ac97_codec: AC97  codec, id:  (Unknown)

Also, I told you that the new 'alsaconf' couldn't detect any sound cards. I also
downloaded 'sndconfig' by redhat, it tells me it founded something, but can't
really identify the card. anyone knows if sndconfig does something with this
information? Or am I supposed to do something with it?

shakshuka 02-22-2004 01:28 PM

tried recently to upgrade to the 2.6.3 kernel, with no luck. So I'm still sound card-less.
I have no idea what to look for anymore.
There's got to be more SiS 7018 linux users out there. Just got to find them :eek:

nilo 02-24-2004 06:11 AM

Hi,

I'm also using the 2.6.3 kernel and the alsa drivers for sis7018 are _not_ working in that version. I did however manage to get it working in the 2.6.2 kernel. So alsa must have changed something.

I guess we'll have to run with the 2.6.2 kernel, or wait for the next alsa release.

Best,
Michael

shakshuka 02-24-2004 06:25 AM

thanks nilo,

I wrote a long message but it failed to upload, so I'll write what I remember
again. I don't use kernel 2.6.3, I use kernel 2.4.22 because I couldn't
compile that kernel. I did upgrade the alsa packages to 1.0.2. Is that
what you're using?

Can you please tell me what you did to make it work? I'm new to linux
so I might have missed something really trivial with that. Maybe it's
the alsa version?

thank you

Kovacs 02-24-2004 06:52 AM

I'm not sure if you used the slack packages or not... but if you did, maybe you could try removing them (and any other references you've made the sound modules in other locations) and install all the drivers from source, which is what I had to do to get them to work. If you're recompiling the kernel, just compile it with sound support (to get the soundcore module) but neither alsa or oss support compiled into the kernel. Instructions for your card are here: http://www.alsa-project.org/alsa-doc...module=trident Sorry if this is redundant but I'm not sure whether you've tried it this way or not.

BroX 02-24-2004 09:20 AM

Here's another sis7018! I recently compiled kernel 2.6.3 with ALSA and sis7018 soundcard support into the kernel and it works like a charm!

Ealrier, in 2.6.2 I had them as modules which also worked well. Just follow the directions on www.alsa-project.org for SIS cards.

Good luck!

Cheers, Leon.

shakshuka 02-24-2004 09:41 AM

thanks, but hmmmm, the thing is, I can't compile the new kernel. I don't
actually use Slackware, I use Topologi-linux, which is based on Slackware.
When I tried to compile the new kernel using the oldconfig file I couldn't
boot anymore. That also the reason I can't compile the alsa packages
(it says I need to have all the sources to compile). So I updated it
using binary packages.

But also in live-cd's couldn't get it to work. Knoppix did recognize the
sound card perfectly and still produced no sound. Also tried DSL,
Suse live-eval, both producing no luck.

darkRoom 06-26-2004 02:42 PM

Just for the archives . . .

I have just got a laptop with the SiS 7018 sound card. I had no sound with slack 9.1 and the 2.4.22 kernel. After i read the stuff at the alsa site and this thread i guessed i was going to have to upgrade my kernel and build all the drivers from source but it seems that the card is fine with slack 10. After the upgrade i just ran alsaconf and now it all works fine.

shakshuka 06-27-2004 01:07 AM

ahh, I installed a new system- a hd based install of knoppix (debian). Now the sound card works, I guess it's because of the new 2.6.6 kernel. Now I have some screen problems but never mind :-)


All times are GMT -5. The time now is 11:58 AM.