Scubapro Aladin Square

vavincavent vavincavent at gmail.com
Mon Nov 13 13:45:27 PST 2017


vincent at ASUS-R558UV:~/src/subsurface/build$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 04ca:3018 Lite-On Technology Corp. 
Bus 001 Device 004: ID 0bda:57de Realtek Semiconductor Corp. 
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129
Card Reader Controller
Bus 001 Device 002: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop
Laser
Bus 001 Device 054: ID c251:2006 Keil Software, Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

So, Bus 1...

I plug the square, put in download mode...

vincent at ASUS-R558UV:~/src/subsurface/build$ sudo tshark -i usbmon1 -s
256 -w usb.pcap
Running as user "root" and group "root". This could be dangerous.
Capturing on 'usbmon1'
tshark: The file to which the capture would be saved ("usb.pcap") could
not be opened: Permission denied.

vincent at ASUS-R558UV:~/src/subsurface/build$ 

tshark don't stay open...

Vincent



Le lundi 13 novembre 2017 à 13:36 -0800, Linus Torvalds a écrit :
> On Mon, Nov 13, 2017 at 1:28 PM, vavincavent <vavincavent at gmail.com>
> wrote:
> > vincent at ASUS-R558UV:~/src/subsurface/build$ sudo tshark -D
> > Running as user "root" and group "root". This could be dangerous.
> > 1. enp2s0
> > 2. wlp3s0
> > 3. any
> > 4. lo (Loopback)
> > 5. bluetooth0
> > 6. usbmon0
> > 7. nflog
> > 8. nfqueue
> > 9. usbmon1
> > 10. usbmon2
> > 11. cisco (Cisco remote capture)
> > 12. randpkt (Random packet generator)
> > 13. ssh (SSH remote capture)
> 
> Ok, so what does lsusb say when the device is connected? For my
> scubapro, it looks like this:
> 
>   Bus 003 Device 005: ID 2e6c:3201
> 
> so it's on bus 3.
> 
> Depending on the bus, pick the right "usbmonX" device, and then:
> 
>  - plug the device in, and put it in download mode
> 
>  - do "sudo tshark -i usbmonX -s 256 -w usb.pcap" in one terminal
> 
>  - and finally, start subsurface and try to download
> 
> after the download failed, just kill tshark, and send me the pcap
> file.
> 
> (You can look at it with 'wireshark' of course)
> 
>               Linus


More information about the subsurface mailing list