What version of Pd are you using? The recent 0.37-test versions have been producing some alsa error messages on my system. Have you tried pd -noadc? Have you tried aplay?
Ben On Friday 29 August 2003 11:17 am, np wrote: > hello list, > > ok, i've almost got my emagic emi 2|6 working after hacking together > some of the /etc/modules.conf files, but i'm now getting some strange > errors when i try to play through the device. i'm attempting to use > two devices, the internal soundcard and the emi. the internal > soundcard works, and running pd through device 0 works fine. but if i > try to run pd through the emi i get a lot of strange error messages. > if anyone has the time to look through these to help diagnose the > problem, i would much appreciate it! > > here's the error messages from running pd: > > couldn't open MIDI input device 1 > couldn't open MIDI output device 1 > opened 0 MIDI input device(s) and 0 MIDI output device(s). > snd_pcm_hw_params_set_format (input): Invalid argument > snd_pcm_hw_params_set_format (input): Invalid argument > ALSA lib pcm_hw.c:466:(snd_pcm_hw_prepare) SNDRV_PCM_IOCTL_PREPARE > failed: Invalid argument > snd_pcm_hw_params (input): Invalid argument > ALSA lib pcm_hw.c:466:(snd_pcm_hw_prepare) SNDRV_PCM_IOCTL_PREPARE > failed: Invalid argument > ALSA lib pcm.c:1146:(snd_pcm_link) SNDRV_PCM_IOCTL_LINK failed: File > descriptor in bad state > ALSA lib pcm_hw.c:494:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START > failed: File descriptor in bad state > snd_pcm_start: File descriptor in bad state > Using ALSA interface > audio I/O stuck... closing audio > > everything appears to be loaded ok: > > snd-usb-audio 44176 0 > snd-rawmidi 15952 0 [snd-usb-audio] > snd-seq-device 5000 0 [snd-rawmidi] > snd-powermac 34996 0 > i2c-core 14324 0 [snd-powermac] > snd-pcm 66180 0 [snd-usb-audio snd-powermac] > snd-timer 16580 0 [snd-pcm] > snd-page-alloc 4964 0 [snd-pcm] > snd 35416 0 [snd-usb-audio snd-rawmidi > snd-seq-device snd-powermac snd-pcm snd-timer] > soundcore 4168 0 [snd] > ds 8268 1 > yenta_socket 11792 1 > pcmcia_core 44232 0 [ds yenta_socket] > ieee1394 49920 0 (unused) > emi26 162192 0 (unused) > > here's my /etc/modutils/alsa: > > ### DEBCONF MAGIC > # This file was automatically generated by alsa-base's debconf stuff > > # --- BEGIN: Generated by ALSACONF, do not edit. --- > # --- ALSACONF verion 0.9.0 --- > alias char-major-116 snd > alias snd-card-0 snd-powermac > 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 > > #alias-usb-controller usb-uhci > alias snd-card-1 snd-usb-audio > alias sound-slot-1 snd-card-1 > alias sound-service-1-0 snd-mixer-oss > alias sound-service-1-1 snd-seq-oss > alias sound-service-1-3 snd-pcm-oss > alias sound-service-1-8 snd-seq-oss > alias sound-service-1-12 snd-seq-oss > > > options snd major=116 cards_limit=2 \ > device_mode=0666 device_gid-0 device_uid=0 > > options usb_audio index=1 id=USB > > options snd-powermac index=0 > > > # --- END: Generated by ALSACONF, do not edit. --- > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Alsa-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/alsa-user ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user
