Skip to contentSkip to conversation

soundmodem, Cannot open PTT device "/dev/parport0"

DISCUSSION Arno Verhoeven 1 participant 2 messages Oct 5, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

I'm trying Thomas' userspace soundmodem but I have problem with PTT operation via the parport.

I'm using...
soundmodem-0.6
kernel 2.4.20-pre9

I've loaded the parport and parport_pc kernel modules.

When I start soundmodem I get the following error.

sm[3429]: Cannot open PTT device "/dev/parport0"
sm[3429]: cannot start PTT output

This is my soundmodem.conf

<?xml version="1.0"?>
<modem>
<configuration name="config0">

    <channel name="Channel 0">
      <mod mode="afsk" bps="1200" f0="1200" f1="2200"/>
      <demod mode="afsk" bps="1200" f0="1200" f1="2200"/>
      <pkt mode="MKISS" ifname="sm0" hwaddr="PE1ICQ-1" ip="10.0.0.1" 
netmask="255.255.255.0" broadcast="10.0.0.255" file="/dev/soundmodem0" unlink="1"/>
    </channel>
    <chaccess txdelay="150" slottime="100" ppersist="40" fulldup="0" 
txtail="10"/>
    <audio type="soundcard" device="/dev/dsp" halfdup="1"/>
    <ptt file="/dev/parport0"/>

</configuration>
</modem>

Can anybody help point me in the right direction?

Signature · 5 lines
73, PE1ICQ  Arno Verhoeven
--------------------------------
AX.25  pe1icq@pi8zaa.#nbo.nld.eu
smtp   [email protected]
inet   [email protected]
#1 lore raw
Quoted 30 lines · Arno Verhoeven

Hi,

I'm trying Thomas' userspace soundmodem but I have problem with PTT operation via the parport.

I'm using...
soundmodem-0.6
kernel 2.4.20-pre9

I've loaded the parport and parport_pc kernel modules.

When I start soundmodem I get the following error.

sm[3429]: Cannot open PTT device "/dev/parport0"
sm[3429]: cannot start PTT output

This is my soundmodem.conf

<?xml version="1.0"?>
<modem>
<configuration name="config0">

    <channel name="Channel 0">
      <mod mode="afsk" bps="1200" f0="1200" f1="2200"/>
      <demod mode="afsk" bps="1200" f0="1200" f1="2200"/>
      <pkt mode="MKISS" ifname="sm0" hwaddr="PE1ICQ-1" ip="10.0.0.1" 
netmask="255.255.255.0" broadcast="10.0.0.255" file="/dev/soundmodem0" unlink="1"/>
    </channel>
    <chaccess txdelay="150" slottime="100" ppersist="40" fulldup="0" 
txtail="10"/>
    <audio type="soundcard" device="/dev/dsp" halfdup="1"/>
    <ptt file="/dev/parport0"/>
Quoted 5 lines

</configuration>
</modem>

Can anybody help point me in the right direction?

Problem solved...
I forgot to compile and load ppdev.

Also a patch as described in
http://groups.google.com/groups?selm=linux.hams.Pine.LNX.4.21.0207080731370.1481-100000%40aeminium.aeminium.pt&output=gplain was needed to make it work.

Signature · 5 lines
73, PE1ICQ  Arno Verhoeven
--------------------------------
AX.25  pe1icq@pi8zaa.#nbo.nld.eu
smtp   [email protected]
inet   [email protected]