PDA

View Full Version : Serial problems



gillekes
12-06-2012, 11:11 PM
Hi all,
I have a fixed install with an old G5. Basicaly it runs one videofile and runs as showcontrol. We have some midi outputs and 3 serial outputs. Everything works great until we have a power failure. When power comes back the mac starts up again and everything works great exept the serial output. These have to be reassigned to the right device. The outputs have no device assigned. The mac doesn't lose the configuration of the devices tough.(baudrate etc are not changed to default)
Is this normal? If so, is there a workaround? Any script?
We do not have any problems with midi setting! These always work!

Thanks,

Gilles

Mr_P
13-06-2012, 10:42 AM
What OS do you have installed on your G5?
Which version of catalyst are you using?
What is the RS232 device that you are using?

With an old G5 you probably cant use the most recent version of catalyst...

There used to be issues with the startup order - particularly with USB drivers if catalyst is in start-up items. It is possible that catalyst is starting before the USB drivers are loaded for RS232 device... Same used to happen with the USB dongle, it wasnt recognised if catalyst was in startup items in some cases.

However - this depends on what OS you are using - it was never the same on each Mac...

Try writing a simple apple script that delays catalyst startup for 5 sec

This is one i wrote for G5 with Catalyst v3.3g21 (long time ago)


-- Catalyst delay loader - SNP Productions Ltd
-- Silent version 3 seconds delay

on run
activate

delay 3

-- hide applications
tell application "System Events"
set visible of every application process to false
end tell

-- launch applications
tell application "Catalyst 3.3_g21_Pro.app"
activate
end tell

end run


Also see this post for script details:
samsc.com/showthread.php?t=1033&highlight=script

samsc.com/showthread.php?t=856


If not USB - then maybe a script to change the settings might work...

Simon

Spam Butterfly
14-06-2012, 09:57 AM
I'd concur with Simon here. In the bad old days Mac OS would fire up start up items, such as Catalyst, if you had it there, before it had finished initialising external devices and SCSI drives. This used to be a massive pain, particularly with SCSI drives, which used to take some time to spin up and initialise.

Simon's simple apple script ameliorated the problem.

Hugh

NevBull
16-06-2012, 10:04 AM
Ameliorated? Nice work Hugh!

Nev.

gillekes
03-07-2012, 12:06 PM
Hi Simon,
The script has been running for three weeks now, and it works flawless.

Thanks a lot!