View previous topic :: View next topic |
Author |
Message |
dale12kk n00b
Joined: 20 May 2005 Posts: 14
|
Posted: Fri May 04, 2007 8:24 am Post subject: Alsa + snd_intel8x0 module |
|
|
I have a little problem running alsa on this module.
Krenel version 2.6.20-r7
lspci:
Quote: | 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 746 Host (rev 10)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] (r ev 25)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Soun d Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Et hernet (rev 90)
00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139 C+ (rev 10)
01:00.0 VGA compatible controller: nVidia Corporation NV6 [Vanta/Vanta LT] (rev 15)
|
Kernel config:
Quote: |
Sound->
<*> Sound card support
Advanced Linux Sound Architecture --->
<*> Advanced Linux Sound Architecture
<*> Sequencer support
<*> Sequencer dummy client
<*> OSS Mixer API
<*> OSS PCM (digital audio) API
[*] OSS PCM (digital audio) API - Include plugin system
[ ] OSS Sequencer API
< > RTC Timer support
[ ] Dynamic device file minor numbers
[ ] Support old ALSA API
[ ] Verbose procfs contents
[ ] Verbose printk
[ ] Debug
Generic devices --->
PCI devices --->
<M> Intel/SiS/nVidia/AMD/ALi AC97 Controller |
dmesg:
Quote: | ...
Intel 810 + AC97 Audio, version 1.01, 13:33:04 May 3 2007
ACPI: PCI Interrupt 0000:00:02.7[C] -> GSI 18 (level, low) -> IRQ 21
i810: SiS 7012 found at IO 0xd800 and 0xdc00, MEM 0x0000 and 0x0000, IRQ 21
input: ImPS/2 Generic Wheel Mouse as /class/input/input3
i810_audio: Audio Controller supports 6 channels.
i810_audio: Defaulting to base 2 channel mode.
i810_audio: Resetting connection 0
ac97_codec: AC97 codec, id: CMI130 (Unknown)
i810_audio: only 48Khz playback available.
i810_audio: AC'97 codec 0 supports AMAP, total channels = 6
Advanced Linux Sound Architecture Driver Version 1.0.14rc1 (Tue Jan 09 09:56:17 2007 UTC).
ALSA device list:
No soundcards found.
... |
/etc/init.d/alsasound restart (after alsaconf):
Quote: | * Storing ALSA Mixer Levels ...
alsactl: save_state:1253: No soundcards found...
* Error saving levels. [ !! ]
* Killing processes using ALSA ... [ ok ]
* Unloading ALSA modules ... [ ok ]
* Loading ALSA modules ...
* Could not detect custom ALSA settings. Loading all detected alsa drivers.
* Loading: snd_intel8x0 ... [ ok ]
* ERROR: Failed to load necessary drivers [ ok ]
* Restoring Mixer Levels ...
* No mixer config in /var/lib/alsa/asound.state, you have to unmute your [ ok ] |
and alsamixer gives something like this:
Quote: | alsamixer: function snd_ctl_open failed for default: No such device
|
I think the problem is that alsa dosn't see the soundcard. After compling the snd_intel8x0 module into the kernel i get the same result.
Any sugestions how i can fix this ? |
|
Back to top |
|
|
hcintra n00b
Joined: 27 Jan 2005 Posts: 51
|
Posted: Fri May 04, 2007 4:18 pm Post subject: |
|
|
Have you configured /etc/modules.d/alsa or ran alsaconf?
The Gentoo Alsa guide recomends that you leave alkl the alsa related kernel options as modules, you have left the driver as a module but compiled the rest in the kernel, I am not sure that you can do it part one way part another. I used to have it all compiled in the kernel. I am now using the alsa-driver out of the kernel.
My guess is that your card is not being connected because you don't have the intel8x0 driver up, run lsmod to check if it is up.
Remember to run update-modules -f and to restart the alsasound deamon (/etc/init.d/alsasound restart) if you tweak /etc/modules.d/alsa by yourself (alsaconf does it automatically). |
|
Back to top |
|
|
dale12kk n00b
Joined: 20 May 2005 Posts: 14
|
Posted: Fri May 04, 2007 7:31 pm Post subject: |
|
|
Yes I've done alsaconf.
I had the alsa options in every combination (I even compiled everything as a module exept the driver) so it's no it.
this is the lsmod:
Quote: | Module Size Used by
snd_intel8x0 30364 0
snd_ac97_codec 87968 1 snd_intel8x0
ac97_bus 6144 1 snd_ac97_codec
|
I think i'll try the alsa-driver next ... (oh and it worked with everything in the kernel and the driver as a module before) |
|
Back to top |
|
|
geekslack n00b
Joined: 19 Sep 2005 Posts: 10 Location: Brazil
|
Posted: Sun Aug 26, 2007 3:42 pm Post subject: |
|
|
I have exactly same problem.
when I run alsaconf, its identify my card correctly, but look the message:
Code: |
Running modules-update...
* Please run 'update-modules' from now on; 'modules-update' is going away
Loading driver...
* Loading ALSA modules ...
* Loading: snd-card-0 ... [ ok ]
* Loading: snd-seq-oss ... [ ok ]
* Loading: snd-pcm-oss ... [ ok ]
* ERROR: Failed to load necessary drivers [ ok ]
* Restoring Mixer Levels ...
|
Code: |
<M> Sound card support
<M> Advanced Linux Sound Architecture
<M> Sequencer support
<M> Sequencer dummy client
<M> OSS Mixer API
<M> OSS PCM (digital audio) API
[*] OSS PCM (digital audio) API - Include plugin system
[*] OSS Sequencer API
<M> RTC Timer support
Generic devices --->
<M> Dummy (/dev/null) soundcard
<M> Virtual MIDI soundcard
<M> MOTU MidiTimePiece AV multiport MIDI
<M> ESI Miditerminal 4140 driver
<M> UART16550 serial MIDI driver
<M> Generic MPU-401 UART driver
<M> Portman 2x4 driver
ISA devices --->
<M> Intel/SiS/nVidia/AMD/ALi AC97 Controller
<M> Intel/SiS/nVidia/AMD MC97 Modem
|
After execute alsaconf I run /etc/init.d/alsasound start:
Code: |
ssteknb02 linux # /etc/init.d/alsasound start
* Storing ALSA Mixer Levels ...
alsactl: save_state:1253: 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-pcm-oss ... [ ok ]
* ERROR: Failed to load necessary drivers [ ok ]
* Restoring Mixer Levels ...
alsactl: unrecognized option `---'
Usage: alsactl <options> command
Available 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
-d,--debug debug mode
-v,--version print version of this program
Available 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
* Errors while restoring defaults, ignoring [ ok ]
ssteknb02 linux #
|
Code: |
ssteknb02 linux # lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 760/M760 Host (rev 03)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] (rev 25)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
00:06.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
00:0b.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760/761 PCI/AGP VGA Display Adapter
|
Code: |
ssteknb02 linux # lsmod
Module Size Used by
snd_pcm_oss 32640 0
snd_mixer_oss 12736 1 snd_pcm_oss
snd_seq_dummy 2436 0
snd_seq_oss 22528 0
snd_seq_midi_event 3904 1 snd_seq_oss
snd_seq 32304 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 4812 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_intel8x0 23580 0
snd_ac97_codec 71460 1 snd_intel8x0
snd_pcm 49284 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer 14916 2 snd_seq,snd_pcm
snd 31172 9 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc 6408 2 snd_intel8x0,snd_pcm
i810_audio 28180 0
ac97_codec 12428 1 i810_audio
ac97_bus 1664 1 snd_ac97_codec
soundcore 4768 2 snd,i810_audio
|
_________________ Geek_Slack
geekslack@gentoobr.org
Gentoo x86
kernel 2.6.22-gentoo-r2 |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sun Aug 26, 2007 3:58 pm Post subject: |
|
|
Weird problem in fact |
|
Back to top |
|
|
geekslack n00b
Joined: 19 Sep 2005 Posts: 10 Location: Brazil
|
Posted: Sun Aug 26, 2007 4:16 pm Post subject: |
|
|
Well...
I revised my kernel confs based in other post.
So... in my kernel I was activated others cards (genkernel do) and kernel was selected VIA cards.
I remove all other cards and recompile kernel.
Now it's work correctly. _________________ Geek_Slack
geekslack@gentoobr.org
Gentoo x86
kernel 2.6.22-gentoo-r2 |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|