View previous topic :: View next topic |
Author |
Message |
RobB_NZ n00b
Joined: 24 Jan 2004 Posts: 8 Location: New Zealand
|
Posted: Sat Jan 24, 2004 5:10 am Post subject: |
|
|
I've finally got sound working in KDE, thanks to all the help in this thread and lots of other places. I've done about every tweak I've seen, and I had only one remaining error: in dmesg I got Code: |
Real Time Clock Driver v1.12
via82xx: Assuming DXS channels with 48k fixed sample rate.
Please try dxs_support=1 or dxs_support=4 option
and report if it works on your machine.
devfs_mk_cdev: could not append to parent for sound/audio
|
so (for reasons that now escape me) I got rid of all my sound-related modules with rmmod, and then deleted everything in /dev that was remotely sound-related. When I rebooted, some of the entries in dev were recreated although not all, and the error had gone away.
The snddevices script that comes with alsa-driver seems to create a whole heap of devices that don't seem to be useful. Could this be a problem?
Anyway, the real solution came when I was looking in KMix. I could get a click from my speakers if I muted/unmuted the PCM channel, as long as the master was unmuted with the volume turned up. No system sounds would play however, and xmms would lock up for about 30 seconds when I tried to play anything through it.
I started to fiddle with the VIA DXS sliders, and all of a sudden a bunch of sounds started playing. And yes, I did have the speaker volume set pretty high at the time...
It seems that the DXS sliders are controlling options rather than levels? With them set to zero, not only was there no sound, but the sounds were blocked and waiting. Very strange. Now, I have the 3 '3D' sliders set to minimum, the first two VIA DXS sliders set to maximum and the other two set to minimum, and both system sounds and xmms are working well.
Not ideal, because I still don't understand what's going on, but at least I've got sound. I'll be looking into this whole "DXS" thing! Of course, now KDE is making noises at me whenever I do anything and I'm almost pining for the silence again... |
|
Back to top |
|
|
windex82 Apprentice
Joined: 05 Jun 2003 Posts: 181
|
Posted: Sat Jan 24, 2004 9:28 pm Post subject: |
|
|
Yeah, I've got another sound just stopped working story... I managed to get it to work by downgrading to lib and utlis .9.8 with kernel 2.6.1-gentoo for a while in kde, after logging out and back into sound went away. Also, even when I manage to find the 10 minute window with working sount noatun refuses to output any sound, kaboodle on the other hand plays just fine. But of course this is only in the couple minutes I catch it and make it work for 10 more minutes. Whatever I'm doing to fix it here and there isnt very consistant either. Also nothing ever complains about not being able to output sound.
Oh yeah, I've got a sblive using the emu10k1 driver, things were working pretty decent with kernel 2.4 although i never figured out what type of sound system i was in fact using (sound just worked i never merged any alsa-drivers, libs or utils) Sound was also working pretty good in 2.6.0. |
|
Back to top |
|
|
tucanoj n00b
Joined: 05 Sep 2003 Posts: 44
|
Posted: Sun Jan 25, 2004 6:22 am Post subject: |
|
|
Anyone had any luck getting ALSA to run on kernel 2.6 w/ a ESS Maestro 3i.
I emerged alsa-utils, but when I run Code: | amixer set Master 100 unmute | my speakers go crazy. They start spewing some god awful noise that I
can only compare to my fire alarm and I'm forced to logout to stop it.
Anyone know what's going on or how to fix this? |
|
Back to top |
|
|
zeurx n00b
Joined: 26 Jun 2002 Posts: 54
|
Posted: Tue Jan 27, 2004 4:43 am Post subject: modules will not load |
|
|
ok i am setting up alsa as of 1/26/04 and i go to test/boot my computer and it can not load snd-emu10k1 or snd-via82xx with the error of
Code: |
WARNING: Error inserting snd_rawmidi (/lib/modules/2.6.2-rc2/kernel/sound/core/snd-rawmidi.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_emu10k1 (/lib/modules/2.6.2-rc2/kernel/sound/pci/emu10k1/snd-emu10k1.ko): Unknown symbol in module, or unknown parameter (see dmesg)
|
Code: |
FATAL: Error inserting snd_via82xx (/lib/modules/2.6.2-rc2/kernel/sound/pci/snd-via82xx.ko): Unknown symbol in module, or unknown parameter (see dmesg)
|
can someone please help me on this |
|
Back to top |
|
|
agent_jdh Veteran
Joined: 08 Aug 2002 Posts: 1783 Location: Scotland
|
Posted: Wed Jan 28, 2004 12:31 am Post subject: Re: modules will not load |
|
|
zeurx wrote: | ok i am setting up alsa as of 1/26/04 and i go to test/boot my computer and it can not load snd-emu10k1 or snd-via82xx with the error of
Code: |
WARNING: Error inserting snd_rawmidi (/lib/modules/2.6.2-rc2/kernel/sound/core/snd-rawmidi.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_emu10k1 (/lib/modules/2.6.2-rc2/kernel/sound/pci/emu10k1/snd-emu10k1.ko): Unknown symbol in module, or unknown parameter (see dmesg)
|
Code: |
FATAL: Error inserting snd_via82xx (/lib/modules/2.6.2-rc2/kernel/sound/pci/snd-via82xx.ko): Unknown symbol in module, or unknown parameter (see dmesg)
|
can someone please help me on this |
By any chance do you have module-init-tools-3.0_pre6 or pre7 installed?
You want to downgrade back to module-init-tools-3.0_pre5
A bug report has been filed https://bugs.gentoo.org/show_bug.cgi?id=39397 _________________ Jingle Jangle Jewellery |
|
Back to top |
|
|
crazy-bee Apprentice
Joined: 03 Jan 2003 Posts: 170
|
Posted: Wed Jan 28, 2004 4:20 pm Post subject: |
|
|
*Sigh* Should have read that message earlier. Solved my problem by downgrading to pre5. Had tons of errors like the following:
snd_cmipci: Unknown symbol snd_opl3_create
snd_cmipci: Unknown symbol snd_mpu401_uart_interrupt
snd_cmipci: Unknown symbol snd_mpu401_uart_new
snd_cmipci: Unknown symbol snd_opl3_hwdep_new
snd_cmipci: Unknown symbol snd_opl3_create
snd_cmipci: Unknown symbol snd_mpu401_uart_interrupt
snd_cmipci: Unknown symbol snd_mpu401_uart_new
snd_cmipci: Unknown symbol snd_opl3_hwdep_new |
|
Back to top |
|
|
jorisor n00b
Joined: 24 Jan 2004 Posts: 5
|
Posted: Wed Jan 28, 2004 4:31 pm Post subject: |
|
|
I got alsa working in kernel 2.6.1.
my system
kernel 2.6.1 gentoo-dev-sources
Hercules Fortusimose III Sound fusion cs46xx
nforce 2 board (non-deluxe) with sound disabeld)
build kernel with also and alsa-oss as a module
emerge alsa-utils (this will emerge alsa-lib)
there is a script in /usr/src/linux/script
called MAKEDEV.snd.
run it, it wil make your dev
you dont need add rc-update add alsasound boot, remember to run alsamixer to set the control
for your volume!.
for xmms emerge xmms-alsa
Succes |
|
Back to top |
|
|
agent_jdh Veteran
Joined: 08 Aug 2002 Posts: 1783 Location: Scotland
|
Posted: Thu Jan 29, 2004 1:35 am Post subject: |
|
|
jorisor wrote: | I got alsa working in kernel 2.6.1.
my system
kernel 2.6.1 gentoo-dev-sources
Hercules Fortusimose III Sound fusion cs46xx
nforce 2 board (non-deluxe) with sound disabeld)
build kernel with also and alsa-oss as a module
emerge alsa-utils (this will emerge alsa-lib)
there is a script in /usr/src/linux/script
called MAKEDEV.snd.
run it, it wil make your dev
you dont need add rc-update add alsasound boot, remember to run alsamixer to set the control
for your volume!.
for xmms emerge xmms-alsa
Succes |
You don't need to make your devices, as Gentoo (currently) uses devfs.
The point of the alsasound boot script is that it loads/saves your settings without you having to use alsamixer. _________________ Jingle Jangle Jewellery |
|
Back to top |
|
|
OdinsDream Veteran
Joined: 01 Jun 2002 Posts: 1057
|
Posted: Tue Apr 20, 2004 4:58 am Post subject: |
|
|
homeobocks wrote: | I get no sound! When I run amixer set Master 100 mute, it says "amixer: Unable to find simple control 'Master,' 0". Similar things occur for amixer set [whatever] unmute.
Also, when I run aplay, it gives me the message
"ALSA lib pcm_hw.c:1055:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: No such file or directory
aplay: main:502: audio open error: No such file or directory"
What could be wrong?
EDIT: Solved. |
I'm getting that same error. How did you fix it? _________________ s/(?<!gnu\/)linux(?! kernel)/GNU\/Linux/gi
Don't blame me. I didn't vote for him.
http://john.simplykiwi.com |
|
Back to top |
|
|
serzz Apprentice
Joined: 03 Apr 2004 Posts: 153
|
Posted: Tue Apr 20, 2004 7:06 am Post subject: |
|
|
Any Idea how to configure alsa under kernel-2.4 |
|
Back to top |
|
|
OdinsDream Veteran
Joined: 01 Jun 2002 Posts: 1057
|
Posted: Tue Apr 20, 2004 11:42 pm Post subject: |
|
|
serzz wrote: | Any Idea how to configure alsa under kernel-2.4 |
Gentoo's ALSA Guide should get you up and running. 2.6 is marginally different, but I've used the guide for 2.4 reliably on several systems. _________________ s/(?<!gnu\/)linux(?! kernel)/GNU\/Linux/gi
Don't blame me. I didn't vote for him.
http://john.simplykiwi.com |
|
Back to top |
|
|
serzz Apprentice
Joined: 03 Apr 2004 Posts: 153
|
Posted: Thu Apr 22, 2004 7:28 am Post subject: |
|
|
Code: |
bash-2.05b# modprobe cmaudio
/lib/modules/2.4.20-gentoo-r6/kernel/drivers/sound/cmaudio.o: kernel-module version mismatch
/lib/modules/2.4.20-gentoo-r6/kernel/drivers/sound/cmaudio.o was compiled for kernel version 2.4.21
while this kernel is version 2.4.20-gentoo-r6.
/lib/modules/2.4.20-gentoo-r6/kernel/drivers/sound/cmaudio.o: insmod /lib/modules/2.4.20-gentoo-r6/kernel/drivers/sound/cmaudio.o failed
/lib/modules/2.4.20-gentoo-r6/kernel/drivers/sound/cmaudio.o: insmod cmaudio failed
|
Code: |
bash-2.05b# /etc/init.d/alsasound restart
* WARNING: you are stopping a boot service.
* ALSA is not loaded
* Loading ALSA drivers...
* Using ALSA OSS emulation
* Loading: cmaudio
/lib/modules/2.4.20-gentoo-r6/kernel/drivers/sound/cmaudio.o: kernel-module version mismatch
/lib/modules/2.4.20-gentoo-r6/kernel/drivers/sound/cmaudio.o was compiled for kernel version 2.4.21
while this kernel is version 2.4.20-gentoo-r6.
/lib/modules/2.4.20-gentoo-r6/kernel/drivers/sound/cmaudio.o: insmod /lib/modules/2.4.20-gentoo-r6/kernel/drivers/sound/cmaudio.o failed
/lib/modules/2.4.20-gentoo-r6/kernel/drivers/sound/cmaudio.o: insmod cmaudio failed
* Running card-dependent scripts
* ERROR: Failed to load necessary drivers
* Restoring Mixer Levels
* No mixer config in /etc/asound.state, you have to unmute your card! [ !! ]
[ ok ]
|
Any advise??? |
|
Back to top |
|
|
Helena Veteran
Joined: 02 Apr 2003 Posts: 1114 Location: Den Dolder, The Netherlands
|
Posted: Thu Apr 22, 2004 9:03 am Post subject: |
|
|
serzz wrote: |
Any advise??? | Although this question does not belong here (it's about 2.6 kernels!) I'll advise you always to recompile alsa-driver whenever you recompile a kernel. This is also stated in the ALSA guide. |
|
Back to top |
|
|
serzz Apprentice
Joined: 03 Apr 2004 Posts: 153
|
Posted: Fri Apr 23, 2004 6:46 am Post subject: |
|
|
no, couple days ago I started to use Kernel 2,6. So mine problem is kinda Kernel 2,6 related. |
|
Back to top |
|
|
Helena Veteran
Joined: 02 Apr 2003 Posts: 1114 Location: Den Dolder, The Netherlands
|
Posted: Fri Apr 23, 2004 10:54 am Post subject: |
|
|
serzz wrote: | no, couple days ago I started to use Kernel 2,6. So mine problem is kinda Kernel 2,6 related. | Well your previous post clearly shows you are still running 2.4... If you had ALSA running under 2.4 and are trying to move to 2.6 then you'll have to completely remove ALSA (including alsa-driver, alsa-utils, alsa-tools) and start all over again for the 2.6 kernel. |
|
Back to top |
|
|
serzz Apprentice
Joined: 03 Apr 2004 Posts: 153
|
Posted: Fri Apr 23, 2004 12:03 pm Post subject: |
|
|
I unmerged all the tools and then remerged them. Still getting the same output line. What else kernel-2.4 related I should move? |
|
Back to top |
|
|
Helena Veteran
Joined: 02 Apr 2003 Posts: 1114 Location: Den Dolder, The Netherlands
|
Posted: Fri Apr 23, 2004 6:23 pm Post subject: |
|
|
serzz wrote: | I unmerged all the tools and then remerged them. Still getting the same output line. What else kernel-2.4 related I should move? | You should not simply re-emerge everything. Have you followed all instructions in the start of this thread and other relevant replies?
/EDIT: are you really starting up with the new (2.6 based) kernel? Typeto check. |
|
Back to top |
|
|
serzz Apprentice
Joined: 03 Apr 2004 Posts: 153
|
Posted: Fri Apr 23, 2004 8:07 pm Post subject: |
|
|
I get 2.4.20-gentoo-r6. I have no idea from where start. Any suggestions? |
|
Back to top |
|
|
Helena Veteran
Joined: 02 Apr 2003 Posts: 1114 Location: Den Dolder, The Netherlands
|
Posted: Fri Apr 23, 2004 8:58 pm Post subject: |
|
|
serzz wrote: | I get 2.4.20-gentoo-r6. I have no idea from where start. Any suggestions? | Well first I must say that you post quickly. Your first one was about 2.4, then you said you moved to 2.6 now it appears you haven't. I suggest you study the documentation in more detail before asking questions. Moving from 2.4 to 2.6 is not a simple task, since a lot is different. I cannot possibly tell you all the details.
If you search the forum you may also find lots of helpful hints. |
|
Back to top |
|
|
serzz Apprentice
Joined: 03 Apr 2004 Posts: 153
|
Posted: Fri Apr 23, 2004 9:34 pm Post subject: |
|
|
Well now I'm running Kernel-2.6.5 without DEVFS Support. But I'm trying to get it working then back to Alsa configuration. |
|
Back to top |
|
|
electroarts Tux's lil' helper
Joined: 03 Jan 2004 Posts: 86
|
Posted: Tue May 18, 2004 8:50 am Post subject: compiling my own ALSA-driver modules for 2.6 |
|
|
Hi all,
I would like to use different/newer versions of the alsa-driver than are included in the 2.6 kernel. But I am having serious trouble getting them working.
I have sound enabled in my kernel, but not ALSA [alsa-driver will not compile with anything other than *just* sound enabled in the kernel!]. I can compile the alsa-driver ebuild, but get the same errors reported above when loading:
Code: | snd_pcm: Unknown symbol snd_timer_notify
snd_pcm: Unknown symbol snd_timer_interrupt
snd_pcm: Unknown symbol snd_timer_new
snd_pcm_oss: Unknown symbol snd_pcm_lib_read
snd_pcm_oss: Unknown symbol snd_pcm_hw_constraints_init
snd_pcm_oss: Unknown symbol snd_pcm_hw_param_near
snd_pcm_oss: Unknown symbol _snd_pcm_hw_param_setinteger
snd_pcm_oss: Unknown symbol snd_pcm_kernel_ioctl |
for lines and lines and lines.
I also tried this:
Quote: | You want to downgrade back to module-init-tools-3.0_pre5 |
but that didn't do the trick either.
Suggestions?
Kernel version 2.6.4-ck2
ALSA drivers version 1.0.4-r1
TIA. |
|
Back to top |
|
|
teedog Apprentice
Joined: 09 Mar 2004 Posts: 211
|
Posted: Sat May 29, 2004 5:15 am Post subject: |
|
|
Helena, would you be kind enough to edit your first post (compile ALSA components as modules) so that newcommers are not misled? Thanks for the howto. |
|
Back to top |
|
|
Helena Veteran
Joined: 02 Apr 2003 Posts: 1114 Location: Den Dolder, The Netherlands
|
Posted: Sat May 29, 2004 4:26 pm Post subject: |
|
|
teedog wrote: | Helena, would you be kind enough to edit your first post (compile ALSA components as modules) so that newcommers are not misled? Thanks for the howto. | OK I inderstand your question. The trouble is I haven't done much with ALSA recently. Do you have suggestions? |
|
Back to top |
|
|
teedog Apprentice
Joined: 09 Mar 2004 Posts: 211
|
Posted: Sat May 29, 2004 5:42 pm Post subject: |
|
|
I meant editing your first post in this thread to match your second post. In your first post you select Y for all the ALSA components. In the second post you select M, which is the correct thing to do, I presume. |
|
Back to top |
|
|
sphen n00b
Joined: 01 Mar 2004 Posts: 7 Location: United Kingdom
|
Posted: Fri Jun 04, 2004 12:04 am Post subject: |
|
|
mr_smidge wrote: | GRR, I'm still having some annoying issue with getting ALSA working.. I'm running 2.6.0-test11, and 1.0.0_rc2 of alsa-lib and alsa-utils, and getting the following:
Code: |
root # /etc/init.d/alsasound start
* Loading ALSA drivers...
* Loading: snd-mixer-oss
WARNING: Error inserting snd (/lib/modules/2.6.0-test11/kernel/sound/core/snd.ko): Input/output error
* Loading: snd-pcm-oss
WARNING: Error inserting snd (/lib/modules/2.6.0-test11/kernel/sound/core/snd.ko): Input/output error
* Loading: snd-seq-oss
WARNING: Error inserting snd (/lib/modules/2.6.0-test11/kernel/sound/core/snd.ko): Input/output error
WARNING: Error inserting snd_seq (/lib/modules/2.6.0-test11/kernel/sound/core/seq/snd-seq.ko): Device or resource busy
FATAL: Error inserting snd_seq_oss (/lib/modules/2.6.0-test11/kernel/sound/core/seq/oss/snd-seq-oss.ko): Device or resource busy
* Loading: snd_emu10k1
WARNING: Error inserting snd (/lib/modules/2.6.0-test11/kernel/sound/core/snd.ko): Input/output error
* Loading: snd_via82xx
WARNING: Error inserting snd (/lib/modules/2.6.0-test11/kernel/sound/core/snd.ko): Input/output error
* Running card-dependent scripts
* Restoring Mixer Levels
/usr/sbin/alsactl: set_controls:986: snd_ctl_open error: No such file or directory
/usr/sbin/alsactl: set_controls:986: snd_ctl_open error: No such file or directory [ ok ]
root # lsmod
Module Size Used by
snd_via82xx 22848 0
snd_mpu401_uart 6912 0
snd_emu10k1 93508 0
snd_rawmidi 21952 0
snd_ac97_codec 53252 0
snd_util_mem 3840 1 snd_emu10k1
snd_hwdep 8192 1 snd_emu10k1
snd_seq_midi_event 6848 0
snd_seq_device 7236 0
snd_pcm_oss 49668 0
snd_pcm 92352 0
snd_page_alloc 9732 0
snd_timer 23616 0
snd_mixer_oss 17856 0
nvidia 1703596 10
|
Weirdness.. What's going on here?
I have all the ALSA stuff compiled as modules.
Even though the alsasound supposedly finishes with [ OK ], there's no sound.. alsamixer is giving me that annoying "alsamixer: function snd_ctl_open failed for default: No such file or directory" error message.. |
Hello All,
First of all I'm pretty new, so I need some help.
I have exactly the same problem with my current attempt to install ALSA, but I am struggling to find the solution. Can anyone point me in the right direction?
Thanks
Stephen |
|
Back to top |
|
|
|