[chirp_devel] Linux USB sniffing
goldstar611 at hotmail.com
Tue Mar 3 18:49:48 PST 2020
Hi Rich,
I've added some thoughts in line.
Tony
On Tue, 2020-03-03 at 17:25 -0700, Richard Gordon via chirp_devel wrote:
> I really like Chirp and I thought I might try to help out with adding a new old radio.
> I recently bought a used Icom IC-V8 and I have a programming cable.
> Programming software runs fine under Wine.
> I followed the directions on the Linux USB sniffing page.
> I can capture fine and I end up with a cap.pcap file that is about 1 MB in size.
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
tshark - i usbmon$bus -w cap.pcap
vs
tshark -i usbmon$bus -w cap.pcap
> I can then run the first 2 commands in the clean script and end up with the capdev and capdev.tsv files.
> But when I try to run the tsv file through tidy, I get a segmentation fault but it does create an empty radiotrace.
Just ensuring that you are compiling tidy.c using the info at the wiki: https://chirp.danplanet.com/projects/chirp/wiki/DevelopersUSB_Sniffing_in_Linux
> Any ideas?
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"?
The c file is written with a pretty high expectation that the TSV file is perfect so I suspect the TSV file formatting.
What version of tshark are you using (tshark --version from a command line should be sufficient)
> Thanks,
> Rich Gordon k0eb
>
> _______________________________________________
> chirp_devel mailing list
> chirp_devel at intrepid.danplanet.com
> http://intrepid.danplanet.com/mailman/listinfo/chirp_devel
> Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
More information about the chirp_devel
mailing list