Date   

Re: DV3000 Pi Questions

"John D. Hays" <john@...>
 



On Sat, Jun 20, 2015 at 11:41 AM, dan@... [UniversalDigitalRadio] <UniversalDigitalRadio@...> wrote:
 

Now that I have my DV3000 GPIO board running in my Pi 2 I have a couple more questions.


1) I'm running the software remotely - Dummy Repeater and ircDDBGateway on the PC connected to AMBEserverGPIO on the Pi.  Has anyone considered running ircDDBGateway on the Pi and only running Dummy Repeater Remotely?


Yes, do this regularly.   Fixed IP addresses work best.
 

2) I have another Pi running pcrepeatercontroller, ircDDBGateway and a DVAP.  If I can put ircDDBGateway on the Pi could I connect the DVAP to it and let the Pi run both the DVAP and DV3000?  I assume I would set the DV3000 up as repeater1 and the DVAP as repeater2.


The DV3000 does not talk directly to ircDDBGateway, only through a program like DummyRepeater.  I have regularly run ircDDBGateway + dstarrepeater on a Pi as well as AMBEserverGPIO,  and accessed both from DummyRepeater whether local or remote.  Running two modules through ircDDBGateway on a Pi is not a problem, especially with a Pi 2.

 

3) Has anyone tried running the whole thing remotely?  ie, DV3000 Pi at home and Dummy Repeater on the road connecting over the internet...   That would certainly take opening ports on the firewall or using a VPN connection from the remote to home.  


I have done so on fixed addresses, though you do have to watch network reliability since it is UDP.  For fixed addresses you might run a VPN on your mobile unit back to the router where your ircDDBGateway/AMBEserver are running.

(ircDDBGateway likes to know the IP address of the inbound module)

In all cases configure ircDDBGateway to listen on 0.0.0.0 (all interfaces)

 


--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223 
  


DV3000 Pi Questions

dan@...
 

Now that I have my DV3000 GPIO board running in my Pi 2 I have a couple more questions.


1) I'm running the software remotely - Dummy Repeater and ircDDBGateway on the PC connected to AMBEserverGPIO on the Pi.  Has anyone considered running ircDDBGateway on the Pi and only running Dummy Repeater Remotely?


2) I have another Pi running pcrepeatercontroller, ircDDBGateway and a DVAP.  If I can put ircDDBGateway on the Pi could I connect the DVAP to it and let the Pi run both the DVAP and DV3000?  I assume I would set the DV3000 up as repeater1 and the DVAP as repeater2.


3) Has anyone tried running the whole thing remotely?  ie, DV3000 Pi at home and Dummy Repeater on the road connecting over the internet...   That would certainly take opening ports on the firewall or using a VPN connection from the remote to home.  


Re: Pi - Can't Find AMBE Dongle On The Port Specified

"Dan Ozment" <dan@...>
 

Just to wrap this up, John found my problem.  I had spaces in config.txt around the “=” as in

 

init_uart_clock = 50000000

 

John removed the spaces as follows, and I’m in business.

 

init_uart_clock=50000000

 

Again, John, thanks for your help and thanks to all who replied with suggestions.


Dan

W4DTO

 

From: UniversalDigitalRadio@... [mailto:UniversalDigitalRadio@...]
Sent: Friday, June 19, 2015 1:25 PM
To: UniversalDigitalRadio@...
Subject: Re: [UniversalDigitalRadio] Re: Pi - Can't Find AMBE Dongle On The Port Specified

 

 

I can look, but since you reinstalled, please review this

 

1.     The DV3000 board is pre-set to run at 230400 baud over the UART interface in “packet mode”. This is the minimum speed for successful operation.

2.     Prepare the Raspberry Pi. This consists of (a) increasing the clock to the RPi UART, (b) disabling the getty (to allow terminal login) running on the RPi serial port, and (c) disable the console on the serial port.Halt and remove power from the Raspberry Pi, fit the DV3000 board, reconnect power, and reboot

1.     Edit the file /boot/config.txt and add the line:
init_uart_clock=3686400
Note: a higher value is needed on RPi 2 (50000000 has been suggested by VK4TUX)

2.     Edit the file /etc/inittab and replace or comment the line:
T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
with:
#T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
or delete the line entirely.

3.     Edit the file /boot/cmdline.txt and replace or comment the line (these lines are wrapped in this article, they should appear as a single line in the file):
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
with:
dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
Note: If the value for ‘root’ is different than /dev/mmcblkop2, preserve your current root=/dev/… and simply remove ‘console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty‘ from the line. (Thanks to DL5DI)

You may also want to physically re-seat the DV3000

 

If that doesn't get it working, email me directly and I'll have a look.

 

On Fri, Jun 19, 2015 at 9:49 AM, 'Dan Ozment' dan@... [UniversalDigitalRadio] <UniversalDigitalRadio@...> wrote:

 

John,

 

That’s correct.  At one point I had Dummy Repeater and ircDDBGateway installed on the Pi, and I was able to make it talk to the card.  I was never able to get to it from the remote PC.   I have rebuilt and reinstalled the Pi since then.

 

I just tried again with ttyAM0 and got the same result. 

 

John, if I give you SSH access would you consider looking at the Pi?  I just set up a port forwarding rule to get to it from outside my firewall.  I forwarded both TCP/22 (on a non-standard port) and UDP/2460.   I could send you details in a private email if you would do that for me.

 

Dan

 

From: UniversalDigitalRadio@... [mailto:UniversalDigitalRadio@...]
Sent: Friday, June 19, 2015 12:39 PM


To: UniversalDigitalRadio@...
Subject: Re: [UniversalDigitalRadio] Re: Pi - Can't Find AMBE Dongle On The Port Specified

 

 

It doesn't appear you DV3000 is talking (we are talking about the GPIO plug in card on a Raspberry Pi, correct?)

 

From our site -- 

 

Test your DV3000 for communication with Raspberry Pi

sudo python AMBEtest2.py

 The results should include:

Product ID
6100010030
Wrote: 5 bytes
a
0
AMBE3000R
Version
6100010031
Wrote: 5 bytes
a
11V120.E100.XXXX.C106.G514.R009.B0010411.C0020208

 

Your results do not indicate this.

If you do a 

ls /dev/ttyA*

You should see a /dev/ttyAMA0  -- this is the interface for the DV3000 (A ThumbDV would show up as a /dev/ttyUSBx where x is a number). In which case you would use

AMBEserverGPIO -x -i /dev/ttyAMA0

 

 

 

On Fri, Jun 19, 2015 at 8:45 AM, 'Dan Ozment' dan@... [UniversalDigitalRadio] <UniversalDigitalRadio@...> wrote:

 

Thanks, John.  First, I verified that my PC firewall is being controlled by McAfee and that I have the firewall disabled in McAfee.  I’m running Dummy Repeater as admin in Win 7 compatibility mode.  I’ve tried it in XP and 8.1 mode as well.  Then, I took the following steps.   Note: I had to specify a TTY port when I started AMBEserverGPIO from the command line, so I blindly chose TTY1.  Also, I started Dummy Repeater twice, so there are two instances of AMBEserverGPIO receiving data.  

 

Still wondering what I’ve missed.  Is there a configuration file for AMBEserverGPIO?  I don’t remember doing any kind of configuration for it.  The only files I edited were /boot/cmdline.txt, /boot.config.txt, and /etc/inittab.

 

root@raspberrypi:~# cd DV3000/

root@raspberrypi:~/DV3000# ls

AMBEserver    AMBEserverGPIO    AMBEserver.o  AMBEtest3.py  dv3000d-AMBEserver.pdf  dv3000d.o  Makefile            README.txt

AMBEserver.c  AMBEserverGPIO.o  AMBEtest2.py  dv3000d       dv3000d.c               init.d     README-dv3000d.txt  wiringPi

 

 

root@raspberrypi:~/DV3000# service AMBEserverGPIO stop

Terminated

 

root@raspberrypi:~/DV3000# python ./AMBEtest2.py

d

8

N

1

False

False

False

0

Reset

6100010033

Wrote: 5 bytes

 

Product ID

6100010030

Wrote: 5 bytes

 

Version

6100010031

Wrote: 5 bytes

 

Set DSTAR Mode

61000c000a013007634000000000000048

Wrote: 17 bytes

 

 

root@raspberrypi:~/DV3000# AMBEserverGPIO

An input tty filename (-i /dev/ttyXXX) or a COM port number (-c 3) must be set.

 

root@raspberrypi:~/DV3000# AMBEserverGPIO -x -i /dev/tty1

opened the Wiring Pi library

Reset DV3000

opened the UDP socket on port 2460

opened /dev/tty1

Wrote Reset 5 chars

Socket data

0000:  61 00 01 00 30                                     *a...0*

Socket data

0000:  61 00 01 00 30                                     *a...0*

 

 

From: UniversalDigitalRadio@... [mailto:UniversalDigitalRadio@...]
Sent: Friday, June 19, 2015 1:28 AM
To: UniversalDigitalRadio@...
Subject: Re: [UniversalDigitalRadio] Re: Pi - Can't Find AMBE Dongle On The Port Specified

 

 

If you stop AMBEserverGPIO and run it from the command line

 

You can run with the -x flag to see what it is receiving and sending.  The tcpdump should see the packets, but the debug mode will let you know what the program sees.

 

There is a handshake between DummyRepeater and AMBEserver that needs to take place for DummyRepeater to recognize that it can see the DV3000 (or ThumbDV).  

 

You might also try running DummyRepeater as administrator under Windows.

 

Also, after you stop the AMBEserver, you might run AMBEtest2.py just verify that the device is talking before restarting AMBEserverGPIO.



 

--

 


John D. Hays
K7VE

 

PO Box 1223, Edmonds, WA 98020-1223 

  

 



 

--

 


John D. Hays
K7VE

 

