LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   alsaconf deprecated? (https://www.linuxquestions.org/questions/debian-26/alsaconf-deprecated-576267/)

myrdos2 08-10-2007 09:20 PM

alsaconf deprecated?
 
Hello, I'm having loads of problems getting my soundcard to work. I'm using Debian testing (Lenny), but I had to grab the kernel from unstable because the nvidia proprietary drivers have been removed from the testing distribution.

But when I tried to run alsaconf the way I always do, I got:
Code:

************************************************************************
*
* The update-modules command is deprecated and should not be used!
*
************************************************************************

Loading driver...
Usage: /etc/init.d/alsa {unload|reload|force-unload|force-reload|suspend|resume}
Setting default volumes...
amixer: Mixer attach default error: No such device

From this bug report, I gather that alsaconf is deprecated?

So as I understand it, I need to modprobe the driver manually... how would I go about doing this?

reverse 08-11-2007 01:05 AM

Eh.. I seem to get that sort of stuff too, but then I reboot -> working();.

myrdos2 08-11-2007 10:41 AM

For me, reboot does nothing. Here's all the stuff I can think of:
lsmod | grep snd
Code:

snd_usb_audio          74496  1
snd_usb_lib            15392  1 snd_usb_audio
snd_seq_dummy          3748  0
snd_seq_oss            29408  0
snd_seq_midi            8160  0
snd_seq_midi_event      6880  2 snd_seq_oss,snd_seq_midi
snd_seq                46320  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_rawmidi            22624  2 snd_usb_lib,snd_seq_midi
snd_seq_device          7692  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
snd_hwdep              8772  1 snd_usb_audio
snd_hda_intel        239160  4
snd_pcm_oss            39200  0
snd_mixer_oss          15424  1 snd_pcm_oss
snd_pcm                72324  4 snd_usb_audio,snd_hda_intel,snd_pcm_oss
snd_timer              21028  3 snd_seq,snd_pcm
snd                    48324  19 snd_usb_audio,snd_seq_oss,snd_seq,snd_rawmidi,snd_seq_device,snd_hwdep,snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              7520  1 snd
snd_page_alloc          9512  2 snd_hda_intel,snd_pcm
usbcore              125064  8 snd_usb_audio,snd_usb_lib,quickcam_messenger,usbvideo,usbhid,ehci_hcd,uhci_hcd

lspci | grep Audio
Code:

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
cat /etc/modprobe.d/sound
Code:

alias snd-card-0 snd-hda-intel
options snd-hda-intel index=0

Also, I notice when I start kmix, it always has the volume reset to 0.

Daws 08-11-2007 06:42 PM

Do you have libesd-alsa0 installed?

myrdos2 08-11-2007 07:16 PM

Daws: No, it wasn't installed. I tried installing libesd-alsa0 just now, but it seemed to have no effect.

Daws 08-11-2007 07:27 PM

Good good, I ran into this problem a few weeks ago. Installing libesd-alsa0 was one of the steps. To get past the
update-modules error, I installed an older version temporarily (If you actually look at the script, it is pretty much useless).

Try running alsaconf then alsamixer again. If that doesn't work, then I probably forgot something I did... I will try to remember.

myrdos2 08-11-2007 09:00 PM

alsaconf still seems to give me the same error. I notice that after I run it, all the 'snd' modules are gone from lsmod.
Code:

************************************************************************
*
* The update-modules command is deprecated and should not be used!
*
************************************************************************

Loading driver...
Usage: /etc/init.d/alsa {unload|reload|force-unload|force-reload|suspend|resume}
Setting default volumes...
amixer: Mixer attach default error: No such device

Then when I run alsamixer, I get:
Code:

alsamixer: function snd_ctl_open failed for default: No such device
I downgraded to the package you linked to, and tried alsaconf and alsamixer again, but got exactly the same results.

What to do?

Daws 08-11-2007 09:14 PM

I may have forgotten something.

I am fairly sure I installed libesd-alsa0, downgraded module-init-tools, then ran alsaconf (btw the first thing alsaconf does
is unload all snd modules so that's normal behaviour). I might have rebooted at this point... not sure. Then I ran alsamixer,
and then "alsactl store", and sound worked fine...

If you are still getting

The update-modules command is deprecated and should not be used!

then the downgrade did not work. Try again. "dpkg -i package"

myrdos2 08-11-2007 09:51 PM

Hmm, I am still getting the same error even after using
Code:

sudo dpkg -i module-init-tools_3.3-pre11-3_i386.deb
You had mentioned that it uses an older version of some script, which is useless in the newer version?

Where is the location of this script? Then I could make sure that the correct version is being used.

[EDIT]I wonder if our differences are caused by my newer kernel version? I had to get the latest kernel from sid to install the nvidia graphics drivers, which are broken in testing. (see first post)

Code:

uname -a
Linux jackfish 2.6.22-1-686 #1 SMP Sun Jul 29 14:37:42 UTC 2007 i686 GNU/Linux


JackieBrown 08-11-2007 11:18 PM

I have the same problem - with a HDA NVidia card.

alsaconfig is useless to me. In fact it unloads the module that gets loaded during boot.

I have a custom kernel but it is 2.6.22 as well.

From boot

Quote:

Advanced Linux Sound Architecture Driver Version 1.0.14 (Thu May 31 09:03:25 2007 UTC).
ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 21
ACPI: PCI Interrupt 0000:00:07.0[A] -> Link [AAZA] -> GSI 21 (level, low) -> IRQ 21
PCI: Setting latency timer of device 0000:00:07.0 to 64
hda_codec: Unknown model for ALC883, trying auto-probe from BIOS...
ALSA device list:
#0: HDA NVidia at 0xfe020000 irq 21


All times are GMT -5. The time now is 10:59 AM.