<div dir="ltr"><div>I installed Meld and I am interested in your regular expression that will add spaces in between the hex.</div><div>I uploaded my files to filebin.</div><div><a href="https://filebin.net/dkzqg3zucekus62u">https://filebin.net/dkzqg3zucekus62u</a></div><div>The file that gave me trouble is <a href="https://filebin.net/dkzqg3zucekus62u/read1_capdev2.tsv?t=30ba37mj">read1_capdev2.tsv</a></div><div>They will be up there until March 12, 2020.</div><div>Thanks for your help.</div><div>Rich Gordon k0eb<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 4, 2020 at 8:40 PM Ryan Fuller <<a href="mailto:goldstar611@hotmail.com">goldstar611@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div dir="auto" style="direction:ltr;margin:0px;padding:0px;font-family:sans-serif;font-size:11pt;color:black">
Hi Rich, I'm on mobile so no inline reply this time.<br>
<br>
</div>
<div dir="auto" style="direction:ltr;margin:0px;padding:0px;font-family:sans-serif;font-size:11pt;color:black">
If you can copy/paste the TSV file to <a href="http://pastebin.com" target="_blank">pastebin.com</a> or similar place I can inspect the file and see what tidy is choking on.<br>
<br>
</div>
<div dir="auto" style="direction:ltr;margin:0px;padding:0px;font-family:sans-serif;font-size:11pt;color:black">
As far as next steps go, it seems you are on the right track. Make a small change, get another radiotrace file and do a difference/comparison.<br>
<br>
</div>
<div dir="auto" style="direction:ltr;margin:0px;padding:0px;font-family:sans-serif;font-size:11pt;color:black">
I have a regular expression I use (on my computer) that adds spaces in between the hex characters so graphical diff programs like Meld work better when they perform highlighting. I can pull that up if you (or anyone in chirp-devel) is interested.<br>
<br>
</div>
<div dir="auto" style="direction:ltr;margin:0px;padding:0px;font-family:sans-serif;font-size:11pt;color:black">
Tony</div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_-9175198019689301652divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Richard Gordon <<a href="mailto:rich@lowswr.com" target="_blank">rich@lowswr.com</a>><br>
<b>Sent:</b> Wednesday, March 4, 2020 7:01:45 PM<br>
<b>To:</b> <a href="mailto:goldstar611@hotmail.com" target="_blank">goldstar611@hotmail.com</a> <<a href="mailto:goldstar611@hotmail.com" target="_blank">goldstar611@hotmail.com</a>><br>
<b>Cc:</b> <a href="mailto:chirp_devel@intrepid.danplanet.com" target="_blank">chirp_devel@intrepid.danplanet.com</a> <<a href="mailto:chirp_devel@intrepid.danplanet.com" target="_blank">chirp_devel@intrepid.danplanet.com</a>><br>
<b>Subject:</b> Re: [chirp_devel] Linux USB sniffing</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">
<div>Thanks for the reply Tony.</div>
<div>TShark version is 2.6.8.</div>
<div>Yes, I have to remove the space between the dash and the i in the start_trace command. I also have to 'sudo modprobe usbmon' and 'touch cap.pcap' before starting.</div>
<div>(time goes by)</div>
<div>I was trying to capture a read from the radio. If I run tidy on this data to stdout I can see where the fault takes place in the tsv but I don't know why.</div>
<div>I had success sniffing a write to the radio and I now have a nice radiotrace file.</div>
<div>What is the next step? I will make some subtle changes and figure out how the memories are laid out.<br>
</div>
<div>Rich</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div>
<div dir="ltr">On Tue, Mar 3, 2020 at 7:49 PM <<a href="mailto:goldstar611@hotmail.com" target="_blank">goldstar611@hotmail.com</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi Rich,<br>
<br>
I've added some thoughts in line.<br>
<br>
Tony<br>
<br>
On Tue, 2020-03-03 at 17:25 -0700, Richard Gordon via chirp_devel wrote:<br>
> I really like Chirp and I thought I might try to help out with adding a new old radio.<br>
> I recently bought a used Icom IC-V8 and I have a programming cable.<br>
> Programming software runs fine under Wine.<br>
> I followed the directions on the Linux USB sniffing page.<br>
> I can capture fine and I end up with a cap.pcap file that is about 1 MB in size.<br>
Did you have to update the start_trace.sh script and remove the space between the dash and the i? start_trace.sh didnt work for me until I did that<br>
tshark - i usbmon$bus -w cap.pcap<br>
vs<br>
tshark -i usbmon$bus -w cap.pcap<br>
> I can then run the first 2 commands in the clean script and end up with the capdev and capdev.tsv files.<br>
> But when I try to run the tsv file through tidy, I get a segmentation fault but it does create an empty radiotrace.<br>
Just ensuring that you are compiling tidy.c using the info at the wiki: <a href="https://chirp.danplanet.com/projects/chirp/wiki/DevelopersUSB_Sniffing_in_Linux" rel="noreferrer" target="_blank">
https://chirp.danplanet.com/projects/chirp/wiki/DevelopersUSB_Sniffing_in_Linux</a><br>
> Any ideas?<br>
This doesn't help but I can reliably crash tidy with the non-tsv file so, maybe open up the TSV file in a text editor and ensure it "looks good"?<br>
<br>
The c file is written with a pretty high expectation that the TSV file is perfect so I suspect the TSV file formatting.<br>
<br>
What version of tshark are you using (tshark --version from a command line should be sufficient)<br>
> Thanks,<br>
> Rich Gordon k0eb<br>
> <br>
> _______________________________________________<br>
> chirp_devel mailing list<br>
> <a href="mailto:chirp_devel@intrepid.danplanet.com" target="_blank">chirp_devel@intrepid.danplanet.com</a><br>
> <a href="http://intrepid.danplanet.com/mailman/listinfo/chirp_devel" rel="noreferrer" target="_blank">
http://intrepid.danplanet.com/mailman/listinfo/chirp_devel</a><br>
> Developer docs: <a href="http://chirp.danplanet.com/projects/chirp/wiki/Developers" rel="noreferrer" target="_blank">
http://chirp.danplanet.com/projects/chirp/wiki/Developers</a><br>
<br>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote></div>