I suspect this is a timing issue. I have a udev rule that creates a /dev/vpro link
vpro → bus/usb/001/005
I think the link created before the usb device is actually there(or ready)?
The rule i use is called 10-vantage_proII.rules (vantage_proii with capitol i’s) (i also tried higher numbers)
and this is the actual rule:
SUBSYSTEMS==“usb”, ACTION==“add”, ATTRS{idProduct}==“ea61”, ATTRS{idVendor}==“10c4”, SYMLINK+=“vpro”
On boot the link is vpro → bus/usb/001/005 (how do i translate this to whats shown in lsusb? dmesg makes no mention of usb 1-5)
once i unplug the Weather Envoy and plug it back in all is well until the next reboot.
On checking /dev again after replugging the Envoy i see vpro is now pointing to ttyUSB0
How do i fix this? It seems i need a better udev rule or else to delay it until sometime later than when it now runs in the boot process.
In dmesg i found:
[ +0.000408] [ T943] usb 1-9: cp210x converter now attached to ttyUSB0
so the Envoy appears to the system as a cp210x serial converter and the usb port 1-9 is correct