From owner-freebsd-questions@FreeBSD.ORG Fri Jun 10 11:28:45 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF6D816A41C for ; Fri, 10 Jun 2005 11:28:44 +0000 (GMT) (envelope-from no-spam@swiftdsl.com.au) Received: from smtp.ade.swiftdsl.com.au (smtp.ade.swiftdsl.com.au [218.214.228.98]) by mx1.FreeBSD.org (Postfix) with SMTP id 2F03E43D49 for ; Fri, 10 Jun 2005 11:28:43 +0000 (GMT) (envelope-from no-spam@swiftdsl.com.au) Received: (qmail 7424 invoked from network); 10 Jun 2005 11:28:44 -0000 Received: from unknown (HELO daemon.foo.lan) (218.214.176.70) by smtp.ade.swiftdsl.com.au with SMTP; 10 Jun 2005 11:28:44 -0000 From: Ian Moore To: freebsd-questions@freebsd.org Date: Fri, 10 Jun 2005 20:58:29 +0930 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1784651.outYutTuET"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200506102058.38116.no-spam@swiftdsl.com.au> Subject: Problems with recording since upgrading from 5.4-release to 5.4p2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2005 11:28:45 -0000 --nextPart1784651.outYutTuET Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I've got a strange problem with recording on my system. The problem appears= to=20 have started since I upgraded my 5.4-Release system today to 5.4p2. I'm using a Vibra128 soundcard & have the following devices: daemon:~ % ll /dev/dsp* crw-rw-rw- 1 root wheel 30, 3 Jun 10 20:12 /dev/dsp0.0 crw-rw-rw- 1 root wheel 30, 0x00010003 Jun 10 19:23 /dev/dsp0.1 crw-rw-rw- 1 root wheel 30, 0x00020003 Jun 10 20:37 /dev/dsp0.2 crw-rw-rw- 1 root wheel 30, 0x00030003 Jun 10 19:23 /dev/dsp0.3 crw-rw-rw- 1 root wheel 30, 5 Jun 10 19:23 /dev/dspW0.0 crw-rw-rw- 1 root wheel 30, 0x00010005 Jun 10 19:23 /dev/dspW0.1 crw-rw-rw- 1 root wheel 30, 0x00020005 Jun 10 19:23 /dev/dspW0.2 crw-rw-rw- 1 root wheel 30, 0x00030005 Jun 10 19:23 /dev/dspW0.3 crw-rw-rw- 1 root wheel 30, 11 Jun 10 19:23 /dev/dspr0.0 Also, I have the following in /boot/loader.conf: snd_es137x_load=3D"YES" #ESS1370 (VIBRA128) sound card driver hw.snd.pcm0.vchans=3D"4" hw.snd.maxautovchans=3D"4" Sound playback is working fine - I use kde & have artsd set to use /dev/dsp= 0.2 I use Audacity to record with and this is where I have trouble - playback i= n=20 it works, but today, I can't record. Starting it from the commandline, it=20 gives the following output: PaHost_OpenStream: could not open /dev/dsp for O_RDWR PaHost_OpenStream: ERROR - result =3D -10000 PaHost_OpenStream: could not open /dev/dsp for O_RDONLY PaHost_OpenStream: ERROR - result =3D -10000 and the record device selection is disabled & no recording is possible. In the audacity preferences dialogue, you can only ever choose /dev/dsp as = the=20 device for playback & for recording. However, in my .audacity file, I had: PlaybackDevice=3D/dev/dsp0.1 RecordingDevice=3D/dev/dsp0.1 Until today, this has always worked, now suddenly I can't record! I noticed there is no /dev/dsp file - I thought there was one before. So I= =20 tried the following: #cd /dev # rm /dev/dsp rm: /dev/dsp: No such file or directory # ln -s /dev/dsp0 /dev/dsp ln: /dev/dsp: File exists # sudo rm /dev/dsp rm: /dev/dsp: No such file or directory # sudo ln -s /dev/dsp0 /dev/dsp ln: /dev/dsp: File exists That doesn't seem to make any sense at all! I guess this might be an audacity issue (I have tried rebuilding it, but it= =20 made no difference), but I'm pretty sure it's only since I upgraded to 5.4p= 2=20 that the problem has occurred. I can use the artsdsp audacity command to run audacity & record, but I pref= er=20 not to because the waveform display misbehaves when I do that & it worked=20 just fine the other way before. Any suggestions? Cheers, =2D-=20 Ian gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc --nextPart1784651.outYutTuET Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBCqXllPUlnmbKkJ6ARAm2zAJ9UkSSUAZTR5iJZwfJM4NseLoiHvwCgnYLi fz9FhceqYy93kc3+hnU0y/I= =aASK -----END PGP SIGNATURE----- --nextPart1784651.outYutTuET--