Whenever I connect a Mateksys H743 WLITE board via USB, I get 2 ttyACM devices. 1 is the Mavlink data and the other is unknown (possibly slcan). I need a way to differentiate them or disable the non mavlink port, but they have the same vendor and product IDs (as well as mostly the same other ATTRS attributes). I have tried disabling the non mavlink port through setting CAN_SLCAN_CPORT to 0, CAN_SLCAN_SERNUM to -1, and CAN_P1_DRIVER to 0 but it still appears. Any ideas on how to get rid of this device or use ATTRS attributes to pick the Mavlink one out via a rule?
Can be done by modifying the “hw_def.dat” file and build on your own.