name of sound device file?
D. R. Evans
doc.evans at gmail.com
Sun Jul 3 23:19:31 UTC 2011
I am trying to run the "cw" program for sounding out Morse code. By
default, it writes its output to the sound device /dev/audio (see "man cw").
But on my 64-bit natty system there is no /dev/audio file:
----
[HN:cw] cw
cw: cannot set up soundcard sound
/dev/audio: No such file or directory
----
So what should I pass with the -x option to change the device name? I have
tried /dev/mixer and /dev/console as suggested on the man page, with no luck:
----
[HN:cw] sudo cw -x /dev/mixer
cw: cannot set up soundcard sound
/dev/mixer: No such file or directory
[HN:cw] cw -x /dev/console
cw: cannot set up soundcard sound
/dev/console: Permission denied
[HN:cw] sudo cw -x /dev/console
this is a test
cw: ioctl SNDCTL_DSP_SETFRAGMENT: Invalid argument
tcw: ioctl SNDCTL_DSP_SETFRAGMENT: Invalid argument
hcw: ioctl SNDCTL_DSP_SETFRAGMENT: Invalid argument
cw: ioctl SNDCTL_DSP_SETFRAGMENT: Invalid argument
cw: ioctl SNDCTL_DSP_SETFRAGMENT: Invalid argument
...
----
Doc
--
Web: http://www.sff.net/people/N7DR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20110703/3d50bcc7/attachment.sig>
More information about the kubuntu-users
mailing list