PO Box 1223, Edmonds, WA 98020-1223 

  

 


Re: Pi - Can't Find AMBE Dongle On The Port Specified

"John D. Hays" <john@...>
 

I can look, but since you reinstalled, please review this

  1. The DV3000 board is pre-set to run at 230400 baud over the UART interface in “packet mode”. This is the minimum speed for successful operation.
  2. Prepare the Raspberry Pi. This consists of (a) increasing the clock to the RPi UART, (b) disabling the getty (to allow terminal login) running on the RPi serial port, and (c) disable the console on the serial port.Halt and remove power from the Raspberry Pi, fit the DV3000 board, reconnect power, and reboot
    1. Edit the file /boot/config.txt and add the line:
      init_uart_clock=3686400
      Note: a higher value is needed on RPi 2 (50000000 has been suggested by VK4TUX)
    2. Edit the file /etc/inittab and replace or comment the line:
      T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
      with:
      #T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
      or delete the line entirely.
    3. Edit the file /boot/cmdline.txt and replace or comment the line (these lines are wrapped in this article, they should appear as a single line in the file):
      dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
      with:
      dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
      Note: If the value for ‘root’ is different than /dev/mmcblkop2, preserve your current root=/dev/… and simply remove ‘console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty‘ from the line. (Thanks to DL5DI)
You may also want to physically re-seat the DV3000

If that doesn't get it working, email me directly and I'll have a look.

On Fri, Jun 19, 2015 at 9:49 AM, 'Dan Ozment' dan@... [UniversalDigitalRadio] <UniversalDigitalRadio@...> wrote:
 

John,

 

That’s correct.  At one point I had Dummy Repeater and ircDDBGateway installed on the Pi, and I was able to make it talk to the card.  I was never able to get to it from the remote PC.   I have rebuilt and reinstalled the Pi since then.

 

I just tried again with ttyAM0 and got the same result. 

 

John, if I give you SSH access would you consider looking at the Pi?  I just set up a port forwarding rule to get to it from outside my firewall.  I forwarded both TCP/22 (on a non-standard port) and UDP/2460.   I could send you details in a private email if you would do that for me.

 

Dan

 

From: UniversalDigitalRadio@... [mailto:UniversalDigitalRadio@...]
Sent: Friday, June 19, 2015 12:39 PM


To: UniversalDigitalRadio@...
Subject: Re: [UniversalDigitalRadio] Re: Pi - Can't Find AMBE Dongle On The Port Specified

 

 

It doesn't appear you DV3000 is talking (we are talking about the GPIO plug in card on a Raspberry Pi, correct?)

 

From our site -- 

 

Test your DV3000 for communication with Raspberry Pi

sudo python AMBEtest2.py

 The results should include:

Product ID
6100010030
Wrote: 5 bytes
a
0
AMBE3000R
Version
6100010031
Wrote: 5 bytes
a
11V120.E100.XXXX.C106.G514.R009.B0010411.C0020208

 

Your results do not indicate this.

If you do a 

ls /dev/ttyA*

You should see a /dev/ttyAMA0  -- this is the interface for the DV3000 (A ThumbDV would show up as a /dev/ttyUSBx where x is a number). In which case you would use

AMBEserverGPIO -x -i /dev/ttyAMA0

 

 

 

On Fri, Jun 19, 2015 at 8:45 AM, 'Dan Ozment' dan@... [UniversalDigitalRadio] <UniversalDigitalRadio@...> wrote:

 

Thanks, John.  First, I verified that my PC firewall is being controlled by McAfee and that I have the firewall disabled in McAfee.  I’m running Dummy Repeater as admin in Win 7 compatibility mode.  I’ve tried it in XP and 8.1 mode as well.  Then, I took the following steps.   Note: I had to specify a TTY port when I started AMBEserverGPIO from the command line, so I blindly chose TTY1.  Also, I started Dummy Repeater twice, so there are two instances of AMBEserverGPIO receiving data.  

 

Still wondering what I’ve missed.  Is there a configuration file for AMBEserverGPIO?  I don’t remember doing any kind of configuration for it.  The only files I edited were /boot/cmdline.txt, /boot.config.txt, and /etc/inittab.

 

root@raspberrypi:~# cd DV3000/

root@raspberrypi:~/DV3000# ls

AMBEserver    AMBEserverGPIO    AMBEserver.o  AMBEtest3.py  dv3000d-AMBEserver.pdf  dv3000d.o  Makefile            README.txt

AMBEserver.c  AMBEserverGPIO.o  AMBEtest2.py  dv3000d       dv3000d.c               init.d     README-dv3000d.txt  wiringPi

 

 

root@raspberrypi:~/DV3000# service AMBEserverGPIO stop

Terminated

 

root@raspberrypi:~/DV3000# python ./AMBEtest2.py

d

8

N

1

False

False

False

0

Reset

6100010033

Wrote: 5 bytes

 

Product ID

6100010030

Wrote: 5 bytes

 

Version

6100010031

Wrote: 5 bytes

 

Set DSTAR Mode

61000c000a013007634000000000000048

Wrote: 17 bytes

 

 

root@raspberrypi:~/DV3000# AMBEserverGPIO

An input tty filename (-i /dev/ttyXXX) or a COM port number (-c 3) must be set.

 

root@raspberrypi:~/DV3000# AMBEserverGPIO -x -i /dev/tty1

opened the Wiring Pi library

Reset DV3000

opened the UDP socket on port 2460

opened /dev/tty1

Wrote Reset 5 chars

Socket data

0000:  61 00 01 00 30                                     *a...0*

Socket data

0000:  61 00 01 00 30                                     *a...0*

 

 

From: UniversalDigitalRadio@... [mailto:UniversalDigitalRadio@...]
Sent: Friday, June 19, 2015 1:28 AM
To: UniversalDigitalRadio@...
Subject: Re: [UniversalDigitalRadio] Re: Pi - Can't Find AMBE Dongle On The Port Specified

 

 

If you stop AMBEserverGPIO and run it from the command line

 

You can run with the -x flag to see what it is receiving and sending.  The tcpdump should see the packets, but the debug mode will let you know what the program sees.

 

There is a handshake between DummyRepeater and AMBEserver that needs to take place for DummyRepeater to recognize that it can see the DV3000 (or ThumbDV).  

 

You might also try running DummyRepeater as administrator under Windows.

 

Also, after you stop the AMBEserver, you might run AMBEtest2.py just verify that the device is talking before restarting AMBEserverGPIO.



 

--

 


John D. Hays
K7VE

 

PO Box 1223, Edmonds, WA 98020-1223 

  

 




--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223 
  


Re: Pi - Can't Find AMBE Dongle On The Port Specified

"Dan Ozment" <dan@...>
 

I meant to post details from the test with ttyAMA0…

 

root@raspberrypi:~# service AMBEserverGPIO stop

Terminated

 

root@raspberrypi:~# AMBEserverGPIO -x -i /dev/ttyAMA0

opened the Wiring Pi library

Reset DV3000

opened the UDP socket on port 2460

opened /dev/ttyAMA0

Wrote Reset 5 chars

AMBEserver: unknown byte from the DV3000, 0xFF

Socket data

0000:  61 00 01 00 30                                     *a...0*

 

 

From: Dan Ozment [mailto:dan@...]
Sent: Friday, June 19, 2015 12:50 PM
To: 'UniversalDigitalRadio@...'
Subject: RE: [UniversalDigitalRadio] Re: Pi - Can't Find AMBE Dongle On The Port Specified

 

John,

 

That’s correct.  At one point I had Dummy Repeater and ircDDBGateway installed on the Pi, and I was able to make it talk to the card.  I was never able to get to it from the remote PC.   I have rebuilt and reinstalled the Pi since then.

 

I just tried again with ttyAM0 and got the same result. 

 

John, if I give you SSH access would you consider looking at the Pi?  I just set up a port forwarding rule to get to it from outside my firewall.  I forwarded both TCP/22 (on a non-standard port) and UDP/2460.   I could send you details in a private email if you would do that for me.

 

Dan


Re: Pi - Can't Find AMBE Dongle On The Port Specified

"Dan Ozment" <dan@...>
 

John,

 

That’s correct.  At one point I had Dummy Repeater and ircDDBGateway installed on the Pi, and I was able to make it talk to the card.  I was never able to get to it from the remote PC.   I have rebuilt and reinstalled the Pi since then.

 

I just tried again with ttyAM0 and got the same result. 

 

John, if I give you SSH access would you consider looking at the Pi?  I just set up a port forwarding rule to get to it from outside my firewall.  I forwarded both TCP/22 (on a non-standard port) and UDP/2460.   I could send you details in a private email if you would do that for me.

 

Dan

 

From: UniversalDigitalRadio@... [mailto:UniversalDigitalRadio@...]
Sent: Friday, June 19, 2015 12:39 PM
To: UniversalDigitalRadio@...
Subject: Re: [UniversalDigitalRadio] Re: Pi - Can't Find AMBE Dongle On The Port Specified

 

 

It doesn't appear you DV3000 is talking (we are talking about the GPIO plug in card on a Raspberry Pi, correct?)

 

From our site -- 

 

Test your DV3000 for communication with Raspberry Pi

sudo python AMBEtest2.py

 The results should include:

Product ID
6100010030
Wrote: 5 bytes
a
0
AMBE3000R
Version
6100010031
Wrote: 5 bytes
a
11V120.E100.XXXX.C106.G514.R009.B0010411.C0020208

 

Your results do not indicate this.

If you do a 

ls /dev/ttyA*

You should see a /dev/ttyAMA0  -- this is the interface for the DV3000 (A ThumbDV would show up as a /dev/ttyUSBx where x is a number). In which case you would use

AMBEserverGPIO -x -i /dev/ttyAMA0

 

 

 

