Peter Stupin wrote:
>
> Hello All !
>
> I am beginner in Linux, and have some problems with sm device.
> I use for packet my ESS866 sound card, and it works good under DOS,
> . . .
This is for a Soundblaster 16 and somewhat out of date, but perhaps
helpful:
_________________________________________________
runlevel I (install) for a patched 2.0.31-kernel + ax25-utils-2.1.42a
_________________________________________________
insmod sound
rmmod sound
insmod hdlcdrv
insmod soundmodem
cat /proc/modules
ifconfig sm0 down
# For a Soundblaster16:
# *******************
#
sethdlc -p io 0x220 irq 5 dma 1 dma2 5 mode sbc:afsk1200.afsk1200 -i sm0
sleep 5
ifconfig sm0 44.zahl.zahl.zahl hw ax25 a0aaaa-1 netmask 255.255.255.0
broadcast
44.zahl.zahl.255 mtu 230 up
route add -host 44.zahl.zahl.zahl sm0
_________________________________________
runlevel 2 (network):
_________________________________________
# switching the mice to full gain (not yet tested - I recommend
headphones . . .):
# source:mice input-gain:+18dB output-gain:+18dB interface:soundmodem
#
smmixer s=mic i=18 o=18 -i sm0
ifconfig sm0 down
# Activating full-duplex mode:
# ***************************
#
sethdlc -i sm0 -a txd 100 slot 50 ppersist 128 full
# ****
ifconfig sm0 up
ifconfig sm0
_______________________________________________
results:
smmixer: Version 0.2; (C) 1996-1997 by Thomas Sailer HB9JNX/AE4WA
Master volume: Left: 0dB Right: 0dB
Voice volume: Left: 0dB Right: 0dB
MIDI volume: Left: 0dB Right: 0dB
CD volume: Left: 0dB Right: 0dB
Line volume: Left: 0dB Right: 0dB
Mic volume: 0dB
PC speaker volume: -18dB
Mic gain: fixed 20dB
Output gain: Left: 18dB Right: 18dB
Input gain: Left: 18dB Right: 18dB
Treble: Left: -6dB Right: -6dB
Bass: Left: -2dB Right: -2dB
Output sources left: PCSpeaker Voice.L
Output sources right: PCSpeaker Voice.R
Input sources left: Mic
Input sources right: Mic
sethdlc: Version 0.5; (C) 1996-1997 by Thomas Sailer HB9JNX/AE4WA
current parameters: TX delay 200ms, TX tail 20ms, slottime 100ms,
p-persistence 40/256, Half duplex
new parameters: TX delay 100ms, TX tail 20ms, slottime 50ms,
p-persistence 128/256, Full duplex
sm0 Link encap:AMPR AX.25 HWaddr a0aaaa-1
inet addr:44.zahl.zahl.zahl Bcast:44.zahl.zahl.255
Mask:255.255.255.0
UP BROADCAST RUNNING MTU:230 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0
Interrupt:5 Base address:0x220 DMA chan:1
You should take the use of net2kiss into consideration aswell.
Have fun . . .
Manfred