All, some more testing:1) I've attached my psk modem to an externally powered usb hub. The modem is showing up as ttyUSB0:
Aug 18 15:13:59 aubine kernel: [ 4343.502851] usb 3-2.4: Product: USB2.0 Hub Aug 18 15:13:59 aubine kernel: [ 4343.503651] hub 3-2.4:1.0: USB hub foundAug 18 15:13:59 aubine kernel: [ 4343.503955] hub 3-2.4:1.0: 4 ports detected Aug 18 15:15:06 aubine kernel: [ 4410.319296] usb 3-2.2: new full-speed USB device number 6 using xhci_hcd Aug 18 15:15:06 aubine kernel: [ 4410.335866] usb 3-2.2: New USB device found, idVendor=0557, idProduct=2008 Aug 18 15:15:06 aubine kernel: [ 4410.335882] usb 3-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Aug 18 15:15:06 aubine kernel: [ 4410.335891] usb 3-2.2: Product: USB-Serial Controller D Aug 18 15:15:06 aubine kernel: [ 4410.335899] usb 3-2.2: Manufacturer: Prolific Technology Inc. Aug 18 15:15:06 aubine kernel: [ 4410.337005] pl2303 3-2.2:1.0: pl2303 converter detected Aug 18 15:15:06 aubine kernel: [ 4410.338306] usb 3-2.2: pl2303 converter now attached to ttyUSB0 Aug 18 15:15:06 aubine mtp-probe: checking bus 3, device 6: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2.2"
Aug 18 15:15:06 aubine mtp-probe: bus: 3, device: 6 was not an MTP device2) I've downloaded jpskmail again from http://pskmail.org/PSKMaildownloads.html and installed it
3) I did not remove my old configuration.xml file in ~/.pskmail, as it was still a 2.0.30 version.
when starting pskmail: 1) java -jar javapskmail.jar configuration.xml RXTX Warning: Removing stale lock file. /var/lock/LCK..ttyUSB0 problem opening PTT port aug 18, 2014 3:21:49 PM javapskmail.Rigctl OpenPTTport SEVERE: null gnu.io.PortInUseException: Toegang geweigerd in open at gnu.io.RXTXPort.open(Native Method) at gnu.io.RXTXPort.<init>(RXTXPort.java:84) at javapskmail.Rigctl.OpenPTTport(Rigctl.java:60) at javapskmail.Main.handleinitialization(Main.java:1712) at javapskmail.Main.main(Main.java:359) jPSKmail ends here... Exception in thread "main" java.lang.NullPointerException at javapskmail.mainpskmailui.<init>(mainpskmailui.java:189) at javapskmail.Main.main(Main.java:381) and <cntr-C> to get back to console.As this error appeard to be caused by a stale lock file, I removed ttyUSB0 lock file:
rm /var/lock/LCK..ttyUSB0 2) and restarted pskmail: same error remained. So I removed ~/.pskmail/configuration.xml file 3) and restarted pskmail: output on console: java -jar javapskmail.jar configuration.xml Stable Library ========================================= Native lib Version = RXTX-2.2pre2 Java lib Version = RXTX-2.1-7 WARNING: RXTX Version mismatch Jar version = RXTX-2.1-7 native lib Version = RXTX-2.2pre2 RXTX Warning: Removing stale lock file. /var/lock/LCK..ttyUSB0 now UI appeared without settings, entered my settings (see screenshot - I'm using hardware PTT !!!) but the tranceiver is still not going into transmit ... -- mvg, Jan Bruggeman Snoekstraat 79 9000 Gent gsm: +32 476 066 826 web: http://www.aubine.be mail: jan@xxxxxxxxx On 18-08-14 14:01, Rein Couperus wrote:
Jan,just tested 2.0.30 on Lubuntu 14.04 (wanted to make sure I am not spreading wrong info :-)Tested 2.0.30 with the K3.* CAT PTT works with /dev/ttyUSB0. woked only with an active USB hub (with power). * Audio works fine, you may have to set the proper channels and levels with pavucontrol* Rig control works fine with CAT and /dev/ttyUSB0 see attached pics for the settings.... All this with an image freshly downloaded from PSKMaildownloads.htmlLet me know if you still have problems... BTW, you can also do this with jPSKmail-1.7.0/fldigi, there you have 2 new modes (DominoEx 11 and 22). Use fldigi-3.21.83, which does not crash anymore...73, Rein PA0R *Gesendet:* Sonntag, 17. August 2014 um 17:58 Uhr *Von:* "Jan Bruggeman" <jan@xxxxxxxxx> *An:* pskmail@xxxxxxxxxxxxx *Betreff:* [pskmail] using java rxtx-2.1.7.jar All, The radio is repaired and holliday is over, so I'm back to trying pskmail. My setup: - radio ft 817, so no vox in digi mode. - simple modem from intermar (can't find it on their site anymore) in pskmail ptt is set to hardware ptt using rts pin, ptt port is set to /dev/ttyUSB0. - computer runs linux mint : cat /proc/version: Linux version 3.11.0-12-generic (buildd@allspice) (gcc version 4.8.1(Ubuntu/Linaro 4.8.1-10ubuntu7) ) #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013uname -a: Linux aubine 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux java -version: java version "1.7.0_51" OpenJDK Runtime Environment (IcedTea 2.4.4) (7u51-2.4.4-0ubuntu0.13.10.1) OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode) installled rxtx version:2.2-pre2 1) when starting pskmail 2.1 I get: java -jar /home/jan/pskmail21/javapskmail2.jar Stable Library ========================================= Native lib Version = RXTX-2.2pre2 Java lib Version = RXTX-2.1-7 WARNING: RXTX Version mismatch Jar version = RXTX-2.1-7 native lib Version = RXTX-2.2pre2 jPSKmail ends here... Exception in thread "main" java.lang.NullPointerException at javapskmail.Mainpskmailui.<init>(Mainpskmailui.java:994) at javapskmail.Main.main(Main.java:414) and UI does not show up ... 2) when starting pskmail 2.0.30 I get: java -jar /home/jan/pskmail21/javapskmail.jar configuration.xml Stable Library ========================================= Native lib Version = RXTX-2.2pre2 Java lib Version = RXTX-2.1-7 WARNING: RXTX Version mismatch Jar version = RXTX-2.1-7 native lib Version = RXTX-2.2pre2 But I do get into UI and I can receive signal. But whenever I try to tune or to send, I get this output on console: port:/dev/ttyUSB0 port:/dev/ttyUSB0 and radio does not switch to transmit. So I presume this rxtx version mismatch causes pskmail to not find the ptt ... I have downloaded rxtx-2.1.7.jar, but I cannot make pskmail work with this .jar . I put it in the jpskmail folder, in my .pskmail folder, tried to specify in in the java -cp command, but to no avail. How do I do this, or do you see another solution ? ( before I blew the radio, I got the system working with pskmail 1.something and fldigi, and that setup has worked ...) -- mvg, Jan Bruggeman Snoekstraat 79 9000 Gent gsm: +32 476 066 826 web: http://www.aubine.be mail: jan@xxxxxxxxx
Description: PNG image