On Fri, Jun 19, 2015 at 8:45 AM, 'Dan Ozment' dan@... [UniversalDigitalRadio] <UniversalDigitalRadio@...> wrote:

 

Thanks, John.  First, I verified that my PC firewall is being controlled by McAfee and that I have the firewall disabled in McAfee.  I’m running Dummy Repeater as admin in Win 7 compatibility mode.  I’ve tried it in XP and 8.1 mode as well.  Then, I took the following steps.   Note: I had to specify a TTY port when I started AMBEserverGPIO from the command line, so I blindly chose TTY1.  Also, I started Dummy Repeater twice, so there are two instances of AMBEserverGPIO receiving data.  

 

Still wondering what I’ve missed.  Is there a configuration file for AMBEserverGPIO?  I don’t remember doing any kind of configuration for it.  The only files I edited were /boot/cmdline.txt, /boot.config.txt, and /etc/inittab.

 

root@raspberrypi:~# cd DV3000/

root@raspberrypi:~/DV3000# ls

AMBEserver    AMBEserverGPIO    AMBEserver.o  AMBEtest3.py  dv3000d-AMBEserver.pdf  dv3000d.o  Makefile            README.txt

AMBEserver.c  AMBEserverGPIO.o  AMBEtest2.py  dv3000d       dv3000d.c               init.d     README-dv3000d.txt  wiringPi

 

 

root@raspberrypi:~/DV3000# service AMBEserverGPIO stop

Terminated

 

root@raspberrypi:~/DV3000# python ./AMBEtest2.py

d

8

N

1

False

False

False

0

Reset

6100010033

Wrote: 5 bytes

 

Product ID

6100010030

Wrote: 5 bytes

 

Version

6100010031

Wrote: 5 bytes

 

Set DSTAR Mode

61000c000a013007634000000000000048

Wrote: 17 bytes

 

 

root@raspberrypi:~/DV3000# AMBEserverGPIO

An input tty filename (-i /dev/ttyXXX) or a COM port number (-c 3) must be set.

 

root@raspberrypi:~/DV3000# AMBEserverGPIO -x -i /dev/tty1

opened the Wiring Pi library

Reset DV3000

opened the UDP socket on port 2460

opened /dev/tty1

Wrote Reset 5 chars

Socket data

0000:  61 00 01 00 30                                     *a...0*

Socket data

0000:  61 00 01 00 30                                     *a...0*

 

 

From: UniversalDigitalRadio@... [mailto:UniversalDigitalRadio@...]
Sent: Friday, June 19, 2015 1:28 AM
To: UniversalDigitalRadio@...
Subject: Re: [UniversalDigitalRadio] Re: Pi - Can't Find AMBE Dongle On The Port Specified

 

 

If you stop AMBEserverGPIO and run it from the command line

 

You can run with the -x flag to see what it is receiving and sending.  The tcpdump should see the packets, but the debug mode will let you know what the program sees.

 

There is a handshake between DummyRepeater and AMBEserver that needs to take place for DummyRepeater to recognize that it can see the DV3000 (or ThumbDV).  

 

You might also try running DummyRepeater as administrator under Windows.

 

Also, after you stop the AMBEserver, you might run AMBEtest2.py just verify that the device is talking before restarting AMBEserverGPIO.



 

--

 


John D. Hays
K7VE

 

PO Box 1223, Edmonds, WA 98020-1223 

  

 


Re: Pi - Can't Find AMBE Dongle On The Port Specified

"John D. Hays" <john@...>
 

It doesn't appear you DV3000 is talking (we are talking about the GPIO plug in card on a Raspberry Pi, correct?)

From our site -- 

Test your DV3000 for communication with Raspberry Pi

sudo python AMBEtest2.py

 The results should include:

Product ID
6100010030
Wrote: 5 bytes
a
0AMBE3000R
Version
6100010031
Wrote: 5 bytes
a11V120.E100.XXXX.C106.G514.R009.B0010411.C0020208


Your results do not indicate this.

If you do a 

ls /dev/ttyA*

You should see a /dev/ttyAMA0  -- this is the interface for the DV3000 (A ThumbDV would show up as a /dev/ttyUSBx where x is a number). In which case you would use

AMBEserverGPIO -x -i /dev/ttyAMA0




On Fri, Jun 19, 2015 at 8:45 AM, 'Dan Ozment' dan@... [UniversalDigitalRadio] <UniversalDigitalRadio@...> wrote:
 

Thanks, John.  First, I verified that my PC firewall is being controlled by McAfee and that I have the firewall disabled in McAfee.  I’m running Dummy Repeater as admin in Win 7 compatibility mode.  I’ve tried it in XP and 8.1 mode as well.  Then, I took the following steps.   Note: I had to specify a TTY port when I started AMBEserverGPIO from the command line, so I blindly chose TTY1.  Also, I started Dummy Repeater twice, so there are two instances of AMBEserverGPIO receiving data.  

 

