à chaque
InstallMandriva2006 son
ProblemeDeSon ;-)
http://forum.hardware.fr/hardwarefr/OSAlternatifs/Son-Pas-Mandrake-nforce2-basculer-entre-sujet-35958-1.htm contenu de module.conf
http://forum.mandrivaclub.com/viewtopic.php?t=47801 avec 2 cartes son
http://forum.mandrivaclub.com/viewtopic.php?t=47361
http://club-beta.mandriva.com/xwiki/bin/bubar/EtLeSonII explications en long, en large, en travers de alsa
http://ubuntuforums.org/showthread.php?t=26567 post de ploum en anglais
http://ubuntuforums.org/showthread.php?t=26567 if 2 sound cards
http://forum.mandrivaclub.com/viewtopic.php?t=45269&highlight=alsa
http://forum.mandrivaclub.com/viewtopic.php?t=48901
- contenu de /etc/modprobe.conf avant modif' (quand ça ne marche pas)
# This file is autogenerated from /etc/modules.conf using generate-modprobe.conf command
alias eth0 forcedeth
remove snd-intel8x0 /sbin/modprobe -r snd-pcm-oss; /sbin/modprobe --first-time -r --ignore-remove snd-intel8x0
install snd-intel8x0 /sbin/modprobe --first-time --ignore-install snd-intel8x0 && { /sbin/modprobe snd-pcm-oss; /bin/true; }
alias sound-slot-0 snd-intel8x0
install usb-interface /sbin/modprobe ohci-hcd; /sbin/modprobe ehci-hcd; /bin/true
au boot, dans /var/log/messages :
kernel: intel8x0_measure_ac97_clock: measured 50666 usecs
kernel: intel8x0: clocking to 47376
alsa: succeeded
lspcidrake -v
nvidia-agp : nVidia Corp.|nForce2 AGP Controller [BRIDGE_HOST] (vendor:10de device:01e0 subv:1043 subd:80ac)
unknown : NVIDIA Corp.|nForce2 Memory Controller 0 [MEMORY_RAM] (vendor:10de device:01ea subv:10de subd:0c17)
unknown : nVidia Corp.|nForce2 Memory Controller [MEMORY_RAM] (vendor:10de device:01ee subv:10de subd:0c17)
unknown : nVidia Corp.|nForce2 Memory Controller [MEMORY_RAM] (vendor:10de device:01ed subv:10de subd:0c17)
unknown : nVidia Corp.|nForce2 Memory Controller [MEMORY_RAM] (vendor:10de device:01ec subv:10de subd:0c17)
unknown : nVidia Corp.|nForce2 Memory Controller [MEMORY_RAM] (vendor:10de device:01ef subv:10de subd:0c17)
unknown : nVidia Corp.|nForce2 LPC / Legacy / System Management [BRIDGE_ISA] (vendor:10de device:0060 subv:1043 subd:80ad)
i2c-nforce2 : nVidia Corp.|nForce2 SMBus 2.0 Controller [SERIAL_SMBUS] (vendor:10de device:0064 subv:1043 subd:0c11)
usb-ohci : nVidia Corp.|nForce2 USB 1.0 OHCI Controller [SERIAL_USB] (vendor:10de device:0067 subv:1043 subd:0c11)
usb-ohci : nVidia Corp.|nForce2 USB 1.0 OHCI Controller [SERIAL_USB] (vendor:10de device:0067 subv:1043 subd:0c11)
ehci-hcd : nVidia Corp.|nForce2 USB 2.0 Enhanced Controller [SERIAL_USB] (vendor:10de device:0068 subv:1043 subd:0c11)
forcedeth : nVidia Corp.|nForce2 MCP Networking Adapter [NETWORK_ETHERNET] (vendor:10de device:0066 subv:1043 subd:80a7)
snd-intel8x0 : nVidia Corp.|nForce2 Audio Codec Interface [MULTIMEDIA_AUDIO] (vendor:10de device:006a subv:1043 subd:8095)
unknown : nVidia Corp.|nForce2 External PCI Bridge [BRIDGE_PCI] (vendor:10de device:006c)
amd74xx : nVidia Corp.|nForce2 UDMA 100/133 IDE Controller [STORAGE_IDE] (vendor:10de device:0065 subv:1043 subd:0c11)
agpgart : nVidia Corp.|nForce2 AGP Host to PCI Bridge [BRIDGE_PCI] (vendor:10de device:01e8)
Card:NVIDIA GeForce FX (generic): nVidia Corporation|NV43 [GeForce 6600/GeForce 6600 GT] [DISPLAY_VGA] (vendor:10de device:00f1 subv:1043 subd:81a6)
hub : Linux 2.6.12-18mdk ehci_hcd|EHCI Host Controller [Hub|Unused] (vendor:0000 device:0000)
hub : Linux 2.6.12-18mdk ohci_hcd|OHCI Host Controller [Hub|Unused] (vendor:0000 device:0000)
hub : Linux 2.6.12-18mdk ohci_hcd|OHCI Host Controller [Hub|Unused] (vendor:0000 device:0000)
[root@BenBartux en]# lspcidrake -v | fgrep AUDIO
snd-intel8x0 : nVidia Corp.|nForce2 Audio Codec Interface [MULTIMEDIA_AUDIO] (vendor:10de device:006a subv:1043 subd:8095)
[root@BenBartux en]# grep sound-slot /etc/modules.conf /etc/modprobe.conf
/etc/modprobe.conf:alias sound-slot-0 snd-intel8x0
[root@BenBartux en]# /sbin/lsmod|grep snd
snd_usb_audio 73120 0
snd_usb_lib 13952 1 snd_usb_audio
snd_rawmidi 19616 1 snd_usb_lib
snd_hwdep 6848 1 snd_usb_audio
snd_seq_dummy 2532 0
snd_seq_oss 31136 0
snd_seq_midi_event 5696 1 snd_seq_oss
snd_seq 46960 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 6828 4 snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 48960 0
snd_mixer_oss 16896 1 snd_pcm_oss
snd_intel8x0 28404 1
snd_ac97_codec 83900 1 snd_intel8x0
snd_pcm 79784 4 snd_usb_audio,snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer 20548 2 snd_seq,snd_pcm
snd_page_alloc 8392 2 snd_intel8x0,snd_pcm
snd 46116 14 snd_usb_audio,snd_rawmidi,snd_hwdep,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore 7008 1 snd
usbcore 108476 6 snd_usb_audio,snd_usb_lib,pwc,ehci_hcd,ohci_hcd
[root@BenBartux en]# /sbin/chkconfig --list sound
sound 0:arrêt 1:arrêt 2:marche 3:marche 4:marche 5:marche 6:arrêt
[root@BenBartux en]# /sbin/chkconfig --list alsa
alsa 0:arrêt 1:arrêt 2:marche 3:marche 4:marche 5:marche 6:arrêt
[root@BenBartux en]# aumix -q
vol 77, 77, P
pcm 77, 77
speaker 80, 80
line 77, 77, P
mic 0, 0, R
cd 77, 77, P
igain 80, 80
line1 77, 77, P
dig1 0, 0
phin 77, 77, P
phout 84, 84, P
video 77, 77, P
[root@BenBartux en]# amixer
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 24 [77%] [on]
Front Right: Playback 24 [77%] [on]
Simple mixer control 'Master Mono',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 26 [84%] [on]
Simple mixer control '3D Control - Center',0
Capabilities: volume volume-joined
Playback channels: Mono
Limits: 0 - 15
Mono: 0 [0%]
Simple mixer control '3D Control - Depth',0
Capabilities: volume volume-joined
Playback channels: Mono
Limits: 0 - 15
Mono: 0 [0%]
Simple mixer control '3D Control - Switch',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 24 [77%] [on]
Front Right: Playback 24 [77%] [on]
Simple mixer control 'Surround',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 24 [77%] [on]
Front Right: Playback 24 [77%] [on]
Simple mixer control 'Surround Down Mix',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Surround Jack Mode',0
Capabilities:
Mono:
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 24 [77%] [on]
Simple mixer control 'Center/LFE Down Mix',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 24 [77%] [on]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 24 [77%] [on] Capture [off]
Front Right: Playback 24 [77%] [on] Capture [off]
Simple mixer control 'CD',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 24 [77%] [on] Capture [off]
Front Right: Playback 24 [77%] [on] Capture [off]
Simple mixer control 'Mic',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 24 [77%] [off]
Front Left: Capture [on]
Front Right: Capture [on]
Simple mixer control 'Mic Boost (+20dB)',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Mic Select',0
Capabilities:
Mono:
Simple mixer control 'Video',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 24 [77%] [on] Capture [off]
Front Right: Playback 24 [77%] [on] Capture [off]
Simple mixer control 'Phone',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 24 [77%] [on]
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined cswitch cswitch-joined
Playback channels: Mono
Capture channels: Mono
Mono: Playback [off] Capture [off]
Simple mixer control 'IEC958 Playback AC97-SPSA',0
Capabilities: volume volume-joined
Playback channels: Mono
Limits: 0 - 3
Mono: 2 [67%]
Simple mixer control 'PC Speaker',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 15
Mono: Playback 12 [80%] [on]
Simple mixer control 'Aux',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 24 [77%] [on] Capture [off]
Front Right: Playback 24 [77%] [on] Capture [off]
Simple mixer control 'Mono Output Select',0
Capabilities:
Mono:
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 12 [80%] [on]
Front Right: Capture 12 [80%] [on]
Simple mixer control 'Mix',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Mix Mono',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Analog to IEC958 Output',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Channel Mode',0
Capabilities:
Mono:
Simple mixer control 'Duplicate Front',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Exchange Center/LFE',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'External Amplifier',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Swap Surround Slot',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
=> not suficient to diagnose :-(
play /usr/share/games/armagetron/sound/expl.wav
sox: Unable to reset OSS driver. Possibly accessing an invalid file/device
aplay /usr/share/games/armagetron/sound/expl.wav
rmmod snd-* # jusqu'à ce qu'il n'en reste plus
service alsa stop
modprobe snd_intel8x0
[root@
BenBartux? ~]# lsmod|grep snd
snd_pcm_oss 48960 0
snd_mixer_oss 16896 1 snd_pcm_oss
snd_intel8x0 28404 0
snd_ac97_codec 83900 1 snd_intel8x0
snd_pcm 79784 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer 20548 1 snd_pcm
snd 46116 6 snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore 7008 1 snd
snd_page_alloc 8392 2 snd_intel8x0,snd_pcm
un tail -f /var/log/messages affiche
Apr 18 02:48:43 BenBartux kernel: intel8x0_measure_ac97_clock: measured 50732 usecs
Apr 18 02:48:43 BenBartux kernel: intel8x0: clocking to 47438
Apr 18 02:48:43 BenBartux pam_console.dev[9976]: Restoring console permissions for /dev/snd/pcmC0D0p
Apr 18 02:48:43 BenBartux pam_console.dev[9997]: Restoring console permissions for /dev/mixer /dev/sound/mixer
Apr 18 02:48:43 BenBartux pam_console.dev[10011]: Restoring console permissions for /dev/dsp /dev/sound/dsp
Apr 18 02:48:43 BenBartux pam_console.dev[10022]: Restoring console permissions for /dev/audio /dev/sound/audio
Apr 18 02:48:43 BenBartux pam_console.dev[10032]: Restoring console permissions for /dev/adsp /dev/sound/adsp
Apr 18 02:48:44 BenBartux pam_console.dev[10041]: Restoring console permissions for /dev/snd/pcmC0D0c
Apr 18 02:48:44 BenBartux pam_console.dev[10054]: Restoring console permissions for /dev/snd/controlC0
Apr 18 02:48:44 BenBartux pam_console.dev[9970]: Restoring console permissions for /dev/snd/pcmC0D1c
Apr 18 02:48:44 BenBartux pam_console.dev[9965]: Restoring console permissions for /dev/snd/pcmC0D2p