alsactl: save_state:1497: No soundcards found…
Fala galera, primeiro peço desculpa pela falta de atualizações, mas tá faltando é tempo mesmo. =/
nesses dias que se passaram aproveitei para atualizar o kernel do meu gentoo para o 2.6.24-r2, tudo normal menos o som que parou de funcionar!
/etc/init.d/alsasound restart
* WARNING: you are stopping a boot service.
* Storing ALSA Mixer Levels …
alsactl: save_state:1497: No soundcards found…
* Error saving levels. [ !! ]
* Killing processes using ALSA … [ ok ]
* Unloading ALSA modules … [ ok ]
* Loading ALSA modules …
* Loading: snd-card-0 … [ ok ]
* Loading: snd-seq-oss … [ ok ]
* Loading: snd-mixer-oss … [ ok ]
* Loading: snd-pcm-oss … [ ok ]
* ERROR: Failed to load necessary drivers [ ok ]
* Restoring Mixer Levels …
alsactl: unrecognized option `—’
Usage: alsactl <options> commandAvailable options:
-h,–help this help
-f,–file # configuration file (default /etc/asound.state or /etc/asound.names)
-F,–force try to restore the matching controls as much as possible
(default mode)
-P,–pedantic don’t restore mismatching controls (old default)
-d,–debug debug mode
-v,–version print version of this programAvailable commands:
store <card #> save current driver setup for one or each soundcards
to configuration file
restore <card #> load current driver setup for one or each soundcards
from configuration file
names <card #> dump information about all the known present (sub-)devices
into configuration file (DEPRECATED)
* Errors while restoring defaults, ignoring
dmesg
snd_pcm: Unknown symbol snd_timer_notify
snd_pcm: Unknown symbol snd_timer_interrupt
snd_pcm: Unknown symbol snd_timer_new
snd_hda_intel: Unknown symbol snd_pcm_new
snd_hda_intel: Unknown symbol snd_pcm_limit_hw_rates
snd_hda_intel: Unknown symbol snd_pcm_lib_preallocate_pages_for_all
snd_hda_intel: Unknown symbol snd_pcm_lib_malloc_pages
snd_hda_intel: Unknown symbol snd_pcm_lib_ioctl
snd_hda_intel: Unknown symbol snd_pcm_lib_free_pages
snd_hda_intel: Unknown symbol snd_pcm_set_ops
snd_hda_intel: Unknown symbol snd_pcm_suspend_all
snd_hda_intel: Unknown symbol snd_pcm_hw_constraint_integer
snd_hda_intel: Unknown symbol snd_pcm_period_elapsed
snd_hda_intel: Unknown symbol snd_pcm_hw_constraint_step
snd_hda_intel: Unknown symbol snd_pcm_format_width
lspci -v
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
Subsystem: Giga-byte Technology Unknown device a002
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
Memory at f5100000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask+ 64bit+ Queue=0/0 Enable-
Capabilities: [6c] HyperTransport: MSI Mapping Enable- Fixed+
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
nesta versão do kernel tivemos vários modificações no driver de som snd-hda-intel, você pode ver mais clicando aqui!
basta adicionar suporte ao codec no kernel:
Device Drivers —>
Sound —>
<*> Sound card support
Advanced Linux Sound Architecture —>
<*> Advanced Linux Sound Architecture
<M> Sequencer support
< > Sequencer dummy client
<M> OSS Mixer API
<M> OSS PCM (digital audio) API
[*] OSS PCM (digital audio) API - Include plugin system
PCI devices —>
<M> Intel HD Audio
[ ] Build hwdep interface for HD-audio driver
[*] Build Realtek HD-audio codec support
[ ] Build Analog Device HD-audio codec support
[ ] Build IDT/Sigmatel HD-audio codec support
[ ] Build VIA HD-audio codec support
[ ] Build ATI HDMI HD-audio codec support
[ ] Build Conexant HD-audio codec support
[ ] Build C-Media HD-audio codec support
[ ] Build Silicon Labs 3054 HD-modem codec support
[ ] Enable generic HD-audio codec parser
[ ] Aggressive power-saving on HD-audio
abraço,
até…