Still wondering what I’ve missed.  Is there a configuration file for AMBEserverGPIO?  I don’t remember doing any kind of configuration for it.  The only files I edited were /boot/cmdline.txt, /boot.config.txt, and /etc/inittab.

 

root@raspberrypi:~# cd DV3000/

root@raspberrypi:~/DV3000# ls

AMBEserver    AMBEserverGPIO    AMBEserver.o  AMBEtest3.py  dv3000d-AMBEserver.pdf  dv3000d.o  Makefile            README.txt

AMBEserver.c  AMBEserverGPIO.o  AMBEtest2.py  dv3000d       dv3000d.c               init.d     README-dv3000d.txt  wiringPi

 

 

root@raspberrypi:~/DV3000# service AMBEserverGPIO stop

Terminated

 

root@raspberrypi:~/DV3000# python ./AMBEtest2.py

d

8

N

1

False

False

False

0

Reset

6100010033

Wrote: 5 bytes

 

Product ID

6100010030

Wrote: 5 bytes

 

Version

6100010031

Wrote: 5 bytes

 

Set DSTAR Mode

61000c000a013007634000000000000048

Wrote: 17 bytes

 

 

root@raspberrypi:~/DV3000# AMBEserverGPIO

An input tty filename (-i /dev/ttyXXX) or a COM port number (-c 3) must be set.

 

root@raspberrypi:~/DV3000# AMBEserverGPIO -x -i /dev/tty1

opened the Wiring Pi library

Reset DV3000

opened the UDP socket on port 2460

opened /dev/tty1

Wrote Reset 5 chars

Socket data

0000:  61 00 01 00 30                                     *a...0*

Socket data

0000:  61 00 01 00 30                                     *a...0*

 

 

From: UniversalDigitalRadio@... [mailto:UniversalDigitalRadio@...]
Sent: Friday, June 19, 2015 1:28 AM
To: UniversalDigitalRadio@...
Subject: Re: [UniversalDigitalRadio] Re: Pi - Can't Find AMBE Dongle On The Port Specified

 

 

If you stop AMBEserverGPIO and run it from the command line

 

You can run with the -x flag to see what it is receiving and sending.  The tcpdump should see the packets, but the debug mode will let you know what the program sees.

 

There is a handshake between DummyRepeater and AMBEserver that needs to take place for DummyRepeater to recognize that it can see the DV3000 (or ThumbDV).  

 

You might also try running DummyRepeater as administrator under Windows.

 

Also, after you stop the AMBEserver, you might run AMBEtest2.py just verify that the device is talking before restarting AMBEserverGPIO.




--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223 
  


Re: Pi - Can't Find AMBE Dongle On The Port Specified

"Dan Ozment" <dan@...>
 

Thanks, John.  First, I verified that my PC firewall is being controlled by McAfee and that I have the firewall disabled in McAfee.  I’m running Dummy Repeater as admin in Win 7 compatibility mode.  I’ve tried it in XP and 8.1 mode as well.  Then, I took the following steps.   Note: I had to specify a TTY port when I started AMBEserverGPIO from the command line, so I blindly chose TTY1.  Also, I started Dummy Repeater twice, so there are two instances of AMBEserverGPIO receiving data.  

 

Still wondering what I’ve missed.  Is there a configuration file for AMBEserverGPIO?  I don’t remember doing any kind of configuration for it.  The only files I edited were /boot/cmdline.txt, /boot.config.txt, and /etc/inittab.

 

root@raspberrypi:~# cd DV3000/

root@raspberrypi:~/DV3000# ls

AMBEserver    AMBEserverGPIO    AMBEserver.o  AMBEtest3.py  dv3000d-AMBEserver.pdf  dv3000d.o  Makefile            README.txt

AMBEserver.c  AMBEserverGPIO.o  AMBEtest2.py  dv3000d       dv3000d.c               init.d     README-dv3000d.txt  wiringPi

 

 

root@raspberrypi:~/DV3000# service AMBEserverGPIO stop

Terminated

 

root@raspberrypi:~/DV3000# python ./AMBEtest2.py

d

8

N

1

False

False

False

0

Reset

6100010033

Wrote: 5 bytes

 

Product ID

6100010030

Wrote: 5 bytes

 

Version

6100010031

Wrote: 5 bytes

 

Set DSTAR Mode

61000c000a013007634000000000000048

Wrote: 17 bytes

 

 

root@raspberrypi:~/DV3000# AMBEserverGPIO

An input tty filename (-i /dev/ttyXXX) or a COM port number (-c 3) must be set.

 

root@raspberrypi:~/DV3000# AMBEserverGPIO -x -i /dev/tty1

opened the Wiring Pi library

Reset DV3000

opened the UDP socket on port 2460

opened /dev/tty1

Wrote Reset 5 chars

Socket data

0000:  61 00 01 00 30                                     *a...0*

Socket data

0000:  61 00 01 00 30                                     *a...0*

 

 

