unixcw sends incorrect characters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unixcw (Debian) |
Fix Released
|
Unknown
|
|||
unixcw (Ubuntu) |
Fix Released
|
Undecided
|
Iulian Udrea |
Bug Description
Binary package hint: unixcw
The unixcw program sends incorrect characters at the default speed (12 wpm).
Starting the program simply with the command "cw" (i.e., with no parameters), the program generates CW sounds, but the sounds do not match the characters typed on the keyboard, and in fact mostly do not match *any* letter or number.
For example, typing "T" generates a sound that sounds rather like an "R". Typing "h" creates a kind of "N" with a very long dash.
ProblemType: Bug
Architecture: amd64
Date: Sat Jan 23 12:48:29 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelMo
Package: unixcw 2.3-11
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: unixcw
Uname: Linux 2.6.31-18-generic x86_64
Related branches
- Ubuntu branches: Pending requested
-
Diff: 137 lines (+47/-1)5 files modifieddebian/changelog (+9/-0)
debian/control (+2/-1)
src/cw/cw.c (+4/-0)
src/cwcp/cwcp.c (+7/-0)
src/cwlib/cwlib.c (+25/-0)
Changed in unixcw (Ubuntu): | |
assignee: | nobody → Kamal Mostafa (kamalmostafa) |
status: | New → Confirmed |
Changed in unixcw (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in unixcw (Debian): | |
status: | Unknown → New |
Changed in unixcw (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Iulian Udrea (iulian) |
Changed in unixcw (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in unixcw (Debian): | |
status: | New → Fix Committed |
Changed in unixcw (Debian): | |
status: | Fix Committed → Fix Released |
This bug in 'cwlib' is caused by the invalid use of a mixer ioctl on the soundcard audio device. For most audio devices, the invalid ioctl is harmless, but for some audio devices it prevents cwlib from properly switching the volume on and off (which is how it generates Morse code).
I have fixed the bug in the attached branch, and created PPA update packages for Karmic and Lucid, available here:
https:/ /launchpad. net/~kamalmosta fa/+archive/ unixcw- fixes
(Note also LP: #513942 and LP: #513957 -- audio devices affected by this bug are likely to be affected by those as well).