From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Luc Langehegermann" Subject: Re: Sony VAIO laptop 'soundmodem' troubles Date: Sat, 24 Jul 2004 22:37:48 +0200 Sender: linux-hams-owner@vger.kernel.org Message-ID: <004601c471be$1580e430$6401a8c0@lx2gt> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: John Mock , linux-hams@vger.kernel.org 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" To: 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 that isn't signed with my callsign, then it > probably isn't from me.] > > -------------------------------------------------------------------------- ----- > > > > > > > -------------------------------------------------------------------------- ----- > 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 > >