[chirp_devel] Linux USB sniffing
Richard Gordon
Wed Mar 4 17:01:45 PST 2020
Thanks for the reply Tony.
TShark version is 2.6.8.
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.
(time goes by)
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.
I had success sniffing a write to the radio and I now have a nice
radiotrace file.
What is the next step? I will make some subtle changes and figure out how
the memories are laid out.
Rich
On Tue, Mar 3, 2020 at 7:49 PM <goldstar611 at hotmail.com> wrote:
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20200304/6fb8a01a/attachment-0001.html
More information about the chirp_devel
mailing list