LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 04-03-2005, 05:11 PM   #1
ferlopes
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Rep: Reputation: 0
Alsactl restore problem on debian


Hi there

I'm using:

Debian
Kernel 2.6.8-1-686
ENS-1370 sound card installed
alsa-base 1.0.8-7
alsa-utils 1.0.8-4.
discover 2.0.7-2


I'm having problems with alsa. It was working perfectly well, but, probably in a system upgrade, it stopped to work.

So I tried (and did It) with the command:
# alsaconf

I've configured my alsa and it played sounds. Great! But... when I reboot the system, all the configurations are lost....!

I've searched something about and did:
# alsactl store
# alsactl restore

Ok.

But when I reboot and execute the following command (also placed on my /etc/init.rd):
# alsactl restore
alsactl: load_state:1267: No soundcards found...

So I've looked on a similar thread on this same forum, called "Sound Probs/no sound on mandrake 10.1 ??????"
linuxquestions dot org / questions / showthread.php?s=&forumid=8&threadid=303780
(I cannot post links yet...

But I didn't solve my problem. I think that something is repeated on my lsmod (my soundcard), but I don't know how to solve that (if is this, which module should I remove?)


So I send, also, both my LSPCI and LSMOD:

# lspci
0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
0000:00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
0000:00:04.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
0000:00:04.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:04.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
0000:00:04.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
0000:00:0b.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI] (rev 01)
0000:00:0d.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 02)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV5 [RIVA TNT2/TNT2 Pro] (rev 11)


# lsmod
Module Size Used by
lp 11176 0
ipv6 264612 14
af_packet 22600 2
pcspkr 3592 0
rtc 12760 0
floppy 61200 0
parport_pc 36900 1
parport 41832 2 lp,parport_pc
pci_hotplug 34640 0
intel_agp 22816 1
snd_ens1370 19780 0
snd_rawmidi 25156 1 snd_ens1370
snd_seq_device 8200 1 snd_rawmidi
snd_pcm_oss 55048 0
snd_mixer_oss 20096 1 snd_pcm_oss
snd_pcm 98728 2 snd_ens1370,snd_pcm_oss
snd_timer 25668 1 snd_pcm
snd_page_alloc 11752 2 snd_ens1370,snd_pcm
snd_ak4531_codec 7776 1 snd_ens1370
snd 57156 8 snd_ens1370,snd_rawmidi,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_ak4531_codec
agpgart 34696 1 intel_agp
dm_mod 59804 0
capability 4520 0
commoncap 7232 1 capability
autofs 16928 0
ide_cd 42656 0
cdrom 40732 1 ide_cd
smbfs 69720 0
sis900 20612 0
crc32 4320 1 sis900
nfsd 201312 0
exportfs 6368 1 nfsd
nfs 193984 0
lockd 63944 2 nfsd,nfs
evdev 9600 0
sunrpc 153124 3 nfsd,nfs,lockd
uhci_hcd 33136 0
ohci_hcd 21764 0
fat 46784 0
mousedev 10476 1
ntfs 101940 0
es1370 35980 1
soundcore 10336 3 snd,es1370
gameport 4704 2 snd_ens1370,es1370
usbkbd 7424 0
usbcore 119012 5 uhci_hcd,ohci_hcd,usbkbd
ext3 127240 4
jbd 62616 1 ext3
mbcache 9348 1 ext3
ide_generic 1408 0
piix 13440 1
ide_disk 19296 7
ide_core 139908 4 ide_cd,ide_generic,piix,ide_disk
unix 28692 462
font 8320 0
vesafb 6656 0
cfbcopyarea 3840 1 vesafb
cfbimgblt 3040 1 vesafb
cfbfillrect 3776 1 vesafb


And here goes my discover:

# discover
unknown unknown
unknown unknown
unknown unknown
Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge
Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge
Intel Corp. 82371AB/EB/MB PIIX4 ISA
Intel Corp. 82371AB/EB/MB PIIX4 IDE
Intel Corp. 82371AB/EB/MB PIIX4 USB
Intel Corp. 82371AB/EB/MB PIIX4 ACPI
Ensoniq ES1370 [AudioPCI]
Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet
nVidia Corporation NV5 [RIVA TNT2/TNT2 Pro]
unknown unknown


Thanks,
 
Old 04-04-2005, 07:38 PM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
HI!
It seems to me that "no soundcards found" appears because at the time the command runs, there's no driver loaded for the card. Try to move the command to the end of the boot process, and make sure the drivers are loaded. Maybe SysV init editor can help you with that.

PS - I had similar but not identical problems. Please use this suggestion at your own risk.


Good luck!
 
Old 04-13-2005, 10:01 AM   #3
ferlopes
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Original Poster
Rep: Reputation: 0
didn't worked

Hi

I've changed the order (putted alsa on S99) - but still having problems.

The strangest thing is that if I manually config, it works. But I don't have to manually configure each time I want to listen music...

thanks

Fernão
 
Old 04-17-2005, 09:04 PM   #4
bluewildangel
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Rep: Reputation: 0
Pb with alsctl : No soundcards found

Dear fernao,

I experienced exactly the same trouble when trying to build a linux from scratch system (LFS)
and going beyond with sound and ALSA (BLFS) installation.
I compiled the same drivers 1.0.8. as yours as modules of a 2.6.9 kernel.
But it seemed that the driver of my sound card was not correctly set up during
the boot sequence.
In fact LFS and (Beyond LFS) make use of sys-V style init scripts.
alsactl command is used inside a dedicated "alsa" script (of BLFS) to restore
volumes and store them at shutdown. When my scripts launched the command,
I got exactly the same message as yours:

/usr/sbin./alsctl:load_state:1267: No soundcards found.

To correct this, the only thing I did was to probe the module corresponding to
my sound card,

/sbin/modprobe snd-via82xx

before using alsactl.

All this was performed through the mountfs script of the LFS distribution. For this,
I mentioned the module snd-via822xx in /etc/sysconfig/modules which registers all
user-space modules to be called at boot time. And then launched alsactl store./restore at startup
or shutdown to scripts. I suggest you to download bootscripts coming along with
the LFS and (BLFS) distros (Nothing more than a few Kos) for analyzing.
Better and simpler, I wish this rule may help you: modprobe your driver before using alsactl.




Regards,
mehdi
 
Old 04-17-2005, 09:14 PM   #5
bluewildangel
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Rep: Reputation: 0
Erratum :

The LFS script to consider is called modules and not mountfs.
It simply probes user-space modules.

Good luck Fernao
 
Old 05-07-2005, 02:43 PM   #6
rph78
LQ Newbie
 
Registered: May 2005
Posts: 2

Rep: Reputation: 0
I've issued a similar problem on my asus laptop having an AC97 integrated audio card just unloading the debian original i810_audio module from /etc/modules. This one was preventing the loading of alsa modules at boot. Commenting it worked.

rph
 
  


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
alsamixer settings won't stick, "alsactl restore" as root after song change apax Linux - Software 0 01-01-2005 10:07 AM
alsactl restore not working at boot rgiggs Slackware 4 07-14-2004 03:57 PM
alsactl and mocules.conf problem to restore/store values destin Slackware 4 04-03-2004 08:12 AM
alsactl restore problem Guste Debian 1 02-08-2004 01:53 AM
Doing alsactl to restore mixer setings Maurice Arthur Linux - Software 0 11-11-2003 12:56 AM


All times are GMT -5. The time now is 07:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration