gMFSK and my wonky PTT driver
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)
Quoted 12 lines
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/lp0it 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?
Quoted 1 line
Jonathan Lassoff (KG6THI)
Hello Jonathan,
lp stands for Line Printer, not what you want. The right device is probably /dev/parport0
73, Luc, LX2GT
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello Jonathan,
Quoted 5 lines
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.
Quoted 3 lines
Jonathan Lassoff (KG6THI)
Luc
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines · Luc Langehegermann
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)
Quoted 8 lines
Thanks Luc. That definetly got
/dev/parport0to 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'.
Quoted 2 lines
Jonathan Lassoff (KG6THI)
Joop PG4I
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines · Luc Langehegermann
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)
Quoted 7 lines · Jonathan Lassoff
Quoted 3 lines · Luc Langehegermann
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...)
Signature · 1 line
Tomi Manninen / OH2BNS / KP20JF74
Hi Jonathan
Did you tried to load the module with those parameters?
insmod parport
insmod parport_pc io=0x378 irq=7
Claudinei
Pu2nzw