On Sat, 30 Aug 2003, Adrian McMenamin wrote: > I am writing a PCM driver for the AICA device on the Sega Dreamcast for a > 2.6.0-testX kernel. > > The driver is far from complete, but I am having various problems when I test > bits of it... > > A simple write of a file gives me this... > > /dev/snd # cat /test.txt > pcmC0D0p > ALSA sound/sh/aica.c:165: In snd_aica_playback_open > ALSA sound/sh/aica.c:80: Disabling AICA device > ALSA sound/sh/aica.c:66: Enabling AICA device > cat: write: File descriptor in bad state
Use the aplay utility. The native devices need a special initialization using ioctl. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project, SuSE Labs ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel