problems getting going via 82cxx ...
Below I've included details of my whole setup, and some other notes, but to start with here's the strace from a failed mplayer test: write(1, "alsa-init: requested format: 441"..., 81alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit (Little-Endian) ) = 81 open("/dev/snd/controlC0", O_RDONLY) = 7 close(7) = 0 write(1, "alsa-init: 1 soundcard found, us"..., 44alsa-init: 1 soundcard found, using: hw:0,0 ) = 44 stat(umovestr: Input/output error 0, 0xbfffe7fc) = -1 EFAULT (Bad address) write(2, "ALSA lib ", 9ALSA lib ) = 9 write(2, "pcm.c", 5pcm.c) = 5 write(2, ":", 1:) = 1 write(2, "1906", 41906) = 4 write(2, ":(", 2:() = 2 write(2, "snd_pcm_open_noupdate", 21snd_pcm_open_noupdate) = 21 write(2, ") ", 2) ) = 2 write(2, "Unknown PCM ", 12Unknown PCM ) = 12 write(2, "hw:0,0", 6hw:0,0) = 6 write(2, "\n", 1 ) = 1 write(1, "alsa-init: playback open error: "..., 58alsa-init: playback open error: No such file or directory ) = 58 write(2, "Could not open/initialize audio "..., 52Could not open/initialize audio device -> no sound. ) = 52 OK here's my various config files: /etc/modules.conf ----------------- alias char-major-116 snd alias snd-card-0 snd-via82xx # module options should go here # OSS/Free portion alias char-major-14 soundcore alias sound-slot-0 snd-card-0 # card #1 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-pcm-oss snd_dsp_map=0 snd_adsp_map=1 options snd-via82xx dxs_support=3 /etc/devfsd.conf ---------------- REGISTER .* MKOLDCOMPAT UNREGISTER .* RMOLDCOMPAT REGISTER .* MKNEWCOMPAT UNREGISTER .* RMNEWCOMPAT LOOKUP .* MODLOAD REGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL mksymlink $devname cdrom UNREGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL unlink cdrom REGISTER ^input/mouse0$ CFUNCTION GLOBAL mksymlink $devname usbmouse UNREGISTER ^input/mouse0$ CFUNCTION GLOBAL unlink usbmouse REGISTER ^input/mice$ CFUNCTION GLOBAL mksymlink $devname usbmouse UNREGISTER ^input/mice$ CFUNCTION GLOBAL unlink usbmouse LOOKUP snd MODLOAD ACTION snd REGISTER ^sound/.* PERMISSIONS root.root 660 REGISTER ^snd/.* PERMISSIONS root.root 660 REGISTER sound/mixer MKOLDCOMPAT LOOKUP dsp MODLOAD snd-pcm-oss LOOKUP dsp EXECUTE mknod -m 666 dsp c 14 3 LOOKUP mixer MODLOAD snd-mixer-oss /etc/asound.conf ---------------- pcm.snd-via82xx { type hw card 0 } ctl.snd-via82xx { type hw card 0 } List of running modules ----------------------- snd-pcm-oss 45332 0 snd-mixer-oss 13188 1 (autoclean) [snd-pcm-oss] snd-via82xx 12092 1 snd-mpu401-uart 2908 0 (autoclean) [snd-via82xx] snd-rawmidi 13880 0 (autoclean) [snd-mpu401-uart] snd-seq-device 3608 0 (autoclean) [snd-rawmidi] snd-pcm 64932 0 (autoclean) [snd-pcm-oss snd-via82xx] snd-timer 14256 0 (autoclean) [snd-pcm] snd-page-alloc 5116 0 (autoclean) [snd-via82xx snd-pcm] snd-ac97-codec 36148 0 (autoclean) [snd-via82xx] snd 32464 0 (autoclean) [snd-pcm-oss snd-mixer-oss snd-via82xx snd-mpu401-uart snd-rawmidi snd-seq-device snd-pcm snd-timer snd-ac97-codec] soundcore 3332 4 (autoclean) [snd] via82cxxx 10448 1 via-rhine 12952 1 mii 2180 0 (autoclean) [via-rhine] How modules were inserted ------------------------- #LAN modprobe via-rhine #IDE modprobe via82cxxx # Sound stuff modprobe snd-via82xx # oss stuff modprobe snd-pcm-oss the /proc/asound ---------------- -ash-2.05b# pwd /proc/asound -ash-2.05b# ls -r * -l -r--r--r-- 1 root root 0 Jun 20 09:27 version -r--r--r-- 1 root root 0 Jun 20 09:27 timers -r--r--r-- 1 root root 0 Jun 20 09:27 pcm -r--r--r-- 1 root root 0 Jun 20 09:27 modules -r--r--r-- 1 root root 0 Jun 20 09:27 devices -r--r--r-- 1 root root 0 Jun 20 09:27 cards lrwxrwxrwx 1 root root 5 Jun 20 09:27 8235 -> card0 seq: -r--r--r-- 1 root root 0 Jun 20 09:27 drivers oss: -r--r--r-- 1 root root 0 Jun 20 09:27 sndstat -r--r--r-- 1 root root 0 Jun 20 09:27 devices card0: -r--r--r-- 1 root root 0 Jun 20 09:27 via82xx dr-xr-xr-x 3 root root 0 Jun 20 09:27 pcm1p dr-xr-xr-x 3 root root 0 Jun 20 09:27 pcm1c dr-xr-xr-x 6 root root 0 Jun 20 09:27 pcm0p dr-xr-xr-x 3 root root 0 Jun 20 09:27 pcm0c -rw-r--r-- 1 root root 0 Jun 20 09:27 oss_mixer -r--r--r-- 1 root root 0 Jun 20 09:27 id -r--r--r-- 1 root root 0 Jun 20 09:27 ac97#0regs -r--r--r-- 1 root root 0 Jun 20 09:27 ac97#0 the /dev/snd directory: ----------------------- -ash-2.05b# pwd /dev -ash-2.05b# ls -r snd timer pcmC0D1c pcmC0D0c controlC6 controlC4 controlC2 controlC0 pcmC0D1p pcmC0D0p controlC7 controlC5 controlC3 controlC1 -ash-2.05b# Other ------ Using 0.9.4 lib/driver/utils ... with kernel 2.4.21-ac1/. Utils are compiled with UCLIBC- would that make a difference? If I force mplayer to use OSS, then the file plays ok but there's no sound. Yes, I know that's because of the muting- and I'm sure it's that because if you turn the amp way up you can just about hear the song faintly. So, trying to unmute the line, or just trying to run alsa mixer for that matter gives the following (output from an strace) rt_sigaction(SIGRT_1, {0x400e5c2f, [], 0x4000000}, NULL, 8) = 0 rt_sigaction(SIGRT_2, {0x400e5d1f, [], 0x4000000}, NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0 brk(0x80528f0) = 0x80528f0 brk(0x8053000) = 0x8053000 brk(0x8054000) = 0x8054000 brk(0x8055000) = 0x8055000 brk(0x8056000) = 0x8056000 stat(umovestr: Input/output error 0, 0xbffffa7c) = -1 EFAULT (Bad address) write(2, "ALSA lib ", 9ALSA lib ) = 9 write(2, "control.c", 9control.c) = 9 write(2, ":", 1:) = 1 write(2, "612", 3612) = 3 write(2, ":(", 2:() = 2 write(2, "snd_ctl_open_noupdate", 21snd_ctl_open_noupdate) = 21 write(2, ") ", 2) ) = 2 write(2, "Invalid CTL ", 12Invalid CTL ) = 12 write(2, "default", 7default) = 7 write(2, "\n", 1 ) = 1 write(1, "\n", 1 ) = 1 write(2, "alsamixer: function ", 20alsamixer: function ) = 20 write(2, "snd_ctl_open", 12snd_ctl_open) = 12 write(2, " failed for ", 12 failed for ) = 12 write(2, "default", 7default) = 7 write(2, ": ", 2: ) = 2 write(2, "No such file or directory", 25No such file or directory) = 25 write(2, "\n", 1 ) = 1 _exit(1) = ? I'd really appreciate it if someone could help with this... I've been googling and reading notes in archives for ages, and nothing is really helping me so far... one thing I have noticed is that in the straces I do, I don't see any evidence of trying to read asound.conf .. ????? TIA Chris ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user