From: "Luc Langehegermann" <luc@lx2gt.lu>
To: John Mock <kd6pag@qsl.net>, linux-hams@vger.kernel.org
Subject: Re: Sony VAIO laptop 'soundmodem' troubles
Date: Sat, 24 Jul 2004 22:37:48 +0200 [thread overview]
Message-ID: <004601c471be$1580e430$6401a8c0@lx2gt> (raw)
In-Reply-To: E1BoSf3-0006hp-00@penngrove.fdns.net
Hello John,
Under ALSA the devices have different names!
hw:0 (first soundcard)
hw:1 (second soundcard)
or:
plughw:0
plughw:1
The difference if, with plughw ALSA tried to do sample rate conversion /
format conversion / channel conversion.
sample rate conversion is a very bad idea, if you use soundmodem.
/dev/dsp* under also will alsways do the conversions, unless you turn them
off! Take a look at http://www.alsa-project.org/~iwai/OSS-Emulation.html
73, Luc, LX2GT
----- Original Message -----
From: "John Mock" <kd6pag@qsl.net>
To: <linux-hams@vger.kernel.org>
Sent: Saturday, July 24, 2004 9:58 PM
Subject: Sony VAIO laptop 'soundmodem' troubles
> I'm trying to get 9.6kb packet running either on a PowerMac 8500 (with
> G3 upgrade) or Sony VAIO R505EL (P-III), preferably both. I'm stuck on
> either at the moment. Here's the Sony problem.
>
> On the VAIO machine, 'multimon' decodes APRS packets at 1.2kb AFSK from
> either of my HT's directly connected to the 'Mic' input.
'soundmodemconfig'
> shows similar waveforms to 'multimon' but gets gibberish for APRS packets
> in 'soundcard' [non-ALSA] mode.
>
> Thus far, i have not found anyone transmitting 9.6kb packet locally, and
> attempts to receive a couple of different satellites so far as not gotten
> any packets at 9.6 kb using 'multimon'. (I have not yet tried 9.6kb with
> 'soundmodem'.)
>
> I looked into the LINUX-Hams archives, and note that others have not had
> an easy time getting the AC97 codec to work properly. I picked up a copy
> of experimental version of 'soundmodem' with native ALSA code mentioned in
> June of this year. Forcing the AFSK sample rate to either 22050 Hz or
> 48000 Hz in 'soundcard' mode does not seem to change anything (c.f. the
> discussion of similar problem[s] here in March of this year). Trying to
> use native ALSA mode shows a dialog box "Cannot start audio I/O" and the
> message
>
> ALSA lib pcm.c:1972:(snd_pcm_open_noupdate) Unknown PCM /dev/dsp
>
> A copy of '/etc/ax25/soundmodem.conf' and the full error log are attached
> below. I am running a vanilla LINUX 2.6.7 [.config posted upon request]
> and the 'unstable' branch of Debian LINUX.
>
> Any idea what might be wrong with 'soundmodem' at 1.2 kb AFSK and/or with
> 'multimon' at 9.6kb FSK? (Of course, fixing 'multimon' is really only a
> temporary fix, as i want to make packet work properly.)
>
> Thank you for your patience and assistance.
>
> -- KD6PAG (Networking Old-Timer, Satellite QRPer)
>
>
> [Note: I never send unsolicited binary attachments and if you receive
anything
> purportedly from <kd6pag@qsl.net> that isn't signed with my callsign, then
it
> probably isn't from me.]
>
> --------------------------------------------------------------------------
-----
> <?xml version="1.0"?>
> <modem>
> <configuration name="vaio">
> <chaccess txdelay="150" slottime="100" ppersist="40" fulldup="0"
txtail="10"/>
> <audio type="alsa" device="/dev/dsp" halfdup="0" file="" repeat="0"
simchan="0 - Ideal channel" snr="10" snrmode="0 - White Gaussian" srate="0"
capturechannelmode="Mono"/>
> <ptt file="none"/>
> <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="KD6PAG-1" ip="44.4.28.42"
netmask="255.255.255.0" broadcast="44.4.28.255"/>
> </channel>
> <channel name="Channel 1">
> <mod mode="fsk" bps="9600" f0="1200" f1="2200"/>
> <demod mode="fsk" bps="9600"/>
> <pkt mode="MKISS" ifname="sm1" hwaddr="KD6PAG-2" ip="44.4.28.42"
netmask="255.255.255.0" broadcast="44.4.28.255"/>
> </channel>
> </configuration>
> </modem>
> --------------------------------------------------------------------------
-----
> VAIO 505> ./soundmodemconfig
> config_select: cfg: vaio chan: -
> selection: cfg: vaio chan: -
> config_deselect: cfg: vaio chan: -
> channel_select: cfg: vaio chan: Channel 0
> selection: cfg: vaio chan: Channel 0
> Modulator: afsk Demodulator: afsk
> Modulator: parameter bps value 1200
> Modulator: parameter f0 value 1200
> Modulator: parameter f1 value 2200
> Modulator: parameter diffenc value 1
> Demodulator: parameter bps value 1200
> Demodulator: parameter f0 value 1200
> Demodulator: parameter f1 value 2200
> Demodulator: parameter diffdec value 1
> Minimum sampling rate: 9600
> Audio IO: type alsa
> ALSA lib pcm.c:1972:(snd_pcm_open_noupdate) Unknown PCM /dev/dsp
> sm[3419]: alsa: Error opening PCM device /dev/dsp
>
============================================================================
===
> -
> To unsubscribe from this list: send the line "unsubscribe linux-hams" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
next prev parent reply other threads:[~2004-07-24 20:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-24 19:58 Sony VAIO laptop 'soundmodem' troubles John Mock
2004-07-24 20:37 ` Luc Langehegermann [this message]
2004-07-25 15:09 ` Rodolfo Brasnarof
-- strict thread matches above, loose matches on Subject: below --
2004-07-24 22:22 John Mock
2004-07-26 20:07 John Mock
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='004601c471be$1580e430$6401a8c0@lx2gt' \
--to=luc@lx2gt.lu \
--cc=kd6pag@qsl.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox