Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
* gMFSK and my wonky PTT driver
@ 2005-07-19 22:01 Jonathan Lassoff
  2005-07-20  5:36 ` Luc Langehegermann
  2005-07-23 23:16 ` Claudieni
  0 siblings, 2 replies; 8+ messages in thread
From: Jonathan Lassoff @ 2005-07-19 22:01 UTC (permalink / raw)
  To: linux-hams

I started to use gMFSK and I wanted it to get working with the
parallel port PTT driver I made for soundmodem. The problem that I am
having is that when I modprobe in parport, parport_pc, and lp and go
to gMFSK and ask it to use /dev/lp0 it says that it isn't either a
serial or parallel port. I'm not really sure what the means in this
context, or how it checks past just seeing that it is a device. I can
see lp0 in /dev and see that it is a character special device. I'm
also concerned that it will just set the DCD or RTS high instead of
the first data port based on the tick boxes in the config. Soundmodem
has it setup to use the data pin. I have that driving a transistor
that closes a pin to ground to put the TX on. Any ideas on this setup?

Jonathan Lassoff (KG6THI)

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

* Re: gMFSK and my wonky PTT driver
  2005-07-19 22:01 gMFSK and my wonky PTT driver Jonathan Lassoff
@ 2005-07-20  5:36 ` Luc Langehegermann
       [not found]   ` <40764501050719234740f6498c@mail.gmail.com>
  2005-07-23 23:16 ` Claudieni
  1 sibling, 1 reply; 8+ messages in thread
From: Luc Langehegermann @ 2005-07-20  5:36 UTC (permalink / raw)
  To: Jonathan Lassoff; +Cc: linux-hams

> I started to use gMFSK and I wanted it to get working with the
> parallel port PTT driver I made for soundmodem. The problem that I am
> having is that when I modprobe in parport, parport_pc, and lp and go
> to gMFSK and ask it to use /dev/lp0 it says that it isn't either a
> serial or parallel port. I'm not really sure what the means in this
> context, or how it checks past just seeing that it is a device. I can
> see lp0 in /dev and see that it is a character special device. I'm
> also concerned that it will just set the DCD or RTS high instead of
> the first data port based on the tick boxes in the config. Soundmodem
> has it setup to use the data pin. I have that driving a transistor
> that closes a pin to ground to put the TX on. Any ideas on this setup?
>
> Jonathan Lassoff (KG6THI)

Hello Jonathan,

lp stands for Line Printer, not what you want. The right device is
probably /dev/parport0

73, Luc, LX2GT



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

* Re: gMFSK and my wonky PTT driver
       [not found]   ` <40764501050719234740f6498c@mail.gmail.com>
@ 2005-07-20  6:55     ` Luc Langehegermann
       [not found]       ` <4076450105072122516b4ec0f9@mail.gmail.com>
  0 siblings, 1 reply; 8+ messages in thread
From: Luc Langehegermann @ 2005-07-20  6:55 UTC (permalink / raw)
  To: Jonathan Lassoff; +Cc: linux-hams

Hello Jonathan,

>
> Why doesn't it exist? I tried to use "MAKEDEV parport" to create the
> special devices, but it didn't actually make them. I'm still a little
> confused why devices show up /dev. Do kernel modules (built-in or
> otherwise) make them?

That depends on your system. On mine, loading modules does create devices.
the proper module you need to load is probably ppdev.

>
> Jonathan Lassoff (KG6THI)
>

Luc



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

* Re: gMFSK and my wonky PTT driver
       [not found]       ` <4076450105072122516b4ec0f9@mail.gmail.com>
@ 2005-07-22  6:56         ` Jonathan Lassoff
  2005-07-22  7:29           ` Joop Stakenborg
       [not found]         ` <17499.194.154.200.89.1122012400.squirrel@mail.lx2gt.lu>
  1 sibling, 1 reply; 8+ messages in thread
From: Jonathan Lassoff @ 2005-07-22  6:56 UTC (permalink / raw)
  To: linux-hams

On 19/07/05, Luc Langehegermann <luc2@lx2gt.lu> wrote:
> Hello Jonathan,
> That depends on your system. On mine, loading modules does create devices.
> the proper module you need to load is probably ppdev.
>
> Luc

Thanks Luc. That definetly got /dev/parport0 to show up. But, when I
started gMFSK, I found that I had to be root for permissions. So, I
started as root and then when I tested the PTT, I get a popup that
says: "set_ptt: ioctl: Invalid argument" So, I then took a look in the
kernel messages and got: "ppdev0: claim the port first" Does anyone
have an idea as to what is going on?

Jonathan Lassoff (KG6THI)

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

* Re: gMFSK and my wonky PTT driver
       [not found]         ` <17499.194.154.200.89.1122012400.squirrel@mail.lx2gt.lu>
@ 2005-07-22  6:58           ` Jonathan Lassoff
  2005-07-22  8:49             ` Tomi Manninen
  0 siblings, 1 reply; 8+ messages in thread
From: Jonathan Lassoff @ 2005-07-22  6:58 UTC (permalink / raw)
  To: linux-hams

On 21/07/05, Luc Langehegermann <luc2@lx2gt.lu> wrote:
> Jonathan, have you actually checked if mfsk does support PTT via the
> Parport. The error message sounds for me such way, that mfsk doesn't
> support parport keying!?!?
> 
> 73, Luc

Well, it's one of the compiled-in options in the drop-down list. Based
on this, I'd imagine that it's supported.

Jonathan Lassoff (KG6THI)

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

* Re: gMFSK and my wonky PTT driver
  2005-07-22  6:56         ` Jonathan Lassoff
@ 2005-07-22  7:29           ` Joop Stakenborg
  0 siblings, 0 replies; 8+ messages in thread
From: Joop Stakenborg @ 2005-07-22  7:29 UTC (permalink / raw)
  To: Jonathan Lassoff; +Cc: linux-hams

>
> Thanks Luc. That definetly got /dev/parport0 to show up. But, when I
> started gMFSK, I found that I had to be root for permissions. So, I
> started as root and then when I tested the PTT, I get a popup that
> says: "set_ptt: ioctl: Invalid argument" So, I then took a look in the
> kernel messages and got: "ppdev0: claim the port first" Does anyone
> have an idea as to what is going on?
>

Just an idea. Is the lp module loaded?
You must unload it with 'rmmod lp'.

> Jonathan Lassoff (KG6THI)
>

Joop PG4I


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

* Re: gMFSK and my wonky PTT driver
  2005-07-22  6:58           ` Jonathan Lassoff
@ 2005-07-22  8:49             ` Tomi Manninen
  0 siblings, 0 replies; 8+ messages in thread
From: Tomi Manninen @ 2005-07-22  8:49 UTC (permalink / raw)
  To: linux-hams

On Thu, 21 Jul 2005, Jonathan Lassoff wrote:

> On 21/07/05, Luc Langehegermann <luc2@lx2gt.lu> wrote:
>> Jonathan, have you actually checked if mfsk does support PTT via the
>> Parport. The error message sounds for me such way, that mfsk doesn't
>> support parport keying!?!?
>
> Well, it's one of the compiled-in options in the drop-down list. Based
> on this, I'd imagine that it's supported.

It's been a while since I tested this functionality but it certainly did 
work at some point. And without root priviledges if my memory serves 
(running gMFSK as root would be an unacceptable solution anyway...)

-- 
Tomi Manninen / OH2BNS / KP20JF74

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

* RE: gMFSK and my wonky PTT driver
  2005-07-19 22:01 gMFSK and my wonky PTT driver Jonathan Lassoff
  2005-07-20  5:36 ` Luc Langehegermann
@ 2005-07-23 23:16 ` Claudieni
  1 sibling, 0 replies; 8+ messages in thread
From: Claudieni @ 2005-07-23 23:16 UTC (permalink / raw)
  To: 'Jonathan Lassoff', linux-hams

Hi Jonathan 


Did you tried to load the module with those parameters?



insmod parport

insmod parport_pc io=0x378 irq=7 



Claudinei
Pu2nzw


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

end of thread, other threads:[~2005-07-23 23:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-19 22:01 gMFSK and my wonky PTT driver Jonathan Lassoff
2005-07-20  5:36 ` Luc Langehegermann
     [not found]   ` <40764501050719234740f6498c@mail.gmail.com>
2005-07-20  6:55     ` Luc Langehegermann
     [not found]       ` <4076450105072122516b4ec0f9@mail.gmail.com>
2005-07-22  6:56         ` Jonathan Lassoff
2005-07-22  7:29           ` Joop Stakenborg
     [not found]         ` <17499.194.154.200.89.1122012400.squirrel@mail.lx2gt.lu>
2005-07-22  6:58           ` Jonathan Lassoff
2005-07-22  8:49             ` Tomi Manninen
2005-07-23 23:16 ` Claudieni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox