All of lore.kernel.org
 help / color / mirror / Atom feed
* RaspberryPI and soundmodem PTT
@ 2013-09-25  7:23 Waldek
  2013-09-25  7:27 ` marius
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Waldek @ 2013-09-25  7:23 UTC (permalink / raw)
  To: linux-hams

 Hi

I have looking solution on RaspberryPI with soundmodem how to do PTT if I don't have in my radio VOX. When I have use soundmodem on my laptop with linux kernel 2.x ten years ago but driver soundmodem support PTT via RS-232 which working very well with my IC-W2A. But I don't know how to do this on RPI ?
 It is need modify soundmodem driver to possible setting the gpio pin for PTT ?? Maybe exist patch for this ? 
 
 73 Waldek sp2ong




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: RaspberryPI and soundmodem PTT
  2013-09-25  7:23 RaspberryPI and soundmodem PTT Waldek
@ 2013-09-25  7:27 ` marius
  2013-09-26  2:48 ` David Ranch
  2013-09-26  6:15 ` Andrew Errington
  2 siblings, 0 replies; 7+ messages in thread
From: marius @ 2013-09-25  7:27 UTC (permalink / raw)
  To: linux-hams


Hi Waldek,

>
> MyCall         SP2ONG-11  # SP2ONG-2 is may call for NodeID
> PollInterval        300
> # sr1dsz my XNet flex neighbor sr1dsz don't use SSID
> FlexGate        sr1dsz
> MyGate sr1dsz
> MyRange         0-0
>
> and add in uronode.routes
>
> route sr1bsz polnet axudp d 'XNet Flexnet node'
>

You mean
route sr1dsz polnet axudp d 'XNet Flexnet node'
(dsz instead of bsz...)


> When I have start flexd I have see in mointor
> ...

It seems that your system is not able to set up a link with SR1DSZ.
Check first in your node, without starting flexd that the partner is
accessible via ax.25 (also delete the files in /var/ax25/flexd):

C axudp sr1dsz

If it works, check if it provides flexnet routes using the 'D' command

This is how your flexd works, so any failure gere will lead to flexd not
working.

Activate flend afterwards.

73s de Marius, YO2LOJ




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: RaspberryPI and soundmodem PTT
  2013-09-25  7:23 RaspberryPI and soundmodem PTT Waldek
  2013-09-25  7:27 ` marius
@ 2013-09-26  2:48 ` David Ranch
  2013-09-26  5:22   ` Marius Petrescu
  2013-09-26  6:15 ` Andrew Errington
  2 siblings, 1 reply; 7+ messages in thread
From: David Ranch @ 2013-09-26  2:48 UTC (permalink / raw)
  To: Linux Hams


Hello Waldek,

The RPi has one built-in serial port but in it's default mode, it only 
supports TX / RX and GND pins.  That won't help you for PTT. Now, what 
you can do is invoke one of the RPi's alternative I/O mappings and at 
that point, you have full access to the flow control pins (specifically 
RTS) that most people use for PTT.  Please note, the RPi is a 3.3v 
device with limited current so you'll probably need a level shifter to 
drive the PTT line on your radio.

    http://lavalink.com/2012/04/more-on-raspberry-pi-serial-ports/

Ps.   In addition to considering Soundmodem, have you heard of 
Direwolf?  http://home.comcast.net/~wb2osz/  This soundcard TNC supports 
is being actively developed, supports multiple parallel decoders for off 
frequency signals, supports multi-bit correction, etc.  None of those 
times is true of Soundmodem.  Oh yeah.. and it has RPi binaries!

--David



On 09/25/2013 12:23 AM, Waldek wrote:
>   Hi
>
> I have looking solution on RaspberryPI with soundmodem how to do PTT if I don't have in my radio VOX. When I have use soundmodem on my laptop with linux kernel 2.x ten years ago but driver soundmodem support PTT via RS-232 which working very well with my IC-W2A. But I don't know how to do this on RPI ?
>   It is need modify soundmodem driver to possible setting the gpio pin for PTT ?? Maybe exist patch for this ?
>   
>   73 Waldek sp2ong
>
>
>
> --
> 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: RaspberryPI and soundmodem PTT
  2013-09-26  2:48 ` David Ranch
@ 2013-09-26  5:22   ` Marius Petrescu
  2013-09-26  5:34     ` Ray Wells
  0 siblings, 1 reply; 7+ messages in thread
From: Marius Petrescu @ 2013-09-26  5:22 UTC (permalink / raw)
  To: 'Linux Hams'

Another solution would be to use a usb/RS-232 adapter to get a full fledged
serial port.

On 09/25/2013 12:23 AM, Waldek wrote:
>   Hi
>
> I have looking solution on RaspberryPI with soundmodem how to do PTT if I
don't have in my radio VOX. When I have use soundmodem on my laptop with
linux kernel 2.x ten years ago but driver soundmodem support PTT via RS-232
which working very well with my IC-W2A. But I don't know how to do this on
RPI ?
>   It is need modify soundmodem driver to possible setting the gpio pin for
PTT ?? Maybe exist patch for this ?
>
>   73 Waldek sp2ong
>



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: RaspberryPI and soundmodem PTT
  2013-09-26  5:22   ` Marius Petrescu
