tshark problem : vincent@ASUS-R558UV:~/src/subsurface/build$ tshark -i /dev/ttyUSB0 -w out.pcap Capturing on '/dev/ttyUSB0' tshark: The capture session could not be initiated on interface '/dev/ttyUSB0' (No such device exists). Please check to make sure you have sufficient permissions, and that you have the proper interface or pipe specified.
Vincent Le lundi 13 novembre 2017 à 11:18 -0800, Linus Torvalds a écrit : > On Mon, Nov 13, 2017 at 10:47 AM, vavincavent <vavincav...@gmail.com> > wrote: > > A little better?? (/etc/udev/rules.d): > > So now you can actually do the IO: > > > The log file : > > Subsurface: v4.7.4-1-g4d04f74312dc, built with libdivecomputer > > v0.6.0- > > devel-Subsurface-branch (7de3a549ee588fef4702ee9d894e390aca43950d) > > INFO: Open: vid=c251, pid=2006 > > INFO: Open: interface=0, endpoints=81,02 > > INFO: Timeout: value=10 > > ERROR: Usb read interrupt transfer failed (LIBUSB_ERROR_TIMEOUT). > > [in ../../src/usbhid.c:518 (dc_usbhid_read)] > > INFO: Read: size=0, data= > > This first one is normal - it comes from the open trying to flush any > possible previous data, and it normally fails (note the short timeout > too). > > > INFO: Timeout: value=5000 > > DEBUG: cmd: size=1, data=10 > > INFO: Write: size=2, data=0110 > > Here we wrote the one-byte command. > > And then: > > > ERROR: Usb read interrupt transfer failed (LIBUSB_ERROR_TIMEOUT). > > [in ../../src/usbhid.c:518 (dc_usbhid_read)] > > INFO: Read: size=0, data= > > ERROR: read interrupt transfer failed [in > > ../../src/scubapro_g2.c:78 (receive_data)] > > ERROR: Failed to receive the answer. [in > > ../../src/scubapro_g2.c:145 (scubapro_g2_transfer)] > > But the aboive is where we fail to get the expected reply. > > I think I'd really like to see the actual packet trace from this > failure. > > Linus _______________________________________________ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface