i have usb rs232 adapter i'm using communicate legacy device. want analyze data going , legacy device ubuntu machine on usb. adapter getting detected automatically without installing driver shown in lsusb output below:
bus 006 device 002: id 0403:6001 future technology devices international, ltd ft232 usb-serial (uart) ic i tried using usb packet capture in wireshark, shows bunch of urb_control, urb_bulk packets not showing meaningful. if there better utilities available can capture usb2serial data linux system, please let me know.
tia!
after trying various methods, got needed using strace. following command helped me capture termios settings serial port , ioctl calls after doing greps on file handle of serial port:
sudo strace -p <pid> -t -v -o dump.txt this dump system calls application makes on linux file dump.txt.
Comments
Post a Comment