USB and restart


Every time I restart my pi, my USB devices having trouble connecting to the OH again.
It looks like they are getting a new port number.

Is there a way to fix the port number to the devices,
I have a Rfxcom RF433 and a Z-wave usb device


I dont get what I need to do😞

Follow the instructions at the link:

The solution I’m trying to implement is based on new udev rule, like the how-to below:

and then

just adding the correct arg in openhab script:
in the “JAVA_ARGS_DEFAULT” section.

Where do I put this
in the “JAVA_ARGS_DEFAULT” section.

Where is the openHAB script?

in /etc/default/openhab2

Here’s another tutorial:


If I create the rule /etc/udev/rules.d/99-usb-serial.rule
and run the ls /dev/tty* command, my symlink does not show up

I have tryed both solutions with no luck.

SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="A1R3ODL", SYMLINK+="ttyUSB-rfxcom"
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", SYMLINK+="ttyUSB-rfxcom", GROUP="dialout", MODE="0660"

Either you reboot or
udevadm control --reload-rules && udevadm trigger

Also make sure your query matches to the dot