From: UniversalDigitalRadio@... [mailto:UniversalDigitalRadio@...]
Sent: Friday, June 19, 2015 1:28 AM
To: UniversalDigitalRadio@...
Subject: Re: [UniversalDigitalRadio] Re: Pi - Can't Find AMBE Dongle On The Port Specified

 

 

If you stop AMBEserverGPIO and run it from the command line

 

You can run with the -x flag to see what it is receiving and sending.  The tcpdump should see the packets, but the debug mode will let you know what the program sees.

 

There is a handshake between DummyRepeater and AMBEserver that needs to take place for DummyRepeater to recognize that it can see the DV3000 (or ThumbDV).  

 

You might also try running DummyRepeater as administrator under Windows.

 

Also, after you stop the AMBEserver, you might run AMBEtest2.py just verify that the device is talking before restarting AMBEserverGPIO.


Re: Pi - Can't Find AMBE Dongle On The Port Specified

"John D. Hays" <john@...>
 

If you stop AMBEserverGPIO and run it from the command line

You can run with the -x flag to see what it is receiving and sending.  The tcpdump should see the packets, but the debug mode will let you know what the program sees.

There is a handshake between DummyRepeater and AMBEserver that needs to take place for DummyRepeater to recognize that it can see the DV3000 (or ThumbDV).  

You might also try running DummyRepeater as administrator under Windows.

Also, after you stop the AMBEserver, you might run AMBEtest2.py just verify that the device is talking before restarting AMBEserverGPIO.



On Thu, Jun 18, 2015 at 6:44 PM, dan@... [UniversalDigitalRadio] <UniversalDigitalRadio@...> wrote:
 

Thanks for the suggestion, Guysr99.  The firewall is off on the Windows side. That was my first big mistake.   I'm running a tcpdump capture on the Pi, and I see a packet coming to the Pi from the PC on port 2460.   But, only one packet.  It looks like it can get there, but the Pi doesn't hear it.




--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223 
  


Re: Pi - Can't Find AMBE Dongle On The Port Specified

dan@...
 

Thanks for the suggestion, Guysr99.  The firewall is off on the Windows side. That was my first big mistake.   I'm running a tcpdump capture on the Pi, and I see a packet coming to the Pi from the PC on port 2460.   But, only one packet.  It looks like it can get there, but the Pi doesn't hear it.


Re: Pi - Can't Find AMBE Dongle On The Port Specified

guy81@...
 

Do you have the windows firewall service disabled?  If not go to services, stop the windows firewall service, disable it then reboot.  I ran into the same thing when setting up mine.

Sent from XFINITY Connect Mobile App


------ Original Message ------

From: dan@... [UniversalDigitalRadio]
To: UniversalDigitalRadio@...
Sent: June 18, 2015 at 6:35 PM
Subject: [UniversalDigitalRadio] Re: Pi - Can't Find AMBE Dongle On The Port Specified
 

The Pi is at 192.168.100.229, and Dummy Repeater's Dongle tab is set to Type=DV3000 Network, Address=192.168.100.229, and Port=2460.  


I don't recall seeing configuration info for AMBEserverGPIO , but it is running and appears to be listening on UDP/2460

Not sure if I mentioned this earlier, but I installed Dummy Repeater and ircDDBGateway on the Pi, and was able to make it work until the sound card crapped out.   In that case I used the same port and 127.0.0.1 in Dummy Repeater.

Following is some testing of the port and the IP on the Pi.

root@raspberrypi:/etc/init.d# service AMBEserverGPIO stop
Terminated

root@raspberrypi:/etc/init.d# netstat -ae |grep 2460

root@raspberrypi:/etc/init.d# service AMBEserverGPIO start
Starting AMBEserverGPIO
Reset DV3000
root@raspberrypi:/etc/init.d# Wrote Reset 5 chars
AMBEserver: unknown byte from the DV3000, 0xFE

root@raspberrypi:/etc/init.d# netstat -ae |grep 2460
udp        0      0 *:2460                  *:*                                 root       84477

root@raspberrypi:/etc/init.d# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr b8:27:eb:99:98:8a
          inet addr:192.168.100.229  Bcast:192.168.100.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:304610 errors:0 dropped:408 overruns:0 frame:0
          TX packets:122091 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:57155839 (54.5 MiB)  TX bytes:10437004 (9.9 MiB)



Re: Pi - Can't Find AMBE Dongle On The Port Specified

dan@...
 

The Pi is at 192.168.100.229, and Dummy Repeater's Dongle tab is set to Type=DV3000 Network, Address=192.168.100.229, and Port=2460.  

I don't recall seeing configuration info for AMBEserverGPIO , but it is running and appears to be listening on UDP/2460

Not sure if I mentioned this earlier, but I installed Dummy Repeater and ircDDBGateway on the Pi, and was able to make it work until the sound card crapped out.   In that case I used the same port and 127.0.0.1 in Dummy Repeater.

Following is some testing of the port and the IP on the Pi.

root@raspberrypi:/etc/init.d# service AMBEserverGPIO stop
Terminated

root@raspberrypi:/etc/init.d# netstat -ae |grep 2460

