On Wed 13 Feb 2002 23:50, [EMAIL PROTECTED] wrote: > On Tuesday 12 February 2002 09:39, Thierry Vignaud wrote: > > [EMAIL PROTECTED] writes:
Try it : http://sourceforge.net/projects/cmedia/ > > > I have tested Mandrake 8.2 Beta1 and still have the same problem with > > > Mandrake 8.1 on C-Media 8338A sound card support, there's hiss noise > > > when playing .mp3, .ogg files using xmms and mpg123. This problem have > > > been posted already on the kernel mailing list but no solution yet to > > > be found. The C-Media sound chip 8338A have been supported well since > > > it was included on the kernel but broken sometime 2.4.6 and up. Does > > > anyone using Mandrake above version 7.2 have an alternative solution to > > > this aside from buying another sound card? > > > > try using snd-card-cmipci instead of cmpci module: change the > > sound-slot-0 alias in /etc/modules. > > then enable alsa service (ntsysv on console, or through mandrake > > control center). > > either reboot, or restart sound & alsa services to test ALSA module > > instead of OSS one (but then, stop the sound service before changing > > its module). > > > > if ALSA driver works better for your card, send me the result of > > "lspcidrake -v" and i'll change the default for your card. > > First of all I would like to thank you for your help. > I am using the default kernel of Mandrake 8.2 Beta1, 2.4.17-10mdk. > Just following the given instruction above, I was not able to hear > any sound until I added the following line on /etc/modules.conf file > > alias snd-card-1 snd-card-cmipci > > and ajusted the mixer volume. > > My sound card now works perfectly using the Alsa driver now : ). > Below is the lspcidrake -v output you requested. > > [root@homepc vernie]# lspcidrake -v > agpgart : Intel Corporation|440BX/ZX - 82443BX/ZX Host bridge > [BRIDGE_HOST] (vendor:8086 device:7190) unknown : Intel > Corporation|440BX/ZX - 82443BX/ZX AGP bridge [BRIDGE_PCI] (vendor:8086 > device:7191) unknown : Intel Corporation|82371AB PIIX4 ISA > [BRIDGE_ISA] (vendor:8086 device:7110) unknown : Intel > Corporation|82371AB PIIX4 IDE [STORAGE_IDE] (vendor:8086 device:7111) > usb-uhci : unknown (8086/7112/ffff/ffff) [SERIAL_USB] sonypi > : Intel Corporation|82371AB PIIX4 ACPI - Bus Master IDE Controller > [BRIDGE_OTHER] (vendor:8086 device:7113) cmpci : C-Media > Electronics Inc|CM8338A [MULTIMEDIA_AUDIO] (vendor:13f6 device:0100 > subv:13f6 subd:0000) bttv : Brooktree Corporation|Bt848 TV with > DMA push [MULTIMEDIA_VIDEO] (vendor:109e device:0350) ne2k-pci : > Winbond Electronics Corp|W89C940 [NETWORK_ETHERNET] (vendor:1050 > device:0940) Card:RIVA TNT2 : nVidia Corporation|Riva TNT2 [DISPLAY_VGA] > (vendor:10de device:0028) > > > However, below are the log messages I have found out in > /var/log/messages: > > logs for /etc/rc.d/init.d/alsa start > > Feb 13 23:37:58 homepc alsa: succeeded > Feb 13 23:37:59 homepc modprobe: modprobe: Can't locate module snd-card-2 > Feb 13 23:38:00 homepc modprobe: modprobe: Can't locate module snd-card-3 > Feb 13 23:38:00 homepc modprobe: modprobe: Can't locate module snd-card-4 > Feb 13 23:38:00 homepc modprobe: modprobe: Can't locate module snd-card-5 > Feb 13 23:38:01 homepc modprobe: modprobe: Can't locate module snd-card-6 > Feb 13 23:38:01 homepc modprobe: modprobe: Can't locate module snd-card-7 > > logs for /etc/rc.d/init.d/sound start: > > Feb 13 23:38:23 homepc aumix: vol set to 100, 100 > Feb 13 23:38:23 homepc aumix: synth set to 100, 100, P > Feb 13 23:38:23 homepc aumix: pcm set to 100, 100, P > Feb 13 23:38:23 homepc aumix: speaker set to 100, 100 > Feb 13 23:38:23 homepc aumix: line set to 100, 100, P > Feb 13 23:38:23 homepc aumix: mic set to 0, 0, P > Feb 13 23:38:23 homepc aumix: cd set to 100, 100, P > Feb 13 23:38:23 homepc aumix: igain set to 100, 100 > Feb 13 23:38:23 homepc aumix: line1 set to 100, 100, P > Feb 13 23:38:23 homepc sound: Loading mixer settings succeeded > > Do I have to put the following lines on /etc/modules.conf file just > to avoid such messages? what should be the correct entries? > > alias snd-card-1 snd-card-cmipci > alias snd-card-2 snd-card-cmipci > alias snd-card-3 snd-card-cmipci > alias snd-card-4 snd-card-cmipci > alias snd-card-5 snd-card-cmipci > alias snd-card-6 snd-card-cmipci > alias snd-card-7 snd-card-cmipci > > Adding the above lines on /etc/modules.conf eliminates the error > messages but have the following messages when Alsa started: > > Starting ALSA version 0.5.12a: cmipci cmipci cmipci cmipci [ OK ]mipci > cmipci. > > > Below is the lsmod output (sound card already working): > [root@homepc vernie]# lsmod > Module Size Used by Not tainted > snd-seq-oss 25600 0 (unused) > snd-seq-midi-event 3184 0 [snd-seq-oss] > snd-seq 40880 0 [snd-seq-oss snd-seq-midi-event] > snd-pcm-oss 18816 0 > snd-pcm-plugin 16080 0 [snd-pcm-oss] > snd-mixer-oss 4704 0 [snd-pcm-oss] > snd-card-cmipci 20704 0 > snd-pcm 31616 0 [snd-pcm-oss snd-pcm-plugin > snd-card-cmipci] > snd-timer 8576 0 [snd-seq snd-pcm] > snd-mpu401-uart 2512 0 [snd-card-cmipci] > snd-rawmidi 10112 0 [snd-mpu401-uart] > snd-seq-device 3964 0 [snd-seq-oss snd-seq snd-rawmidi] > snd-mixer 24328 0 [snd-mixer-oss snd-card-cmipci] > snd 34272 1 [snd-seq-oss snd-seq-midi-event > snd-seq snd-pcm-oss snd-pcm-plugin snd-mixer-oss snd-card-cmipci snd-pcm > snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device snd-mixer] > soundcore 4068 5 [snd] > lp 6464 0 > parport_pc 22088 1 > parport 24000 1 [lp parport_pc] > af_packet 12488 0 (autoclean) > ne2k-pci 5120 0 (autoclean) (unused) > 8390 6416 0 (autoclean) [ne2k-pci] > sg 30180 0 (autoclean) (unused) > st 26996 0 (autoclean) (unused) > sr_mod 15160 0 (autoclean) (unused) > sd_mod 11644 0 (autoclean) (unused) > ide-scsi 8032 0 (autoclean) > scsi_mod 92440 5 (autoclean) [sg st sr_mod sd_mod > ide-scsi] > nls_iso8859-1 2816 1 (autoclean) > nls_cp437 4352 1 (autoclean) > vfat 9820 1 (autoclean) > fat 31864 0 (autoclean) [vfat] > tuner 8580 1 (autoclean) > tvaudio 10080 0 (autoclean) (unused) > bttv 59776 0 (unused) > i2c-algo-bit 7244 1 [bttv] > i2c-core 13568 0 [tuner tvaudio bttv i2c-algo-bit] > videodev 4896 2 [bttv] > rtc 5912 0 (autoclean) > reiserfs 168576 2 > > --end of lsmod output-- > > I also recompile a custom kernel and the Alsa driver, it works great : ) > > By the way, with Linux 2.5.5-pre1 kernel, ALSA have been merged, this is > good news *: ^). -- _________________________ Carlos E Gorges ([EMAIL PROTECTED]) Tech inform�tica LTDA Brazil _________________________
