LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-10-2007, 09:20 PM   #1
myrdos2
LQ Newbie
 
Registered: May 2007
Posts: 12

Rep: Reputation: 0
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?
 
Old 08-11-2007, 01:05 AM   #2
reverse
Member
 
Registered: Apr 2007
Distribution: Gentoo
Posts: 337

Rep: Reputation: 30
Eh.. I seem to get that sort of stuff too, but then I reboot -> working();.
 
Old 08-11-2007, 10:41 AM   #3
myrdos2
LQ Newbie
 
Registered: May 2007
Posts: 12

Original Poster
Rep: Reputation: 0
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.
 
Old 08-11-2007, 06:42 PM   #4
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
Do you have libesd-alsa0 installed?
 
Old 08-11-2007, 07:16 PM   #5
myrdos2
LQ Newbie
 
Registered: May 2007
Posts: 12

Original Poster
Rep: Reputation: 0
Daws: No, it wasn't installed. I tried installing libesd-alsa0 just now, but it seemed to have no effect.
 
Old 08-11-2007, 07:27 PM   #6
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
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.
 
Old 08-11-2007, 09:00 PM   #7
myrdos2
LQ Newbie
 
Registered: May 2007
Posts: 12

Original Poster
Rep: Reputation: 0
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?
 
Old 08-11-2007, 09:14 PM   #8
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
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"
 
Old 08-11-2007, 09:51 PM   #9
myrdos2
LQ Newbie
 
Registered: May 2007
Posts: 12

Original Poster
Rep: Reputation: 0
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

Last edited by myrdos2; 08-11-2007 at 09:52 PM.
 
Old 08-11-2007, 11:18 PM   #10
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Non-deprecated version of cp --reply=no punt Linux - General 4 07-03-2007 06:04 AM
rc.modules deprecated? hussar Slackware 2 09-23-2006 01:46 PM
Debfoster deprecated :( Aptitude doesn't like me RodWC Debian 4 06-12-2006 05:24 PM
network/options is deprecated Acron_0248 Debian 3 03-19-2006 06:12 PM
sshd: Deprecated option ReverseMappingCheck kalahari875 Linux - Security 3 01-06-2005 08:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration