View previous topic :: View next topic |
Author |
Message |
drgenius87 Apprentice
Joined: 18 Mar 2004 Posts: 214 Location: Somewhere elsewhere
|
Posted: Mon Apr 26, 2004 6:45 pm Post subject: ALSA not working at all |
|
|
Whenever i type in alsaconf i am returned with
Code: |
/usr/sbin/alsaconf: line 33: [: too many arguments
/usr/sbin/alsaconf: line 35: [: too many arguments
modinfo: could not find module snd
modinfo: could not find module snd
modinfo: could not find module snd
which: no dialog in (/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i386-pc-linux-gnu/gcc-bin/3.3:/opt/ati/bin:/usr/X11R6/bin:/opt/blackdown-jre-1.4.1/bin:/usr/qt/3/bin:/usr/kde/3.2/sbin:/usr/kde/3.2/bin)
which: no whiptail in (/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i386-pc-linux-gnu/gcc-bin/3.3:/opt/ati/bin:/usr/X11R6/bin:/opt/blackdown-jre-1.4.1/bin:/usr/qt/3/bin:/usr/kde/3.2/sbin:/usr/kde/3.2/bin)
Error, dialog or whiptail not found.
|
and whenever i type in amixer i get
Code: |
amixer: Mixer attach default error: No such device
|
and for alsamixer...
Code: |
alsamixer: function snd_ctl_open failed for default: No such device
|
my kernel config by popular request....
Code: |
# Sound
#
CONFIG_SOUND=y
#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=y
CONFIG_SND_RAWMIDI=y
CONFIG_SND_SEQUENCER=y
# CONFIG_SND_SEQ_DUMMY is not set
# CONFIG_SND_MIXER_OSS is not set
# CONFIG_SND_PCM_OSS is not set
# CONFIG_SND_SEQUENCER_OSS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
#
# Generic devices
#
CONFIG_SND_MPU401_UART=y
CONFIG_SND_OPL3_LIB=y
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
#
# ISA devices
#
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_WAVEFRONT is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set
#
# PCI devices
#
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_ALS4000 is not set
CONFIG_SND_CMIPCI=y
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VX222 is not set
#
# ALSA USB devices
#
# CONFIG_SND_USB_AUDIO is not set
#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set
#
#
|
_________________ Linux user 352455 since April 12, 2004, haven't switched from Gentoo since. |
|
Back to top |
|
|
einstein1981 Guru
Joined: 10 Mar 2004 Posts: 395 Location: Venezuela , Caracas
|
Posted: Mon Apr 26, 2004 7:26 pm Post subject: |
|
|
what do you get when you do lsmod?
are you sure you compiled the support for your sound card/
which kernel are you running?
It would seem by the errors you posted that alsa wasn't compiled correctly, so I would reemerge alsa, and alsa utils, and maybe, add the sound card in the make.conf file
ALSA_CARDS=intel8x0
for instance if you have an intel8x0 card
hope this helps _________________ thesis. |
|
Back to top |
|
|
drgenius87 Apprentice
Joined: 18 Mar 2004 Posts: 214 Location: Somewhere elsewhere
|
Posted: Mon Apr 26, 2004 10:20 pm Post subject: |
|
|
I did not compile anything as a module, so lsmod wouldn't give me what I need. I am using the 2.6.5 kernel, and support for both the onboard sound and sound card in the pci slot are compiled into the kernel, along with Advanced Linux Sound Architecture and Sequencer Support.
I unmerged and re emerged alsa drivers and alsa-utils plenty of times, with no luck. _________________ Linux user 352455 since April 12, 2004, haven't switched from Gentoo since. |
|
Back to top |
|
|
reaver Tux's lil' helper
Joined: 20 Dec 2003 Posts: 88 Location: /Twente/Nijverdal
|
Posted: Mon Apr 26, 2004 10:43 pm Post subject: MAKEDEV.snd |
|
|
try this
Code: | cd /usr/src/linux/scripts
./MAKEDEV.snd
amixer
|
amixer will probably give you some nice output now |
|
Back to top |
|
|
drgenius87 Apprentice
Joined: 18 Mar 2004 Posts: 214 Location: Somewhere elsewhere
|
Posted: Tue Apr 27, 2004 12:16 am Post subject: |
|
|
Nope amixer is still giving the same error. _________________ Linux user 352455 since April 12, 2004, haven't switched from Gentoo since. |
|
Back to top |
|
|
einstein1981 Guru
Joined: 10 Mar 2004 Posts: 395 Location: Venezuela , Caracas
|
Posted: Tue Apr 27, 2004 12:23 am Post subject: |
|
|
What sound card do you have?
I don't quite understand whats hapening but , if you know what sound card you have maybe we can reconfigure alsa
it seems to be a config problem, not hardware so, it's fixable _________________ thesis. |
|
Back to top |
|
|
drgenius87 Apprentice
Joined: 18 Mar 2004 Posts: 214 Location: Somewhere elsewhere
|
Posted: Tue Apr 27, 2004 12:30 am Post subject: |
|
|
The sound card I'm using is the AOpen Cobra AW-850 with the C-Media CMI8738 chipset. _________________ Linux user 352455 since April 12, 2004, haven't switched from Gentoo since. |
|
Back to top |
|
|
einstein1981 Guru
Joined: 10 Mar 2004 Posts: 395 Location: Venezuela , Caracas
|
|
Back to top |
|
|
drgenius87 Apprentice
Joined: 18 Mar 2004 Posts: 214 Location: Somewhere elsewhere
|
Posted: Tue Apr 27, 2004 12:45 am Post subject: |
|
|
Alright well within the kernel config, how should I load the following:
<>Sound Card Support
<>Advanced Linux Sound Architecture
<>Sequencer Support
???all as modules or only some? the support for the actual CM8738 is a module right? _________________ Linux user 352455 since April 12, 2004, haven't switched from Gentoo since. |
|
Back to top |
|
|
einstein1981 Guru
Joined: 10 Mar 2004 Posts: 395 Location: Venezuela , Caracas
|
Posted: Tue Apr 27, 2004 1:14 am Post subject: |
|
|
well this really up to you , I preffer to compile everything that is network or sound related into the kernel (*), but all the alsa docs tell you as modules, but the only logical reason I have for this is that when the alsa docs were written, they were for the 2.4 kernel, which didn't have alsa integrated , so you had to emerge..
now, enable also oss emulation..
follow the guide lines for the config and you should be allright
good luck _________________ thesis. |
|
Back to top |
|
|
drgenius87 Apprentice
Joined: 18 Mar 2004 Posts: 214 Location: Somewhere elsewhere
|
Posted: Tue Apr 27, 2004 2:04 am Post subject: |
|
|
Why OSS Emulation i got it working without it _________________ Linux user 352455 since April 12, 2004, haven't switched from Gentoo since. |
|
Back to top |
|
|
einstein1981 Guru
Joined: 10 Mar 2004 Posts: 395 Location: Venezuela , Caracas
|
Posted: Tue Apr 27, 2004 2:06 am Post subject: |
|
|
so you've fixed your problem?
I said oss emulation because it might be necesary with some programs which aren't migrated to alsa yet,they still depend on oss, i don't know of any, because I use only new ones, but There is a reason why it's still there! _________________ thesis. |
|
Back to top |
|
|
drgenius87 Apprentice
Joined: 18 Mar 2004 Posts: 214 Location: Somewhere elsewhere
|
Posted: Tue Apr 27, 2004 2:11 am Post subject: |
|
|
Yea I have sound, in fact even the 6 channel sound is working, everything is...its nice. _________________ Linux user 352455 since April 12, 2004, haven't switched from Gentoo since. |
|
Back to top |
|
|
|