All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea Borgia <borgia@cs.unibo.it>
To: linux-hams@vger.kernel.org
Subject: Re: problems with soundmodem (userspace)
Date: Tue, 15 Jun 2004 16:57:38 +0200	[thread overview]
Message-ID: <40CF0E62.3070500@cs.unibo.it> (raw)
In-Reply-To: <40C5F2A5.8010603@alumni.ethz.ch>

[-- Attachment #1: Type: text/plain, Size: 1778 bytes --]

Thomas Sailer wrote:

> I've put a soundmodem version with a rather experimental native Alsa API
> on http://www.baycom.org/~tom/ham/soundmodem/soundmodem-0.9.tar.gz

I am having the same problem with rx packets being lost so I gave this 
version a try. Now RX is apparently fine, but on the first TX packet the 
soundmodem crashes with the following output:

-cut-cut-
ALSA lib pcm_hw.c:494:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: 
Broken pipe
sm[21164]: snd_pcm_start: Broken pipeALSA lib 
pcm_hw.c:494:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: File 
descriptor in bad state
sm[21164]: snd_pcm_start: File descriptor in bad statesm[21164]: audio: 
snd_pcm_readi: Broken pipec
-cut-cut-

I tried using something else than hw:0,0 but it either results in a 
config error or in a similar crash. Here is the relevant info about my 
Alsa setup, is there any obvious mistake in the config?

/proc/asound/cards:
0 [V8235          ]: VIA8233 - VIA 8235
                      VIA 8235 at 0x1400, irq 9

/proc/asound/devices:
   0: [0- 0]: ctl
  17: [0- 1]: digital audio playback
  25: [0- 1]: digital audio capture
  16: [0- 0]: digital audio playback
  24: [0- 0]: digital audio capture
  33:       : timer

/proc/asound/pcm:
0-00: VIA 8235 : VIA 8235 : playback 4 : capture 1
00-01: VIA 8235 : VIA 8235 : playback 1 : capture 1

/proc/asound/version:
Advanced Linux Sound Architecture Driver Version 1.0.4rc2 (Tue Mar 30 
08:19:30 2004 UTC).
Compiled on Jun 12 2004 for kernel 2.6.6clarisse.


B73,
Andrea.

-- 
Homepage: http://andrea.borgia.bo.it     /    Amateur radio: IZ4FHT
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

[-- Attachment #2: soundmodem.conf --]
[-- Type: text/xml, Size: 589 bytes --]

<?xml version="1.0"?>
<modem>
  <configuration name="Packet">
    <channel name="Channel 0">
      <mod mode="afsk" bps="1200" f0="1200" f1="2200" diffenc="1"/>
      <demod mode="afsk" bps="1200" f0="1200" f1="2200" diffdec="1"/>
      <pkt mode="MKISS" ifname="sm0" hwaddr="IZ4FHT-1" ip="192.168.10.2" netmask="255.255.255.0" broadcast="192.168.10.255"/>
    </channel>
    <chaccess txdelay="500" slottime="100" ppersist="40" fulldup="0" txtail="10"/>
    <audio type="alsa" device="hw:0,1" halfdup="1" capturechannelmode="Left"/>
    <ptt file="/dev/ptt"/>
  </configuration>
</modem>

  reply	other threads:[~2004-06-15 14:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-07 20:22 problems with soundmodem (userspace) Jochen Schaeuble
2004-06-07 20:36 ` Dave Platt
2004-06-08 17:08   ` Thomas Sailer
2004-06-15 14:57     ` Andrea Borgia [this message]
2004-06-08 20:26   ` Jochen Schaeuble

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40CF0E62.3070500@cs.unibo.it \
    --to=borgia@cs.unibo.it \
    --cc=linux-hams@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.