PHP-Serial icon indicating copy to clipboard operation
PHP-Serial copied to clipboard

Issue in Linux

Open freemartian opened this issue 3 years ago • 0 comments

My Code is working in my local windows machine. When I upload it to my linux and test it I am getting Specified serial port is not valid.

I think it's an issue with my server with the USB port. Does anyone know how to fix it? First in my server I couldn't find ttyUSB0 or ttyUSB1 and I used mknod /dev/ttyUSBn c 188 n to create them. But when I tried to do the stty -F /dev/ttyUSB1 directly on my server, I am getting stty: /dev/ttyUSB1: No such device or address error. I tried everything but its not working. Please someone help me to fix this.

freemartian avatar Jan 14 '22 12:01 freemartian