View previous topic :: View next topic |
Author |
Message |
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Mon Jun 17, 2002 1:46 am Post subject: Audio problems |
|
|
I recently put together a new system! A Pentium 4 1.8Ghz processor with 512mb ram...
I'm having problems with audio, though. It has one of those AC97 codec thingees built in, but I'm not sure what modules or whatever to use!
I have the SiS645 and SiS961 chipset, but no idea whatsoever as to the audio other than AC97...
What should I do in this case? |
|
Back to top |
|
|
BoBB Tux's lil' helper
Joined: 15 Jun 2002 Posts: 143 Location: Mesa, AZ
|
Posted: Mon Jun 17, 2002 2:55 am Post subject: |
|
|
compile the trident driver into your kernel |
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Mon Jun 17, 2002 4:35 pm Post subject: |
|
|
BoBB wrote: | compile the trident driver into your kernel |
I'll give that a shot. Thanks for the input.
--
Dan |
|
Back to top |
|
|
metalhedd l33t
Joined: 30 May 2002 Posts: 692 Location: Ontario Canada
|
Posted: Mon Jun 17, 2002 5:34 pm Post subject: |
|
|
the trident is the correct one, If you look in menuconfig when configuring your kernel you'll see that it lists a few common shipsets that use that module. the SiS should be listed there. |
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Tue Jun 18, 2002 12:47 am Post subject: |
|
|
I've included trident into the kernel (compiled in) and it says it's starting.
Trident 4DWave/SiS 7018/ALi 5451,Tvia CyberPro 5050 PCI Audio, version 0.14.9d, 17:23:30 Jun 17 2002
But for some reason, /dev/dsp isn't being made.
How would I do this? God I feel so stupid... the last card I've dealt with was my SoundBlaster-16 which has been trusty. |
|
Back to top |
|
|
metalhedd l33t
Joined: 30 May 2002 Posts: 692 Location: Ontario Canada
|
Posted: Tue Jun 18, 2002 12:50 am Post subject: |
|
|
run 'MAKEDEV audio' as root |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Tue Jun 18, 2002 12:55 am Post subject: |
|
|
No, don't run MAKEDEV. That's for filesystem-based /dev, but Gentoo uses devfs, so it won't work once you reboot. |
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Tue Jun 18, 2002 12:57 am Post subject: |
|
|
metalhedd wrote: | run 'MAKEDEV audio' as root |
no dice...
but it did make a bunch of other stuff with a "-" after the name... along swith dsp- and dsp1-....
I tried moving the devices to the proper names, but it says operation not permitted. (as root)
This is what I did:
Code: |
gigahertz dev # MAKEDEV audio
mv: cannot move `mixer-' to `mixer': Operation not permitted
mv: cannot move `sequencer-' to `sequencer': Operation not permitted
mv: cannot move `midi00-' to `midi00': Operation not permitted
mv: cannot move `dsp-' to `dsp': Operation not permitted
mv: cannot move `audio-' to `audio': Operation not permitted
mv: cannot move `sndstat-' to `sndstat': Operation not permitted
mv: cannot move `mixer1-' to `mixer1': Operation not permitted
mv: cannot move `midi01-' to `midi01': Operation not permitted
mv: cannot move `dsp1-' to `dsp1': Operation not permitted
mv: cannot move `audio1-' to `audio1': Operation not permitted
mv: cannot move `midi02-' to `midi02': Operation not permitted
mv: cannot move `midi03-' to `midi03': Operation not permitted
mv: cannot move `mpu401data-' to `mpu401data': Operation not permitted
mv: cannot move `mpu401stat-' to `mpu401stat': Operation not permitted
mv: cannot move `midi0-' to `midi0': Operation not permitted
mv: cannot move `rmidi0-' to `rmidi0': Operation not permitted
mv: cannot move `smtpe0-' to `smtpe0': Operation not permitted
mv: cannot move `midi1-' to `midi1': Operation not permitted
mv: cannot move `rmidi1-' to `rmidi1': Operation not permitted
mv: cannot move `smtpe1-' to `smtpe1': Operation not permitted
mv: cannot move `midi2-' to `midi2': Operation not permitted
mv: cannot move `rmidi2-' to `rmidi2': Operation not permitted
mv: cannot move `smtpe2-' to `smtpe2': Operation not permitted
mv: cannot move `midi3-' to `midi3': Operation not permitted
mv: cannot move `rmidi3-' to `rmidi3': Operation not permitted
mv: cannot move `smtpe3-' to `smtpe3': Operation not permitted
gigahertz dev # ls -al /dev/dsp
ls: /dev/dsp: No such file or directory
gigahertz dev # ls
agpgart mpu401data- ptyc4 ptyp7 ptysa ptyvd ptyz0 tty tty54
audio- mpu401stat- ptyc5 ptyp8 ptysb ptyve ptyz1 tty0 tty55
audio1- nostripevg ptyc6 ptyp9 ptysc ptyvf ptyz2 tty1 tty56
cdroms null ptyc7 ptypa ptysd ptyw0 ptyz3 tty10 tty57
console nvidia0 ptyc8 ptypb ptyse ptyw1 ptyz4 tty11 tty58
cpu nvidiactl ptyc9 ptypc ptysf ptyw2 ptyz5 tty12 tty59
cua parport0 ptyca ptypd ptyt0 ptyw3 ptyz6 tty13 tty6
cua0 parport16 ptycb ptype ptyt1 ptyw4 ptyz7 tty14 tty60
cua1 parport32 ptycc ptypf ptyt2 ptyw5 ptyz8 tty15 tty61
discs parport48 ptycd ptyq0 ptyt3 ptyw6 ptyz9 tty16 tty62
dsp- port ptyce ptyq1 ptyt4 ptyw7 ptyza tty17 tty63
dsp1- psaux ptycf ptyq2 ptyt5 ptyw8 ptyzb tty18 tty7
fb ptmx ptyd0 ptyq3 ptyt6 ptyw9 ptyzc tty19 tty8
fb0 pts ptyd1 ptyq4 ptyt7 ptywa ptyzd tty2 tty9
fd pty ptyd2 ptyq5 ptyt8 ptywb ptyze tty20 ttyS0
floppy ptya0 ptyd3 ptyq6 ptyt9 ptywc ptyzf tty21 ttyS1
full ptya1 ptyd4 ptyq7 ptyta ptywd ram0 tty22 urandom
hda ptya2 ptyd5 ptyq8 ptytb ptywe ram1 tty23 usb
hda1 ptya3 ptyd6 ptyq9 ptytc ptywf ram10 tty24 vc
hda2 ptya4 ptyd7 ptyqa ptytd ptyx0 ram11 tty25 vcc
hda3 ptya5 ptyd8 ptyqb ptyte ptyx1 ram12 tty26 vcs
hda4 ptya6 ptyd9 ptyqc ptytf ptyx2 ram13 tty27 vcs1
hdc ptya7 ptyda ptyqd ptyu0 ptyx3 ram14 tty28 vcs2
i2c ptya8 ptydb ptyqe ptyu1 ptyx4 ram15 tty29 vcs3
ide ptya9 ptydc ptyqf ptyu2 ptyx5 ram2 tty3 vcs4
initctl ptyaa ptydd ptyr0 ptyu3 ptyx6 ram3 tty30 vcs5
kmem ptyab ptyde ptyr1 ptyu4 ptyx7 ram4 tty31 vcs6
log ptyac ptydf ptyr2 ptyu5 ptyx8 ram5 tty32 vcs7
loop ptyad ptye0 ptyr3 ptyu6 ptyx9 ram6 tty33 vcsa
loop0 ptyae ptye1 ptyr4 ptyu7 ptyxa ram7 tty34 vcsa1
loop1 ptyaf ptye2 ptyr5 ptyu8 ptyxb ram8 tty35 vcsa2
loop2 ptyb0 ptye3 ptyr6 ptyu9 ptyxc ram9 tty36 vcsa3
loop3 ptyb1 ptye4 ptyr7 ptyua ptyxd random tty37 vcsa4
loop4 ptyb2 ptye5 ptyr8 ptyub ptyxe rd tty38 vcsa5
loop5 ptyb3 ptye6 ptyr9 ptyuc ptyxf rmidi0- tty39 vcsa6
loop6 ptyb4 ptye7 ptyra ptyud ptyy0 rmidi1- tty4 vcsa7
loop7 ptyb5 ptye8 ptyrb ptyue ptyy1 rmidi2- tty40 vmnet0
lvm ptyb6 ptye9 ptyrc ptyuf ptyy2 rmidi3- tty41 vmnet1
mem ptyb7 ptyea ptyrd ptyv0 ptyy3 root tty42 vmnet2
midi0- ptyb8 ptyeb ptyre ptyv1 ptyy4 sequencer- tty43 vmnet3
midi00- ptyb9 ptyec ptyrf ptyv2 ptyy5 shm tty44 vmnet4
midi01- ptyba ptyed ptys0 ptyv3 ptyy6 smtpe0- tty45 vmnet5
midi02- ptybb ptyee ptys1 ptyv4 ptyy7 smtpe1- tty46 vmnet6
midi03- ptybc ptyef ptys2 ptyv5 ptyy8 smtpe2- tty47 vmnet7
midi1- ptybd ptyp0 ptys3 ptyv6 ptyy9 smtpe3- tty48 vmnet8
midi2- ptybe ptyp1 ptys4 ptyv7 ptyya sndstat- tty49 vmnet9
midi3- ptybf ptyp2 ptys5 ptyv8 ptyyb sound tty5 zero
misc ptyc0 ptyp3 ptys6 ptyv9 ptyyc stderr tty50
mixer- ptyc1 ptyp4 ptys7 ptyva ptyyd stdin tty51
mixer1- ptyc2 ptyp5 ptys8 ptyvb ptyye stdout tty52
mouse ptyc3 ptyp6 ptys9 ptyvc ptyyf tts tty53
|
|
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Tue Jun 18, 2002 12:58 am Post subject: |
|
|
delta407 wrote: | No, don't run MAKEDEV. That's for filesystem-based /dev, but Gentoo uses devfs, so it won't work once you reboot. |
W00T!?
how do I fix it now? |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Tue Jun 18, 2002 1:00 am Post subject: |
|
|
Reboot, /dev will clear automagically. I meant the new device nodes wouldn't work because they would disappear... don't worry. |
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Tue Jun 18, 2002 1:01 am Post subject: |
|
|
delta407 wrote: | Reboot, /dev will clear automagically. I meant the new device nodes wouldn't work because they would disappear... don't worry. |
shew LOL....
alright.. guess it's time for me to look at the /etc/devfsd.conf file to see if I can make some kinda dsp device |
|
Back to top |
|
|
fghellar Bodhisattva
Joined: 10 Apr 2002 Posts: 856 Location: Porto Alegre, BR
|
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Tue Jun 18, 2002 1:35 am Post subject: |
|
|
fghellar wrote: | This can probably help you, in case you haven't read it yet... |
D'OH!
I completely forgot about the desktop configuration guide.... and alsa.
I'm installing it as we speak thanks... will post after done. |
|
Back to top |
|
|
mihochan Apprentice
Joined: 16 Apr 2002 Posts: 296 Location: Melbourne again
|
Posted: Tue Jun 18, 2002 1:41 am Post subject: |
|
|
Please report back. I'm having the same trouble.
Tom |
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Tue Jun 18, 2002 4:49 pm Post subject: |
|
|
Well, I modularized everything because things haven't been working right at all with sound.
I load sound (which loads soundcore) and then try to load trident.
It says:
Code: |
/lib/modules/2.4.18/kernel/drivers/sound/trident.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.18/kernel/drivers/sound/trident.o: insmod /lib/modules/2.4.18/kernel/drivers/sound/trident.o failed
/lib/modules/2.4.18/kernel/drivers/sound/trident.o: insmod trident failed
|
I've tried loading the ac97_codec first, but that doesn't do anything, either.
I did the alsa-oss, alsa-driver, and so forth as the Desktop Configuration guide says... but this is before that, really. When I compile it into the kernel, it just says:
Code: |
Trident 4DWave/SiS 7018/ALi 5451,Tvia CyberPro 5050 PCI Audio, version 0.14.9d, 08:25:35 Jun 18 2002
|
(the same as when I modprobe it... but with a failure.
I did everythign dealing with the sound setup with alsa, just need to fix this somehow.
Last edited by arkane on Wed Jun 19, 2002 7:53 pm; edited 1 time in total |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Tue Jun 18, 2002 5:23 pm Post subject: |
|
|
I'm not sure how to solve your problem, however, when using ALSA, all you need to compile in your kernel for sound is soundcore support. You don't need to include support for specific soundcards in your kernel!
I have it as a module (soundcore.o) and it gets loaded by ALSA, along with the ALSA modules.
If you specify the right driver, by following the desktop howto, it should work. |
|
Back to top |
|
|
bidz n00b
Joined: 08 Jun 2002 Posts: 54 Location: Norway
|
Posted: Tue Jun 18, 2002 8:12 pm Post subject: |
|
|
aha.. now finally i hear something interesting regarding alsa .. a question for you Zu: IF i compile in support (NOT as modules, but compile it IN the kernel) for my specific soundcard, and also OSS support - is it normal that ALSA would NOT work then, even if you infact try to load the correct alsa-modules ?. please say yes.. please... _________________ bidz @ efnet |
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Tue Jun 18, 2002 10:04 pm Post subject: |
|
|
bidz wrote: | aha.. now finally i hear something interesting regarding alsa .. a question for you Zu: IF i compile in support (NOT as modules, but compile it IN the kernel) for my specific soundcard, and also OSS support - is it normal that ALSA would NOT work then, even if you infact try to load the correct alsa-modules ?. please say yes.. please... |
it would seem that way, considering I only had soundcore.o modprobed in, and it autoloaded snd-pcm-oss and the like... and it still wouldn't work. |
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Tue Jun 18, 2002 10:05 pm Post subject: |
|
|
Does anyone run this chipset at all?
If so, how did you get AC97 sound working?
(aside from sticking in a Soundblaster or the like ) |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Tue Jun 18, 2002 11:24 pm Post subject: |
|
|
bidz wrote: | aha.. now finally i hear something interesting regarding alsa .. a question for you Zu: IF i compile in support (NOT as modules, but compile it IN the kernel) for my specific soundcard, and also OSS support - is it normal that ALSA would NOT work then, even if you infact try to load the correct alsa-modules ?. please say yes.. please... |
Not sure.
But that would make sense, yes.
In fact, ALSA wouldn't work properly when I had sound modules from the kernel insmod'd. That's pretty much the same. I rmmod'd those and then I could install ALSA properly.
Since you have them built in the kernel, it would make sense that you can't get ALSA to work.
Just try it out with only soundcore as [M] in kernel?
And follow the desktop guide on how to setup ALSA. Or search the forum for it, because the desktop-guide is a bit out of date on ALSA.
Good luck |
|
Back to top |
|
|
bidz n00b
Joined: 08 Jun 2002 Posts: 54 Location: Norway
|
Posted: Wed Jun 19, 2002 12:28 am Post subject: |
|
|
thanks for the help and answer. i'll try rebuilding my kernel as you said tomorrow, i need sleep right now. Hopefully i'll get alsa working then, allthough, my sound works perfectly now, except from the alsa stuff that is neat (mixers, better soundquality, etc, etc). So if it doesnt work, i'll just use the old kernel. I've got a C-Media 8378 chipset btw (5.1) integrated on my mobo (soyo dragon plus) - if that makes any difference. _________________ bidz @ efnet |
|
Back to top |
|
|
JefP@@ Apprentice
Joined: 09 May 2002 Posts: 179 Location: Belgium
|
Posted: Wed Jun 19, 2002 10:01 am Post subject: |
|
|
on board or addon cards are quite the same ...
as said before, you only need sound support compiled into the kernel
then you need the right alsa module for your card and /etc/modules.conf should have the right entries ... but that shouldn't be a problem... it's done for you
btw: don't forget to unmute your channels once the modules are loaded ...
basicaly, if you have a /dev/dsp (link to /dev/sound/dsp) you're set
Grtz |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Wed Jun 19, 2002 10:03 am Post subject: |
|
|
arkane wrote: | Does anyone run this chipset at all?
If so, how did you get AC97 sound working?
(aside from sticking in a Soundblaster or the like ) |
https://forums.gentoo.org/viewtopic.php?t=4808
Search is your friend?
Good luck |
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Wed Jun 19, 2002 7:50 pm Post subject: |
|
|
I did it!
I got my AC97 on my SIS961 chip working!
(thanks for the link to that one post.. I did a search on both ac97 and on SIS961 and didn't come up with anything... )
I found the link to the alsa project website, and they had a matrix that tells what drivers to use for what card. My chipset wasn't on the matrix at all, but I figured that the SIS 7xx series used the Intel8x0 module, so why not give it a shot.
The matrix is at:
http://www.alsa-project.org/~goemon/
(but the question really is, what is the matrix? )
I removed all the modules with this command:
awk '/^snd/||/^sound/&&($3==0){system("rmmod " $1)}' /proc/modules /proc/modules /proc/modules
which removes all sound related modules including snd and soundcore.
Then I did "modprobe snd-intel8x0" and everything started working. (well, granted I had to unmute everything, but that's normal)
I tested the audio with pop.wav like the desktop configuration guide says, and I heard it, so I know it's working
yippeee!
Hopefully this will help someone else who has my chipset.
--
Dan |
|
Back to top |
|
|
mihochan Apprentice
Joined: 16 Apr 2002 Posts: 296 Location: Melbourne again
|
Posted: Thu Jun 20, 2002 1:44 am Post subject: |
|
|
Hi all,
I've got a GA-6OXT motherboard with a Sigmatel AC'97 sound card.
I've tried the Trident driver and the CODEC driver. Neither seem to work.
I'll try the CMPCI driver this evening.
Ha sanyone else dealt successfully with this card? |
|
Back to top |
|
|
|