My problem whit newcs is that i allways get: "Reset faild..." when starting.
If i unplug the card from reader and plug it in again, then restart newcs it starts working.
I think the problem has something to do whit HAL becouse it uses the port /dev/ttyS0 that i want to use. It's the only Com-port on my computer, so i realy need it. Or is it something else?
I have fixed so newcs starts before HAL when booting, but did'nt help...
/Mami
@masmi
LMCE is trying to manage the serial port, to avoid this type of conflict you can edit /usr/pluto/bin/ListSerialPorts.sh.
If LMCE does not need to use the serial or usb ports then just place an exit at the top of the file.
NOS
Thnx, it work.
But say, if I want to have more com-ports in the future. Can i then exclude /dev/ttyS0 in some way?
/Mami
Quote from: mami on April 15, 2008, 06:49:54 PM
Thnx, it work.
But say, if I want to have more com-ports in the future. Can i then exclude /dev/ttyS0 in some way?
/Mami
Here is my Ports line which only detects ttyS1-ttyS4 i.e. it excludes LMCE from using ttyS0
if [[ -f /proc/tty/driver/serial ]]; then
Ports=$(cat /proc/tty/driver/serial | grep -v unknown | grep '[1-4]: ' | cut -d: -f1)
for i in $Ports; do
echo "/dev/ttyS$i"
done
fi
NOS
Many thnx for that. :D
/Mami