LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-09-2004, 12:06 PM   #31
Underhill
Member
 
Registered: Aug 2004
Location: Kuala Lumpur, Malaysia
Distribution: Debian Etch
Posts: 58

Rep: Reputation: 15

Hey,

I'm having problem with ALSA too. I'm using SID. When i run alsaconf, it detects the soundcard (CS46xx) but in the end it gives the error as the following:

Code:
Running update-modules...
Loading driver...
Restoring ALSA mixer settings ... failed:
       You may want to run 'alsactl restore' manually to view any errors.
Setting default volumes...
Saving the mixer setup used for this in /var/lib/alsa/asound.state.
/usr/sbin/alsactl: save_state:1061: No soundcards found...
Here's my /etc/modules

Code:
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line.  Comments begin with
# a "#", and everything on the line after them are ignored.

ide-cd
ide-generic
sd_mod
Here's the lsmod:

Code:
Module                  Size  Used by
snd_seq                54000  0
lp                     11176  0
pppoe                  14528  2
pppox                   3720  1 pppoe
ipv6                  264612  15
af_packet              22600  2
ppp_generic            30164  6 pppoe,pppox
slhc                    7488  1 ppp_generic
usb_storage            68832  0
snd_cs46xx             91976  0
snd_rawmidi            25156  1 snd_cs46xx
snd_seq_device          8200  2 snd_seq,snd_rawmidi
snd_ac97_codec         70020  1 snd_cs46xx
snd_pcm_oss            55048  0
snd_mixer_oss          20096  1 snd_pcm_oss
snd_pcm                98728  2 snd_cs46xx,snd_pcm_oss
snd_timer              25668  2 snd_seq,snd_pcm
snd                    57156  9 snd_seq,snd_cs46xx,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc         11752  2 snd_cs46xx,snd_pcm
gameport                4704  1 snd_cs46xx
piix                   13440  1
hw_random               5460  0
uhci_hcd               33136  0
shpchp                101996  0
pciehp                 99084  0
pci_hotplug            34640  2 shpchp,pciehp
intel_agp              22752  0
intel_mch_agp          10608  1
agpgart                34696  2 intel_agp,intel_mch_agp
parport_pc             35392  1
parport                41832  2 lp,parport_pc
floppy                 61200  0
tsdev                   7392  0
mousedev               10476  2
psmouse                20360  0
pcspkr                  3592  0
evdev                   9600  0
ehci_hcd               32004  0
usbcore               119012  5 usb_storage,uhci_hcd,ehci_hcd
cs46xx                 70028  0
soundcore              10336  2 snd,cs46xx
ac97_codec             18956  1 cs46xx
tulip                  47168  0
crc32                   4320  1 tulip
nls_iso8859_1           4032  1
nls_cp437               5696  1
vfat                   14656  1
fat                    46784  1 vfat
dm_mod                 59772  0
capability              4520  0
commoncap               7232  1 capability
ide_generic             1408  0
ide_cd                 42656  0
ide_core              139940  4 usb_storage,piix,ide_generic,ide_cd
cdrom                  40732  1 ide_cd
rtc                    12760  0
ext3                  127240  1
jbd                    62616  1 ext3
mbcache                 9348  1 ext3
sd_mod                 21696  4
ata_piix                8164  3
libata                 41604  1 ata_piix
scsi_mod              125068  3 usb_storage,sd_mod,libata
unix                   28692  298
font                    8320  0
vesafb                  6656  0
cfbcopyarea             3840  1 vesafb
cfbimgblt               3040  1 vesafb
cfbfillrect             3776  1 vesafb
 
Old 09-09-2004, 12:34 PM   #32
OneManArmy
Member
 
Registered: Apr 2004
Location: Motherboard
Distribution: Debian GNU/Linux
Posts: 156

Original Poster
Rep: Reputation: 30
Hello there,
Usually this problem results from incorrectly loading your soundcard OSS module
instead of the ALSA one.
I think I know where is your problem. Your lsmod shows the following entry :
Code:
soundcore              10336  2 snd,cs46xx
cs46xx is an OSS module that should NOT be loaded. I have checked the kernel
modules using modconf and I found that it lies in "/kernel/sound/oss". However,
there exists as well the module snd_cs46xx in "kernel/sound/pci/cs46xx". The
later is the correct one that you should use.
Hope this helps, keep me updated.

