Ok, -s was the solution. Thanks! I was runing in a virtual machine here in my office, tonight I will build the setup in home to test.
I have here FT-817D and a FT-857D, i will try using the Signalink ( I think is a PCM-2902 ) USB on one radio and another dongle in the other. Em 22/06/2012, às 05:22, Kristoff Bonne escreveu: > Hi henrique, > > > OK. It took a bit of experimenting, but I managed to reproduce the > fenomina on a laptop. > > > The audio-card of that machine does not do audio-capturing in mono. > Using USB dongles most of the time, I failed to check the return status > of the "set number of channel to 1" command in ALSA. > You should be able to get around it with the "-s" (stereo) option. > > I will add some more error-checking code in the application, or -even > better- make it switch switch to stereo automatically if needed. > > > Note that, when using -s, the current implementation of the application > expect the audio to be present on the left channel. > > Can you try again? > > > > BTW. Working with all kinds of audio-cards can sometimes turn out to be > quite squerky. In my case, when using my laptop, I not only needed to > enable stereo reception, I also needed to enable the "-autoinvert" option. > > > That's why the people who use this kind of setup for D-STAR repeaters > advice to use one particular USB dongle, which has been tested and which > works well. > More info can be found here: http://www.va3uv.com/freestar.htm > > But, I guess for just experimenting, other audio-devices can also work. > > > > 73 > Kristoff - ON1ARF > > > > On 21-06-12 16:44, Henrique Brancher Gravina wrote: >> I think that this will receive data in udp port 12345 and encode on codec2 >> and modulate at gmsk to hw:0 and receive encoded modulated data from hw:0 >> and transmit via 12346 udp port to localhost. >> >> This can work for a remote station over an network just switching the IP >> addresses. >> >> But I tried and get some error: >> >> parallels@ubuntu:~/Desktop/on1arf-gmsk-b208682/gmskmodem_codec2$ ./gmskmodem >> -format c -siu 12345 -soa hw:0 -ria hw:0 -rou 127.0.0.1 12346 >> Segmentation fault >> parallels@ubuntu:~/Desktop/on1arf-gmsk-b208682/gmskmodem_codec2$ sudo >> ./gmskmodem -format c -siu 12345 -soa hw:0 -ria hw:0 -rou 127.0.0.1 12346 >> gmskmodem: malloc.c:4631: _int_malloc: Assertion `(unsigned long)(size) >= >> (unsigned long)(nb)' failed. >> parallels@ubuntu:~/Desktop/on1arf-gmsk-b208682/gmskmodem_codec2$ >> >> >> >> Em 21/06/2012, às 06:45, Kristoff Bonne escreveu: >> >>> >>> Finally, a small quiz question. What would be the usefullness of this setup: >>> - (session 1) >>> gmskmodem -format c -siu 12345 -soa hw:0 -ptt_cs /dev/ttyS0 -ria hw:0 >>> -rou 127.0.0.1 12346 >>> >>> - (session 2) >>> nc -l -u 12346 | c2dec - - | play -D hw:1 -r 8000 -c 1 - >>> >>> - (session 3) >>> rec -D hw:1 -r 8000 - | c2enc - - | nc 127.0.0.1 12345 >>> >>> (I hope the options for "play" and "rec" are correct). >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Freetel-codec2 mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/freetel-codec2 >> > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Freetel-codec2 mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freetel-codec2 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Freetel-codec2 mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freetel-codec2
