Re: [Alsa-user] problems with ymf744 in toshiba tecra laptop
Brought to you by:
perex
From: Allen <ae...@pr...> - 2002-01-26 18:37:35
|
I seem to recall that when I got that far, I then did two things: 1. I fiddled with my modules.conf 2. I made sure I build the OSS compatability 3. Using nothing more than aumix with the OSS compatability, I can play whatever I want. ( I cannot record to save my ass, except under very rigorous circumstances with very high sampling rates. via686a ) Anyway, imho, I would do the 1,2,3 thing above. Perhaps you have already done so. That is the best I can suggest, however. Here's what I have in my modules.conf ----------------------------------------------- alias net-pf-4 ipx alias char-major-107 3dfx alias parport_lowlevel parport_pc pre-install plip modprobe parport_pc ; echo 7 > /proc/parport/0/irq alias autofs autofs4 probeall scsi_hostadapter ide-scsi alias eth0 8139too alias sound snd-card-via686a alias char-major-14 snd alias snd-minor-oss-0 snd-mixer alias sound-service-0-1 snd-seq-oss alias snd-minor-oss-3 snd-pcm-oss alias snd-minor-oss-4 snd-pcm-oss alias snd-minor-oss-5 snd-pcm-oss alias sound-service-0-8 snd-seq-oss alias snd-minor-oss-12 snd-pcm-oss alias snd-card-0 snd-card-via686a alias sound-slot-1 snd-mpu401-uart alias char-major-116 snd Note the "SND" and the "Char-major-14" and the snd-card-0 and the OSS stuff. ? -AEF On Saturday 26 January 2002 18:28, Roger E Critchlow Jr wrote: > Roger E Critchlow Jr writes: > Greetings: > > Continuing my tale of woe: > > Toshiba Tecra 8100, ymfpci sound, RedHat 7.2 upgraded to > > kernel-2.4.9-13 > > > > Abit BP0-6, ens1371 sound, RedHat 7.2 upgraded to kernel-2.4.9-13smp. > > with alsa from the cvs repository > > Because > > > > $ aplay /usr/share/sounds/startup1.wav > > > Playing WAVE '/usr/share/sounds/startup1.wav' : Signed 16 bit Little > > > Endian, Rate 22050 Hz, Stereo aplay: xrun:864: read/write error > > failed on both machines, I thought I had a Redhat or kernel-2.4.9 or > operator problem that was common to both machines. But the xrun from > aplay appears to be a red herring. Other sounds pretend to play with > out generating errors. > > The ens1371 finally started working last night. I happened to try > another device on the card, thus: > > aplay -v -D hw:0,1 /usr/share/sounds/startup2.wav > > this played audibly, and since then the default device works, too. Go > figure. > > On the Toshiba/ymf744/ymfpci machine, no such luck. > > Suggestions from the list were: > try the intel8x0 driver > (doesn't load, no such device) > try starting with nothing in modules.conf > (loads fine, makes no sounds) > > I've upgraded the kernel to 2.4.17 with patch jl13-ll, same results. > > It seems like everytime I look there's something new in the output of > amixer or alsactl, and some things are not initialized as muted. For > instance, there are these two controls: > > control.36 { > comment.access 'read write' > comment.type INTEGER > comment.range '0 - 16383' > iface MIXER > name 'Digital Capture Volume' > value.0 16383 > value.1 16383 > } > control.37 { > comment.access 'read write' > comment.type INTEGER > comment.range '0 - 16383' > iface MIXER > name 'Digital Capture Volume' > index 1 > value.0 16383 > value.1 16383 > } > > which don't show up in alsamixer but do show up in mixers going > through the oss. They initialized at max volume and have been there > ever since. > > The other thing which puzzles me is the output of > /proc/asound/sndstat. Right now it says: > ------------------------------------------------------------------------ > Sound Driver:3.8.1a-980706 (ALSA v0.9.0beta10 emulation code) > Kernel: Linux elf2.elf.org 2.4.17-jl13-ll #2 Thu Jan 24 01:47:22 MST 2002 > i686 Config options: 0 > > Installed drivers: > Type 10: ALSA emulation > > Card config: > Yamaha DS-XG PCI (YMF744) at 0xcd104000, irq 11 > > Audio devices: NOT ENABLED IN CONFIG > > Synth devices: > 0: OPL3 FM > > Midi devices: > 0: MPU-401 (UART) > > Timers: > 7: system timer > > Mixers: > 0: mixer00 > ------------------------------------------------------------------------ > Last night it listed the yamaha as an audio device. I have no idea > what "CONFIG" this message refers to, how I would config a sound card > without audio, or why the contents of sndstat seem to randomly change. > > Thanks again to those who have tried to help. I've been trying to > make alsa-0.9.0 run on this machine for nearly a month, seeking help > for a week, and all I've heard from the speakers are an occasional > faint crackling when the driver loads, or a faint click when aplay > finishes a wave. The alsa-driver-0.5.12a ymfpci driver works, the > ymfpci driver in the current 2.4.* kernel works, and the osslinux396a > driver works. > > But alsa-driver-0.9.0beta10 and subsequent cvs commits do compile, do > load without errors, do pretend to play sounds, do run the sequencer > interface, but do not make any audible sounds. > > I'm happy to provide any information, to try any patches or > to attempt any experiments, > > Patch to cvs/alsa-driver/Makefile appended which fixes the uninstall > target, though I'm not sure this is how you want to clean out the > kernel/sound directory. > > -- rec -- > > --- Makefile~ Fri Jan 4 10:51:59 2002 > +++ Makefile Sat Jan 26 11:25:52 2002 > @@ -126,7 +126,7 @@ > > .PHONY: install-modules > install-modules: > - rm -f $(DESTDIR)$(moddir)/snd*.o $(DESTDIR)$(moddir)/persist.o > $(DESTDIR)$(moddir)/isapnp.o + rm -rf $(DESTDIR)$(moddir)/* > @for d in $(SUBDIRS); do if ! $(MAKE) -C $$d modules_install; then exit > 1; fi; done ifeq ($(DESTDIR),) > /sbin/depmod -a > @@ -176,7 +176,7 @@ > .PHONY: uninstall > uninstall: > rm -rf $(DESTDIR)$(prefix)/include/sound > - rm -f $(DESTDIR)$(moddir)/snd*.o $(DESTDIR)$(moddir)/persist.o > $(DESTDIR)$(moddir)/isapnp.o + rm -rf $(DESTDIR)$(moddir)/* > rm -f $(DESTDIR)/sbin/init.d/alsasound > rm -f $(DESTDIR)/etc/rc.d/init.d/alsasound > rm -f $(DESTDIR)/etc/init.d/alsasound > > _______________________________________________ > Alsa-user mailing list > Als...@li... > https://lists.sourceforge.net/lists/listinfo/alsa-user -- "When I took off my space suit helmet, I let out a sigh. At least that's what I told the martians..." - Jack Handy |