@ 2013-09-26  5:34     ` Ray Wells
  0 siblings, 0 replies; 7+ messages in thread
From: Ray Wells @ 2013-09-26  5:34 UTC (permalink / raw)
  To: Marius Petrescu; +Cc: 'Linux Hams'

Or a simple external vox unit such as 
http://www.electroschematics.com/283/simple-vox/ although I'd probably 
do away with the relay.

or this http://www.rason.org/Projects/basicvox/basicvox.htm



Ray vk2tv



On 26/09/13 15:22, Marius Petrescu wrote:
> Another solution would be to use a usb/RS-232 adapter to get a full fledged
> serial port.
>
> On 09/25/2013 12:23 AM, Waldek wrote:
>>    Hi
>>
>> I have looking solution on RaspberryPI with soundmodem how to do PTT if I
> don't have in my radio VOX. When I have use soundmodem on my laptop with
> linux kernel 2.x ten years ago but driver soundmodem support PTT via RS-232
> which working very well with my IC-W2A. But I don't know how to do this on
> RPI ?
>>    It is need modify soundmodem driver to possible setting the gpio pin for
> PTT ?? Maybe exist patch for this ?
>>    73 Waldek sp2ong
>>
>
> --
> 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
>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: RaspberryPI and soundmodem PTT
  2013-09-25  7:23 RaspberryPI and soundmodem PTT Waldek
  2013-09-25  7:27 ` marius
  2013-09-26  2:48 ` David Ranch
@ 2013-09-26  6:15 ` Andrew Errington
  2014-12-05 14:44   ` Ugo Poddine
  2 siblings, 1 reply; 7+ messages in thread
From: Andrew Errington @ 2013-09-26  6:15 UTC (permalink / raw)
  Cc: linux-hams

Hi there,

You can use a USB to RS232 adapter.  The PTT function will work in the
same way as a built-in serial port.

Or you can modify a USB sound card to access a GPIO pin on the sound
chip.  This will work with CM108 sound chips and SSS1623 sound chips,
but only if they are packaged chips.  If they are covered with epoxy
then you can not access the GPIO pin.  Do a web search for "CM108 PTT"
and you should get some more information.

I wrote some code which was included in soundmodem.  It allows you to
select CM108 GPIO and specify which bit should be turned on for PTT.

73,

Andrew
ZL3AME

On 25 September 2013 16:23, Waldek <sp2ong@wp.pl> wrote:
>  Hi
>
> I have looking solution on RaspberryPI with soundmodem how to do PTT if I don't have in my radio VOX. When I have use soundmodem on my laptop with linux kernel 2.x ten years ago but driver soundmodem support PTT via RS-232 which working very well with my IC-W2A. But I don't know how to do this on RPI ?
>  It is need modify soundmodem driver to possible setting the gpio pin for PTT ?? Maybe exist patch for this ?
>
>  73 Waldek sp2ong
>
>
>
> --
> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: RaspberryPI and soundmodem PTT
  2013-09-26  6:15 ` Andrew Errington
@ 2014-12-05 14:44   ` Ugo Poddine
  0 siblings, 0 replies; 7+ messages in thread
From: Ugo Poddine @ 2014-12-05 14:44 UTC (permalink / raw)
  To: linux-hams

Hi everybody,
There is also a different cheaper solution. 
a) detach the serial console output from the UART pins of the gPIO board, as 
described in several RasperryPI documentation (google can find) : basically 
editing the /boot/cmdline.txt startup file...
b) modify, using a text editor (not the soundmodemconfig utility !), the 
soundmodem.conf  file, setting /dev/ttyAMAO as PTT interface
c) run soundmodem as usual :  it will direct the PTT signal on the CTS0 pin 
of the UART.
d) the CTS0 pin can be actually (RaspberryPI B+) associated to the GPIO pin 
17 (BCM mode)when the pin mapping it's set in ALT3 MODE. The "ALT mode" 
(alternative pin mapping matrix in the RaspberryPI) switch can be easily 
made by different utilities (for example small "to be compiled" functions 
like gpio_alt.c, or alternative Python libraries like "pigpio library" or 
other, at the moment it's not managed by standard Python RPi.GPIO libraries 
). It's then required to create a small script (Python or bash, able to 
switch off SAMBA, sets the GPIO17 in ALT3 mode and finally executes 
soundmodem : doing this the GPIO17 can easily drive one of the classic PTT 
interfaces without need of heavy and expensive RS232-to-USB HW interfaces.

Enjoy
Ugo Poddine





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-12-05 14:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-25  7:23 RaspberryPI and soundmodem PTT Waldek
2013-09-25  7:27 ` marius
2013-09-26  2:48 ` David Ranch
2013-09-26  5:22   ` Marius Petrescu
2013-09-26  5:34     ` Ray Wells
2013-09-26  6:15 ` Andrew Errington
2014-12-05 14:44   ` Ugo Poddine

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.