On Wed, 19 Dec 2001 13:09:21 +0000 (GMT) Andrew Scott <[EMAIL PROTECTED]> wrote:
> Hello, > > I've made several posts to this list on related > problems which all seem to have the same source; > unfortunately I have yet to receive any reply. Please, > please help if you can; I'd be eternally grateful for > any practical help/suggestions. > > I am running SuSe 7.0 on an i686 with a 2.2.16 kernel. Is this a 'vanilla' kernel or the one supplied with SuSE? > I have a VIA 686a sound chip on the motherboard. I > obtained the alsa.rpm and alsaiconf.rpm from the v7.0 > section of the SuSe ftp server. I also downloaded and > built the latest stable alsa drivers, utils and libs > from the alsa project web site. > > I set my system up for alsa using the alsaconf > utility. Installing alsa from the alsa web site doesnt > make any difference. > > I understand that I am supposed to unmute the mixer by > use of the amixer command, however I consistently get > > nova:/proc/asound # amixer info > amixer: Mixer 0/0 open error: Invalid argument Why don't you try to use an OSS mixer? > [same result whatever parameters are used; similar > result for alsactl] > > Examining the source code reveals that this is due to > a failed ioctl call i.e. the mixer device has been > opened, but ioctl() failed subsequently. Well, I only know that according to the ALSA home page last time I looked 2.4.14+ kernels need recent drivers to prevent an error like: ALSA lib pcm_hw.c:598:(snd_pcm_hw_open) SNDRV_PCM_IOCTL_PVERSION failed: Inappropriate ioctl for device aplay: main:445: audio open error: Inappropriate ioctl for device > Examining /proc/asound gives > nova:/proc/asound # cat cards > 0 [card1 ]: VIA686A - VIA 82C686A > VIA 82C686A at 0xdc00, irq 5 > > and I provide lots of information below. I am very > sure the VIA chip is not PnP. Interestingly, after > carefully rmmod'ing all dependent modules, I am not > able to rmmod snd or rmmod soundcore because I am told > 'Device or resource busy'. The docs under > /usr/src/linux-2.2.16.SuSe/Documentation/sound tell me > to RTFM and check if any other process is using the > sound device. However I do not run Enlightenment or > gnome, (I run fvwm2), and I fail to see what other > process could be hogging sound. > > Could someone please please help? I've been banging my > head against a brick wall for far too long. Why does > sound installation have to be so hard? > > Thankyou > Andrew Scott > [EMAIL PROTECTED] > > nova:/proc/asound # cat devices > 0: [0] : control > 6: [0- 0]: mixer > 8: [0- 0]: raw midi > 16: [0- 0]: digital audio playback > 24: [0- 0]: digital audio capture > 33: : timer > > nova:/proc/asound # cat sndstat > Sound Driver:3.8.2-980706 (ALSA v0.5.12a emulation > code) > Kernel: Linux nova 2.2.16 #1 Wed Aug 2 20:22:26 GMT > 2000 i686 > Config options: 0 > > Installed drivers: > Type 10: ALSA emulation > > Card config: > VIA 82C686A at 0xdc00, irq 5 > > Audio devices: NOT ENABLED IN CONFIG > > Synth devices: NOT ENABLED IN CONFIG > > Midi devices: > 0: MPU-401 (UART) > > Timers: > 7: system timer > > Mixers: NOT ENABLED IN CONFIG > [The 'NOT ENABLED IN CONFIG' parts are worrying; this > is what alsaconf added to my /etc/modules.conf: > > # --- BEGIN: Generated by ALSACONF, do not edit. --- > # --- ALSACONF verion 0.5.9 --- > alias char-major-116 snd > alias snd-card-0 snd-card-via686a > alias char-major-14 soundcore > alias sound-slot-0 snd-card-0 > alias sound-service-0-0 snd-mixer-oss > alias sound-service-0-1 snd-seq-oss > alias sound-service-0-3 snd-pcm-oss > alias sound-service-0-8 snd-seq-oss > alias sound-service-0-12 snd-pcm-oss > options snd snd_major=116 snd_cards_limit=1 > snd_device_mode=0660 snd_device_gid=17 > snd_device_uid=0 > post-install snd alsactl restore > # --- END: Generated by ALSACONF, do not edit. ---] > > > nova:/proc/asound # ls -lsa dev > total 0 > 0 dr-xr-xr-x 2 root root 0 Dec 18 > 11:29 . > 0 dr-xr-xr-x 5 root root 0 Dec 18 > 11:29 .. > 0 crw-rw---- 1 root audio 0, 0 Dec 19 > 12:50 controlC0 > 0 crw-rw---- 1 root audio 0, 0 Dec 19 > 12:50 midiC0D0 > 0 crw-rw---- 1 root audio 0, 0 Dec 19 > 12:50 mixerC0D0 > 0 crw-rw---- 1 root audio 0, 0 Dec 19 > 12:50 pcmC0D0c > 0 crw-rw---- 1 root audio 0, 0 Dec 19 > 12:50 pcmC0D0p > 0 crw-rw---- 1 root audio 0, 0 Dec 19 > 12:50 timer > [This worries me a little; I cannot chmod 666 anything > under /proc, and why are the minor/major numbers 0?] > > nova:/proc/asound/card1 # cat ac97 > 0x57454301 WEC > > Capabilities : > DAC resolution : 16-bit > ADC resolution : 16-bit > 3D enhancement : Reserved 27 > > Current setup > MIC gain : +0dB [+0dB] > POP path : pre 3D > Sim. stereo : off > 3D enhancement : off > Loudness : off > Mono output : MIX > MIC select : MIC1 > ADC/DAC loopback : off > Extended ID : codec=3 > Extended status : > > nova:/proc/asound/card1 # cat mixerD0 > Mixer 'AC97' '0x57454301 WEC' > Elements 42 > Groups 11 > Switches 3 > > nova:/proc # cat ioports > 0000-001f : dma1 > 0020-003f : pic1 > 0040-005f : timer > 0060-006f : keyboard > 0070-007f : rtc > 0080-008f : dma page reg > 00a0-00bf : pic2 > 00c0-00df : dma2 > 00f0-00ff : fpu > 0170-0177 : ide1 > 01f0-01f7 : ide0 > 02f8-02ff : serial(auto) > 0300-0301 : VIA 82C686A - MPU401 > 0376-0376 : ide1 > 03c0-03df : vga+ > 03f0-03f5 : floppy > 03f6-03f6 : ide0 > 03f7-03f7 : floppy DIR > 03f8-03ff : serial(auto) > d000-d007 : ide0 > d008-d00f : ide1 > dc00-dcff : VIA 82C686A - AC'97 > e400-e403 : VIA 82C686A - MPU401 config > e800-e87f : 3Com EtherLink PCI NIC > [OK, I can see the MPU for my sound 'card' at 0x300, > but I am told there should also be something at 0x220 > or similar] > > nova:/proc # cat interrupts > CPU0 > 0: 51495426 XT-PIC timer > 1: 124601 XT-PIC keyboard > 2: 0 XT-PIC cascade > 5: 0 XT-PIC VIA 82C686A No interrupts generated yet, I would try some OSS application. > 6: 52 XT-PIC floppy > 8: 135114 XT-PIC rtc > 11: 2745122 XT-PIC eth0 > 12: 1724680 XT-PIC PS/2 Mouse > 13: 1 XT-PIC fpu > 14: 5508624 XT-PIC ide0 > 15: 187544 XT-PIC ide1 > NMI: 0 > > [I don't think there's an irq problem: > nova:/proc # dmesg | grep -i irq > VP_IDE: not 100% native mode: will probe irqs later > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 > ide1 at 0x170-0x177,0x376 on irq 15 > Serial driver version 4.27 with HUB-6 MANY_PORTS > MULTIPORT SHARE_IRQ enabled > ttyS00 at 0x03f8 (irq = 4) is a 16550A > ttyS01 at 0x02f8 (irq = 3) is a 16550A > enable_irq() unbalanced from d0030510 > enable_irq() unbalanced from d0030510] > > nova:/proc # cat modules > snd-card-via686a 8124 0 > snd-pcm 34456 0 [snd-card-via686a] > snd-timer 9952 0 [snd-pcm] > snd-ac97-codec 25856 0 [snd-card-via686a] > snd-mixer 27056 0 [snd-ac97-codec] > snd-mpu401-uart 3148 0 [snd-card-via686a] > snd-rawmidi 10392 0 [snd-mpu401-uart] > snd-seq-device 3844 0 [snd-rawmidi] > sound 57496 0 (unused) > soundlow 344 0 [sound] Sound and soundlow are OSS, not ALSA modules. > snd 41772 3 [snd-card-via686a > snd-pcm snd-timer snd-ac97-codec snd-mixer > snd-mpu401-uart snd-rawmidi snd-seq-device] > soundcore 2564 5 [sound snd] > ipv6 99624 -1 (autoclean) > vmnet 14856 4 > vmppuser 4944 0 (unused) > parport_pc 7568 0 (unused) > parport 7464 0 [vmppuser parport_pc] > vmmon 16460 1 > 3c90x 20240 1 (autoclean) > memstat 1476 0 (unused) > serial 42484 0 (autoclean) > usbcore 42760 0 (unused) > > nova:/proc # cat devices > Character devices: > 1 mem > 2 pty > 3 ttyp > 4 ttyS > 5 cua > 7 vcs > 10 misc > 14 sound > 29 fb > 36 netlink > 99 ppuser > 109 lvm > 116 alsa > 119 vmnet > 128 ptm > 136 pts > 162 raw > 180 usb > > Block devices: > 1 ramdisk > 2 fd > 3 ide0 > 7 loop > 9 md > 22 ide1 > 58 lvm -Frans _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user