From owner-freebsd-stable Sun Oct 13 21:49:50 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C532837B401 for ; Sun, 13 Oct 2002 21:49:47 -0700 (PDT) Received: from gate.volant.org (gate.volant.org [207.111.218.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7590943EB3 for ; Sun, 13 Oct 2002 21:49:47 -0700 (PDT) (envelope-from patl+freebsd@volant.org) Received: from 64-144-229-193.client.dsl.net ([64.144.229.193] helo=[192.168.0.13]) by gate.volant.org with asmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.33 #1) id 180x9Q-000Kn6-00; Sun, 13 Oct 2002 21:48:20 -0700 Date: Sun, 13 Oct 2002 21:48:16 -0700 From: Pat Lashley To: Ronald Klop Cc: stable@freebsd.org Subject: Re: uaudio ? Message-ID: <3285550000.1034570896@mccaffrey.phoenix.volant.org> In-Reply-To: <3DAA064C.6010005@klop.yi.org> References: <3071140000.1034552020@mccaffrey.phoenix.volant.org> <3DAA064C.6010005@klop.yi.org> X-Mailer: Mulberry/2.2.1 (Linux/x86 Demo) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="==========3710278336==========" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --==========3710278336========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks for the quick response Ronald. --On Monday, October 14, 2002 01:48:28 +0200 Ronald Klop=20 wrote: > 'locate uaudio' gives me /modules/snd_uaudio on 4.7-STABLE. > Try 'kldload snd_uaudio' or load it in combination with snd_pcm. And look > at 'man pcm'. Ok, I think I have half a clue now. Please correct me if I'm wrong. The snd_uaudio module may be loaded manually, automatically at boot via boot.conf, or automatically when an audio device is plugged in via usbd.conf. When loaded, it becomes the next available pcm device. Before using it, you should cd to /dev and './MAKEDEV sndX' for the appropriate value of X to create the device nodes. They you can use it just like any other sound device. BUT I'm getting some funny behavour on the kldload. Here's a transcript: root@orwell.1001> kldstat -n snd_uaudio kldstat: can't find file snd_uaudio: No such file or directory root@orwell.1002> kldload snd_uaudio kldload: can't load snd_uaudio: Exec format error root@orwell.1003> kldstat -n snd_uaudio kldstat: can't find file snd_uaudio: No such file or directory root@orwell.1004> kldload snd_uaudio kldload: can't load snd_uaudio: File exists root@orwell.1005> kldstat -n snd_uaudio Id Refs Address Size Name 8 1 0xc2768000 6000 snd_uaudio.ko And if I try to immediately kldunload it, it claims to be busy. AND when I try to actually play something through the new sound device, the system immediately goes into a hard wedge and has to be power-cycled to break out. It would be helpful to have a list of devices known to work. (And one of devices known not to work...) Both of the USB audio devices I have are also HID devices; if that matters at all. (So far I've only tested the one - the other is currently physically too far away from the machine I'm testing with.) Thanks, -Pat --==========3710278336========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE9qkyRncYNbLD8wuMRAnLbAKDaS9sW4kjC/+r0TJJRWXUXU5nvoACfeAU3 v4+eXnCE4WQCz7vHszzrBKM= =pKM/ -----END PGP SIGNATURE----- --==========3710278336==========-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message