USB and restart

Hi

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

Hi

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:
http://hintshop.ludvig.co.nz/show/persistent-names-usb-serial-devices/

and then

just adding the correct arg in openhab script:
-Dgnu.io.rxtx.SerialPorts=/dev/zwavecontroller
in the “JAVA_ARGS_DEFAULT” section.

Hi
Where do I put this
Dgnu.io.rxtx.SerialPorts=/dev/zwavecontroller
in the “JAVA_ARGS_DEFAULT” section.

Where is the openHAB script?

in /etc/default/openhab2

Here’s another tutorial:

Hi

If I create the rule /etc/udev/rules.d/99-usb-serial.rule
reboot
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