<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 class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 3, 2020 at 7:49 PM <<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">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>