You are not logged in.

#1 2018-10-19 07:30:14

color
Member
From: Bulgaria
Registered: 2016-03-19
Posts: 84

"Serial port could not be activated"

Hello,
I am building my second DLP printer and have troubles with comunication between RPi and Mega 2560 board. When turn power on and nanodlp load, the following error appear: "Serial port could not be activated not such file or directory"
The Mega 2560 is probably chinese clone, but I can compile and load sketches, and run some test like LED blinking. My VEML6070 UV sensor attached to the same board also run well and can read its monitoring. Any ideas how to solve this problem?
Here are the debug file in atachement
nanodlp.debug.-732792820.zip

Offline

#2 2018-10-19 08:55:16

bigfilsing
Member
Registered: 2016-11-20
Posts: 306

Re: "Serial port could not be activated"

you might need to check the correct USB port is allocated in Nano DLP!  Heres a link identifying the section in Nano DLP setup  and the help file explaining how to go about finding the correct port
https://youtu.be/Laq8eovno9U?t=19

Good luck

Offline

#3 2018-10-19 09:06:52

color
Member
From: Bulgaria
Registered: 2016-03-19
Posts: 84

Re: "Serial port could not be activated"

Thanks bigfilsing,
The problem is resolved, I found the right settings for the USB port.

Offline

#4 2018-10-19 11:28:57

color
Member
From: Bulgaria
Registered: 2016-03-19
Posts: 84

Re: "Serial port could not be activated"

Ok, I figured out the problem, but how to resreve the virtual COM port? Everytime after restarting nanodlp, the address is diferent - USB0 or USB1, etc.

Offline

#5 2018-10-19 14:24:32

bigfilsing
Member
Registered: 2016-11-20
Posts: 306

Re: "Serial port could not be activated"

i don think its a "virtual comm port" its the actual physical USB port on the Raspi thats communicating with your control board. 

Dont forget when you make any changes on the setup page you have to scroll down and click "submit" !!

Offline

#6 2018-10-19 14:38:46

color
Member
From: Bulgaria
Registered: 2016-03-19
Posts: 84

Re: "Serial port could not be activated"

Yes, you are right, it's actual USB port. When I start nanodlp in setup page I set the USB1 if this is the actual port and then save this settings. Everything is OK, the RAMPS respond. But if I shut down the system and then start again, the USB adrres is diferent, for example USB0, and I have to set it manualy again.

Offline

#7 2018-10-19 15:24:02

colgeocol
Member
Registered: 2016-09-14
Posts: 23

Re: "Serial port could not be activated"

color

Use this:

# suggested file name: /etc/rules.d/69_usbdevices.rules

KERNELS=="1-1.2", SUBSYSTEMS=="usb", SYMLINK+="usb_ul"
KERNELS=="1-1.3", SUBSYSTEMS=="usb", SYMLINK+="usb_ll"
KERNELS=="1-1.4", SUBSYSTEMS=="usb", SYMLINK+="usb_ur"
KERNELS=="1-1.5", SUBSYSTEMS=="usb", SYMLINK+="usb_lr"

Offline

#8 2018-10-20 15:11:56

color
Member
From: Bulgaria
Registered: 2016-03-19
Posts: 84

Re: "Serial port could not be activated"

Thanks, I have made a fresh nanodlp instalation and for now everything works good.

Offline

Board footer

Powered by FluxBB