[arm-allstar] Pi 3b+ physical to logical USB map locking

David McGough kb4fxc at inttek.net
Tue Jul 10 21:13:03 EST 2018


Jay,

The simpleusb-tune-menu will automatically create/update these config 
files for you, using the device string as interpreted by the channel 
driver.

Launch the program and go through each USB device found using the 'S' 
command. Configure as needed. Then, 'W' the config.

Repeat the about for all your USB fobs.


73, David KB4FXC




On Tue, 10 Jul 2018, "Jay Urish via arm-allstar" wrote:

> Is this something a script created?

I have 3 rim lites on my pi3b and only have 1 entry in that file


[usb1101]
; name=usb
; devicenum=2
devstr=1-1.4:1.0
rxmixerset=150
txmixaset=750
txmixbset=500


I am missing node usb1102 and 1103


where can I find the dev strings?

I ran dmesg and I think I found them there.

  5.407319] input: C-Media Electronics Inc.       USB PnP Sound Device 
as 
/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.3/0003:0D8C:013A.0002/input/input1


On 07/01/2018 11:24 PM, "Doug Crompton via arm-allstar" wrote:
> Jack,
>
>   There really isn't any magic to it. Once the ports are setup they are
> stored in this way -
>
>   cat /etc/asterisk/simpleusb_tune_usb.conf
>
> [usb]
> ; name=usb
> ; devicenum=0
> devstr=1-1.2:1.0
> rxmixerset=600
> txmixaset=500
> txmixbset=500
>
> There would be a stanza for each port in this file (this only shows one)
> and the devstr would indicated the physical port. This is configured when
> you set it up. After that the physical ports are fixed and should be marked
> as such.
>
>
>
> *73 Doug*
>
> *WA3DSP*
>
> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
>
>
>
>
> On Sun, Jul 1, 2018 at 11:26 PM, "Jack Koehler 2 via arm-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
>> Yeah, I know. I thought I had the port sequence figured out, had it
>> stabilized for over 20 reboots, then it decided to change again.  The
>> easiest thing to do is just swap the connectors between the radios until I
>> can figure out the magic of port selection.
>>
>>
>> -----Original Message-----
>> From: arm-allstar [mailto:arm-allstar-bounces at hamvoip.org] On Behalf Of
>> "Doug Crompton via arm-allstar"
>> Sent: Sunday, July 1, 2018 6:29 PM
>> To: ARM Allstar
>> Cc: Doug Crompton
>> Subject: Re: [arm-allstar] Pi 3b+ physical to logical USB map locking
>>
>> Jack,
>>
>>   But you are moving to a different system and I suspect the USB is
>> confused. You don't need to do the complete setup just the setup for the
>> USB ports at the end of the setup howto.
>>
>> Doug
>>
>> On Sun, Jul 1, 2018 at 6:19 PM, "Jack Koehler 2 via arm-allstar" <
>> arm-allstar at hamvoip.org> wrote:
>>
>>> Well that was the case with the 3b,  only configured it once and reboots
>>> never changed the order.  But when I moved to the b+ it has changed order
>>> each of the 3 times I rebooted. The 1st time it swapped 1 for 4, the 2nd
>>> time it swapped 3 & 4. 3rd time swapped 1 & 3.  It's a crap shoot.
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: arm-allstar [mailto:arm-allstar-bounces at hamvoip.org] On Behalf Of
>>> "Doug Crompton via arm-allstar"
>>> Sent: Sunday, July 1, 2018 3:11 PM
>>> To: ARM Allstar <arm-allstar at hamvoip.org>
>>> Cc: Doug Crompton <wa3dsp at gmail.com>
>>> Subject: Re: [arm-allstar] Pi 3b+ physical to logical USB map locking
>>>
>>> Jack,
>>>
>>>   The procedure is not that long. See the end part of the setup howto at
>>> hamvoip. You just have to see up and plug in one at a time until you get
>>> all
>>> plugged in. You only do this once not every time you boot.
>>>
>>> Doug
>>>
>>> On Sun, Jul 1, 2018 at 1:49 PM, "Jack Koehler 2 via arm-allstar" <
>>> arm-allstar at hamvoip.org> wrote:
>>>
>>>> Yeah, that can do it, but we had a way of controlling the probe
>>>> process but I can't remember it as it was a long time ago.
>>>> This is a lengthy procedure to do each time it is booted.
>>>> Will do a bit more research.
>>>> Jack
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: arm-allstar [mailto:arm-allstar-bounces at hamvoip.org] On Behalf
>>>> Of "Doug Crompton via arm-allstar"
>>>> Sent: Sunday, July 1, 2018 1:40 PM
>>>> To: ARM Allstar
>>>> Cc: Doug Crompton
>>>> Subject: Re: [arm-allstar] Pi 3b+ physical to logical USB map locking
>>>>
>>>> Jack,
>>>>
>>>>    Did you just move the SD card over to the 3B+?  I think you need to
>>>> follow the same process as you did on the prior board of bringing one
>>>> online at a time. Comment out the rxchannel line for everything but
>>>> the first and then bring them online one at a time uncommenting each
>>>> rxchannel and storing the setup as per the setup instructions. You may
>>>> have to delete the /etc/asterisk/simpleusb_tune_usb.conf file first as
>>>> it has the old mappings. Then do the setup one at a time.
>>>>
>>>>
>>>> *73 Doug*
>>>>
>>>> *WA3DSP*
>>>>
>>>> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
>>>>
>>>>
>>>> On Sun, Jul 1, 2018 at 12:55 PM, "Jack Koehler 2 via arm-allstar" <
>>>> arm-allstar at hamvoip.org> wrote:
>>>>
>>>>> Hello David (and Doug),
>>>>> Had been using 3b for a while with 4 FOBs for remote VHF/UHF
>>>>> transceiver remote control from a MIC node.
>>>>> Rebooting the 3b would always come up with the same logical to
>>>>> physical mapping.
>>>>> Now that I have moved to the b+, I get random mapping.  Tried
>>>>> booting
>>>> with
>>>>> the 1st one installed then adding the others in the original order I
>>>>> did when first setting them up but still get a couple swapped.
>>>>> Is there any way to lock the mapping? Or modifying the probe order?
>>>>> Thanks.
>>>>> Jack  K3OYH
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>>
>>>>> arm-allstar mailing list
>>>>> arm-allstar at hamvoip.org
>>>>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>>>>>
>>>>> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>>>>>
>>>> _______________________________________________
>>>>
>>>> arm-allstar mailing list
>>>> arm-allstar at hamvoip.org
>>>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>>>>
>>>> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>>>>
>>>> _______________________________________________
>>>>
>>>> arm-allstar mailing list
>>>> arm-allstar at hamvoip.org
>>>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>>>>
>>>> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>>>>
>>> _______________________________________________
>>>
>>> arm-allstar mailing list
>>> arm-allstar at hamvoip.org
>>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>>>
>>> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>>>
>>> _______________________________________________
>>>
>>> arm-allstar mailing list
>>> arm-allstar at hamvoip.org
>>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>>>
>>> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>>>
>> _______________________________________________
>>
>> arm-allstar mailing list
>> arm-allstar at hamvoip.org
>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>>
>> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>>
>> _______________________________________________
>>
>> arm-allstar mailing list
>> arm-allstar at hamvoip.org
>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>>
>> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>>
> _______________________________________________
>
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org

_______________________________________________

arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar

Visit the BBB and RPi2/3 web page - http://hamvoip.org



More information about the arm-allstar mailing list