root@raspberrypi:/etc/init.d# service AMBEserverGPIO start
Starting AMBEserverGPIO
Reset DV3000
root@raspberrypi:/etc/init.d# Wrote Reset 5 chars
AMBEserver: unknown byte from the DV3000, 0xFE

root@raspberrypi:/etc/init.d# netstat -ae |grep 2460
udp        0      0 *:2460                  *:*                                 root       84477

root@raspberrypi:/etc/init.d# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr b8:27:eb:99:98:8a
          inet addr:192.168.100.229  Bcast:192.168.100.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:304610 errors:0 dropped:408 overruns:0 frame:0
          TX packets:122091 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:57155839 (54.5 MiB)  TX bytes:10437004 (9.9 MiB)



Re: Pi - Can't Find AMBE Dongle On The Port Specified

john@...
 

What we need is the IP addresses and UDP ports you have configured for DummyRepeater and AMBEserver on each computer (the PC and Raspberry Pi)  They have to match.


Re: Pi - Can't Find AMBE Dongle On The Port Specified

"Dan Ozment" <dan@...>
 

Thanks for the replies.   I'm running version 20150507 for both Dummy Repeater and ircDDB Gateway on the Windows PC.  Not sure how to get AMBEserverGPIO to give me a version, but I found the following in AMBEserver.c.

 

#define DV3000_VERSION          "2014-11-12"'

 

I'm looking for the location of the Dummy Repeater and ircDDBGateway files on Windows.  I will post the configurations when I find them.

 


Re: Pi - Can't Find AMBE Dongle On The Port Specified

jyricklin@...
 

Hello,
what is your version off DummyRepeater?
Get the version : DummyRepeater-20150507
I use 2 repeater on ircDDBGateway
DV3000U and dvptr V1
you can use : http://www.westerndstar.co.uk/Downloads/D-StarRepeater+ircDDB+VNC+Widget.rar
I update ircDDBGateway-20150615 and DStarRepeater-20150615
All is ok
73 F1IZL


Re: Pi - Can't Find AMBE Dongle On The Port Specified

"John D. Hays" <john@...>
 

Provide the configuration you are using for AMBEserverGPIO  and For DummyRepeater

Include addresses and ports.

On Wed, Jun 17, 2015 at 8:37 PM, dan@... [UniversalDigitalRadio] <UniversalDigitalRadio@...> wrote:
 

I'm struggling to get my DV3000 board going in my Pi.  I followed the instructions found in http://www.amateurlogic.com/downloads/DV3000.pdf.  After a couple of failed starts I believe I've followed the instructions to the letter.  


I'm trying to use the model of running Dummy Repeater on my Win 8.1 laptop and have it connect to the Pi.  But, when I try I get "Can't Find the AMBE Dongle on the port specified".  


I shut down the firewall on the laptop, and don't have a firewall on the Pi.   I'm certain I'm using the correct IP address.  


As a test I installed ircddbgateway and dummy repeater on the PI and brought it up there (with an external sound card installed).   I wasn't able to connect with serial, but I was able to bring it up and use it momentarily connecting via the network (to 127.0.0.1).  


Any suggestions on how to troubleshoot?





--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223 
  


Pi - Can't Find AMBE Dongle On The Port Specified

dan@...
 

I'm struggling to get my DV3000 board going in my Pi.  I followed the instructions found in http://www.amateurlogic.com/downloads/DV3000.pdf.  After a couple of failed starts I believe I've followed the instructions to the letter.  


I'm trying to use the model of running Dummy Repeater on my Win 8.1 laptop and have it connect to the Pi.  But, when I try I get "Can't Find the AMBE Dongle on the port specified".  


I shut down the firewall on the laptop, and don't have a firewall on the Pi.   I'm certain I'm using the correct IP address.  


As a test I installed ircddbgateway and dummy repeater on the PI and brought it up there (with an external sound card installed).   I wasn't able to connect with serial, but I was able to bring it up and use it momentarily connecting via the network (to 127.0.0.1).  


Any suggestions on how to troubleshoot?



Re: My talk on DV Modes at MicroHAMS 2015

izzy_y2k@...
 

Great presentation John,  Fusion shows much promise and I see it as the dominate player in digital (with the help of you and NW Digital.)

Why would someone want to spend thousands on an Icom stack when we will be able to have a tri-mode system for hundreds with the capability of other systems to follow like integration of the analog voip systems as well.

I long for one device to be able to access Dstar Fusion DMR on digital side and Allstar, Echolink & Irlp on 1 repeater (not to communicate with each other but to be able to access any one at a time.)


My talk on DV Modes at MicroHAMS 2015

"John D. Hays" <john@...>
 


--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223 
  


Any updates on UDRC including release date

ian@...
 

I was wondering if there will be any updates posted soon about the UDRC, operational and interfacing, any other hardware/software that may be required ?

Release Date ? 

Just trying to get a better understanding of this product, I am very interested in finding out more about it.


Regards

Ian (VK2HK)