Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-10-2007, 09:20 PM
|
#1
|
LQ Newbie
Registered: May 2007
Posts: 12
Rep:
|
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?
|
|
|
08-11-2007, 01:05 AM
|
#2
|
Member
Registered: Apr 2007
Distribution: Gentoo
Posts: 337
Rep:
|
Eh.. I seem to get that sort of stuff too, but then I reboot -> working();.
|
|
|
08-11-2007, 10:41 AM
|
#3
|
LQ Newbie
Registered: May 2007
Posts: 12
Original Poster
Rep:
|
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.
|
|
|
08-11-2007, 06:42 PM
|
#4
|
Member
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447
Rep:
|
Do you have libesd-alsa0 installed?
|
|
|
08-11-2007, 07:16 PM
|
#5
|
LQ Newbie
Registered: May 2007
Posts: 12
Original Poster
Rep:
|
Daws: No, it wasn't installed. I tried installing libesd-alsa0 just now, but it seemed to have no effect.
|
|
|
08-11-2007, 07:27 PM
|
#6
|
Member
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447
Rep:
|
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.
|
|
|
08-11-2007, 09:00 PM
|
#7
|
LQ Newbie
Registered: May 2007
Posts: 12
Original Poster
Rep:
|
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?
|
|
|
08-11-2007, 09:14 PM
|
#8
|
Member
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447
Rep:
|
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"
|
|
|
08-11-2007, 09:51 PM
|
#9
|
LQ Newbie
Registered: May 2007
Posts: 12
Original Poster
Rep:
|
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.
|
|
|
08-11-2007, 11:18 PM
|
#10
|
Member
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481
Rep:
|
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 02:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|