[App_rpt-users] TM-271 remote base setup

Stephen Rodgers sales at qrvc.com
Tue Sep 29 05:46:33 UTC 2009


Scott Weis wrote:
> It was suggested that I capture the output of the computer trying to talk to 
> the TM-271a. So this is what I get:
> 
> VF 0146520000,0,0,0,0,0,0,12,00,000,00600000,0,0
> VF 0146520000,0,0,0,0,0,0,12,00,000,00600000,0,0
> VF 0146520000,0,0,0,0,0,0,12,00,000,00600000,0,0
> VF 0146520000,0,0,0,0,0,0,12,00,000,00600000,0,0
> VF 0146520000,0,0,0,0,0,0,12,00,000,00600000,0,0
> 
> I'm sure that there is something missing. I have tried connecting the PC 
> running the MCP program and It is sending some sort of unprintable character 
> to get the radio in to serial programming mode. But it stops there.
> 
> Anyone have any suggestions for a protocol analyzer (Free/Cheap)?
> 
> Any ideas out there at all?
> 
> Thanks & 73,
> Scott KB2EAR
> ----- Original Message ----- 
> From: "Scott Weis" <kb2ear at kb2ear.net>
> To: "app_rpt mailing list" <app_rpt-users at qrvc.com>
> Sent: Wednesday, September 23, 2009 12:46 PM
> Subject: Re: [App_rpt-users] TM-271 remote base setup
> 
> 
>> I have now tried this on 3 different machines, every one of them fails the
>> same way. Does anyone actually have a Kenwood TM-271a working with version
>> 0.203 9/12/2009 of app_rpt.c?
>>
>> Scott
>> ----- Original Message ----- 
>> From: "Scott Weis" <kb2ear at kb2ear.net>
>> To: <sales at qrvc.com>; "Jim Duuuude" <telesistant at hotmail.com>
>> Cc: "app_rpt mailing list" <app_rpt-users at qrvc.com>
>> Sent: Tuesday, September 22, 2009 11:28 PM
>> Subject: Re: [App_rpt-users] TM-271 remote base setup
>>
>>
>>> Anyway, Does anyone out there have a working config for the tm271 that
>>> they
>>> would be willing to share? I can provide SSH access for debugging. at 
>>> this
>>> point I'm stuck.
>>>
>>> Thanks & 73
>>> Scott KB2EAR
>>> ----- Original Message ----- 
>>> From: "Stephen Rodgers" <sales at qrvc.com>
>>> To: "Jim Duuuude" <telesistant at hotmail.com>
>>> Cc: <kb2ear at kb2ear.net>; "app_rpt mailing list" <app_rpt-users at qrvc.com>
>>> Sent: Tuesday, September 22, 2009 11:07 PM
>>> Subject: Re: [App_rpt-users] TM-271 remote base setup
>>>
>>>
>>>> Jim Duuuude wrote:
>>>>> No, in the case of the tm-271 the interface IS the standard serial one
>>>>> that connects thru the mic cable.
>>>>>
>>>>>> Date: Tue, 22 Sep 2009 18:50:41 -0700
>>>>>> From: sales at qrvc.com
>>>>>> To: kb2ear at kb2ear.net
>>>>>> CC: app_rpt-users at qrvc.com
>>>>>> Subject: Re: [App_rpt-users] TM-271 remote base setup
>>>>>>
>>>>>> Scott Weis wrote:
>>>>>>> I have just tried with a belkin USB serial dongle and get the exact
>>>>>>> same
>>>>>>> errors. I can see data going out on the TX light but no rx light ever
>>>>>>> flashes. It's like the radio is not talking to the system.  As a test
>>>>>>> I
>>>>>>> tried the Kenwood RCP software with the same USB dongle and it works
>>>>>>> file.
>>>>>>>
>>>>>>> Am I supposed to set the baud rate somewhere?
>>>>>>>
>>>>>>> Thanks & 73,
>>>>>>> Scott KB2EAR
>>>>>>> ----- Original Message ----- 
>>>>>>> From: "Scott Weis" <kb2ear at kb2ear.net>
>>>>>>> To: "app_rpt users list" <app_rpt-users at qrvc.com>
>>>>>>> Sent: Tuesday, September 22, 2009 5:01 PM
>>>>>>> Subject: [App_rpt-users] (no subject)
>>>>>>>
>>>>>>>
>>>>>>>> I am haveing trouble setting up a remote base using a TM-271A. I 
>>>>>>>> have
>>>>>>>> the
>>>>>>>> folloing settings in my rpt.conf
>>>>>>>>
>>>>>>>> [2555]                                  ; Node id of Remote Base
>>>>>>>> rxchannel = Radio/usb1                  ; Rx audio/signalling 
>>>>>>>> channel
>>>>>>>> functions = functions-remote
>>>>>>>> phone_functions=functions-remote
>>>>>>>> remote=tm271
>>>>>>>> ioport = /dev/ttyS0                     ; Specify port for serial
>>>>>>>> port
>>>>>>>> (optional)
>>>>>>>> memory = memory                         ; Section to hold memory
>>>>>>>> entries
>>>>>>>> (optional)
>>>>>>>> authlevel = 0                           ; Anyone can use it
>>>>>>>> duplex=0
>>>>>>>> statpost_program=/usr/bin/wget,-q,--output-document=/dev/null ;
>>>>>>>> Program
>>>>>>>> and
>>>>>>>> options to send stats
>>>>>>>> statpost_url=http://stats.allstarlink.org/uhandler.php ; URL for
>>>>>>>> status
>>>>>>>> updates
>>>>>>>>
>>>>>>>> When I connect I get serial errors, am I missing something?
>>>>>>>>
>>>>>>>> [Sep 22 16:54:32] NOTICE[10614]: chan_echolink.c:2102
>>>>>>>> do_el_directory:
>>>>>>>> Directory pgm done downloading(partial,compressed), 132 records
>>>>>>>>    -- Accepting AUTHENTICATED call from 172.31.1.164:
>>>>>>>>       > requested format = ulaw,
>>>>>>>>       > requested prefs = (ulaw),
>>>>>>>>       > actual format = ulaw,
>>>>>>>>       > host prefs = (ulaw|gsm),
>>>>>>>>       > priority = mine
>>>>>>>>    -- Executing [2555 at radio-phone:1] Answer("IAX2/pbx-5488", "") in
>>>>>>>> new
>>>>>>>> stack
>>>>>>>>    -- Executing [2555 at radio-phone:2] Wait("IAX2/pbx-5488", "2") in
>>>>>>>> new
>>>>>>>> stack
>>>>>>>>    -- Executing [2555 at radio-phone:3] Rpt("IAX2/pbx-5488", "2555|P")
>>>>>>>> in
>>>>>>>> new
>>>>>>>> stack
>>>>>>>>    -- Re-Loading config for repeater 2555
>>>>>>>>  == Parsing '/etc/asterisk/rpt.conf': Found
>>>>>>>>    -- rpt (Rx) initiating call to Radio/usb1 on Radio/usb1
>>>>>>>>  == Set device 5-1 to usb1
>>>>>>>>  == Parsing '/etc/asterisk/usbradio_tune_usb1.conf': Found
>>>>>>>> [Sep 22 16:54:36] WARNING[10860]: chan_usbradio.c:1436 hidthread:
>>>>>>>> Loaded
>>>>>>>> parameters from usbradio_tune_usb1.conf for device usb1 .
>>>>>>>> [Sep 22 16:54:36] NOTICE[10859]: app_rpt.c:4040 openserial: Opened
>>>>>>>> serial
>>>>>>>> port /dev/ttyS0
>>>>>>>> [Sep 22 16:54:36] NOTICE[10859]: app_rpt.c:8284 rpt_telemetry:
>>>>>>>> Tracepoint
>>>>>>>> rpt_telemetry() entered mode=38
>>>>>>>> [Sep 22 16:54:36] NOTICE[10859]: app_rpt.c:8478 rpt_telemetry:
>>>>>>>> Tracepoint
>>>>>>>> rpt_telemetry() exit
>>>>>>>> [Sep 22 16:54:36] NOTICE[10871]: app_rpt.c:4230 send_usb_txt:
>>>>>>>> send_usb_txt
>>>>>>>> SETFREQ 0.0 0.0 0.0 0.0 L
>>>>>>>> [Sep 22 16:54:36] NOTICE[10871]: app_rpt.c:11117 serial_remote_io:
>>>>>>>> ioport=/dev/ttyS0 baud=13 iofd=0x4b
>>>>>>>> [Sep 22 16:54:37] WARNING[10871]: app_rpt.c:11140 serial_remote_io:
>>>>>>>> Serial
>>>>>>>> device not responding on node 2555
>>>>>>>> [Sep 22 16:54:37] NOTICE[10871]: app_rpt.c:11117 serial_remote_io:
>>>>>>>> ioport=/dev/ttyS0 baud=13 iofd=0x4b
>>>>>>>> [Sep 22 16:54:38] WARNING[10871]: app_rpt.c:11140 serial_remote_io:
>>>>>>>> Serial
>>>>>>>> device not responding on node 2555
>>>>>>>> [Sep 22 16:54:38] NOTICE[10871]: app_rpt.c:11117 serial_remote_io:
>>>>>>>> ioport=/dev/ttyS0 baud=13 iofd=0x4b
>>>>>>>> [Sep 22 16:54:39] WARNING[10871]: app_rpt.c:11140 serial_remote_io:
>>>>>>>> Serial
>>>>>>>> device not responding on node 2555
>>>>>>>> [Sep 22 16:54:39] NOTICE[10871]: app_rpt.c:11117 serial_remote_io:
>>>>>>>> ioport=/dev/ttyS0 baud=13 iofd=0x4b
>>>>>>>> [Sep 22 16:54:39] NOTICE[10733]: app_rpt.c:10331 handle_link_data:
>>>>>>>> @@@@
>>>>>>>> node
>>>>>>>> 2298 recieved node list L
>>>>>>>> T2023,T2061,T2459,T2010,T2011,T2393,T2480,T2481
>>>>>>>> from node 2000
>>>>>>>> [Sep 22 16:54:40] WARNING[10871]: app_rpt.c:11140 serial_remote_io:
>>>>>>>> Serial
>>>>>>>> device not responding on node 2555
>>>>>>>> [Sep 22 16:54:40] NOTICE[10871]: app_rpt.c:11117 serial_remote_io:
>>>>>>>> ioport=/dev/ttyS0 baud=13 iofd=0x4b
>>>>>>>> [Sep 22 16:54:41] WARNING[10871]: app_rpt.c:11140 serial_remote_io:
>>>>>>>> Serial
>>>>>>>> device not responding on node 2555
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> App_rpt-users mailing list
>>>>>>>> App_rpt-users at qrvc.com
>>>>>>>> http://qrvc.com/mailman/listinfo/app_rpt-users
>>>>>>>>
>>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> App_rpt-users mailing list
>>>>>>> App_rpt-users at qrvc.com
>>>>>>> http://qrvc.com/mailman/listinfo/app_rpt-users
>>>>>>>
>>>>>> The baud rate is fixed in the app_rpt s/w.
>>>>>>
>>>>>> The problem is very likely to be in the interface. What are you using
>>>>>> for an interface? Note the interface is not the usb to serial
>>>>>> converter,
>>>>>> and it is not the pre-made up Kenwood serial cable either. It is
>>>>>> usually
>>>>>> a homebrew circuit which merges the output from the sound fob and the
>>>>>> serial port together, oh, and it requires power from the modified FOB
>>>>>> as
>>>>>> well.
>>>>>>
>>>>>> Please refer to the interface circuit here:
>>>>>>
>>>>>> http://images.qrvc.com/usb2tmg707.pdf
>>>>>>
>>>>>> Steve
>>>>>> WA6ZFT
>>>>>> _______________________________________________
>>>>>> App_rpt-users mailing list
>>>>>> App_rpt-users at qrvc.com
>>>>>> http://qrvc.com/mailman/listinfo/app_rpt-users
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> _______________________________________________
>>>>> App_rpt-users mailing list
>>>>> App_rpt-users at qrvc.com
>>>>> http://qrvc.com/mailman/listinfo/app_rpt-users
>>>> Oops. I screwed up!
>>>> I don't know how I got stuck on TMG-707 vs TM-271.
>>>>
>>>> The TM-271 has a dedicated serial port so please disregard my confusing
>>>> message....
>>>>
>>>> Steve
>>>> WA6ZFT
>>>>
>>>>
>>>>
>>>
>>> _______________________________________________
>>> App_rpt-users mailing list
>>> App_rpt-users at qrvc.com
>>> http://qrvc.com/mailman/listinfo/app_rpt-users
>>>
>>>
>>
>> _______________________________________________
>> App_rpt-users mailing list
>> App_rpt-users at qrvc.com
>> http://qrvc.com/mailman/listinfo/app_rpt-users
>>
>>
> 
> 
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at qrvc.com
> http://qrvc.com/mailman/listinfo/app_rpt-users
> 

What version of app_rpt.c are you running?

I'm no the expert on the TM-271 code or its protocol, but after a brief
look, it seems to me like the code is attempting send a VF command
(which it should do) and is never receiving an acknowledge response from
the radio!  This explains the 5 VF attempts seen in the capture as the
Kenwood retry count is set to 5 in the code. You should be able to
confirm this by going in to the Asterisk CLI and sending the  CLI command:

rpt debug level 5

Then connect to the remote base and capture the cli output.

Another thing to try is to monitor the serial data going from the radio
back to the PC and try to see if you can see any acknowledgement data
being transmitted by the radio.

Steve
WA6ZFT





More information about the App_rpt-users mailing list