The only difference is, that you use the ATTRS{serial}, and I dont. The ATTRS{serial} option is only needed, when the idVendore and the idProduct is the same, (ie if you have two of the same idĀ“s).
Notice all idĀ“s are different, which is why I dont need to set the ATTRS{serial}.
Also notice, I use Group ādialoutā and Mode ā0666ā. IĀ“m not sure if these are actually required.
I dont (or I didnt mean to)ā¦
What I meant is, that the differences between your config and my config, shouldnt do any harm, as far as I know. Both should workā¦ Yours work. Thats the factā¦ Mine doesnt. Thats another fact
HMPRF!!
I did as you suggested, and now I have the symlinks available in PaperUIā¦ And even more, it seems like itĀ“s working as well. I change the bridge setting of my RS845 USB dongle for my Nilan modbus serial connection. And it works as well, (after a new restart of openhab).
This is strangeā¦
Well I did search through Google for Linux (symlinks) topics as well. Thats there I found that the ATTRS{serial} is only required if the ids are equalā¦
Yeah, thats what I didā¦ First I changed the symlinks, then I rebooted. And my RS485 didnt workā¦ Then I changed the things config of the RS485 to use the symlink and restarted OH. The RS485 went straight onlineā¦
I appreciate this is an old thread but I have a question.
Iāve set up the symlinks as very helpfully described above and it works - hooray! I now have a permanent USB port called /dev/ttyUSB-Enocean to attach my Encocean dongle to.
But I also get another Enocean dongle appearing in my inbox attached to /dev/ttyUSB0. If I delete it it reappears. I guess itās not a problem if I ignore it but itās untidy, which offends me and Iām not sure itās normal.
It doesnāt seem to happen with my Z-wave stick but that might be because Iāve not added a z-wave device for a while.
Relying on idVendor and idProduct is subject ofā¦ well changes, depending on device. I think by switching to usb hub port identifiers it can be generalized. There are udev attributes such as bus or devnum, which can be combined with usb device serial to guarantee uniqueness even if same device (and serial) is found twice.