Last edited by OneManArmy; 09-09-2004 at 01:08 PM.
 
Old 09-10-2004, 02:38 AM   #33
Underhill
Member
 
Registered: Aug 2004
Location: Kuala Lumpur, Malaysia
Distribution: Debian Etch
Posts: 58

Rep: Reputation: 15
Hi OneManArmy, thanks for checking that out. I've removed cs46xx OSS module but still doesn't work

Last edited by Underhill; 09-10-2004 at 04:24 AM.
 
Old 09-10-2004, 04:11 AM   #34
wensveen
LQ Newbie
 
Registered: Mar 2004
Location: Utrecht, Netherlands
Distribution: Debian unstable
Posts: 20

Rep: Reputation: 0
For me, /usr/share/alsa-base/snddevices worked. I ran it before posting to this forum, but I had to reboot of course, which I hadn't.
I think I messed it up trying to chown and chmod some devices.

Also, I purged modutils (and with that the 2.4 kernel that I never, ever used anymore ). Now I don't need to manage both modutils and module-init-tools, which makes life a lot better.
Thanks for all the help.

Matthijs.
 
Old 09-10-2004, 11:34 AM   #35
OneManArmy
Member
 
Registered: Apr 2004
Location: Motherboard
Distribution: Debian GNU/Linux
Posts: 156

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Underhill
Hi OneManArmy, thanks for checking that out. I've removed cs46xx OSS module but still doesn't work
How did u remove the cs46xx OSS module? Did You use "rmmod" or You uninstalled it using "modconf" ? I suspect you did the former !!
 
Old 09-10-2004, 01:03 PM   #36
Underhill
Member
 
Registered: Aug 2004
Location: Kuala Lumpur, Malaysia
Distribution: Debian Etch
Posts: 58

Rep: Reputation: 15
I did with modconf How to rmmod?
 
Old 09-10-2004, 01:15 PM   #37
OneManArmy
Member
 
Registered: Apr 2004
Location: Motherboard
Distribution: Debian GNU/Linux
Posts: 156

Original Poster
Rep: Reputation: 30
Forget about rmmod, could you post your "lsmod" output now that you have removed that OSS module?
Sorry for the multiple questions , I am just tryin to help
 
Old 09-11-2004, 02:01 AM   #38
Underhill
Member
 
Registered: Aug 2004
Location: Kuala Lumpur, Malaysia
Distribution: Debian Etch
Posts: 58

Rep: Reputation: 15
Hi,

I'm having trouble starting my XFree86 now. Forget about ALSA, i'm going to reinstall Debian. I"m staying with Sarge after this.

Thanks for your replies anyway. I really appreciate it.

Last edited by Underhill; 09-11-2004 at 02:03 AM.
 
Old 09-11-2004, 05:32 AM   #39
wensveen
LQ Newbie
 
Registered: Mar 2004
Location: Utrecht, Netherlands
Distribution: Debian unstable
Posts: 20

Rep: Reputation: 0
Hi again. I seem to have unconsciously added snd-cmicpi to /etc/modules, but strangely I can't remember doing this. This made things work, but I can't remember ever having to load the module in this fashion. I always thought modprobe.d/alsa-base and modprobe.d/sound were responsible for module loading.
OneManArmy, is it customary to have the Alsa driver loaded in /etc/modules?
 
  


Reply



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
(Yes, another winmodem problem), But this one is Easy (I hope) carrie SUSE / openSUSE 8 02-08-2005 06:12 PM
Just a small problem after kernel-upgrade (I hope) ingvald Slackware 3 06-19-2004 08:09 AM
You all are my last hope..... Cap'n Ahab Linux - Newbie 8 07-19-2003 11:12 PM
More specific samba problem (I hope) darkfnord Linux - Networking 3 04-11-2003 07:39 PM
Kazaalite under wine(new problem,I hope) Tayl Linux - Software 8 02-23-2003 12:34 AM

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

All times are GMT -5. The time now is 02:37 AM.

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