Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2005 20:58:29 +0930
From:      Ian Moore <no-spam@swiftdsl.com.au>
To:        freebsd-questions@freebsd.org
Subject:   Problems with recording since upgrading from 5.4-release to 5.4p2
Message-ID:  <200506102058.38116.no-spam@swiftdsl.com.au>

next in thread | raw e-mail | index | archive | help
--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506102058.38116.no-spam>