OpenZWave / node-openzwave-shared

OpenZWave addon for Node.js (all versions) including management and security functions
Other
199 stars 113 forks source link

ERROR: Cannot get exclusive lock for serial port /dev/ttyUSB0 #383

Closed Ghada-Ch closed 4 years ago

Ghada-Ch commented 4 years ago

when I execute node test2.js I get : ERROR: Cannot get exclusive lock for serial port /dev/ttyUSB0. Error code 11 2020-07-02 11:35:57.177 Error, ERROR: Failed to open serial port /dev/ttyUSB0 In the other side ,/dev/ttyUSB0 worked successfully with MinOZW And I modified permission for dev/ttyUSB0 crwxrwxrwx 1 root dialout 188, 0 juil. 2 10:50 /dev/ttyUSB0

robertsLando commented 4 years ago

I think you have another process using the tty on background

Ghada-Ch commented 4 years ago

Yes ,It is and i fixed it thanks