Trying to run two nodes, each with its own SHARI on one Raspberry Pi 3b+

Hello:

This is my first post - I already tried searching for my subject, but can’t find any matches.

I’m successfully running two different nodes (541820 and 541821) on a single Raspberry Pi 3B+. Works fine.

I recently added a SHARI Pi3U https://hamprojects.info/shari/, which also works fine, and is associated with the first node.

Prior to the SHARI, I used a repeater-builder RIM-Lite: http://www.repeater-builder.com/products/usb-rim-lite.html to connect to an old base station I had, which I no longer use.

However, what I’d really like to do is add a second SHARI unit (this time on VHF), using the remaining two USB ports on the Raspberry Pi. Both SHARI’s won’t fit there at the same time (the existing SHARI is too thick), but I could use USB extension cables to make it work. My big question is:

How do I “disassociate” the old USB RIM-lite that I had previously plugged into port 3? I understand that the Pi is not good at discovering two USB devices, and once you plug something it, you always have to remember which port it was in, or it won’t work.

Thanks!

Jim, K6KCP

Jim, I can’t say anything about -
I understand that the Pi is not good at discovering two USB devices, and once you plug something it, you always have to remember which port it was in, or it won’t work.’

but all/any usb used as a radio interface just needs the proper description in your radiousb/simpleusb
devstr=4-2

The first number is the usb buss# and the second is the device in it.
A pi has 2 buss with 2 ports each.
So, you do need to plug into the described bus & port. Or it just no workie.

to help you see them… (while plugged in) try this command

lsusb

the output will look something like this…
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Obviously, this is not a pi but a old 2ghz intel atom board with 5 buss’s

1 Like

Thank you for the help Mike, I’ll give it a try!

Hi Mike:

Here is my lsusb printout, with nothing plugged in:

Bus 001 Device 006: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Here it is with my SHARI plugged in:

Bus 001 Device 004: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 005: ID 0d8c:0012 C-Media Electronics, Inc.
Bus 001 Device 006: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Can help me identify which port is which socket? I’m guessing device 004 & 005 must be the SHARI, since those only appear when the SHARI is plugged in. There appear to be six devices, but I only have four USB ports.

Thanks again.

I think your shari is
devstr=1-5

But let me know if that is not correct so I do not advise anyone else the same way.
Never worked with those.

If you unplug this and plug some other device into it, it could shuffle those numbers around so you would need to look at it again. At least, It has done that to me on a pc before.
I never used sound adapter on a pi… yet.

ASL was intended to use the c-media chips for sound. (written for them)
So, when others make devices to interface, they use them or a compatible device.

This is likely for control… ptt/cos
But I don’t know just how that works with sahri.

Perhaps a shari user will chime in.

Or, could you post a link to their set-up config docs ?

I believe the USB-Serial adapter is to program the 818 radio. Frequency, power, CTCSS etc.

Hi JIm, I’m wondering if you ever got this figured out. I’m trying to do the same thing but seem to be stuck in the same part and can’t seem to find “devstr” part