Date: Sun, 21 Jul 2002 10:28:50 -0700 (PDT) From: Nick Sayer <nsayer@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf files src/sys/modules/sound/driver Makefile src/sys/modules/sound/driver/uaudio Makefile src/sys/dev/sound/usb uaudio.c uaudio.h uaudio_pcm.c uaudioreg.h Message-ID: <200207211728.g6LHSo9V014016@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
nsayer 2002/07/21 10:28:50 PDT Modified files: sys/conf files sys/modules/sound/driver Makefile Added files: sys/modules/sound/driver/uaudio Makefile sys/dev/sound/usb uaudio.c uaudio.h uaudio_pcm.c uaudioreg.h Log: Add uaudio -- a USB audio device driver. This driver actually works slightly better on -stable than on -current (the system locks on detach on -current), so it should be MFC'd somewhat sooner. This driver currently points out a difficulty in the sound device framework. The PCM unregister routine is allowed to refuse the detach if the device is in use. In the case of a USB device, however, this unregistration is much more mandatory in nature, since the device is *actually* gone when this call is made. The sound subsystem really should not refuse an unregistration and should take its own steps to reject further I/O. As a result, if you detach a USB sound device while it is in use, you can expect a panic shortly thereafter. This device cannot currently record audio. Some routines are unwritten as of yet in uaudio.c to support recording. This device hangs my -current box on detach. I don't know why. This does not happen on my -stable machine. Obtained from: Hiroyuki Aizu MFC after: 2 weeks Revision Changes Path 1.668 +2 -0 src/sys/conf/files 1.1 +2912 -0 src/sys/dev/sound/usb/uaudio.c (new) 1.1 +49 -0 src/sys/dev/sound/usb/uaudio.h (new) 1.1 +375 -0 src/sys/dev/sound/usb/uaudio_pcm.c (new) 1.1 +384 -0 src/sys/dev/sound/usb/uaudioreg.h (new) 1.14 +1 -1 src/sys/modules/sound/driver/Makefile 1.1 +9 -0 src/sys/modules/sound/driver/uaudio/Makefile (new) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207211728.g6LHSo9V014016>