ttyacm: serial port keep changing on Synology after restart

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
gdusordet
Posts: 9
Joined: Friday 01 April 2016 19:33
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

ttyacm: serial port keep changing on Synology after restart

Post by gdusordet »

hi,
I had to reset my Aeotec Z-Stick Gen5 contoller which is connected to my Synology server. Each time I am rebooting Synology, it keep changing the serial port from /dev/ttyacm0 to /dev/ttyacm1 or /dev/ttyacm1 to /dev/ttyacm0. Any idea how to prevent it from changing the serial port after a restart?
thanks
G
woody4165
Posts: 476
Joined: Monday 14 March 2016 13:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

Re: ttyacm: serial port keep changing on Synology after restart

Post by woody4165 »

Have you read the Wiki?
Don't know if applicable to Synology, but it's Linux, you can try this.
http://domoticz.com/wiki/PersistentUSBDevices
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
gdusordet
Posts: 9
Joined: Friday 01 April 2016 19:33
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: ttyacm: serial port keep changing on Synology after restart

Post by gdusordet »

thanks but I could not make it work for Synology
gooxbe
Posts: 7
Joined: Wednesday 23 November 2016 10:20
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: ttyacm: serial port keep changing on Synology after restart

Post by gooxbe »

Maybe if you want to use lsusb, you should install usbutils with ipkg.

Hope this helps (maybe a bit late but want people who have the same question to find an answer), I'm in the same process.
amwr
Posts: 20
Joined: Wednesday 28 October 2015 17:48
Target OS: NAS (Synology & others)
Domoticz version:
Location: Switzerland
Contact:

Re: ttyacm: serial port keep changing on Synology after restart

Post by amwr »

Same problem here. I had to change from the old stick to Gen5 and now the ttyACM keeps switching between 0 and 1. Have you found a solution for Synology?
User avatar
Egregius
Posts: 2589
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: ttyacm: serial port keep changing on Synology after restart

Post by Egregius »

Is that with Jadahl's package?
amwr
Posts: 20
Joined: Wednesday 28 October 2015 17:48
Target OS: NAS (Synology & others)
Domoticz version:
Location: Switzerland
Contact:

Re: ttyacm: serial port keep changing on Synology after restart

Post by amwr »

Is that with Jadahl's package?
Yes. The latest DSM6 stable release.
Another (related?) problem is that after each reboot of the Synology the driver fails. After disconnecting and reconnecting the stick it works again.
User avatar
Egregius
Posts: 2589
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: ttyacm: serial port keep changing on Synology after restart

Post by Egregius »

Strange, never seen this with my S2 stick. I'm planning a replacement, will monitor this topic
Maybe an idea to contact Jadahl to see wth he thinks of it?
teo1966
Posts: 35
Joined: Saturday 18 November 2017 12:09
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.1
Contact:

Re: ttyacm: serial port keep changing on Synology after restart

Post by teo1966 »

gdusordet wrote: Sunday 10 April 2016 8:50 hi,
I had to reset my Aeotec Z-Stick Gen5 contoller which is connected to my Synology server. Each time I am rebooting Synology, it keep changing the serial port from /dev/ttyacm0 to /dev/ttyacm1 or /dev/ttyacm1 to /dev/ttyacm0. Any idea how to prevent it from changing the serial port after a restart?
thanks
G
i have the same
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest