Steve, Answers to your three questions: If I power on the Pi with the second RIM unplugged from USB, the unit boots up and the heart beat on the first RIM is normal. If I subsequently plug in the second RIM, its heartbeat flashes normally (after about 2 seconds) and the first RIM stays up, both heartbeats are flashing, not quite synchronously, but appear to wig-wag. Life is good. If I power up the node with both RIMs connected, the first RIM heartbeat comes on first, much slower than normal, and blinks irregularly for about 3-4 seconds. Then the second RIM heartbeat starts to flash normally, and the first RIM stops flashing with the heartbeat LED on steady. (this lsusb report is with both RIMs plugged in, and the Pi powered up – RIM #1 heartbeat on steady, RIM #2 heartbeat flashing normally) root@28336:~# lsusb Bus 001 Device 005: ID 0d8c:013a C-Media Electronics, Inc. Bus 001 Device 004: ID 0d8c:013a C-Media Electronics, Inc. Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub root@28336:~# (this lsusb report is with the Pi booted with RIM #1 only, and the second RIM plugged in after boot. Both RIM heartbeats flashing normally) root@28336:~# lsusb Bus 001 Device 004: ID 0d8c:013a C-Media Electronics, Inc. Bus 001 Device 005: ID 0d8c:013a C-Media Electronics, Inc. Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub root@28336:~# (this lsusb report is with the Pi booted with RIM #1 only, the second RIM was left unplugged) root@28336:~# lsusb Bus 001 Device 004: ID 0d8c:013a C-Media Electronics, Inc. Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub root@28336:~# In all three cases, no other usb devices were connected. No keyboard, no mouse. The 3rd and 4th USB connectors are empty. channel driver is usbradio in rpt.conf, rxchannel = radio/usb for first node, and rxchannel = radio/usb2 for the second node. ** This does not match the instructions in the allstarlink.org “setting up a two node system” how-to page. ** In usbradio.conf (at the end of [usb] stanzas) I added these lines since I am using the RIM interface pins to control a set of 4 relays. Prior to adding these lines, USB communications would fail because output was not declared. The second RIM on node 2 has no relay board, so these lines are not present in the [usb2] section of usbradio.conf gpio5=out1 ; in, out0 or out1 gpio6=out1 ; in, out0 or out1 gpio7=out1 ; in, out0 or out1 gpio8=out1 ; in, out0 or out1 28336*CLI> core show version Asterisk 1521 built by root @ repeater on a armv7l running Linux on 2015-10-17 03:09:22 UTC 28336*CLI> Rpi2_dial.img was downloaded 11/26/2016 from allstarlink.org portal Thank you, Tom Cooney, Jr., W3SF tom@cooneyjr.com Home: (814)626-1531 Cell: (814)931-0060
Tom, I'm testing here with the more current version of DIAL for the RPi I am testing on a RPi3 with 2 URI I am trying different configurations to force a failure. The link is on the allstarlink.org page it is labeled " DIAL RC1 for Raspberry Pi 2/3 (Recommended)" The direct link to the download is <http://dvswitch.org/files/DIAL/RAT_RC1.tar.gz> Thanks, Steve On 04/23/2017 11:41 AM, Thomas D. Cooney, Jr. wrote:
Steve,
Answers to your three questions:
If I power on the Pi with the second RIM unplugged from USB, the unit boots up and the heart beat on the first RIM is normal. If I subsequently plug in the second RIM, its heartbeat flashes normally (after about 2 seconds) and the first RIM stays up, both heartbeats are flashing, not quite synchronously, but appear to wig-wag. Life is good.
If I power up the node with both RIMs connected, the first RIM heartbeat comes on first, much slower than normal, and blinks irregularly for about 3-4 seconds. Then the second RIM heartbeat starts to flash normally, and the first RIM stops flashing with the heartbeat LED on steady.
(this lsusb report is with both RIMs plugged in, and the Pi powered up – RIM #1 heartbeat on steady, RIM #2 heartbeat flashing normally)
root@28336:~# lsusb
Bus 001 Device 005: ID 0d8c:013a C-Media Electronics, Inc.
Bus 001 Device 004: ID 0d8c:013a C-Media Electronics, Inc.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@28336:~#
(this lsusb report is with the Pi booted with RIM #1 only, and the second RIM plugged in after boot. Both RIM heartbeats flashing normally)
root@28336:~# lsusb
Bus 001 Device 004: ID 0d8c:013a C-Media Electronics, Inc.
Bus 001 Device 005: ID 0d8c:013a C-Media Electronics, Inc.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@28336:~#
(this lsusb report is with the Pi booted with RIM #1 only, the second RIM was left unplugged)
root@28336:~# lsusb
Bus 001 Device 004: ID 0d8c:013a C-Media Electronics, Inc.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@28336:~#
In all three cases, no other usb devices were connected. No keyboard, no mouse. The 3^rd and 4^th USB connectors are empty.
channel driver is usbradio
in rpt.conf, rxchannel = radio/usb for first node, and rxchannel = radio/usb2 for the second node.
** This does not match the instructions in the allstarlink.org “setting up a two node system” how-to page. **
In usbradio.conf (at the end of [usb] stanzas) I added these lines since I am using the RIM interface pins to control a set of 4 relays. Prior to adding these lines, USB communications would fail because output was not declared.
The second RIM on node 2 has no relay board, so these lines are not present in the [usb2] section of usbradio.conf
gpio5=out1 ; in, out0 or out1
gpio6=out1 ; in, out0 or out1
gpio7=out1 ; in, out0 or out1
gpio8=out1 ; in, out0 or out1
28336*CLI> core show version
Asterisk 1521 built by root @ repeater on a armv7l running Linux on 2015-10-17 03:09:22 UTC
28336*CLI>
Rpi2_dial.img was downloaded 11/26/2016 from allstarlink.org portal
Thank you,
*Tom Cooney, Jr., W3SF*
tom@cooneyjr.com
Home: (814)626-1531
Cell: (814)931-0060
_______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
On 2017-04-23 12:01 PM, Steve Zingman wrote:
Tom, I'm testing here with the more current version of DIAL for the RPi I am testing on a RPi3 with 2 URI I am trying different configurations to force a failur The link is on the allstarlink.org page it is labeled " DIAL RC1 for Raspberry Pi 2/3 (Recommended)" The direct link to the download is <http://dvswitch.org/files/DIAL/RAT_RC1.tar.gz>
<-- Hi Steve, Tom and All: Well... the above post from Steve was a huge clue for me!! I was previously using a different image (http://dvswitch.org/files/DIAL/rpi2_dial_V101.img).... this is the image that was giving me problems with a dual node configuration. With the image referenced by Steve (the RAT_RC1 image), I was able to setup two full-duplex nodes (using chan_usbradio). I have rebooted the Pi (3) about half-a-dozen times and so far, the USB numbering seems to be static (no swapping of node #'s). Great progress for a Sunday night :). Cheers! Ramesh, VA3UV
Bob here, with my 2 cents. Sounds like a USB drive issue (read that as not enough USB drive current). I've seen it before, and put the two devices on separate USB ckts, which the RPi does not have. Recommendation. If you have another RPi 3, try it to see if you get the same results. Also, (and I don't recommend this as good practice) if you have a powered hub, put one of them on the hub. Thanks, Bob k6ecm Sent from my iPhone
On Apr 23, 2017, at 8:41 AM, Thomas D. Cooney, Jr. <tom@cooneyjr.com> wrote:
W3SF
participants (4)
-
Bob Pyke -
Ramesh Dhami -
Steve Zingman -
Thomas D. Cooney, Jr.